UM0723 User manual
1 kW three-phase motor control demonstration board featuring L6390 drivers and STGP10NC60KD IGBT
1
Introduction
This document describes the 1 kW three-phase motor control demonstration board featuring the L6390 high- and low-side drivers and the STGP10NC60KD IGBT. The demonstration board is an AC/DC inverter that generates a three-phase waveform for driving three- or twophase motors such as induction motors or PMSM motors up to 1000 W with or without sensors. The main device presented in this user manual is a universal, fully evaluated and populated design consisting of a three-phase inverter bridge based on the 600 V STMicroelectronicsTM IGBT STGP10NC60KD in a TO-220 package mounted on a heatsink and the L6390 highvoltage high-side and low-side driver featuring an integrated comparator for hardware protection features such as overcurrent and overtemperature. The driver also integrates an operational amplifier suitable for advanced current sensing. Thanks to this advanced characteristic, the system has been specifically designed to achieve an accurate and fast conditioning of the current feedback thus matching the typical requirements in field oriented control (FOC). The board has been designed to be compatible with single-phase mains, supplying from 90 VAC to 285 VAC or from 125 VDC to 400 VDC for DC voltage. With reconfiguration of the input sourcing, the board is suitable also for low-voltage DC applications up to 35 VDC. This document is associated with the release of the demonstration board STEVALIHM023V1 (see Figure 1 below). Figure 1. STEVAL- IHM023V1
November 2009
Doc ID 15870 Rev 2
1/46
Contents
UM 0723
C o n t en t s
1 2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 System introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 2.2 2.3 Main characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Target applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Safety and operating instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2. 3. 1 2. 3. 2 2. 3. 3 2. 3. 4 2. 3. 5 General terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Demonstration board intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Demonstration board installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Electric connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Demonstration board operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3
Board description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.1 3.2 3.3 System architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 The board schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Circuit description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3. 3. 1 3. 3. 2 3. 3. 3 3. 3. 4 3. 3. 5 3. 3. 6 3. 3. 7 3. 3. 8 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Inr ush limitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Brake function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Gate driving circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Overcurrent protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Current-sensing amplifying network . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 The tachometer and hall/encoder inputs . . . . . . . . . . . . . . . . . . . . . . . . 22 Temperature feedback and overtemperature protection . . . . . . . . . . . . 22
4
Hardware setting of the STEVAL-IHM023V1 . . . . . . . . . . . . . . . . . . . . . 24
4.1 4.2 Hardware settings for six-step (block commutation) current control single-shunt configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Hardware settings with three-shunt configuration . . . . . . . . . . . . . . . . . . 25
5 6
Description of jumpers, test pins and connectors . . . . . . . . . . . . . . . . 28 Connector placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2/46
Doc ID 15870 Rev 2
UM0723
Contents
7 8 9 10
Bill of material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 PCB layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Using STEVAL-IHM021V1 with STM32 FOC firmware library . . . . . . . 42
10.1 10.2 10.3 10.4 Environm ental considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Hardware requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Software modifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
11 12 13
Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Doc ID 15870 Rev 2
3/46
List of tables
UM 0723
List of tables
Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Current reading configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Jumper settings for high-voltage PMSM or generic AC motor . . . . . Jumper settings for low-voltage BLDC motor up to 35 VDC. . . . . . . Jumper settings for high-voltage PMSM or generic AC motor . . . . . Jumper settings for low-voltage PMSM motor up to 35 VDC . . . . . . Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connector pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Test pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bill of material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ... . . ... . . ... . . ... . . ... . . ... . . ... . . ... . . ... . . ... . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . . . 22 . . . . 24 . . . . 25 . . . . 26 . . . . 27 . . . . 28 . . . . 29 . . . . 30 . . . . 32 . . . . 45
4/46
Doc ID 15870 Rev 2
UM0723
List of figures
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. Figure 17. Figure 18. Figure 19. STEVAL- IHM023V1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Motor control system architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STEVAL- IHM023V1 schematic - part 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STEVAL- IHM023V1 schematic - part 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STEVAL- IHM023V1 schematic - part 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STEVAL- IHM023V1 schematic - part 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STEVAL- IHM023V1 schematic - part 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STEVAL- IHM023V1 schematic - part 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pow er supply block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Gate driving network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overcurrent protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Three-shunt configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Six-step current sensing configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . NTC placement on heatsink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STEVAL-IHM023V1 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Silk screen - top side . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Silk screen - bottom side . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Copper tracks - top side . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Copper tracks - bottom side . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . .9 . . . . 10 . . . . 11 . . . . 12 . . . . 13 . . . . 14 . . . . 15 . . . . 16 . . . . 17 . . . . 18 . . . . 20 . . . . 22 . . . . 23 . . . . 31 . . . . 38 . . . . 39 . . . . 40 . . . . 40
Doc ID 15870 Rev 2
5/46
System introduction
UM 0723
2
2.1
System introduction
Main characteristics
The information below lists the converter specification data and the main parameters set for the demonstration board STEVAL-IHM023V1.
Minimum input voltage 125 VDC or 90 VAC Maximum input voltage 400 VDC or 285 VAC Voltage range for low-voltage motor control applications from 18 VDC to 35 VDC Possibility to use auxiliary +15 V supply voltage Maximum output power for motors up to 1000 W Regenerative brake control feature Input inrush limitation with bypassing relay + 15 V auxiliary power supply based on buck converter with VIPer16 IGBT power switch STGP10NC60KD in TO-220 package - compatible with other ST IGBTs or power MOSFETs in TO-220 package Fully populated board conception with testing points and safety isolated plastic cover Motor control connector for interface with STM3210B-EVAL board and other ST motor control dedicated kits Tachometer input Hall/encoder inputs Possibility to connect BEMF daughterboard for sensorless six-step control of BLDC motors PCB type and size: Mater ial of PCB - FR-4 Double-sided layout Copper thickness: 35 m Total dimensions of demonstration board: 190 mm x 110 mm.
2.2
Target applications
Washing machines Home appliances Medical applications - rehabilitative beds High-power, high-efficiency water pumps for heating applications.
6/46
Doc ID 15870 Rev 2
UM0723
System introduction
2.3
2.3.1
Safety and operating instructions
General terms
Warning:
During assembly, testing and operation, the demonstration board poses several inherent hazards, including bare wires, moving or rotating parts and hot surfaces. There is danger of serious personal injury and damage to property, if the kit or components are improperly used or installed incorrectly. The kit is not electrically isolated from the AC/DC input. The demonstration board is directly linked to the mains voltage. No insulation has been placed between the accessible parts and the high voltage. All measurement equipment must be isolated from the mains before powering the board. When using an oscilloscope with the demonstration board, it has to be isolated from the AC line. This prevents a shock from occurring as a result of touching any single point in the circuit, but does not prevent shocks when touching two or more points in the circuit. Do not touch the demonstration board after disconnection from the voltage supply, as several parts and power terminals which contain energized capacitors need to be allowed to discharge.
All operations involving transportation, installation and use, as well as maintenance, are to be carried out by skilled technical personnel (national accident prevention rules must be observed). For the purpose of these basic safety instructions, "skilled technical personnel" are suitably qualified people who are familiar with the installation, use and maintenance of powered electronic systems.
2.3.2
Demonstration board intended use
The STEVAL-IHM023V1 demonstration board is a component designed for demonstration purposes only and shall not be used for electrical installation or machinery. The technical data as well as information concerning the power supply conditions shall be taken from the documentation and strictly observed.
2.3.3
Demonstration board installation
The installation and cooling of the demonstration kit boards shall be in accordance with the specifications and the targeted application.
The motor drive converters shall be protected against excessive strain. In particular, no components are to be bent or isolating distances altered during the course of transportation or handling. No contact shall be made with other electronic components and contacts. The boards contain electro-statically sensitive components that are prone to damage through improper use. Electrical components must not be mechanically damaged or destroyed.
Doc ID 15870 Rev 2
7/46
System introduction
UM 0723
2.3.4
Electric connections
Applicable national accident prevention rules must be followed when working on the main power supply with a motor drive. The electrical installation shall be completed in accordance with the appropriate requirements.
2.3.5
Demonstration board operation
A system architecture which supplies power to the demonstration board shall be equipped with additional control and protective devices in accordance with the applicable safety requirements (e.g. compliance with technical equipment and accident prevention rules).
8/46
Doc ID 15870 Rev 2
UM0723
Board description
3
3.1
Board description
System architecture
A generic motor control system can be basically schematized as the arrangement of four main blocks (see Figure 2 below).
A control block - main task is to accept user commands and motor drive configuration parameters and to provide all digital signals to implement the proper motor driving strategy. The ST demonstration board based on the STM32TM microcontroller STM3210B-EVAL can be used as a control block thanks to the motor control connector used on the board. A power block - makes a power conversion from the DC bus transferring to the motor by means of a three-phase inverter topology. The power block is based on high-voltage (high- and low-side) drivers L6390 and power switches STGP10NC60KD in TO-220 packages. The motor itself - STEVAL-IHM023V1 demonstration board is able to properly drive any PMSM, but the FOC itself is conceived for sinusoidal-shaped BEMF. The demonstration board is also suitable for driving any three- or two-phase asynchronous motor or low-voltage BLDC motors. Power supply block - able to work from 90 VAC to 285 VAC or from 125 VDC to 400 VDC. With reconfiguration of the power stage with jumpers, the board can also be used for low-voltage applications from 18 VDC to 35 VDC. By supplying the electronic parts on the board through an external + 15 V connector, the board can be used for a wide voltage range up to 400 VDC. Please refer to Section 4 for detailed settings of the jumpers according to the required application. Motor control system architecture
Figure 2.
Motor control system architecture
Control block MOTOR Power supply Power block
AM00470
Referr ing to the above motor control system architecture, the STEVAL-IHM023V1 includes the power supply and the power block hardware blocks.
Doc ID 15870 Rev 2
9/46
3.2
10/46
W2 L1 U3 VIPer16LD 13 Drain LIM FB COMP 7 8 D6 STTH1L06A C16 L2 2.2 mH + 15 V R12 NC C18 D9 BZV55C18SMD 100 nF 100 F / 25 V C19 + + 1 R108 NC 1 F / 50 V C13 R10 C14 NC 13 k 220 nF VDD 5 6 R9 120 C12 47 nF 14 15 16 R8 51 k 47 H
Buck converter
Figure 3.
+Bus
Board description
HV-supply
C15 150 nF / X2 Source 4 3 2
D8 STTH1L06A
+ 15 V ex. supply Motor connector
J5
The board schematic
J3 1 2 + 15 V D7 LED RED J2 1 2 3
Motor output
phase_A phase_B phase_C Motor Bus_voltage
STEVAL- IHM023V1 schematic - part 1
Doc ID 15870 Rev 2
EM_STOP PWM-A-H PWM-A-L R11 PWM-B-H 5.6 k PWM-B-L PWM-C-H PWM-C-L Current_A 1 Current_B Current_C NTC_bypass_relay 2 3 PWM_V REF M_phase_A M_phase_B VDD_micro R14 4.7 k R15 4.7 k R16 4.7 k W4 H1/A+ M_phase_A M_phase_B M_phase_C C22 10 pF C23 10 pF 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34
+ 15 VDC
C17 100 nF
OCP off W5 B A
Het_temperature W6 M_phase_C VDD_micro VDD _mcu
Software brake
Hall / encoder
Motor connector
BEMF daughter board
J7
H1/A+ H2/B+ H3/Z+ VDD GND C20 100 nF VDD _micro C21 10 pF
J4 1 2 3 4 5
phase_A phase_B phase_C +Bus + 3.3 V VDD _micro PWM_V REF 2.54 linebar
AM00460
Encoder / hall
1 2 3 4 5 6 7 8
UM 0723
Input part with bridge
+ bus + Relay_A D1 C1 4.7 nF / Y2 R3 100 k 220 F 220 F 470 K / 450 V / 450 V C5 4.7 nF / Y2 R6 100 k R7 7.5 k R5 120 C9 10 nF C2 + R4 D2 BAT48JFILM C3 + VDD_micro Bus_voltage VR1 10 KBU6K R1 100 k R2 470 K Relay_B
UM0723
Figure 4.
6.25 A TEMP
J1 1 2 3 4
F1 FUSE-1
INPUT
C4 330 nF / X2
+3.3 V linear LV DC bus supply
D3 + 3.3 V + bus + C8 22 F / 6.3 V D4 SM6T36A U2 35 V max.! L7815ACP W3 1 3 IN OUT LV-supply
NTC bypass
+ 15 V R13 160 Relay_A LS1 12 11 D10 14 Relay_B 1N4148 1 2 R103 1 k Q1 BC847 R17 10 k +15 V + bus FINDER 4031-12 NTC_bypass_relay +15 V STPS1150
STEVAL- IHM023V1 schematic - part 2
L78L33ACD13TR +15 V 8 U1 1 IN OUT 23 67 2 3 67 C6 C7 100 nF 100 nF GND C11 2 100 nF D5 C10 1N4148 100 nF
W1 +3.3 V_VDD VDD_micro
+
R106 220 Q13 4.7 nF BC847 27 k 9.1 k Software brake Voltage off
Q12 C30
R31
BC847
C26 1 100 nF R33 10 k U4 2 TS391ILT Q14 C65 R32 R34 12 k BC847
voltage off
+
Doc ID 15870 Rev 2
Brake control
+ bus C25 4.7 F + 15 V BZX84B13V + 15 V D26 R107 R24 470 k 220 R25 560 35 4
R30 15 k R18 6.8 k R28 2.2 k Q5 BC847
+ 15 V
Q2 BC557B
J6 2 1 R brake Q3 R21 220 R26 STGF7NC60HD 1 k Brake control
R104 R23 D25 68 k 470 k BZX84B13V R105 220 k
R35 100 pF 100 k
Board description
11/46
AM00461
12/46
Board description
Figure 5.
HV H/L side driver channel A
+ 3.3 V !SD C31 330 pF + 15 V R39 120 R41 10 D141N4148 R45 120 L6390D U5 C32 C33 1 F 1 F R37 10 D13 1N4148
2 1 3 2 1
+ bus Q6 STGP10NC60KD
R36 100 k
PWM-A-L
R38 1.0 k
phase_A Q7 STGP10NC60KD R47 1 K 3 W8
PWM-A-H C36 C37 470 nF R46 3.3 k R48 1 k R51 1 K V DD Current_A OCP off D15 BAT48JFILM C39 100 pF D16 BAT48JFILM _micro R49NC R52 3.3 k 1 nF
STEVAL- IHM023V1 schematic - part 3
Doc ID 15870 Rev 2
1 2 3 4 5 6 7 8
VBOOT !LIN !SD/OD HVG HIN OUT V CC NC DT NC OP LVG OPOUT CP+ GND OP+
R40 1.0 k C35 R43 C34 R42 47 k 3.3 k 10 pF 10 pF
16 15 14 13 12 11 10 9
R50 1 K + 3.3 V C41 33 pF R54 820
C40 2.2 nF
1_shunt W9 3_shunt
R53 1 K R55 0.15
R56 NC
Com.
UM 0723
AM00476
UM0723
Figure 6.
HV H/L side driver channel B
+ 3.3 V !SD C42 330 pF + 15 V R60 120 R62 10 D18 1N4148 R65 120 1 R67 1 K R66 3.3 k R72 1 K W 1 0 Gain_1 R77 R75 1 K C51 33 pF 2 1 D19 BAT48JFILM 3 W11 A B R69 680 R70 1 K R73 NC + 3.3 V 3 C49 2.2 nF R71 NC L6390D U6 1 3 2 C43 C44 1 F 1 F R58 10 D17 1N4148 2
+ bus Q8 STGP10NC60KD
R57 100 k R59 1 K
PWM-B-L
PWM-B-H C47 C48 1 nF 470 nF
Phase_B Q9 STGP10NC60KD
R61 1 K C45 C46 R64 R63 3.3 k 10 pF 10 pF 47 k
1 2 3 4 5 6 7 8 !LIN VBOOT !SD/OD HVG HIN OUT V NC CC DT NC OP LVG OPOUT CP+ GND OP+
16 15 14 13 12 11 10 9
STEVAL- IHM023V1 schematic - part 4
Com. R68 0.15
Doc ID 15870 Rev 2
!SD V DD Current_B OCP off C50 100 pF D20 BAT48JFILM 1 K _micro
V
DD
_micro
R74 10 k
R76 820 R78 3.3 k + 3.3 V R79 1 K R80 2.2 k R81 33
C52 330 pF
Board description
13/46
AM00477
14/46
Board description
Figure 7.
HV H/L side driver channel C
+ 3.3 V !SD C53 330 pF 1 3 2 1 R91 120 R96 NC R97 R98 1 K C64 33 pF R93 1 K 3.3 k + 3.3 V R100 820 R99 1 K R101 0.15 R95 1 K 3 C63 2.2 nF + 15 V R86 120 R88 10 D22 1N4148 L6390D U7 C54 1 F C55 R83 10 D21 1N4148 1 F 2
+ bus Q10 STGP10NC60KD
PWM-C-L
R82 100 k R85 1 K
Phase_C Q11 STGP10NC60KD Com. W12 W13 3_shunt 1_shunt
PWM-C-H C60 1 nF 470 nF R92 3.3 k R94 1 K C62 100 pF D24 BAT48JFILM V _micro DD Current_C OCP off D23 BAT48JFILM C61
STEVAL- IHM023V1 schematic - part 5
Doc ID 15870 Rev 2
R87 1 K C58 C59 R90 R89 10 pF 47 k 3.3 k 10 pF
1 2 3 4 5 6 7 8 !LIN VBOOT !SD/OD HVG HIN OUT V NC CC DT NC OP LVG OPOUT CP+ GND OP+
16 15 14 13 12 11 10 9
R102 NC
UM 0723
AM00462
UM0723 Figure 8. STEVAL- IHM023V1 schematic - part 6
Board description
Heatsink temperature
+ 3.3 V
R T1 N TC 10 k t C 38 10 nF R 44 3.6 k H et _t em perat ure
Test pins
TP1 TP2 TP3 TP4 TP5 TP6 TP7 TP8 TP9 TP10 TP11 Phas e_A Phas e_B Phas e_C PW M-A-L PW M-A-H PW M-B-L PW M-B-H PW M-C -L PW M-C -H C urrent _A C urrent _B TP12 TP13 TP14 TP15 TP16 TP17 TP18 TP19 TP20 TP21 C urrent _C M_phas e_A M_phas e_B M_phas e_C Bus _v olt age Brak e control + 3.3 V + 15 V ref.
Tachometer sensor
VDD_micro C24 R19 NC R22 100 nF 10 k R27 10 k R20 10 k M_phase_A W7 Tachometer
J8 1 2
Tachometer C27 D11 100 nF
Q4 BC847 R29 D12 C28 100 100 nF C29 2.2 nF
BAT48JFILM BAT48JFILM
Het NTC comparator
C 56 100 nF R 84 2.2 k ref. C 57 220 pF U9 TL431AC D 4 + 3 5 U8 1 TS391I LT ! SD + 3.3 V
2
H et _t em perat ure
AM00463
Doc ID 15870 Rev 2
15/46
Board description
UM 0723
3.3
3.3.1
Circuit description
Power supply
The power supply in demonstration board STEVAL-IHM023V1 is implemented as a multifunctional block which allows supplying the inverter in all ranges of input voltage up to 285 VAC or 400 VDC. For high-voltage applications, the auxiliary power supply for supplying all active components on the demonstration board is implemented as a buck converter based on the U6 VIPer16L which works with fixed frequency 60 kHz. The output voltage of the converter is + 15 VDC voltage which is fed into the L6390 drivers as supply voltage as well as into the linear regulator L78L33ACD. The linear regulator provides + 3.3 VDC for supplying the operational amplifiers and other related parts. Please refer to the ST released VIPer16LD datasheet for further information about this concept. For low-voltage applications, the step-down converter has to be disabled by removing jumper W2. In this case, the other linear regulator L7815 can be switched on with jumper W3 directly on the bus line, to provide auxiliary voltage + 15 VDC. Please note that the voltage range in this kind of application must be in the range + 18 VDC to + 35 VDC. For low-voltage DC motor applications which require voltage lower than + 18 VDC, a dual supply mode can be used. Voltage on the input connector is normally linked through power switches to the motor and an external auxiliary voltage is fed through the J3 connector from an external power source. The voltage of the external power supply used has to be in the range + 14.8 V to + 15.5 V with maximal consumption current 0.5 A. For a better understanding of the concept, Figure 9 below describes the power supply in a block diagram. Figure 9. Power supply block diagram
Jumper W3 M AX. 35 VDC! INPUT Bridge/ rectifier Jumper W2 DC BUS MAX. 420 VDC! Linear regulator L7815 +15 VDC
285 VAC/ 400 VDC
Buck converter VIPer16L
Linear regulator L78L33
+3.3 VDC
AM00471
3.3.2
Inrush limitation
At the top of the demonstration board the NTC resistor R10 is applied to eliminate input inrush current peak during charging of the bulk capacitors. Thanks to the better efficiency of the inverter, it is possible to apply the NTC bypass feature based on the relay which shorts the NTC resistor after some time. The driving signal is provided from direct driving of the MCU board through connector J5. The STEVAL-IHM023V1 demonstration board contains only a basic EMI filter based on X2 and Y2 capacitors. The main function of this demonstration board is as a universal testing platform. For this reason, the EMI filter is not able to absorb EMI distortion coming from the
16/46
Doc ID 15870 Rev 2
UM0723
Board description inver ter for all ranges of the applications used and the design of the filter is in the customer's hands. The EMI filter has to be designed according to the motor and final target applications used. The heatsink itself is connected to the earth pin in the J1 connector. If the demonstration board is used only with DC voltage, it is recommended to connect the heatsink to a negative voltage potential - common ground.
3.3.3
Brake function
The hardware brake feature has been implemented on the STEVAL-IHM023V1 demonstration board. This feature connects the external dummy load applied to the J6 connector to the bus to eliminate overvoltage generated with the motor operating in a fluxweakening region which means that the motor acts as a generator. The brake feature functions automatically in case of bus overvoltage. Voltage on the bus is sensed through the voltage divider with resistors R23, R24 and R31 and compared to the voltage reference built around the Zener diode D26. The brake dummy load is switched on when voltage on the bus reaches 440 VDC and is switched off when the voltage falls below 420 VDC. Another possibility to activate the brake dummy load is to use the external signal coming through the J5 motor connector from the connected MCU board. This function is active with the jumper W5 in position "A". If the brake feature is also used for low-voltage motor control applications, the user must recalculate and replace the R23, R24, R31 and R34 resistors in order to set the proper voltage level for the brake feature to function correctly.
3.3.4
Gate driving circuit
The gates of the switches of the IGBT used are controlled by the L6390D drivers. Please refer to the ST datasheet L6390 for a detailed analysis of the driver parameters. The schematic below shows the correct driving of the IGBT. As visible in Figure 10, the charging current for the IGBT is different compared to the discharging current due to the diode used. The configuration used provides the best trade-off between efficiency and EMI distortion. Thanks to the high-performance L6390 driver, the dead time insertion between the HVG and LVG outputs is hardware-guaranteed. In this case, considering the value of the dead time resistors used to be 47 k, the DT of about 600 ns is applied on the outputs in case:
The dead time is not present on HIN and LIN inputs signals. The dead time present on HIN and LIN inputs is less than hardware-set DT.
On the contrary, the hardware-set dead time is not the sum of the dead time present on the outputs between LVG and HVG if the dead time present on the HIN and LIN inputs signals is higher than the hardware-set dead time. Figure 10. Gate driving network
R41 10 R45 120 D14 1 1N4148 3
AM00472a
2 Q7 STGP10NC60KD
Doc ID 15870 Rev 2
17/46
Board description
UM 0723
3.3.5
Overcurrent protection
Hardware overcurrent protection has also been implemented on the board. This feature fully uses the advantage of the L6390 driver where an internal comparator is implemented. Thanks to the internal connection between the comparator output and shutdown block, the intervention time of the overcurrent protection is extremely low, ranging slightly above 100 ns. Please see Figure 11 below for details of the OCP. Consider ing that the overcurrent protection acts as soon as the voltage on the CP+ pin rises above (approximately equal to) 0.53 V and considering the default value of the shunt resistor, it follows that the default value for the maximum allowed current is equal to: Equation 1
IS H U N T
MA X
VR E F R1 = --------------------- × 1 + ------- RSHUNT R 2
With the default values this gives: ISHUNT_MAX = 7 A Figure 11. Overcurrent protection
+3.3 V
R3 (R49, R73, R96) +5 V Smart SD COMPARATOR + 10 CP+ Shunt resistor R1 (R47, R67, R95)
VCC OPAMP OPOUT 7 +
VREF 9 OP+
R2 (50, R70, R93)
6 OP GND
L6390
AM00473
The overcurrent protection can be disabled with software if the W5 jumper is set to the "B" position. This may be necessary and is often useful when the user decides to make the brake operate by turning on the three low-side switches. In fact, if the motor acts as a generator, it's necessary to protect the hardware, preventing the bus voltage from exceeding a safety threshold. More than dissipating the motor energy on a brake resistor, it's possible to short the motor phases, preventing the motor current from flowing through the bulk capacitors. Current into the motor phases is normally limited by the motor phase impedance, but during the short-circuit transient, a high current can flow through the switches for a few ms. In order to avoid triggering the high-side driver overcurrent protection during this transient, it might be necessary to deactivate the OCP with this jumper configuration.
18/46
Doc ID 15870 Rev 2
UM0723
Board description
3.3.6
Current-sensing amplifying network
Three-shunt current reading configuration The details of the three-shunt current sensing reading configuration are shown in Figure 12. In this configuration, the alternating signal on the shunt resistor, with positive and negative values, must be translated to be compatible with the single positive input of the microcontroller A/D converter used to read the current value. This means that the op amp must be polarized in order to obtain a voltage on the output that makes it possible to measure the symmetrical alternating input signal. The op amp is used in follower mode with the gain of the op amp set by resistor r and R: Equation 2
---- --- r G = R--+-r
It is possible to calculate the voltage on the output of op amp OP OUT - VOUT as a sum of a bias VBIAS and a signal VSIGN component equal to: Equation 3
VO U T = VS I G N + VB I A S
3.3 V B I A S = --------------------------------------------------------- × G 1 1 1 ------- + ------- + ------- × R 3 R 1 R 2 R 3 I × R SHUNT V S I G N = --------------------------------------------------------- × G 1 1 1 ------- + ------- + ------- × R 1 R 1 R 2 R 3
Total gain of the circuit including the resistors' divider is equal to: Equation 4
VSI GN V SI G N G T O T = --------------- = ---------------------------VIN RS H U N T × I
With the default values this gives:
VBIAS = 1.7 V G = 4.3 GTOT = 1.7 Maximum current amplifiable without distortion is 6.5 A.
Please observe that the user can modify the max. current value by changing the values of the shunt resistors.
Doc ID 15870 Rev 2
19/46
Board description Figure 12. Three-shunt configuration
UM 0723
+5 V Smart SD COMPARATOR + 10 CP+ R3 (R52, R78, R97) VCC OPAMP OPOUT 7 + 6 OP Shunt resistor VREF (R53, R75, R99) 9 OP+ R2 (R54, R76, R100) +3.3 V
L6390
R (R46, R66, R92)
r (R48, R72, R94) GND
AM00474
20/46
Doc ID 15870 Rev 2
UM0723 Six-step (block commutation) current reading configuration
Board description
In case of six-step (also called block commutation) current control, only two of the motor phases conduct current at the same time. Thus, it's possible to use only one shunt resistor placed on the DC link to measure the motor phase current. Moreover, as the current is always flowing on the shunt resistor in the same direction, only positive current must be measured and in this case the amplifying network needs to be properly designed. The details of single-shunt current sensing reading configuration are shown in Figure 13. In this configuration, the current sampling is done only when the value on the shunt resistor is positive. The only positive value read on the shunt resistor allows setting a higher gain for the op amp than the one set in the three-shunt reading mode. The op amp is used in follower mode with the gain of the op amp set by resistor r and R: Equation 5
R+r G = ----------r
It is possible to calculate the voltage on the output of op amp OP OUT VOUT as the sum of a bias VBIAS and a signal VSIGN component equal to: Equation 6
VO U T = VS I G N + VB I A S R1 3.3 × -----------------------------------------------------R---------------------------------- × G ----1 + R 2 = 1 1 1 ------- + --------------------- + ------- × R 4 R 3 R 1 + R 2 R 4
VBI AS
I × RS H U N T × R 1 I × RS U N × R 2 V S I G N = -----------------H---------T--------------- + ---------------------------------------------------------------------------------------------- × G -- -R1 + R2 1 1 1 ------- + --------------------- + ------- × ( R 1 + R 2 ) 2 R 3 R 1 + R 2 R 4
Total gain of the circuit with the resistors' divider is equal to: Equation 7
VS IGN VS G N G T O T = --------------- = ---------------I--------------VI N R SH UNT × I
With the default values this gives:
VBIAS = 1.7 V G = 4.98 GTOT = 2.53 Maximum current amplifiable without distortion is 6.5 A.
Please observe that the user can modify the max. current value with changing the values of the shunt resistors.
Doc ID 15870 Rev 2
21/46
Board description Figure 13. Six-step current sensing configuration
+3.3 V +5 V Smart SD COMPARATOR + 10 CP+ R2 (R79) R4 (R80)
UM 0723
VCC OPAMP OPOUT 7 +
VREF R1 (R75) 9 OP+
6 OP R3 (R81) Shunt resistor
L6390
R (R66 + R69)
r (R72) GND
AM00475
Table 1.
Current reading configuration
Gain configuration
Jumper Six-step current sensing W10 W11 Not present "B" position Present "A" position Three-shunt
3.3.7
The tachometer and hall/encoder inputs
Both the tachometer and hall/encoder inputs have been implemented on the board. This feature allows testing and evaluating a wide spectrum of various motors.
3.3.8
Temperature feedback and overtemperature protection
The hardware overtemperature protection has been also implemented on the STEVALIHM023V1 demonstration board. This feature fully protects the switches against damage when temperature on the junction of the switches overruns a defined value. The temperature is sensed with an NTC resistor placed on the heatsink. The measured signal is fed through the J5 motor connector to the MCU control unit and can be read with an A/D converter. The signal is also fed to comparator U8 where it is compared with a 2.5 V reference voltage which is built around the U9 precision reference Tl431. The output signal of the comparator U8 is fed to the SD pin of the L6390D drivers to stop the commutation of the connected motor. With the value of the NTC resistor used equal to 10 k and resistor R44 equal to 3.6 k the shutdown temperature is around 70 C. ,
22/46
Doc ID 15870 Rev 2
UM0723 Figure 14. NTC placement on heatsink
Board description
Doc ID 15870 Rev 2
23/46
Hardware setting of the STEVAL-IHM023V1
UM 0723
4
Hardware setting of the STEVAL-IHM023V1
The STEVAL-IHM023V1 demonstration board can be driven through the J5 motor connector by various control units released by ST. The demonstration board is suitable for field oriented control as well as for tachometer or hall sensor closed-loop control. The demonstration board STEVAL-IHM023V1 ideally fits with the ST released STM3210B-EVAL board based on the STM32 MCU family as the control unit for FOC-driving algorithms.
4.1
Hardware settings for six-step (block commutation) current control single-shunt configuration
To drive any motor, the user must ensure that:
The motor control demonstration board is driven by a control board that provides the six output signals required to drive the three-phase power stage The motor is connected to the J2 motor output connector If using an encoder or hall sensor connection, it is connected to connector J4 If using a tachometer connection, it is connected to connector J8 If using a dissipative hardware brake connection to a related dummy load, it is connected to connector J6
Table 2 below shows jumper settings for any HV motor. Please be sure that the input voltage (mains voltage) of the demonstration board is in the range 125 VDC to 400 VDC (input voltage polarity is not relevant) or 90 VAC to 285 VAC. Table 2.
Jumper HV PMSM motor W1 W2 W3 W4 W5 W6 W7 W8 W9 W1 0 W1 1 W1 2 W1 3 Present for 3.3 V supplied MCU Present Not present Present Software brake / OCP disabled Present if 3.3 VDC for MCU is needed Not present Present Not present Not present "B" position Present Not present Generic AC motor with tachometer Present for 3.3 V supplied MCU Present Not present Not present Software brake / OCP disabled Present if 3.3 VDC for MCU is needed Present Present Not present Not present "B" position Present Not present
Jumper settings for high-voltage PMSM or generic AC motor
Settings for six-step current control - single-shunt configuration
24/46
Doc ID 15870 Rev 2
UM0723
Hardware setting of the STEVAL-IHM023V1 Table 3 below shows jumper settings for a low-voltage BLDC motor. Please be sure that the input voltage (mains voltage) of the demonstration board in this case is in the range 18 VDC to 35 VDC. If the motor needs a supply voltage lower than 18 VDC, please use a dual power supply configuration - disconnect both W2 and W3 jumpers and use a J3 connector as an auxiliary voltage input. In this configuration it may be necessary to adjust R2, R4 and R7 resistors in the bus voltage divider according to the related voltage supply range to keep proper feedback for the control unit. Table 3.
Jumper Low -voltage BLDC motor (supply voltage up to 35 VDC) W1 W2 W3 W4 W5 W6 W7 W8 W9 W1 0 W1 1 W1 2 W1 3 Present for 3.3 V supplied MCU Not present Present Present Software brake / OCP disabled Present if 3.3 VDC for MCU is needed Not present Present Not present Not present "B" position Present Not present
Jumper settings for low-voltage BLDC motor up to 35 VDC
Settings for six-step current control - single-shunt configuration
4.2
Hardware settings with three-shunt configuration
To drive any motor, the user must ensure that:
The motor control demonstration board is driven by a control board that provides the six output signals required to drive the three-phase power stage The motor is connected to the J2 motor output connector If using an encoder or hall sensor connection, it is connected to connector J4 If using a tachometer connection, it is connected to connector J8 If using a dissipative hardware brake connection to a dummy load, it is connected to connector J6.
Doc ID 15870 Rev 2
25/46
Hardware setting of the STEVAL-IHM023V1
UM 0723
Table 4 below shows jumper settings for any HV motor. Please be sure that the input voltage (mains voltage) of the demonstration board is in the range 125 VDC to 400 VDC (input voltage polarity is not relevant) or 90 VAC to 285 VAC. Table 4.
Jumper
Jumper settings for high-voltage PMSM or generic AC motor
Settings with three-shunt configuration HV PMSM motor Generic AC motor with tachometer Present for 3.3 V supplied MCU Present Not present Not present Software brake / OCP disabled Present 3.3 VDC for MCU is needed Present Not present Present Present "A" position Not present Present
W1 W2 W3 W4 W5 W6 W7 W8 W9 W 10 W 11 W 12 W 13
Present for 3.3 V supplied MCU Present Not present Present Software brake / OCP disabled Present if 3.3 VDC for MCU is needed Not present Not present Present Present "A" position Not present Present
26/46
Doc ID 15870 Rev 2
UM0723
Hardware setting of the STEVAL-IHM023V1 Table 9 below shows jumper settings for low-voltage PMSM motors. Please be sure that the input voltage (mains voltage) of the demonstration board in this case is in range 18 VDC to 35 VDC. If the motor needs a supply voltage lower than 18 VDC, please use a dual power supply configuration - disconnect both W2 and W3 jumpers and use the J3 connector as an auxiliary voltage input. In this configuration it may be necessary to adjust R2, R4 and R7 resistors in the bus voltage divider according to the related voltage supply range to keep proper feedback for the control unit. Table 5.
Jumper Low-voltage PMSM motor (supply voltage up to 35 VDC) W1 W2 W3 W4 W5 W6 W7 W8 W9 W1 0 W1 1 W1 2 W1 3 Present for 3.3 V supplied MCU Not present Present Present Software brake / OCP disabled Present if 3.3 VDC for MCU is needed Not present Not present Present Present "A" position Not present Present
Jumper settings for low-voltage PMSM motor up to 35 VDC
Settings with three-shunt configuration
Doc ID 15870 Rev 2
27/46
Description of jumpers, test pins and connectors
U M 0723
5
Description of jumpers, test pins and connectors
The following tables give a detailed description of the jumpers, test pins and the pinout of the connectors used. Table 6.
Jumper W1 Not present Peripheral on the board can be supplied separately Present W2 Not present Cuts off buck converter from DC bus Present W3 Not present Cuts off linear regulator from DC bus Present W4 Not present Disconnects H1 pin of encoder/hall sensor connector to measure phase A "A" position Software brake feature applied W5 "B" position Overcurrent protection can be disabled with software Present W6 Not present Separated voltage Present W7 Not present Disconnects tachometer signal to measure phase A Present W8 Not present Setting for three-shunt configuration Present W9 Not present Setting for single-shunt configuration Present W 10 Not present Sets the gain of phase B current op. amplifier for six-step configuration "A" position Sets the gain of phase B current op. amplifier for three-shunt configuration W 11 "B" position Sets the gain of phase B current op. amplifier for six-step configuration Present W 12 Not present Setting for three-shunt configuration Present W 13 Not present Setting for single-shunt configuration Applies shunt resistor to Q11 emitter Shor ts Q11 and Q9 emitters - setting for single-shunt configuration Sets the gain of phase B current op. amplifier for three-shunt configuration Applies shunt resistor to Q7 emitters Shor ts Q7 and Q9 emitter - setting for single-shunt configuration Connects tachometer signal to measure phase A Supplies direct driving of board through J5 motor connector with 3.3 VDC Connects H1 pin of encoder/hall sensor connector to measure phase A Linear supplied from DC bus - input supply voltage lower than 35 VDC Buck converter supplied from DC bus - HV supply voltage
Jumpers
Selection Present Description Supplies peripheral on the board with 3.3 V through J5 motor connector
28/46
Doc ID 15870 Rev 2
UM0723 Table 7.
Name
Description of jumpers, test pins and connectors Connector pinout
Reference Description / pinout Supply connector 1 - L- phase 2 - N - neutral 3 - PE - protected earth 4 - PE - protected earth Motor connector A - phase A B - phase B C - phase C 15 V auxiliary supply connector 1 - GND 2 - +15 VDC Hall sensors/ encoder input connector 1 - hall sensor input 1/ encoder A+ 1 - hall sensor input 2/ encoder B+ 1 - hall sensor input 3/ encoder Z+ 4 - 5 VDC 5 - GND M otor control connector 1 - emergency stop 3 - PWM-1H 5 - PWM-1L 7 - PWM-2H 9 - PWM-2L 11 - PWM-3H 13 - PWM-3L 15 - current phase A 17 - current phase B 19 - current phase C 21 - NTC bypass relay 23 - dissipative brake PWM 25 - +V power 27 - PFC sync. 29 - PWM VREF 31 - measure phase A 33 - measure phase B Dissipative brake 1 - bus voltage 2 - open collector 2 - GND 4 - GND 6 - GND 8 - GND 10 - GND 12 - GND 14 - HV bus voltage 16 - GND 18 - GND 20 - GND 22 - GND 24 - GND 26 - heatsink temperature 28 - VDD_m 30 - GND 32 - GND 34 - measure phase C
J1
J2
J3
J4
J5
J6
Doc ID 15870 Rev 2
29/46
Description of jumpers, test pins and connectors Table 7.
Name
U M 0723
Connector pinout
Reference Description / pinout BEMF daughterboard connector 1 - phase A 2 - phase B 3 - phase C 4 - bus voltage 5 - 3.3 VDC 6 - VDD_m icro 7 - GND 8 - PWM VREF Tachometer input connector for AC motor speed loop control 1 - tachometer bias 2 - tachometer input
J7
J8
Table 8.
Test pins
Description Output phase A Output phase B Output phase C PWM - phase A - low side PWM - phase A - high side PWM - phase B - low side PWM - phase B - high side PWM - phase C - low side PWM - phase C - high side Current sensed in phase A Current sensed in phase B Current sensed in phase C Sensed tachometer/encoder/hall signal A Sensed encoder/hall signal B Sensed encoder/hall signal Z Voltage on bus divider - bus voltage information Brake status - brake active in low state 3.3 VDC 15 VDC Reference voltage 2.5 V for overtemperature protection GND
Number TP1 TP2 TP3 TP4 TP5 TP6 TP7 TP8 TP9 TP10 TP11 TP12 TP13 TP14 TP15 TP16 TP17 TP18 TP19 TP20 TP21
30/46
Doc ID 15870 Rev 2
UM0723
Connector placement
6
Connector placement
A basic description of the placement of all connectors on the board is visible in Figure 15.
Figure 15. STEVAL-IHM023V1 connectors
Doc ID 15870 Rev 2
31/46
Bill of material
UM 0723
7
Bill of material
A list of components used to build the demonstration board is presented in Table 9. The majority of the active components used are available from STMicroelectronics.
Table 9.
Reference C1, C5 C2, C3 C13 C14 C15 C16 C19 C20, C26, C24, C27, C28 C21, C22, C23 C25 C29 C30 C31, C42, C53 C32, C33, C43, C44, C54, C55 C34, C35, C45, C46, 58, C59 C36, C47, C60 C37, C48, C61 C39, C50, C62 C4 C40, C49, C63 C41, C51, C64
Bill of material
Value / generic part number 2.2 nF/ Y2 220 F / 450 V NC 220 nF / 16 V 150 nF / X2 1 F / 50 V 100 F / 25 V 100 nF Capacitor, SMD 0805 Foil X2 capacitor, RM 15 mm Elyt. capacitor, SMD 4 x 4 Elyt. capacitor, SMD 8 x 8 Capacitor, SMD 0805 AVX EPCOS B32922C3154M AVX AVX AVX Packag e / class Y1 safety CAP - 2.2 nF Elyt. capacitor, RM 10 mm, 25 x 50, 105 C Manufacturer Murata Manufacturing Co., Ltd. KendeilTM
:
10 pF 4.7 F / 25 V 2.2 nF 4.7 nF 330 pF
Capacitor, SMD 0805 Elyt. capacitor, SMD 4 x 4 Capacitor, SMD 0805 Capacitor, SMD 0805 Capacitor, SMD 0805
AVX AVX AVX AVX AVX
1 F / 50 V
Capacitor, SMD 1206; 50 V
AVX
10 p
Capacitor, SMD 0805
AVX
1nF 470 nF 100 pF 330 nF / X2 2.2 nF 33 pF
Capacitor, SMD 0805 Capacitor, SMD 0805 Capacitor, SMD 0805 Foil X2 capacitor, RM 15 mm Capacitor, SMD 0805 Capacitor, SMD 0805
AVX AVX AVX EPCOS B32922C3334K AVX AVX
32/46
Doc ID 15870 Rev 2
UM0723 Table 9.
Reference C52 C56 C57 C65 C6, C7, C17, C12, C18, C10, C11 C8 C9 C9, C38 RT1 VR1 R1, R3, R6 R10 R11 R12 R13 R14, R15, R16 R17 R18 R19 R2, R4, R23, R24 R21, R107, R106 R22, R27, R20, R33 R25 R32 R26 R28 R29 R30 R31
Bill of material Bill of material (continued)
Value / generic part number 330 pF 100 nF 220 pF 100 pF Packag e / class Capacitor, SMD 0805 Capacitor, SMD 0805 Capacitor, SMD 0805 Capacitor, SMD 0805 AVX AVX AVX AVX Manufacturer
100 nF
Capacitor, SMD 0805
AVX
22 F / 6.3 V 10 nF 10 nF 10 k 10 100 k 13 k 3.9 k NC 160 4.7 k 10 k 6.8 k NC 470 K
Elyt. capacitor, SMD 4 x 4 Capacitor, SMD 0805 Capacitor, SMD 0805 NTC NTC Resistor, SMD 1206 Resistor, SMD 0805, 1% Resistor, SMD 0805
AVX AVX AVX EPCOS B57703M 103G 40 EPCOS B57364S 100M VishayTM Vishay Vishay
Resistor, SMD 1206 Resistor, SMD 0805 Resistor, SMD 0805 Resistor, SMD 0805
Vishay Vishay Vishay Vishay
Resistor, SMD 1206, 1%
Vishay
220
Resistor, SMD 0805
Vishay
10 k 560 9.1 k 1 k 2.2 k 100 15 k 27 k
Resistor, SMD 0805 Resistor, SMD 0805 Resistor, SMD 0805, 1% Resistor, SMD 0805 Resistor, SMD 0805 Resistor, SMD 0805 Resistor, SMD 0805 Resistor, SMD 0805, 1%
Vishay Vishay Vishay Vishay Vishay Vishay Vishay Vishay
Doc ID 15870 Rev 2
33/46
Bill of material Table 9.
Reference R34 R35, R36, R57, R82 R37, R41, R58, R62 R38, R59, R85 R39, R45, R60, R65 R40, R61, R87 R42, R63, R89 R43, R64, R90 R44 R46, R66, R92 R49, R108 R5, R9 R50, R53 R52, R97, R78 R54, R76, R100 R55, R71, R101 R56, R68, R102 R104 R67, R70, R75, R79 R69 R7 R72, R48, R47, R73 R74
UM 0723
Bill of material (continued)
Value / generic part number 12 k 100 k 10 1 k 120 1 k 3.3 k 47 k 3.6 k 3.3 k NC 120 1 k 3.3 k 820 0.15 NC 68 k 1 k 680 7.5 k 1 k NC 10 k Resistor, SMD 0805 Vishay Resistor, SMD 0805 Resistor, SMD 0805, 1% Resistor, SMD 0805, 1% Resistor, SMD 0805, 1% Resistor, SMD 0805, 1% Vishay Vishay Vishay Vishay Vishay Resistor, SMD 0805 Resistor, SMD 0805, 1% Resistor, SMD 0805, 1% Resistor, SMD 0805, 1% Resistor, SMD 2512, 1%, 2 W Vishay Vishay Vishay Vishay Vishay Packag e / class Resistor, SMD 0805, 1% Resistor, SMD 0805 Resistor, SMD 0805 Resistor, SMD 0805 Resistor, SMD 0805 Resistor, SMD 0805 Resistor, SMD 0805 Resistor, SMD 0805, 1% Resistor, SMD 0805, 1% Resistor, SMD 0805, 1% Vishay Vishay Vishay Vishay Vishay Vishay Vishay Vishay Vishay Vishay Manufacturer
34/46
Doc ID 15870 Rev 2
UM0723 Table 9.
Reference R77, R51, R98 R8 R80 R81 R83, R88 R84 R86, R91 R93, R95, R99, R94, R99, R98 R96 R105 R103 L1 L2 D1 D10 D11, D12, D15, D16, D19, D20, D2 D13, D5, D14, D17, D18, D21, D22 D25, D26 D23, D24 D3 D4 D6, D8 D7 D9 Q1, Q4, Q5, Q12, Q13, Q14
Bill of material Bill of material (continued)
Value / generic part number 1 k 51 k 2.2 k 33 10 2.2 k 120 1 k NC 220 k 1 k 47 H 2.2 mH KBU6K 1N4148 Resistor, SMD 0805, 1% Resistor, SMD 0805 SMD choke, 0.5 A SMD choke, 0.25 A Diode bridge, 250 VAC, 8 A Universal diode, SMD, DO-80 Packag e / class Resistor, SMD 0805, 1% Resistor, SMD 0805, 1% Resistor, SMD 0805, 1% Resistor, SMD 0805, 1% Resistor, SMD 0805 Resistor, SMD 0805 Resistor, SMD 0805 Resistor, SMD 0805, 1% Vishay Vishay Vishay Vishay Vishay Vishay Vishay Vishay Vishay Vishay Vishay Wür th Elektronik Wür th Elektronik Vishay Manufacturer
BAT48JFILM
Diode, SMD, SOD-323
STMicroelectronics
1N4148
Universal diode, SMD, SOD80C
Vishay
BZX84B13V BAT48JFILM STPS1150A S M6 T 3 6 A STTH1L06A LED RED BZV55C18SMD BC847A
Zener diode, SOT23, 13V Diode, SMD, SOD-323 Schottky diode, DO-241AC (SMA) TransilTM, JEDEC DO-214AA HV diode, SMA Universal LED 3 mm, 2 mA Zener diode, SOD80, 18 V NPN transistor, SOT23
Vishay STMicroelectronics STMicroelectronics STMicroelectronics STMicroelectronics Agilent Technologies Vishay FAIRCHILD
Doc ID 15870 Rev 2
35/46
Bill of material Table 9.
Reference Q10, Q11, Q3, Q6, Q7, Q8, Q9 Q2 F1 F1 LS1 U1 U2 U3 U4, U8 U5, U6, U7 U9 TP1 TP21 J1 J2 J3 J4 J5 J6 J7 J8 W1 W10 W11 W12 W13 W2 W3 W4 W5 W6
UM 0723
Bill of material (continued)
Value / generic part number Packag e / class Manufacturer
STGP10NC60KD
N channel IGBT, TO220
STMicroelectronics
BC857B Holder 6.25 A FINDER 4031-12 L78L33ACD13TR L7815ACV VIPer16LD TS391ILT L6390D TL431ACD
PNP transistor, SOT23 Fuse holder 5 x 20 mm, KS21 SW Fuse 6.25 A slow, FST06.3, 5 x 20 mm Relay 12 VDC Linear regulator 3.3 V, SO-8 Linear regulator 15 V, TO-220 Smar t PWM driver, SO-16 Voltage comparator, SOT23-5 HV low and high side driver, SO-16 Voltage reference, SO-8
FAIRCHILD SCHURTER
Finder STMicroelectronics STMicroelectronics STMicroelectronics STMicroelectronics STMicroelectronics STMicroelectronics
PCB Terminal 1 mm Test pin Connector 4P Connector 3P Con. 5 mm, 2P Connector RM 5 mm, 4-pole male and female Connector RM 5 mm, 3-pole male and female Connector RM 5 mm, 2-pole, screw ARK ARK ARK
Con. 5 mm, 2P+3P Connector RM 5 mm, 2-pole and 3-pole, screw ARK MLW34G Con. 5 mm, 2P Connector 8-pin Con. 5 mm, 2P Jum per 2.54 Jum per 2.54 Jum per 2.54 Wire jumper Wire jumper Wire jumper Wire jumper Jum per 2.54 Jum per 2.54 Jum per 2.54 MLW connector 34 pins Connector RM 5 mm, 2-pole, screw RM 2.54 mm, (8-pins from breakaway) Connector RM 5 mm, 2-pole, screw Two pins of pin header + jumper Two pins of pin header + jumper Three pins of pin header + jumper in position "A" Not assembled Wire Wire Not assembled Two pins of pin header + jumper Three pins of pin header + jumper in position "A" Two pins of pin header + jumper ARK ARK ARK
36/46
Doc ID 15870 Rev 2
UM0723 Table 9.
Reference W7 W8 W9 Het 1 Het 2
Bill of material Bill of material (continued)
Value / generic part number Jum per 2.54 Wire jumper Wire jumper H eatsink H eatsink Packag e / class Two pins of pin header Not assembled Wire 150 mm of AL profile 8693 Heatsink for TO-220 with montage pin PADA Engineering PADA Engineering Manufacturer
Doc ID 15870 Rev 2
37/46
PCB layout
UM 0723
8
PCB layout
For this application a standard, double-layer, coppered PCB with copper thickness 35 m was selected. The PCB material is FR-4. The dimensions of the board are: Length: Width: 190 mm 110 mm
PCB thickness: 1.55 mm Figure 16. Silk screen - top side
38/46
Doc ID 15870 Rev 2
UM0723 Figure 17. Silk screen - bottom side
PCB layout
Doc ID 15870 Rev 2
39/46
PCB layout Figure 18. Copper tracks - top side
UM 0723
Figure 19. Copper tracks - bottom side
40/46
Doc ID 15870 Rev 2
UM0723
Ordering information
9
Ordering information
The demonstration board is orderable through the standard ordering system, the ordering code is: STEVAL-IHM023V1. The items delivered include the assembled application board, board documentation, PCB fabrication data such as gerber files, assembly files (pick and place) and documentation of the components.
Doc ID 15870 Rev 2
41/46
Using STEVAL-IHM021V1 with STM32 FOC firmware library
U M 0723
10
Using STEVAL-IHM021V1 with STM32 FOC firmware library
"STM32 FOC firmware library v2.0" is a firmware library running on the STM3210B-MCKIT which allows performing the FOC of a PMSM in configurations with and without sensors. This section describes the modifications to be applied to the "STM32 FOC firmware library v2.0" in order to make the firmware compatible with the STEVAL-IHM023V1.
10.1
Environmental considerations
Warning: The STEVAL-IHM023V1 demonstration board must only be used in a power laboratory. The voltage used in the drive system presents a shock hazard.
The kit is not electrically isolated from the DC input. This topology is very common in motor drives. The microprocessor is grounded by the integrated ground of the DC bus. The microprocessor and associated circuitry are hot and MUST be isolated from user controls and communication interfaces.
Warning:
Any measurement equipment must be isolated from the main power supply before powering up the motor drive. To use an oscilloscope with the kit, it is safer to isolate the DC supply AND the oscilloscope. This prevents a shock occurring as a result of touching any SINGLE point in the circuit, but does NOT prevent shocks when touching two or more points in the circuit.
An isolated AC power supply can be constructed using an isolation transformer and a variable transformer. A schematic of this AC power supply is in the application note, "AN438, TRIAC + Microcontroller: safety precautions for development tools". (Although this application note was written for TRIACs, the isolation constraints still apply for switching semiconductor devices such as IGBTs or MOSFETs.) Not e: Isolating the application rather than the oscilloscope is highly recommended in any case.
42/46
Doc ID 15870 Rev 2
UM0723
Using STEVAL-IHM021V1 with STM32 FOC firmware library
10.2
Hardware requirements
To run the STEVAL-IHM023V1 together with "STM32 FOC firmware library" the following items are required:
The board: STEVAL-IHM023V1 High-voltage insulated AC power supply up to 230 VAC J-link programmer (not included in the package) J-link insulating board (not included in the package) Three-phase brushless motor with permanent magnet rotor (not included in the package) Insulated oscilloscope (as needed) Insulated multimeter (as needed)
10.3
Software requirements
To customize, compile, and download the "STM32 FOC firmware library v2.0" motor control firmware, the IAR tool "EWARM v5.30" must be installed. The free 32 KBytes limited version (referenced as "IAR KickStart KitTM" version) is available for download at: http://supp.iar.com/Download/SW/?item=EWARM-KS32
10.4
Software modifications
Apar t from the parameters header file which can be edited by using the 'FOCGUI application' downloadable from: http://www.st.com/mcu/modules.php?name=mcu&file=familiesdocs&fam=110&doc=59 "STM32 FOC firmware library v2.0" was designed in order to be compatible with the L6386 high-side driver. In order to make the firmware compatible with the L6390, the polarity of the PWM driving the low-side transistors has to be changed. To achieve this task, perform the following steps: 1. 2. 3. 4. 5. In 'stm32f10x_svpwm_3shunt.c' substitute line 177 with: TIM1_OCInitStr ucture.TIM_OCNPolar ity = TIM_OCNPolarity_Low; In `stm32f10x_svpwm_1shunt.c' substitute line 311 with: TIM1_OCInitStr ucture.TIM_OCNPolar ity = TIM_OCNPolarity_Low; In 'stm32f10x_svpwm_3shunt.c' substitute line 88 with: #define LOW_SIDE_POLARITY TIM_OCIdleState_Set In 'stm32f10x_svpwm_1shunt.c' substitute line 66 with: #define LOW_SIDE_POLARITY TIM_OCIdleState_Set In 'MC_MotorControl_Layer.c', substitute line 49 with: #define NTC_THRESHOLD 25000
Not e:
This sets the overtemperature protection to about 70 C.
Doc ID 15870 Rev 2
43/46
Conclusion
UM 0723
11
Conclusion
This document describes the 1 kW three-phase motor control demonstration board STEVAL-IHM023V1 as a universal, fully evaluated platform.
12
References
1. 2. 3. 4. STMicroelectronics L6390 device datasheet - see www.st.com/stonline/products/literature/ds/14493/l6390.pdf STMicroelectronics VIPer16 device datasheet - see www.st.com/stonline/products/literature/ds/15232.pdf STMicroelectronics STGP10NC60KD device datasheet - see www.st.com/stonline/products/literature/ds/11423/stgp10nc60kd.pdf STMicroelectronics user manual UM0379: "STM3210B-MCKIT and STR750-MCKIT 3-phase motor control power stage" - see www.st.com/stonline/products/literature/um/13031.pdf STMicroelectronics user manual UM0580: "100 W 3 phase inverter featuring L6390 and STD5NK52ZD for vector control STEVAL-IHM021V1" - see www.st.com/stonline/products/literature/um/14958.pdf.
5.
44/46
Doc ID 15870 Rev 2
UM0723
Revision history
13
Revision history
Table 10.
Dat e 07-Sep-2009
Document revision history
Revision 1 Initial release. Changed part number STGF7NC60HD to STGP10NC60KD in Figure 10, updated input voltage in Section 4.2, step 3 in Section 10.4, replaced STEVAL-IHM023V1 by STEVAL-IHM021V1 in point 5. of Section 12. Changes
27-Nov-2009
2
Doc ID 15870 Rev 2
45/46
UM0723
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.
2009 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
46/46
Doc ID 15870 Rev 2
|