Author Topic: Analog ADE7953 : bad phase angle read  (Read 2410 times)

0 Members and 1 Guest are viewing this topic.

Offline bouliTopic starter

  • Newbie
  • Posts: 1
Analog ADE7953 : bad phase angle read
« on: August 12, 2014, 01:26:55 pm »
Hello,
I develop a project around ADE7953 from Analog Device. When I read ANGLE_A (0x10C) register value 0xFB80 (-92*) is returned. but the value that I measured on scope is -30° (0xFE80). My load is just 4*35W 220V halogene lamp (no transformer). The current is measured with a CT JC10F.
Do you ever encounter such kind of problem ? Values of voltage and current read from registers are correct.
The input stage or my board is a copy of the evaluation board of Analog device.
Here is the value the I sent to ADDE7953 at startup :
Code: [Select]
sADE7953_WriteReg(ADE7953_REG_PGA_V, 0);
sADE7953_WriteReg(ADE7953_REG_PGA_IA, 0);
sADE7953_WriteReg(ADE7953_REG_PGA_IB, 0);
sADE7953_WriteReg(ADE7953_REG_AVGAIN, 0x3E270E);
sADE7953_WriteReg(ADE7953_REG_AIGAIN, 0x3E3924);
sADE7953_WriteReg(ADE7953_REG_PHCALA, 0x000);
sADE7953_WriteReg(ADE7953_REG_ZXTOUT, 1400);
sADE7953_ReadReg(ADE7953_REG_CONFIG, &uldummy);
uldummy |= HPFEN | INTENA | ZXLPF;
sADE7953_WriteReg(ADE7953_REG_CONFIG, uldummy);
sADE7953_WriteReg(ADE7953_REG_CFMODE, CF1DIS | CF2DIS);
sADE7953_WriteReg(ADE7953_REG_IRQENA, ZXTO_IA | ZXTO | CYCEND);

Thank you for your help.
Best regards.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf