|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Solid State Talk all about solid state amplification. |
|
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Jan 2005
|
Is it possible to do a THD vs output power graph in LTspice in any way ?
Anyone knows ?
__________________
The point of life is to build atleast one audio amplifier before you die.
|
|
|
|
#2 |
|
diyAudio Member
Join Date: Oct 2004
Location: Aalborg, Denmark
|
|
|
|
|
#3 |
|
diyAudio Member
Join Date: Oct 2008
|
Here's a file...maybe you've already done this, in which case, my apology for the redundancy. A typical kind of amp, and I sweep the drive level. If you look in the Spice error log file (view=>spice error log), you see the output distortion.
I know you wanted a graph, but maybe this is a useful stop along the way. unzip the model file and the .asc file into the same directory, and run the test case. |
|
|
|
#4 |
|
diyAudio Member
Join Date: Oct 2008
|
The enclosed zip file contains a pdf file that describes what's going on in the enclosed LTSpice files.
In a nutshell, it lets you make plots of THD versus input level in LTSpice. Given this example, you could probably also do THD plots versus frequency, but I haven't tested that. I thought I'd get feedback on the original question first before continuing. I hope this is useful, and clearly enough documented to be understandaable. Feedback is appreciated. Dan |
|
|
|
#5 |
|
diyAudio Member
Join Date: May 2005
Location: Denmark
|
nice thanks....
|
|
|
|
#6 |
|
diyAudio Member
Join Date: Nov 2003
Location: Brighton UK
|
Hi,
In bob cordell's book he specifically uses LTSpice for distortion simulations. rgds, sreten.
__________________
There is nothing so practical as a really good theory - Ludwig Boltzmann When your only tool is a hammer, every problem looks like a nail - Abraham Maslow |
|
|
|
#7 | |
|
diyAudio Member
Join Date: May 2008
Location: Albany , NY (smallbany)
|
Quote:
![]() I have the level stepped and can see both my fourier and error log total THD , therefore I can see the data I need (below 1). It would be a lot of work just to get a handy (level vs. THD graph). It seems a shame , as I have the total THD data stepped in the log , that it could not be directly plotted out versus the stepped levels.OS The FFT with multiple steps shows the progression of H2 -9 as output increases , which is still quite useful.
__________________
Mongrel website , always current and updated : http://www.fidelityforce.com/ostripper |
|
|
|
|
#8 |
|
diyAudio Member
Join Date: Feb 2008
Location: Denver, CO
|
One more link to solution LTSPICE THD Analyzer
__________________
Audio Perfection |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LTSpice way too high input sine wave THD | Neutrality | Software Tools | 8 | 17th May 2011 02:53 AM |
| LTspice model for Dynaco A470 Output Transfomer | Ray Waters | Tubes / Valves | 5 | 17th February 2011 03:33 PM |
| THD in LTSpice ? | Tekko | Solid State | 74 | 30th November 2010 01:37 PM |
| OT: how can I measure THD of my amplifier if my sound card is 0,02% THD ? | ygg-it | Solid State | 1 | 13th June 2010 07:54 AM |
| LTspice tool for power amp power supply component evaluation | andy_c | Software Tools | 2 | 23rd August 2009 05:10 PM |
| New To Site? | Need Help? |