Slashdot Mirror


A New Sampling Algorithm Could Eliminate Sensor Saturation (scitechdaily.com)

Baron_Yam shared an article from Science Daily: Researchers from MIT and the Technical University of Munich have developed a new technique that could lead to cameras that can handle light of any intensity, and audio that doesn't skip or pop. Virtually any modern information-capture device -- such as a camera, audio recorder, or telephone -- has an analog-to-digital converter in it, a circuit that converts the fluctuating voltages of analog signals into strings of ones and zeroes. Almost all commercial analog-to-digital converters (ADCs), however, have voltage limits. If an incoming signal exceeds that limit, the ADC either cuts it off or flatlines at the maximum voltage. This phenomenon is familiar as the pops and skips of a "clipped" audio signal or as "saturation" in digital images -- when, for instance, a sky that looks blue to the naked eye shows up on-camera as a sheet of white.

Last week, at the International Conference on Sampling Theory and Applications, researchers from MIT and the Technical University of Munich presented a technique that they call unlimited sampling, which can accurately digitize signals whose voltage peaks are far beyond an ADC's voltage limit. The consequence could be cameras that capture all the gradations of color visible to the human eye, audio that doesn't skip, and medical and environmental sensors that can handle both long periods of low activity and the sudden signal spikes that are often the events of interest.

One of the paper's author's explains that "The idea is very simple. If you have a number that is too big to store in your computer memory, you can take the modulo of the number."

