SeattleEVA Forums
June 18, 2013, 11:10:18 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
Our monthly meetings have changed location back to the Church of the Nazurene above the Mosaic Community Coffee House.
 
    SEVA wiki     RSS All   SEVA Forums Home   Help Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: onboard kilowatt-hour meters question  (Read 5454 times)
0 Members and 1 Guest are viewing this topic.
BSherry
Jr. Member
**

Karma: +0/-0
Offline Offline

Posts: 5


« Reply #726: September 28, 2008, 04:04:01 pm »

I don't know what other folks do, but when I had kilowatt/hours in my instruments, I would sum (average) both current and voltage over a period of 1/4 second, multiply the result together to get watts, and sum those each 1/4 second. I would then divide that sum by a calibration factor, that included time, in order to get the number to display as W/H.

I admit it would be better to multiply each sample and sum, but the processor I was using then had no hardware multiply, so I had to compromise. My current units have a processor with multiply, but I haven't gotten around to writing the algorithm. I am always trying to do too many things all together, simultaneously, at once.

Bruce Sherry
Bruce Sherry Designs
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.092 seconds with 21 queries.