The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 22nd, 2024, 4:33am
Pages: 1
Send Topic Print
Is there any variable for THD in HSPICE? (Read 3219 times)
blueband
New Member
*
Offline



Posts: 3
China.Shanghai
Is there any variable for THD in HSPICE?
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.
Back to top
 
 
View Profile   IP Logged
ywguo
Community Fellow
*****
Offline



Posts: 943
Shanghai, PRC
Re: Is there any variable for THD in HSPICE?
Reply #1 - 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
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: Is there any variable for THD in HSPICE?
Reply #2 - 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.
Back to top
 
 
View Profile WWW   IP Logged
blueband
New Member
*
Offline



Posts: 3
China.Shanghai
Re: Is there any variable for THD in HSPICE?
Reply #3 - Jun 12th, 2007, 6:02pm
 
Thanks a lot!
Back to top
 
 
View Profile   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.