Home
ATT7053BU User Manual(210-SD-139)
Contents
1. ADC Channel Gain Register ADCCON Address 59H Bit15 14 13 12 11 10 9 Bit8 SSS a EE EEE http www hitrendtech com Hi Trend Technology Shanghai Co Ltd VO 1 37 50 HiTrenatech ATT7053BU User Manual 210 SD 139 Read PGA242 PGA241 DGB DGI2 DGI1 DGIO Write Reset 0 0 0 0 0 0 0 0 Bit7 6 5 4 3 2 1 Bit0 Read DGUI DGUO PGA3 PGA2 PGAI PGAO UPGA1 UPGA0 Write Reset 0 0 0 0 0 0 0 0 PGA242 PGA3 PGA2 I2Gain PGA241 PGA1 PGAO I1Gain UPGA1 UPGA0 UGAIN 0 0 0 PGA 1 0 0 0 PGA 1 0 0 PGA 1 0 0 1 PGA 4 0 0 1 PGA 4 0 1 PGA 2 0 1 0 PGA 8 0 1 0 PGA 8 1 0 PGA 4 0 1 1 PGA 16 0 1 1 PGA 16 1 1 PGA 4 1 X X PGA 24 1 X X PGA 24 Note the Il Gain I2Gain UGain mentioned here is the channel gain of ADC anolog part DGU1 DGU0 REWE DGI DGIO W M I DGI3 DGI2 PAME 2 0 0 DG 1 0 0 DG 1 0 0 DG 1 0 1 DG 2 0 1 DG 2 0 1 DG 2 1 0 DG 4 1 0 DG 4 1 0 DG 4 1 1 DG 8 1 1 DG 8 1 1 DG 8 Note The digital gain is realized by the digital signal which through transferring bit and amplifying ADC The amplified multiply rate is 1 2 4 8 Digital gain can be used to multiply small signal at the meanwhile the RMS is also multiplied 6 4 18 Gain of current channel2 I2Gain Current 2 Gain Register 12Gain
2. Accumulating the power according to the mode of algebra summation when calculating energy Form 7 1 PMOD1 PMOD0 Active power accumulation mode Accumulating the power according to the mode of algebra summation when calculating energy Only accumulating the positive power but not accumulating the negative power when calculating the energy Accumulating the power according to the absolute value mode when calculating the energy Accumulating the power according to the mode of algebra summation when calculating energy Form 7 2 ZXD1 ZXDO Selection for voltage zero crossing out put and interruption Positive zero crossing interruption produces when ZXCFG 1 the pin outputs negative zero crossing waveform Negative zero crossing interruption produces when ZXCFG 1 the pin http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 31 50 Obikendtech ATT7053BU User Manual 210 SD 139 outputs negative zero crossing waveform 1 X bilateral zero crossing interruption produces when ZXCFG 1 the pin outputs bilateral zero crossing waveform Form 7 3 Input signal Output signal FLTON CIADD CHNSEL Chanelstatus Energy accumulation 1 X X Select the result Decide to adopt whi
3. Read Chanelstatus TAMP DPPXGTIIP VDCINF NoQLd NoPLd REVQ REVP Write X X X X X X X X Reset 0 0 0 0 0 0 0 0 Bit Name description Chanelstatus Measurement channel selecting flag 0 use current channel I to measure 1 use current channel 2 to measure TAMP stealing electricity occurring flag DPPXGTIIP When the RMS value of channel 2 above the RMS value of channel 1 the flag effects NOQLD Reactive power false actuation flag of measurement channel which is selected by customer NOPLD Active power false actuation flag of measurement channel which is selected by customer REVP Negative active power flag updating while PF is sending out pulse REVQ Negative reactive power flag updating while QF is sending out pulse TAMP Tamper instruction flag explanation If choose RMS as the judgment of anti tamper tampsel 0 when IIRms gt I2Rms 1 IChk or D Rms gt I IRms 1 1Chk the flag effects If choose active power PowerP as the judgment of anti tamper tampsel 1 when PowerP gt PowerP1 1 IChk or PowerP1 gt PowerP 1 IChk the Flag effects 0 means tamper did not happen the difference between I IRms and I2Rms is no less than the setting range of IChk or the difference between PowerP and PowerPPX range of IChk is no less than the setting I2PPXGTHP If choose RMS as judgment of anti tamper tampsel 0 means I2Rms gt I1Rms 0 means I2Rms lt I1Rms If choose Active Power PowerP as judgment of anti tamp
4. HiTrenatech http www hitrendtech com ATT7053BU User Manual 210 SD 139 ATT7053BU User Manual Hi Trend Technology Shanghai Co Ltd V0 1 1 50 Hikenatech ATT7053BU User Manual 210 SD 139 Table of Contents General Description eisni inanan aiaei na A Onani NEAN AE ANEA NAE AA NEA AAE AE AREAN ESAR AEA EAEE 5 2 Block Diagram aranean an A ee 6 Ss PINS DESCHPUON E E E N N E A A A E A T 6 3 1 PIN GCONFIGURATION 101 703n nina aa a E T 6 3 2 PIN Function DeScriptions cccccesccescceseceseceseceseceseceseceaeceaeceseceaeceaeceaeceseceaecaeceaeceaeceaeeeaeeeaeeeaeeeaeens 7 3 3 PIN stats when De TESEh aaa na NANA NANEBIMAN ALAN bandene danken LAKARAN 8 3 4 The definition of I O high or low level 111111117a 8 3 5 Electric Specification mai a GAN AAAH ANI NAN NLD deetttacks een 10 4 ATT7053BUModule Description eeceeccescceseceseceseceseceseceseceseceaeceseceaeceaeceseceaeceaeceaeceaeceaeceeseaeceaeeeaeeeaeeeaeees 11 4 1 ADC MO GUIS 2 5 cssvccavtessccavesavecascassccauteategactaasseduteavegancaasceantaavegaytaatseduteawegaxtaanssantaateaaesaantantiaancacsatys 11 4 2 VREF P rameter erroia inan A E A E E saad entapesuenesensnediesscenevensdnausessnensateueuaraacteneas 11 4 3 System power check osinean er GENESE 11 4 4 EMU module function cccccececsceesseesseeesseeessneeseneeeeseecnseecssnecseneceeaeeceseecseecseseeseaeeenseeeseaseneneeesaes 12 4 4 1 wave sampling function srrrrnrv
5. Soft reset Register SRSTREG Address 33H Bit7 6 5 4 3 2 1 BitO Read Ta SRST7 SRST 6 SRST5 SRST4 SRST3 SRST2 SRST I SRST 0 rite http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 29 50 Obikendtech ATT7053BU User Manual 210 SD 139 Reset 0 0 0 0 0 0 0 0 Note SRSTREG will reset the chip and then the register will be cleared 6 4 5 EMU configuration register EMUCFG EMUCFG Address 40H Bit15 14 13 12 11 10 9 Bit8 Read EnergyClr QMODI QMODO PMODI PMODO QSSelect Write Reset 0 0 0 0 0 0 0 0 Bit7 6 5 4 3 2 1 Bit0 Read i Zxd1 Zxd0 FLTON CHNSEL CIADD TampSel Write Reset 0 0 0 0 0 0 0 0 Bite Name Description EnergyClr Set whether the energy register would be cleared EnergyClr 1 Energy register is cleared after reading EnergyClr 0 Energy register is not cleared after reading QMOD 1 0 Reactive energy register EnergyQ accumulation mode selection the detailed configuration see form7 1 PMOD 1 0 Active energy register EnergyQ accumulation mode selection the detailed configuration see form7 1 QSSelect Reactive power apparent power output selection 0 Reactive power output I Apparent power output Zxd1 Selection for voltage zero crossing interruption the detailed see form7 3 Zxd0 Selection for volta
6. DEC filter gt General a Interface Register ly Voltage VREFO 4 gt Reference Power Clock Monitor Unit Generator DVCC AVCC CLKIN CLKOUT Figure 2 1 Block Diagram for 7053BU 3 Pins Description 3 1 PIN CONFIGURATION 1 ssop24 Three ADCs two CFs ATT7053BU 24PIN http www hitrendtech com Hi Trend Technology Shanghai Co Ltd PF QF SF SDO SDI SCLK CS TEST Test2 Reset IRQ ZX V0 1 6 50 HiTrenatech 3 2 PIN Function Descriptions ATT7053BU User Manual 210 SD 139 ATT7053BU Mnemonic Descriptions 1 DVDD Digital power supply 4 5v 5 5v 2 RST ATT7053BU reset effected in low voltage This pin is defined as default internal force pull up When above 200us low voltage the device is reset 3 VDD1P8 Digital 1 8V voltage output This pin should be connected with a luF capacitor in parallel with a ceramic 100nF capacitor 4 Test Test mode This pin should be pulled up to DVDD 5 AVCC Analog power supply input 4 5v 5 5v 6 V3P Positive input for voltage channel The maximum input signal level is 700mVp 7 V3N Negative input for voltage channel 8 V2P Positive input for current channel 2 The maximum input signal level is 700mVp 9 V2N Negative input for current channel 2 10 VIP Positive input for current channel 1 The maximum input signal level is 700mVp 11 VIN
7. 0 0 Reactive Powerl Register PowerQ1 0x0BH Reactive Power Register PowerQ1 Address OBH Bit23 22 21 20 3 2 1 Bit0 Read RP23 RP22 RP21 RP20 RP3 RP2 RPI RPO Reset 0 0 0 0 0 0 0 Apparent Power Register PowerS 0x0CH Apparent Power Register PowerS Address OCH http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 20 50 Hilrendtech ATT7053BU User Manual 210 SD 139 Bit23 22 21 20 3 2 1 Bit0 Read SP23 SP22 SP21 SP20 SP3 SP2 SP1 SPO Write Reset 0 0 0 0 0 0 0 Note All the power format are set as binary complement the msb is sign bit Parameter updated frequency is 1 9Hz Channel I power parameter PowerP1 and PowerQ1 are binary complement 24 bit data thereinto the msb is sign bit PowerS output the apparent power of Channel I or Channel 2 according to user s choice Assume the data in register is PowerP1 then the Preg for calculation is Preg PowerP1 if PowerP1 lt 2 23 Preg PowerP 1 224 if PowerP1 gt 2 23 Assume the displayed active power is P and conversion coefficiency is Kpqs then P Preg XKpqs Kpgqs is calculated when basic input The coefficient of reactive power and apparent power is equal to active power coefficient Kpqs Example When inputing 1000w active power the average value of PowerPI is 0x00C9D9 51673 then Kpqs 1000 51673 0 01935 When the value is OxFF4534 the representative power value is P Kpqs Preg 0 01
8. 1 BitO Read Adc_i2on Ade ilon Adc uon Write Reset 0 0 0 0 0 0 1 1 Bite Name Description Adc_i2on ADC switch signal of current channel I2 0 Disable 1 Enable Adc ilon ADC switch signal of current channel I1 0 Disable I Enable Adc_uon ADC switch signal of voltage channel U 0 Disable 1 Enable 6 4 9 Output pin configuration register IOCFG IOCFG Address 45H Bit15 14 13 12 11 Bit8 http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 34 50 HiTrenatech ATT7053BU User Manual 210 SD 139 Read Write Reset 0 0 0 0 0 0 0 0 Bit7 6 5 4 2 1 Bit0 Read POS IRQCFG Write Reset 0 0 0 0 0 0 0 Bite Name Description POS 0 PF QF SF active high 1 PF QF SF active low IRQCFG 0 active low 1 active high 6 4 10 Active Power calibration of channell GP1 Active Power Gain 1 Register GP1 Address 50H Bit15 14 13 12 3 2 1 Bit0 Read GPI1 15 GP1 14 GP1 13 GP1_12 GP1_3 GP1_2 GPI 1 GP1_0 Write Reset 0 0 0 0 0 0 0 Note The register is 16 bit signed the highest bit is sign bit When Power factor is 1 the calibration error is Err Pgain Err 1 Err If Pgain is positive then the GP1 written value Pgain 32768 If Pgain is negative then the GP1 written value 655
9. 2 16bit Reactive phase compensation 59H ADCCON 0000 2 12bit ADC channel gain selection SAH 5BH I2Gain 0000 2 16bit gain compensation of current channel 2 5CH I10ff 0000 2 16bit Offset calibration of current channel 1 5DH I2Off 0000 2 16bit Offset calibration of current channel 2 SEH UOff 0000 2 16bit Offset calibration of voltage channel SFH PQStart 0040 2 16bit Starting power setting 60H 61H HFConst 0040 2 15bit output pulse frequency setting 62H CHK 0010 1 8bit Tamper threshold setting 63H IPTAMP 0020 2 16bit Tamper detection value of electric basin 64H http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 26 50 HiTrenatech ATT7053BU User Manual 210 SD 139 65H PIOFFSET 00 1 8bit Channel 1 active power offset calibration parameters it is the 8bit complement 66H P2OFFSET 00 1 8bit Channel 2 active power offset calibration parameters it is the 8bit complement 67H QIOFFSET 00 1 8bit Channel 1 reactive power offset calibration parameters it is the 8bit complement 68H Q20FFSET 00 1 8bit Channel 2 reactive power offset calibration parameters it is the 8bit complement 69H IIRMSOFFSET 00 1 8bit Channel 1 RMS compensation register it is 8bit unsigned 6AH I2RMSOFFSET 00 1 8bit Channel 2 RMS compensation register it is 8bit unsigned 6BH 6CH ZCrossCurrent 0004 2 16bit Current Zero Crossing threshold register 6DH GPhs
10. Applying formula Poffset Preal EC HFCONST 2 23 Err 5 63 10 10 to calculate For example Un 220V Ib 5A EC 3200 HFCONST 0x61 Err 0 5 Preal 55 2 The error calibration of meter is near 0 when Ib 100 getting the meter error is 0 5 at point 5 of small signal The displayed ouput power Preal on standard meter is 55 2 at point 5 of small signal According to formula Poffset Preal EC HFCONST 2 23 Err 5 63410110 We can get Poffset Preal EC HFCONST 2 23 Err 5 63 10 10 55 2 3200 97 2 23 0 5 5 63 10 10 11 lt 0 Note If femu 2Mhz the above calculation formula result should divide 2 If femu 500Khz the above calculation formula result should multiply 2 Due to Poffset lt 0 so the value being written to register Ploffset is 2 8 Poffset 245 Taking the integer 245 0Xf5 Using MCU writes OXF5 into register Ploffset 65H of ATT7053 BU through SPI SSS SS SSS a rer ce http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 47 50 Oikendtech ATT7053BU User Manual 210 SD 139 Format SPI Write register address written data Actual SPI Write 0x65 0Xf5 Then the error of the standard meter should be near 0 at point 5 5 Current channel 2 gain calibration requiring on anti tampering On anti tampering it needs to compare the two channels current rms value so if the current inputting are the same then the register s value RMS of current channel 1 and 2 should
11. Negative input for current channel 1 12 VREF ADC reference voltage output the nominal value is 2 5v This pin should be externally tied to 0 1uF capacitor 13 AGND The analog ground is the ground reference for all analog circuitry 14 Test2 pull up input pin default 15 QF SF Q Pulse output Default S Pulse output 16 PF P Pulse output 17 TRQ Interrupt signal output the output is O when interruption is produced 18 SPICS SPI selection signal 19 SPIDI SPI serial data input 20 SPIDO SPI serial data output 21 SPICLK SPI serial clock this pin is floating 22 XTALI System oscillator input typical 6MHz 23 XTALO System oscillator output typical 6MHz 24 DGND This pin provides the ground reference for the digital circuitry http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 7 50 HiTrenatech 3 3 PIN status when be reset ATT7053BU User Manual 210 SD 139 24PIN Mnemonic Reset 1 1 DVDD 2 RST Input internal pull up 3 VDD1P8 4 Test Input internal pull up 5 AVCC 6 V3P 7 V3N 8 V2P 9 V2N 10 VIP 11 VIN 12 VREF 13 AGND 14 Test2 Input pin internal pull up 15 QF SF Output low voltage 16 PF Output low voltage 17 TRQ Output high voltage 18 SPICS 19 SPIDI 20 SPIDO Output high impedence 21 SPICLK Floating 22 XTALI 23 XTALO 24 DGND 3 4 The definition of I O high
12. WDTEN Write Reset 0 0 0 0 0 0 0 0 Bit7 6 5 4 3 2 1 Bit0 Read SRun QRun PRun HPFONU HPFONI2 HPFONII Write Reset 0 1 1 1 1 1 1 0 Bite Name Description AUTO Auto DC offset calibration Automatically clears when the end http www hitren dtech com Hi Trend Technology Shanghai Co Ltd V0 1 33 50 HiTrenatech ATT7053BU User Manual 210 SD 139 calibration Do not use this register when AC is working Rosi_i2_en Enable current channel 2 support Rogowski coil 0 Disable Rosi 1 Enable Rosi Rosi_il_en Enable current channel 1 support Rogowski coil 0 Disable Rosi 1 Enable Rosi WDTEN When SPI consistently being pulled down this function is enabled when customer doesn t operate SPI interface in 300ms SPI module recovers to reset status 0 the function is disabled 1 the function is enabled SRun Apparent energy accumulation enable 0 measurement disable 1 measurement enable QRun Reactive energy accumulation enable 0 measurement disable 1 measurement enable PRun Active energy accumulation enable 0 measurement disable 1 measurement enable HPFONU Voltage channel HPF switch 0 Disable 1 Enable HPFONI2 Current channel 2 HPF switch 0 Disable 1 Enable HPFONII Voltage channell HPF switch 0 Disable 1 Enable 6 4 8 ADC switch register ANAEN Analog Enable Register ANAEN Address 43H Bit7 6 5 4 3 2
13. be the same Calibrating the register I2GAIN through the gain of current channel 2 in the situation that they are same to be input current the two registers value can be kept consistent Assuming they are same to be input the rated current the RMS register of current channell displays Ilrms the RMS register of current channel2 displays I2rms then Gain I Irms I2rms 1 If Gain gt 0 then I2Gain Gain 2 15 If Gain lt 0 then I2Gain Gain 2 15 2 16 For example Reading RMS register RMS I1 06H and RMS register RMS 12 07H of their each current channel when the two channels are both input current signal RMS I1 0x03BA55 RMS I2 0x025A76 According to formula Gain I Irms I2rms 1 0x03BA55 0x025A76 1 244309 154230 1 0 584 Due to Gain gt 0 I2Gain 0 58442115 0x4AC2 Using MCU writes 0X4AC2 into register I2Gain SBH of ATT7053 BU through SPI Format SPI Write register address written data Actual SPI Write 0x5B 0x4AC2 Reading the current RMS I Irms and I2rms after being written they are should be very close 6 The channel 2 gain and phase calibration The channel 2 gain and phase calibration are the same as the channel 1 s 7 IRMS gain URMS gain and two channels power gain transfer factor calibration These parameters do not have the related register they are can be get through calculating that is required by user For example In the case of current channel s RMS current channell standard meter outputs 5A curren
14. 1 0000 2 16bit Phase calibration of channel 1 PQ method 6EH GPhs2 0000 2 16bit Phase calibration of channel 2 PQ method 6FH PFCnt 0000 2 16bit Fast active pulse count 70H QFCnt 0000 2 16bit Fast reactive pulse count 71H SFCnt 0000 2 16bit Fast apparent pulse count 6 4 Calibration Register Explain 6 4 1 EMUIE Interrupt Enable Register EMUIE EMU Interrupt Enable Register EMUIE Address 30H Bit15 14 13 12 10 9 Bit8 Read PRms CZCROS2 IE CZCROSI IE PEOFIE QEOFIE SEOFIE Write UpdatesIE Reset 0 0 0 0 0 0 0 Bit7 6 5 4 2 1 Bit0 Read TampIE PFIE QFIE SFIE SPLIE ZXIE SPIWrongIE Write Reset 0 0 0 0 0 0 0 Bite Name Description http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 27 50 HiTrenatech ATT7053BU User Manual 210 SD 139 CZCROS2_IE Zero Crossing interrupt enable for current channel 2 0 disabled 1 Enable CZCROS1_IE Zero Crossing interrupt enable for current channel 1 0 disabled 1 Enable PRms UpdatesIE Power register RMS register updates interruption enable 0 disabled 1 Enable PEOFIE Active Power Interrupt Enable 0 disabled 1 Enable QEOFIE Reactive energy overflow interrupt enable 0 disabled 1 Enable SEOFIE Apparent power overflow interrupt enable 0 disabled 1 Enable TampIE Tamper interrupt enable 0 disabled 1
15. 1 V Release volta 4 2 V Rising 4 4 EMU module function 4 4 1 wave sampling function 1 Support three ADC channels sampling data output Current Voltage signal SPLIL SPLI2 SPLU 4 4 2 Power RMS Frequency 1 Support RMS measurement of three ADCs support RMS offset calibration of two current channel Voltage sampling data Voltage sampling data Current 5 ling dat sampling data Current RMS HRMSJIRMS Current sampling data 2 Support two channel active reactive apparent power measurement and two channel small signal power offset calibration at SS JE DEE EE EEE EEE En EE EE http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 12 50 ObiTrendtech ATT7053BU User Manual 210 SD 139 Voltage sampling data Active Active power i gain Active power offset Current correction amp p correction sampling data ase correction PIOFFSET P2OFFSET GPL GP2 amp phase shift filter PowerP1 oltage r GPHS1 GPHS2 sampling data Reactive Reactive Power nh cactive power offset aao hire mig ct Current coerectiondt ph correctvon PowerQ1 p 2 s correc FSET Q2OFFSET sauap ilng data asecorrecbon QIOFFSET Q2OFFSET GOVGO2 amp GPHSI GPHS2 KQPhsCal 3 Support voltage frequency measurement Voltage z Frequence sampling data data UFREQ Over Zero Calculate circl
16. 11823 11822 11821 I1820 I183 TIS2 ISI ISO Reset 0 0 0 0 0 0 Current 2 Rms Register 12Rms Address 07H Bit23 22 21 20 3 2 1 Bit0 Read 12823 12822 12821 12820 12S3 1282 1281 12S0 Write Reset Voltage Rms Register Urms Address 08H http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 19 50 ObiTrendtech ATT7053BU User Manual 210 SD 139 Bit23 22 21 20 3 2 1 Bit0 Read US23 US22 US21 US20 US3 US2 USI USO Write Reset 0 0 0 0 0 0 0 Note RMS value is 24 bit unsigned data its highest bit is always set as 0 The parameter updating frequency is 1 9Hz EMU clock frequency is 1M 6 2 3 Voltage frequency measurement Voltage Frequency Address 09H Register UFREQ Bit15 14 13 12 3 2 1 Bit0 Read Ufreq15 Ufreq14 Ufreq13 Ufreq12 Ufreq3 Ufreq2 Ufreql Ufreq0 Reset 1 1 1 1 1 1 1 Frequency is 16 bit unsigned data Frequency CLKIN 6 2 UFREQ E g if system clock CLKIN select to be 6MHz EMU clock select to be 1M register UFREQ 10000 then the measured real frequency is f 6M 6 2 10000 50Hz 6 2 4 Power parameter output PowerP1 PowerQ1 PowerS Active Power Register PowerP1 Address NAH Bit23 22 21 20 3 2 1 Bit0 Read AP23 AP22 AP21 AP20 AP3 AP2 API APO Write Reset 0 0 0 0 0
17. 36 Pgain 32768 6 4 11 Reactive Power calibration of channell GQ1 Reactive Power Gain Register GQ1 Address 51H Bit15 14 13 12 3 2 1 Bit0 Read GQI 15 GQI 14 GQI 13 GQI 12 GQ1 3 GQI 2 GQI 1 GQI 0 Write Reset 0 0 0 0 0 0 0 Note 16 bit signed the highest bit is sign bit The written value of GOI is the same as GPI in calibration http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 35 50 HiTrenatech 6 4 12 Apparent Power calibration of channell GS1 Apparent Power Gain 1 Address 52H Register GS1 Bit15 14 13 12 3 2 1 Bit0 Read GSI 15 GS1 14 GSI 13 GS1_12 GS1_3 GS1_2 GSI 1 GS1_0 Write Reset 0 0 0 0 0 0 0 Note 16 bit signed the highest bit is sign bit The written value of GS is the same as GPI in calibration 6 4 13 Active Power calibration of channel2 GP2 Active Power Gain 2 Register GP2 Address 54H Bit15 14 13 12 3 2 1 Bit0 Read GP2 15 GP2 14 GP2 13 GP2 12 GP2 3 GP2 2 GP2 1 GP2 0 Write Reset 0 0 0 0 0 0 0 Note The formula is the same as the GPI 6 4 14 Reactive Power calibration of channel2 GQ2 Reactive Power Gain 2 Address 55H Register GQ2 Bit15 14 13 12 3 2 1 Bit0 Read GQ2 15 GQ2 14 GQ2 13 GQ2 12 GQ2 3 GQ2 2 GQ2 1 GQ2 0 Write Reset 0 0 0 0 0 0 0 Note The written value of G
18. 935 47820 925 3 w Preg PowerP1 2 24 47820 6 2 5 Energy parameter output EnergyP EnergyQ EnergyS Active Energy Register EnergyP 0x0DH Active Energy Register EnergyP Address ODH Bit23 22 21 20 3 2 1 Bit0 Read EP23 EP22 EP21 EP20 EP3 EP2 EPI EPO Write Reset 0 0 0 0 0 0 0 Note This energy accumulated register default configuration is set to non cleaning O after reading It can be allocated to cleaning 0 by register EMUCFG13 EnergyClr The energy minimum unit of the register is 1 EC kWh Reactive Energy Register EnergyQ 0x0EH Reactive Energy Register EnergyQ Address OEH Bit23 22 21 20 3 2 1 Bit0 Read EQ23 EQ22 EQ21 EQ20 EQ3 EQ2 EQI EQO http www hitrendtech com Hi Trend Technology Shanghai Co Ltd 21 50 Hilrendtech ATT7053BU User Manual 210 SD 139 Reset 0 0 0 0 0 0 0 Note This energy accumulated register default config is set to non cleaning O after reading It can be allocated to cleaning 0 by register EMUCFG13 EnergyClr The energy minimum unit of the register is 1 EC kWh Apparent Energy Register EnergyS 0x0FH Apparent Energy Register EnergyS Address OFH Bit23 22 21 20 3 2 1 Bit0 Read ES23 ES22 ES21 ES20 ES3 ES2 ES1 ESO Write Reset 0 0 0 0 0 0 0 N
19. Addres 5BH Bit15 14 13 12 3 2 1 BitO Read I2G15 12614 12613 12G612 12G3 DG2 I2G1 12G0 Write Reset 0 0 0 0 0 0 0 Note The register is in binary complement form the highest bit is character bit http www hitrendtech com Hi Trend Technology Shanghai Co Ltd VO 1 38 50 Oikendtech ATT7053BU User Manual 210 SD 139 Calibrate the output value of the two way current RMS to be consistent when the input is the same 6 4 19 AC offset calibration register of current channell Current 1 Offset Register I1Off Address 5CH Bit15 14 13 12 3 2 1 Bit0 Read I1OS15 I1OS14 110813 I10812 11083 11082 I1OS1 110850 Write Reset 0 0 0 0 0 0 0 Note Use it under the situation when HFP is closed When the input channel signal is 0 we can get the values of I1Off I2Off UOff registers through automatically calculating AUTODC Users can obtain these values and save them In later AUTODC function is not used and user just need to re write the last stored values of110ff 120ff UOff registers in the case of disabling high pass filter 6 4 20 DC offset calibration register of current channel2 120ff Current 2 Offset Register I2Off Address 5DH Bit15 14 13 12 3 2 1 Bit0 Read 120815 DOS14 DOS13 120812 12083 12082 I20S1 I20S0 Write Reset 0 0 0 0 0 0 0 6 421 DC offset c
20. Code8 Write Reset 0 1 0 1 0 0 1 1 Bit7 6 5 4 3 2 1 Bit0 Read Code7 Code6 Code5 Code4 Code3 Code2 Codel Code0 Write Reset 1 0 1 1 0 0 0 0 Note The register default value is HEX data ATT7053B0 SS AA a eer EE http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 25 50 HiTrenatech ATT7053BU User Manual 210 SD 139 6 3 Measurement Parameter Registers List Adress Reset Bit Byte i o Name Function description ECADR length length 30H EMUIE 0000 2 15bit EMU INTREN 31H EMUIF 8000 2 16bit EMU IFR 32H WPREG 00 1 8bit Writing protecting register 33H SRSTREG 00 1 8bit Software resetting register 40H EMUCFG 0000 2 15bit EMU configuration register 41H FreqCFG 0088 2 9bit Clock Updated frequency configuration register 42H ModuleEn 007E 2 14bit EMU module enable register 43H ANAEN 0003 1 7bit ADC switch register 44H 45H IOCFG 0000 2 10bit IO output configuration register 50H GP1 0000 2 16bit Active power calibration of channel I 51H GQI 0000 2 16bit Reactive power calibration of channel1l 52H GSI 0000 2 16bit Apparent power calibration of channel 53H 54H GP2 0000 2 16bit Active power calibration of channel2 55H GQ2 0000 2 16bit Reactive power calibration of channel2 56H GS2 0000 2 16bit Apparent power calibration of channel2 57H 58H QPhsCal FF00
21. ET Address 65H http www hitrendtech com Hi Trend Technology Shanghai Co Ltd VO 1 41 50 HiTrenatech ATT7053BU User Manual 210 SD 139 Bit7 6 5 4 3 2 1 Bito Read PIOFF7 P1OFF6 P1OFF5 P1OFF4 P1OFF3 PIOFF2 PIOFFI PIOFFO Write Reset 0 0 0 0 0 0 0 0 Note The register adopts binary complement format Aligned PIOFFSET with low 8 bits of 24 bit register PowerPI 6 4 27 Small signal active Power calibration of channel2 P20FFSET Power offset2 P2OFFSET Address 66H Bit7 6 5 4 3 2 1 Bito Read P2OFF7 P2OFF6 P2OFF5 P2OFF4 P2OFF3 P2OFF2 P20FF1 P2OFFO Write Reset 0 0 0 0 0 0 0 0 Note The register adopts binary complement format Aligned P2OFFSET with low 8 bits of 24 bit register PowerP2 PS P offset calibration method please see the step4 of the process of calibrating recommendation 6 4 28 Small signal reactive Power calibration of channell QIOF FSET Reactive Power offset QI1OFFSET Address 67H Bit7 6 5 4 3 2 1 Bito Read QIOFF7 QIOFF6 QIOFF5 QIOFF4 QIOFF3 QIOFF2 QIOFF1 QIOFFO Write Reset 0 0 0 0 0 0 0 0 Note The register adopts binary complement format Aligned QIOFFSET with low 8 bits of 24 bit register PowerQ1 6 4 29 Small signal reactive Power calibration of channel2 Q2OF FSET Reactive Poweroffset Q2OFFSET Address 68H B
22. Enable PFIE Active power pulse interrupt enable 0 disabled 1 Enable QFIE Reactive pulse interrupt enable 0 disabled 1 Enable SFIE Apparent Pulse Interrupt Enable 0 disabled 1 Enable SPLIE Update interrupt waveform register enable 0 disabled 1 Enable ZXIE Zero Crossing voltage interrupt enable 0 disabled 1 Enable SPI WronglE SPI communication error interrupt enable 6 4 2 EMU Interrupt Flag Register EMU Interrupt Flag Register EMUIF Address 31H Bit15 14 13 12 11 10 9 Bit8 Read PRms RSTIF CZCROS2 IF CZCROSI IF PEOFIF QEOFIF SEOFIF Write UpdatesIF Reset 0 0 0 0 0 0 0 0 Bit7 6 5 4 3 2 1 Bit0 Read TampIF PFIF QFIF SFIF SPLIF ZXIF SPIWrongIF Write x x x X x X EG x Reset 0 0 0 0 0 0 0 0 Bite Name Description RSTIF Device reset flag it is set clears after reading CZCROS2_IF positive zero crossing interrupt flag of Current Channel 2 clears after reading CZCROS1_IF Zero Crossing interrupt flag for current channel 1 clears after reading PRms UpdatesIE Update interrupt flag for power register and RMS register clears http www hitrendtech com Hi Trend Technology Shanghai Co Ltd 28 50 V0 1 HiTrenatech ATT7053BU User Manual 210 SD 139 after reading PEOFIF Active power register overflows the flag is set clears after reading QEOFIF Reactive pow
23. H SUMChecksum 3 Calibration Parameter Checksum Register 19H EMUSR 1 EMU Status Register 1AH SYSSTA 1 System Status Register 1BH Reserved 3 Device ID default value ATT7053B0 6 2 Measurement Parameter Registers Explain 6 2 1 ADC waveform register SPLI1 SPLI2 SPLU http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 18 50 Hilrendtech ATT7053BU User Manual 210 SD 139 Current 1 wave Register SPLI1 Address OOH Bit18 17 16 15 3 2 1 Bit0 Read SPLI118 SPLI117 SPLI116 SPLI115 SPLI13 SPLI12 SPLITT SPLI10 Write Reset Current 2 wave Register SPLI2 Address 01H Bit18 17 16 15 3 2 1 Bit0 Read SPLI218 SPLI217 SPLI216 SPLI215 SPLI23 SPLI22 SPLI21 SPLI20 Reset 0 0 0 0 0 0 Voltage wave Register SPLU Address 02H Bit18 17 16 15 3 2 1 Bit0 Read SPLU18 SPLU17 SPLU16 SPLU15 SPLU3 SPLU2 SPLU1 SPLUO Write Reset Note The update speed of waveform register is controlled by 3bit of time configuration register FreqCFG 2 0 these 3 registers have 19 effected bit bitl8 is flag bit and this flag bit is extend to 24bits In other words bitt 1 8 bit23 are all the flag bits of the reading data from SPI 6 2 2 RMS value output TIRms I2Rms URms Current 1 Rms Register I1Rms Address 06H Bit23 22 21 20 3 2 1 Bit0 Read
24. Interrupt Enable Register EMUIE srvrrnrvvrnnvvnnnvvrnnnvrrnnvernnvvrennvrennrrrsnrersnneresnerssnssrnser 27 6 4 2 EMU Interrupt Flag Register c cecccesccssccesscesecesecesecesecesecesecenecenecececenecceceseceneceseceneseneceneennenes 28 6 4 3 Written protect Register WPCFG s srrrrnnnrnnvvrnnvvrnnnvrnnnrernnrerenverennrrsnnersnnrersnrsrsnnerennsrsnnessnnsssnnsee 29 6 4 4 Soft reset Register SRSTREG naaa AG BABA 29 6 4 5 EMU configuration register EMUCEFG ccccsccesscesseeseeeseceseceseceseceseceaeceaeceseceaeceaeseaeeeaeenaeeeaeees 30 6 4 6 Clock configuration register Freq CFG ccccccscccssscsesseeseeeseeeeeeeeeeeensneeseseeseaeeeseeeseeeensaeeenaes 32 6 4 7 Module Control Register ModuleEn rrrnrrrrnnvnrnnvennnnvnnnvvrnnnrrrnnvvrennrrennrrennrrrsnversnnerennsrsnnssrsnsee 33 6 4 8 ADC switch register ANAEN rennrenvonnnnnnrnnnnrnnrennrennrernsrnnsennesnnssnnesrnsernssrnssrnsrrnssrnssrnsnnesnrnennee 34 6 4 9 Output pin configuration register TOCFG rrrrrrnnvrrnnvvnnnvvrnnvrrrnnvrrenvrrenvrrrnvrrrsnrersnrsrennersnnssrsnnne 34 6 4 10 Active Power calibration of chanel GP1 mseemrersresesrenrnvenenesnenenreneneenenessenensssenssnesesnsne 35 6 4 11 Reactive Power calibration of channel GOL mmmrenvrnernerrenvrnernerrennrververvenreverververnensevernenr 35 6 4 12 Apparent Power calibration of channel GS1 viccccccsssessssesseseeseesesseseeseesesesseeseeeeseeseeseeeeeees 36 6 4 13 Active Power calibration of ch
25. KN E A E E Ea A R a E AAA E AAAA EE EEE EENE 50 4 50 HiTrenatech ATT7053BU User Manual 210 SD 139 1 General Description The ATT7053BU is a single phase multi function energy measurement chip with SPI serial interface Wide supply voltage operation 4 5V 5 5V Recommends 6MHz crystal oscillator Feature Three 19 bit sigma delta ADCs Over Dynamic range of 3000 1 Supply active power and reactive power of two channels simultaneously Support active reactive apparent power measurement and energy pulse output Simultaneously supply RMS measurement of three ADC channels and the frequency of voltage channel Support SPI communication manner Support zero crossing interrupt sampling interrupt energy pulse interrupt and calibration interrupt Less than 4 5 mA current supply in normal mode less than 2mA current supply in burglar proof electricity and voltage depreciation mode Support the power supply monitoring and battery monitoring e LBOR SSOP 24 ATT7053BU SS SSS a Es EE http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 5 50 Hitrenatech ATT7053BU User Manual 210 SD 139 2 Block Diagram VIN gt 2 Q gt 2 ADC gt DEC filter gt Pulse VIN Pe output ILIN _ gt 2 IIIN o p 2 ADC DEC filter pp EMU I2IN gt 7 IN o gt 2 ADC gt
26. Q2 is the same as GP2 in calibration http www hitrendtech com Hi Trend Technology Shanghai Co Ltd ATT7053BU User Manual 210 SD 139 V0 1 36 50 Obilendtech ATT7053BU User Manual 210 SD 139 6 4 15 Apparent Power calibration of channell GS2 Apparent Power Gain 2 Address 56H Register GS2 Bit15 14 13 12 3 2 1 Bit0 Read GS2 15 GS2 14 GS2 13 GS2 12 GS2 3 GS2 2 GS2_1 GS2_0 Write Reset 0 0 0 0 0 0 0 Note The written value of GS2 is the same as GP2 in calibration 6 4 16 Reactive Phase calibration Phasel Phase Calibration 1 Address 53H Register Phase1 Bit7 6 5 4 3 2 1 Bit0 Read Phase 1_7 Phase 1_6 Phase 1_5 Phasel_4 Phase 1_3 Phasel_2 Phase 1_1 Phase 1_0 Write Reset 0 0 0 0 0 0 0 0 Note The register is in binary complement form the highest bit is sign bit The default value of the register is FFOOH Default value corresponds to the case when femu IM it is no need to calibration under 50Hz signal frequency It is need to calibrate according to below formula Reactive power0 5L calibrates when the U and I angle is 30 degree power Q error value is Err OphasCal calculation formula is as below Result Err 32768 1 732 256 If Result is positive then QOphsCal Result If Result is negative then QphsCal 65536 Result 6 4 17 ADC Channel Gain Register ADC 18348425 ADCCON
27. T at the rising edge of SCLK and sample the data of the DIN to the ATT7053BU at the falling edge of the SCLK Command Data a i i http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 15 50 Oirendtech ATT7053BU User Manual 210 SD 139 SPI writing timing 5 5 The example of ATT7053BU SPI communication Instructing the read write bit of the register to be O when reading the register Instructing the read write bit of the register to be 1 when writing the register For example If the customer want to read form register EMUIE 30H it should be sent the data as below CS I CLK I I I I I I I I I I I I nor t flg HO HR DOUT Na l 244 hi P ER A T as ig ETE NU If the customer want to write into register EMUIE 30H it should be sent the data as below CLK ol I I Bi 23 Bito DIN I 1 I I Ng apos pes na ug th np pty I I BABAY Bt I I l l l l l l l I SS AS JE En a eer ET http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 16 50 ObiTrendtech ATT7053BU User Manu
28. ain gt 0 then GP1 0 022 2 15 0x02DA Using MCU writes 0x02DA into register GP1 50H GQ1 51H GS1 52H of ATT7053 BU through SPI SS SS SSS EE JE En EE EE http www hitrendtech com Hi Trend Technology Shanghai Co Ltd VO 1 46 50 ObiTrendtech ATT7053BU User Manual 210 SD 139 Format SPI Write register address written data Actual SPI Write 0x50 0x02DA GP1 SPI Write 0x51 0x02DA GQI SPI Write 0x52 0x02DA GS1 Then the display error of the standard meter should be near 0 3 Phase calibration of channel 1 Process phase compensation after gain is calibrated STEP 2 Calibrating when power factor is 0 5L Known The displayed error on standard meter at 0 5L is err Processing Phase calibration of register Gphs1 6DH which is using PQ mode According to the compensation formula err 1 732 0 00323 Dueto 00 Gphs1 2 16 0 00323 2 15 0xFF96 Using MCU writes 0x02DA into register Gphs1 6DH of ATT7053 BU through SPI Format SPI Write register address written data Actual SPI Write 0x6D Oxff96 Then the displayed error of the standard meter should be near 0 4 Poffset calibration small signal active power calibration After step 1 2 3 when Ib 100 the meter error is calibrated near to 0 Observing and getting the meter error Err at the point x Ib 5 2 of the small signal Point x Ib reads the active power value Preal which outputs from the standard meter under impendence status
29. al 210 SD 139 5 6 ATT7053BU communication interface error definition 1 Ifthe CS signal was pulled up in communication a corresponding error flags will be given simultaneously the SPIWronglIE will be set and be released through the IRQ 2 If the written data is less than 24 bytes the result is invalid and an error flag will be given 3 Setting 8bit 1byte as lunit So CS is pulled up once after customer only write into Ibyte 4bits data it will cause write into fault and show the error flag If customer only give Ibyte 4bits clock then want to read and get the register data it will cause read amp write fault and show the error flag at the same time 4 All error flags can generate IRQ to inform master Register enable controls whether to issue the interrupt and simultaneously this error will not affect the next data transfer 5 7 ATT7051A 53A 59 checksum 1 BCKREG Save the last BUFF data values in SPI communication 2 ComChecksum The check of SPI transmit data frames and the read of register will result in the recalculation of the checksum register 3 In communication user can select one of the two register BCKREG and ComChecksum 4 SumChecksum Accumulate all the calibration registers and the result will be put into the 3 byte SumChecksum This registers updates in fixed time so users can judge error by check ing the data of the register 5 8 ATT7053BU SPI I O status 1 In normal mode the SPIDO pin is high imp
30. alibration register of voltage channel UOff Voltage Offset Register UOff Address 5EH Bit15 14 13 12 3 2 1 Bit0 Read UOS15 UOS14 UOS13 UOS12 UOS3 UOS2 UOS1 UOSO Write Reset 0 0 0 0 0 0 0 Note The minimum unit is identical with the minimum unit of the ADC output 16 bit data Offset calibration is only active when high pass filter is disenabled I1 12 U is need to disabled with high pass filter together otherwise it will cause phase error http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 39 50 Obilendtech ATT7053BU User Manual 210 SD 139 6 4 22 No load startup Setup Start Power Threshold Setup Address 5FH Register PQStart Bit15 14 13 12 7 6 5 2 1 Bit0 Read PQS15 PQS 14 PQS 13 PQS12 PQS7 PQS 6 PQS 5 PQS 2 PQS 1 PQS 0 Write Reset 0 0 0 0 1 0 0 0 Note POStart is 16 bits unsigned data The low 16 bit of the absolute value of P O PowerP 0x0AH PowerQ 0x0BH 24 bit signed compare with POStart 15 0 P lt POStart PF does not output pulse O lt POsStart OF does not output pulse P amp O lt POStart SF does not output pulse Application 1 Input Ib Un after calibration 2 Read the 24bit complement x1of PowerP value get the original code x2 3 Setting the written POStart value is Y if the required input for starting is 0 4 Ib then Y x2 0 2 6 4 23 Pulse Frequency setting reg
31. anghai Co Ltd V0 1 50 50
32. annel2 GP2 ccceccscssssssssssssevsesesseseseeseseseeseseeseseeseseseesesseeesees 36 6 4 14 Reactive Power calibration of channel2 GQ2 ciscccssecssssssssssesesseseseesesesseseseeseseeseseeeseseeeeaees 36 6 4 15 Apparent Power calibration of channel GS2 ul 37 6 4 16 Reactive Phase calibration Phasel iccccsccscsssesssssssesseseesesseseeseeseecseesenseseseeseeseeeseessenseeeenees 37 6 4 17 ADC Channel Gain Register ADC IKIM i ADCCON nananana 37 6 4 18 Gain of current channel2 I2Gain ecccecccescceseceseceecesecesecenecenecenecececnecececesesneceaeceneceneceneeeneeaes 38 6 4 19 AC offset calibration register of current channell ssrrrnnrrrnrronnvnrnnrnrnnvnrnnvvrenverennrrrnrrersnverenneren 39 6 4 20 DC offset calibration register of current Channel2 I2Off sorernrrrnnrnnnrnnnnnnnnnnnnnnnrnnnrnnnrnnnennne 39 6 4 21 DC offset calibration register of voltage channel UOff mmsmesrrsrrsernrrrenrrsersersrsrrserrserser 39 6 4 22 No load startup Setup ssrronnronnnonnnvnnnvnnnrnnnrnnvrrnrrnnrrrererneererrnnernessneesrnsrasenessressressnesnnsnesnnnennee 40 6 4 23 Pulse Frequency setting register HFCOnst srrrnnnrnnnvnnnnvvrnnvvrnnvrrenvrrrnrrrrnnverenrerenvrrsrrrrsnrersnneren 40 6 4 24 Tampering threshold value P or IRMS range setting up among channels Chk 40 6 4 25 Tampering detecting threshold value P or IRMS setting IPTAMP msrnrnnnrnnnrnnrnnnrvnnevnnrvnnennne 41 6 4 26 Small signal ac
33. ch according to the channels power to automatic measure according to anti tamper channel Chanelstatus 0 0 0 0 Select channel 1 for measurement 0 0 1 1 Select channel 2 for measurement 0 1 x 0 Single phase three wire mode Form 7 4 6 4 6 Clock configuration register FreqCFG FreqCFG Address 41H Bit15 14 13 12 u 10 9 Bit8 Read CFPI Write Reset 0 0 0 0 0 0 0 0 Bit7 6 5 4 3 2 1 Bit0 Read CFPO Emuelk ctrll Emuelk ctrl0 SPL2 SPLI SPLO Write Reset 1 0 0 0 1 0 0 0 Bite Name Description SPL 2 0 Sampling rate selection for ADC waveform register the detailed see form 7 6 Emuclk_Ctrl1 Emuclk_Ctrl0 EMU clock frequency 32 50 J Hilrendtech AU ATT7053BU User Manual 210 SD 139 0 2M 1 1M X 1M Form 7 5 SPL2 SPL1 SPLO Waveform sampling frequency EMU clock frequency 1M 0 0 0 0 976k Hz femu 1024 0 0 1 1 953k Hz femu 512 0 1 0 3 906k Hz femu 256 0 1 1 7 812k Hz femu 128 1 x Xx 15 62k Hz femu 64 K7 6 EMU clock frequency 2M CFP 1 0 00 01 10 11 Pulse width 90ms 90 2 45ms 90 4 22 5ms 90 8 11 25ms EMU clock frequency 1M CFP 1 0 00 01 10 11 Pulse width 180ms 180 2 90ms 180 4 45ms 180 8 22 5ms 6 4 7 Module Control Register ModuleEn ModuleEn Address 42H Bit15 14 13 12 11 10 9 Bit8 Read AUTO Rosi_i2_en Rosi il en
34. e Testing points 4 4 3 Power Rapid pulse 1 Support active reactive apparent power pulse output 2 Support active reactive apparent rapid pulse to read write Pulse Power data output Rapid pulse Pulse register Generator PFCNT QFCNT SFCNT Energe register SSS ETS http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 13 50 HiTrenatech ATT7053BU User Manual 210 SD 139 44 4 EMU state instruction 4 4 5 Current channel 2 gain calibration This register makes the current RMS of the two channels keep consistent because the outside of the two channels can not be utterly same 4 4 6 Interruption output Support the sign of the interruption to output by IRQ pin 5 SPI communication function 5 1 General description The definition of the SPI interface is the same as the standard SPI interface 5 2 ATT7053BU SPI interface introduction 1 SPIDI Serial data receiving pin 2 SPIDO Serial data sending pin 3 SPICLK Serial clock pin It decides the data input or output transfer speed of the SPI Sending data when at the rising edge receiving data at the falling edge Latch the data of register in DOUT at the rising edge of SCLK and sample the data of the DIN to the ATT7053BU at the falling edge of the SCLK 4 SPICS As the select signal of the ATT7053BU it is effected when the power is low Customer can start or terminate the SPI one time transmission by the SPICS s h
35. endence state and the SPIDI pin is input state when ATT7053BU is not be slaved 2 When ATT7053BU goes to Reset the output pin SPIDO is in high impedence state and the input pins SPIDI SPICLK SPICSCS are in input state 5 9 Communication CS pull down mode CS be keeping in pull down mode and CS be in pull up amp pull down mode are the same on time sequence ee SSS SS SSS a EE EE http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 17 50 HiTrenatech 6 Register function ATT7053BU User Manual 210 SD 139 6 1 Measurement Parameter Registers List Table 6 1 EPR register listt Read Only Adress Bit l T Name Function description length 00H Spl I1 3 ADC sample data of current channel 1 01H Spl 2 3 ADC sample data of current channel 2 02H Spl U 3 ADC sample data of voltage channel 06H Rms Il 3 Rms value of current channel 1 07H Rms 2 3 Rms value of current channel 2 08H Rms U 3 Rms value of voltage channel 09H Freq_U 2 Voltage frequency OAH PowerP I 3 Activer power of channel I OBH PowerQ1 3 Reactive power of channel 1 OCH Power S 3 Aparrent power ODH Energy P 3 Active energy OEH Energy Q 3 Reactive energy OFH Energy S 3 Aparrent energy 10H PowerP2 3 Activer power of channel 2 11H PowerQ2 3 Reactive power of channel 2 16H BackupData 3 Communications data backup registers 17H COMChecksum 3 Communications Checksum Register 18
36. er tampsel 1 means PowerPPX 5 PowerP 0 means PowerPPX lt PowerP 6 2 11 System Status Register SYSSTA System status Register SYSSTA Address 1AH Bit7 6 5 4 3 2 1 Bit0 Read TEST RST E RST LBOR WREN Write X X X X X X X X Reset 0 0 0 0 0 0 1 0 http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 24 50 Oikendtech ATT7053BU User Manual 210 SD 139 Bite Name Description TEST RST If TEST pin changes cause device resets then the flag is setting cleaning O after reading E RST If RESET pin changes cause device resets then the flag is setting cleaning 0 after reading LBOR If system power falls cause device resets then the flag is setting cleaning 0 after reading WREN Capable writing flag 0 means capable writing is closed 1 means writing enable is open Note BOR resetting is owing the highest priority LBOR s resetting will cause TEST RST and E_RST flag to clean 0 but conversely TEST RST s and E RSTS working will not cause LBOR flag to clear 0 The flag only clear 0 after reading 6 2 12 Device IDCode IDCode Address 1BH Bit23 22 21 20 19 18 17 Bit16 Read Code23 Code22 Code21 Code20 Code19 Code18 Code17 Code16 Write Reset 0 1 1 1 0 0 0 0 Bit15 14 13 12 11 10 9 Bit8 Read Code15 Codel4 Code13 Code12 Codel I Code10 Code9
37. er register overflows the flag is set clears after reading SEOFIF Apparent power register overflows the flag is set clears after reading TampIF Tamper occurs the flag is set clears after reading PFIF PF sends pulse the flag is set clears after reading QFIF QF sends pulse the flag is set clears after reading SFIF QF sends pulse the flag is set clears after reading SPLIF Waveform register updates the flag is set clears after reading ZXIF Voltage overflows the flag is set clears after reading SPI WrongIF SPI communication error interruption signal flag clears after reading 6 4 3 Written protect Register WPCFG Written protect Register WPCFG Address 32H Bit7 6 5 4 3 2 1 Bit0 Read i WPCFG7 WPCFG6 WPCFG5 WPCFG4 WPCFG3 WPCFG2 WPCFGI1 WPCFG0 Write Reset 0 0 0 0 0 0 0 0 Note WPCFG 0xA6 Written protect enabled only operate 50H to 71H of calibration parameter register but can not operate 40H to 45H of calibration parameter register WPCFG 0xBC Written protect enabled only operate 40H to 45H of calibration parameter register but can not operate 50H to 71H of calibration parameter register WPCFG other values Written protect disabled invalidly operate to calibration parameter register As long as the register WPCFG value does not change Written protect will be continuously effectively after being enabled 6 4 4 Soft reset Register SRSTREG
38. f voltage channel pin voltage X PGA gain under rated voltage inputting Vi voltage of current channel pin voltage X PGA gain under rated current inputting Un rated input voltage Ib rated input current EC meter constant If femu is set as other values then HFConst s value alters proportionally For example EC is set as 3200 the power factor is 1 Un 220V Ib 5A Vu 0 22V Vi 1 75mV Igain 16 Vi 16 28mV According to the formula HFConst 6 24 Vu Vi 10 10 EC Un Ib we can get HFConst 6 24 0 22 0 028 10 10 3200 220 5 0x006D Using MCU writes 0x006D into HFCONST 61H of ATT7053 through SPI Format SPI Write register address write data Actual SPI Write 0x61 0x006D Then the error shown on the standard meter should be within 10 after writing 2 Active reactive and apparent gain calibration of channel Only calculates in terms of active power when the rated input and power factor is 1 Generally the active power gain reactive power gain and apparent power gain are be written to the same value Known The displayed error on standard meter is err Calculation formula err Pgain l err If Pgain gt 0 then GP1 INT Pgain 215 Or else Pgain lt 0 then GP1 INT 216 Pgain 215 For example EC is set as 3200 the power factor is 1 the displayed error on the meter is 2 18 after HFCONST calibration of step1 According to the formula Pgain 2 18 1 2 18 0 022 Due to Pg
39. ge zero crossing interruption the detailed see form7 3 FLTON Anti tamper module switch the detailed see form7 5 FLTON 0 Anti tamper disabled FLTON 0 Anti tamer enabled CHNSEL Select channel for measure the detailed see form7 5 CHNSEL 0 select channel 1 for measure 1 select channel for measure CIADD Single phase three wire accumulation mode selection SS SS Sy ppr p gt a rer FST http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 30 50 HiTrenatech CIADD 0 single channel mode 1 current summation mode TampSel Anti tample selection Tampsel 0 Select the current RMS as the judgment for anti tamper Tampsel 1 Select the power as the judgment for anti tamper Note ATT7053BU User Manual 210 SD 139 In the mode of current accumulation every channel use its own calibration parameter data power accumulation mode is fixed as absolute value accumulation mode When FLTON 1 the anti tamper mode is enable CIADD can read and write but it is invalid Only when FLTON 0 CIADD can validly read and write QMOD1 QMODO Reactive power accumulation mode 0 0 Accumulating the power according to the mode of algebra summation when calculating energy Only accumulating the positive power but not accumulating the negative power when calculating the energy Accumulating the power according to the absolute value mode when calculating the energy
40. he 3 bytes represent high medium and low byte of the data 6 2 8 Communication checksum register Ccheck ComChecksum Register Ccheck Address 17H Bit23 22 21 20 3 2 1 Bit0 Read Ccheck23 Ccheck 22 Ccheck 21 Ccheck20 Ccheck 3 Ccheck 2 Ccheck 1 Ccheck 0 Reset 0 0 0 0 0 0 0 ComChecksum Register Every time the SPI communication commands and data is accumulated into the low two bytes of ComChecksum register Bit16 bit23 of ComChecksum will save the last SPI communication command SPI communication data adopts single byte addition 6 2 9 Parameter checksum register Scheck SumChecksum Register Scheck Address 18H Bit23 22 21 20 3 2 1 Bit0 Read Scheck23 Scheck22 Scheck21 Scheck20 Scheck3 Scheck2 Scheck1 Scheck0 Write Reset 0 0 0 0 0 0 0 SumChecksum Register is the sum of all calibration parameter registers from 40H to 6EH not include 46H 4FH All calibration registers adopt three bytes unsigned addition the high byte of the two single byte registers will be filled 0 6 2 10 EMU Status Register CEMUSR EMU Status Register EMUSR Address 19H Bit7 5 Bit0 http www hitrendtech com Hi Trend Technology Shanghai Co Ltd HiTrenatech ATT7053BU User Manual 210 SD 139
41. he input is 0 averages after reading I2RMS several times and then calculates according to the below formula I2RMSOFFSET I2RMS 2 215 6 4 32 Zero Crossing current threshold value setting up register ZCrossCurrent ZCrossCurrent Address 6CH Bit15 14 13 12 3 2 1 Bit0 Read ZC15 ZC154 ZC13 ZC12 ZC3 ZC2 ZC1 ZCO Write Reset 0 0 0 0 0 0 0 Note The RMS value of current is compared with ZCrossCurrent ZCrossCurrent is corresponding to the low eS SSS SSS a EE FSET http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 43 50 Obilendtech ATT7053BU User Manual 210 SD 139 16 bit of IRMS 15 0 If The RMS value of current is less than the Zero Crossing current threshold value setting up register which is set by the user then it dose not output zero crossing current signal the internal always outputs 0 At the same time the angle register of the corresponding channel is outputting 0 and not calculating angle 6 4 33 PQ mode s phase calibration register GPhs1 Phase Calibration 1 Address 6DH Register GPhs1 Bit15 14 13 12 3 2 1 Bit0 Read GPS1_15 GPS1_14 GPS1_13 GPS1_12 GPS1_3 GPS1_2 GPS1_1 GPS1_0 Write Reset 0 0 0 0 0 0 0 Note Computational formula of PO mode s phase calibration is as below When the input signal is in high impedence status the user corrects the output error near 0 through PGa
42. igh and low Customer also can judge the reading and writing fulfill of the register according to the fixed 8bits communication address 24bits communication data mode in the situation when SPICS is always being pulled low 5 3 ATT7053BU SPI interface communication definition 1 Fixed length data transmission 4bytes I byte command and 3 bytes data 2 At SCK rising edge the data in ATT7053BU is output and at SCK falling edge the data is sampled to S http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 14 50 Obilendtech ATT7053BU User Manual 210 SD 139 ATT7053BU When transfer the MSB is transmitted firstly the LSB is transmitted lately 3 The interior SPI data register will be cleared after the receiving operation of command register 4 SPI communication frame structure Command register 7 bits Read Write bit register address receive master commands Data register 3 bytes 24bit receive master data 5 4 SPI communication waveform CS SPI select signal INPUT the control line of allowing accessing SPI CS switches from high level to low level denotes SPI communications starting CS switches from low level to high level denotes SPI communications is over DIN serial data input INPUT used to transmit data to ATT7053BU DOUT serial data output OUTPUT used to read data from ATT7053BU SCLK serial clock INPUT control data transmission rate Latch the data of register in DOU
43. in register Adjust the input signal to 0 5L now the observable error is Err If Err is negative Gphs1 Err 32768 1 732 If Err is positive Gphs1 65536 Err 32768 1 732 6 4 34 PQ mode s phase calibration register GPhs2 Phase Calibration 2 Address 6EH Register GPhs2 Bit15 14 13 12 3 2 1 Bit0 Read GPS2 15 GPS2 14 GPS2 13 GPS2 12 GPS2 3 GPS2 2 GPS2 1 GPS2 0 Write Reset 0 0 0 0 0 0 0 The formula is the same as the Gphsl1 6 4 35 Fast pulse counter Active Energy Counter Register Address 6FH PFCNT SSS SSS a a au EEE EEE http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 44 50 Obilendtech ATT7053BU User Manual 210 SD 139 Bit15 14 13 12 3 2 1 BitO Read PFC15 PFC14 PFC13 PFC12 PFC3 PFC2 PFC1 PFCO Write Reset 0 0 0 0 0 0 0 Reactive Energy Counter Register Address 70H QFCNT Bit15 14 13 12 3 2 1 Bit0 Read QFC15 QFC14 QFC13 QFC12 QFC3 QFC2 QFCI1 QFCO Write Reset 0 0 0 0 0 0 0 Apparent Energy Counter Register Address 71H SFCNT Bit15 14 13 12 3 2 1 Bit0 Read SFC15 SFC14 SFC13 SFC12 SFC3 SFC2 SFC1 SFCO Write Reset 0 0 0 0 0 0 0 Note In order to prevent losing energy when power is down MCU reads register FCnt QFCnt SFCnt 5s values back and saves them when power is do
44. ister HF Const High Frequency Impulse Const Address 61H Register HF Const Bit15 14 13 12 7 6 3 2 1 Bit0 Read 0 HFC14 HFC13 HFC12 HFC7 HFC6 HFC5 HFC2 HFC1 HFCO Write X Reset 0 0 0 0 1 0 0 0 Note HFConst is 15 bit unsigned data Using its lowest I5bits to compare with the absolute value of fast pulse counter register 0x6FH 0x71H If it is lager than or equal to HF Const then the corresponding PF QF SF will output a pulse The default value of HF Const is 0x0080 6 4 24 Tampering threshold value P or IRMS range setting up among channels Chk Check Register Chk Address 62H a SSS SSS a En a er ST http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 40 50 Obikendtech ATT7053BU User Manual 210 SD 139 Bit7 6 5 4 3 2 1 Bit0 Read CHK7 CHK6 CHK5 CHK4 CHK3 CHK2 CHKI CHKO Write Reset 0 0 0 1 0 0 0 0 Note Tampering threshold current register adopts binary complement format the range is 0 1 ICHK ICK7 2 ICK6 2 ICK5 2 ICK2 2 ICK1 2 ICKO 2 Default value 0 0625 namely 6 25 After starting automatic anti tampering When choose IRMS as judgment of anti tamper if the relative difference between current I and 2 larger than IChk then larger current channel will be selected automatically to measure power and energe and set TAMP to I at the meantime If curre
45. it7 6 5 4 3 2 1 Bit0 Read o Q20FF7 Q20FF6 Q20FF5 Q20FF4 Q20FF3 Q20FF2 Q20FF1 Q20FFO http www hitrendtech com Hi Trend Technology Shanghai Co Ltd VO 1 42 50 Obilendtech ATT7053BU User Manual 210 SD 139 Reset 0 0 0 0 0 0 0 0 Note The register adopts binary complement format Aligned Q2OFFSET with low 8 bits of 24 bit register PowerQ2 PS It is the same as small signal active power calibration 6 4 30 RMS value offset calibration register of current channell I IT RMSOFFSET IIRMSOFFSET Address 69H Bit7 6 5 4 3 2 1 Bit0 Read IIRMSOFF IIRMSOFF IIRMSOFF IIRMSOFF IIRMSOFF IIRMSOFF IIRMSOFF IIRMSOFF Write SET7 SET6 SET5 SET4 SET3 SET2 SETI SETO Reset 0 0 0 0 0 0 0 0 Note The register adopts binary unsigned form The formula is If the input is 0 averages after reading IIRMS several times and then calculates according to the below formula IIRMSOFFSET IIRMS 2 215 6 4 31 RMS value offset calibration register of current channell I IT RMSOFFSET I2RMSOFFSET Address 6AH Bit7 6 5 4 3 2 1 Bito Read 12RMS I2RMS I2RMS I2RMS I2RMS I2RMS I2RMS I2RMS Write OFFSET7 OFFSET6 OFFSETS OFFSET4 OFFSET3 OFFSET2 OFFSETI OFFSETO Reset 0 0 0 0 0 0 0 0 Note The register adopts binary unsigned form The formula is If t
46. nputting impedence 250 kQ Signal To Noise 75 dB 3dB bandwidth 14 KHz ADC 2MHz 7 ADC 1MHz ADC Output reference voltage 2 5 V ADC Vref Temperature modulus 25 50 PPM Power Data EMU frequency 1M default 3 02 mA Three ADC 2 38 mA U Il DC parameter Digital power supply voltage 4 5 5 5 5 V Analog power supply voltage 4 4 5 5 5 V CF output drive current 5 8 mA Working temperature range 40 85 C Storage temperature range 65 150 C External pin Parameters Input high level 0 7Vcc All pins except RST 0 8Vec RST Input low level 0 2Vcc 10 50 HiTrenatech ATT7053BU User Manual 210 SD 139 Output high level 0 9Vcc PF QF SF Isource gt 4mA 0 9Vcc Other Pins Isource gt ImA Output low level 0 1Vec PF QF SF Isink gt 4mA 0 1Vcc Other Pins Isink gt 1mA 4 ATT7053BUModule Description 41 ADC module Name Min Typ Max Unit Full 800 mV Measurement ADC frequency MHz Current channel 1time 4times 8times 1 6times 24times gain Voltage channel 1time 2times 4times gain 4 2 VREF Parameter Name Min Typ Max Unit Reference Voltage 25 V Temperature 25 50 PPM Modulus 4 3 System power check Name Min Typ Max Unit http www hitrendtech com Hi Trend Technology Shanghai Co Ltd VO 1 11 50 ObiTrendtech ATT7053BU User Manual 210 SD 139 Detect volta failing 4
47. nsnrnsnrnensnsnrnsnnnsnnee 18 6 2 Measurement Parameter Registers Explain 0111000077000 a 18 6 2 1 ADC waveform register SPLI SPLI2 SPLU orrnnnnnenenennnennnenvnenvnenvnennnenvnenrnenrnenrnenrnensnensnensner 18 6 2 2 RMS value output IRs I2Rms URMS Lama 19 6 2 3 Voltage frequency measurement o sccesccesceesseesseeneeeeeeseceseeeseceseeeseeeseceaeeeseeeaeeeeeeeeeneeeateeneeeaees 20 2 50 ObiTrendtech ATT7053BU User Manual 210 SD 139 6 2 4 Power parameter output PowerP1 PowerQ1 Powers mmsrrnnsrsnenrnrenenvenrnrsrenenvenensenenesnnne 20 6 2 5 Energy parameter output EnergyP EnergyQ EnergyS u s 21 6 2 6 Power parameter output PowerP2 PowerQ2 arnrrnnnvrnnvvnnnnvrnnnvernnvvrsnvnrennvrrnnnersnnnrennsrsnnnsrsnsee 22 6 2 7 Data backup register BCK REG nenen a E E E T E RR 22 6 2 8 Communication checksum register Ccheck sccesccscceseceseeeseceseceseceseceseceseceseeeaeceseeeaeeeaeeeaeenaeees 23 6 2 9 Parameter checksum register Scheck rrnnrrrnrrrrnnvrrnnvrrnnvvrrnnrrrnnverennvrennrrsnnrrrsnrerennerennersnnsssnne 23 6 2 10 EMU Status Register CEMUSR ulanan 23 6 2 11 System Status Register SY SSTA namamana 24 62 12 Device LD COS nies sce ana NGANGA ah 25 6 3 Measurement Parameter Registers List ccccsccccssecessecsseeseseeseseceesecseeessceceeseeeeeeenseeensaeeneneeenaes 26 6 4 Calibration Register Explain 2 0000000000aasa ns 0NG NA INENG 27 6 4 1 EMUIE
48. nt 2 is larger than current I then set PGTI to I When choose Active Power PowerP as judgment of anti tamper if the relative difference between PowerP1 and PowerP larger than IChk then larger power will be selected automatically to measure power and energe and set TAMP to I at the meantime 6 4 25 Tampering detecting threshold value IP or IRMS setting IPTAMP Tamper Current Power Register Address 63H IPTAMP Bit15 14 13 12 3 2 1 Bit0 Read IPTAMP15 IPTAMP14 IPTAMP13 IPTAMP12 IPTAMP3 IPTAMP2 IPTAMPI IPTAMPO Write X Reset 0 0 0 0 0 0 0 Note The register default value is 0x0020 The format is the same as current RMS register or power register ITAMP 15 0 is the high 16 bits current rms register or power register Note The highest bit15 of IPtamp is 0 and can be written ineffectively The maximum written value is Ox7F FF After enable auto anti tampering scheme When choose RMS as judgment of anti tamper if the rms current value of channel 1 and 2 is both lower than IPTAMP constantly select channel I as effective input bit TAMP I2PPXGTI1P and CHNSEL all are 0 When choose Active Power PowerP as judgment of anti tamper if the value of PowerP1 and PowerP2 is both lower than IPTamp constantly select channel I as effective input bit TAMP 12PPXGTIIP and CHNSEL all are 0 6 4 26 Small signal active Power calibration of channell PIOF FSET Power offset I P1OFFS
49. or low level Input Output Characteristics Parameter Symbol Min Type Max High level Input All Pins VIH 0 7Vcc voltage Except Reset http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 8 50 HiTrenatech ATT7053BU User Manual 210 SD 139 Reset PIN VIH 0 8Vcc Low level Input All Pins VIL 0 2Vcc Voltage High level Output PF QF SF VOH 0 9Vcc voltage Isource gt 4mA Other Pins VOH 0 9Vcc Isource gt 1mA Low level Output PF QF SF VOL 0 1 Vcc Isink gt 4mA voltage Other Pins VOL 0 1 Vcc sink gt 1mA ESD VIP VIN V2P Vesd 4KV V2N V3P V3N Other Pins Vesd 8KV http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 9 50 Oikendtech ATT7053BU User Manual 210 SD 139 3 5 Electric Specification Measurement conditions Vcc AVcc 5V system frequency 6M 25C Parameter Min Typ Max Unit Condition Energy measurement parameter Active energy Measurement Error 0 1 Dynamic range of 3000 1 25C Reactive energy Measurement Error 0 1 Dynamic range of 3000 1 25C VRMS Measurement error 0 1 300 1 0 5 3000 I IRMS Measurement error 0 1 300 1 0 5 3000 I ADC parameter The maximum signal voltage 700 mV Can be used as 700Mvp by customer Direct current i
50. ote This energy accumulated register default configuration is set to non cleaning O after reading The energy minimum unit of the register is 1 EC kWh Energy register s default configuration is set to non cleaning 0 after reading but it can be set to cleaning O after reading through modifying EnergyClr to I Example pulse costant is 3200imp kWh when the register s value is 0x001000 4096 then the representive energy is E 4096 3200 1 28 kWh 6 2 6 Power parameter output PowerP2 PowerQ2 PowerP2 Register PowerP2 0x10H Active Power Register PowerP2 Address 10H Bit23 22 21 20 3 2 1 Bit0 Read AP31 AP30 AP29 AP28 AP3 AP2 AP1 APO Write Reset PowerQ2 Register PowerQ2 0x11H Reset 0 0 0 0 Reactive Power Register PowerQ2 Address 11H Bit23 22 21 20 3 2 1 Bit0 Read RP31 RP30 RP29 RP28 RP3 RP2 RPI RPO 0 6 2 7 Data backup register BCKREG BackupData Register BCKREG Address 16H http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 22 50 Hilrendtech ATT7053BU User Manual 210 SD 139 Bit23 22 21 20 3 2 1 Bit0 Read BCKData23 BCKData22 BCKData21 BCKData20 BCKData3 BCKData2 BCKDatal BCKData0 Write Reset 0 0 0 0 0 0 0 Backup Data Register saved the last SPI transmission data T
51. rrnnvrrnnvvrnnnvrrnvrrrnnvrrnnverennrrsnnrrsnnrsrennerennerennersnnrssnnrsrsnnersnnersnnsssnne 12 4 4 2 Power IRMSVFTequency scoirtear ie iaai 12 4 4 3 PowerRapid Pulsen nasa are 13 4 4 4 EMU state instruction c ccccccccccesssceesenseceesenseeessaneeeeceaeeceesaneeceseaceceesenseeseeneececeaneeesseneeeesenneeens 14 4 4 5 Current channel 2 gain calibration 00maawnananaanaaaanaaana saan asansssnasasaansssansssnasssnasasans 14 24 60 InteruphNon OUulpubsin uannimheknangennnnaniiekelmmiennnnenijekelmuimaaiae 14 5 SPLcommunication function IBIGIN EE 14 5 1 ECITO O a 00000 SIETE 14 5 2 ATT7053BU SPI interface introduction eneronrronrrrnrvrrrnenrvenrvenrvenrrenerensrensernenenseenseenesenssenesensssnseene 14 5 3 ATT7053BU SPI interface communication definition 14 5 4 SPI communication WaveloM s eccsonenccnnnd ti n nnna 15 5 5 The example of ATT7053BU SPI communication 16 5 6 ATT7053BU communication interface error definition ssnervnnrvnnrvrnrrrnrrrnrrrnernnrrrerrrerrresrresnrennee 17 Sal ATT70S1A S3A 59 CHECKSUM i GG 17 5 8 ATT 70353 BU SPI VO Status visiscsscssvcesicesscesscesscastinasceavcesscasicenscestceascgadiossceay contigs sees NE 17 5 9 Communication CS pull down mMode 11 0na 17 AA AG Ne esner ereenn one EE RE a EE EA SEEE E EEE EE ERE EE raana a aS 18 6 1 Measurement Parameter Registers List rrronnnonrnonrnenvnenrenrnenrnenrnenrnenrnenrnenrnensnsnr
52. t RMS value then gets the value 0X03BA55 from RMS register RMS 11 06H of current channell If the customer want to be shown on the LCD data is 5A then they needs to calculate the below transfer factor between the two value by themselves K 5 0X03BA55 2 046 10 5 Here K is the conversion factor and the LCD can correctly display the current value through RMS I1 K The detailed please read the chapter RMS outputting and power parameter outputting a AA SSS a rer ce EEE http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 48 50 HiTrenateon ATT7053BU User Manual 210 SD 139 7 Application Schematic 220V ACER y R DYDD RST VDD1P8 TEST SPI_SCLK Ka a Y3P 3N Vv2P 2N VIP VDD5 0 ATT7053BU Cc XTALO ak 22P ma HA 9 P XTALI is VIP 12K a E02 35128 MAE GND 0 0330 x Gr Ng vin 0033u 12K SS SSS a rer AA http www hitrendtech com Hi Trend Technology Shanghai Co Ltd V0 1 49 50 ObiTrendtech ATT7053BU User Manual 210 SD 139 8 Package Diagrams SSOP24 Dimensions shown in inches and mm 0 328 8 33 0 318 8 08 0 311 7 9 0 212 5 38 0 301 7 64 0 205 5 207 0 078 1 98 PINT 0 07 1 78 0 068 1 73 0 066 1 87 AF HE me he 4 8 KM 38 0 008 0 203 9 83 dim yo om SEATING 0 008 0 220 0 037 0 94 0 002 0 050 Bsc 0 PLANE 00500127 0 022 0 550 http www hitrendtech com Hi Trend Technology Sh
53. tive Power calibration of channel 1 PIOF FSET rrrnnnrnnnnnnnnnnnnnnnvnnnrnnnrnnnennne 41 6 4 27 Small signal active Power calibration of channel2 P2OFFSET rsrrrrnnvvrnnvvrnnvvrrnvrrrnnversnneren 42 6 4 28 Small signal reactive Power calibration of channel QIOFFSET rsnnnrnnnrnnnrnnnrnnnennnrnnnennne 42 3 50 ObiTrendtech ATT7053BU User Manual 210 SD 139 6 4 29 Small signal reactive Power calibration of channel2 Q2OFFSET rnnrrrnnvvrnnnvrnnnvernvrrrnnvrnrr 42 6 4 30 RMS value offset calibration register of current channel IIRMSOFFSET errnrnrnrnnnrnnnenrne 43 6 4 31 RMS value offset calibration register of current channel IIRMSOFFSET errnrnrnennnrnnnrnrne 43 6 4 32 Zero Crossing current threshold value setting up register ZCrossCurrent assrnnnnrnrnnvnrnnnnnr 43 6 4 33 PO modes phase calibration register GPhs1 rrrnnnrnnnrnrnnvvrnnvnrnnnvnrnnvnrnnvnrenversnnvrrnrvrrnnrersnnennn 44 6 4 34 PO modes phase calibration register GPhs2 000 maanananwanaawaanasanaaanaasanssssasasaassssanan 44 6435 Fast puls COUIET 1302230200000 GING GARENA NABANG 44 6 4 36 The process of recommending calibration cccesccecccesecesecesecesecesecesecesecesecececeseceaeceseceaeeeaeeeaeenes 45 7 Application Schematic cceccesccescceseceseceecesecssecssecesecsseceneceseccecaecececenecesecnecesecaecececeeecneceeseneceneseneeeneenneeees 49 Bi Package Dia grains an AN
54. wn then rewrites these values in register PFCnt QFCnt SFCnt when power is up next time When the value of fast pulse counter register PFCnt QFCnt SF Cnt is greater than equal to HFconst the related PF QF SF will overflow a pulse and the value of energy register 0xODH 0x0FH will accordingly add 1 6 4 36 The process of recommending calibration 1 HFConst configure The same lot meters have the same HFCONST Regulate the error precision of the sample meter within 15 through register HFConst There are two ways for calculating Program 1 The default value of register HFCONST is 0x0040 Observe the initial error Err and then adjust the error to be within 10 with the following formula HFCONST 0x0040 1 Err For example EC is set as 3200 the power factor is 1 the default value of register HFCONST is 0x0040 and the error shown on the standard meter is 52 8 According to calculating formula HFCONST 0x0040 1 Err we can get HFCONST 0x0040 1 52 8 0x0061 SS SSS a aa http www hitrendtech com Hi Trend Technology Shanghai Co Ltd VO 1 45 50 ObiTrendtech ATT7053BU User Manual 210 SD 139 Using MCU writes 0x0061 into HFCONST 61H of ATT7053 through SPI Format SPI Write register address written data Actual SPI Write 0x61 0x0061 Then the error shown on the standard meter should be within 10 after writing Program 2 When femu 1 MHz HFConst 6 24 Vu Vi 10 10 EC Un Ib Vu voltage o
Download Pdf Manuals
Related Search
Related Contents
Utica Boilers HL Service Bulletin VSF409 INSTRUCTION MANUAL SKーD974 取扱説明書 Navegador automático Nokia 500 Guía de usuario Manual - Gould Electronics 6 - COL Magazine Gerät Ein - Castle Group Ltd MA-300、305、315シリーズ、テクセル9300 内税部門を外税部門に ティシュー・テック グラス ジー2 User Manual - Alburtylab, Inc. Copyright © All rights reserved.
Failed to retrieve file