I have interfaced a smart energy meter IC (ADE7878) to a microcontroller. The datasheet of the IC can be found here, https://www.analog.com/media/en/technical-documentation/data-sheets/ADE7854_7858_7868_7878.pdf. As per the datasheet, on page 50 total active power of each phase can be read from the registers AWATTHR, BWATTHR, and CWATTHR. My question is what parameters I should consider and formula I should use to calculate the kwh value ?
Thanks for your reply. But the values given out of these registers are 32 bit. I was thinking how do I convert it to the actual value. I think there is some conversion factor.
As per the datasheet(page 58), PMAX = 33,516,139 = 0x1FF6A6B, the instantaneous power computed when the ADC inputs are at full scale. So will dividing the value obtained from the register by Pmax give me the actual wh value ?