Atmel M90E26Single-Phase High-Performance Wide-SpanEnergy Metering ICDATASHEETFEATURES Metering Features • Metering features fully in compliance with the requirements of IEC62052-11, IEC62053-21 and IEC62053-23; applicable in class 1 or class 2 single-phase watt- hour meter or class 2 single-phase var-hour meter. • Accuracy of 0.1% for active energy and 0.2% for reactive energy over a dynamic range of 5000:1. • Temperature coefficient is 15 ppm/ ℃ (typical) for on-chip reference voltage • Single-point calibration over a dynamic range of 5000:1 for active energy; no cali- bration needed for reactive energy. • Energy Meter Constant doubling at low current to save verification time. • Electrical parameters measurement: less than ±0.5% fiducial error for Vrms, Irms, mean active/ reactive/ apparent power, frequency, power factor and phase angle. • Forward/ reverse active/ reactive energy with independent energy registers. Active/ reactive energy can be output by pulse or read through energy registers to adapt to different applications. • Programmable startup and no-load power threshold. • Dedicated ADC and different gains for L line and N line current sampling circuits. Current sampled over shunt resistor or current transformer (CT); voltage sampled over resistor divider network or potential transformer (PT). • Programmable L line and N line metering modes: anti-tampering mode (larger power), L line mode (fixed L line), L+N mode (applicable for single-phase three-wire system) and flexible mode (configure through register). • Programmable L line and N line power difference threshold in anti-tampering mode. Other Features • 3.3V single power supply. Operating voltage range: 2.8~3.6V. Metering accuracy guaranteed within 3.0V~3.6V. 5V compatible for digital input. • Built-in hysteresis for power-on reset. • Selectable UART interface and SPI interface (four-wire SPI interface or simplified three-wire SPI interface with fixed 24 cycles for all registers operation). • Parameter diagnosis function and programmable interrupt output of the IRQ inter- rupt signal and the WarnOut signal. • Programmable voltage sag detection and zero-crossing output. • Channel input range - Voltage channel (when gain is '1'): 120μVrms~600mVrms. - L line current channel (when gain is '24'): 5μVrms~25mVrms. - N line current channel (when gain is '1'): 120μVrms~600mVrms. • Programmable L line current gain: 1, 4, 8, 16, 24; Programmable N line gain: 1, 2, 4. • Support L line and N line offset compensation. • CF1 and CF2 output active and reactive energy pulses respectively which can be used for calibration or energy accumulation. • Crystal oscillator frequency: 8.192 MHz. Atmel-46002B-SE-M90E26-Datasheet_110714 Document Outline Features Application Description Block Diagram 1 Pin Assignment 2 Pin Description 3 Functional Description 3.1 Dynamic Metering Range 3.2 Startup and No-Load Power 3.3 Energy Registers 3.4 N Line Metering and Anti-Tampering 3.4.1 Metering Mode and L/N Line Current Sampling Gain Configuration 3.4.2 Anti-Tampering Mode Threshold Compare Method Special Treatment at Low Power 3.5 Measurement and Zero-Crossing 3.5.1 Measurement 3.5.2 Zero-Crossing 3.6 Calibration 3.7 Reset 4 Interface 4.1 SPI Interface 4.1.1 Four-Wire Mode Read Sequence Write Sequence 4.1.2 Three-Wire Mode 4.1.3 Timeout and Protection 4.2 UART Interface 4.2.1 Byte Level Timing 4.2.2 Write Transaction 4.2.3 Read transaction 4.2.4 Checksum 4.3 WarnOut Pin for Fatal Error Warning 4.4 Low Cost Implementation in Isolation with MCU 5 Register 5.1 Register List 5.2 Status and Special Register SoftReset Software Reset SysStatus System Status FuncEn Function Enable SagTh Voltage Sag Threshold SmallPMod Small-Power Mode LastData Last Read/Write SPI/UART Value 5.3 Metering/ Measurement Calibration and Configuration 5.3.1 Metering Calibration and Configuration Register LSB RMS/Power 16-bit LSB CalStart Calibration Start Command PLconstH High Word of PL_Constant PLconstL Low Word of PL_Constant Lgain L Line Calibration Gain Lphi L Line Calibration Angle Ngain N Line Calibration Gain Nphi N Line Calibration Angle PStartTh Active Startup Power Threshold PNolTh Active No-Load Power Threshold QStartTh Reactive Startup Power Threshold QNolTh Reactive No-Load Power Threshold MMode Metering Mode Configuration CS1 Checksum 1 5.3.2 Measurement Calibration Register AdjStart Measurement Calibration Start Command Ugain Voltage rms Gain IgainL L Line Current rms Gain IgainN N Line Current rms Gain Uoffset Voltage Offset IoffsetL L Line Current Offset IoffsetN N Line Current Offset PoffsetL L Line Active Power Offset QoffsetL L Line Reactive Power Offset PoffsetN N Line Active Power Offset QoffsetN N Line Reactive Power Offset CS2 Checksum 2 5.4 Energy Register Theory of Energy Registers APenergy Forward Active Energy ANenergy Reverse Active Energy ATenergy Absolute Active Energy RPenergy Forward (Inductive) Reactive Energy RNenergy Reverse (Capacitive) Reactive Energy RTenergy Absolute Reactive Energy EnStatus Metering Status 5.5 Measurement Register Irms L Line Current rms Urms Voltage rms Pmean L Line Mean Active Power Qmean L Line Mean Reactive Power Freq Voltage Frequency PowerF L Line Power Factor Pangle Phase Angle between Voltage and L Line Current Smean L Line Mean Apparent Power Irms2 N Line Current rms Pmean2 N Line Mean Active Power Qmean2 N Line Mean Reactive Power PowerF2 N Line Power Factor Pangle2 Phase Angle between Voltage and N Line Current Smean2 N Line Mean Apparent Power 6 Electrical Specification 6.1 Electrical Specification 6.2 SPI Interface Timing 6.3 Power On Reset Timing 6.4 Zero-Crossing Timing 6.5 Voltage Sag Timing 6.6 Pulse Output 6.7 Absolute Maximum Rating Ordering Information Packaging Drawings Revision History