STPM01 Programmable single phase energy metering IC with tamper detection Features Active, reactive, apparent energies and RMS values Ripple free active energy pulsed output Live and neutral monitoring for tamper detection Easy and fast digital calibration in only one TSSOP20 point over the whole current range OTP for calibration and configuration Integrated linear VREGs for digital and analog supply dedicated command set. The configured bits are Selectable RC or crystal oscillator used for testing, configuration and calibration purpose. From a pair of output signals coming Support 50 60 Hz IEC62052-11, IEC62053- from analog section, a DSP unit computes the 2x specification amount of consummated active, reactive and Less than 0.1 % error apparent energy, RMS and instantaneous values Precision voltage reference: 1.23 V and 30 of voltage and current. The results of computation ppm/C max are available as pulse frequency and states on the digital outputs of the device or as data bits in a data stream, which can be read from the device Description by means of SPI interface. This system bus The STPM01 is designed for effective interface is used also during production testing of measurement of active, reactive and apparent the device and/or for temporary or permanent energy in a power line system using Rogowski programming of bits of internal OTP. In the coil, current transformer and shunt sensors. This STPM01 an output signal with pulse frequency device can be implemented as a single chip proportional to energy is generated, this signal is monophase energy meter or as a peripheral used in the calibration phase of the energy meter measurement in a microcontroller based application allowing a very easy approach. When monophase or 3-phase energy meter. The the device is fully configured and calibrated, a STPM01 consists, essentially, of two parts: the dedicated bit of OTP block can be written analog part and the digital part. The former, is permanently in order to prevent accidental st composed by preamplifier and 1 order A/D entering into some test mode or changing any converter blocks, band gap voltage reference, low configuration bit. drop voltage regulator, the latter, is composed by system control, oscillator, hard wired DSP and SPI interface. There is also an OTP block, which is controlled through the SPI by means of a Table 1. Device summary Order code Temperature range Package Packaging STPM01FTR - 40 to 85 C TSSOP20 (tape and reel) 2500 parts per reel June 2011 Doc ID 10853 Rev 8 1/60 www.st.com 60Contents STPM01 Contents 1 Schematic diagram . 5 2 Pin configuration . 6 3 Maximum ratings 8 4 Functions 9 5 Electrical characteristics 11 6 Terminology . 14 6.1 Measurement error 14 6.2 ADC offset error 14 6.3 Gain error . 14 6.4 Power supply DC and AC rejection . 14 6.5 Conventions . 14 7 Typical performance characteristics . 15 8 Theory of operation 17 8.1 General operation description . 17 8.2 Analog inputs 17 8.3 A/D converters 19 8.4 Zero crossing detection 19 8.5 Period and line voltage measurement . 20 8.6 Single wire meter mode (only Rogowsky coil sensor) . 21 8.7 Power supply 22 8.8 Load monitoring 23 8.9 Error detection . 24 8.10 Tamper detection module . 24 8.10.1 Detailed operational description 25 8.11 Phase compensation 26 8.12 Clock generator 26 2/60 Doc ID 10853 Rev 8