24 of 135 comments (clear)

  1. It's not about the ADC by Anonymous Coward · · Score: 5, Insightful

    1. Audio clipping is present in purely analog recording systems (an playback) so not an ADC problem.

    2. The sensor, any sensor, has physical limits, that will cause saturation (i.e. clipping) regardless of the cleverness of the ADC downstream.

    3. In most cases it is easier to devise an ADC with enough bits (i.e. precision and dyanmic range) large than the sensorr it is connected to

    Summary: a solution in search of a problem.

    1. Re:It's not about the ADC by dgatwood · · Score: 2

      Not sure who modded this "troll", but the AC is quite correct.

      Image sensors have a number of physical limits other than the ADC. It's easy to get a bigger ADC. Most image sensors only use 14–16 bits these days, whereas 24-bit ADCs are readily available. There's room for improving the dynamic range of the ADC portion of image sensors by more than two orders of magnitude (256x) with relative ease. Camera manufacturers haven't bothered to do so, however, largely because the primary limitations in image sensors are not the fault of the ADC. Rather, they're from things like the full well capacity of the capacitor that stores the analog value for the the pixel itself (which is largely determined by the die size) and the need to read out the pixels and shove the data into storage quickly (which means keeping the data rate and processing delays to a minimum).

      Were it not for the latter limitation, we would just sample the sensor ten times as often and sum the values (as I, and no doubt others, have suggested for many years). And I still think that with some interesting on-die DSP, that would be possible, but it isn't feasible right now, as far as I can tell.

      And in the audio world, at least in practice, 24-bit audio provides enough bit depth that we can leave the levels low enough to avoid digital clipping without losing precision. IMO, digital clipping hasn't been a major issue in the audio world for at least a decade, though I suppose this will help if you screw up and set the levels too high anyway. It's the gain staging leading up to the ADC that gives folks the biggest headaches these days, and that's caused by getting too close to one of the rail voltages for an amplifier at any point through the chain. And changes to the ADC won't help with that.

      I'm sure there are situations where existing ADCs can't cope—perhaps in industrial applications—but audio and photography don't seem like good candidates to me.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    2. Re:It's not about the ADC by sexconker · · Score: 2

      Why is this modded troll? It's completely correct. There's no new sampling algorithm that can prevent clipping at the sensor level. That's a physical issue.

    3. Re:It's not about the ADC by dgatwood · · Score: 2

      Going to higher bit counts typically means a longer conversion time and potentially a more expensive ADC (for reasons which are obvious if you know how ADCs work but not worth mentioning here, especially as there are different ADC types with different reasons)

      I think you mean "or". It means a longer conversion time or a more expensive ADC. If you want, you can build an ADC that is fully parallel, where it generates a complete value in a single clock cycle, or you can build one that is entirely done by successive approximation, where it computes one bit per clock cycle, or anything in between.

      Try building a 24bit ADC with a 100MSPS (million samples per second, M=Mega) no one that I know of can do it.

      Even for 14 or 16 bits, they use multiple ADCs in parallel, fed by multiple amplifiers in parallel. The EOS-1D X (2012 version) uses a whopping 16 parallel channels to read out an 18.1 MP sensor, which means it does just under 14 million samples per second when shooting at 12 fps. In principle, there's no reason you couldn't use even more parallel ADCs if you have the die size to support it, though that does get crazy at some point.

      The reason they don't even consistently do 16 bits is because the extra bit depth beyond about 14 bits per color channel doesn't really buy you much when balanced against the huge cost of storing half again more data per color channel, and half the photographers compress that straight down into 24-bit (8-bit-per-channel) JPEG anyway.

      What's interesting is that TI hit 4 megasamples per second at 24-bit depth back in 2008, and the state of the art seems to have stopped improving since then. That tells me there's probably no market for it.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

  2. Re:What genius!! by Anonymous Coward · · Score: 3, Informative

    No, it's not normalization. From a preliminary reading, they're just doing rudimentary frequency analysis to provide qualifications under which modular representations can be inversely mapped to a real world Voltage reading, i.e. a low-enough-energy high frequency component such that an extremely high to extremely low (or vice-versa) transition can be interpreted unambiguously as bounds clipping rather than a transition within the typical dynamic range of the device. That's why they're taking the sampling theory approach.

    Nothing mind-blowing, I agree, and the headline is definitely hyperbolic, but if you're gonna talk shit you should get your shit straight first.

  3. It's not an algorithm by johannesg · · Score: 3, Informative

    It's a different type of ADC, one that resets when it reaches saturation. So you can forget about using this 'new algorithm' in your existing equipment.

  4. Links to the phase unwrapping problem by goombah99 · · Score: 4, Insightful

    Their paper seems to ignore that this technique isomorphic to the well known phase unwrapping problem. The hard part has always been implementing it at the pixel level. This requires extra transistors, calibrations (because every pixel needs to be the same) and perfect uniformity in manufacturing, as well as a new source of noise. Finally the mathematical problem produces nasty noise unless you can also implement hystersis at the point of the amplitude wrap. If you don't it's going to suck, and if you do then you have even more transistors to implement for each pixel since it's now having to be stateful (know it's earlier state to implement the hysteresis)

    https://en.wikipedia.org/wiki/...

    https://ccrma.stanford.edu/~jo...

    https://www.dsprelated.com/fre...

    --
    Some drink at the fountain of knowledge. Others just gargle.
  5. No, this does not solve the problem. by dgatwood · · Score: 5, Interesting

    This is an interesting approach, and it would work pretty well for things like audio. It might help with the dynamic range of cameras when used at higher ISO settings, but it will not solve the problem by any means. The problem, though, is that in modern cameras, the sensor's pixels also have a maximum capacity, called the full well capacity. The sensor can't physically accumulate more of a charge than its full well capacity, and the DAC is designed so that its clipping point matches the full well capacity of the sensor at its base ISO. So you would still get clipping when the brightness exceeds what would otherwise by the sensor's clipping point at its base ISO, and if it is already at its base ISO, this wouldn't make any difference at all.

    IMO, a better approach (which I proposed several years ago) is to sample the sensor and physically cancel out (subtract) the measured charge in the sensor itself, doing this multiple times per exposure to ensure that you don't hit the full well capacity. That approach also has the advantage of letting you do really cool time-based manipulation of the resulting photo. For example, you could do vector-based motion compensation of the individual subframes to dramatically reduce motion blur, compensate for some amount of camera shake, etc.

    Even better, if you represent subsequent subframes relative to the previous subframe (e.g. -12 here, +2 there), you'll also usually get a high percentage of zeroes, which means you should be able to losslessly compress the additional subframes to be pretty small on average, potentially giving you the ability to adjust the image motion compensation after the fact to get an image in which motion is blurred more or less, according to taste.

    In theory, you could even do bizarre, per-region motion compensation, such as making a baseball appear to be motionless while the bat is swinging at a high speed or vice versa. :-D But I digress.

    --

    Check out my sci-fi/humor trilogy at PatriotsBooks.

    1. Re:No, this does not solve the problem. by Zorpheus · · Score: 3, Informative

      So you pretty much want to read out the sensor at a higher framerate, and combine multiple images to one. This means that the sensor must be capable of a much higher framerate. And the image quality might get worse due to the readout noise, but I don't know if this is relevant in normal, uncooled cameras.

    2. Re:No, this does not solve the problem. by Arkh89 · · Score: 3, Informative

      And every time you read out a sub-frame you are penalized by the read noise... after accumulation of the variances, you end-up with an extremely noisy image. If you want to do that you don't just need a very good quantum efficiency (the probability of a incident photon to be absorbed and to release an electron) you need an almost perfect read-out circuitry (if you want to operate without cooling). Eric Fossum has proposed a "Quanta" binary sensor which would do this with a ~0.15e- RMS read-out noise which has to be compared with the 1.5+e- of the best sensors used in consumer applications today.

  6. Re:already had circuit elements that could do this by RhettLivingston · · Score: 3, Interesting

    I think you meant to be funny, but it is possible to come full circle on this one.

    NASA's Vacuum Tube Transistor

  7. For audio this is a solved problem.... by RobRyland · · Score: 2

    Good audio converters are 24 bit these days.
    That means you can have 20bits worth of dynamic range (~120dB) with 4 bits worth of clipping headroom (24dB).
    That will exceed whatever is plugged into the A/D.

    High end cameras are using 14bit converters (uber high end has hit 16), so the problem is pretty much solved there too.

  8. Re:What genius!! by Plus1Entropy · · Score: 2

    Nothing mind-blowing

    Go back and do more than a preliminary reading. They are utilizing a property of a specific type of ADC (a so-called set-reset ADC or SR-ADC), which instead of saturating reverts to the lower bound value when the input voltage exceeds the upper bound, and vice versa.

    I admit that I don't understand their algorithm, however they were able to reconstruct a random signal with a maximum amplitude exceeding 20 times the ADC upper bound. The mean squared error between the original and constructed signals was 1.5 x 10^-33.

    Maybe it's just me, but I think that's pretty mind blowing.

    --
    Only crack the nuts that crack. You don't put the ones that don't crack in the sack.
  9. Fake Paper or just Naive? by labnet · · Score: 3, Informative

    I've skip read the Paper and /. comments, and this reads like mathematical wank by guys that have never touched an oscilloscope.

    First, they are waving their hands in the are about a magic 'resetting ADC'... seriously...
    Do they even know what reset means? It has to be performed at the hardware level, It has to performed with DC offsetting (from a D/A converter), it has to be performed to 1 least significant bit of accuracy, and the input signal has to be rate limited. No way this will happen for any practical systems without adding artefacts when the offsetting circuitry tries to slew the input within one sample period.

    The only real world way I can think of, that still retains DC accuracy, is servoing the input.
    This is where a 'counteracting' force is used to subtract from the input... but servoing has hairs all over it, as it has to be super accurate in terms of amplitude and frequency response.

    They should have talked to an electrical engineer before spouting off this rubbish.

    --
    46137
    1. Re:Fake Paper or just Naive? by ceoyoyo · · Score: 2

      Ha ha... there's a cartoon on the window of a lab down the hall, showing how to get a paper accepted in an IEEE journal. You start with something like 1 = 1 and end up with a page of math.

      I've personally gotten this review back from IEEE TSP: "too many words, not enough math."

  10. Re:What genius!! by green+is+the+enemy · · Score: 3, Informative

    I'm an EE. This concept is interesting to me, but then I'm left wondering how they really tackle the problem of signal limits. It's not just that ADC that limits the signal. The amplifiers in the chain also do it. Maybe I should just read about it. The whole self-resetting ADC concept just strikes me as odd. I have a feeling it was invented to improve the dynamic range or sampling rate or reduce the power usage of ADCs, but not to magically sample arbitrarily large signals.

  11. Re:already had circuit elements that could do this by thegarbz · · Score: 2

    pure analong systems have been doing this for decades, let's bring back the vacuum tube

    You could have just said "I didn't read the article". It would have been shorter to write.

  12. Re: Sounds like a gain-ranging A/D by Zero__Kelvin · · Score: 2

    They can design any ADC they want. A saturated transducer will be saturated regardless. No need to read the paper. GIGO ... It isn't just for software.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  13. Re:What genius!! by ceoyoyo · · Score: 2

    No, it's not quite the same thing, although the concepts are related. In this case, reconstructing your signal is still limited by the Nyqvist frequency of course, but your ability to reconstruct across the ADC reset discontinuities also requires that the amplitude doesn't change so fast that you get more than one wrap per sample period.

    I suspect it actually is the Nyqvist limit, but applied in this weird phase, er, amplitude unwrapping situation.

  14. Re:What genius!! by green+is+the+enemy · · Score: 2

    What I wonder is, say you have a 5V ADC. Using their technique, could you drive a 15V (max) signal into the ADC and effectively triple your resolution? You're still using all your bits to measure a 5V range... so if that's the case then it truly is quite groundbreaking.

    It may be groundbreaking, but not for the reason advertised in the paper/article/summary. From a quick look at this paper, ADC power dissipation is proportional to f * 2^(2*n), where f is the sampling rate and n is the number of bits per sample. High performance ADCs are constrained by power dissipation, which limits either sampling rate or resolution. What these guys are probably trying to do is constrain n. By allowing signals larger than the ADC input range, and then unwrapping them in software, they increase the effective number of bits. Even if they gain only 2 bits by doing this, this is a factor of 16 advantage in power dissipation (but how does the self-resetting ADC compare to normal ADCs in terms of power?). In any case, the article seems to be hyping a non-existent advantage (sampling signals exceeding the nominal ADC range - why not just attenuate the signal and use a higher resolution ADC?), but does not mention the real advantage (power dissipation).

  15. Re:Digital != silicon by Khyber · · Score: 3, Informative

    "So what you are claiming is that you had pure analogue, analogue to digital converters?"
    "Replacing silicon transistors with valves does not change the fact that the circuit is still digital."

    All circuits are analog. Period. That's the physics of it. 'Digital' is just a sampled section of the signal measured against a reference voltage. Those are still both analog waveforms or sections thereof.

    It's like people suddenly forgot the bare fucking basics and physics of basic electronics when the world went digital. You dipshits fell hook line and sinker for the digital marketing hype.

    --
    Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
  16. Quantum Physics by Roger+W+Moore · · Score: 2

    All circuits are analog. Period. That's the physics of it.

    If you are going to get that pedantic then no you are wrong in two ways. First go look up quantum mechanics and then know that this governs how semi-conductors work. These devices transition between two, binary states in a non-analogue way smeared out a little by thermal effects. However, the end result of this is that they allow a certain amount of charge to pass which is either above some threshold or not and so we treat it as a one or zero.

    Hence the circuit is digital because we define our own, artificial thresholds to quantize how we treat the result. This is what makes it digital. If you also happen to be using semiconductors then it is also quantized at a more fundamental level by the physics in the semiconductor...and these quantum effects get increasingly important as we shrink the size of circuits.

    1. Re:Quantum Physics by Khyber · · Score: 2

      "First go look up quantum mechanics and then know that this governs how semi-conductors work"

      I build raw LED dies from the base silicon wafer up with vacuum chemical vapor deposition, I know damn well how semiconductors work.

      Also, we have algortihms that reconstruct the full analog waveform of say light, from actual frequency right down to the very direction it travels and where it came from (see Lytro cameras.)

      We don't need discrete signals. We only use them because it is easier to control.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
  17. 11 by Spaham · · Score: 2

    Oh you mean they turned the dial to 11 ?