Electronic – Sampling rate understanding for ADC requirement

adcbusmicrocontrollernyquist plotsampling

So I have this voltage plot. These are voltages corresponding to a current changes on a wire.

I am trying to understand the rate of transmission for choosing a ADC to read these analog values.

voltage plot

The peak to peak time is 3-4us. I need to sample them in order to get digital values. What kind of ADC is required?

According to my calculation its T= \$3*10^{-6}s\$ or \$4*10^{-6}s\$ i.e. 350 – 400 kHz approx. What must be the ADC criteria if I have to select a micro controller for my task?

Since Nyquist criteria says twice the sampling frequency, so anything more than 800kHz works? Or am I missing something here?

EDIT
I think I must specify this point. There are 3 levels of data I need to track, 0, 1 ans 2 level (0= 0ma; 1= 10mA; 2=20mA lets say). Each represent a voltage level proportional to the current on the wire. So I need to track the each of the levels.

Best Answer

In order to capture all the information you need to sample at at least twice the highest frequency component in the input signal.

If you do a PSD plot of the input you'll see that there is significant power at higher than 400kHz. You might have to sample at 8MHz to get most of it.

Also, generally you will want to precede the ADC with an ANALOG low pass filter to prevent higher frequency components from being aliased. They don't automatically just disappear, they can, depending on the type of ADC, get folded down.

Since it's impractical to make an infinitely sharp filter you will have to sample at more than double the highest frequency component. The higher your sample rate, the less complex the filter can be, all other things being equal. You can digitally filter and decimate the resulting data down to a lower sample rate once you have it in digital form, but it must be captured at a sufficient sample rate and without aliasing to begin with or it is irretrievably corrupted.