# Understanding the effect of bit depth and sampling rate on SNR

I know the meaning of a 16 bit ADC sampling at 1kHz, but I cannot relate it to SNR contribution to the signal. I also know the concept of aliasing. But even though no aliasing the resolution and the sampling rate of the ADC matters when it comes to SNR.

Is there a way to comprhend how these two relate to SNR with an example? How/why does the bit depth and sampling rate contributes to SNR? Maybe bit depth can make sense because ACD cannot resolve more than causing quantization error.

Most importantly why SNR is increasing with increasing the sampling rate even beyond the Nyquist freq.?

• I'm not sure if I understand current your question. SNR is a signal to noise ratio. So for example, if we have 8 bit ADC with Vref = 5V. The smallest voltage we can sample is 5V/2^8 = 5V/256 = 19.53mV. And the larges one is 5V. Hence the SNR = 5V/19.53mV = 256 or 48dB. And for 16 bit will have 5V/76.29µV = 65536 = 96dB – G36 Nov 13 '18 at 19:21

For perfect sampling, as long as there's no aliasing increasing the sampling rate does not improve matters. Note that perfect sampling is not a real thing.

For perfect sampling with quantization, the quantization has the effect of adding noise into the signal. If you're lucky, the added noise appears to be random.

If you assume that the sampling noise is independent from sample to sample and is uniformly distributed, then you can model the sampling process as a bunch of samples, each of which is corrupted by noise with a variance of $$\\sigma^2=\frac{1}{12}\$$ (if I'm getting my math right). That variance does not change with sampling rate. However, because each sample is independent, the spectral density of the noise does change with sampling rate -- the noise power stays the same, but with faster sampling it's spread out over a wider frequency band.

Now go back -- I made the implicit assumption that the input signal was bandlimited, because there's a sampling rate that causes no aliasing. This means that when we sample faster than that rate, our signal is band-limited. That, in turn, means that we can filter the signal. Depending on how you want to look at it, that filter either rejects some of the noise whose spectrum is now spread out by the faster sampling, or it averages out the noise and reduces its amplitude (those statements are equivalent, by the way -- one is the frequency domain explanation, the other is the time domain explanation).

So for the right signal, an ADC with quantization noise can perform better by "oversampling". Note, however, that for the wrong signal, you're out of luck. In this case a wrong signal is one where the quantization noise is not independent from sample to sample. An easy example of this is a perfectly constant signal that falls on the edge of a quantization step -- there's an error, but it's also constant.

However, there's another process at play -- ADCs are noisy things. A typical 16-bit ADC will have several LSBs of noise. It's often just enough to swamp out the quantization noise. The down side of this is that the noise floor is greater; the upside of this is that the noise is pretty much guaranteed to be independent from sample to sample. In this case, you can always improve things by oversampling.

Nyquist is just related to max frequency in a signal, and equal to 2*f_max.

The noise in the incoming signal is based on:

1- environmental noise( input bandwidth is important here)

2- acquisition noise

for the first:

if you increase sampling rate you often increase input bandwidth for capturing the high dynamic version of the signal. We have at least thermal noise in the environment that spread in all the world (we have inductive noise, 1/f noise , ...). The thermal noise as an example is spread in all spectrum.

https://en.wikipedia.org/wiki/Noise_(electronics)#Thermal_noise

if you increase bandwidth, you noise power is increased because of a higher amount of noise pass from input filter.

acquisition noise: this is at least quantization noise. the higher quantization noise reduces the SNR.

Most importantly why SNR is increasing with increasing the sampling rate even beyond the Nyquist freq.?

if you increase the input bandwidth -> you increase the input noise(ex. thermal noise) and decrease the SNR.

Note: When SNR increased!

If you sample a signal beyond the Nyquist with a filter input with f_max. you generate many input sample. The Nyquist said that 2*f_max is enough for regeneration of signal. But with higher sample rate you have redundant input sample. you can use these redundant samples for encreasing SNR.

A signal chain with filtering after the ADC will exhibit improving SNR as the sample-rate is increased, because the constant quantization noise becomes spread over a higher span of frequencies, yet the filters are passing a fixed bandwidth.