ADE7880Data SheetFUNCTIONAL BLOCK DIAGRAMRESETREFIN/OUT VDD AGNDAVDDDVDDDGND41726252456AIRMSOSPORLDOLDO27ADE7880APGAINCLKINX2AIRMS2 PM027LPFCLKOUT 283 PM11.2VREFHPFEN OFDIGITALX2AVRMSLPFCONFIG3INTEGRATOR AIGAIN27CF1DENIAP 7 PGA1ADCHPFIAN 8AVRMSOSDFC:33 CF1HPFEN OFAPGAINAWATTOSAPHCALCONFIG3AVGAINCF2DENLPFVAP 23PHASE A,PGA3ADCPHASE B,HPFAPGAINAFWATTOSDFCAND:34 CF2/HREADYPHASE CDATACOMPUTATIONALCF3DENIBP 9BLOCK FORPGA1ADCTOTAL/FUNDAMENTAL ACTIVE ENERGIESFUNDAMENTALAPGAINAFVAROSIBN 12FUNDAMENTAL REACTIVE ENERGYACTIVE ANDAPPARENT ENERGYREACTIVE POWERDFC:35 CF3/HSCLKVOLTAGE CURRENT RMSHARMONIC INFORMATION CALCULATIONVBP 22FOR PHASE BPGA3ADC(SEE PHASE A FOR DETAILED DATA PATH)COMPUTATIONAL29 IRQ0BLOCK FORICP 13HARMONICSPI/I2CPGA1INFORMATION ON32 IRQ1ADCTOTAL/FUNDAMENTAL ACTIVE ENERGIESPHASE A CURRENTICN 14FUNDAMENTAL REACTIVE ENERGYAPPARENT ENERGYAND VOLTAGEVOLTAGE/CURRENT RMS36 SCLK/SCLHARMONIC INFORMATION CALCULATIONVCP 19FOR PHASE CPGA3(SEE PHASE A FOR DETAILED DATA PATH)38 MOSI/SDAADCVN 18I2C37 MISO/HSDCOMPUTATIONAL BLOCK FOR HARMONICINFORMATION ON NEUTRAL CURRENT39 SS/HSAHPFEN OFDIGITALHSDCCONFIG3INTEGRATOR NIGAINNIRMSOSINP 15DIGITAL SIGNALPGA2ADCX2NIRMSHPFPROCESSORINN 16LPF 001 10193- Figure 1. ADE7880 Functional Block Diagram Rev. C | Page 4 of 107 Document Outline FEATURES APPLICATIONS GENERAL DESCRIPTION TABLE OF CONTENTS REVISION HISTORY FUNCTIONAL BLOCK DIAGRAM SPECIFICATIONS TIMING CHARACTERISTICS ABSOLUTE MAXIMUM RATINGS THERMAL RESISTANCE ESD CAUTION PIN CONFIGURATION AND FUNCTION DESCRIPTIONS TYPICAL PERFORMANCE CHARACTERISTICS TEST CIRCUIT TERMINOLOGY POWER MANAGEMENT PSM0—NORMAL POWER MODE (ALL PARTS) PSM1—REDUCED POWER MODE PSM2—LOW POWER MODE PSM3—SLEEP MODE (ALL PARTS) POWER-UP PROCEDURE HARDWARE RESET SOFTWARE RESET FUNCTIONALITY THEORY OF OPERATION ANALOG INPUTS ANALOG-TO-DIGITAL CONVERSION Antialiasing Filter ADC Transfer Function CURRENT CHANNEL ADC Current Waveform Gain Registers Current Channel HPF Current Channel Sampling di/dt CURRENT SENSOR AND DIGITAL INTEGRATOR VOLTAGE CHANNEL ADC Voltage Waveform Gain Registers Voltage Channel HPF Voltage Channel Sampling CHANGING PHASE VOLTAGE DATA PATH POWER QUALITY MEASUREMENTS Zero-Crossing Detection Zero-Crossing Timeout Phase Sequence Detection Time Interval Between Phases Period Measurement Phase Voltage Sag Detection Sag Level Set Peak Detection Overvoltage and Overcurrent Detection Overvoltage and Overcurrent Level Set Neutral Current Mismatch PHASE COMPENSATION REFERENCE CIRCUIT DIGITAL SIGNAL PROCESSOR ROOT MEAN SQUARE MEASUREMENT Current RMS Calculation Current RMS Offset Compensation Current Mean Absolute Value Calculation Current MAV Gain and Offset Compensation Voltage Channel RMS Calculation Voltage RMS Offset Compensation Voltage RMS in 3-Phase, 3-Wire Delta Configurations ACTIVE POWER CALCULATION Total Active Power Calculation Fundamental Active Power Calculation Managing Change in Fundamental Line Frequency Active Power Gain Calibration Active Power Offset Calibration Sign of Active Power Calculation Active Energy Calculation Integration Time Under Steady Load Active Energy Accumulation Modes Line Cycle Active Energy Accumulation Mode FUNDAMENTAL REACTIVE POWER CALCULATION Fundamental Reactive Power Gain Calibration Fundamental Reactive Power Offset Calibration Sign of Fundamental Reactive Power Calculation Fundamental Reactive Energy Calculation Integration Time Under Steady Load Fundamental Reactive Energy Accumulation Modes Line Cycle Reactive Energy Accumulation Mode APPARENT POWER CALCULATION Apparent Power Gain Calibration Apparent Power Offset Calibration Apparent Power Calculation Using VNOM Apparent Energy Calculation Integration Time Under Steady Load Apparent Energy Accumulation Modes Line Cycle Apparent Energy Accumulation Mode POWER FACTOR CALCULATION HARMONICS CALCULATIONS Harmonics Calcuations Theory Configuring the Harmonic Calculations Harmonic Calculations When a Phase is Monitored Harmonic Calculations When the Neutral is Monitored Configuring Harmonic Calculations Update Rate Recommended Approach to Managing Harmonic Calculations WAVEFORM SAMPLING MODE ENERGY-TO-FREQUENCY CONVERSION Synchronizing Energy Registers with CFx Outputs Energy Registers and CF Outputs for Various Accumulation Modes Sign of Sum of Phase Powers in the CFx Data Path NO LOAD CONDITION No Load Detection Based On Total Active Power and Apparent Power No Load Detection Based on Fundamental Active and Reactive Powers No Load Detection Based on Apparent Power CHECKSUM REGISTER INTERRUPTS Using the Interrupts with an MCU SERIAL INTERFACES Serial Interface Choice Communication Verification I2C-Compatible Interface I2C Write Operation I2C Read Operation I2C Read Operation of Harmonic Calculations Registers SPI-Compatible Interface SPI Read Operation SPI Read Operation of Harmonic Calculations Registers SPI Write Operation HSDC Interface ADE7880 QUICK SETUP AS ENERGY METER LAYOUT GUIDELINES CRYSTAL CIRCUIT ADE7880 EVALUATION BOARD DIE VERSION SILICON ANOMALY ADE7880 FUNCTIONALITY ISSUES FUNCTIONALITY ISSUES SECTION 1. ADE7880 FUNCTIONALITY ISSUES REGISTERS LIST OUTLINE DIMENSIONS ORDERING GUIDE