04-13-2009 09:59 AM
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
04-13-2009 10:10 AM
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
04-14-2009 05:59 AM
Thank you for your response, please find the attached program.
Atef
04-14-2009 04:10 PM
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.
04-16-2009 03:29 AM
thanks Cole
i think this one will work.
Atef
07-12-2009 03:44 AM - edited 07-12-2009 03:50 AM
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.
01-29-2013 04:24 AM
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.