CS5461A
DS661F3 37
ecuted. However, an AC signal should not be used for
DC gain calibration.
7.1.3.2 DC Gain Calibration Sequence
Initiate a DC gain calibration. The corresponding gain
register is restored to default (1.0). The DC gain calibra-
tion algorithm averages the channel’s instantaneous
measurements over one computation cycle (N sam-
ples). The average is then divided into 1.0 and the quo-
tient is stored in the corresponding gain register
After the DC gain calibration, the instantaneous register
will read at full-scale whenever the DC level of the input
signal is equal to the level of the DC calibration signal
applied to the inputs during the DC gain calibration.The
HPF option should not be enabled if DC gain calibration
is utilized.
7.1.4 Order of Calibration Sequences
1. If the HPF option is enabled, then any dc compo-
nent that may be present in the selected signal path
will be removed and a DC offset calibration is not re-
quired. However, if the HPF option is disabled the
DC offset calibration sequence should be per-
formed.
When using high-pass filters, it is recommended
that the DC offset register for the corresponding
channel be set to zero. When performing DC offset
calibration, the corresponding gain channel should
be set to one.
2. If an ac offset exist, in the V
RMS
or I
RMS
calculation,
then the AC offset calibration sequence should be
performed.
3. Perform the gain calibration sequence.
4. Finally, if an AC offset calibration was performed
(step 2), then the AC offset may need to be adjusted
to compensate for the change in gain (step 3). This
can be accomplished by restoring zero to the AC
offset register and then perform an AC offset cali-
bration sequence. The adjustment could also be
done by multiplying the AC offset register value that
was calculated in step 2 by the gain calculated in
step 3 and updating the AC offset register with the
product.
7.2 Phase Compensation
The CS5461A is equipped with phase compensation to
cancel out phase shifts introduced by the measurement
element. Phase Compensation is set by bits PC[6:0] in
the Configuration Register.
The default value of PC[6:0] is zero. With
MCLK = 4.096 MHz and K = 1, the phase compensa-
tion has a range of 2.8 degrees when the input signals
are 60 Hz. Under these conditions, each step of the
phase compensation register (value of one LSB) is ap-
proximately 0.04 degrees. For values of MCLK other
than 4.096 MHz, the range and step size should be
scaled by 4.096 MHz/(MCLK/K). For power-line fre-
quencies other than 60Hz, the values of the range and
step size of the PC[6:0] bits can be determined by con-
verting the above values from angular measurement
into time-domain (seconds), and then computing the
new range and step size (in degrees) with respect to the
new line frequency.
7.3 Active Power Offset
The Power Offset Register can be used to offset system
power sources that may be resident in the system, but
do not originate from the power-line signal. These
sources of extra energy in the system contribute unde-
sirable and false offsets to the power and energy mea-
surement results. After determining the amount of stray
power, the Power Offset Register can be set to cancel
the effects of this unwanted energy.
CS5461A
38 DS661F3
8. AUTO-BOOT MODE USING E
2
PROM
When the CS5461A MODE pin is asserted (logic 1), the
CS5461A auto-boot mode is enabled. In auto-boot
mode, the CS5461A downloads the required com-
mands and register data from an external serial
E
2
PROM, allowing the CS5461A to begin performing
energy measurements.
8.1 Auto-Boot Configuration
A typical auto-boot serial connection between the
CS5461A and a E
2
PROM is illustrated in Figure 14. In
auto-boot mode, the CS5461A’s CS
and SCLK are con-
figured as outputs. The CS5461A asserts CS
, provides
a clock on SCLK, and sends a read command to the
E
2
PROM on SDO. The CS5461A reads the user-speci-
fied commands and register data presented on the SDI
pin. The E
2
PROM’s programmed data is utilized by the
CS5461A to change the designated registers’ default
values and begin registering energy.
Figure 14 also shows the external connections that
would be made to a calibrator device, such as a PC or
custom calibration board. When the metering system is
installed, the calibrator would be used to control calibra-
tion and/or to program user-specified commands and
calibration values into the E
2
PROM. The user-specified
commands/data will determine the CS5461A’s exact
operation, when the auto-boot initialization sequence is
running. Any of the valid commands can be used.
8.2 Auto-Boot Data for E
2
PROM
Below is an example code set for an auto-boot se-
quence. This code is written into the E
2
PROM by the us-
er. The serial data for such a sequence is shown below
in single-byte, hexidecimal notation:
- 40 00 00 61
Write Configuration Register, turn high-pass filters
on, set K=1.
- 44 7F C4 A9
Write value of 0x7FC4A9 to Current Gain
Register.
- 48 FF B2 53
Write value of 0xFFB253 to Voltage Gain
Register.
- 4C 00 7D 00
Set PulseRateE
1,2
Register to 1000 Hz.
- 74 00 00 04
Unmask bit #2 (LSD) in the Mask Register).
- E8
Start continuous conversions
- 78 00 01 00
Write STOP bit to Control Register, to terminate
auto-boot initialization sequence.
8.3 Suggested E
2
PROM Devices
Several industry-standard, serial E
2
PROMs that will
successfully run auto-boot with the CS5461A are listed
below:
Atmel AT25010, AT25020 or AT25040
National Semiconductor NM25C040M8 or NM25020M8
Xicor X25040SI
These types of serial E
2
PROMs expect a specific 8-bit
command (00000011) in order to perform a memory
read. The CS5461A has been hardware programmed to
transmit this 8-bit command to the E
2
PROM at the be-
ginning of the auto-boot sequence.
Figure 14. Typical Interface of E
2
PROM to CS5461A
CS5461A
EEPROM
EOUT1
EOUT2
MODE
SCLK
SDI
SDO
CS
SCK
SO
SI
CS
Connector to Calibrator
VD+
5 K
5 K
Mech. Counter
Stepper Motor
or
CS5461A
DS661F3 39
9. BASIC APPLICATION CIRCUITS
Figure 15 shows the CS5461A configured to measure
power in a single-phase, 2-wire system while operating
in a single-supply configuration. In this diagram, a shunt
resistor is used to sense the line current and a voltage
divider is used to sense the line voltage. In this type of
shunt resistor configuration, the common-mode level of
the CS5461A must be referenced to the line side of the
power line. This means that the common-mode poten-
tial of the CS5461A will track the high-voltage levels, as
well as low-voltage levels, with respect to earth ground
potential. Isolation circuitry is required when an earth-
ground-referenced communication interface is connect-
ed.
Figure 16 shows the same single-phase, two-wire sys-
tem with complete isolation from the power lines. This
isolation is achieved using three transformers: a general
purpose transformer to supply the on-board DC power;
a high-precision, low-impedance voltage transformer
with very little roll-off/phase-delay, to measure voltage;
and a current transformer to sense the line current.
Figure 17 shows a single-phase, 3-wire system. In
many 3-wire residential power systems within the Unit-
ed States, only the two line terminals are available (neu-
tral is not available). Figure 18 shows the CS5461A
configured to meter a three-wire system with no neutral
available.
VA+ VD+
CS5461A
0.1 µF470 µF
500
470 nF
500
N
R
1
R
2
10
14
VIN+
9
VIN-
IIN-
10
15
16
IIN+
PFMON
CPUCLK
XOUT
XIN
Optional
Clock
Source
Serial
Data
Interface
RESET
17
2
1
24
19
CS
7
SDI
23
SDO
6
SCLK
5
INT
20
E1
0.1 µF
VREFIN
12
VREFOUT
11
AGND DGND
13 4
3
4.096 MHz
0.1 µF
10 k
5k
L
R
Shunt
R
V-
R
I-
R
I+
ISOLATION
120 VAC
Mech. Counter
Stepper Motor
or
22
21
C
I-
C
I+
C
Idiff
C
V-
C
V+
C
Vdiff
E2
Note:
Indicates common (floating) return.
Figure 15. Typical Connection Diagram (Single-phase, 2-wire Direct Connect to Power Line)

CS5461A-ISZR

Mfr. #:
Manufacturer:
Cirrus Logic
Description:
Current & Power Monitors & Regulators IC Sngl-Phs BiDirect PWR/Energy
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet