2 Signals THD format
Do you know the format when THD of the v(outp)-v(outn) signal is done in LT Spice Simulation?
ex. .four 5k 3 3 [v(outp)-V(outn)] <= A left format was not computable.
My best regards.
I'm not sure that you can use use difference in the form v(outp)-V(outn).
You can use v(outp) or V(outn) as a single node, where you want to measure distortions. Try to use just single node and if it will work, you may use dependent voltage source to compute the difference and measure >FOUR at it's output. Also, .FOUR works only in transient analysis.
you can just clik & hold, the red cursor selects the node as usual, then turns black as you hold and drag and you can place it on the 2nd node, then release the L clik to get the difference
gives V(a,b) syntax, can be used as arg in .four - if you really must but the THD # isn't that helpful - looking at fft is much better, can do IMD for even more informative fft picture
or try my fundamental null circuit to get the distortion residual waveform http://www.diyaudio.com/forums/softw...ml#post1333137
Thank you for the report.
The image is appended for the explanation.
There are two amplifiers.
Each output is OUTP(Green) and OUTN(Blue).
This is connected with the plus and the minus of the speaker.
Individual THD can be confirmed.
.four 5k 5 5 v(out) v(outn)
However, THD when making it to OUTP-OUTN(Red) cannot be confirmed.
Cannot this calculation be done with LT-Spice?
When my idea is wrong, I'm sorry.
the 2 nodes that you are differencing have to be inside one V(), separated by a comma
.four 5k 5 5 v(outp,outn)
you will proably get poor results in fft noise floor if you don't specify a Tmaxstep small enough to give > 10e4 points per cycle, ~ 20n
Thanks jcx for your kind help.
My doubt was solved.
And, we wish to express our gratitude for cooperation of everybody.
Thank you again for the end.:)
|All times are GMT. The time now is 09:23 AM.|
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright ©1999-2014 diyAudio