ST UM2898 User Manual Download Page 1

Introduction

The 

STDES-EMETER1PV1

 single-phase smart meter is based on 

STM32L433VCT6

 MCU featuring ARM Cortex-M4 core and

STPM33

 IC for electricity metering with an accuracy of 0.1%.

It measures electric energy consumption over defined time intervals and sends collected data back to the utility for monitoring
and billing, also tracking all the tampers, with the correct date and time.

The smart meter meets the most up-to-date smart metering requirements, such as multi-tariff billing, reactive energy
measurement and power quality monitoring to enhance generation, distribution, customer service and billing.

The 

STDES-EMETER1PV1

 comes with an expansion connector to provide GPRS/SubGHz connectivity and a relay control

which allows remotely connecting/disconnecting the load.

The embedded 

STPM33

 IC belongs to an ASSP family of mixed signals designed for high accuracy measurement of power and

energy in power line systems using a Rogowski coil, current transformer or shunt current sensors.

The device provides instantaneous voltage and current waveforms and calculates voltage and current RMS values, active,
reactive and apparent powers and energies for each channel in compliance with accuracy standards (EN 50470-x, IEC
62053-2x, ANSI12.2x for AC watt meters).

The 

STDES-EMETER1PV1

 single-phase smart meter is a fully assembled board developed for performance evaluation only,

not available for sale.

Figure 1. 

STDES-EMETER1PV1 single-phase smart meter

Fully assembled board developed for

performance evaluation only,

not available for sale

Getting started with the STDES-EMETER1PV1 single phase smart meter

UM2898

User manual

UM2898

 - 

Rev 1

 - 

August 2021

For further information contact your local STMicroelectronics sales office.

www.st.com

Summary of Contents for UM2898

Page 1: ...he load The embedded STPM33 IC belongs to an ASSP family of mixed signals designed for high accuracy measurement of power and energy in power line systems using a Rogowski coil current transformer or...

Page 2: ...ronym Definition ASSP Application specific standard product LED Light emitting diode MCU Microcontroller unit SPI Serial peripheral interface RF Radio frequency communication USB Universal serial bus...

Page 3: ...EEPROM interfaced using I C with MCU to store accumulated energy Switch interface for case tamper and terminal cover tamper Low power mode supported Neutral missing tamper detection implemented using...

Page 4: ...g connector 1 2 3 4 5 6 7 8 2 3 System requirements To run the STDES EMETER1PV1 single phase smart meter you need an STDES EMETER1PV1 an ST LINK V2 in circuit debugger programmer a PC laptop running W...

Page 5: ...s EEPROM GPRS 6LoWPAN UART1 I2C1 IrDA UART2 GPIO GPIO GPIO GPIO GPIO Case Tamper Detection Terminal Cover Relay Control User Switch Control STPM33 METERING HALL EFFECT SENSOR SPI2 Radio Possible to ad...

Page 6: ...Figure 5 STDES EMETER1PV1 bottom view UM2898 Hardware description UM2898 Rev 1 page 6 31...

Page 7: ...reference buffer a low power RTC one general purpose 32 bit timer one 16 bit PWM timer dedicated to motor control four general purpose 16 bit timers and two 16 bit low power timers In addition up to...

Page 8: ...r VCC 1 1 SWCLK 9 2 GND 10 3 SWDIO 7 4 NRST 15 5 Figure 6 STDES EMETER1PV1 and ST LINK V2 pins Dotted yellow lines identify pin 1 and pink dotted lines identify pin 5 Figure 7 STDES EMETER1PV1 and ST...

Page 9: ...nect to the target Figure 8 STM32 ST LINK utility target connection Step 5 Open the binary file Figure 9 STM32 ST LINK utility file opening UM2898 How to run the single phase smart meter UM2898 Rev 1...

Page 10: ...programmed with the binary file the LCD displays various values one by one as shown below Figure 11 STDES EMETER1PV1 LCD display while running 1 Voltage 2 Current 3 Active power 4 Frequency 5 Date 6...

Page 11: ...es 4 STM32 HAL driver files 5 EEPROM NVRAM handler files 6 Minishell file 7 Minishell task files 8 Metrology driver files 9 Include files to select ST devices 10 Metrology task files 1 2 3 4 5 6 7 8 9...

Page 12: ...ltage is built at VDD it reads and stores in the EEPROM RUN State refreshes metering data reading by reading STPM33 updates LCD updates EEPROM Tamper State if any tamper is detected stores the details...

Page 13: ...R SOURCE 1 SOURCE 2 VCC 3 GND 4 IREF 5 ZCD FB 6 COMP 7 NA 8 NA 9 NA 10 NA 11 NC 12 DRAIN 13 DRAIN 14 DRAIN 15 DRAIN 16 R51 100K C25 2 2u 25V R28 1K R8 33K L22 2 2uH R18 51K R4 6 8M 1W D23 Green R32 1K...

Page 14: ...M 0402 R80 1M 0402 R83 0E 0402 R85 0E 0402 Q10 STS6P3LLH6 1 2 3 4 8 7 6 5 R81 0E 0402 SW5 MODULE OPEN SW 2 3 5 1 4 6 R86 10K Q6 STS6P3LLH6 1 2 3 4 8 7 6 5 SW1 TOP COVER OPEN SW 2 3 5 1 4 6 R70 1K C62...

Page 15: ...3 PB7_I2C1_SDA PB6_I2C1_SCL PB12_GPIO 3V3 U7 AH180 OUT 3 GND 2 VDD 1 R39 50K U1 M24M01 R DU 1 E1 2 E2 3 VSS 4 SDA 5 SCL 6 WC 7 VCC 8 R5 4 7K C26 10nF R6 4 7K C1 10nF PB6_I2C1_SCL 3V3 PD7_MCU_GPIO_WC P...

Page 16: ...2 0 J13 CON22 2 4 6 8 10 12 14 16 18 20 1 3 5 7 9 11 13 15 17 19 21 22 R105 0 R101 0 R48 1K R74 470E R63 0 R94 0 R99 0 R38 0 R36 0 R35 0 R33 0 R68 0E R97 0 R103 0 R91 0 Q7 2STR1215 1 3 2 R95 0 R46 0 R...

Page 17: ...12 43 PE13 44 PE14 45 PE15 46 PB10 47 PB11 48 VSS_3 49 VDD_3 50 PB12 51 PB13 52 PB14 53 PB15 54 PD8 55 PD9 56 PD10 57 PD11 58 PD12 59 PD13 60 PD14 61 PD15 62 PC6 63 PC7 64 PC8 65 PC9 66 PA8 67 PA9 68...

Page 18: ...RT_RXD 3V3 3V3 R11 100E 1W Q11 2STR2230 3 2 1 C10 1uF U4 DBLS208GRD Plus 1 Minus 3 AC1 2 AC2 4 R106 220E R109 1K PD1 TX 1 2 C9 1uF PQ1 RX 1 2 J3 CON2 1 2 U2 INS21829399 LDK220U33R OUT 1 IN 3 GND 2 GND...

Page 19: ...HEADER 7X2 2 4 6 8 10 12 14 1 3 5 7 9 11 13 R25 0E R17 0E R15 0E R26 0E D22 DIODE J25 REALY_CON 1 2 3 Q8 2STR1215 1 3 2 R71 0E R13 0E R22 0E R75 1K R77 1K D21 DIODE Q9 2STR1215 1 3 2 R16 0E RELAY_3 PB...

Page 20: ...150pF 50V C33 150pF 50V R43 10K C40 150pF 50V C42 150pF 50V L14 10uH R56 100E R55 470 R60 Shunt C34 100nF 16V C35 150pF 50V L12 10uH C52 10nF 25V R66 1K R57 1K C45 15pF C41 1uF 25V R41 10K R52 270K R6...

Page 21: ...4 2 Q6 Q10 STS6P3LLH6 SMA P channel 30 V 0 024 Ohm typ 6 A STripFET VI DeepGATE Power MOSFET in SO 8 package ST STS6P3LLH6 5 3 Q7 Q8 Q9 2STR1215 SOT 23 Low voltage fast switching NPN power transistor...

Page 22: ...Any 16 6 C3 C4 C5 C6 C7 C15 0 1 F SMD0805 6 3 V Capacitors Any Any 17 2 C8 C11 6 8 pF SMD0805 10 V Capacitors Any Any 18 4 C9 C10 C19 C20 1 F SMD0805 10 V Capacitors Any Any 19 1 C14 1 F SMD0805 10 V...

Page 23: ...y Any 38 1 C60 1 nF THT 8x11 5 pitch 3 5 50 V Capacitor Any Any 39 1 C66 22 nF X2 THT lead spacing 15 mm 18 mm x 7 mm x 12 5 mm 50 V Capacitor Any Any 40 1 C68 22 F THT 10 V Capacitor Any Any 41 2 D12...

Page 24: ...mm Inductor Any Any 62 1 L21 CM THT Inductor Any Any 63 1 L22 2 2 H SMD Inductor EPCOS B82721 K2701 64 2 NTC1 NTC2 16E 2 4 W 16 Ohms 2 9 amps 1207 k Inrush current limiters TDK B57236S0160M000V9 65 1...

Page 25: ...55 470 SMD0207 Resistor Any Any 85 1 R58 22 K SMD0805 Resistor Any Any 86 1 R60 THT Resistor Isabellenhuette Heusler GmbH Co KG BKW M R0003 5 0 87 1 R61 6E SMD0603 Resistor Any Any 88 1 R65 560K SMD08...

Page 26: ...umber 101 1 Y3 16 MHz THT pitch 5 mm THT Any Any 102 2 U4 U9 DBLS208GRD Bridge rectifier Taiwan Semiconductor DBLS208GRD 103 1 U7 AH180 Board mount Hall effect magnetic sensor Diodes Incorporated AH18...

Page 27: ...Revision history Table 4 Document revision history Date Revision Changes 23 Aug 2021 1 Initial release UM2898 UM2898 Rev 1 page 27 31...

Page 28: ...ponent description 7 4 1 STPM33 7 4 2 STM32L433VCT6 7 4 3 ALTAIR04 900 7 5 How to run the single phase smart meter 8 6 Firmware description 11 6 1 Overview 11 6 2 Folder structure 11 6 3 APIs 11 6 4 S...

Page 29: ...Table 1 List of acronyms 2 Table 2 STDES EMETER1PV1 and ST LINK V2 pin connection 8 Table 3 STDES EMETER1PV1 bill of materials 21 Table 4 Document revision history 27 UM2898 List of tables UM2898 Rev...

Page 30: ...ST LINK utility file selected 10 Figure 11 STDES EMETER1PV1 LCD display while running 10 Figure 12 STSW EMETER1 FW folder structure 11 Figure 13 STSW EMETER1 FW state machine 12 Figure 14 STDES EMETE...

Page 31: ...ts and ST assumes no liability for application assistance or the design of Purchasers products No license express or implied to any intellectual property right is granted by ST herein Resale of ST pro...

Reviews: