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 support@ccsinfo.com

PIC18F1320 Coding to measure power factor

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



Joined: 17 Jul 2009
Posts: 1
Location: UK

View user's profile Send private message Send e-mail Yahoo Messenger

PIC18F1320 Coding to measure power factor
PostPosted: Fri Jul 17, 2009 11:54 am     Reply with quote

I am going to design a microcontroller based AC Power meter.
Now I am able to measure and display the voltage and current by using PIC18F1320.
But I am in trouble, how to measure the power factor (determining the phase difference between the voltage and current wave).
Can anyone help me please how do that PIC18f1320 coding to determine the power factor?
robomaniac



Joined: 16 Jul 2009
Posts: 19
Location: Sherbrooke, Québec, Canada

View user's profile Send private message Visit poster's website

PostPosted: Fri Jul 17, 2009 12:42 pm     Reply with quote

Your in the UK, so it is 220V and 50Hz


Check this website
http://jarv.org/pwrmon.shtml

Here is a good pdf
http://www.xantrex.com/web/id/341/DocServe.aspx

and here is a example
http://openbookproject.net//electricCircuits/AC/AC_11.html#xtocid82073

Power Factor = Real Power / Apparent Power
_________________
Jérôme Demers
www.jeromedemers.com
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