|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators |
|
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: Nov 2009
Location: Ghaziabad (Delhi NCR)
|
Hi,
How to measure THD+N of an audio oscillator under LTSpice ?
__________________
Regards, Sameer Dhiman |
|
|
|
#2 |
|
diyAudio Member
Join Date: Nov 2009
Location: Pune
|
LTspice : LTspice/SwitcherCAD III
This group is dedicated for LTspice. will get lot of information here. As well help.
__________________
There is always a first time.... |
|
|
|
#3 |
|
diyAudio Member
Join Date: Feb 2003
Location: ..
|
my fundamental null circuit could help for single tone - just take the RMS of the residual
Spice simulation for an oscillator circuit you will need a very large ncycles number for any high Q oscillator sim to startup, stabilize set the plot limits to the last cycle and use the <ctrl>, left click the trace lable in the waveform viewer or add a .meas directive to print the result in the error log noise in spice requires added sources in a .TRAN sim |
|
|
|
#4 |
|
diyAudio Member
Join Date: Nov 2009
Location: Ghaziabad (Delhi NCR)
|
@Aucosticraft : Thanks
@JCX: Very nice null circuit Do you mean .Tran does not add N-Sources to passive and active components while simulation. Do I need to add N-Sources to each and every component during .TRAN simulation ? What if active component have noise source in their spice model like LME49860 ?
__________________
Regards, Sameer Dhiman |
|
|
|
#5 |
|
diyAudio Member
Join Date: Nov 2009
Location: Ghaziabad (Delhi NCR)
|
Hello JCX,
Please clear my doubt.
__________________
Regards, Sameer Dhiman |
|
|
|
#6 |
|
diyAudio Member
Join Date: Feb 2003
Location: ..
|
I don't use noise analysis in spice, not an expert in that use - the doc claims .NOISE is an AC analysis
for .TRAN I'm pretty certain you have to add your own noise modeling sources for xtal osc noise sim is going to be "interesting" close in noise requires millions of cycles to evaluate, the measured noise has multiple slopes, unmodeled thermal and acceleration effects become significant Last edited by jcx; 31st October 2011 at 10:35 PM. |
|
|
|
#7 |
|
diyAudio Member
Join Date: Nov 2009
Location: Ghaziabad (Delhi NCR)
|
Thank you so much for confirming.
__________________
Regards, Sameer Dhiman |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| THD vs output power in LTspice | Tekko | Solid State | 7 | 4th January 2012 01:40 PM |
| LTSpice way too high input sine wave THD | Neutrality | Software Tools | 8 | 17th May 2011 02:53 AM |
| 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 |
| Measure THD, etc of power amp with sound card - attenuator? | CBRworm | Solid State | 36 | 18th September 2009 05:55 AM |
| New To Site? | Need Help? |