Home

Description - STMicroelectronics

image

Contents

1. 1 10 Table 4 Class variables 11 Table 5 ST7540 configurat ON 1 13 Table 6 BOM MET 14 Table 7 Document revision history 2 31 ky Doc ID 18008 Rev 1 3 32 List of figures AN3287 List of figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 4 32 STEVAL IHPOO2V1 smartplug demonstration board 6 STEVAL IHPOO02V1 PLM smartplug demonstration board block diagram 7 Network example 4 9 Network example 1 2 4 5 4 11 Network example 2 12 I0 24 85232 communication 25 Power supply section 1 44 1 26 Power line communication 27 MCU Section RE 28 Energy atdet EEE EE r 29 Output ina e a i apee TE aA di D E EE Aa a ns 30 Doc ID 18008 Rev 1 AN3287 Document and library rules 1
2. Part Tol Volt Technol Pack Manufacturer PS Distrelec M Reference votage Watt ogy 388 Manufacturer other n value 96 current information foot print code info code R95 0 1 96 1 8 W Resistor SMD 0805 Axial through RS code 214 R107 10 5 1W Fuse resistor ile Any 0879 Disk shaped S14K51 S 7221450511 1 Distrelec RV1 0 10 510 VAC metal oxide Through hole Epcos 01 code 730933 varistors 3 way single row strip line age Single Sw2 BOOT 0 connector male strip line through hole 8470 connector 2 54 3 pole mm pitch 3 way single row strip line Single SW3 CONF3 connector male Varies Any RS Code 499 strip line through hole 8470 connector 2 54 3 pole mm pitch Surface mount RS code 584 pst tactile switch SMD Any 183701 3 way single row strip line aor Single SW5 BOOT_1 connector male artica Any code strip line through hole 8470 connector 2 54 3 pole mm pitch 3 way single row strip line Single SW6 CONFO connector male verica Any Fia code 195 strip line through hole 8470 connector 2 54 3 pole mm pitch 48c NV 80081 Table 6 BOM continued Part Tol Volt Technol Pack Manufacturer PS Distrelec M Reference pud aed vonage Watt es
3. ZO ex 4489 22 22 1065 5 51 8 Don pueg ZHxZEL 10 perejos 1 0 Wd viva o3u 3u 00 Wild Hr PPA 85010 3u 001 912 ino xL 99A PPA 30A 38019 tar PPA NI XH PPA 5641 0154 ze 179 6 taO XIXH 912 punoo punog J MOd feubis punog clie 30 001 520 99A Otno we O O usum viva osu Sayd 1541 08038 1 27 32 Doc ID 18008 Rev 1 Schematics AN3287 Figure 10 MCU section 3 3V 3 3V VCC 3V3 Reo T i si R63 R64 lt Res lt R67 dk Dom up Ww od 10K 2 10K 2 10K 10K NOTMOUNTED i
4. 287 Sf Application note PLM smartplug guide to getting started Introduction The purpose of this guide is to help the user fully use the PLM smartplug demonstration board in a network with other smartplug boards and a data concentrator The document describes how to configure the board and how to interact with it buttons LEDs configuration jumpers and all hardware components used are described in detail A full description of the power line communication and its configuration and commands is also provided PLM smartplug demonstration board is based on the STM32F103VE microcontroller the 517540 PLM module and the STPMO1 mono phase energy metering IC It implements a PLM smartplug node which allows to monitor energy consumption of a mains plug and to control it in on off mode by a relay or in dimming through the T2035H Triac The voltage current power active energy and the output status can be sent to a PLM data concentrator through a power line communication network on request Moreover if the power consumption changes it is sent asynchronously to the data concentrator m Section 1 describes document and library rules W Section 2 describes the smartplug hardware demonstration board its modes uses and limitations m Section 3 highlights how to use the smartplug board in a PLC network Refer to the PLM smartplug FW UM1006 user manual for more firmware and communication protocol details m Section 4
5. 6 JT NTRST 3 n JT TDI 4 e JT TMS R69 R70 7 82 82 JT TCK t 11 ei JT TDO 1 12 3 3V RESET tau 51 15 BI COLOR LED RED GREEN 4 11 18 41 18 C97 19 J2 100nF E Eo z 0 R72 Q 873 Aaaa 10K gt 10K gt 10K BEBE Uii 8 2 103 6 3 3V is 4 3 3V 43 3V 8888582238277 100nF NC TO0nF SEU 1 36 R74 2 VDD2 F35 vo diee E POS 15 12 58 OPT CMD n g PDO OSC IN 31 UTi SYN t PD1 OSC OUT PA10 USART RESET mdi RESETE 71 pag 30 USATE Yi VODA vois vosi 9 swa PAO WKUP PB14 55 5 STPMO MISO 1 STPMO1 SCK Ret 12 PBi2 25 5 1_5 8 cs 22225858520 22pF 22pF ATOnF dada lt n s ES ie D e x 2 REG DATA BS 85 BU EGG GFF ZER NV TRIAC_CMD 3 3V R76 SW5 10k 3 4 43 9V BOOT 1 2279 1 sw20 R108 109 R77 BOOT 3 3V AS Sk d 10k 3 BOOT 0 Bl 7 1 BOOT 0 C103 C104 1202 2 100nF mm 3 L RFID READER 3 3V Reo Swe TAMP 10k 3 3 3V 5 2 e Ret Re2 54179 1 T 10k PC15 2 PB6 2 vA 1 R83 confi SW3O T 3 3V 10k 3 CON2 T PB7 2
6. age Manufacturer other value 96 current information foot print code info code 3 way single row strip line Single SW7 CONF1 connector male Vertical Any Rie 4 strip line through hole 8470 connector 2 54 3 pole mm pitch 3 way single row SW8 SW9 Calibrati strip line Vertical RS code 495 Single SW10 SW on connector male hole Any 8470 strip line 11 SW12 settings connector 2 54 9 3 pole mm pitch SW Surface mount RS code 22 tactile switch ME Any 183701 TP8 TP9 TP10 TP11 TP12 TP13 TP14 TP15 TP16 TP17 Test TP18 point Test point Test point Test point Test point Test point TP19 TP20 TP21 TP22 TP23 TP25 TP26 TP27 T1 Current Through VAC T60404 E 4622 transformer Hole X503 mer SPAC26 __ SPAC265BC12P U1 mode power Through hole ST Microelectronics 5 3W 0 30 supply U3 ST7540 FSK power line 5 28 ST Microelectronics ST7540TR transceiver Z8cENV 3 80081 1900 Table 6 BOM continued Part Tol Volt Technol Pack Manufacturer PS Distrelec M Reference pud aed vonage Watt Senno ogy age Manufacturer other value 96 current information foot print code info code U9 5 58 DC DC converter SOIC 14 Traco Power 5 05055 ps 310 IL712S Bi directional RS code 418 U
7. mes v AMO08039v1 28 32 Doc ID 18008 Rev 1 Schematics Energy meter AN3287 Figure 11 29 32 08040 1 Doc ID 18008 Rev 1 OO NO9 OL 6 8 98S 2 NAS 9 1 XOS 595 vas 2 985 or 3 _ 1 2 808 m e 595 595 145 55146 i mc WO NAS S OW NAS T 2 A avons 9 5 3001 jeu pu 2 XOS weg A Ho 99 489 8 MS 6 TWO Vas c z _ 2 NOW vas r a 4 8 9 5 Y ed E wo aoi 4900 j4uoor ud zuo pus 99 AN3287 Doc ID 18008 Rev 1 Schematics gt x gt lt 91219152 y ino 140 so go LON OQ SOLU 1ads viaid 8 5 OOA 9 L 2 99 NOO 2 vr 91219152 y vo vou LON OQ 105
8. 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 2010 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 32 32 Doc ID 18008 Rev 1
9. R17 4700 1 96 0 1W Resistor SMD 0603 R19 2 4 1 96 0 1W Resistor SMD 0603 ica 24kO 4596 1 8 W Resistor SMD 0805 R20 56 1 96 0 1W Resistor SMD 0603 Z8cENV 6 06 80081 Table 6 BOM continued Part Tol Volt Technol Pack Manufacturer RS Distrelec More ar olerance Voltage echnology ackage other Reference value 96 current Watt information foot print code info code 261 1 96 1 4 W Resistor SMD 1206 R59 R60 0 5 96 1 8 W Resistor SMD 0805 R61 R89 560 5 96 1 8 W Resistor SMD 0805 R63 R64 R65 R66 R71 R72 10kQ 5 1 8 W Resistor SMD 0805 R80 R81 R82 R83 R84 Not R67 mounted 5 1 8 W Resistor SMD 0805 R69 R70 820 5 96 1 4 W Resistor SMD 1206 R75 1 5 96 1 8W Resistor SMD 0805 R91 R92 6 80 1 96 1 4 W Resistor SMD 1206 R94 2 1 96 1 8W Resistor SMD 0805 R98 475 0 1 96 1 4 W Resistor SMD 1206 R99 43 1 96 1 8W Resistor SMD 0805 R100 100 Q 1 96 1 8W Resistor SMD 0805 R101 1 1 96 1 4 W Resistor SMD 1210 R102 220 1 96 1 4 W Resistor SMD 1210 R103 R105 es m 44 1 96 1 4 Resistor SMD 1210 R90 R93 1kQ 1 96 1 8 W Resistor SMD 0805 Z8cENV Table 6 BOM continued 80081 GI
10. 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
11. 11 32 PLM smartplug demonstration board AN3287 Figure 5 The demo window is shown by clicking on the Demo button the window illustrated in Figure 5 is shown Network example 2 n Smart Plug Demo Start Stop Scheduler Events Scheduler Tum OFF TV Tum OFF Heater 5 Plug Control Setting CONTROL and Monitoring PANEL 2 0W 1 0 Year Visual Status 2 4 12 32 The window allows identifying setting the label getting information from each smartplug and monitoring the measurement variables Once all labels are chosen click the Apply button to assign them The smartplug can be controlled manually by the plug control setting and monitoring section or automatically by the events scheduler section of the window Once the scheduler is set click on the clock control to start stop it The status of the three smartplugs is also shown visually considering three typical loads a television a lamp and a heater The smartplug application layer sends measurement information periodically only if the measured power consumption changes in order to avoid unnecessary network overload so if you want to get fresh data click on the Get button of the smartplug from which you want data Board and application limitations The smartplug is for demonstration purposes only so there are some limitations e Atstartup there is a delay before the smartplugs start to send data to the
12. Document and library rules This document uses the conventions described in the sections below 1 1 Acronyms Table 1 lists the acronyms used in this document Table 1 List of acronyms Acronym Meaning APP Application API Application programming interface HAL Hardware abstraction layer RTOS Real time operating system PLM Power line modem PLC Power line communication MCU Microcontroller unit SPI Serial peripheral interface OOP Object oriented programming ky Doc ID 18008 Rev 1 5 32 PLM smartplug demonstration board AN3287 2 2 1 6 32 PLM smartplug demonstration board Board introduction The application described in this document refers to the STEVAL IHP002V1 demonstration board see UM1005 Figure 1 STEVAL IHP002V1 smartplug demonstration board AM08028v1 The board includes the following functions shown in the block diagram of Figure 2 Energy measurement by IC Power line communication by ST7540 up to 4 8 kbps Isolated RS232 connectivity Main AC load driving by Relay or Triac by T2035H Auxiliary on off contact for generic load driving Doc ID 18008 Rev 1 AN3287 PLM smartplug demonstration board Figure 2 STEVAL IHP002V1 PLM smartplug demonstration board block diagram GPIO Power Le m7 9 Switch Management MAINS AMO8126v1 Warning The board must be used only
13. by expert technicians Due to the high voltage 220 Vac special care should be taken with regard to human safety There is no protection against accidental human contact with high voltages After disconnection of the board from the mains none of the live parts should be touched immediately because of the energized capacitors It is mandatory to use a mains insulation transformer to perform any debugging tests on the board in which debugging and test instruments like USB JTAG dongles spectrum analyzers or oscilloscopes are used Do not connect any oscilloscope probes to high voltage sections in order to avoid damaging instruments and demonstration tools ST assumes no responsibility for any consequences which may result from the improper use of this tool Doc ID 18008 Rev 1 7 32 PLM smartplug demonstration board AN3287 2 2 2 3 2 3 1 8 32 Main hardware components The following is a list of the PLM smartplug demonstration board main hardware components An STM32F103CB microcontroller running the application firmware An STPMO1 mono phase energy metering IC An ST7540 power line modem used to provide PLC connectivity to the system 1 bi color status LED green red LED for application status scope 3 configuration jumpers SW3 SW6 SW7 used for software configuration scope 2 user buttons 53 and S4 used for user application scope 1 microcontroller reset button SW4 used to force an MCU reset 4 jumpers for STPM
14. capacitor low Through hole Any code 801846 ESR C96 119 47 4 2095 25V Electrolytic SMD Any capacitor 712 C120 33 nF 10 96 275 X2 capacitor Through hole Any ix 5 Distrele code DL1 Red Chip LED SMD 0805 Any 250154 Distrele code DL2 Blue Chip LED SMD 0805 Any 250159 Bi color D1 LED red LED Bi Red SMD Any RS code 419 Green 053 green D6 D12 detur Distrelec D13 LL4148 Switching diode _ SOD 80 Any code 601496 D8 D10 545 SOT23 STMicroelectronics BAT54SFILM Schottky diodes D9 Transil SMB STMicroelectronics SM6T15CA pip 2281 Power Schottky sTMicroelectronics STPS140U OU rectifier TR5 anti surge F1 1A submin PCB T Through hole Any 611 0658 fuse 250 Min fuse 15 A RS code 541 15 5 20 4599 Socket for Distrelec 2 Socket F2 Through hole Wickmann 652 code 273260 86 3 80081 1900 65 11 Table 6 BOM continued RS Distrelec Part Tolerance Voltage Technology Package Manufacturer More Reference 5 Watt Manufacturer other value current information foot print code info code Cap for Cap for Distrelec socket socket Cap for socket Wickman 955 273262 IC1 5 232 50 16 STMicroelectronics ST3232EBDR EBDR and receivers Low drop fixed LD1117 and adjus
15. is also used to show debug information each received frame is printed in hexadecimal format and the payload information is printed too as shown in the following examples for the frame transferring all measurement information and for the one transferring the status information Frame Rx gt 00 00 03 00 00 02 01 BC 82 03 00 00 00 00 00 00 00 00 00 00 00 00 00 01 BC 82 03 00 00 00 00 00 00 00 00 00 00 00 00 00 RSP Voltage gt 230076 Current gt 0 Power gt 0 Energy gt 0 Frame Rx gt 00 00 03 00 01 02 02 01 FF FF 02 01 FF FF RSP Type gt 1 Main Val gt 255 Aux Val gt 255 In addition to the debug information the information extracted by the application layer is printed as shown in the following example SmartPlug id voltage current power where e id SmartPlug ID 0 255 voltage mains voltage in mV current load current in mA e power load power consumption in W 4 Doc ID 18008 Rev 1 AN3287 PLM smartplug demonstration board After setting a new status of the mains output the smartplug sends back frame with the new status and the data concentrator prints out the following text message Status id status where e id SmartPlug ID 0 255 e status SmartPlug output status 0 255 These strings can be easily interpreted by a PC application for a better presentation Table 4 Class variables description Class Description cons Information variable that
16. shows the board schematics and BOM list Refer to the PLM smartplug HW UM1005 user manual for more hardware details December 2010 Doc ID 18008 Rev 1 1 32 www st com Contents AN3287 Contents 1 Document and library rules 5 1 1 esos ep bara iactis adus 5 2 PLM smartplug demonstration board 6 2 1 Board introduction 6 2 2 Main hardware components 8 2 3 Power on and board usage 8 2 3 1 PLM smartplug application configuration 8 2 3 2 PLM smartplug application running 9 2 4 Board and application limitations 12 3 PLM network and frames 13 3 1 PLM network parameters 13 4 Bill of material 1 14 5 Schematics ede UE RUE 24 6 Revision history 31 2 32 Doc ID 18008 Rev 1 ky AN3287 List of tables List of tables Table 1 CERT ah hee anes Ad aa ate a 5 Table 2 Jumper default 2 eee 8 Table 3 Terminal
17. stores the power consumption It is a read only variable Information variable that stores all measurements Voltage mVolt Current mA Power mW Energy Wh It is a read only variable status Information variable that stores the status of both main output relay dimmer and auxiliary output relay On top of text user interface described above a demo PC GUI has been developed working with only three smartplugs and one data concentrator When the application is opened it shows the window in Figure 4 which allows to open the COM port for communication with the data concentrator board and to use the text debug command and also show response messages Figure 4 Network example 1 4 PLM smart Plug Demo PLM Network Debug Coordinator Serial Data J You are now connected So you lithe Smart Ph Jello com2 Input Started CONSOLE 1 0 STARTED PLM Started Local Address 1 Frame Rx gt 00 00 03 00 00 02 01 BB 84 03 00 7C 00 00 00 00 00 00 00 00 00 00 00 01 BB 84 03 00 7C 00 00 00 00 00 00 00 00 00 00 00 RSP Voltage gt 230587 Current gt 124 Power 0 P g En gt 0 ab ergy SmartPlug 0 230587 124 0 Debug Cmd J Debug commands use is for advanced COMMAN D gt LIST NODES users only Node 0 gt 0003 C Run demo window Text command input COM port Setting Doc ID 18008 Rev 1
18. 10 Digi Isolator MSOP8 NVE IL712S 1E 436 Medium density STM32F gt performance line STM32F103CBT U11 n ARM based 32 LQFP48 ST Microelectronics 6 bit MCU Programmable single phase U12 STPMO1 energy metering TSSOP20 ST Microelectronics STPMO1FTR IC with tamper detection 2 way screw _ Load terminal block Throughhole Phoenix contact 1988105 noes 7301 7 5 mm pitch x1 16 MHz 16 MHz crystal SMD Any Fio 6531 1 8 MHz 16 MHz crystal SMD Any Fio Bri 9242 16 12 coil Do not k1 Do not fit Do not fit Do not fit Do not fit Do not fit Do not fit fit fit k2 16A 12 12 V 16 Lowprofile SPDT Through hole OMRON G2RL 1 E 12DC RS code 365 Vdc coil A power relay 0535 48c NV Schematics AN3287 5 Schematics Figure 6 Top page 5 a lt N 5 5 2 5 a 2 5 sg i x n E 14 E 8 S 8 E E 8 EE 5 5 lt E 55 T o 5 9 E ZCR ZCR CLK MCO PLM BU BU THERM PLM CD PD CD PD SYN STPMO1 SYN Rx Tx RxTx SPI 505 STPMO1 505 PLM REG DAT A REG DATA g SPI CLK STPMO1 SCK 5 SPI MISO STPMO1 MISO PLM SCK CLR T gt SPI_MOSI STPMO1 MOSI PLM RX RxD amp 90 TX TxD 4 8 2 2 N
19. 1019 PEE ar ov 9 L 2 I N 5 N H duzy 9110 anzz HSEOZL 1 652746 M 4 00713915 gt peo 5 IME AL 5 MEM a 2 ends 5 1 1 24 5 30 32 AN3287 Revision history 6 Revision history Table 7 Document revision history Date Revision Changes 10 Dec 2010 1 Initial release Doc ID 18008 Rev 1 31 32 AN3287 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
20. 3 Data Concentrator STEVAL IHPOO3Vi STEVAL IHPOO2V1 Node Local Id 0 4 SmartPlug STEVAL IHP002V1 gt Logical Link Secondary Remote Id 0 1 cable The data concentrator firmware is also provided in order to build a complete network solution it can be loaded into one of the available smartplug boards STEVAL IHP002V1 or it is possible to order STEVAL IHPOO3V1 separately which has a better form factor for PC connection and program it with the data concentrator firmware The data concentrator accepts commands provides the command responses and also the asynchronous messages from smartplugs and some debug information through the RS232 connection a basic I O text terminal has been implemented through this connection in order to provide the commands and print responses by text using a terminal PC software such as HyperTerminal the local echo of the terminal software must be enabled in order to have a visual text feedback Each text command must be completed by the lt enter gt key and are case sensitive The following commands are implemented Doc ID 18008 Rev 1 9 32 PLM smartplug demonstration board AN3287 Table 3 Terminal commands Commands get Description Used to request information to a remote smartplug After the command the modem answers with the string COMMAND gt GET to confirm the command acquisition and waits for one of the comm
21. 6 current information foot print code info code Through Distrelec 23 68 nF 20 96 300 V X2 Capacitor Hole Any code 821885 Ceramic GRM3195C1H68 RS code 624 C26 6 8 nF 5 96 50V capacitor COG SMD 1206 muRata 2JAO1D 2597 Ceramic GRM1555C1H15 RS code 624 C30 15 pF 5 96 50V capacitor COG SMD 0402 muRata 0JZ01D 2935 Ceramic GRM1555C1H22 RS code 624 C31 22 pF 5 96 50V capacitor COG SMD 0402 muRata 0JZ01D 2187 Ceramic C0603C271J5GA RS code 147 C32 270 pF 5 96 50V capacitor COG SMD 0603 Kemet C7867 207 Ceramic GRM1885C1H10 RS code 653 C21 C33 100 pF 5 96 50V capacitor COG SMD 0603 muRata 1JA01D 0327 C68 C69 C70 C71 C102 C105 C106 G 107 093 Ceramic C97 C98 100nF 10 50V capacitor X7R SMD 0805 C99 C100 C104 C109 C110 C111 C112 C113 C91 C92 47nF 10 50V SMD 0805 capacitor X7R Electrolytic RS code 536 96 C94 C95 10ygF 20 50V capacitor SMD Any 9859 C108 1nF 10 50V SMD 0805 capacitor X7R 48c NV 65 91 80081 Table 6 BOM continued Part Tol Volt Technol Pack Manufacturer FIDIBUS IET M Reference pud aed vonage Watt Senno ogy age Manufacturer other value 96 current information foot print code info code Electrolytic C117 Distrelec C118 470 uF 20 96 25V
22. O 1 calibration setting Detailed information about the PLM smartplug demonstration board hardware can be found in the UM1005 user manual Power on and board usage Before turning on the board for the first time make sure that the following configuration jumpers are fitted or unfitted according the following default table Table 2 Jumper default position Jumper Description Default Boot option SW2 SW5 Fitted 1 2 boot option bit 0 Fitted 1 2 Fitted 2 3 boot option bit 1 General purpose configuration bit SW3 SW6 SW7 Fitted 1 2 configuration bit 1 Fitted 2 3 Fitted 2 3 configuration bit O STPMO1 calibration mode SW8 SW10 SW11 SW12 Fitted 1 2 normal mode Fitted 1 2 Fitted 2 3 calibration mode Energy meter data line option 9 Fitted 1 2 data line connected to SPI2 MISO Fitted 1 2 Fitted 2 3 data line connected to SPI2 MOSI PLM smartplug application configuration The general purpose configuration jumpers are used to configure the smartplug type e Relay SW6 0 SW7 0 SW3 0 e Dimmer SW6 1 SW7 0 SW3 0 Before powering up the board these jumpers must be set according to the board type The STPM01 is configured to work using the internal shadow latch which is loaded with parameters stored in the internal flash of the MCU however the STPM01 can be calibrated by putting the jumpers SW8 SW10 SW11 SW12 in calibration mode and us
23. and classes which identify the data to request The command classes are described in Table 4 set Used to write information to a remote smartplug After the command the modem answers with the string COMMAND gt SET to confirm the command acquisition and waits for one of the command classes which identify the data to write The command classes are described in Table 4 identify Used to identify a specific smartplug inside the network After the command the modem answers with the string COMMAND gt IDENTIFY to confirm the command acquisition and wait for the string single followed by the enter key to complete the command The command completion is confirmed by the string CLS gt single after the command the modem waits for the node ID to identify printing the string NODE 10 gt The smartplug identified by the inserted node ID blinks its LEDs ligt Used to list the smartplug in the network already connected to the data concentrator After the command the modem answers with the string COMMAND gt LIST NODES and with the list of the smartplug ID and address route Used to print the routing table After the command the modem answers with the string COMMAND gt ROUTE and with the routing table 10 32 For the commands get and set it is possible to specify the class variable to write read Table 4 describes these variables The text terminal interface
24. concentrator STPMO1 calibration hasn t been done to obtain the accuracy necessary for fiscal metrology e The Triac has been tested with a maximum load equal to 1 kW Doc ID 18008 Rev 1 ky AN3287 PLM network and frames 3 3 1 PLM network and frames Details regarding the network information and frames can be found in the PLM smartplug FW UM1006 user manual and in the AN3046 application note PLM network parameters During startup each node configures the ST7540 with the following parameters Table 5 ST7540 configuration Configuration parameter Parameter value Carrier frequency 132 5 kHz Baud rate 2400 bps Deviation 0 5 Watchdog Disabled Transmission timeout Disabled Frequency detection time 300 mSec Detection method Preamble detection with conditioning Mains interfacing mode Synchronous Output clock Off Output voltage level freeze Disabled Header recognition Enabled Frame length count Disabled Header length 16 bits Extended register Enabled Sensitivity mode Sensitivity high Input filter Enabled Frame header 0 89 Frame length 1 Configuration bytes values Ox1 0x89 OxF7 0x94 17 Doc ID 18008 Rev 1 13 32 m4 Bill of material Table 6 BOM Part Tol Volt Technol Pack Manufacturer PS Distrelec M Reference ot
25. e N 5 5 e 5 5 mg I mg E 7 m gt n a 7 N TON LT tr lt z a z y 08035 1 24 32 Doc ID 18008 Rev 1 Schematics 5 AMO8036v1 25 32 uagaeeeels duzy AN3287 RS232 communication section Figure 7 z XU NILH 1NOZL 1001 44001 025 ost AS 34001 692 TOSI AS TOSI AS Doc ID 18008 Rev 1 AN3287 Power supply section Figure 8 AM08037v1 ANLD ANOL ME S9ZO VdS 969 44585 0219 ZANT C 61 4 90 S 11 Mt OF 1019 Doc ID 18008 Rev 1 26 32 Schematics AN3287 ion ion sect t ine communica Power Figure 9 gt p 51531 4H 11531 50 adeg 210 HOLO3NNOO vad Ino XL PL 94 wuaHiing PPA xp ax Lossrsiva e RA T 2 L NE T qug 920 91 t JL A NI XH 390 29 N VOSLLOWS
26. erance dai d Watt age Manufacturer other value 90 current information foot print code info code 9 way D _ CN1 PORT 0 plug US footprint Through hole Any 2590 8 1 Ceramic EN C1 2 2 uF 10 96 50V capacitor X7R SMD 0805 Ceramic H C5 C6 22 pF 10 50V capacitor X7R SMD 0805 7 470nF 10 50V SMD 0805 capacitor X7R Cerami eramic 11 12 33pF 10 96 50 V capacitor X7R SMD 0805 lt C14 C27 5 Ceramic GRM188R71H10 RS code 204 TONE 8194 55 capacitorx7R SMD 0603 eae 3KA01D 0779 C114 5 Ceramic C115 10 nF 10 96 50 V capacitor X7R SMD 0805 C15 C17 5 Ceramic C1206C106K4PA RS code 648 C24 alee dew capacitorx7R SMD 1206 Kemet C7800 0755 C16 C18 Ceramic GRM188R71H10 RS code 624 C25 100 nF 10 50V capacitorX7R SMD 0603 muRata AKA93D 2480 Ceramic GRM21BR61A10 RS code 106 C22 10 uF 10 96 10V capacitor X5R SMD 0805 muRata 6KE19L 846 Through RS code 441 10 95 C116 47 nF 10 300 V X2 Capacitor Hole Any 9600 Tantalium RS code 464 C101 10 10 10V capacitor SMD Any 7619 N Z8cENV JO 3 80081 1900 Table 6 BOM continued Part Tol Volt Technol Pack Manufacturer M Reference Watt Senno ogy age Manufacturer other value 9
27. ing the on Doc ID 18008 Rev 1 437 AN3287 PLM smartplug demonstration board 2 3 2 board calibration connector before powering up the board For details please refer to the UM1005 user manual The first time the board is powered up information regarding the addresses used for the communication protocol and the network functions which are stored in the MCU embedded flash are blank therefore after the first boot this information must be initialized using a PC software application running on a PC connected to the board by the RS232 port for details about this configuration procedure please refer to the AN3046 application note For the PLM smartplug board the procedure described in AN3046 must be used only for configuration purposes PLM smartplug application running After configuration the board can be used in a network the address configuration of each board must be consistent with the chosen network topology Figure 3 shows an example of a network and the related network addresses and node function configuration Figure 3 Network example Data Concentrator NE gt Primary Remote Id 0 0 D Secondary Remote Id 0 0 Ten SmartPlug 1 m TYPE Node Local Id 0 2 Primary Remote Id 0 0 I SmartPlug 0 __ Secondary Remote Id 0 0 7 TYPE Repeater z Local Id 0 1 Li Primary Remote Id 0 0 Secondary Remote Id 0 0 7 Primary Remote Id 0 1 Secondary Remote Id 0 1 SmartPlug
28. ough hole Any code 351276 L5 22uH 10 21 Smd inductor SMD EPCOS B8246444223K L6 220 10 240 Smd inductor SMD EPCOS 82462 4224 L7 L9 1 10 380 Smd inductor SMD EPCOS B82464A4105K 2 18 10gH 21096 1A Smd inductor SMD EPCOS B82442H1103k 01 02 BC857B PNP transistor SOT23 Any po pes id Z8cENV 65 61 80081 Table 6 BOM continued Part Tol Volt Technol Pack Manufacturer M Reference i Watt 18 no ogy age Manufacturer other value 96 current information foot print code info code High temperature 20 Q3 T2035H D2PAK STMicroelectronics T2035H 6G TR Snubberless Triacs 2STR12 Low voltage fast Q4 Q5 15 switching NPN SOT 23 STMicroelectronics 2STR1215 power transistor R3 1kO 4 5 1 2 W Resistor Axial through hole R6 1 4 1 96 0 1W Resistor SMD 0603 R7 47 1 96 0 1W Resistor SMD 0603 R8 15 1 96 0 1 W Resistor SMD 0603 R9 4 7 1 96 0 1W Resistor SMD 0603 R88 R108 47ko 5 1 8 W Resistor SMD 0805 R109 R10 13 1 96 0 1W Resistor SMD 0603 R12 1 1 96 0 1 W Resistor SMD 0603 R62 R68 R104 R106 1 5 96 1 8 W Resistor SMD 0805 R13 2 7 1 96 0 1 W Resistor SMD 0603 R14 1 8 1 96 0 1W Resistor SMD 0603
29. table IC2 DT50TR positive voltage DPAK STMicroelectronics LD1117DT50TR regulators LD1117ADT33T IC3 ADT33T d DPAK STMicroelectronics R positive voltage R regulators JP4 JP5 Close Do not fit Do not fit Do not fit Do not fit Do not fit Pek l a meter Vertical RS code 495 J1 connector male Any connect through hole 8470 connector 2 54 or 4 mm pitch 4 way single row Rfid Vertical RS code 495 J8 connector male Any reader through hole 8470 connector 2 54 mm pitch 20 way IDC low profile boxed Vertical RS code 2 header 2 54 mm through hole Any 461770 pitch 48c NV 65 81 80081 Table 6 BOM continued RS Distrelec Part Tolerance Voltage Technology Package Manufacturer More Reference 5 Watt Manufacturer other value current information foot print code info code 2 way single row strip line AOE J3 CON2 connector male Rie 4 through hole 8470 connector 2 54 mm pitch 3 way screw jag J4 CONS3 terminal block Through hole Any 5865 5 08 mm pitch 10 way IDC low J6 CAL profile boxed Vertical An RS code 461 CON header 2 54 mm through hole y 742 pitch 2 way screw _ J7 J9 CON2 terminal block Throughhole Phoenix Contact 1988105 3 7301 7 5 mm pitch 2x10 Distrelec L1 mH 0 5A Line filter Thr

Download Pdf Manuals

image

Related Search

Related Contents

Life Fitness 39735 Home Gym User Manual    Tensiomètre automatique  SECURITY ENERGIZER  manual de instrucciones  ViewSonic PJ862 Multimedia Projector  SISTEMA DE PREVENCIÓN DE SOBRELLENADO  APC PM5V-GR surge protector  Revo Block professional  

Copyright © All rights reserved.
Failed to retrieve file