Electronic – Calculating SNR for ADC samples

adcMATLAB

I have collected some samples for a 200Hz sine wave using an AVR microcontroller. I would like to quantify the performance of the ADC using the signal to noise ratio measurement. Theoretically, for an ideal ADC it should be SNR = 6.02N + 1.76 (dB). What could I do in MATLAB to see how this ADC compares to an ideal one?

enter image description here
enter image description here

Best Answer

That is only one type of measurement and it's not necessarily the best, but since you have the data ...

You need to plot the the Fourier domain data in a dB vs. frequency plot. - you need the magnitude data - be careful how you select your windowing for the FFT - you'll be able to see the noise floor vs. the peak (@ 200 Hz)

Related Topic