欢迎访问ic37.com |
会员登录 免费注册
发布采购

71M6531D 参数 Datasheet PDF下载

71M6531D图片预览
型号: 71M6531D
PDF下载: 下载PDF文件 查看货源
内容描述: 电能计量IC [Energy Meter IC]
分类和应用:
文件页数/大小: 115 页 / 2363 K
品牌: TERIDIAN [ TERIDIAN SEMICONDUCTOR CORPORATION ]
 浏览型号71M6531D的Datasheet PDF文件第82页浏览型号71M6531D的Datasheet PDF文件第83页浏览型号71M6531D的Datasheet PDF文件第84页浏览型号71M6531D的Datasheet PDF文件第85页浏览型号71M6531D的Datasheet PDF文件第87页浏览型号71M6531D的Datasheet PDF文件第88页浏览型号71M6531D的Datasheet PDF文件第89页浏览型号71M6531D的Datasheet PDF文件第90页  
Data Sheet 71M6531D/F-71M6532D/F  
FDS 6531/6532 005  
4.3  
CE Interface Description  
4.3.1 CE Program  
The CE performs the precision computations necessary to accurately measure energy. Different code  
variations are used for EQU = 0 and EQU = 1 or 2. The computations include offset cancellation, prod-  
ucts, product smoothing, product summation, frequency detection, VAR calculation, sag detection, peak  
detection and voltage phase measurement. All data computed by the CE is dependent on the selected  
meter equation as given by EQU (in I/O RAM). Although EQU = 0 and EQU = 2 have the same element  
mapping, the MPU code can use the value of EQU to decide if element 2 is used for tamper detection  
(typically done by connecting VB to VA) or as a second independent element.  
The CE program is supplied by Teridian 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 CE code may be available from TERIDIAN. The description in this section  
applies to CE code revision CE31A04 (for EQU = 0). Deviations for code revision CE31A03 (for EQU = 1  
or 2) are noted where applicable.  
4.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.  
4.3.3 Constants  
Constants used in the CE Data Memory tables are:  
FS = 32768 Hz/13 = 2520.62 Hz.  
F0 is the fundamental frequency.  
IMAX is the external rms current corresponding to 250 mV pk at the inputs IA and IB.  
VMAX is the external rms voltage corresponding to 250 mV pk at the VA and VB inputs.  
NACC, the accumulation count for energy measurements is PRE_SAMPS*SUM_CYCLES.  
The duration of the accumulation interval for energy measurements is PRE_SAMPS*SUM_CYCLES/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.8798*10-6 V.  
The system constants IMAX and VMAX are used by the MPU to convert internal quantities (as used by  
the CE) to external, i.e. metering quantities. Their values are determined by the off-chip 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/SAG_THRLSB, where SAG_THRLSB is the LSB value in the description of SAG_THR.  
The parameters EQU, CE_E, PRE_SAMPS and SUM_CYCLES essential to the function of the CE are stored  
in I/O RAM (see Section 4.2 I/O RAM Description – Alphabetical Order).  
4.3.4 Environment  
Before starting the CE using the CE_E bit, the MPU has to establish the proper environment for the CE by  
implementing the following steps:  
Load the CE data into RAM.  
Establish the equation to be applied in EQU.  
Establish the accumulation period and number of samples in PRE_SAMPS and SUM_CYCLES.  
Establish the number of cycles per ADC multiplexer frame (MUX_DIV).  
Set PLS_INTERVAL[7:0] to 81.  
Select the proper values for FIR_LEN (2) and MUX_DIV (4).  
86  
© 2005-2009 TERIDIAN Semiconductor Corporation  
v1.2