EVALSTPM32 Single-phase energy metering evaluation board with shunt current sensor based on the STPM32 Data brief Description The STPM32 energy metering evaluation board is a class 0.2, single-phase meter with shunt current sensor for power line systems with Vnom = 140 to 300 V(RMS), Inom / Imax = 5/100 A(RMS), flin = 50/60 Hz 10% and Tamb = -40 to +85 C. Measured active/reactive power can be output from two programmable LEDs on the board. The board can be interfaced with a PC running evaluation software through an isolated RS232 port, or through the STEVAL-IPE023V1 USB isolated interface tool for configuration and data reading. Features * 0.2% accuracy single-phase meter * Vnom(RMS) = 140 to 300 V, Inom/Imax(RMS) = 5/100 A, flin = 50/60 Hz 10% The board also has SPI/UART pins available to interface a microcontroller for application development. * Connector for USB isolated hardware programmer tool STEVAL-IPE023V1 and PC GUI * RS232 and UART isolated connectors to PC GUI * SPI/UART switch for device peripheral selection * 2 programmable LEDs on board * Digital expansion to external system-on-chip or MCU * 3.3 V power supply: external or through STEVAL-IPE023V1 isolated USB board * IEC61000 standard compliant * RoHS compliant March 2014 DocID026138 Rev 1 For further information contact your local STMicroelectronics sales office. 1/5 www.st.com Schematic diagrams 1 EVALSTPM32 Schematic diagrams Figure 1. RS232/UART circuit schematic 5 4 3 2 1 1 RXD 2 TXD 3 +3.3VDC 4 GND NOTE: always provide supply for both RS232 and UART J2 J1 RS-232 DB9 Vcc 4 3 2 1 9 8 7 6 UART I/O C6 C7 100n 100n 10 11 16 U1 T2IN T1IN R1OUT R2OUT T1OUT T2OUT 12 9 14 7 SW1 RXD TXD SCS Si8621 SW DIP-3 Vcc C1+ C1C2+ C2V+ VVCC 8 7 6 5 R1 10K GND J3 RS-232 enable 15 1 C1 100n C2 100n C3 100n C4 100n 1 3 4 5 2 6 R1IN R2IN VDD1 VDD2 A1-in B1-out A2-out B2-in GND1 GND2 2 13 8 1 2 3 4 ALL SWs OFF SELECT SPI AT POWER UP ALL SWs ON SELECT UART AT POWER UP U2 MAX3232/SO C5 100n GALVANIC ISOLATION GIPG25032014DI1545 2/5 DocID026138 Rev 1 EVALSTPM32 Schematic diagrams Figure 2. Metrology circuit schematic Vcc 150p 2 4 6 8 10 Ex 4.7u Ex Y1 1 2 3 4 5 6 R4 1M C17 15p 100n MISO MOSI SCL SCS SYN VDDD C16 15p DC Supply C20 24 23 22 21 20 19 DIGITAL I/O 1 Int1 2 NC 3 Led2 4 En/Rst 5 Led1 6 Gnd 7 Ckin 8 Ckout/ZCR J7 C19 1 2 150p C15 TXD RXD 1 3 5 7 R11 J5 2 4 6 8 Vcc 100R R5 4.7K 18 17 16 15 14 13 GNDD VCC GNDreg VDDA GNDA GNDref C22 C23 100n 100u 10V Vcc 7 8 9 10 11 12 EN VP1 VN1 IP1 IN1 VREF1 16MHz CKout/ZCR XTAL2 CKin/XTAL1 LED1 U3 LED2 STPM32 INT1 1u C30 C14 J6 LED2 SCS DL2 C21 150p SPI R6 4.7K 150p C13 1 NC 2 MOSI 3 Gnd 4 MISO 5 SCS 6 SCL 7 NC 8 SYN 9 NC 10 Vcc C29 150p 10K C28 C12 R10 10K 100n 150p R9 10K 150p C11 R8 10K C18 10n 1 3 5 7 9 C10 150p LED1 DL1 R7 3 3 J4 Vcc Vref1 100R 2 2 1 1 R3 R2 Enable/RST 22K C8 C9 100n 150p C26 150p C27 100n 1500ohm Ip1 R17 L3 Vp1 1K J9 L1 1500ohm R12 R13 270K 270K R14 270K C24 J8 22n 1 N C25 L2 1500ohm R15 470R T1 4626-X002 RS1 1 BKW BKW-M-R0003-5.0 R16 6R 10n Vn1 1 L In1 R18 1K L4 R19 0R 1500ohm To assemble in case current sensor is Current Transformer To assemble in case current sensor is Shunt GIPG25032014DI1550 DocID026138 Rev 1 3/5 5 Revision history 2 EVALSTPM32 Revision history Table 1. Document revision history 4/5 Date Revision 31-Mar-2014 1 Changes Initial release. DocID026138 Rev 1 EVALSTPM32 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. ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER'S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR "AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL" INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY. 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. (c) 2014 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 - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com DocID026138 Rev 1 5/5 5 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: STMicroelectronics: EVALSTPM32