Post Go back to editing

Total Harmonic Distortion

Category: Software
Product Number: 24.1.10
Software Version: 24.1.10

Hello,
i have a question to .four 1k 10 -1 v(out).
In the log-file I can find 
Partial Harmonic Distortion: 4.335049%
Total Harmonic Distortion:   4.810931%
The Partial Harmonic Distortion match to result of 1+9 harmonic ( = sprt ((U2^2+...+U9^2)/(U1^2)).
But how can I calculate the Total Harmonic Distortion?
How is the Total Harmonic Distortion defined?

Parents
  • Hi  ,  ,

    THD is calculated from Vrms of the signal. using:

    Interesting note: I went back to some older versions of LTspice that reported as thus:

    Total Harmonic Distortion: PHD value ( THD value )

    The THD was noted in parentheses for some reason.

    mike

  • Hello everyone,

    sorry for the late response.

    I did a simple test with simple amplifier.

    I masher the Amplitude of the FFT and calculate the THD (like mike)

    V(out)                                                                 

    1.(D11)                                2,721872V                       

    2.(D12)                                0,20990547V                  

    3.(D13)                                0,04764792V                  

    4.(D14)                                0,03441362V                  

    5.(D15)                                0,00174543V                  

    6.(D16)                                0,00485138V                  

    THD      0,08010669*100%=8,01066907

    EXCEL: =SQRT(D12^2+D13^2+D14^2+D15^2+D16^2)/D11

    And I use the “.four 1kHz v(in) v(out)” with results for:

    Partial Harmonic Distortion: 8.285432%

    Total Harmonic Distortion:   8.312824%

    I think the PHD is calculated by “mikes formula”.

    On this page :

    www.powerelectronicsnews.com/.../

    I find this information: “The result for all harmonics of the signals is also shown in brackets.” …old LTSPICE 16/17 log

    In a further source I read it’s in clouded the noise.

    How can I calculate the LTSPICE THD (…all harmonics and/ or with noise).

    This is for me the basic thing.

    I make the experience with different circuit.

Reply
  • Hello everyone,

    sorry for the late response.

    I did a simple test with simple amplifier.

    I masher the Amplitude of the FFT and calculate the THD (like mike)

    V(out)                                                                 

    1.(D11)                                2,721872V                       

    2.(D12)                                0,20990547V                  

    3.(D13)                                0,04764792V                  

    4.(D14)                                0,03441362V                  

    5.(D15)                                0,00174543V                  

    6.(D16)                                0,00485138V                  

    THD      0,08010669*100%=8,01066907

    EXCEL: =SQRT(D12^2+D13^2+D14^2+D15^2+D16^2)/D11

    And I use the “.four 1kHz v(in) v(out)” with results for:

    Partial Harmonic Distortion: 8.285432%

    Total Harmonic Distortion:   8.312824%

    I think the PHD is calculated by “mikes formula”.

    On this page :

    www.powerelectronicsnews.com/.../

    I find this information: “The result for all harmonics of the signals is also shown in brackets.” …old LTSPICE 16/17 log

    In a further source I read it’s in clouded the noise.

    How can I calculate the LTSPICE THD (…all harmonics and/ or with noise).

    This is for me the basic thing.

    I make the experience with different circuit.

Children
No Data