Metering

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Metering

621 Views
RajPadmani
Contributor II

Hi community,

 

I'm working with the KM35 MCU and have implemented single-phase metering using the AN12837 application note. Calibration is complete, and I'm able to get accurate Vrms and Irms values.

 

I came across the following structure tMETERLIBLPRT1PH_DATA, which contains various metrology parameters such as ActPowers, AppPowers, PowerFactors, MetEnergyCounts, and MetEnergySecCounts.

 

I'm now looking to calculate the energy consumed (unit burned in kWh) based on these values.

 

My questions are:

 

Which parameters from this structure are directly relevant for calculating total energy consumption in kWh?

 

Is there a standard conversion or formula to go from MetEnergySecCounts[0] or ActPowers[0] to units consumed?

 

How frequently should I sample or accumulate values to get accurate energy readings over time?

 

Would really appreciate it if someone who's worked with KM35 or similar Freescale/NXP metering setups can guide me on how to make sense of this data for energy tracking.

 

Thanks in advance!

Tags (1)
0 Kudos
Reply
1 Reply

580 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello @RajPadmani ,

Thanks for your post. Please refer to the AN13259.pdf

It contains detailed introductions to the APIs and parameters of the metering library, along with the corresponding calculation formulas.

Hope it can help you.

BRs,

Celeste

0 Kudos
Reply