Download Application note for ATT7022B

Transcript
Application note for ATT7022B(260-CS-108)
Pgain=2^24+Pgain*2^23
=2^24 - 0.01244322*2^23=16672834=FE6842H
MOV
MOV
MOV
MOV
20H,#0FEH
21H,#68H
22H,#42H
A,#87H
LCALL WR_SPI
MOV A,#8AH
;Does not partition, writes each section register the
similar correct value
LCALL WR_SPI
⑻Writes the B phase adjustment
The three-phase voltage inputs 220 volts, inputs the B interphase current 1.5 A, the
power factor is 0.5L, the standard table electrical energy error reading is - 1.74%,
err=-0.0174, then:
θ=acos((1+err)*0.5)-π/3
=acos((1-0.0174)*0.5)-π/3
= acos(0.4913) -π/3= 0.01001709>0
Phsreg=θ*2^23=84029=1483DH
MOV
MOV
MOV
MOV
20H,#01H
21H,#48H
22H,#3DH
A,#91H
LCALL WR_SPI
MOV A,#92H
;Does not partition, writes each section register the
similar correct value
LCALL WR_SPI
MOV A,#93H
LCALL WR_SPI
MOV A,#94H
LCALL WR_SPI
MOV A,#95H
LCALL WR_SPI
⑼Writes the C power gain
The three-phase voltage inputs 220 volts, inputs the C interphase current 1.5 A, the
power factor isy 1.0, the standard table obtains the electrical energy error is 0.5%,
ERR=0.005, then:
版权归钜泉光电科技(上海)有限公司所有
http://www.hitrendtech.com
Page29 of 34
Rev1.0