English
Language : 

71M6533 Datasheet, PDF (95/132 Pages) Teridian Semiconductor Corporation – Energy Meter IC
FDS_6533_6534_004
71M6533/G/H and 71M6534/H Data Sheet
5.3 CE Interface Description
5.3.1 CE Program
The CE performs the precision computations necessary to accurately measure power. These computations
include offset cancellation, phase compensation, product smoothing, product summation, frequency
detection, VAR calculation, sag detection and voltage phase measurement. All data computed by the CE
is dependent on the selected meter equation as given by EQU[2:0] (in I/O RAM). As a function of
EQU[2:0], the element components V0 through I2 take on different meanings.
The Teridian CE program is supplied as a data image that can be merged with the MPU operational code
for meter applications. Typically, the CE program covers most applications and does not need to be
modified. Other variations of the CE code may be available. The description in this section applies to CE
code revision CE34A02D, which functions for both the 71M6533 and the 71M6534. This version of the
CE code does not process the ID current channel. Also available are CE codes capable of calculating
and measuring the ID channel.
5.3.2 CE Data Format
All CE words are 4 bytes. Unless specified otherwise, they are in 32-bit two’s complement format
(-1 = 0xFFFFFFFF). Calibration parameters are defined in flash memory (or external EEPROM) and
must be copied to CE data memory by the MPU before enabling the CE. Internal variables are used in
internal CE calculations. Input variables allow the MPU to control the behavior of the CE code. Output
variables are outputs of the CE calculations. The corresponding MPU address for the most significant
byte is given by 0x0000 + 4 x CE_address and by 0x0003 + 4 x CE_address for the least significant byte.
5.3.3 Constants
Constants used in the CE Data Memory tables are:
• Sampling Frequency: FS = 32768 Hz/13 = 2520.62 Hz.
• F0 is the fundamental frequency of the mains phases.
• IMAX is the external rms current corresponding to 250 mV pk at the inputs IA, IB and IC.
• VMAX is the external rms voltage corresponding to 250 mV pk at the VA, VB and VC inputs.
• NACC, the accumulation count for energy measurements is PRE_SAMPS[1:0]*SUM_CYCLES[5:0]. This
value also resides in SUM_PRE (CE address 0x23) where it is used for phase angle measurement.
• The duration of the accumulation interval for energy measurements is
PRE_SAMPS[1:0]*SUM_CYCLES[5:0]/FS.
• ln_8 is a gain constant of the current channel, n. Its value is 8 or 1 and is controlled by In_SHUNT.
• X is a gain constant of the pulse generators. Its value is determined by PULSE_FAST and PULSE_SLOW.
• Voltage LSB for sag detection = VMAX * 7.879810-9 V.
The system constants IMAX and VMAX are used by the MPU to convert internal digital quantities (as
used by the CE) to external, i.e. metering quantities. Their values are determined by the scaling of the
voltage and current sensors used in an actual meter. The LSB values used in this document relate digital
quantities at the CE or MPU interface to external meter input quantities. For example, if a SAG threshold
of 80 V peak is desired at the meter input, the digital value that should be programmed into SAG_THR
would be 80 V/SAG_THRLSB, where SAG_THRLSB is the LSB value in the description of SAG_THR.
The parameters EQU[2:0], CE_E, PRE_SAMPS[1:0], and SUM_CYCLES[5:0], essential to the function of
the CE, are stored in I/O RAM (see Section 5.2 I/O RAM Description – Alphabetical Order).
Rev 2
95