About ST
Products
Applications
Support
Buy
News & Events
ST Worldwide
Contact Us
Login
Data Briefs
|
Microcontrollers
|
8-bit Microcontrollers
|
ST7 - 8-bit Microcontrollers
Mono-phase / multi-tariff energy meter based on the ST72321BR9 and STPM14
Data Brief
Format:
(167 kb)
or
(9 kb)
Last Updated: 22/09/2008
Pages: 7
Related Application Notes
PMBus™ interface using ST7 I²C
Related Datasheets
64/44-pin 8-bit MCU with 32 to 60K Flash/ROM, ADC, five timers, SPI, SCI, I2C interface
Single phase energy metering IC with pulsed output and digital calibration
Related Programming Manuals
ST7 Flash programming quick reference guide
Related User Manuals
ST7MDT20J-EMU3 probe user guide
Single-phase multi tariff energy meter
Raw Ascii Text
- (
Hide
)
(Unformatted textual content of the document used by search engines)
STEVAL-IPE009V1
Mono-phase / multi-tariff energy meter based on the ST72321BR9 and STPM14
Data Brief
Features
Cost-effective and flexible Meets Class 1 accuracy for IB = 5 A and Imax = 80 A according to IEC 61036:1996 + A1: 2000 - Static meter for active energy (classes 1 and 2) Operating voltage range 220 V 20% Continuously detects and displays no-load conditions, reverse direction, fraud and case tamper conditions Configurable number of tariffs (1 to 4) and maximum demand type (day, one month or three month) Accumulated data for whole meter life (total kWh consumption, average MD (maximum demand), total number of tariffs, tariff time slots, consumption under different tariff rates, power failure date/time) Data for last 12 months (consumption under tamper mode for each month, first/last case/fraud tamper date/time, total tamper time and power failure accumulating time for each month) Data for absolute maximum demand (absolute MD, date/time) according to type of MD requested SW LCD driver for 24 x 4 segment LCD glass with contrast control RTC with SPI for real date/time EEPROM with SPI for storing 256 Kb of data Case tamper detection even in power-down External switch for viewing all data stored in EEPROM sequentially even when AC power is not available Battery backup to detect tampering and see all parameters stored in EEPROM even during power-down
STEVAL-IPE009V1
Single point and fast calibration of the STPM14 for Class 1 meter.
Description
This demonstration board is an integrated system designed to provide the user with a complete, ready-to-use energy meter application. It is a medium-end solution for power metering, using the ST72F321BR9T6 microcontroller, the M41T94 RTC (real-time clock), the M95256 EEPROM and the STPM14 energy meter ASSP device. The multi-tariff energy meter demonstration board implements many features that can be used as a starting platform for evaluation and development of meter applications, including multi-tariff management, absolute and average maximum demand calculation, two types of tamper management, and power failure management.
September 2008
Rev 1
1/7
www.st.com 7
For further information contact your local STMicroelectronics sales office.
1
2/7
+5.0 VB
1.1
Figure 1.
Microcontrollers section IrDA section
+5.0 VB VPP PA5 C12 JP 1 1 +5.0 V 100 nF 48 C33 D10 100 nF TMPD 45 SW1 IROUT 1 7 43 42 41 40 39 38 37 36 35 34 33 C19 100 nF +5.0 VB +5.0 VB COM4 2 COM3 COM2 1 Q1 PHOTO NPN 1 COM1 0 ICCDATA R7 SDO R29 10 K R40 220 2 3 SDI 0 R41 10 k IRIN Q2 BC847 ICCCL K R5 SCL +5.0 V +5.0 V IRQRTC C14 10 nF 74HC04 3 k 2 2 1 IRQBUTT R30 44 14 3 Q3 BC847 U7A 1 47 46 C13 10 nF R39 39 2 52 PA4 VSS_1 VDD_1 PA3 I2C PA2 ei0 PA1 PA0 SS/PC7 51 PA4 50 49 57 EVD RESET VPP/ICCSEL PA6/SDA I PA7/S ICL PA5 IRQ STPM 56 55 RESET 54 53 +5.0 V R3 8 10 k
+5.0 VB
C5 100 nF
U6
IROUT
OS C2
Schematic diagram
64
IRIN 63 62 61 60
OS C1 59 58
NERTC
1
VSS_2 VDD_2 PE3 PE2 OS C1 OS C2 PE1/RDI TL I PE4 PE0 /T DO
EMEM
2
PE5
PE6
3
PE6
PE7
4
SCI
PE7
PB0
5
PWM3/PB0
PB1
6
PWM2/PB1
PB2 PC6/SCK/ICCCL K PC5/MOSI/AIN14 PC4/MISO/ICCDATA PC3/ICAP1_B PC2/ICAP2_B PC1/OCMP1_B/AIN13 ei1 VSS_0 PC0/OCMP2_B/AIN12
7
PWM1/PB2
ei2
PB3
8
PWM0/PB3
Schematic diagram
PB4
9
ST72F321BR9T6
SPI
ARTCLK/PB4
PB5
10
ARTIC1/PB5
PB6
11
ARTIC2/PB6
ei3
PB7
12
PB7
Multi-tariff single-phase meter
PD0
13
AIN0/PD0
PD1
14
AIN1/PD1
PD2
15
AIN2/PD2
PD3
16
AIN3/PD3
AIN7/PD7 AIN6/PD6 AIN5/PD5 AIN4/PD4 31 PF6 32 PF7 30 PF5 R1 PFD 10 k C2 5 100 nF R2 10 k
VDD_0 MCO/AIN8/PF0 ICAP2_A /AIN11/PF5 VAREF VSS_3 BEEP/ PF1 OCMP2_A /AIN9/PF3 VDD_3 EXTCLK_ A/ PF7 PF2 OCMP1_A /AIN10/ PF4 ICAP1_A/PF6 VSSSA 25 26 27 28 29 NLCD PF4 NPD
MCU oscillator/reset
R35 4.7 K RESET
17 PD 4
23 24
X1 OSC1 1 2 3 16 MHz C31 10 nF SW2 OSC2
Schematic - microcontroller and IrDA section, MCU oscillator/reset
18 19 20 21 22 PD 5 PD 6 PD 7
C2 4 100 nF
+5.0 VB
+5.0 VB
AM00281
STE VAL-IPE009V1
Figure 2.
Power management section
D12 DZ1 9.1 VZ D2 600 V 1A 1N4148 + C1 100 F STTH1L06 C3 50 V PFD U2 L78L05AC D13 10 F 1 MH L1 250 mA 1N4148 + C10 100 F 25 V 8V V 7 IN OUT 6 GND GND GND GND 5 NC NC C9 100 nF 25 V D11 1N4148 1 2 3 4 C4 25 V 100 nF R3 22E 0.25 W D3 LL4148 L1 BC1 470 H 100 MA
STEVAL-IPE009V1
+5.0 V
+5.0 VB D4 BAT49 R4 5 K B T1 3 + C11 100 F 4.8 V 1 L2 1 H 150 mA 2
J1 D6
RF1 8 7 6 5 VIPER12ADIP
D5
1 C6 1 F 450 V D8 STTH1L06 C8 47 F DZ2 600 V 1A 25 V 10 VZ C7 1 F 450 V
PHASE
CON1
10R 1
1000 V 1000 V 1A 1A
C2 22 nF 25 V U1 D S1 D S2 D FB 3 D VDD 4
J2
RV1 275 V 8.6 J
1 F
CON1
Mains 230 VAC
U7C 14 5 7 74HC04 74HC04 74HC04 74HC04 7 7 7 6 9 8 11 10 13 12 14 14 14 U7D U7E U7F
Not used
U7B
14
3
4
7
74HC04
RTC/memory SPI block
+5.0 VB R37 EMEM SDO 15 pF 3 BT2 BATTERY 3 V 1
AM00282
+5.0 VB
C28 Y2 32.768 KHz
Schematic - power management, RTC/memory SPI block
U5 15 pF C29 1 M NERTC IRQRTC SDI SCL SDO M41T94
+5.0 VB
U4
C30+ 100 nF
SCL SDI 2
8 7 6 5
VCC S HOLD Q C W D VSS
1 2 3 4
Schematic diagram
C27 100 nF
M95256
1 2 3 4 5 6 7 8
VCC 16 XI 15 XO NE 14 NRST NIRQ/FT/OUT 13 WDI THS 12 NRSTIN1 SDI 11 NRSTIN2 SQW 10 VBAT SCL 9 VSS SDO
3/7
4/7
Measurement section
D9 1 C15 F 1 nF 1 F 1 F 1 F U3 C16 C17 C18 2
Schematic diagram
Figure 3.
R6 750
+5.0 V
VOTP J4 R8 1 K C20 STPM14 R14 2 M 4.4 1% 10 nF R10 R13 1 K F R15 1 K 4.4 1% C23 R18 2 M 10 nF R17 R20 1 K F R21 Mains 230 VAC phase 270 K phase 270 K 200 K R24 470 R22 R23 2 1 Current transformer J5 2 1 Current transformer 4.4 1% R16
IRQSTPM 20 MON 1 2 4 5 6 8 7 9 10 LED MON MOP VDDD VSS VCC VDDA VOTP Ilp1 Iln1 Sda Scl Scs Syn CLKout CLKin VIN Vip Iln2 Ilp2 R11 2,21 K C21 15 pF R19 150 K C26 33 nF 19 TMPD 18 NLCD SCS 3 NPD 15 17 16 14 13 12 11 Y1
4.4 1% R9
4.194304 MHz 1 M R12 C22 15 pF
IRQSTPM TP1 LED MON F TP 2 MON
LCD block
J7
ICC/STPM01 connectors
J6 VOTP JA1
R25 56 K R28 56 K R27 56 K R26 56 K +5.0 VB COM4 COM3 R32 56 K R31 56 K COM1 COM2 R34 56 K R33 56 K
R36 10 K OSC1 RESET
VPP TMPD SCS NLCD +5.0 V NPD ICCCL K ICCDATA ICP connector
1 2 3 4 5 6 7 8 9 10
10 9 8 7 6 5 4 3 2 1
+5.0 VB
COM4 COM3 COM2 COM1 PF4 PD6 PD4 PD2 PD0 PB6 PB4 PB2 PB0 PE6
28 27 26 25 24 23 22 21 20 19 18 17 16 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 LCD DE7936/V
PA4 PA5 PF7 PF6 PF5 PD7 PD5 PD3 PD1 PB7 PB5 PB3 PB1 PE7
C32 100 nF
Schematic - measurement section, LCD block, ICC/STPM01 connectors
AM00283
STE VAL-IPE009V1
STEVAL-IPE009V1
Schematic diagram
1.2
SCI-interface
Figure 4.
J2 1 2 CON2 C2 100 nF 50 V U1 1 2 3 4 5 6 7 8 C1+ VDD V+ GND C1 T1OUT C2+ R1IN C2 R1OUT V T1IN T2OUT T2IN R2IN R2OUT ST232C RS232 16 15 14 13 12 11 10 9 C1 100 nF 50 V P1 1 6 2 7 3 8 4 9 5 J1 IROUT IRIN 2 1 CON2
Schematic - SCI-interface
+5.0V
C3 100 nF 50 V
C4 100 nF 50 V
C5 100 nF 50 V
+5.0 V +5.0 V +5.0 V R3 39 R4 10 K R2 220 2 Q2 PHOTO NPN 1 1
AM00284
R5 10 k 3 2 1 IROUT IRIN Q3 BC847 R1 3 k 2
2 D1
LN01201CAL(U)
1 3 Q1 BC847
5/7
Revision history
STEVAL-IPE009V1
2
Revision history
Table 1.
Date 22-Sep-2008
Document revision history
Revision 1 Initial release. Changes
6/7
STEVAL-IPE009V1
Please Read Carefully:
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. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST'S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER'S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
2008 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com
7/7
Document Number: 15043