STEVAL-IHP001V3 STMicroelectronics, STEVAL-IHP001V3 Datasheet

BOARD SMART PLUG STM32 SPZB260PR

STEVAL-IHP001V3

Manufacturer Part Number
STEVAL-IHP001V3
Description
BOARD SMART PLUG STM32 SPZB260PR
Manufacturer
STMicroelectronics
Series
Zigbee™ SmartPlugr
Type
Microcontroller, Energy Meteringr
Datasheets

Specifications of STEVAL-IHP001V3

Frequency
2.4GHz
For Use With/related Products
STM32F10x, SPZB260-PRO, STPM01
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-10677
Features
Description
The STPM01 is designed for effective
measurement of active, reactive and apparent
energy in a power line system using Rogowski
coil, current transformer and shunt sensors. This
device can be implemented as a single chip
monophase energy meter or as a peripheral
measurement in a microcontroller based
monophase or 3-phase energy meter. The
STPM01 consists, essentially, of two parts: the
analog part and the digital part. The former, is
composed by preamplifier and 1st order Δ
converter blocks, band gap voltage reference, low
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.
October 2010
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
point over the whole current range
OTP for calibration and configuration
Integrated linear VREGs for digital and analog
supply
Selectable RC or crystal oscillator
Support 50 ÷ 60 Hz – IEC62052-11, IEC62053-
2x specification
Less than 0.1 % error
Precision voltage reference: 1.23 V and 30
ppm/°C max
STPM01FTR
Order code
Device summary
Temperature range
Programmable single phase energy metering IC
- 40 to 85 °C
Doc ID 10853 Rev 7
A/D
TSSOP20 (tape and reel)
dedicated command set. The configured bits are
used for testing, configuration and calibration
purpose. From a pair of Δ
from analog section, a DSP unit computes the
amount of consummated active, reactive and
apparent energy, RMS and instantaneous values
of voltage and current. The results of computation
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
by means of SPI interface. This system bus
interface is used also during production testing of
the device and/or for temporary or permanent
programming of bits of internal OTP. In the
STPM01 an output signal with pulse frequency
proportional to energy is generated, this signal is
used in the calibration phase of the energy meter
application allowing a very easy approach. When
the device is fully configured and calibrated, a
dedicated bit of OTP block can be written
permanently in order to prevent accidental
entering into some test mode or changing any
configuration bit.
Package
with tamper detection
TSSOP20
output signals coming
2500 parts per reel
Packaging
STPM01
www.st.com
1/60
60

Related parts for STEVAL-IHP001V3

STEVAL-IHP001V3 Summary of contents

Page 1

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 point over the whole current range ■ ...

Page 2

Contents Contents 1 Schematic diagram 2 Pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 3

STPM01 8.12.1 8.13 Resetting the STPM01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 4

List of tables List of tables Table 1. Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 5

STPM01 List of figures Figure 1. Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 6

Schematic diagram 1 Schematic diagram Figure 1. Block diagram 6/60 Doc ID 10853 Rev 7 STPM01 ...

Page 7

STPM01 2 Pin configuration Figure 2. Pin connections (top view) Table 2. Pin description Pin n° Symbol Type 1 MON MOP SCS OUT DDD 5 V GND SS 6 ...

Page 8

Maximum ratings 3 Maximum ratings Absolute maximum ratings (see Note:) Table 3. Symbol V DC Input voltage CC I Current on any pin (sink/source) PIN Input voltage at digital pins (SCS, MOP, MON, SYN, SDATD SCLNLC, LED) V ...

Page 9

