LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Numerical Values of Magnitude and Phase of Fundamental Frequency

Hello,
I am trying to find the numerical value of magnitude and phase of the fundamental frequency of signal inside LabVIEW Control and Simulation Loop. Fundamental Frequency is 50Hz. The signal is actually source current of rectifier circuit from Multisim.

I tried both 'FFT ptbypt' and 'Amplitude and Phase Spectrum ptbypt' to calculate them, but the numeric values don't settle down to a constant, they are changing continuously.

I adjusted the 'Sample Length' and 'dt' but showed same problem.

On the other hand I tried to calculate them using Fourier Analysis in Multisim, it was very easy, the value of magnitude and phase of fundamental component of source current was 7.104 A and -17.848 deg respectively.
But I need to calculate then using LabVIEW to calculate other parameters like:
1. Displacement Factor
2. Distortion Factor
3. Total Harmonic Distortion
4. Input Power Factor


I have attached a zip file containing Rectifier Cosimulation, Rectifier THD (Fourier Analysis) and its screenshots.
Please Help.

0 Kudos
Message 1 of 6
(4,346 Views)

the signal processing- Wfm measurering palette offers all vis needed, such as Tone detection (single or multi) to find&measure  the major frequency(s) amplitudes and phase.

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 6
(4,334 Views)
Thanks for response,
As you said I just tried Tone Measurement Express VI and set the specific frequency to 50, but got amplitude to be '0' and phase to be '90'.
I tried another vi called 'Extract Single Tone Information'. When I connected it's pin 'time signal in' to the interested signal, I got broken wires telling that Source signal is of type (double[64-bit real (~15 digit precision )]) and sink is Waveform (DBL).
Please Help.
0 Kudos
Message 3 of 6
(4,326 Views)

can't look at your vis...  however here is something to play 

 

and please take a look at the HELP- Find examples ...

signal measurements.png

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 4 of 6
(4,314 Views)
Hi,
I request you to see my VIs, because I have tried all things that could be possible.

The signal measurement vi that you gave is of different data type, it only accepts Waveform (DBL) and the source signal is Time Varying Numeric Value (double[64-bit real (~15 digit precision )]) from Multisim Circuit.
I have already seen examples, but I couldn't get any help.
Please Help.
0 Kudos
Message 5 of 6
(4,282 Views)

Sorry , no chance to look into your vis. 

Why not resample the data into wfrms?

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 6 of 6
(4,274 Views)