The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 6th, 2024, 9:02am
Pages: 1
Send Topic Print
Sigma Delta ADC FFT simulation setup (Read 2691 times)
Irascible
New Member
*
Offline



Posts: 1

Sigma Delta ADC FFT simulation setup
Jul 04th, 2016, 12:16am
 
Hello,

I've read around extensively about FFT setup for a sigma delta ADC and I'm not sure if I'm not setting it up properly .

my current setup for a first order sigma delta ADC

sampling frequency : 38.4 kHz (for the ADC and FFT setup)
FFT bins : 65536
input signal : (31*38400)/65536 = 18.1640625 Hz

I'm using Mentor Graphics Eldo for the simulation

start time : 0.578064516 s (which is 10 and a half cycles of the input)
stop time : 2.284735711 s (31 cycles of the input from start time)
window : hanning alpha = 0.5

below is the output FFT of the ouput however the noise floor is extremely high. the x-axis is in log scale. there seems to be noise shaping however the harmonics are quite high so I wanted to
[url="http://i.imgur.com/tPVjNAN.png"]http://i.imgur.com/tPVjNAN.png
[/url]

plotting the wave using matlab yields the same output

y = csvread('file4.csv');
d = y(:,2);
d = hann(65536).*d(1:65536);
z = abs(fft(d));
x = 20*log10(z);
semilogx(x);
[url="http://i.imgur.com/2UvzmHnm.png"]http://i.imgur.com/2UvzmHnm.png
[/url]

Thank you in advance for your help, extremely appreciated Smiley

Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: Sigma Delta ADC FFT simulation setup
Reply #1 - Jul 4th, 2016, 6:06pm
 
It is my experience that Fourier analysis in SPICE simulators is a mess. Fourier analysis with SPICE is inherently tricky, and the simulators and design environments add dozens of user traps that make it very easy to produce inaccurate results without giving a good indication what the problem is, or even if there is a problem.

As such, It is always important to apply your Fourier analysis first to the input signal, then to the output signal. Of course your input signal contains no imperfections. Any imperfections that you see in the Fourier analysis results of the input and due to your measurement setup. Do not expect any more accuracy on the output signal that you see on the input signal.

Once you are getting accurate Fourier analysis results on the input signal, then you can shift to the output signal.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.