STPM01 4 Functions Table 5. Programmable pin functions Programmable pin (APL register MON Output for Stepper’s node (MB) MOP Output for Stepper’s node (MA) If APL=2 then LED provides high frequency pulses proportional to Active Energy with 50% ...

Page 10

Functions Table 6. Internal signal description Symbol Name ZCR Zero crossing signal AW Active energy RW Reactive energy SW Apparent energy LIN Line frequency signal BFR Base frequency range MA Stepper motor signals MB BIT Tamper flag BIL No load ...

Page 11

STPM01 5 Electrical characteristics °C, 100 between and V , 100 between V SS Table 7. Electrical characteristics Symbol Parameter Energy measurement ...

Page 12

Electrical characteristics Table 7. Electrical characteristics (continued) Symbol Parameter Current injection latch-up I LATCH immunity Analog Inputs ( IP1 IN1 IP2 IN2 V Maximum input signal levels MAX f A/D Converter bandwidth ADC f ...

Page 13

STPM01 Table 7. Electrical characteristics (continued) Symbol Parameter R External resistor P C External capacitors P f Nominal output frequency CLK Figure RC oscillator (see circuit I Settling current CLKIN R Settling resistor SET t Frequency jitter JIT On chip ...

Page 14

Terminology 6 Terminology 6.1 Measurement error The error associated with the energy measurement made by the STPM01 is defined as: Percentage error = [STPM01 (reading) - true energy] / true energy 6.2 ADC offset error This is the error due ...

Page 15

STPM01 7 Typical performance characteristics Figure 3. Supply current vs. supply voltage °C A Figure 5. RC oscillator: frequency jitter vs. temperature Figure 7. Digital voltage regulator: line - load regulation Typical performance characteristics Figure 4. RC ...

Page 16

Typical performance characteristics Figure 9. Power supply AC rejection vs. V Figure 11. Error over dynamic range gain dependence Figure 13. Gain response of ΔΣ AD converters 16/60 Figure 10. Power supply DC rejection vs Figure 12. Primary ...

Page 17

STPM01 8 Theory of operation 8.1 General operation description The STPM01 is able to perform active, reactive and apparent energy measurements, RMS and instantaneous values for voltage and current, line frequency information. Most of the functions are fully programmable using ...

Page 18

Theory of operation The maximum differential input voltage is dependent on the selected gain according to the following table. Table 8. Gain of voltage and current channels Voltage channels Gain 4 The gain register is included in the device configuration ...

Page 19

STPM01 ∑Δ A/D converters 8.3 The analog to digital conversion in the STPM01 is carried out using two first order ∑ Δ converters. The device performs A/D conversions of analog signals on two independent channels in parallel. The current channel ...

Page 20

Theory of operation Figure 15. ZCR signal 8.5 Period and line voltage measurement The period module measures the period of the base frequency of the voltage channel and checks if the voltage signal frequency is within the f LIN signal ...

Page 21

STPM01 Figure 16. LIN and BFR signal The BFR flag is also set if the register value of the RMS voltage drops below 64. BFR is cleared when the register value goes above 128. The BFR, then, also gives information ...

Page 22

Theory of operation for tampering purposes or in case the line voltage is very stable possible to use a predefined value for computing the energy without sensing it. In order to enable the SWM mode, the STPM01 must ...

Page 23

STPM01 capacitor should be connected between V these capacitors must be located very close to the device. The STPM01 contains a power on reset (POR) detection circuit. If the V than 2.5 V then the STPM01 goes into an inactive ...

Page 24

Theory of operation When a no load condition occurs (BIL=1) the integration of power is suspended and the tamper module is disabled. In standalone mode load condition is detected, the BIL signal blocks generation of pulses for ...

Page 25

STPM01 The tamper circuit works if the energies associated with the two current channels are both positive or negative, if the two energies have different sign, the tamper is on all the time however, the channel with the associated higher ...

Page 26

Theory of operation samples, called B and A respectively, the criteria of tamper is calculated and the channel with higher current is selected, resulting in a new tamper state. If four consecutive new results of criteria happen, i.e. after elapsed ...

Page 27

STPM01 the nominal frequency value of CLKOUT. Two nominal frequency ranges are expected, from 4.000 MHz to 4.194 MHz (MDIV = 0) or from 8.000 MHz to 8.192 MHz (MDIV = 1). Figure 20. Different oscillator circuits (a): with quartz; ...

Page 28

Theory of operation 8.13 Resetting the STPM01 The STPM01 has no reset pin. The device is automatically reset by the POR circuit when the V crosses the 2.5 V value but it can be reset also through the SPI interface ...

Page 29

STPM01 In a practical example where APL = 2, and the desired P is 64000 pulses/kWh (= 17.7 Hz*kW), we have 7.63*10 This means that the reading of 0x00001 in the active energy register represents 7.63 ...

Page 30

Theory of operation Figure 21. Positive energy stepper driving signals Figure 22. Negative energy stepper driving signals When a no-load condition is detected MOP and MON are held low. 8.16 Using STPM01 in microcontroller based meter (peripheral) The higher flexibility ...

Page 31

STPM01 It is expected that an application microcontroller should access the data in the metering device on regular basis at least 1/s (recommended is 32/s). Every latching of results in the metering device requested from the microcontroller also resets the ...

Page 32

Theory of operation Table 15. Status bit description Bit # Name Description 0 BIL No load condition ∑ Δ signals status 1 BCF 2 BFR Line frequency range 3 BIT Tamper condition 4 MUX Current channel selection 5 LIN Trend ...

Page 33

STPM01 The first 6 registers are read-only except for the 8 bit mode signals in the DFP register (the mode signals will be described later in this paragraph). The last two registers CFL and CFH can be also written because ...

Page 34

Theory of operation The very first CFG bit, called TSTD, is used to disable any change of system signals after it was permanently set. During the configuration phase, each bit set to logic level 1 will increase the supply current ...

Page 35

STPM01 Table 16. Configuration bits map (continued) Address n. of Name 6-bit bits DEC binary 000101 5 000110 6 PST 3 (1) 000111 7 001000 8 FRS 1 001001 9 MSBF 1 001010 10 FUND 1 001011 11 1 001100 ...

Page 36

Theory of operation Table 16. Configuration bits map (continued) Address n. of Name 6-bit bits DEC binary 010000 16 2 (1) 010001 17 010010 18 BGTC 2 (1) 010011 19 010100 20 010101 21 CPH 4 010110 22 (1) 010111 ...

Page 37

STPM01 Table 16. Configuration bits map (continued) Address n. of Name 6-bit bits DEC binary 110000 48 CRC 2 (1) 110001 49 110010 50 NOM 2 (1) 110011 51 110100 52 ADDG 1 110101 53 CRIT 1 110110 54 LVS ...

Page 38

Theory of operation Table 17. Mode signals description Signal Bit Bit # name value 0 0 BANK Used for RC startup procedure 1 0 MOP and MON operates normally 1 PUMP MOP and MON provides the driving signals to implement ...

Page 39

STPM01 – BANK used to activate RC oscillator (see 8.21 SPI interface The SPI interface supports a simple serial protocol, which is implemented in order to enable a communication between some master system (microcontroller or PC) and the ...

Page 40

Theory of operation 8.21.1 Remote reset The timing diagram of the operation is shown on the short as 30 ns. The internal reset signal is named RRR. Unlike the POR, the RRR signal does not cause the 30 ms retard ...

Page 41

STPM01 division makes sense with the MSB of data value because the MSN of it holds the parity code rather than useful data. Figure 25. Data records reconstruction The sequence of data record during the reading operation is fixed. Normally, ...

Page 42

Theory of operation → Latching phase. Interval value > 2 → Data latched, SPI idle. Interval value > → Enable SPI for read operation. Interval ...

Page 43

STPM01 → → data value is placed in SDA SDA value is stable and shifted into the device 4 → → ...

Page 44

Theory of operation 1. activate SYN first in order to latch the results; 2. after at least 1µs activate SCS; 3. write one byte to the transmitter of SPI (this will produce 8 pulses on SCL with SDI=1); 4. deactivate ...

Page 45

STPM01 Equation 3 ω i( • sin ( t + where I is the peak current, between voltage and current. 8.24.1 Active power Figure 28. Active energy computation diagram In the STPM01, after the pre-conditioning and the A/D ...

Page 46

Theory of operation Equation 6 dv/dt → v( i(t) → ∫ = ⋅ [see Figure Now four signals are available. Combining (pairing) them by means ...

Page 47

STPM01 Equation 11 ∫ = ⋅ Equation 12 [ ∫ ′ = ⋅ The signals process flow will be the same as ...

Page 48

Theory of operation Equation ⋅ The reactive power will present then a ripple at twice the line frequency. Since the average value of a sinusoid is ...

Page 49

STPM01 Equation RMS 2 The RMS voltage value is obtained as: Equation ∫ RMS T 0 For the apparent power another value is produced: Equation ∫ ′ ...

Page 50

STPM01 calibration 9 STPM01 calibration Energy meters based on STPM01 device are calibrated in a fast and easy way. The calibration is essentially based on the single calibration of the voltage and current channel considering their RMS values rather than ...

Page 51

STPM01 As shown in Table certain error. Voltage ADC amplification Av is constant, while Ai is chosen according to used sensors. The calibration algorithm will firstly calculate the voltage divider ratio and, as final result, the correction parameters, called Kv ...

Page 52

STPM01 calibration V DIV Choosing R2 = 500 Ω (connected between V V and V ) value is obtained: LINE IP Indicating with I A current, and with X calculated, the final values for calibrators can be calculated as: If ...

Page 53

STPM01 10 Application Design The choice of the external components in the transduction section of the application is a crucial point in the application design, affecting the precision and the resolution of the whole system. Among the several considerations, a ...

Page 54

Application Design Figure 29. STPM01 reference schematic with one current transformer and one shunt 54/60 Doc ID 10853 Rev 7 STPM01 ...

Page 55

STPM01 Figure 30. STPM01 with 3X charge pump DC-DC converter Doc ID 10853 Rev 7 Application Design 55/60 ...

Page 56

Package mechanical data 11 Package mechanical data In order to meet environmental requirements, ST offers these devices in different grades of ® ECOPACK packages, depending on their level of environmental compliance. ECOPACK specifications, grade definitions and product status are available ...

Page 57

STPM01 Dim. Min 0.05 A2 0.8 b 0.19 c 0.09 D 6.4 E 6 0° PIN 1 IDENTIFICATION 1 TSSOP20 mechanical data mm. Typ. Max. 1.2 0.15 1 ...

Page 58

Package mechanical data Tape & reel TSSOP20 mechanical data Dim. Min 12 6.8 Bo 6.9 Ko 1.7 Po 3.9 P 11.9 58/60 mm. Typ. Max. Min. 330 13.2 0.504 0.795 2.362 22.4 ...

Page 59

STPM01 12 Revision history Table 22. Document revision history Date Revision 28-Sep-2004 1 22-Dec-2005 2 24-Oct-2006 3 06-Feb-2006 4 12-Jan-2009 5 03-Apr-2009 6 19-Oct-2010 7 Preliminary data. Document updated. The chapter 9 updated. Modified Figure 11. Modified address 11 Table ...

Page 60

... Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. ...

Related keywords