AC or DC System Calibration
Mechanical Counter/Stepper Motor Driver
Meets Accuracy Spec for IEC 687/1036, JIS
Typical Power Consumption <12 mW
Interface Optimized for Shunt Sensor
V vs. I Phase Compensation
Ground-Referenced Signals with Single
Supply
On-chip 2.5 V Reference (MAX 60 ppm/°C
drift)
Simple Three-wire Digital Serial Interface
Watch Dog Timer
Power Supply Monitor
Power Supply Configurations
VA+ = +5 V; VA- = 0 V; VD+ = +3.3 V to +5 V
, Energy-to-Pulse
RMS
Description
The CS5460A is a highly integrated power measurement solution which combines two
Analog-to-digital Converters (ADCs), high-speed
power calculation functions, and a serial interface
on a single chip. It is designed to accurately measure and calculate: Real (True) Energy,
Instantaneous Power, I
phase 2- or 3-wire power metering applications.
The CS5460A interfaces to a low-cost shunt resistor or transformer to measure current, and to a
resistive divider or potential transformer to measure voltage. The CS5460A features a
bi-directional serial interface for communication
with a microcontroller and a pulse output engine for
which the average pulse frequency is proportional
to the real power. The CS5460A has on-chip functionality to facilitate AC or DC system-level
calibration.
The “Auto-boot” feature allows the CS5460A to
function ‘stand-alone’ and to initialize itself on system power-up. In Auto-boot Mode, the CS5460A
reads the calibration data and start-up instructions
from an external EEPROM. In this mode, the
CS5460A can operate without a microcontroller, in
order to lower the total bill-of-materials cost.
Table 1. Differential Input Voltage vs. Output Code......................................................................14
Table 2. Available range of ±0.1% output linearity,
with default settings in the gain/offset registers. ...........................................................15
Table 3. Default Register Values upon Reset Event.....................................................................43
4DS487F5
CS5460A
1. CHARACTERISTICS & SPECIFICATIONS
ANALOG CHARACTERISTICS
(TA= -40 °C to +85 °C; VA+ = VD+ = +5 V ±10%; VREFIN = +2.5 V; VA- = AGND = 0 V; MCLK = 4.096 MHz,
K = 1; N = 4000 ==> OWR = 4000 Sps.)(See Notes 1, 2, 3, 4, and 5.)
ParameterSymbol Min TypMaxUnit
Accuracy (Both Channels)
Common Mode Rejection (DC, 50, 60 Hz)CMRR80--dB
Offset Drift (Without the High Pass Filter)-5-nV/°C
Analog Inputs (Current Channel)
Maximum Differential Input Voltage Range(Gain = 10)
{(V
IIN+) - (VIIN-)}(Gain = 50)
Total Harmonic DistortionTHDI80--dB
Common Mode + Signal on IIN+ or IIN-(Gain = 10 or 50)-0.25-VA+V
Crosstalk with Voltage Channel at Full Scale(50, 60 Hz)---115dB
Input Capacitance(Gain = 10)
Total Harmonic DistortionTHDV62--dB
Common Mode + Signal on VIN+ or VIN-VA--V A+V
Crosstalk with Current Channel at Full Scale(50, 60 Hz)---70dB
Input CapacitanceC
Effective Input Impedance (Note 6)Z
Noise (Referred to Input)--250µV
1. Bipolar Offset Errors and Full-Scale Gain Errors for the current and voltage channels refer to the respective Irms
Register and Vrms Register output, when the device is operating in ‘continuous computation cycles’ data acquisition
mode, after offset/gain system calibration sequences have been executed. These specs do not apply to the error
of the Instantaneous Current/Voltage Register output.
2. Specifications guaranteed by design, characterization, and/or test.
3. Analog signals are relative to VA- and digital signals to DGND unless otherwise noted.
4. In requiring VA+ = VD+ =5 V ±10%, note that it is allowable for VA+, VD+ to differ by as much as ±200 mV, as long
as VA+ > VD+.
5. Note that “Sps” is an abbreviation for units of “samples per second”.
6. Effective Input Impedance (Zin) is determined by clock frequency (DCLK) and Input Capacitance (IC).
Zin = 1/(IC*DCLK/4). Note that DCLK = MCLK / K.
DS487F55
CS5460A
PSRR20
0.150V
V
eq
------------------ -
log=
ANALOG CHARACTERISTICS (Continued)
ParameterSymbol Min TypMaxUnit
Dynamic Characteristics
Phase Compensation Range(Voltage Channel, 60 Hz)-2.4-+2.5°
High Rate Filter Output Word Rate(Both Channels)OWR-DCLK/1024-Sps
Input Sample RateDCLK = MCLK/K-DCLK/8-Sps
Full Scale DC Calibration Range(Note 7)FSCR25-100%F.S.
Channel-to-Channel Time-Shift Error
(when PC[6:0] bits are set to “0000000”)
High Pass Filter Pole Frequency-3 dB-0.5-Hz
Power Supplies
Power Supply Currents (Active State)I
I
(VD+ = 5 V)
D+
(VD+ = 3.3 V)
I
D+
Power Consumption Active State (VD+ = 5 V)
(Note 8) Active State (VD+ = 3.3 V)
Stand-By State
Sleep State
A+
PSCA
PSCD
PSCD
PC-
-
-
-
-
-
-
Power Supply Rejection Ratio(50, 60 Hz)
for Current Channel(Gain = 10)
(Note 9)(Gain = 50)
PSRR
PSRR
56
75
Power Supply Rejection Ratio(50, 60 Hz)
for Voltage Channel(Note 9)PSRR-65-dB
Notes: 7. The minimum FSCR is limited by the maximum allowed gain register value.
8. All outputs unloaded. All inputs CMOS level.
9. Definition for PSRR: VREFIN tied to VREFOUT, VA+ = VD+ = 5 V, a 150 mV zero-to-peak sinewave
(frequency = 60 Hz) is imposed onto the +5V supply voltage at VA+ and VD+ pins. The “+” and “-” input
pins of both input channels are shorted to VA-. Then the CS5460A is commanded to ’continuous
computation cycles’ data acquisition mode, and digital output data is collected for the channel under
test. The zero-peak value of the digital sinusoidal output signal is determined, and this value is
converted into the zero-peak value of the sinusoidal voltage that would need to be applied at the
channel’s inputs, in order to cause the same digital sinusoidal output. This voltage is then defined as
Veq. PSRR is then (in dB):
10. When voltage level on PFMON is sagging, and LSD bit is 0, the voltage at which LSD bit is set to 1.
11. Assuming that the LSD bit has been set to 1 (because PFMON voltag e fell below PMLO), the n if/when
the PFMON voltage starts to rise again, PMHI is the volta ge level (on PFMON pin) at which the LSD bit
can be permanently reset back to 0 (without instantaneously changing back to 1). Attempts to reset the
LSD bit before this condition is true will not be successful. This condition indicates that power has been
restored. Typically, for a given sample, the PMHI voltage will be ~100 mV above the PMLO voltage.
6DS487F5
CS5460A
(VREFOUTMAX - VREFOUTMIN)
VREFOUT
AVGTAMAX - T
A
MIN
1
(())
1.0 x 10
()
6
T
VREFOUT
=
VREFOUT REFERENCE OUTPUT VOLTAGE
ParameterSymbol Min TypMaxUnit
Reference Output
Output VoltageREFOUT+2.4-+2.6V
VREFOUT Temperature Coefficient(Note 12) T
Load Regulation(Output Current 1µA Source or Sink)V
Reference Input
Input Voltage RangeVREFIN+2.4+2.5+2.6V
Input Capacitance-4-pF
Input CVF Current-25-nA
Notes: 12. The voltage at VREFOUT is measured across the temperature range. From these measurements the
following formula is used to calculate the VREFOUT Temperature Coefficient:.
5V DIGITAL CHARACTERISTICS
(TA= -40 °C to +85 °C; VA+ = VD+ = 5 V ±10% VA-, DGND = 0 V) (See Notes 3, 4, and 13)
VREFOUT-3060ppm/°C
R
-610mV
ParameterSymbol Min Typ Max Unit
High-Level Input Voltage
All Pins Except XIN, SCLK and RESET
XIN
SCLK and RESET
Low-Level Input Voltage
All Pins Except XIN, SCLK, and RESET
XIN
SCLK and RESET
High-Level Output Voltage (except XOUT)I
Low-Level Output Voltage (except XOUT)I
=+5mAV
out
=-5mAV
out
Input Leakage Current(Note 14)I
High Impedance State Leakage CurrentI
Digital Output Pin CapacitanceC
V
IH
V
IL
OH
OL
in
OZ
out
0.6 VD+
(VD+) - 0.5
0.8VD+
-
-
-
-
-
-
-
-
-
0.8
1.5
0.2VD+
(VD+) - 1.0--V
--0.4V
-±1±10µA
--±10µA
-5-pF
13. Note that the 5 V characteristics are guaranteed by characterization. Only the more rigorous 3.3 V
digital characteristics are actually verified during production test.
14. Applies to all INPUT pins except XIN pin (leakage current < 50 µA) and MODE pin (leakage current <
25 µA).
-
-
-
V
V
V
V
V
V
DS487F57
CS5460A
3.3 V DIGITAL CHARACTERISTICS
(TA=-40°C to +85°C; VA+=5V±10%, VD+=3.3V±10%; VA-, DGND = 0 V) (See Notes 3, 4, and 13)
ParameterSymbol Min Typ Max Unit
High-Level Input Voltage
All Pins Except XIN, XOUT, SCLK, and RESET
XIN
SCLK and RESET
Low-Level Input Voltage
All Pins Except XIN, XOUT, SCLK, and RESET
XIN
SCLK and RESET
High-Level Output Vo ltage (except XIN, XOUT)I
Low-Level Output Voltage (except XIN, XOUT) I
Notes: 15. All measurements performed under static conditions.
16. If VD+ = 3 V and if XIN input is generated using crystal, then XIN frequency must remain between
2.5 MHz - 5.0 MHz. If using oscillator, full XIN frequency range is available, see Switching Characteristics.
ABSOLUTE MAXIMUM RATINGS
(DGND = 0 V; See Note 17) WARNING: Operation at or beyond these limits may result in permanent damage to
the device. Normal operation is not guaranteed at these extremes.
ParameterSymbol Min TypMax Unit
DC Power Supplies(Notes 18 and 19)
Positive Digital
Positive Analog
Negative Analog
Input Current, Any Pin Except Supplies(Note 20, 21, and 22)I
Output CurrentI
Power Dissipation(Note 23)P
Analog Input VoltageAll Analog PinsV
Digital Input VoltageAll Digital PinsV
Ambient Operating TemperatureT
Storage TemperatureT
VD+
VA+
VA-
IN
OUT
D--500mW
INA
IND
A
stg
-0.3
-0.3
+0.3
-
-
-
+6.0
+6.0
-6.0
--±10mA
--±25mA
(VA-) - 0.3-(VA+) + 0.3V
DGND - 0.3-(VD+) + 0.3V
-40-85°C
-65-150°C
V
V
V
Notes: 17. All voltages with respect to ground.
18. VA+ and VA- must satisfy {(VA+) - (VA-)} +6.0 V.
19. VD+ and VA- must satisfy {(VD+) - (VA-)} +6.0 V.
20. Applies to all pins including continuous over-voltage conditions at the analog input (AIN) pins.
21. Transient current of up to 100 mA will not cause SCR latch-up.
22. Maximum DC input current for a power supply pin is ±50 mA.
23. Total power dissipation, including all input currents and output currents.
8DS487F5
CS5460A
SWITCHING CHARACTERISTICS
(TA= -40 °C to +85 °C; VA+ = 5.0 V ±10%; VD+ = 3.0 V ±10% or 5.0 V ±10%; VA- = 0.0 V; Logic Levels:
Logic 0 = 0.0 V, Logic 1 = VD+; CL = 50 pF))
Serial Clock FrequencySCLK--2MHz
Serial ClockPulse Width High
Pulse Width Low
SDI Timing
CS
Falling to SCLK Risingt
Data Set-up Time Prior to SCLK Risingt
Data Hold Time After SCLK Risingt
SCLK Falling Prior to CS
Disablet
SDO Timing
CS Falling to SDI Drivingt
SCLK Falling to New Data Bitt
Rising to SDO Hi-Zt
CS
Auto-boot Timing
Serial ClockPulse Width High
Pulse Width Low
MODE setup time to RESET
RESET
CS
SCLK falling to CS
CS
rising to CS fallingt
falling to SCLK risingt
risingt
rising to driving MODE low (to end auto-boot sequence).t
Risingt
SDO guaranteed setup time to SCLK risingt
Notes: 24. Device parameters are specified with a 4.096 MHz clock, yet, clocks between 3 MHz to 20 MHz can be
used. However, for input frequencies over 5 MHz, an external oscillator must be used.
25. If external MCLK is used, then duty cycle must be between 45% and 55% to ma intain this specification.
26. Specified using 10% and 90% points on wave-form of interest. Output loaded with 50 pF.
27. Oscillator start-up time varies with crystal parameters. This specification does not apply when using an
external clock source.
t
rise
t
fall
ost
t
t
t
10
t
11
12
13
14
15
16
17
-
-
-
-
-
-
50
50
-
-
-
-
1.0
100
-
1.0
100
-
µs
µs
ns
µs
µs
ns
-60-ms
1
2
3
4
5
6
7
8
9
200
200
50--ns
50--ns
100--ns
100--ns
-2050ns
-2050ns
-2050ns
-
-
8
8
-
-
ns
ns
MCLK
MCLK
50ns
48MCLK
1008MCLK
16MCLK
50ns
100ns
DS487F59
CS5460A
CS
SCLK
MSB MSB - 1
LSB
t
2
t
1
t
3
SDI
MSB MSB - 1
LSB
Command Time 8 SCLKs
LSB
t
6
MSB MSB - 1
LSB
MSB MSB - 1
High ByteMid ByteLow Byte
t
t
45
SDI Write Timing (Not to Scale)
CS
SDO
SCLK
MSB MSB- 1
LSB
t
2
t
1
t
8
t
7
SDI
MSB MSB - 1
LSB
Command Time 8 SCLKs
LSB
t
9
MSB MSB - 1
LSB
MSB MSB - 1
High ByteMid Byte
Low Byte
M
u
s
t
s
t
r
o
b
e
"
S
Y
N
C
0
"
c
o
m
m
a
n
d
o
n
S
D
I
w
h
e
n
r
e
a
d
i
n
g
e
a
c
h
b
y
t
e
o
f
d
a
t
a
f
r
o
m
S
D
O
.
SDO Read Timing (Not to Scale)
Figure 1. CS5460A Read and Write Timing Diagrams
10DS487F5
CS5460A
RES
SDI
SCLK
t
8
t
14
t
13
t
1
1
t
10
SDO
CS
t
5
t
4
Data from EEPROM
(Output)
(Output)
(Output)
(Input)
MODE
(Input)
t
12
t
15
t
16
STOP
BIT
LAST 8 BITS
(Input)
t
17
Figure 2. CS5460A Auto-boot Sequence Timing
DS487F511
CS5460A
2. OVERVIEW
The CS5460A is a CMOS monolithic power measurement device with a real power/energy computation engine. The CS5460A combines two
programmable gain amplifiers, two modulators,
two high rate filters, system calibration, and
rms/power calculation functions to provide instantaneous voltage/current/power data samples as
well as periodic computation results for real (billable) energy, V
modate lower cost metering applications, the
CS5460A can also generate pulse-train signals on
certain output pins, for which the number of pulses
emitted on the pins is proportional to the quantity of
real (billable) energy registered by the device.
The CS5460A is optimized for power measurement applications and is designed to interface to a
shunt or current transformer to measure current,
and to a resistive divider or potential transformer to
measure voltage. To accommodate various input
voltage levels, the current channel includes a programmable gain amplifier (PGA) which provides
two full-scale input levels, while the voltage channel’s PGA provides a single input voltage range.
With a single +5 V supply on VA+/-, both of the
CS5460A’s input channels can accomodate common mode + signal levels between -0.25 V and
VA+.
The CS5460A includes two high-rate digital filters
(one per channel), which decimate/integrate the
output from the 2 modulators. The filters yield
24-bit output data at a (MCLK/K)/1024 output word
rate (OWR). The OWR can be thought of as the effective sample frequency of the voltage channel and
the current channel.
To facilitate communication to a microcontroller,
the CS5460A includes a simple three-wire serial
interface which is SPI™ and Microwire™ compatible. The serial port has a Schmitt Trigger input on
its SCLK (serial clock) and RESET
slow rise time signals.
RMS
, and I
. In order to accom-
RMS
pins to allow for
2.1 Theory of Operation
A computational flow diagram for the two data
paths is shown in Fig. 3. The reader should refer to
this diagram while reading the following data processing description, which is covered
block-by-block.
2.1.1 Modulators
The analog waveforms at the voltage/current channel inputs are subject to the gains of the input
PGAs (not shown in Figure 3). These waveforms
are then sampled by the delta-sigma modulators at
a rate of (MCLK/K)/8 Sps.
2.1.2 High-rate Digital Low-pass Filters
The data is then low-pass filtered, to remove
high-frequency noise from the modulator output.
Referring to Figure 3, the high rate filter on the voltage channel is implemented as a fixed Sinc
The current channel uses a Sinc
lows the current channel to make accurate measurements over a wider span of the total input
range, in comparison to the accuracy range of the
voltage channel. (This subject is discussed more in
Section 2.2.1)
Also note from Figure 3 that the digital data on the
voltage channel is subjected to a variable time-delay filter. The amount of delay depends on the value of the seven phase compensation bits (see
Phase Compensation). Note that when the phase
compensation bits PC[6:0] are set to their default
setting of “0000000” (and if MCLK/K = 4.096 MHz)
then the nominal time delay that is imposed on the
original analog voltage input signal, with respect to
the original analog current input signal, is ~1.0
This translates into a delay of ~0.0216degrees at
60 Hz.
4
filter, which al-
2
filter.
µs.
2.1.3 Digital Compensation Filters
The data from both channels is then passed
through two FIR compensation filters, whose purpose is to compensate for the magnitude roll-off of
the low-pass filtering operation (mentioned earlier).
2.1.4 Digital High-pass Filters
Both channels provide an optional high-pass filter
(denoted as “HPF” in Figure 3) which can be engaged into the signal path, to remove the DC content from the current/voltage signal before the
RMS/energy calculations are made. These filters
are activated by enabling certain bits in the Configuration Register.
If the high-pass filter is engaged in only one of the
two channels, then the all-pass filter (see “APF” in
12DS487F5
CS5460A
VOLTAGE
SINC
2
+
x
V*
gn
x
V
*
CURRENT
SINC
4
+
x
I*
gn
x
x
TBC *
DELAY
REG
DELAY
REG
FIRHPF
APF
Configuration Register *
PC[6:0] Bits
x
I*
RMS
N
V*
RMS
N
4096
EtoF
E*
E
E
out
dir
PULSE-RATE*
* DENOTES REGISTER NAME
HPF
APF
FIR
SINC
2
I
*
P
*
N
SINC
2
-
-
I
ACoff
*
I
DCoff
*
V
ACoff
*
V
DCoff
*
+
P
off
*
÷
N
÷
N
Figure 3. Data Flow.
Figure 3) will be enabled on the other channel; in
order to preserve the relative phase relationship
between the voltage-sense and current-sense input signals. For example, i f the HPF is engaged for
the voltage channel, but not the current channel,
then the APF will be engaged in the current channel,
to nullify the additional phase delay introduced by
the high-pass filter in the current channel.
2.1.5 Overall Filter Response
When the CS5460A is driven with a 4.096 MHz
clock (K = 1), the composite magnitude response
(over frequency) of the voltage channel’s input filter network is shown in Figure 4, while the composite magnitude response of the current
channel’s input filter network is given in Figure 5.
Note that the composite filter response of both
channels scales with MCLK frequency and K.
2.1.6 Gain and DC Offset Adjustment
After filtering, the instantaneous voltage and current digital codes are subjected to offset/gain adjustments, based on the values in the DC offset
registers (additive) and the gain registers (multiplicative). These registers are used for calibration of
the device (see Section 3.8, Calibration). After offset and gain, the 24-bit instantaneous data sample
values are stored in the Instantaneous Voltage and
Current Registers.
2.1.7 Real Energy and RMS Computations
The digital instantaneous voltage and current data
is then processed further. Referring to Figure 3, the
DS487F513
instantaneous voltage/current data samples are
multiplied together (one multiplication for each pair
of voltage/current samples) to form instantaneous
(real) power samples. After each A/D conversion
cycle, the new instantaneous power sample is
stored in the Instantaneous Power Register.
The instantaneous power samples are then
grouped into sets of N samples (where N = value in
Cycle Count Register). The cumulative sum of
each successive set of N instantaneous power is
used to compute the result stored in the Energy
Register, which will be proportional to the amount
of real energy registered by the device during the
most recent N A/D conversion cycles. Note from
Figure 3 that the bits in this running energy sum
are right-shifted 12 times (divided by 4096) to
avoid overflow in the Energy Register. RMS calculations are also performed on the data using the
last N instantaneous voltage/current samples, and
these results can be read from the RMS Voltage
Register and the RMS Current Register.
2.2 Performing Measurements
To summarize Section 2.1, the CS5460A performs
measurements of instantaneous current and instantaneous voltage, and from this, performs computations of the corresponding instantaneous
power, as well as periodic calculations of real energy, RMS current, and RMS voltage. These measurement/calculation results are available in the
form of 24-bit signed and unsigned words. The
scaling of all output words is normalized to unity
full-scale. Note that the 24-bit signed output words
-2.5
-2.0
-1.5
-1.0
-0.5
0.0
0.5
Frequency (Hertz)
Gain (dB)
0200 400 600 800 1000 1200 1400 1600 1800 2000
Figure 4. Voltage Input Filter Characteristics
-2.5
-2
-1.5
-1
-0.5
0
0.5
0200 400 600 800 1000 1200 1400 1600 1800 2000
Gain (d B)
Frequency (Hertz)
Figure 5. Current Input Filter Characteristics
are expressed in two’s complement format. The
24-bit data words in the CS5460A output registers
represent values between 0 and 1 (for unsigned
output registers) or between -1 and +1 (for signed
output registers). A register value of 1 represents
the maximum possible value. Note that a value of
1.0 is never actually obtained in the registers of the
CS5460A. As an illustration, in any of the signed
output registers, the maximum register value is
[(2^23 - 1) / (2^23)] = 0.999999880791. After each
A/D conversion, the CRDY bit will be asserted in
the Status Register, and the INT
pin will also become active if the CRDY bit is unmasked (in the
Mask Register). The assertion of the CRDY bit indicates that new instantaneous 24-bit voltage and
current samples have been collected, and these
two samples have also been multiplied together to
provide a corresponding instantaneous 24-bit power sample.
Table 1 conveys the typical relationship between
the differential input voltage (across the “+” and “-”
input pins of the voltage channel input) and the corresponding output code in the Instantaneous Voltage Register. Note that this table is applicable for
the current channel if the current channel’s PGA
gain is set for the “10x” gain mode.
CS5460A
Output Code
Input Voltage (DC)
+250 mV
14.9 nV to 44.7 nV
-14.9 nV to 14.9 nV
-44.7 nV to -14.9 nV
-250 mV
T ab le 1. Differential Inpu t Voltage vs. Output Code
The V
RMS
, I
RMS
(hexidecimal)
7FFFFF8388607
0000011
0000000
FFFFFF-1
800000-8388608
, and energy calculations are updated every N conversions (which is known as 1
“computation cycle”), where N is the value in the
Cycle Count Register. At the end of each computation cycle, the DRDY bit in the Mask Register will
be set, and the INT
pin will become active if the
DRDY bit is unmasked.
DRDY is set only after each computation cycle has
completed, whereas the CRDY bit is asserted after
each individual A/D conversion. Bits asserted by
the CS5460A must be cleared before being asserted again. If the Cycle Count Register value (N) is
set to 1, all output calculations are instantaneous,
and DRDY will indicate when instantaneous calculations are finished, just like the CRDY bit. For the
RMS results to be valid, the Cycle-Count Register
must be set to a value greater than 10.
The computation cycle frequency is derived from
the master clock, and has a value of
(MCLK/K)/(1024*N). Under default conditions, with
Output Code
(decimal)
14DS487F5
CS5460A
EnergyVrmsIrms
Range (% of FS)
0.1% - 100%50% - 100%
0.2% - 100%
Max. Differential
Input
not applicable
V-channel:
±250 mV
I-channel:
±250
mV 10x
±50
mV 50x
Linearity
0.1% of
reading
0.1% of
reading
0.1% of
reading
Table 2. Available range of ±0.1% output linearity, with
default settings in the gain/offset registers.
a 4.096 MHz clock at XIN, and K = 1, instantaneous A/D conversions for voltage, current, and
power are performed at a 4000 Sps rate, whereas
I
RMS
, V
, and energy calculations are per-
RMS
formed at a 1 Sps rate.
2.2.1 CS5460A Linearity Performance
Table 2 lists the range of input levels (as a percentage of full-scale) over which the (linearity + variation) of the results in the Vrms, Irms and Energy
Registers are guaranteed to be within
reading after the completion of each successive
computation cycle. Note that until the CS5460A is
calibrated (see Calibration) the accuracy of the
CS5460A with respect to a reference line-voltage
and line-current level on the power mains is not
guaranteed to within
±0.1%. After both channels of
the device are calibrated for offset/gain, the ±0.1%
of reading spec will also reflect accuracy of the
Vrms, Irms, and Energy Register results. Finally,
observe that the maximum (full-scale) differential
input voltage for the voltage channel (and current
channel, when its PGA is set for 10x gain) is
250 mV (nominal). If the gain registers of both
channels are set to 1 (default) and the two DC
offset registers are set to zero (default), then a
250mV DC signal applied to the voltage/current
inputs will measure at (or near) the maximum
value of 0.9999... in the RMS Current/Voltage
Registers. Remember that the RMS value of a
250 mV (DC) signal is also 250 mV. However, for
either input channel, it would not be practical to inject a sinusoidal voltage with RMS value of
250 mV. This is because when the instantaneous
value of such a sine wave is at or near the level of
its positive/negative peak regions (over each cy-
±0.1 % of
cle), the voltage level of this signal would exceed
the maximum differential input voltage range of the
input channels. The largest sine wave voltage signal that can be presented across the inputs, with
no saturation of the inputs, is:
250 mV / sqrt(2) = ~176.78 mV (RMS),
which is ~70.7% of full-scale. This would imply that
for the current channel, the (linearity+variation) tolerance of the RMS measurements for a purely sinusoidal 60 Hz input signal could be measured to
within
±0.1% of reading over a magnitude range of
0.2% - 70.7% of the maximum full-scale differential input voltage level.
The range over which the (linearity + variation) will
remain within ±0.1% can often be increased by selecting a value for the Cycle-Count Register such
that the time duration of one computation cycle is
equal to (or very close to) a whole-number of power-line cycles (and N must be greater than or equal
to 4000). For example, with the cycle count set to
4200, the ±0.1% of reading (linearity + variation)
range for measurement of a 60 Hz sinusoidal current-sense voltage signal can be increased beyond
the range of 0.2% - 70.7%. The accuracy range
will be increased because (4200 samples / 60 Hz)
is a whole number of cycles (70). Note that this increase in the measurement range refers to an extension of the low end of the input scale (i.e., this
does not extend the high-end of the range above
100% of full-scale). This enables accurate measurement of even smaller power-line current levels, thereby extending the load range over which
the power meter can make accurate energy measurements. Increasing the accuracy range can be
beneficial for power metering applications which
require accurate power metering over a very large
load range.
DS487F515
2.2.2 Single Computation Cycle (C=0)
Note that ‘C’ refers to the value of the C bit, contained in the ‘Start Conversions’ command (see
Section 4.1). This commands instructs the
CS5460A to perform conversions in ‘single computation cycle’ data acquisition mode. Based on the
value in the Cycle Count Register, a single computation cycle is performed after a ‘Start Conversions’
command is sent to the serial interface. After the
computations are complete, DRDY is set. 32
SCLKs are then needed to read out a calculation
CS5460A
result from one of several result registers. The first
8 SCLKs are used to clock in the command to determine which register is to be read. The last 24
SCLKs are used to read the desired register. After
reading the data, the serial port remains in the ac-tive state, and waits for a new command to be issued. (See Section 3 for more details on reading
register data from the CS5460A).
2.2.3 Continuous Computation Cycles
(C=1)
When C = 1, the CS5460A will perform conversions
in ‘continuous computation cycles’ data acquisition
mode. Based on the information pro vided in the Cycle Count Register, computation cycles are repeatedly performed on the voltage and current cha nnels
(after every N conversions). Computation cycles
cannot be started/stopped on a ‘per-channel’ basis.
After each computation cycle is completed, DRDY
is set. Thirty-two SCLKs are then needed to read a
register. The first 8 SCLKs are used to clock in the
command to determine which results register is to
be read. The last 24 SCLKs are used to read out the
24-bit calculation result. While in this acquisition
mode, the designer/programmer may choose to acquire (read) only those calculations required for
their particular application, as DRDY repeatedly indicates the availability of new data. No te again that
the MCU firmware must reset the DRDY bit to “0”
before it can be asserted again.
Referring again to Figure 3, note that within the
Irms and Vrms data paths, prior to the square-root
operation, the instantaneous voltage/current data
is low-pass filtered by a Sinc
is decimated to every Nth sample. Because of the
2
Sinc
filter operation, the first output for each channel will be invalid (i.e. all RMS calculations are invalid in the ‘single computation cycle’ data
acquisition mode and the first RMS calculation results will be invalid in the ‘continuous computation
cycles’ data acquisition mode). However, all energy calculations will be valid since energy calculations do not require this Sinc
If the ’Start Conversions’ command is issued to the
CS5460A (see Section 4.1, Commands (Write On-ly)), and if the ‘C’ bit in this command is set to a value of ‘1’, the device will remain in its active state.
Once commanded into continuous computation
2
filter. Then the data
2
operation.
cycles data acquisition mode, the CS5460A will
continue to perform A/D conversions on the voltage/current channels, as well as all subsequent
calculations, until:
1) the ‘Power-Up/Halt’ command is received
through the serial interface, or
2) loss of power, or
3) the RS bit in the Configuration Register is asserted (‘software reset’), or
4) the /RESET pin is asserted and then de-asserted (‘hardware reset’).
2.3 Basic Application Circuit
Configurations
Figure 6 shows the CS5460A connected to a service to measure power in a single-phase 2-wire
system operating from a single power supply. Note
that in this diagram the shunt resistor used to monitor the line current is connected on the “Line” (hot)
side of the power mains. In most residential power
metering applications, the power meter’s current-sense shunt resistor is intentionally placed on
the ‘hot’ side of the power mains in order to help
detect any attempt by the subscriber to steal power. In this type of shunt-resistor configuration, note
that the common-mode level of the CS5460A must
be referenced to the hot side of the power line. This
means that the common-mode potential of the
CS5460A will typically oscillate to very high positive voltage levels, as well as very high negative
voltage levels, with respect to earth ground potential. The designer must therefore be careful when
attempting to interface the CS5460A’s digital output lines to an external digital interface (such as a
LAN connection or other communication network).
Such digital communication networks may require
that the CMOS-level digital interface to the meter is
referenced to an earth-ground. In such cases, the
CS5460A’s digital serial interface pins must be iso-lated from the external digital interface, so that
there is no conflict between the ground references
of the meter and the external interface. The
CS5460A and associate circuitry should be enclosed in a protective insulated case when used in
this configuration, to avoid risk of harmful electric
shock to humans/animals/etc.
Figure 7 shows how the same single-phase
two-wire system can be metered while achieving
16DS487F5
CS5460A
VA+VD+
0.1 µF100 µ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
EDIR
EOUT
0.1 µF
VREFIN
12
VREFOUT
11
VA-DGND
134
3
To Service
2.5 MHz to
20 MHz
0.1 µF
C
10 k
5k
L
R
Shunt
V+
*
* Refer to Input Protection
CS5460A
*
** Refer to Input Filtering
R
V-
*
R
I-
*
R
I+
*
C
I+
*
*
ISOLATION
120 VAC
Mech. Counter
Stepper Motor
or
22
21
+
NOTE: Current channel
input measures voltage
(just like voltage input).
C
V-
**
C
I-
**
C
**
Vdiff
C
**
Idiff
Figure 6. Typical Connection Diagram (One-Phase 2-Wire, Direct Connect to Power Line)
complete isolation from the power lines. This isolation is achieved using three transformers. One
transformer is a general-purpose voltage transformer, used to supply the on-board DC power to
the CS5460A. A second transformer is a high-precision, low-impedance voltage transformer (often
called a ‘potential transformer’) with very little
roll-off/phase delay, even at the higher harmonics.
A current transformer is then used to sense the line
current. A burden resistor placed across the secondary of the current transformer creates the current-sense voltage signal, for the CS5460A’s
current channel inputs. Because the CS5460A is
not directly connected to the power mains, isolation is not required for the CS5460A’s digital interface.
Figure 8 shows the CS5460A configured to measure power in a single-phase 3-wire system. In
many 3-wire residential power systems within the
United States, only the two Line terminals are
available (neutral is not available). Figure 9 shows
how the CS5460A can be configured to meter a
3-wire system when no neutral is available.
DS487F517
Loading...
+ 37 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.