|
|
|||||||
| 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: Nov 2009
|
Hi Everyone,
Can anyone tell me how to simulate IMD in LT spice ? For example THD need to put the command of .four 10K V(out) and how about IMD ? how should it be ? Thank you for your advises.. |
|
|
|
|
#2 |
|
diyAudio Member
Join Date: Oct 2008
|
Put two input sources in series, say 19 kHz and 20 kHz, at the input to your device. Run a transient sim. Look at the output with the waveform viewer. Make sure that the waveform viewer is highlighted. Then click view...FFT. The not displayed in the oscilloscope will be highlited...pick a window...I like Hann...
say OK...you'll see the intermod of 19 and 20 kHz at 1 kHz (of course, there are other sum and difference frequencies, but this might be the most interesting one for audio work...) Hope this helps... Dan |
|
|
|
|
#3 |
|
diyAudio Member
Join Date: Nov 2009
|
Hey Dan,
Thank you for giving me advice on it .. I have tried the way you u advised me and following is the diagram tat the Blameless circuit diagram, output waveform and FFT with IMD. Is this correct? Another question is the command written in this form ? .fourier 1K 2K V(OUTPUT) .options plotwinsize=0 12.JPG 14.JPG 13.JPG |
|
|
|
|
#4 | ||
|
diyAudio Member
Join Date: Apr 2002
Location: *
|
Quote:
Quote:
simulator, each of the two sine waves must have completed full cycles and not be truncated mid cycle. Ltspice will see the truncated cycle as distortion and generate additional sidebands. So for an IM sim on 19kHz and 20kHz the sim time will have to be 1/(20-19)kHz=1mS minimum. Depending on your PC and the accuracy required this may take some time. T |
||
|
|
|
|
#5 |
|
diyAudio Member
Join Date: Feb 2003
Location: ..
|
another useful point is to use relatively prime frequency ratios so IMD and Harmonic distortions don't all fall on top of each other
I usually use integer KHz values so that the waveforms will repeat every 1 mS, and usually run the sim for 5 mS so that Blackman windowing fully resolves the frequencies I also never look at .four output - given modeling inadequacies I only belive sim is useful for some tests of relative distortion changes - to me numerical output like .four is harder to compare than .step or duplicated circuit fft plots Last edited by jcx; 15th December 2009 at 03:03 AM. |
|
|
|
|
#6 |
|
diyAudio Member
Join Date: Oct 2008
|
JCX's advice is on the money...with the 1kHz and 2kHz you chose, you really can't tell the difference between harmonic and intermod distortion.
I also agree with JXC...waveform viewer based FFT is much more informative. |
|
|
|
|
#8 |
|
diyAudio Member
Join Date: Nov 2008
Location: Brazil
|
See this post:
Spice simulation |
|
|
|
|
#9 | |
|
diyAudio Member
Join Date: Apr 2002
Location: *
|
Quote:
|
|
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| About LTSpice Simulation. | nicholas1113 | Solid State | 2 | 15th November 2009 07:52 AM |
| LTSpice Simulation template?! | ipop07 | Tubes / Valves | 5 | 13th May 2009 06:17 PM |
| Distortion simulation with LTspice | tiagor | Solid State | 30 | 12th August 2008 09:28 AM |
| LTSpice PSU simulation help - SoftStart modeling | ninjanki | Power Supplies | 10 | 21st March 2005 04:04 PM |
| Ltspice.... | mikeks | Solid State | 10 | 13th June 2004 08:10 PM |
| New To Site? | Need Help? |
| Page generated in 0.11246 seconds (79.52% PHP - 20.48% MySQL) with 11 queries |