LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Phase of the THD?

It has some VI made that it simultaneously calculates the amplitude and phase of the THD?
0 Kudos
Message 1 of 4
(2,729 Views)
The concept "Phase of the THD" does not exist but if you are interested in the relative phase of the different harmonic components with respect to the fundamental it can be done.

I'll suggest you to copy and modify the "Harmonic distortion Analyzer.vi" that is located in your Analyze-->>Waveform Measurements palette.

The VI itself only exports the amplitudes of the different harmonics, but internally you can access the phase information from the 2 sub-VIs called "Extract Single Tone Information from Hann Spectrum.vi", one VI giving you the phase of the fundamental, the other one the phases of the different harmonics.

If Phi_1 is the phase of your fundamental and Phi_n the phase of your n'th harmonic, the relative phase can be computed as:

PhiR
elative_n = Phi_n - n * Phi_1
Message 2 of 4
(2,729 Views)
It is exactamente this that I intend.
It forgives me for my error.
Best regards.
0 Kudos
Message 3 of 4
(2,729 Views)
I have implemented the changes for you. In the attached library you'll find the modified sub-VI and a simple example VI. (LabVIEW 6i or higher required)
Message 4 of 4
(2,729 Views)