1
\$\begingroup\$

I have a question about calculating the maximum allowable noise for an ADC signal conditioning stage.

I have an existing signal conditioning stage as well as an ADC on a microcontroller.

I would like to use the existing stage and calculate the maximum allowable noise on the input signal in order to maintain an error of less than 1 LSB.

However, I am having a bit of trouble with the math.

The ADC has the following specs:

  • ENOB: 10 bits

  • SNR: 60 dB

  • Input Range: 0 - 5V

  • Max Sampling Rate: 1 Msps

The input signal has the following characteristics but the noise will vary depending on the sensor used:

  • BW: 150 Hz

  • FS Amplitude: 9V pk-pk

The existing signal conditioning stage has an attenuation of .5.

So far I have done the following math using this Analog Devices technical article:

Seven Steps to Successful Analog-to-Digital Signal Conversion

\begin{equation} \text{ADC Input}_{RMS} = \frac{4.5}{2\sqrt{2}} = 883mV \end{equation} \begin{equation} \text{ADC Noise}_{RMS} = \frac{883mv}{10^\frac{60}{10}} = 883 \mu V \end{equation}

\begin{equation} \text{ADC Noise Density} = \frac{883 \mu V}{\sqrt{\frac{1}{2}}f_{sample}} = \frac{883 \mu V}{\sqrt{500KHz}} = 1.24 \frac{\mu V}{\sqrt{Hz}} \end{equation}

Now the signal conditioning stage has the following non-linear spectral noise density found using an LTSpice noise simulation:

V(inoise)

Integrating this over the 150 Hz BW gives 926.67nV.

My question from here is how can I relate these two values and calculate the maximum allowable input noise?

Can I simply assume the input noise must be an order of magnitude higher than the root sum square (RSS) of these two noise densities? Am I missing something critical?

If there is any other information I can provide to help please let me know.

\$\endgroup\$
8
  • \$\begingroup\$ What is glaringly missing here is your goal for the information obtained. \$\endgroup\$ Mar 5, 2019 at 2:53
  • \$\begingroup\$ @ChrisStratton Determining noise requirements for input signals/conditioning stages when working with existing hardware. \$\endgroup\$
    – Matt
    Mar 5, 2019 at 2:57
  • \$\begingroup\$ But you haven't stated a requirement, only some of the challenges to achieving an unstated one. \$\endgroup\$ Mar 5, 2019 at 2:59
  • \$\begingroup\$ I think what Chris might getting at is you have not said that your maximum allowable noise at the ADC is 1 LSB. \$\endgroup\$
    – DKNguyen
    Mar 5, 2019 at 3:09
  • \$\begingroup\$ @ChrisStratton Well then maybe I am missing something. I tried to give as much information about the noise in the signal conditioning stage and the ADC. I am just not sure how to backtrack and get maximum allowable input noise to maintain the integrity of the conversion and if there is a general guideline for how much above the noise floor the input signal should be. \$\endgroup\$
    – Matt
    Mar 5, 2019 at 3:13

1 Answer 1

2
\$\begingroup\$

BASELINE NOISE

The question is do you want noise levels high enough to toggle the least-significant-bit (LSB) between and ON and OFF state, with no controlled signal injected? Ten bits gives you a 1024 ratio from full OFF to full ON (saturated). 5 volts/1024 gives you 4.88 mV per LSB, and the value increments by that amount with increasing scalar inputs. For a digital display you have a range of 000 to 999. To some degree the extra '24' counts act as a floor to bury the baseline noise in. This will help keep the least significant digit (LSD) from having jitter, though if a reading is on the threshold, the LSD may toggle between 2 values. That is why it is important to keep the baseline noise level very low.

If you have an oscilloscope measure the amount of jitter at the ADC input with no signal input into any buffer/filter op-amps you may have. If the noise, normally natural white noise from op-amps and their resistors, is greater than 1/2 LSB (2.44 mV), it can toggle that bit at some random rate, causing about 0.1% distortion in your readings. For baseline noise level it is not too bad for a 10 bit ADC.

OUT OF BAND NOISE

If an error of 1 in 1,024 random noise magnitude is ok with you, then your work is done. To cut that noise value by ten consider a low-pass filter just before the ADC, that filters out-of-band noise only, so the ADC does not 'see' noise it was never meant to. This could include cable TV, WiFi, cell-phones, cordless phones, power lines, low quality appliances, noise in the power feeds to your analog section, just to list a few.

IN BAND NOISE

Now that leaves you with in-band noise, and some simple running average (of say 4 to 16 points, or samples) can filter much sharper than analog filters, especially if you over sample to begin with.

For in-band noise burst you may need spectrum analysers to determine where the spectral noise density is and design a custom digital filter to remove it. In some ways having only ten bits of resolution is an advantage in terms of problem solving noise at or near baseline levels.

SELF INDUCED NOISE

If you measure continuous white noise I would check quality of op-amps used, and also try to stay with low-noise metal film resistors, so you can filter out self-induced noise first. If the op-amp driving the ADC is of high quality and very low noise, consider just adding a feedback capacitor of 100pF or less, or insert a 1K resistor in series with the ADC input and add a 100pF capacitor from ADC input to signal ground. The resistor cannot be over 1K, or it could cause errors (droop) in readings.

OFFSETS

Do your best to trim away any DC offsets before you begin to hunt for any kind of noise. Ideally you want the ADC input to be less than or equal to 1/4 LSB, or about 1.22 mV or less. A perfect zero is not always possible, and with only ten bits of resolution, spending much time to attempt zero volts at the ADC for zero signal input is a bit like chasing your shadow, and is not that important.

\$\endgroup\$
10
  • \$\begingroup\$ @ Sparky256 Great summary. I'd emphasize the out-of-band filter is needed to suppress magnetic and electric field interference (as well as cell phone energy). \$\endgroup\$ Mar 5, 2019 at 3:40
  • \$\begingroup\$ @analogsystemsrf Yes, noise can come from anywhere. If the OP had 18 bits resolution and MHZ sampling rates, a metal shield over and under the PCB would be mandatory. \$\endgroup\$
    – user105652
    Mar 5, 2019 at 3:46
  • \$\begingroup\$ Where do you get the 0.1% and 1 in 1000 random from? \$\endgroup\$
    – DKNguyen
    Mar 5, 2019 at 3:57
  • \$\begingroup\$ @Toor Just the 1024:1 range of the 10 bit ADC. Yes, I rounded 1024 to 1,000 for simplicity, but for LSB levels I used 1024 in the equations. Random is assuming any noise is not repeating at a defined rate, though out-of-band noises could do just that. \$\endgroup\$
    – user105652
    Mar 5, 2019 at 4:06
  • \$\begingroup\$ Okay, I understand the 0.1% distortion is just from the 1 false bit in 1024. When you say an error "1 in 1000" did you mean in frequency of a false bit being flipped? Or just magnitude of the error? I initially read it as frequency of a false flip which is why I asked the question since I couldn't see where it came from. \$\endgroup\$
    – DKNguyen
    Mar 5, 2019 at 4:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.