LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Power Quality monitoring and simulation.

Hi every one, I doing a simple power quality monitor and analyzer, the voltage and current pulse harmonics are being simulated through express VIs. 

The problem is when i am calculating the power factor the power factor result is changing continuously and I don't know why and I try various methods but it's still not working.  i'm calculating the PF by taking the cosine the phase differance between the voltage and current.

 Also I need to generate some disturbances and transient so may program will capture it, can anyone give some idea how to find these transient equations. Thanks

 

 

   

0 Kudos
Message 1 of 7
(4,579 Views)

Power quality monitoring is a complex process which is still not well defined for waveforms with significant amount of harmonic content.  In particular the power factor cannot be reliably calculated as you described.  If the higher harmonics are out of phase with the fundamental (which can often happen), the simple cosine of the phase difference becomes rather meaningless.

 

Please post your program as you have developed it so far.  Then we can see what you are doing and perhaps offer suggestions.

 

Lynn 

0 Kudos
Message 2 of 7
(4,570 Views)

Thank you for your response, please find the attached program.

 

Atef

0 Kudos
Message 3 of 7
(4,545 Views)

Atef,

 

I was unable to open the block diagram of your VI without crashing LabVIEW.  This is usually a sign that there is a lot going on in the block diagram.  As I could not see the code, instead I will try to point you to this post where another user was working on simulating power conditioning to see if he might off you any ideas.

ColeR
Field Engineer
0 Kudos
Message 4 of 7
(4,518 Views)

thanks Cole

 

i think this one will work.

 

Atef

0 Kudos
Message 5 of 7
(4,490 Views)

Hi, I guess this post is too old, so I am not sure if you are still intrested in the topic or got the answer elsewhere, but I just signed up and joined the forum since I was searching in the same topic (I am working on a power quality monitoring software myself). For your power factor problem, first of all, the power factor you are calculating by finding the phase shift between the fundamental frequencies of voltage and current is called the Displacement Power Factor, and it is different from the True Power Factor, which is simply the ratio:  True Power (Watts) / Apparent Power (VA), which can be done by multiplying the V and I signals (point by point), and calculating the average power to get the true power, and multiplying the rms values of V and I to get the apparent power value.

 

But anyhow, if you are still intrested in the Displacement Power Factor, first of all, you used an Express VI to generate the signal, but you used a VI that uses waveform datatype for tone extraction, so try converting the dynamic data type into a single waveform using "from DDT" VI.  But your real problem is simply a sampling rate problem, your using a signal source sampled at 10000Hz and you are reading them as 999 samples at a time, so you are not getting an integer number of cycles, and so the phase you are getting is constantly changing, and so is the power factor, so try changing the number of samples to 1000 for example, and it would work. I got a constant value of 0.423 at your settings

 

As for the transients, i was actually searching for this topic, and am trying to find models for induction motors or other machines that experience transients so as to use the model to introduce the effects needed, but still no luck with that.  Anyways, i hope that helped.

Message Edited by mrblacksmith on 07-12-2009 03:50 AM
0 Kudos
Message 6 of 7
(4,327 Views)

I was going through your vi for power quality monitoring and simulation. I got your atif9.vi but could not get limit2.vi. I would be thankful if I get it.

0 Kudos
Message 7 of 7
(3,685 Views)