🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Mike Chin Wed, 17 Jan 1990 01:12
using FFT to get bit resolution of an ADC
#576
Author: Mike Chin
Date: Wed, 17 Jan 1990 01:12
23 lines
1444 bytes
I'm playing with a 16-bit ADC. Both the manafacturer and
some HP Appnotes recommend inputting a spectrally
pure sine wave, and taking the FFT. ADC nonlinearities show up
as spikes at harmonics of the fundamental. No problem.

However, they also claim that a signal/noise figure can
be derived by taking the ratio of the fundamental(S) to the
sum of the rest of the spectra (N) and computing 20*log10(S/N).
They say that an M-bit ADC should have a S/N of (6*M + 1.8)dB

When I cook up a 1024pt 16-bit ADC data simulation, I window the data
with a Blackman-Harris window, take the FFT, and find the
fundamental where I expect, spread over maybe 5 bins. If the FFT mags
are in an array C[1...1024] and the fundamental is in C[30], I do:
	E1=sum(C1:C512),
	E2=sum(C28:33),
	S/N=20*log10((E1-E2)/E2).

Problem: I get ~75dB instead of 96dB for this ideal 16-bit simulation.

Mike Chin
Lawrence Berkeley Labs
MJChin@lbl.gov
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads