ST UM2898 Bedienungsanleitung

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

1Acronyms and abbreviations
Table 1. List of acronyms
Acronym 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
UM2898
Acronyms and abbreviations
UM2898 - Rev 1 page 2/31

2Getting started
2.1 Overview
The STDES-EMETER1PV1 features:
• Based on STM32L433VCT6 (100 pins, LQFP) and STPM33
•STPM33 interfaced using SPI with MCU
• Current transformer (CT) and shunt sensing supported for current measurements
• Shunt connected on the primary channel and CT on the secondary
• Active energy difference of two channels signaling tamper condition
• Magnetic tamper detection using Hall effect sensor by MCU interrupt line
• 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 special duty cycling algorithm
• Connectors for GPRS or Sub 1-GHz connectivity
• Measuring RMS/instantaneous voltage, current, kW and power factor (PF)
• Glass LCD (1/8 duty cycle and 20 segments) driven by the MCU LCD controller
2.2 Hardware requirements
The STDES-EMETER1PV1 input power must be supplied by 220 VAC. A load of few watts must be connected at
load end to test the application.
UM2898
Getting started
UM2898 - Rev 1 page 3/31

Figure 2. STDES-EMETER1PV1 smart meter main sections
1. Power supply section
2. 220 VAC input power
3. Load
4. Shunt
5. STPM33 IC
6. RTC battery slot
7. STM32L433VCT6 MCU
8. Programming connector
1
234
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 Windows 7 or 10
• IAR v8.3 development tool chain or STM32 ST LINK utility
• STSYS-NS073.bin software for application programming
UM2898
System requirements
UM2898 - Rev 1 page 4/31

3Hardware description
Figure 3. STDES-EMETER1PV1 hardware block diagram
LCD
(1/8 Duty Cycle,20 segment)
SPI1
LCD Bus
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 add)
STM32L433VCT6
(100-pin MCU)
Figure 4. STDES-EMETER1PV1 top view
UM2898
Hardware description
UM2898 - Rev 1 page 5/31

Figure 5. STDES-EMETER1PV1 bottom view
UM2898
Hardware description
UM2898 - Rev 1 page 6/31

4Component description
4.1 STPM33
The STPM33 belongs to a mixed signal IC family designed for high accuracy measurement of power and
energies in power line systems using the Rogowski coil, current transformer or shunt current sensors.
The STPM3x provides instantaneous voltage and current waveforms. It also calculates RMS values of voltage
and currents, active, reactive and apparent power and energies.
The analog section consists of up to two programmable gain low-noise low-offset amplifiers and up to four second
order 24-bit sigma-delta ADCs, two band gap voltage references with independent temperature compensation, a
low drop voltage regulator and DC buffers.
The digital section consists of digital filtering stage, a hardwired DSP, DFE to the input and a serial communication
interface (UART or SPI).
The STPM3x is fully configurable and allows a fast digital system calibration in a single point over the entire
current dynamic range.
4.2 STM32L433VCT6
The STM32L433VCT6 is an ultra-low-power microcontroller based on the high-performance Arm® Cortex®-M4
32-bit RISC core operating at a frequency of up to 80 MHz. The Arm® Cortex®-M4 core features a floating-point
unit (FPU) single precision which supports all Arm® single-precision data processing instructions and data types.
It also implements a full set of DSP instructions and a memory protection unit (MPU) which enhances application
security.
The STM32L433xx devices embed high-speed memories (Flash memory up to 256 Kbyte, 64 Kbyte of SRAM),
a quad SPI Flash memory interface (available on all packages) and an extensive range of enhanced I/Os and
peripherals connected to two APB buses, two AHB buses and a 32-bit multi-AHB bus matrix.
The STM32L433xx devices embed several protection mechanisms for embedded Flash memory and SRAM:
readout protection, write protection, proprietary code readout protection and firewall.
The devices offer a fast 12-bit ADC (5 Msps), two comparators, one operational amplifier, two DAC channels,
an internal voltage 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 21 capacitive sensing channels are available. The devices also embed an integrated LCD driver
8x40 or 4x44, with internal step-up converter.
They also feature standard and advanced communication interfaces.
Some independent power supplies are supported: analog independent supply input for ADC, DAC, OPAMP and
comparators, and 3.3 V dedicated supply input for USB. A VBAT input allows to back up the RTC and registers.
Dedicated VDD12 power supplies can be used to bypass the internal LDO regulator when connected to an
external SMPS.
4.3 ALTAIR04-900
The ALTAIR04-900 is a high voltage all-primary-sensing switcher, operating directly from the rectified mains with
minimum additional external parts. It combines a high performance low voltage PWM controller chip and a 900 V
avalanche-rugged power section in the same package.
The controller is in current mode specifically designed for off-line quasi-resonant flyback converters.
The device provides a constant output voltage using the primary-sensing feedback, eliminating the need of an
optocoupler, a secondary voltage reference, and a current sensor, but still maintaining an accurate regulation.
The maximum deliverable output current can be set to increase the end-product safety and reliability in case of
fault events.
Quasi-resonant operation is guaranteed by a transformer demagnetization sensing input which turns on the power
section. The same input also serves the output voltage monitoring, to perform CV regulation, and to achieve
mains-independent maximum deliverable output current (line voltage feed-forward).
The maximum switching frequency is 166 kHz: at light-to-medium load, a special function automatically lowers
the operating frequency maintaining the valley switching operation. When the load is very light, the device enters
a controlled burst mode operation that, along with the built-in high voltage startup circuit and the low operating
current, minimizes the standby power.
UM2898
Component description
UM2898 - Rev 1 page 7/31

5How to run the single-phase smart meter
Step 1. To program the STDES-EMETER1PV1 single-phase smart meter, connect it to the ST-LINK/V2, as
shown in the table and figures below.
Table 2. STDES-EMETER1PV1 and ST-LINK/V2 pin connection
Signal ST-LINK/V2 connector STDES-EMETER1PV1 J21 connector
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-LINK/V2 connection
Step 2. Power the STDES-EMETER1PV1 with 220 VAC.
The power supply on the board converts the 220 V into 3.3 V to power the MCU.
Step 3. Install STM32 ST LINK utility on your PC/laptop to program the MCU.
UM2898
How to run the single-phase smart meter
UM2898 - Rev 1 page 8/31

Step 4. Connect 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 9/31

Step 6. Enable debug in low power mode.
Figure 10. STM32 ST LINK utility - file selected
Once the STDES-EMETER1PV1 is 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. Time
7. Accumulative energy
1
2
3
4
5
6
7
UM2898
How to run the single-phase smart meter
UM2898 - Rev 1 page 10/31
Inhaltsverzeichnis
Andere ST Messgerät Handbücher

ST
ST CAYMAN 401 Bedienungsanleitung

ST
ST DELTA SOLAR Bedienungsanleitung

ST
ST N30U Bedienungsanleitung

ST
ST STPM01 Bedienungsanleitung

ST
ST STEVAL-IPE007V1 Bedienungsanleitung

ST
ST STDES-BLUEPLUG2 Bedienungsanleitung

ST
ST Beta 20P Series Bedienungsanleitung

ST
ST VA8041 Bedienungsanleitung

ST
ST DELTA 1000/400A AC DC Bedienungsanleitung

















