CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Lead power factor PF by software only?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
pad



Joined: 29 Nov 2007
Posts: 15

View user's profile Send private message

Lead power factor PF by software only?
PostPosted: Fri Aug 01, 2014 7:12 am     Reply with quote

Hi all.
I am working on a project where I have to display electrical parameters like KW,KVA,KVAr & PF Power Factor. I can measure instantaneous Power KW and Apparent rms KVA & Derive reactive power KVAr from them.

Now I want to display Lead PF but I have not included any hardware pin for detecting it.

So my question is, is there any software method for it?

Power quadrant might be useful but KVAr is derived and it always positive.
voltage Zero crossing is also not there.

regards,
PAD
Ttelmah



Joined: 11 Mar 2010
Posts: 19496

View user's profile Send private message

PostPosted: Fri Aug 01, 2014 8:08 am     Reply with quote

If you have kVA, and kW, you have all you need.
kW = kVA * power factor
pad



Joined: 29 Nov 2007
Posts: 15

View user's profile Send private message

PostPosted: Fri Aug 01, 2014 11:47 pm     Reply with quote

thanks.
I have value of cos(phi). Issue is its sign - inductive(Lag PF) or capacitive(Lead PF). I don't know how to get it as my KVAr is always +ve as it is derived quantity(square, subtact then sqrt).

PAD
Ttelmah



Joined: 11 Mar 2010
Posts: 19496

View user's profile Send private message

PostPosted: Sat Aug 02, 2014 1:40 am     Reply with quote

OK. You want the load angle.

Now I don't know whether you have the data needed to derive this, without knowing exactly how your measurements are made. You only need to be able to tell if the current leads or lags the voltage, depending on how your measurements are actually made you may be able to 'see' this by looking at where the peaks occur in the data from your existing sensors. If you can access this, then you are 'laughing'. Otherwise if everything is 'timeless', you do not have the data to derive this.

If current leads the voltage, you have a capacitive load (leading power factor).
temtronic



Joined: 01 Jul 2010
Posts: 9221
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Aug 02, 2014 5:25 am     Reply with quote

Presuming you have zero cross detection on the voltage and current sensors, I'd think measuring the time they happen will tell you which is leading.Math will be similar for 50Hz or 60Hz sides of th epond.

hth
jay
Ttelmah



Joined: 11 Mar 2010
Posts: 19496

View user's profile Send private message

PostPosted: Sat Aug 02, 2014 7:34 am     Reply with quote

He says:

"voltage Zero crossing is also not there."

Sad
pad



Joined: 29 Nov 2007
Posts: 15

View user's profile Send private message

PostPosted: Sat Aug 02, 2014 8:28 am     Reply with quote

thanks all.
I somehow managed it.
I check ADC samples of voltage. If they are at zero cross point (+- 10 of 512 count DC Ref),I store current I adc samples count.
If voltage sample counts (5 conse. counts) are increasing ie +ve going V, check current samples. If Current samples are greater than center Ref. i assume Lead pf (current count is more than voltage count) and if current sample count is less than DC ref PF is Lag.
Its seems working,but dont know what if harmonic in current.

PAD
temtronic



Joined: 01 Jul 2010
Posts: 9221
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Aug 02, 2014 8:37 am     Reply with quote

Without proper zero cross detection the 'math' must be 'fun' !
However as long as you get good,consistent , reliable numbers if it works that's great.

jay
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Sun Aug 03, 2014 11:41 am     Reply with quote

pad wrote:
thanks all.
I somehow managed it.
I check ADC samples of voltage. If they are at zero cross point (+- 10 of 512 count DC Ref),I store current I adc samples count.
If voltage sample counts (5 conse. counts) are increasing ie +ve going V, check current samples. If Current samples are greater than center Ref. i assume Lead pf (current count is more than voltage count) and if current sample count is less than DC ref PF is Lag.
Its seems working,but dont know what if harmonic in current.

PAD

Depends on the level and phase of the harmonics:-
Could seriously upset your system.
I suggest you try it out in Excel (or an equivalent), to get a feel.
If you perceive a problem, a crude FFT on the fundamental may help.

Mike
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group