The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Is there any variable for THD in HSPICE?
https://designers-guide.org/forum/YaBB.pl?num=1180062536

Message started by blueband on May 24th, 2007, 8:08pm

Title: Is there any variable for THD in HSPICE?
Post by blueband on May 24th, 2007, 8:08pm

Just like voltage, current, power and so forth, that we can plot/probe it. And it can be used in optimization.  
And how can we use the harmonics in FFT analysis just as the other variables.

Title: Re: Is there any variable for THD in HSPICE?
Post by ywguo on May 31st, 2007, 7:07pm

Hi,

It seems that the harmonics of FFT can not be used as other variables like voltage, current. However, please use them in any math tools like Matlab if you need any further measurement/calculation.


Yawei

Title: Re: Is there any variable for THD in HSPICE?
Post by Andrew Beckett on Jun 4th, 2007, 12:59pm

If you're using an optimizer around your simulation (for example, using ADE-GXL in IC610, or NeoCircuit in IC5141, or even the ADE optimizer in IC5141), you should be able to create a calculator expression which uses the dft() function and picks the value at a particular harmonic - and use that as a goal in your optimizer.

If you're hoping to do that within the simulator, that's going to be harder - although it's probably possible with spectreMDL using mvarsearch (which is effectively a simple optimizer). I've just never tried it myself.

Regards,

Andrew.

Title: Re: Is there any variable for THD in HSPICE?
Post by blueband on Jun 12th, 2007, 6:02pm

Thanks a lot!

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.