ADE5166_08 AD [Analog Devices], ADE5166_08 Datasheet - Page 37

no-image

ADE5166_08

Manufacturer Part Number
ADE5166_08
Description
Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
Manufacturer
AD [Analog Devices]
Datasheet
ENERGY MEASUREMENT REGISTERS
Table 31. Energy Measurement Register List
Address
MADDPT[6:0]
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
0x0F
0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
0x18
0x19
0x1A
0x1B
0x1C
0x1D
0x1E
0x1F
0x20
0x21
0x22
0x23
0x24
0x25
0x26
0x27
0x28
Mnemonic
WATTHR
RWATTHR
LWATTHR
VARHR
RVARHR
LVARHR
VAHR
RVAHR
LVAHR
PER_FREQ
MODE1
MODE2
WAVMODE
NLMODE
ACCMODE
PHCAL
ZXTOUT
LINCYC
SAGCYC
SAGLVL
IPKLVL
VPKLVL
IPEAK
RSTIPEAK
VPEAK
RSTVPEAK
GAIN
IBGAIN
WGAIN
VARGAIN
VAGAIN
WATTOS
VAROS
IRMSOS
VRMSOS
WDIV
VARDIV
VADIV
CF1NUM
CF1DEN
1
1
1
1
1
R/W
R
R
R
R
R
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Length
(Bits)
24
24
24
24
24
24
24
24
24
16
8
8
8
8
8
8
12
16
8
16
16
16
24
24
24
24
8
12
12
12
12
16
16
12
12
8
8
8
16
16
Signed/
Unsigned
S
S
S
S
S
S
S
S
S
U
U
U
U
U
U
S
U
U
U
U
U
U
U
U
U
U
S
S
S
S
S
S
S
S
U
U
U
U
U
Rev. 0 | Page 37 of 148
Default
0
0
0
0
0
0
0
0
0x06
0x40
0
0xFFFF
0xFF
0xFFFF
0xFFFF
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x40
0x0FFF
0
0
0
0
0
0
0
0x003F
Description
Reads Wh accumulator without reset.
Reads Wh accumulator with reset.
Reads Wh accumulator synchronous to line cycle.
Reads VARh accumulator without reset.
Reads VARh accumulator with reset.
Reads VARh accumulator synchronous to line cycle.
Reads VAh accumulator without reset. If the VARMSCFCON bit in the
MODE2 register (Address 0x0C) is set, this register accumulates I
Reads VAh accumulator with reset. If the VARMSCFCON bit in the
MODE2 register (Address 0x0C) is set, this register accumulates I
Reads VAh accumulator synchronous to line cycle. If the VARMSCFCON
bit in the MODE2 register (Address 0x0C) is set, this register accumulates
I
Reads line period or frequency register depending on Mode2 register.
Sets basic configuration of energy measurement (see Table 32).
Sets basic configuration of energy measurement (see Table 33).
Sets configuration of Waveform Sample 1 and Waveform Sample 2
(see Table 34).
Sets level of energy no load thresholds (see Table 35).
Sets configuration of watt and var accumulation and various tamper
alarms (see Table 36).
Sets phase calibration register (see the Phase Compensation section).
Sets timeout for zero-crossing timeout detection (see the Zero-
Crossing Timeout section).
Sets number of half-line cycles for LWATTHR, LVARHR, and LVAHR
accumulators.
Sets number of half-line cycles for SAG detection (see the Line
Voltage SAG Detection section).
Sets detection level for SAG detection (see the Line Voltage SAG
Detection section).
Sets peak detection level for current peak detection (see the Peak
Detection section).
Sets peak detection level for voltage peak detection (see the Peak
Detection section).
Reads current peak level without reset (see the Peak Detection section).
Reads current peak level with reset (see the Peak Detection section).
Reads voltage peak level without reset (see the Peak Detection section).
Reads voltage peak level with reset (see the Peak Detection section).
Sets PGA gain of analog inputs (see Table 37).
Sets matching gain for I
Sets watt gain register.
Sets var gain register.
Sets VA gain register.
Sets watt offset register.
Sets var offset register.
Sets current rms offset register.
Sets voltage rms offset register.
Sets watt energy scaling register.
Sets var energy scaling register.
Sets VA energy scaling register.
Sets CF1 numerator register.
Sets CF1 denominator register.
rms
.
PB
current input.
ADE5166/ADE5169
rms
rms
.
.

Related parts for ADE5166_08