STPM10 Programmable single-phase energy metering IC with tamper detection Datasheet - production data energy in a power line system using current transformer and shunt sensors. The device can be implemented for peripheral measurement in a microcontroller-based single-phase or poly-phase energy meter. The STPM10 consists of two main sections: analog and digital. The analog part is composed of preamplifier and first-order sigma- delta A/D converter blocks, a band-gap voltage reference and low-drop voltage regulator. The Features digital part is composed of system control, Measures active, reactive, and apparent oscillator, hard-wired DSP and SPI interface. energies There is also an internal volatile memory, which Current, voltage RMS and instantaneous is controlled through the SPI by means of a measurement dedicated command set. The configured bits are used for configuration and calibration purposes. Frequency measurement From a pair of sigma-delta output signals Ripple-free active energy pulsed output produced by the analog section, the DSP unit Live and neutral monitoring for tamper computes the amount of active, reactive and detection apparent energy consumed, as well as the RMS Fast and simple one-point digital calibration and instantaneous voltage and current values. over the whole current range The results of the computation are available as Integrated linear voltage regulators for digital pulse frequencies and states on the digital and analog supply outputs of the device, or as data bits in a data Selectable RC or crystal oscillator stream, which can be read from the device by Supports 50 - 60 Hz - IEC62052-11, means of the SPI interface. The system bus IEC62053- 2x specifications interface is also used for temporary programming Less than 0.1% error in the 1000:1 range of bits of internal volatile memory. The STPM10 Precision voltage reference: 1.23 V with 30 generates an output signal with a pulse ppm/C max. frequency proportional to the energy, and this signal is used in the calibration phase of the Description energy metering application. The STPM10 is designed for effective measurement of active, reactive and apparent Table 1: Device summary Oder code Temperature range Package Packing STPM10BTR - 40 to 85 C TSSOP20 ( tape and reel) 2500 pieces per reel February 2017 DocID17728 Rev 5 1/47 www.st.com This is information on a product in full production. Contents STPM10 Contents 1 Schematic diagram .......................................................................... 6 2 Pin configuration ............................................................................. 7 3 Electrical ratings ............................................................................. 9 4 Electrical characteristics .............................................................. 10 5 Terminology ................................................................................... 13 5.1 Measurement error .......................................................................... 13 5.2 ADC offset error .............................................................................. 13 5.3 Gain error ........................................................................................ 13 5.4 Power supply DC and AC rejection ................................................. 13 5.5 Conventions .................................................................................... 13 6 Typical performance characteristics ........................................... 14 7 Theory of operation ....................................................................... 17 7.1 General operation description ......................................................... 17 7.2 Analog inputs .................................................................................. 17 7.3 A/D converters ........................................................................... 18 7.4 Zero-crossing detection ................................................................... 19 7.5 Period and line voltage measurement ............................................. 19 7.6 Power supply ................................................................................... 21 7.7 Load monitoring .............................................................................. 21 7.8 Error detection ................................................................................. 22 7.9 Tamper detection module ............................................................... 22 7.9.1 Detail operational description ........................................................... 23 7.10 Phase compensation ....................................................................... 23 7.11 Clock generator ............................................................................... 24 7.11.1 RC start-up procedure ...................................................................... 24 7.12 Resetting the STPM10 .................................................................... 25 7.13 Using the STPM10 in microcontroller-based meters ....................... 25 7.14 Energy-to-frequency conversion ..................................................... 25 7.15 Status bit ......................................................................................... 26 7.16 Programming the STPM10 .............................................................. 27 7.16.1 Data records ..................................................................................... 27 7.17 Configuration bits ............................................................................ 28 2/47 DocID17728 Rev 5