Hi,

I have a problem with my ADE7816 about Angle Value. I have set **PCF_x_COEFF** with same value as attached in datasheet **0x400CA4 **because i used 50Hz. But the Angle value is not match with LUTRON DW-6092 Power Measurement. For the example, Angle Value in Lutron is -140.8 and Angle Value of AD7816 is 356.9.

The following my step to reading the Angle Value :

1. Setting **PCF_x_COEFF = 0x400CA4** ; This step is based on datasheet at page16

2. Setting **COMPMODE = 0x01FF**

3. Reading **ANGLE0** register every IA/ID is Zero Crossing

4. Reading **ANGLE1** register every IB/IE is Zero Crossing

5. Reading **ANGLE2** register every IC/IF is Zero Crossing

6. Calculating ANGLE0, ANGLE2 and ANGLE3 as Equation 16 (Page 28) >> **ANGLE** = (**ANGLEx***360*Fline)/256000

I already to tried change the **PCF_x_COEFF**, but the **ANGLE **value is doesn't match.

Please give me a solution for this problem.

Thanks.

Hi fiqih.88

Are you trying to measure the angle between the voltage signal and one of the current signals? In that case, once you have followed the Quick Start procedure as given in the datasheet, you will be able to get correct ANGLEx values. The Zero crossing detection circuitry measures the time delay between the zero-crossings to calculate the angle. ZXV and ZXIx bits of the Status1 register will let you know if a Zero-crossing event has occurred on the voltage and current channels. So ensuring that these bits are set, before reading the ANGLEx register is fine.

If you do not get proper results even after following this, reply back with answers to following questions:

1.What is the signal level in the voltage and current channels?

2. What is the register value you are getting in the ANGLEx register?

3. What is the source? Is it an ideal input or are you sensing current from a load? In any case, what is the angle that you expect to see?

Regards

hmani