Datasheet

MAX71020
Single-Chip Electricity Meter AFE
13Maxim Integrated
XPULSE and YPULSE
Pulses generated by the CE may be exported to the
XPULSE and YPULSE pulse output pins. Pins D2 and D3
are used for these pulses, respectively. The XPULSE and
YPULSE outputs can be updated once on each pass of
the CE code. See the CE Interface Description section
for details.
VPULSE and WPULSE
By default, WPULSE and VPULSE are negative pulses
(i.e., low level pulses, designed to sink current through
an LED). PLS_MAXWIDTH[7:0] determines the maximum
negative pulse width T
MAX
in units of 2.458MHz clock
cycles based on the pulse interval T
I
according to the
formula:
T
MAX
= (2 x PLS_MAXWIDTH[7:0] + 1) x T
I
T
I
is based on an internal value that determines the pulse
interval and the ADC clock, both of which are determined
by the particular characteristics of the CE code. In the
MAX71020, the default value for T
I
is 65.772µs, but this
value may change in customized versions of this device.
If PLS_MAXWIDTH = 255 no pulse-width checking is per-
formed, and the pulses default to 50% duty cycle. T
MAX
is typically programmed to 10ms (T
MAX
= 76), which
works well with most calibration systems.
The polarity of the pulses may be inverted with the control
bit PLS_INV. When PLS_INV is set, the pulses are active-
high. The default value for PLS_INV is zero, which selects
active-low pulses.
The WPULSE and VPULSE pulse generator outputs are
available on pins D0/WPULSE and D1/VPULSE, respectively.
Temperature Sensor
The MAX71020 includes an on-chip temperature sen-
sor for determining the temperature of its bandgap
reference. The primary use of the temperature data is to
determine the magnitude of compensation required to
offset the thermal drift in the system for the compensation
of current, voltage, and energy measurement. See the
Metrology Temperature Compensation section.
The temperature sensor is awakened on command from
the host controller by setting the TEMP_START control
bit. The host controller must wait for the TEMP_START bit
to clear before reading STEMP[15:0] and before setting
the TEMP_START bit once again.
The result of the temperature measurement can be read
from the STEMP[15:0] register. The 16-bit value is in
two’s complement form and ranges from -1024 to +1023
(decimal). The sensed temperature can be computed
from the 16-bit STEMP[15:0] reading using the following
formula:
Temp (NC) = 0.33 x STEMP + 21.77
An additional register, VSENSE[7:0], senses the level of
the supply voltage. Table 4 shows the registers used for
temperature measurement.
Digital I/O
On reset or power-up, all DIO pins are configured as high
impedance. DIO pins can be configured independently
by the host controller by manipulating the D0, D1, D2,
and D3 bit fields.
Table 3. Pulse Output Function Assignments
OUTPUT FUNCTION
XPULSE Pulse output on each zero crossing on voltage input
YPULSE Pulse output when voltage sag detected
VPULSE Pulse output when programmed VARh consumption has occurred
WPULSE Pulse output when programmed Wh consumption has occurred