UM1458 User manual STEVAL-IHP002V2: PLM smartplugV2 hardware Introduction This demonstration board is a smartplug based on the STM32F10x microcontroller, ST7540 PLM, and STPM01 energy metering ICs. The board is a node of a PLM network which allows the final user to monitor and manage the plugged load energy consumption. The board has been developed to provide a guideline on how to build a home/building automation subsystem for energy management. It is designed to fit the dimensions of a standard box for wall installation and easy integration into home/building electrical plants. The current, power, energy and other information related to the electrical load connected to the smartplug board are sent to a PLM data concentrator through the home/building PLM network. The board includes the following functions which are illustrated in the block diagram of Figure 1: ■ Energy measurement ■ Power line communication up to 4.8 kbps ■ RS232 connectivity by extension connector ■ Load driver with relay Figure 1. November 2011 PLM smartplugV2 block diagram Doc ID 022127 Rev 1 1/33 www.st.com Contents UM1458 Contents 1 2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1 Recommended reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2 Safety precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.3 Getting technical support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 Package list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 PLM smartplug demonstration board components . . . . . . . . . . . . . . . . 7 2.1 Microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.2 Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.3 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.4 Power supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.5 Power line communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.6 Energy measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.7 Load drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.8 USART communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.9 Status LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.10 Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.10.1 Jumper placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.10.2 Jumper positions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.10.3 Jumper description and default value . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.11 Pushbutton description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.12 Connector description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.12.1 2.13 3 STM32 JTAG connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Energy meter IC calibration connector . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Board configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.1 SPTM01 calibration configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4 Bill of material and schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 2/33 Doc ID 022127 Rev 1 UM1458 List of tables List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. STM32 resources – ST7540 function mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 STM32 resources – STPM01 function mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 STM32 resources – RS232 function mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 LED description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Pushbutton description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Connector description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 JTAG connector pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Energy meter calibration connector pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Bill of material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Doc ID 022127 Rev 1 3/33 List of figures UM1458 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. Figure 13. Figure 14. Figure 15. Figure 16. 4/33 PLM smartplugV2 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 PLM smartplugV2 board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Wiring diagram for monitored and controlled AC load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Wiring diagram for a controlled generic load and a monitored AC load . . . . . . . . . . . . . . . . 9 Jumper placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Jumper positions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Connector position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 STM32 10-pin JTAG connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Energy meter calibration connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Top page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Power supply section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 USART expansion connector section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Power line modem section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 MCU section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 STPM01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Output drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Doc ID 022127 Rev 1 UM1458 Overview 1 Overview 1.1 Recommended reading This document describes how to configure and use the PLM smartplug demonstration board. Additional information can be found in the following documents: 1.2 ● ST device datasheets referenced in this document ● Third party device datasheets ● AN3287 application note ● UM1459 user manual. Safety precautions The board must be used only 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 tests on the board in which test instruments such as 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. Warning: 1.3 STMicroelectronics assumes no responsibility for any consequences which may result from the improper use of this tool. Getting technical support Technical assistance is provided free to all customers. For technical assistance, documentation, upgrades and information about products and services, please refer to your local ST distributor/office. Doc ID 022127 Rev 1 5/33 Overview 1.4 UM1458 Package list The PLM smartplug demonstration board package includes the following items: ● The PLM smartplug demonstration board (Figure 2) ● A CD-ROM with software and documentation Figure 2. 6/33 PLM smartplugV2 board Doc ID 022127 Rev 1 UM1458 PLM smartplug demonstration board components 2 PLM smartplug demonstration board components 2.1 Microcontroller The system is managed by the STM32F103CB microcontroller. It is based on the 32-bit ARM Cortex™-M3 core with 72 MHz maximum frequency, 128 KB flash and 20 KB SRAM embedded memories. For further details please refer to the STM32F103x4 STM32F103x6 and the STM32F103x8 STM32F103xB datasheets. The microcontroller is driven by an external 8 MHz crystal for the high speed main clock. Some jumpers are connected to the microcontroller GPIOs in order to allow firmware configuration. 2.2 Debug Software debug is via a standard 20-pin JTAG connection. The JTAG connector is not insulated, so for debugging use the JTAG opto-insulation board (order code: AIJTAG/OPTO1/A), a battery supplied notebook, or supply the board through an insulated AC source. 2.3 Reset The reset sources are: 2.4 ● Power-on reset ● Pushbutton reset ● JTAG reset from an in-circuit emulator Power supplies The board is powered directly by the mains. It includes an insulated extended range power supply and both 50 Hz and 60 Hz frequencies. The power supply is based on the Altair05T-800 controller for AC-DC converter. It provides 12 Vdc; the 3.3 Vdc is generated an LD1117AXX33 linear regulator starting from the 12 Vdc. 2.5 Power line communication The board allows digital data communication through power line modulation using the ST7540 power line modem. For more details about the modem please refer to the ST7540 datasheet. The ST7540 supports B-FSK modulation up to 4800 bps; it is compliant with CENELEC band A, B, and C, supports preamble and unique word reception synchronization, and has a 500 mArms output current with 12 Vpp single-ended thanks to its integrated amplifier. The modem is coupled with the mains by a coupling transformer. The ST7540 is managed by an SPI and two control lines: the REG_DATA line, which is used to select the access to the configuration register or to the data, and the RxTx line which is used to select the reception or transmission mode. Moreover, the ST7540 provides information about the preamble/unique-word detection (CD/PD) and the carrier sensing (BU) by two digital outputs. Table 1 shows the MCU resources mapping used for ST7540 management. Doc ID 022127 Rev 1 7/33 PLM smartplug demonstration board components Table 1. 2.6 UM1458 STM32 resources – ST7540 function mapping STM32 resource ST7540 function PA1 REG_DATA PA2 CD/PD PA3 BU PA4 RxTx SPI1-SCK (PA5) SCK SPI1-MISO (PA6) TXD SPI1-MOSI (PA7) RXD Energy measurement The energy meter section is based on the STPM01 programmable single-phase energy meter IC. The STPM01 supports 50-60 Hz -IEC62052-11, IEC62053-2X specifications with less than 0.1 % error. For further details please refer to the STPM01 datasheet. The current sensing is done by the current transformer; the STPM01 also measures the mains voltage. The image in Figure 3 shows the wiring diagram in case the user wants to drive and monitor the same AC load. In this case, in fact, it is necessary to power the common contact of the output relay by the phase. Figure 3. Wiring diagram for monitored and controlled AC load It is also possible to control a generic load (AC or DC) different from the monitored AC one with the wiring diagram shown in Figure 4. 8/33 Doc ID 022127 Rev 1 UM1458 PLM smartplug demonstration board components Figure 4. Wiring diagram for a controlled generic load and a monitored AC load The STPM01 is controlled by the MCU with an SPI communication bus and digital control line. Table 2 shows the MCU resources mapping for energy meter IC management: Table 2. 2.7 STM32 resources – STPM01 function mapping STM32 resource Energy meter function PA11 SYN SPI2-MOSI/MISO (PB15/PB14) SDA SPI2-SCK (PB13) SCL PB12 SCS Load drivers The board can supply any kind of load (DC or AC) up to 16 A since the contacts of the relay are just available on connector J3. If the user wants to control and monitor a load at the same time, it is necessary to refer to the wiring diagram shown in Figure 3. In this case it is possible to connect only AC loads. Figure 3 and 4 show the connection of the load to the normally opened contact; it is also possible to use the normally closed contact connecting the load to the third contact of the connector J3. 2.8 USART communication The board includes a USART communication interface which is used as the configuration port connecting an external RS232 adapter; it also allows the power supply of the MCU in order to avoid the board connection to the mains during configuration. This interface is not insulated so must be used carefully, by a battery powered laptop, if the board is connected to the mains without connecting the adaptor to the power supply. Table 3 shows the MCU resources mapping. Doc ID 022127 Rev 1 9/33 PLM smartplug demonstration board components Table 3. 2.9 STM32 resources – RS232 function mapping STM32 resource Serial communication function USART1-TX (PA9) RS232-TX USART1-RX (PA10) RS232-RX Status LEDs Table 4. LED description LED Description DL1 5 V power supply D1 General purpose bi-color DL2 Energy measurement 2.10 Jumpers 2.10.1 Jumper placement Figure 5. 10/33 UM1458 Jumper placement Doc ID 022127 Rev 1 UM1458 2.10.2 PLM smartplug demonstration board components Jumper positions Figure 6. Jumper positions .OTFITTED $ONOTFIT &ITTED &ITTED .OTFITTED .OTFITTED &ITTED !-V 2.10.3 Jumper description and default value Table 5. 2.11 Jumper description Jumper Description Default SW8 Running mode: – Fitted (1-2): calibration mode – Fitted (2-3): normal mode Fitted (2-3) Pushbutton description Table 6. Pushbutton description Switch Description SW4 STM32 reset button Doc ID 022127 Rev 1 11/33 PLM smartplug demonstration board components 2.12 2.12.1 UM1458 Connector description Figure 7. Connector position Table 7. Connector description Connector Description J2 STM32 JTAG connector J4 Output relay contacts J6 STPM01 calibration connector J7 AC input STM32 JTAG connector Figure 8. STM32 10-pin JTAG connector !-V 12/33 Doc ID 022127 Rev 1 UM1458 PLM smartplug demonstration board components Table 8. 2.13 JTAG connector pin description Pin Description 1 VCC 2 TMS 3 GND 4 TCK 5 GND 6 TDO 7 N.C. 8 TDI 9 GND 10 Reset Energy meter IC calibration connector Figure 9. Energy meter calibration connector Table 9. Energy meter calibration connector pin description Pin Description 1 VCC 2 TMS 3 GND 4 TCK 5 GND 6 TDO 7 N.C. 8 SYN_CAL 9 SBG 10 Not connected Doc ID 022127 Rev 1 13/33 Board configuration UM1458 3 Board configuration 3.1 SPTM01 calibration configuration To calibrate the STPM01, the SW8 must be set according to Table 5. When this switch is set in calibration mode, the STPM01 can be driven by an external programmer using the J6 connector. 14/33 Doc ID 022127 Rev 1 Bill of material and schematics Table 10. Bill of material Reference Part / value Tolerance Voltage % current Watt Technology information Packagefoot-print Manufacturer Manufacturer code RS/Distrele c/other code Doc ID 022127 Rev 1 22 pF +/-10% 50 V Ceramic capacitor X7R SMD 0603 C122 470 nF +/-10% 50 V Ceramic capacitor X7R SMD 0805 C7 22 pF +/-10% 50 V Ceramic capacitor X7R SMD 0603 C11,C12 33 pF +/-10% 50 V Ceramic capacitor X7R SMD 0805 C14,C27, C103C114, C115 10 nF ±10% 50 V Ceramic capacitorX7R SMD 0603 muRata GRM188R71H10 3KA01D RS code: 204-0779 C15,C17, C24 10 µF ±10% 16 V Ceramic capacitorX7R SMD 1206 KEMET C1206C106K4PA C7800 RS code: 648-0755 C16,C18, C25,,C109, C110,C111 ,C112,C11 3,C97,C98, C99,C100, C104 100 nF ±10% 50 V Ceramic capacitorX7R SMD 0603 muRata GRM188R71H10 4KA93D RS code: 624-2480 C21,C33 100 pF ±5% 50 V Ceramic capacitor COG SMD 0603 muRata GRM1885C1H10 1JA01D RS code: 653-0327 C22 10 µF ±10% 10 V Ceramic capacitor X5R SMD 0805 muRata GRM21BR61A10 6KE19L RS code: 106-846 UM1458 C5,C6 More info Bill of material and schematics 15/33 4 Reference Bill of material (continued) Part / value Tolerance Voltage % current Watt Technology information Packagefoot-print Manufacturer Manufacturer code RS/Distrele c/other code More info UM1458 Table 10. Distrelec code: 821885 Doc ID 022127 Rev 1 68 nF ±20% 300 V X2 Capacitor Through hole Any C26 6.8 nF ±5% 50 V Ceramic capacitor COG SMD 1206 muRata GRM3195C1H68 2JA01D RS code: 624-2597 C30 15 pF ±5% 50 V Ceramic capacitor COG SMD 0402 muRata GRM1555C1H15 0JZ01D RS code: 624-2935 C31 22 pF ±5% 50 V Ceramic capacitor COG SMD 0402 muRata GRM1555C1H22 0JZ01D RS code: 624-2187 C32 270 pF ±5% 50 V Ceramic capacitor COG SMD 0603 KEMET C0603C271J5GA C7867 RS code: 147-207 C95 100 µF +/-20% 16 V Electrolytic capacitor SMD Any RS code: 565-695 C96 47 µF +/-20% 25 V Electrolytic capacitor SMD Any RS code: 565-712 C101 10 µF 10% 10 V Tantalium capacitor SMD Any RS code: 464-7619 C123 10 nF +/-10% 50 V Ceramic capacitor X7R SMD 0805 C124 1 nF +/-10% 50 V Ceramic capacitor X7R SMD 0805 C108 1 nF +/-10% 50 V Ceramic capacitor X7R SMD 0603 C116,C117 4.7 µF +/-20% 400 V Electrolytic capacitor Through hole Any RS code: 365-4745 C118 470 pF +/-10% 400 V Ceramic capacitor X7R SMD 1206 Any RS code: 192-718 16/33 Bill of material and schematics C23 Reference Bill of material (continued) Part / value Tolerance Voltage % current Watt Technology information Packagefoot-print Manufacturer Manufacturer code RS/Distrele c/other code Doc ID 022127 Rev 1 C119 470 µF +/-20% 16 V Electrolytic capacitor low ESR Through hole Any Distrelec code:80183 9 C120 2.2 µF +/-10% 35 V Tantalium capacitor SMD Any RS code: 699-3324 C121 2.2 nF +/-20% 250 V Y2 ceramic capacitor Through hole Any RS code: 216-1595 DL1 Red Chip LED SMD 0805 Any Distrelec code: 250154 DL2 Blue Chip LED SMD 0805 Any Distrelec code: 250159 D1 Bi-color LED red/green LED bi-red, green SMD Any RS code: 419-053 D6,D13, D17 LL4148 Switching diode_ SOD-80 Any Distrelec code: 601496 D8,D10 BAT54S Small signal Schottky diodes SOT-23 STMicroelectronics BAT54SFILM D9 SM6T15CA Transil SMB STMicroelectronics SM6T15CA D14 MB6S-RC Diode bridge SOIC4 Taiwan Semiconductor D15 STPS1H100A High voltage power Schottky rectifier SMA STMicroelectronics STPS1H100A D16 STTH1L06A Turbo 2 ultrafast high voltage rectifier SMA STMicroelectronics STTH1L06A More info Bill of material and schematics 17/33 Table 10. RS code: 652-7501 UM1458 Reference Bill of material (continued) Part / value Tolerance Voltage % current Watt Technology information Packagefoot-print Manufacturer Manufacturer code RS/Distrele c/other code F1 1A Fuse with clip 1A SMD Schurter 3404.2416.22 IC3 LD1117ADT3 3TR Low drop fixed and adjustable positive voltage regulators DPAK STMicroelectronics LD1117ADT33T R JP4,JP5 Close Do not fit Do not fit Do not fit Do not fit Peak meter connector 5-way single row stripline connector (male connector) 2,54 mm pitch Vertical through hole Any RS code:4958470 JTAG 2x10-way double row stripline connector (male connector) 2,54 mm pitch Vertical through hole Any RS code: 1732764 J3 USART 3-way single row stripline connector (male connector) 2,54 mm pitch SMD Tyco Electronics 1241150-3 RS code: 528-6237 J4 CON3 3-way vertical closed header, 5.08 mm pitch Through hole PHOENIX CONTACT SL 5.08/3/180B RS code: 294-8443 CAL CON 2x10-way double row stripline connector (male connector) 2,54mm pitch Vertical through hole Any J1 Doc ID 022127 Rev 1 J2 RS code: 703-2742 Do not fit RS code: 1732764 18/33 Bill of material and schematics J6 More info UM1458 Table 10. Bill of material (continued) RS/Distrele c/other Packagefoot-print Manufacturer CON2 2-way vertical closed header, 5.08 mm pitch Through hole PHOENIX CONTACT SL 5.08/2/180B4.5 RS code: 294-7428 J8 RFID reader 4-way single row stripline connector (male connector) 2,54 mm pitch SMD Tyco Electronics 1241150-4 RS code: 528-6243 L5 22 µH ±10% 2.1 A Smd inductor SMD EPCOS B82464A4223K RS code: 496-0445 L6 220 µH ±10% 240 mA Smd inductor SMD EPCOS B82462A4224K RS code: 495-8048 L8 470 µH +/-5% 170 mA Inductor Through hole Any RS code: 191-0677 L9 10 µH +/-10% 500 mA Inductor Through hole Any RS code: 191-0481 Q1,Q2 BC857B PNP transistor SOT23 Any RS code: 445-2051 Q5 2STR1215 Low voltage fastswitching NPN power transistor SOT-23 STMicroelectronics R6 1.1 kΩ +/-1% 0.1 W Resistor SMD 0603 R7 47 kΩ +/-1% 0.1 W Resistor SMD 0603 R8 15 kΩ +/-1% 0.1 W Resistor SMD 0603 R9,R88, R71,R72, R73,R108, R109 4.7 kΩ +/-1% 0.1 W Resistor SMD 0603 R10 13 kΩ +/-1% 0.1 W Resistor SMD 0603 J7 Part / value Tolerance Voltage % current Manufacturer Technology information Reference Watt code code More info Bill of material and schematics 19/33 Table 10. Doc ID 022127 Rev 1 2STR1215 UM1458 Reference Bill of material (continued) Part / value Tolerance Voltage % current Watt Technology information Packagefoot-print Doc ID 022127 Rev 1 R12,R62, R68,R90, R93 1 kΩ +/-1% 0.1 W Resistor SMD 0603 R13 2.7 kΩ +/-1% 0.1 W Resistor SMD 0603 R14 1.8 kΩ +/-1% 0.1 W Resistor SMD 0603 R17 470 Ω +/-1% 0.1 W Resistor SMD 0603 R19,R85, R86,R87 2.4 kΩ +/-1% 0.1 W Resistor SMD 0603 R20 56 kΩ +/-1% 0.1 W Resistor SMD 0603 261 kΩ +/-1% 1/8 W Mini melf Resistor SMD 0805 R61,R106 1 kΩ +/-5% 1/8 W Resistor SMD 0805 R74,R76, R77,R78, R79 10 kΩ +/-5% 0.1 W Resistor SMD 0603 R112,R118 10 kΩ +/-5% 1/8 W Resistor SMD 0805 R69,R70 82 Ω +/-5% 1/8 W Resistor SMD 0805 R75 1 MΩ +/-5% 0.1 W Resistor SMD 0603 R89 560 Ω +/-1% 0.1 W Resistor SMD 0603 R91,R92 6.8 Ω +/-1% 0.1 W Resistor SMD 0603 R94 2 MΩ +/-1% 1/4 W Resistor SMD 1206 R95 0 +/-1% 0.1 W Resistor SMD 0603 Any Manufacturer code RS/Distrele c/other code More info Digi-Key code: RT0805FRE 07261KLND Farnell code: 1500646 Bill of material and schematics 20/33 R21,R22, R96,R97, R101,R102 Manufacturer UM1458 Table 10. Reference Bill of material (continued) Part / value Tolerance Voltage % current Watt Technology information Packagefoot-print Manufacturer Manufacturer code RS/Distrele c/other code Doc ID 022127 Rev 1 Any Digi-Key code: RT0805FRE 07475RL Any RS code: 214-0920 475 Ω +/-1% 1/8 W R99 43 kΩ +/-1% 0.1 W Resistor SMD 0603 R100 100 Ω +/-1% 0.1 W Resistor SMD 0603 R105 1 kΩ (do not fit) +/-1% 1/4 W Resistor SMD 1206 R110 22 Ω +/-5% 1W Fuse resistor Through hole R111 120 kΩ +/-5% 1/4 W Resistor SMD 1206 R113 10 Ω +/-5% 1/8 W Resistor SMD 0805 R114 27 kΩ +/-1% 1/8 W Resistor SMD 0805 R115 4.7 kΩ +/-1% 1/8 W Resistor SMD 0805 R116 2.2 Ω +/-1% 1/8 W Resistor SMD 0805 R117 22 Ω +/-1% 1/8 W Resistor SMD 0805 RV1 VAR275V SMD varistor SMD EPCOS B72650M271K72 Distrelec code: 730096 SW4 Rst Surface mount tactile switch SMD C&K Y78B22110FP RS code 505-9186 Calibration settings 3-way single row stripline connector (male connector) 2,54 mm pitch SMD Tyco Electronics 1241150-3 RS code: 528-6237 SW8 275 V Mini melf resistor SMD 0805 Single stripline 3 poli UM1458 R98,R103 More info Bill of material and schematics 21/33 Table 10. Reference Bill of material (continued) Part / value Tolerance Voltage % current Watt Technology information Packagefoot-print Manufacturer Manufacturer code Doc ID 022127 Rev 1 Test point Test point Test point Test point Test point T1 Current transformer Current transformer Through hole VAC T60404-E 4622X503 T2 Custom transformer Custom transformer Through hole MAGNETICA 1921.0013 rev.2 T3 Line transformer Line transformer SMD VAC T60403-K5024X044 U3 ST7540 FSK power line transceiver HTSSOP2 8 STMicroelectronics ST7540TR U11 STM32F103C BT6 Medium-density performance line ARM-based 32bit MCU LQFP48 STMicroelectronics STM32F103CBT 6 STPM01 Programmable single phase energy metering IC with tamper detection TSSOP20 STMicroelectronics STPM01FTR U12 code More info Test point 22/33 Bill of material and schematics TP8,TP9, TP10,TP11 ,TP12, TP13, TP14,TP15 ,TP16, TP17, TP18, TP19, TP20, TP21, TP22, TP23, TP25, TP26,TP27 RS/Distrele c/other UM1458 Table 10. Reference Bill of material (continued) Part / value Tolerance Voltage % current Watt Technology information Packagefoot-print Manufacturer Manufacturer code RS/Distrele c/other code Doc ID 022127 Rev 1 ALTAIR05T800 X1 16 MHz 16 MHz crystal SMD Any Y1 8 MHz 8 MHz crystal SMD ABRACON ABM3B-8.000 MHz-B2 RS code: 703-1997 k2 16 A 12 Vdc coil (do not fit) 12 V/ 16 A Low profile SPDT power relay Through hole OMRON G2RL-1-E 12DC RS code: 365-0535 C5,C6 22 pF +/-10% 50 V Ceramic capacitor X7R SMD 0603 C122 470 nF +/-10% 50 V Ceramic capacitor X7R SMD 0805 C7 22 pF +/-10% 50 V Ceramic capacitor X7R SMD 0603 C11,C12 33 pF +/-10% 50 V Ceramic capacitor X7R SMD 0805 C14,C27, C103C114, C115 10 nF ±10% 50 V Ceramic capacitorX7R SMD 0603 muRata GRM188R71H10 3KA01D RS code: 204-0779 C15,C17, C24 10 uF ±10% 16 V Ceramic capacitorX7R SMD 1206 KEMET C1206C106K4PA C7800 RS code: 648-0755 C16,C18, C25,C109, C110,C111 ,C112, C113,C97, C98,C99, C100, C104 100 nF ±10% 50 V Ceramic capacitorX7R SMD 0603 muRata GRM188R71H10 4KA93D RS code: 624-2480 STMicroelectronics RS code: 547-6531 UM1458 U13 More info Bill of material and schematics 23/33 Table 10. Reference Bill of material (continued) Part / value Tolerance Voltage % current Watt Technology information Packagefoot-print Manufacturer Manufacturer code RS/Distrele c/other code Doc ID 022127 Rev 1 C21,C33 100 pF ±5% 50 V Ceramic capacitor COG SMD 0603 muRata GRM1885C1H10 1JA01D RS code: 653-0327 C22 10 µF ±10% 10 V Ceramic capacitor X5R SMD 0805 muRata GRM21BR61A10 6KE19L RS code: 106-846 C23 68 nF ±20% 300 V X2 capacitor Through hole Any C26 6.8 nF ±5% 50 V Ceramic capacitor COG SMD 1206 muRata GRM3195C1H68 2JA01D RS code: 624-2597 C30 15 pF ±5% 50 V Ceramic capacitor COG SMD 0402 muRata GRM1555C1H15 0JZ01D RS code: 624-2935 C31 22 pF ±5% 50 V Ceramic capacitor COG SMD 0402 muRata GRM1555C1H22 0JZ01D RS code: 624-2187 C32 270 pF ±5% 50 V Ceramic capacitor COG SMD 0603 KEMET C0603C271J5GA C7867 RS code: 147-207 C95 100 µF +/-20% 16 V Electrolytic capacitor SMD Any 2-way cable mount screw terminal, 5.08 mm Through hole Phoenix Contact CON3 Distrelec code: 821885 RS code: 565-695 BL 5.08/2 RS code: 403-875 Not mounted on PCB 24/33 Bill of material and schematics J7a More info UM1458 Table 10. UM1458 Bill of material and schematics 34 5!24?28 #/. * & ! '.$?0,- 6!26 26 %!24( 0,- . 5!24?48 53!24?28 0##OMM 23 #,24 2X$ 4X$ 34- 340- "54(%2#$0$ 2X4X 2%'?$!4 ! 0,-?3#+ 0,-?28 0,-?48 -#5 . 0,-?"5 0,-?#$0$ 0,-?2X4X 0,-?2%'$!4 ! 340-?39. 340-?3#3 340-?3#+ 340-?-)3/ 340-?-/3) , :#2 -#/ 39.?-#5 30)?3#3 30)?#,+ 30)?-)3/ , %NERGY-EASUREMENT !LTAIR . , 0OWER3UPPLY :#2 #,+ 53!24?48 42)!#2ELAY /04?#-$ $IMMER3WITCH /04?/54?#-$ Figure 10. Top page !-V Doc ID 022127 Rev 1 25/33 26/33 . 7 2 Doc ID 022127 Rev 1 &":#$ # N& 2 + '.$ # N& # N& )2%& #522%.4 #/.42/, #/-0 .# ,, $ U&6 # $ 344(,! 2 3/52#% $2!). 2 6$$ 6 !,4!)24 U& # U&6 # P&6 2 + U( # , 2 2 + 4 3403(! $ N& # U&6,OW%32 # 2 K $, 2%$ 2 K 6##?6 U( , 6). U&6 # )# 6/54 ,$!$442 5 2 + "2-"32# $ '.$ , U&6 # 6##?6 Bill of material and schematics UM1458 Figure 11. Power supply section !-V UM1458 Bill of material and schematics Figure 12. USART expansion connector section * 5!24?48 5!24?28 53!24 !-V Doc ID 022127 Rev 1 27/33 Doc ID 022127 Rev 1 $IGITAL 'ROUND # U& 0! ?). 0! ?). 0! ?/54 4X?/54 #$0$ !NALOG 3IGNAL 'ROUND 6CC 40 40 !NALOG 0OWER 'ROUND # N& 40 40 40 40 40 40 6DD 6SENSE 40 #, 2%'?$!4! # U& 6DD 6$# *0 #,/3% # N& *0 #,/3% 6$# 4X?/54 6DD 6DD '.$?0,- # U& 6$# # N& 6$# 6CC 2 K #$0$ 2%'?$!4! 2 K 6##?6 # P& 6DD 2 K #, 2 K -#,+ 234/ 5!2430) 7$ 0! ?). 2X$ 2X4X 4X$ "54(%2#,24 2 K # P& 6SENSE 0! ?/54 # N& 4X?/54 34 2 K 2 + 6CC $ 0! ?/54 4X?/54 0! ?). 2X?). #, 6SENSE # U& 4%34 4%34 , U( 2 K # N& 6CC 4%34 4%34 6$# 2X?). #, 6SENSE 8 8?/3#). 36SS 4X?/54 0!?). 6CC 6SS 0!?/54 "!433/4 2X?). 6$# $ 0! 2 K # P& #$0$ 2%'?$!4! '.$ 2X$ 2X4X 4X$ "54(%2#,24 6DD -#,+ 234/ 5!2430) 7$ 0!?). 5 0! ?). 0! ?). 2 K # P& # P& 28/33 4%340!$ 3 2 6$# 6CC # N& 4%34 4%34 # P& # P& 8 -HZ /3#). 4 ,INETRANSFORMER "!433/4 6CC 6$# , U( * 0%!+-%4%2#/..%#4/2 36SS 2X?). $ 3-4#! # N&8 .ON)SOLATEDTOPOLOGYFORK(Z"AND# . , Bill of material and schematics UM1458 Figure 13. Power line modem section !-V Doc ID 022127 Rev 1 6 # U& # N& # N& 6"!4 0#4!-024# 0# 0# 0$/3#). 0$/3#/54 .234 633! 6$$! 0!7+50 0! 0! 5 # N& 6 :#2 4)-?#( 30)?-/3) 30)?-)3/ 30)?3#+ 0! 0! "//4? # P& 6 0! 0! 6 2 K 2 K # P& - 9 -(Z 2 2%3%4 # N& # N& 6 6$$ 633 0" 0" 0" 0" 0" 0! 0! 0! 0! 0! "//4? 37 2ST 2 K $ ")#/,/2,%$2%$'2%%. 2 0! 0! 0" 0" 0" 0" 0" "//4 0" 0" 633 6$$ 2%3%4 "#" 1 2 + 2 "#" 1 #!, "//4? 6 2 K *44#+ *44$) *44$/ *4.4234 # N& 6 6 2 2 K K 0! 30)?3#+ 30)?-/3) 30)?-)3/ 0! 0! 0! 30)?-/3) 30)?-)3/ 30)?3#+ 53!24?28 53!24?48 *44-3 # N& )#?3#, )#?3$! 3 4- &# " 4 0" 0" 0" 0" 0! 0! 0! 0! 0! 0! 633 6$$ 6 6 2&)$2%!$%2 * 0,-?2X4X 0,-?3#+ 0,-?28 0,-?48 0,-?2%'$!4! 0,-?#$0$ 0,-?"5 /04?#-$ 340-?39. 53!24?28 53!24?48 -#/ 340-?-/3) 340-?-)3/ 340-?3#+ 340-?3#3 #!, 6 37 6 6##?6 2 K 2 K *4!'37$ * 2 + 6 2 + 2 + *44-3 *44#+ *44$/ *44$) 2%3%4 UM1458 Bill of material and schematics Figure 14. MCU section )#?3$! )#?3#, "//4? !-V 29/33 30/33 N& # Doc ID 022127 Rev 1 . , 2 , 2 K 2 K # + 2 + 2 NF # + 2 N& + 2 N& # N& # + 2 + 2 - 5 340- LED -/. -/0 6DDD 6SS 6CC 6DDA 6OTP )LP )LN 2 :#2 3DA 3CL 3CS 3YN #,+OUT #,+IN 6IN 6IP )LN )LP #,+ 2 + 2 2 2 2 2 # N& K 2 K 2 K 2 4 #URRENT4RANSFORMER 2 $ . # N& # N& 6##?6 6##?6 $, 2 6/40 3"' '.$ 3$! 3#3 3#,+ ,%$ 39. 3"' 2 + 6##?6 3#3 39. 3$!?-#5 3#3?#!, 30)?#3 39.?#!, 39.?-#5 3#,+?#!, 30)?#,+ 3$!?#!, 6/40 3"' '.$ 3$!?#!, 3#3?#!, 3#,+?#!, ,%$ 39.?#!, 3"' #!,#/. * #!,)"2!4)/.3%44).' 3 3#,+ 3$! 30)?3#3 39.?-#5 30)?#,+ :#2 30)?-)3/ #,+ 30)?-)3/ #,+ :#2 Bill of material and schematics UM1458 Figure 15. STPM01 !-V UM1458 Bill of material and schematics Figure 16. Output drivers * #/. 6##?6 + $ . 6##?6 24$30$4 2 +$/./4&)4 2 K 1 /04?/54?#-$ 342 !-V Doc ID 022127 Rev 1 31/33 Revision history 5 UM1458 Revision history Table 11. 32/33 Document revision history Date Revision 09-Nov-2011 1 Changes Initial release. Doc ID 022127 Rev 1 UM1458 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 Doc ID 022127 Rev 1 33/33