STEVAL-IPP002V1 IEC 61334-5-1 compliant smart meter system for AMI applications based on STM32, ST7570 PLM, and STPMC1/STPMS1 chipset Data brief Features ■ Energy measurement by an external metrology board ■ S-FSK Power line communication up to 2.4 kbps ■ Data communication compliant with DLMS/COSEM specification ■ LCD display to show energy consumption information ■ USB and RS232/IrDA connectivity ® ■ Optional ZigBee communication capability ■ Optional MEMS module support ■ Expansion capability for smartcard interface ■ RoHS compliant STEVAL-IPP002V1 Description The STEVAL-IPP002V1 demonstration board can be used as a guideline to designing a typical energy meter board for smart metering applications compliant with the IEC 61334-5-1 standard. It was designed to include advanced features as well as to fit the requirements for next generation energy meters. These extra features can be included in the board by modules for easy customizing. August 2011 Doc ID 018815 Rev 2 For further information contact your local STMicroelectronics sales office. 1/16 www.st.com 16 2/16 6 6 34#:?N3%,? 3 :?24 $82?4.)?34/(?: $:?48 %!+7:? ":?234 Doc ID 018815 Rev 2 -#5 ,#$?#3 ,#$?23 ,#$?72 ,#$?$) ,#$?$ ,#$?#,+ ,#$?"#+?,)'(4 N234 !$# !$# !$# ,#$ ,#$?#3 ,#$?23 ,#$?72 ,#$?$) ,#$?$/ ,#$?#,+ ,#$?"+,)'(4 2%3%4 23)2$! 0!?53!24?#+?0 0!?53!24?48?0 0!?53!24?28?0 0$?3#?N/&& 0#?3#?234 3# ).4%2&!#%53%2?).0543 0!?3#?#,+ 0!?3#?48 6 0!?3#?28 0$?3#?N/&& 0#?3#?234 '.$ 3# ).4%2&!#% 0,- 2%3%4.?34 363 6$$ '.$ ,#$ 5!24?48 5!24?28 0#?0 6 6 , 6 -!).3?#/..%#4/2 * STEVAL-IPP002V1 circuit schematic - top 6 5!24?48 5!24?28 4?2%1?34 -)3/?28$?34 -/3)?48$?34 3+ 26 & ! 4 Figure 1. 6 '.$ 6 53!24243?0 53!24?48?0 53!24?28?0 , , Circuits schematic 23)2$! 53"?$53"?$0 , , , 0OWER 3UPPLY 1 53" 53"$53"$0 '0)/?0 0#?0 0#?0 0% 0% 0% 0% 0% 0% '0)/?0 '0)/?0 '.$ 6 6 0!?53!24#43?0 0#?0 -ODE *UMPERS 0,- #/.& #/.& #/.& #/.& #/.& 6 -ODE #ONFIGURATION !M 6 6 '.$ 0" 30?3#+ 30?.33 3$! )NPUT 0OWER 3UPPLY #6# %.%2'9 -%4%2 53" 6340-#?39. '.$340-#?3#, 340-#?3#3 340-#?3$! -ETER?"OARD?#ONN 6##?0 0% 0% 0% 0% 0% 0% 0% 0% 53!24?243 53!24?#43 53!24?48 53!24?28 0" 0" 30)?3#+ 30)?-/3) 30)?-)3/ -#5 -%-3 :6 96 86 6 '.$ 6 9+% .7$/ ,3% 4 2)'( 4,%& 05 30:" 6 '.$ -%-3 )NPUT 6 '.$ 6 :?3#+ :?-/3) :?-)3/ 6 $,% $,% $,% !M 6 ) :IG"EE -ODULE Circuits schematic STEVAL-IPP002V1 363 '.$?3 '.!, '.$?0 !-V STEVAL-IPP002V1 Figure 2. Circuits schematic Energy meter board connector section * '.$ 340-#?3#3 340-#?3#3 340-#?3$! 340-#?3#, 340-#?39. 340-#?3$! 340-#?3#, 340-#?39. * #/. 6 *5-0%2 !-V Figure 3. Joystick and LEDs section 6 5 2 2 K 3%, $/7. ,%&4 2)'(4 50 2 K 2 K 2 K 2 K 3%, 3%, $/7. ,%&4 2)'(4 50 #/--/. 3ELECTION $/7. ,%&4 2)'(4 50 -4! # N # N # N # N */934)#+ # N 6 6 6 2 K '.$ +%9 # N 3 $ $ $ ,%$ ,%$ 2 2 2 ,%$ ,%$ ,%$ ,%$ !-V Doc ID 018815 Rev 2 3/16 Circuits schematic Figure 4. STEVAL-IPP002V1 LCD color display connectors * ,#$#3 ,#$#,+ ,#$$) ,#$23 ,#$72 ,#$?#3 ,#$?#,+ ,#$?$) ,#$?23 ,#$?72 ,#$$/ 2%3%4 ,#$?$/ 2%3%4 6 ,#$"!#+,)'(4 ,#$?"+,)'(4 ,#$ CONNECTOR 6 6$$ '.$ !-V 4/16 Doc ID 018815 Rev 2 # P& # P 9 +HZ 0! ?53!24?#+?0 0! ?53!24?48?0 0! ?53!24?28?0 53"?$53"?$0 0#?3#?234 2 0! 0# 30)?3#+ 30)?-)3/ 30)?-/3) Doc ID 018815 Rev 2 # P 37 6"!4 62%& 6$$! 6$$? 6$$? 6$$? 6$$? 6$$? # N& 2 + 6##?6 "//4 "//4 # U& 2 2 6$$! , "%!$ # N& 6##?6 0%4)-?"+). 0% 0%4)-?#( 0%4)-?#(. 0%4)-?#( 0%4)-?#(. 0%4)-?#( 0%4)-?#(. 0% 0% 0% 0% 0% 0% 0% 0%4)-?%42 0# 0# 0# 4! -0%2?). "//4 37 "//4 37 34-&6%4 "//4 /3#?). /3#?/54 .234 .# 6##?6 30)-/3) 0$ 0$ 30)-)3/ 0$ 30)3#+ 0#/3#/54 0#/3#). 0#!.4)4!-0 0#5!24?48 0#5!24?28 0#5!24?48 0#4)-?#( 0#4)-?#( 0#4)-?#( 0#4)-?#( 0#!$#?). 0#!$#?). 0#!$#?). 0#!$#?). 0#!$#?). 0#!$#?). 0"4)-?#(. 0$ 0"4)-?#(. 0$4)-?#( 0""//4 0$4)-?#( 0"*4$/37$?37/4)-?#(30)?3#+ 0$53!24?243 0"*42344)-?#(30)?-)3/ 0$53!24?#43 0")#?3-"!30)?-/3) 0$53!24?#+ 0")#?3#, 0$53!24?28 0")#?3$! 0$53!24?48 0" 0$ 0" 0$53!24?28 0"4)-?#(53!24?48 0$53!24?48 0"4)-?#(53!24?28 0$53!24?243 0"30)?.33 0$53!24?#43 0"30)?3#+ 0$4)-?%425!24?28 0"30)?-)3/ 0$#!.48 0"30)?-/3) 0$#!.28 0!7+504)-?#(53!24?#43 0!4)-?#(53!24?243 0!4)-?#(53!24?48 0!!$#?).53!24?28 0!!$#?).$!#?/5430)?.33 0!!$#?).$!#?/5430)?3#+ 0!4)-?"+).30)?-)3/ 0!4)-?#(.30)?-/3) 0!53!24?#+ 0!53!24?48 0!53!24?28 0!53"$0!53"$0 0!*4-337$)/ 0!*4#+37#,+ 0!*4$)4)-?#(?%4230)?.33 5! 6$$! 6"!4 62%& "//4 30).33 30)3#+ 30)-)3/ 30)-/3) )#?3#, )#?3$! 0" 0" 0" 0" "//4 *44$/ *4423 30)3#+ 30)-)3/ 30)-/3) 0! 0! 0! 0! *44-3 *44#+ *44$) 2 2 2 53!24?243 53!24?48 53!24?28 34-&6%4 62%& 633! 633? 633? 633? 633? 633? 5" N& 37 37 37 0$ 0$ 0$ #!, 37 #!, 37 #!, 37 2 2 2 2 0# 0# 0# 0# 0# 0# 0# !$# !$# !$# 5!24?28 5!24?48 0$?3#?N/&& 2 2 2 2 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0#?0 0#?0 0#?0 ,#$$) ,#$$/ ,#$#,+ /3#/54 /3#). 4! -0%2?). 0# ,#$#,+ ,#$$/ ,#$$) 0# 0" 0" 0" 2%3%4 30)3#+ 30).33 0" 2%3%4 *44$/ *44#+ *44-3 *44$) *4423 37 + + 3$! 3#, 7 5 + N& # -"7 -.40 % % % N& # 2 + 2 + N& # # N& 6##?6 2 + ./4 -/5.4%$ + 2 2 6##?6 2 0#?0 0#?0 0#?0 0#?0 6##?6 + 6##?6 0#?0 0#?0 0#?0 0#?0 2 30?3#+ 30?.33 0" 3$! 2 + 2 2 ,#$?#,+ ,#$?$ ,#$?$) ,#$?#3 ,#$?23 ,#$?7 2 ,#$?"#+?,)'(4 N234 )#?3$! )#?3#, * 30)-)3/ 30)-/3) 53!24?28 53!24?48 53!24?243 53!24?#43 0#?#!, 0#?#!, 0#?#!, 4!-0%2?).?#!, 24#?#!, 6SS 9 -(Z 2%3%4 0" 0" 2 2 2 6"!4 # 6CC 2 - # P& /3#/54 /3#). 62%& 37 0! ?53!24#43?0 53!24243?0 53!24?48?0 53!24?28?0 % N& # 37 % 37 % 37 U& # '.$?0 6##?0 6##?6 * *4!' Figure 5. 6 "!44% 29 6##?6 STEVAL-IPP002V1 Circuits schematic MCU section !-V 5/16 Circuits schematic STEVAL-IPP002V1 .- !-V Mode configuration section 6/16 #/.& 37 #/.& 37 #/.& #/.& #/.& #/.& #/.& 37 #/.& 37 #/.& #/.& '.$ 6##?6 6 37 6##?6 Figure 7. 6 '.$ 68 69 6: * .- MEMS section * Figure 6. !-V Doc ID 018815 Rev 2 6 '.$?3)'.!, 6##! 6$$)/ 48?/54 40 48?/54 633! 6##! # N& # N& N& # # N& 6## U& # N& Doc ID 018815 Rev 2 633! 6##! N& # 40 34 6##! # N& N& # # U& P& # 40 6$$?0,, 28?). 40 0! ?/54 633 6## 6$$?0,, 633! #,?3%, N& # 40 6## # # N& # U& N& N& # 2 &" $ 3-46#! N& # 6$$ N& # 40 6$$ ",-0'3. ",-0'3. &" N& # # N& , $ 3403,! U& # $ 3403,! U( 6## 6$$)/ '.$?3)'.!, -?3. -?1 -?$ -?# 6$$)/?&,!3( 6$$ 0! ?/54 633 633! 633 40 28?). N& # '2/5.$ 0,!.% "%,/7 4(% $%6)#% %0 #,?3%, .# 6$$)/ '.$ -?3. -?1 -?$ -?# 6$$)/?&,!3( 6$$?2%'?6 0!?/54 633 6## #, 0! ?). 0! ?). 48?/54 28?). :#?). 6##! 6$$?0,, 633! '.$?3)'.!, 8/54 ",-0'3. &" 0! ?/54 6## #, 0!?). 0!?). 48?/54 28?). :#?). 6##! 6$$?0,, 633! '.$ 8/54 6$$ -/3)?48$ -)3/?28$ 6$$)/ 4234. 4-3 '.$ 4#+ 4$/ 4$) 2%3%4. 6$$ 8). 5 0! 40 0! ?). K 2 P& # '0)/?$ 4?2%1 "2 "2 30)5!24 3#,+?3#, -/3)?3$! -)3/ '.$ 6$$ 33. 3#,+ 8/54 8). # P& 0! ?). 40 0! ?). 0! ?). P& # 9 -(Z K K -/3)?48$ -)3/?28$ 6$$)/ 4234. 4-3 '.$?3)'.!, 4#+ 4$/ 4$) 2%3%4. 6$$ 8). 2 # N& 2 N& # 6$$)/ 40 6$$)/ K 2 # K 2 K 2 K 2 P& # 6 6## 633 '0)/?$ 4?2%1 "2 "2 30)/5!24 3#,+?3#, -/3)?3$! -)3/ '.$?3)'.!, 6$$ 33. 3#,+ # N& 6$$)/ # U& 4 U( , $ 3-4#! # N& 8 , , Figure 8. 6## STEVAL-IPP002V1 Circuits schematic Power line modem section !-V 7/16 Circuits schematic Figure 9. STEVAL-IPP002V1 Microcontroller connection 2 2 K K 2 2 K 2 2 K K 2 K 6$$)/ "2 '0)/?0 '0)/?0 *0 #,/3% "2 '0)/?0 '0)/?0 *0 #,/3% '0)/?$ '0)/?0 '0)/?0 *0 #,/3% -/3)?48$ -/3)?48$?34 *0 #,/3% 4?2%1 4?2%1?34 *0 #,/3% -)3/?28$ -)3/?28$?34 *0 #,/3% 2%3%4. 2%3%4.?34 *0 #,/3% !-V Figure 10. ST7580 reset button 37 # 2%3%4. N& & !-V Figure 11. Current limit setting 40 #, 2 6$$)/ .- 2 K .- #, # P& #,?3%, 2 1 .3/4 .- !-V 8/16 Doc ID 018815 Rev 2 STEVAL-IPP002V1 Circuits schematic Figure 12. Non-isolated zero crossing 2 2 :#?). K 7 # :#?). K 7 $ ,, 4,0 40 )3/ , 6##! 2 2 , N& K 7 K 7 2 K 633! !-V Figure 13. System JTAG connector 6$$)/ 2 2 K K * 4#+ 4$/ 4-3 4$) 2 2 K K 4234. #/.!0 !-V Figure 14. ST7580 UART interface * 6$$)/ 4?2%1 -/3)?48$ -)3/?28$ #/.! 30)/5!24 2 K !-V Doc ID 018815 Rev 2 9/16 Circuits schematic STEVAL-IPP002V1 Figure 15. 8051 program Flash memory *0 6$$)/?&,!3( #,/3% # 2 K .- -?1 N& .- 3 6## 1 (/,$ 7 # 633 $ 2 K .- 2 2 K .- K .- -?# -?$ -?3. # 5 -0! .- *0 #,/3% 2 K .- U& .- !-V 10/16 Doc ID 018815 Rev 2 , , OHM 7 .4# OHM 7 .4# , 2 K M( Doc ID 018815 Rev 2 # N& # U& 633 # N& 2 K # N& )2%& #/-0 KBREAK 2 $ 3403 # 6OLTAGE U& 6 '.$ #522%.4 #/.42/, 6 M! 6$$ .# K 3- 2 $ 2 K &":#$ 6 2 - 2 - # U& 6 # N& # U& 6 #- 3- $ 3/52#% $2!). 2 2 $: 0+%! $ 344( * 6$$?6 5 ).$%0#/3"+ !LTAIR # N& # N& 8 /40 MEMOR Y PROGR AMMIN G SUPPL Y 4 $ # /0%. *0 N& 9 # # # U& 3403, ). 6 M! '.$ /54 # # N& #,/3% *0 U& V :, 6OLTAGE 5 ,&!" 6OLTAGE $ # U& V :, U( , U& V :, 3403 633 '2%%. $, 2 + 6 M! #,/3% *0 9%,,/7 $, 2 6 M! 2 .# 2 K 6 M! STEVAL-IPP002V1 Circuits schematic Figure 16. Power supply section !-V 11/16 5!24?28 5!24?48 '.$ 6 6 6 6 Doc ID 018815 Rev 2 # U 6 2 2 # U ./4 &)4 2 ./4 &)4 2 2 K 6 # N 6 *5-0%2 * 2 2 6 6,OGIC 6## ),3% '.$ /5 4&$5 '.$ '.$ ). /54 ). 6$$ 6O .# 6?)3/, 6$$ 5 6O .# !NODE6## #ATHODE 2X$ 4X$ 3$ )# 43-3 6IN .# .# 6IN 5 # N 6?)3/, # N # N )# 2/54 2/54 4). 4). # # # # # N # N 28 48 # N 34%"$2 2). 2). 4/54 4/54 6 6 6?)3/, 6## '.$ 12/16 48 28 #. -( -( 0/24 $"MALE CONNECTOR Circuits schematic STEVAL-IPP002V1 Figure 17. RS232/IRDA section !-V STEVAL-IPP002V1 Circuits schematic Figure 18. SC interface/user inputs section !-V 6 * 6 0! ?3#?#,+ 0! ?3#?48 0! ?3#?28 0#?3#?234 0$?3#?N/&& '.$ 3#?#/. ./4 &)4 Figure 19. ZigBee® module section 6##?6 6 '.$ 6##?6 * 6"2$ -/3) -)3/ 3#,+ N33%,#43 :?-/3) :?-)3/ :?3#+ :?N3%,?#43 :IG"EE #/.. .- 6##?6 2 K 2 2 * 6"2$48$ (/34?).4 7!+% 234" '.$243 :?48$ :?(/34?).4?28$ :?7!+% :?234" :?243 :IG"EE #/.. .- !-V Doc ID 018815 Rev 2 13/16 Circuits schematic STEVAL-IPP002V1 Figure 20. USB section #. 53"?490%" '.$ $$0 6"53 3( 3( 5 2 3( 3( ) '.$ / 6"53 ) / 53"$- 53"$- 6"53 53"$0 53"$0 2 # N& 53",#0 2 - # N 2 + 6 6 '.$ !-V 14/16 Doc ID 018815 Rev 2 STEVAL-IPP002V1 2 Revision history Revision history Table 1. Document revision history Date Revision Changes 12-May-2011 1 Initial release. 24-Aug-2011 2 Updated Figure 16: Power supply section with a new controller. Doc ID 018815 Rev 2 15/16 STEVAL-IPP002V1 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 TWO AUTHORIZED ST REPRESENTATIVES, 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. © 2011 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 16/16 Doc ID 018815 Rev 2