CS5467
22 DS714F3
For each enabled input channel, the measured value is
rectified and compared to the associated level register
.
Over the duration window, the number of samples
above and below the level are counted. If the number of
samples below the level exceeds the number of sam-
ples above, a
Status register bit V1
SAG
(V2
SAG
),
I1
FAULT
(I2
FAULT
) is set, indicating a sag or fault condi-
tion. (see Figure 8)..
6.12 Epsilon
The Epsilon register is used to set the gain of the 90°
phase shift used in the quadrature power calculation.
The value in the
Epsilon register is the ratio of the line
frequency to the output word rate (OWR). It is, by de-
fault, 50/4000 (0.0125), for 50 Hz line and 4000 Hz sam-
ple (OWR) frequencies.
For 60 Hz line frequency, it is 60/4000 (0.015). Other
output word rates (OWR) can be used.
Epsilon can also be calculated automatically by the
CS5467 by setting the AFC bit in the Mode Control
(
Modes) register. The Frequency Update bit (FUP) in
the
Status register is set every time the Epsilon register
has been automatically updated.
6.13 Temperature Measurement
The on-chip temperature sensor is designed to mea-
sure temperature and optionally compensate for tem-
perature drift of the voltage reference. It uses the V
BE of
a transistor to determine temperature.
In the CS5467, voltage2 and temperature are multi-
plexed on one ADC channel. To initiate a temperature
measurement, write
1 to the Temperature Measure-
ment (
T
MEAS
) register. T
MEAS
will go through counts 1,
2, 4, and back to 0. Wait for
T
MEAS
to return to 0. When
done, Temperature (
T) is updated. The Status register
bit TUP also indicates when the Temperature register is
updated. The Voltage2 register (
V2) will not update dur-
ing the temperature measurement, but resume mea-
surement afterwards.
Temperature measurements are stored in the Temper-
ature register (
T) which, by default, is configured to a
range of ±128 degrees on the Celsius (°C) scale.
The application program can change both the scale and
range of Temperature (
T) by changing the Temperature
Gain
(T
GAIN
) and Temperature Offset (T
OFF
) registers.
Two values must be known — the transistor’s
VBE per
degree, and the transistor’s V
BE at 0 degrees. At the
time of this publication, these values are:
VBE (per degree) = 0.2769523 mV/°C or °K
V
BE
0 = 79.2604368 mV at 0°C
To determine the values to write to
T
GAIN
and T
OFF
, use
the following formulae:
T
GAIN
= AD
FS
/ VBE / T
FS
x 2
17
T
OFF
= -V
BE
0 / AD
FS
x 2
23
In the above equations, AD
FS
is the full-scale input
range of the temperature A/D converter or 833.333 mV
and T
FS
is the desired full-scale range of the Tempera-
ture (
T) register. The binary exponents are the bit posi-
tions of the binary point of these registers.
To use the Celsius scale (°C) and cover the chip’s oper-
ating temperature range of -40°C to +85°C, the Temper-
ature register range needs to be ±128 degrees. T
FS
should be 128 degrees.
T
GAIN
= 833.333 / 0.2769523 / 128 x 131072
= 3081155 (0x2F03C3)
T
OFF
= -79.2604368 / 833.333 x 8388608
= -797862 (0xF3D35A)
These are the actual default values for these registers.
T
GAIN
and T
OFF
can also be used to calibrate the gain
and/or offset of the temperature sensor or A/D convert-
er. (See Section 9.
System Calibration on page 40).
To use the Kelvin (°K) scale, simply add 273 times
VBE
/ AD
FS
x 2
23
to T
OFF
since 0°C = 273°K,. You will also
need more range. Since -40°C to +85°C is 233°K to
358°K, a T
FS
of 512 degrees should be used in the
T
GAIN
calculation.
To use the Fahrenheit (°F) scale, multiply
VBE by 5/9
and add 32 times the new
VBE/ AD
FS
x 2
23
to T
OFF
since 0°C = 32°F. You will also want to use aT
FS
of 256
degrees to cover the -40°C to +85°C range.
Figure 8. Sag and Fault Detect
CS5467
DS714F3 23
7. USING THE CS5467
7.1 Initialization
The CS5467 uses a power-on-reset circuit (POR) to
provide an internal reset until the analog voltage reach-
es 4.0 V. The RESET
input pin can also be used by the
application circuit to reset the part.
After RESET
is removed and the oscillator is stable, an
initialization program is executed to set the default reg-
ister values.
A Software Reset command is also provided to allow
the application to run the initialization program without
removing power or asserting RESET
.
The application should avoid sending commands during
initialization. The DRDY bit in the
Status register indi-
cates when the initialization program has completed.
7.2 Power-down States
The CS5467 has two power-down states, stand-by and
sleep. In the stand-by state, all circuitry except the volt-
age reference and crystal oscillator is powered off. In
sleep state, all circuitry except the instruction decoder is
powered off.
To return the device to the active state, send a Wake-
up/Halt command to the device. When returning from
stand-by mode, registers will retain their contents prior
to entering the stand-by state. When returning from
sleep mode, a complete initialization occurs.
7.3 Voltage Tamper Correction
The CSS5467 provides compensation for meter tam-
pering on voltage channels.
If the application detects that the voltage input has been
impaired it may choose to use the fixed internal RMS
voltage reference by setting the VFIX bit in the
Modes
register. The value of this reference (VF
RMS
) is by de-
fault 0.707107 (full-scale RMS) but can be changed by
the application program. (See figure 9)
Figure 9. Fixed RMS Voltage Selection
CS5467
24 DS714F3
7.4 Command Interface
Commands and data are transferred most-significant bit
(MSB) first. Figure 1 on page 12, defines the serial port
timing. Commands are clocked in on SDI using SCLK.
They are a single byte (8 bits) long and fall into one of
four basic types:
1. Register Read
2. Register Write
3. Synchronizing
4. Instructions
Register reads will cause up to four bytes of register
data to be clocked out, MSB first on the SDO pin by
SCLK. During this time, other commands can be
clocked in on the SDI pin. Other commands will not in-
terrupt read data, except another register read, which
will cause the new read data to appear on SDO.
Synchronizing can be sent while read data is being
clocked out if no other commands need to be sent.
Synchronizing commands are also used to synchronize
the serial port to a byte boundary. The CS
and RESET
pins will also synchronize the serial port.
Register writes require three bytes of write data to fol-
low, clocked in on the SDI pin, MSB first by SCLK.
Instructions are commands that will interrupt any in-
struction currently executing and begin the new instruc-
tion. These include conversions, calibrations, power
control, and soft reset.
(See Section 7.6
Commands on page 25).
7.5 Register Paging
Read and Write commands access one of 32 registers
within a specified page. The Register Page Select reg-
ister’s (
Page) default value is 0. To access registers in
another page, write the desired page number to the
Page register. The Page register is always at address
31 and is accessible from within any page.

CS5467-ISZR

Mfr. #:
Manufacturer:
Cirrus Logic
Description:
Current & Power Monitors & Regulators IC 4-Ch Single Phase 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