2014-11-03 09:36 PM
Hi,
I want to sample a single source 'continuously'. By that I mean I don't want a moment to pass without sampling being done.I readhttp://www.st.com/web/en/resource/technical/document/application_note/CD00258017.pdf
and the dual fast interleaved moved looks closest to what I am trying to accomplish but it shows an overlap in the sampling areas.I would like to figure out how to set it up where the exact moment conversion starts on one ADC, the second ADC is sampling, and the exact moment conversion starts on that ADC, the first one is sampling, with no overlapped sampling of the source, and no gaps between sampling being done on the source.Is it possible to do this?Thanks,Robert #adc_dual #nyquist? #adc #dma2014-11-04 12:21 PM
2014-11-04 01:36 PM
I am trying to get the exact average of the source over time. It doesn't matter how long the sample timing is, nor my sample frequency. It could be uS or mS or just seconds... it does not really matter to me. I just want it to be exact.
Example... air flow in a tube.Lets say the sample time is 1ms. If for 0.5ms the flow is 20 units, and for the next 0.5ms the flow is 0, I expect to get back a flow of 10 units for that 1ms sample time. By continuously sampling I won't miss a thing. I don't care about the frequency components of the source signal, only that I have an exact average of the data, for every moment it is happening. Higher frequency would be nice, but not important.Does this make sense as to why I don't want any overlap or gaps?2014-11-04 02:00 PM
The sampling is not an averaging process. During the sampling interval, a capacitor is charged to some acceptably close voltage to the input voltage, then the capacitor is disconnected from the signal and the ADC converts it. So you are getting the value at the end of the sample period, not an average.
The signal source example provided has a max frequency of interest much lower than the ADC conversion frequency. Numerically averaging the converted values is probably what is needed. Cheers, Hal2014-11-04 02:04 PM
Does this make sense as to why I don't want any overlap or gaps?
No not really, you aren't really taking instantaneous measurements, you're charging a capacitor. If the input voltage is moving throughout the sample period, you'll see it trying to follow as fast as the RC constant will permit it. Really it just sounds like you need to sample faster than the input is changing, and have a low pass filter to enforce that.2014-11-04 03:51 PM
Thanks guys. I misunderstood how the ADC worked. I figured it was some sort of capacitance charge but I also figured it would deplete in the absence of the signal, leaving you with an average for that time.