Currently I'm working on a project which uses oversampling to increase the resolution of a 12 bit ADC to a maximum of 16 bits. My goal is to fully understand the theory behind oversampling and why it is increasing the resolution. As far as I understood this topic, oversampling and decimation increases the resolution because the white noise of the input signal is distributed along a larger frequency span. After the oversampling the signal gets low pass filtered, so that we achieve fewer noise in the frequency span of interest (see the first figure).
So far so good, but I think i'm still not 100% confident of what is going on here:
How is the low pass filtering achieved? I know that I need to sample the input signal $4^n$ ($n$ = additional bits) times for every additional bit. After adding all samples together, the sum gets right shifted by $n$, which is equal to divide the sum by $2^n$. Is this the low pass filtering or do i need to somehow low pass filter it after i shifted the sum? In the application note AN118 that I used to understand this topic it seemed like the process of shifting is the low pass filter.
My input signal is a dc signal (sensor output) and I'm getting kind of a headache to understand why oversampling can increase the resolution of dc signals. Inside the appendix A of the application AN118 is a good approach to explain the reason for the increased resolution with oversampling. It also shows where the often used equation
f_os = 4^n * f_s
(f_os
= oversampling frequency;f_s
= sampling frequency) comes from. My problem is this whole appendix refers to AC-Signals... You can see this with for example equation 8 inside the application note, where the in-band noise power is calculated with the integral from 0 to f_m (f_m = highest spectral component of the input signal). In case of a dc signal as input i got f_m = 0. Am I missing something or can someone maybe explain to me why the resolution of a dc signal can be improved with oversampling?Is something like SNR a good specification to describe the quality of a dc signal? I've read from a source that SNR is an AC specific attribute, for example in Table 2 of this Texas Instruments document. This document also states that ENOB can't be calculated for dc signals and that i need to calculate the "effective resolution" for dc signals. This was the first time i've read something about this... Can someone verify that for sure dc signals can't be specified with SNR and ENOB?
At the end of my project I would like to compare different resolutions achieved with oversampling. What would be a good specification to compare the measured results? Maybe the "effective resolution" or the overall noise calculated with the variance?
I hope someone can answere my questions. At the moment i'm struggling a bit to fully understand this topic...