The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 3rd, 2024, 11:21pm
Pages: 1
Send Topic Print
SNR ,THD simulation (Read 8367 times)
neurocat
New Member
*
Offline



Posts: 1

SNR ,THD simulation
Mar 17th, 2005, 1:48am
 
Smiley Smiley

hi
   how to simulate the SNR and THD of a class AB  Power amplifier. would u please give me some advices.
thanks a lot
Back to top
 
 
View Profile   IP Logged
benis
Guest




Re: SNR ,THD simulation
Reply #1 - Mar 24th, 2005, 2:20pm
 
to have an estimatin of your THD make a dft of your output to see how high are your armonic frequencies.
Back to top
 
 
  IP Logged
James
Community Member
***
Offline

snowfiled

Posts: 32

Re: SNR ,THD simulation
Reply #2 - Mar 24th, 2005, 5:33pm
 
Then how to see the SNR result?
Back to top
 
 

James
View Profile   IP Logged
analogic
Junior Member
**
Offline



Posts: 11

Re: SNR ,THD simulation
Reply #3 - Mar 25th, 2005, 11:58am
 
what i did is use the "prints" in Cadence calculator to export the spectrum points, then use Matlab to calculate SNR
Back to top
 
 
View Profile   IP Logged
gsuarez
Junior Member
**
Offline



Posts: 11

Re: SNR ,THD simulation
Reply #4 - Mar 26th, 2005, 7:08am
 
Hi,

Check this site and this pdf. Remeber if using Matlab that log base 10 is log10. I don't know much about amplifier characterization but in ADCs you need to have a coherent signal at the input with respect to the number of samples you measure at the output. If the coherent sampling condition is no met, you will have spectral leakage.

http://moon.pr.erau.edu/~lyallj/ee412/sinad_exp.html

http://www.strategic-test.com/support/download/uf_an-02_measuring%20dynamic%20sp...

If you need more about coherent sampling then go to http://www.maxim-ic.com and check for their application notes, they are really good.

George

Back to top
 
 
View Profile   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: SNR ,THD simulation
Reply #5 - Mar 26th, 2005, 6:13pm
 
Neurocat,

   If the input is a sine wave, one alternative would
be to use the Spectre fourier component to calculate
the THD. In general the fourier component is very
accuracte and simplifies the THD measurement. The
only limitations are that it doesn't work for sampled
data applications, that is, for ADCs. In addition, you
need to be careful about calculating SNR from a dft.
The issue is that normally transient analysis does not
include device noise unless you specifically add[using behavioral models] so the noise floor of the spectrum
is set by the numerical noise in the simulation.  

  If you do want to calculate SNR from the large signal
performance, a reasonable goal since this circuit is a
class-AB amplifier, try transient noise analysis. Don't
forgot to subtract the numerical noise floor from the
original spectrum(by RSS).

  BTW, as a thought experiment if you are using
Spectre, run your transient simulation using different
relref options: sigglobal, alllocal, pointlocal. You should
see that the amplitude of the fundamental and the
harmonics are constant, however, the amplitude of
the "noise" falls of significantly as the accuracy of the
simulation increases.

                                                        Best Regards,

                                                           Sheldon
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: SNR ,THD simulation
Reply #6 - Mar 29th, 2005, 8:33pm
 
Some other pointers on this topic:

a) use the strobeperiod option to transient, to ask spectre to solve at the points you're going to sample at in the fft - this removes the interpolation error you'd get when sampling. If you're using fft that is...

b) There's a THD function in the ADE calculator's special functions. This does an fft and then calculates the ratio of the first harmonic (I think this is controllable) to the other harmonics.

c) spectre now has a transient noise analysis, BTW, from MMSIM60 onwards. As with all transient noise analyses you have to be careful to average the noise over a long enough period of time (you do have control over the maximum noise bandwidth, which in turn sets the maximum timestep within the transient). It's another way to look at noise in non-periodic systems if the RF analyses aren't appropriate, and also to look at circuits with a nonlinear response to the noise.

Regards,

Andrew.
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.