STMicroelectronics STDES-EVT001V1 User Manual
STMicroelectronics STDES-EVT001V1 is a 1 kW BLDC traction controller designed for low voltage battery powered light electric vehicles, such as e-rickshaws or light electric vehicles running on 48VDC nominal voltage and 50 A peak current. The device is equipped with smart L6491 gate driver ICs that ensure real-time cycle-by-cycle overcurrent protection, and its motor control logic is based on six-step commutation in voltage mode, with Hall sensor feedback for position detection.
Реклама
Реклама
UM2647
How to use the 1 kW traction controller reference design for 3-phase BLDC motors for light electric vehicles
Introduction
The 1 kW BLDC traction controller is a reference design for low voltage battery powered light electric vehicles running on nominal 48 V
DC
and 50 A peak current. The wide input voltage range (42-65 V) and combination of hardware and design features deliver a highly responsive and efficient solution with fault diagnostic features that render this drive a highly viable solution across a variety of applications.
The inverter stage in full bridge 3-phase topology includes N-channel Power MOSFETs featuring STripFET F6 trench gate technology, driven by smart L6491 gate driver ICs with embedded comparators ensuringr real time cycle-by-cycle overcurrent protection.
The motor control logic is based on six step commutation in voltage mode, with Hall Sensor feedback for position detection.
Detailed instructions are provided for configuring the firmware with an easy-to-use GUI and compiling the binary files for download onto the STM8S microcontroller.
The microcontroller section on the board can accommodate I²C and UART communication protocols for enhanced interfacing and control such as LCD display.
Figure 1. 1 kW light electric vehicle BLDC motor controller
For further development, ST provides the ST Visual Development (STVD) environment and technical support for customizing and scaling the solution for Industrial and Automotive applications.
The system has been field tested on an e-Rickshaw, but it is designed for use with any low speed or light electric vehicles.
UM2647 - Rev 1 - November 2019
For further information contact your local STMicroelectronics sales office.
www.st.com
1
UM2647
BLDC motor control for light electric vehicles
BLDC motor control for light electric vehicles
This BLDC motor control application is based on a 6-step motor control algorithm with motor position feedback information from magnetic field Hall sensors on the motor. The MCU firmware generates PWM signals for the gate drivers to control the power delivered to the 3 phases of the motor and therefore determine motor speed and rotation.
The design includes the necessary mechanisms for the normal inputs expected in a light electric vehicle, including on and off, forward and reverse, a throttle or accelerator, and a brake.
Figure 2. BLDC traction control for light electric vehicles
VIPER115
Aux PSU bulk capacitors
STM8S105CT6
MCU
BLDC MC firmware
ON/OFF
FWD/REV
6-STEP algorithm
BRAKE
ACCEL
HALL
L6491
Gate Driver
L6491
Gate Driver
L6491
Gate Driver
M
The protection mechanisms included to prevent excess heating and current are also crucial aspects of the design, and the safest and most responsive solutions use hardware elements to monitor thresholds and trigger immediate reactions when limits are exceeded, instead of relying exclusively on MCU responses, which may not intervene quickly enough to avoid damage or injury.
UM2647 - Rev 1 page 2/36
2 Features and functions
•
•
•
•
•
•
•
•
•
•
•
•
•
48 V DC 1 kilowatt design
Six Step drive commutation topology
Input Voltage range: 42 V
DC
to 65 V
DC
Efficiency > 80%
Compatible with any 5 V throttle
Compatible with any start wound 48 V 3-phase BLDC motor with Hall sensor feedback
Protections:
– Overcurrent, overvoltage and undervoltage protection
– Option for two levels of ovecurrent protection with different thresholds
– Speed and position feedback fault detection and protection
VIPER115LS based auxiliary power supply
3 LEDs for fault indication
Drive ON/OFF switch
Drive Forward/Reverse switch
Drive disabled while mechanical brakes are applied
RoHS compliant
UM2647
Features and functions
UM2647 - Rev 1 page 3/36
UM2647
Auxiliary Power supply with high voltage converter and voltage regulator
Figure 3. Key components of the evaluation board
1. STPS1L60RL Schottky diode
2. STTH102A ultrafast recovery diode
3. STP100N8F6 MOSFETs
4. L6491D gate driver
5. M74HC4050 HEX Buffer
6. STM8S105C6T6 microcontroller
7. L7805 voltage regulator
8. VIPER115LS buck converter
9. Metallic shunt resistors
1 2 3 4
2.1
9 8 7 6
Auxiliary Power supply with high voltage converter and voltage regulator
5
The isolated Auxiliary power supply is based on the VIPER115LS high voltage converter operating in primary sensing mode, which generates a 12 V
DC
voltage from an input battery or power supply voltage range of 35 to
68 V
DC
. The downstream L7805 voltage regulator provides a further regulated 5 V to the digital controller and hall effect sensors.
UM2647 - Rev 1 page 4/36
UM2647
Power converter in 3-phase inverter topology
Figure 4. STDES-EVT001V1 auxiliary power supply schematic
J5
1
BAT+VE
J7
1
BAT-VE
VBUS
D6
1N4007
+ C3
100uF/100V
U1
VIPER115LS
C2 D20
R1
1uF/25V/0805
10k
R6
BAT46ZFILM
100k
C4
220nF/50V/0805
C5
R19
NM
2k7
C7
1nF/50V/0805
L2
D18
STTH102A
1.2mH
+
D19
STTH102A
C6
470uF/50V
+15V
D21
SMAJ18
TP13
TEST POINT
1
U17
VIN
GND
VOUT
L7805/TO220
C8
100nF/100V/0805
3 +5V
+5V
C9 +
10uF/10V
C11
100nF/25V/0805
2.2
RELATED LINKS
For more information on VIPER115LS high voltage converters, visit the product page on the ST website
You can download the full schematics from the product page on the ST website
Power converter in 3-phase inverter topology
The power converter is based on 3-phase inverter topology, with four STP100N8F6 N-Channel Power MOSFETs connected in parallel forming the switches of the 3-phase full bridge. A capacitor bank is included to improve the power transfer response during switching. The motor torque is proportional to the throttle input, which is set by the user to act on the duty cycle of the PWM signals.
UM2647 - Rev 1 page 5/36
2.3
UM2647
Control block with STM8S microcontroller
Figure 5. STDES-EVT001V1 power converter schematic
R31
10E
C46
1nF/25V/0805
R2
10E
R3
10E
J17
+15V
1
D22
2
R81
10E
C15
1nF/25V/0805
R21
10K
C53
10nF/50V/0805
STTH102AY
J18
SD/OD
C14
1nF/25V/0805
C34
220KPF
1
2
3
4
5
6
7
U2
LIN
SD/OD
HN
VCC
DT
SGND
PGND
BOOT
HVG
OUT
NC
CP+
CP-
LVG
C52
CAP
C99
100KPF
R24
R
C16
1nF/25V/0805
L6491D(SO-14)
+5V
R27
14
13
12
11
10
9
8
R
R51
R
R52
R
C54
C
CP+
CP-
C1
C12
22UF/63V
10nF/50V/0805
R112
R
C59
1KPF
R111
1K
2
D1
1
R5
R
STPS1L60RL
R4
68E D2
18V
R7
4E to 10E
1
R18
4K7
R114E7
2
D3
1
STPS1L60RL
R16
R
2
D4
1
STPS1L60RL
R17
68E
R12
4E to 10E
1
R20
4K7
D5
18V
J16
R28
10K
C44
1KPF
C40
220KPF
J15
+15V
1
D24
2
STTH102AY
R83
10E
R32
10E
C55
10nF/50V/0805
SD/OD
R80
R
C100
CAP
C56
100KPF
C63
100KPF
6
7
4
5
1
2
3
U4
LIN
SD/OD
HN
VCC
DT
SGND
PGND
BOOT
HVG
OUT
NC
CP+
CP-
LVG
14
13
12
11
10
9
8
L6491D(SO-14)
C38
C42
100KPF
R130
4.7K
22UF/63V
+5V
R33
R
1
D8
2
STPS1L60RL
R30
68E
R46R
R404E7
2
D10
1
STPS1L60RL
2
D11
1
STPS1L60RL
R48
68E
D9
18V
R41
R35
4E to 10E
R127
4K7
1
4E to 10E
D12
18V
R128
4K7
1
Q2
R8
STP100N8F6
R
Q5
R13
STP100N8F6
4E to 10E
R88
4K7
C25
100nF
+ C26
220uF
Q12
R36
STP100N8F6
R79
4K7
4E to 10E
1
1
C27
100nF
1
R126
4K7
Q17
R42
STP100N8F6
4E to 10E
1
R125
4K7
+
Q1
R9
STP100N8F6
4E to 10E
Q6
R14
STP100N8F6
4E to 10E
C28
220uF
4K7
Q10
R37
STP100N8F6
4E to 10E
1
R95
4K7
R100
1
+ C31
220uF
1
R123
4K7
Q14
R43
STP100N8F6
4E to 10E
1
R124
4K7
Q3
STP100N8F6
Q11
R38
STP100N8F6
4E to 10E
1
R122
4K7
VBUS
Q4
STP100N8F6
PHASE_A
Q7
R15
STP100N8F6
4E to 10E
1
R102
4K7
Q8
STP100N8F6
P_CURRENT
VBUS
Place close to the Phase-A MOSFETS
C30
100nF
+ C32 +
220uF
C21 +
220uF
C22
220uF
P_CURRENT
Q15
R10
4E to 10E
R44
STP100N8F6
4E to 10E
R108
4K7
1
1
R121
4K7
Q13
STP100N8F6
PHASE_B
Q16
VBUS
STP100N8F6
P_CURRENT
R56
10E
C66
1KPF
J13
+15V
1
D23
2
STTH102AY
R82
10E
R78
10K
R57
10E
C57
10nF/50V/0805
SD/OD
C67
1KPF
J14
C47
220KPF
R110
R
C101
CAP
C58
100KPF
C69
100KPF
3
4
1
2
5
6
7
U6
LIN
SD/OD
HN
VCC
DT
SGND
PGND
BOOT
HVG
OUT
NC
CP+
CP-
LVG
L6491D(SO-14)
14
13
12
11
10
9
8
C61 22UF/63V
C64
100KPF
R129
4.7K
+5V
R58
R
2
D13
1
STPS1L60RL
R55
68E
R73R
D14
18V
R63
4E to 10E
R664E7
2
D15
1
STPS1L60RL
2
D16
1
STPS1L60RL
R76
68E
R68
4E to 10E
D17
18V
1
R119
4K7
1
R120
4K7
Q18
R61
STP100N8F6
4E to 10E
1
R109
4K7
Q25
R69
STP100N8F6
4E to 10E
1
R114
4K7
Q19
R62
STP100N8F6
4E to 10E
1
R115
4K7
Q22
R70
STP100N8F6
4E to 10E
R116
4K7
1
Q20
R64
STP100N8F6
4E to 10E
1
R118
4K7
VBUS
Q21
STP100N8F6
PHASE_C
Q23
R71
STP100N8F6
4E to 10E
1
R117
4K7
Q24
STP100N8F6
P_CURRENT
RELATED LINKS
For more information on STP100N8F6 N-Channel Power MOSFETs, visit the product page on the ST website
You can download the full schematics from the product page on the ST website
Control block with STM8S microcontroller
The control block consists of the STM8S105C6 microcontroller and the signal conditioning circuits. The main parameter inputs for this stage are user commands such as the on-off and forward-reverse switches, and brake enable. Hall sensor signals from the motor provide rotor position feedback information to the microcontroller running the 6-step drive algorithm.
The voltage, current and temperature in the power stage are sensed through conditioning circuits to ensure the system remains within safety limits, and further protection logic can be programmed into the MCU in addition to current thresholds and stoppage durations controlled by hardware.
UM2647 - Rev 1 page 6/36
UM2647
Control block with STM8S microcontroller
2.3.1
Figure 6. STDES-EVT001V1 control unit schematic
VDD
C13
100nF/25V/0805
VBUS
+ C17
470UF/100V
+ C18
470UF/100V
+ C19
470UF/100V
+ C20
470UF/100V
+ C23
470UF/100V
+ C24
470UF/100V
VDD
C39
20pF
C43
20pF
STLINK_SWIM
MPC
MPB
MPA
LD4 PE0_LED
LED_RED
SD/OD
R26
510 (NM)
C70
104/1206
BRAKE_ENABLE
R113
+5V
5K1/1206
C60
104/1206
+5V
R29
5K1/1206
J1
2
1
CON2
Brake Enable
+5V
PE0_LED
R50
1k
PC6_LED
R59
1k
Y1
R39
60
RESETn
VDD
R25
10K
C37
10nF
XTAL_16MHz
C45
680nF
PA4
PA5
PA6
6
7
8
4
5
9
10
11
12
1
2
3
NRST
OSCIN/PA1
OSCOUT/PA2
VSSIO_1
VSS
VCAP
VDD
VDDIO_1
PA3
PA4
PA5
PA6
PG1
PG0
PC7
PC6
VDDIO_2
VSSIO_2
PC5
PC4
PC3
PC2
PC1
PE5
U3
STM8S105C6T6
30
29
28
27
26
25
36
35
34
33
32
31
PC6_LED
PHASE_C_H
PHASE_B_H
PHASE_A_H
BRAKE_ENABLE
+5V
C71
100nF/25V/0805
+5V
LD2 LD3
+5V
L1
BEAD
PE7_NTC
PHASE_A_L
PHASE_B_L
PHASE_C_L + C48
1uF C49
100nF/25V/0805
VBUS
P_CURRENT
R65
680
C68
10KPF/1206
+5V
R
R60
R67
R
1
TP12
TEST POINT
R53
1M
R54
R
C62
100nf/25V/0805
D30
BAT30KFILM
R74
R
1
U5
IN+ VCC+
2
3
R72
R
VCC-
OUT
IN-
TSV631
5
4
+5V
R75
R
Single Shunt Current Sensing netowrk
C65
10KPF/1206
VBUS Sensing Network
TP5
TEST POINT
PE7_NTC
+5V
RT1
NTC
C72
10nF
R84
4.7K
+5V
+5V
R34
1k
LD1
LED_RED
C50
J12
CON5
1
R45
27K/1206
104/1206
J3
R47
10K/1206
C41
104/1206
R107
+5V
5K1/1206
C98
104/1206
+5V
R77
R49
330K/1206
C51
104/1206
330K/1206
CON2
CON2
J4
3
2
1
J2
2
1
J10
2
1
CON3
Forward Reverse switch
ON/OFF
Throttle
VDD
STLINK_SWIM
RESETn
J11
1
2
3
4
CON5
RELATED LINKS
For more information on STM8S105C6 microcontroller, visit the product page on the ST website
You can download the full schematics from the product page on the ST website
For more information on the STM8 BLDC Motor control library, visit the relevant page on the ST website
TSV631 Op-Amp
The TSV631 Operational Amplifier in this design provides current sensing with overcurrent protection. These devices feature a very low input bias current and a low offset voltage, making them ideal for applications that require precision.
Figure 7. Pin connections for TSV631
IN+ 1
VCC2
IN3
5 VCC+
4 OUT
The 880 kHz, 5 V CMOS operational amplifier supports rail-to-rail input and output, and is used here as a noninverting amplifier. The output of the inverter can be used to monitor for overcurrent events. The threshold current limit used here is different to the one used for cycle-by-cycle current limitation/shutdown used in the gate driver
IC.
UM2647 - Rev 1 page 7/36
UM2647
Control block with STM8S microcontroller
The output of the non-inverting amplifier is interfaced with the microcontroller pin, which can be configured as an analog input to enable continuous current monitoring or perhaps an adaptive algorithm.
Figure 8. Voltage gain and phase vs. frequency at V
CC
= 5 V Figure 9. Phase margin vs. output current at V
CC
= 5 V
90
80
70
60
50
40
30
20
10
0
-1.5
Vcc=5V, Vicm=2.5V
Rl =2kohms, T=25ºC
-1.0
-0.5
0.0
0 .5
Cl=100pF
Cl=330pF
1.0
1 .5
2.3.2
RELATED LINKS
For more information on TSV631 Op-Amps, visit the product page on the ST website
L6491D high voltage high and low-side gate driver
The L6491D half-bridge gate drivers that control the Power MOSFETs in the 3-phase bridge feature embedded comparators for fault (current) sensing functionality.
The comparator input is connected to an external shunt resistor for simple overcurrent detection function. The output signal of the comparator is fed to an integrated MOSFET with the open-drain output available on pin 2, shared with the SD input. When the comparator triggers, the device is set in shutdown state and both its outputs are set to low level, leaving the half bridge in 3-state.
The triggered gate driver also signals the other gate drivers to shut down, thereby providing comprehensive cycle by cycle overcurrent protection without the latencies introduced by equivalent microcontroller interventions.
UM2647 - Rev 1 page 8/36
UM2647 - Rev 1
Figure 10. L6491 block diagram
UM2647
Control block with STM8S microcontroller
RELATED LINKS
For more information on L6491D half-bridge gate drivers, visit the product page on the ST website
VCC
PGND page 9/36
3
3.1
UM2647
Motor control software
Motor control software
The BLDC traction control firmware is based on the STM8 BLDC Motor control library with additional user interface and other application-specific functions. The ST Visual Development (STVD) environment allows developers to further customize the firmware with additional behavior and functionality.
RELATED LINKS
For more information on the STM8 BLDC Motor control library, visit the relevant page on the ST website
For more information on the visual development environment for STM8 firmware, visit the relevant page on the ST website
Application State machine
The motor control firmware logic is governed by the state machine that is implemented in the MC_StateMachine.c
module and consists of the following states: Reset, Idle, Start init, Start, Run, Stop, Wait, Fault and Fault over.
Each state machine function makes calls to associated drive functions, user interface interaction functions, and error check functions, and executes actions on the basis of the outputs of these functions.
Figure 11. Motor control state machine
UM2647 - Rev 1
•
•
•
•
•
•
•
•
Reset: the system enters the Reset state after a main reset event; it is used for general initialization of the system.
Idle*: the motor is stopped and the system waits for a startup event.
Start init: is executed whenever the motor is restarted; it is used for specific initialization.
Start*: the motor ramps up.
Run*: is entered at the end of the start phase to maintain normal system operation; the user can interact with the system, change parameters in real-time, or issue a stop command.
Stop: is entered when a stop command is issued.
Wait*: is entered when the motor is stopped; it remains in this state until the conditions for a new restart are satisfied.
Fault*: is entered when an error condition occurs; it remains in this state for as long as the fault condition persists.
page 10/36
UM2647
Application State machine
Note:
• Fault over*: is entered when the fault condition is cleared; the system remains in Fault-over state to indicate which error occurred, and waits for a user action.
•
•
The states marked with an asterisk continue to run until an event occurs (user action or fault condition).
Each state represents the execution of a corresponding function, while the next state is determined by one of the following values that the function in the current state returns:
State remain: no change in the state is required by the state machine function.
Next state: the state machine progresses to the next step in its natural flow (for example, Idle → Init start →
Start → Run); natural flow is represented by green lines in Figure 11
.
•
•
Optional jump: a user action causes the state machine to move to a step that is not part of its natural flow
(for example Start → Stop); optional jumps are represented by blue lines in
Error condition: a fault condition occurred (for example, Startup failed, overtemperature); error conditions are represented by red lines in
UM2647 - Rev 1 page 11/36
4
4.1
UM2647
STM8S motor control firmware library builder
STM8S motor control firmware library builder
The STM8 MC FW builder allows the development of specific motor control firmware configuration files through an interactive GUI. The files are then compiled in the ST Visual Development (STVD) environment with the
COSMIC C toolchains , ready for download onto the STM8S microcontroller.
RELATED LINKS
For more information on the STM8 BLDC Motor control library, visit the relevant page on the ST website
For more information on the visual development environment for STM8 firmware, visit the relevant page on the ST website
How to configure the Motor section
Before you begin, you must install and run the STSW-STM8042 Motor Control Library Builder on your PC and create a new project for 3-phase BLDC Motor six step drive.
A new window appears with several areas related to the functional blocks of motor control.
Step 1.
Select the [ Motor ] tile in the left panel.
Step 2.
Click on the M block (PMSM or BLDC Motor), input your [ Pole pairs ] and [ Max. speed (rpn) ] parameters and press [ Ok ].
Figure 12. MC FW builder GUI, Motor electrical parameters
UM2647 - Rev 1 page 12/36
UM2647
How to configure the Power Stage section
Step 3.
Click on the [ Sensors ] block, and set the [ Sensor Type ] to Hall sensors and [ Sensors displacement ] to 120 and press [ Ok ].
Figure 13. MC FW builder GUI, Motor sensor parameters
4.2
How to configure the Power Stage section
Step 1.
Select the [ Power Stage ] tile in the left panel.
Step 2.
Click on the [ Rated bus voltage info ] box and enter the appropriate values shown in the following figure.
Figure 14. MC FW builder GUI, power stage voltage parameters
UM2647 - Rev 1 page 13/36
UM2647 - Rev 1
UM2647
How to configure the Power Stage section
Step 3.
Check the [ Bus voltage sensing ] box to enable it and enter the appropriate values shown in the figure below.
The Bus voltage sensing tile changes form grey to blue when it is enabled.
Figure 15. MC FW builder GUI, power stage voltage sensing parameters
Step 4.
Check the [ Temperature sensing ] box to enable it and enter the appropriate values shown in the figure below.
Figure 16. MC FW builder GUI, power stage temperature sensing parameters page 14/36
UM2647
How to configure the Drive Management section
Step 5.
Click on [ Phase U Driver ], [ Phase V Driver ], and [ Phase W Driver ] blocks and set High side driving signal [ Polarity ] to Active High and Low side driving signal [ Polarity ] to Active Low in each block.
Figure 17. MC FW builder GUI, power stage driver parameters
4.3
How to configure the Drive Management section
Step 1.
Select the [ Drive Management ] tile in the left panel.
Step 2.
Select the [ Speed/Position Feedback Management ] box and enter the appropriate values shown in the figure below.
Figure 18. MC FW builder GUI, drive management speed/position parameters
UM2647 - Rev 1 page 15/36
UM2647
How to configure the Control Stage section
Step 3.
Select the [ Drive Setting ] box and enter the appropriate values shown in the figure below.
Figure 19. MC FW builder GUI, drive management drive parameters
Step 4.
Select the [ Start-up Parameters ] box and enter the appropriate values shown in the figure below.
Figure 20. MC FW builder GUI, drive management start-up parameters
4.4
How to configure the Control Stage section
Step 1.
Select the [ Control Stage ] tile in the left panel.
UM2647 - Rev 1 page 16/36
UM2647
How to configure the Control Stage section
Step 2.
Select the [ Analog inputs ] box and verify the pin allocations against those shown in the figure below.
Figure 21. MC FW builder GUI, control stage analog input parameters
Step 3.
Select the [ User Interface ] box and enable the functions shown in the figure below.
Figure 22. MC FW builder GUI, control stage user interface parameters
UM2647 - Rev 1 page 17/36
UM2647 - Rev 1
UM2647
How to configure the Control Stage section
Step 4.
Select the [ Digital I/O ] box and re-map the timers as shown in the figure below.
Figure 23. MC FW builder GUI, control stage driving signal timer re-mapping
Step 5.
Select the [ Clock ] box and set the clock to 16 MHz.
Step 6.
Select the [ Options ] icon from the toolbar menu and set the path where the generated code should be saved.
Step 7.
Click on the [ Compile ] icon from the toolbar menu to your initialized firmware code.
Successful compilation is confirmed in the Message panel below the main window.
Figure 24. MC FW builder GUI, code generation success confirmation page 18/36
UM2647
Application-specific firmware functionality
4.5
4.5.1
Application-specific firmware functionality
Control inputs from user
The throttle input is detected via an A/D converter. Typically, the minimum maximum voltage is 5 V, which corresponds to maximum duty cycle, while the minimum voltage level can be calibrated to match the Throttle used. Brake and Direction are digital inputs to the MCU.
Figure 25. STEVAL-EVT001V1 reference design control and debug interfaces
4.5.2
4.5.3
Note:
Hall effect sensor signal conditioning
The signals from Hall sensors are processed in the firmware to eliminate false notches which might appear due to cogging/vibration under light load, especially in lab testing conditions.
Fault LED indications
Input voltage, power converter heatsink temperature and overcurrent events are monitored in firmware and signaled by three Fault status LEDs.
During startup, all LEDS blink to indicate normal operation.
Fault
Under Voltage
Over Voltage
Over Current
Over Temperature
Over Temperature with Over Voltage
Over Temperature with Under Voltage
Over Voltage with Over Current
Under Voltage with Over Current
Hall Signal Fault
(Not Valid State)
Table 1. Fault LED Indications
LED1
OFF
OFF
OFF
ON
ON
ON
OFF
OFF
LED2
OFF
OFF
ON
OFF
OFF
OFF
ON
ON
Toggle in sequence Toggle in sequence
LED3
ON
Blink
OFF
OFF
Blink
ON
Blink
ON
Toggle in sequence
UM2647 - Rev 1 page 19/36
UM2647
How to set up and run the 1 kW traction control hardware
5 How to set up and run the 1 kW traction control hardware
Caution:
This procedure presumes that have already generated the BLDC motor control firmware with 6-step drive algorithm and loaded it onto the STM8S microcontroller.
The figure below shows a traction control setup with our 1 kW reference design, a BLDC motor with Hall sensors, an appropriate DC power supply and a potentiometer for throttle control.
A suitable heat sink along thermally conductive casing is also required for field testing and deployment, basing the overall thermal resistance of the heat sinking scheme on ambient conditions and duty cycle.
The system is designed for 48 V
DC
input voltage; do not supply above 50 V.
Figure 26. 1 kW traction control hardware setup
1. Throttle (accelerator)
2. ST-LINK programmer/debugger
3. BLDC motor
4. DC power supply
5. Hall sensor signal from motor to drive
6. Motor terminals and bus voltage connector
7. BLC motor control reference design board
1 2 3
UM2647 - Rev 1
7 6 5 4
Step 1.
Connect the phase U, V and W motor terminals to the output connector of the board.
Step 2.
Connect the DC supply to the input connector.
Check the polarity (red is positive, black is ground).
Step 3.
Connect the Hall sensor signal from the motor to connector J9 of board (5-pin Connector).
page 20/36
UM2647 - Rev 1
UM2647
How to set up and run the 1 kW traction control hardware
Step 4.
Connect Throttle (accelerator) to connector J4 of board (3-pin connector)
Figure 27. Installation of the board
Step 5.
Set the DC power supply to 48 V and overcurrent rating to 22 A.
Step 6.
Check all the connections before switching on the supply.
Step 7.
Switch ON the power supply to the board.
Step 8.
Change the position of throttle to control the speed of the motor.
page 21/36
6
UM2647
Lab setup
Lab setup
The following figure shows the testing setup used to evaluate the performance of the 1 kW BLDC motor control reference design under different load conditions.
Figure 28. 1 kW BLDC motor control reference design
1. Hysteresis dynamometer to load the motor
2. BLDC motor
3. ST-LINK programmer/debugger
4. DC power supply
5. Throttle (accelerator)
6. BLDC motor control reference design
7. Dynamometer programmable controller
1 2 3
6.1
Load test at 0.5 Nm
7 6 5 4
Input
Current(A)
1.85
Input
Power(W)
88.8
Table 2. Test conditions for 0.5 Nm load test (V
IN
= 48 V)
Dynamometer
Display Mechanical
Power(W)
47.7
Speed
(RPM)
912
Torque
(Nm)
0.5
Mechanical Power
Calculated(W)
Efficiency
(%)
Direction
47.75469169
53.78
Forward
UM2647 - Rev 1 page 22/36
UM2647
Load test at 3.0 Nm
Figure 29. Current waveform with Hall Sensor Signal at Phase A and B taken at 0.5 Nm torque load
(3) Phase current
(4) H1 - Phase A Hall Sensor Signal
(2) H2 - Phase B Hall Sensor Signal
6.2
Load test at 3.0 Nm
Input
Current(A)
13.22
Input
Power(W)
634.56
Table 3. Test conditions for 3.0 Nm load test (V
IN
= 48 V)
Dynamometer
Display Mechanical
Power(W)
511.36
Speed
(RPM)
1628
Torque
(Nm)
3
Mechanical
Power
Calculated (W)
511.477882
Efficiency
(%)
Direction
80.60354924
Forward
UM2647 - Rev 1 page 23/36
UM2647
Test at no load
Figure 30. Current waveform with Hall Sensor Signal at Phase A and B taken at 3.0 Nm torque load
(3) Phase current
(4) H1 - Phase A Hall Sensor Signal
(2) H2 - Phase B Hall Sensor Signal
6.3
Test at no load
Input Current(A)
1.95
Table 4. Test conditions for no load (V
IN
= 48 V)
Input Power(W)
93.6
Speed (RPM)
1222
UM2647 - Rev 1 page 24/36
UM2647
Performance graphs
Figure 31. Current waveform with Hall Sensor Signal at Phase A and B taken at No load
(3) Phase current
(4) H1 - Phase A Hall Sensor Signal
(2) H2 - Phase B Hall Sensor Signal
6.4
Performance graphs
The following performance graphs are derived from the measurements taken from performance testing of the traction control system at 0.5 Nm, 3.0 Nm and no load conditions from a nominal 48 V power supply voltage.
UM2647 - Rev 1 page 25/36
UM2647 - Rev 1
90
80
70
60
50
40
30
20
10
0
0.5
Figure 32. Speed vs torque
2000
1950
1900
1850
1800
1750
1700
1650
0.5
1 1.5
2
Load Torque (Nm)
Figure 33. Load torque vs efficiency
Load Torque vs Efficiency
2.5
1 1.5
2
Load Torque (Nm)
2.5
UM2647
Performance graphs
3
3 page 26/36
UM2647
Performance graphs
250
200
150
100
50
0
500
450
400
350
300
50 56
Figure 34. Input power vs efficiency
62 70
Efficiency (%)
78 85
UM2647 - Rev 1 page 27/36
7
UM2647
Bill of materials
15
16
17
18
4
5
6
7
8
9
10
11
12
13
Item
1
2
3
Bill of materials
14
3
2
2
3
4
3
Q.ty
3
1
1
1
1
1
1
1
1
11
12
3
C2
C3
C4
C5
C6
C7
C8
C9
Ref.
Table 5. STDES-EVT001V1 bill of materials
C1, C38, C61
C11, C49, C71
C12, C53, C55,
C57
C13, C62, C73
Part / Value Description
Manufacture r
22µF, 63V,
±20%
1µF, 25V, ±10%
100µF, 100V,
±20%
220nF, 50V,
±10%
(not mounted)
470µF, 25V,
±20%
Electrolytic capacitor, 5mm dia,
2mm pitch, Through
Hole
Ceramic Capacitor,
SMD0805
Electrolytic capacitor, 10mm dia, 5mm pitch
Through Hole
Ceramic Capacitor,
SMD0805
SMD0805
Electrolytic capacitor, 10mm dia, 5mm pitch
Through hole
1nF, 50V, ±10%
100nF, 100V,
±10%
Ceramic Capacitor,
SMD0805
Ceramic Capacitor,
SMD0805
10µF, 16v, ±20%
Electrolytic capacitor, 8mm dia,
3.5mm pitch,
Through Hole
100nF, 25V,
±10%
10nF, 50V,
±10%
100nF, 25V,
±10%
Ceramic Capacitor,
SMD0805
Ceramic Capacitor,
SMD0805
Ceramic Capacitor,
SMD0805
Panasonic
Electronics
Yageo
Nichicon
Yageo
-
Panasonic
Electronics
Yageo
Yageo
Nichicon
Yageo
Yageo
Yageo
Order code
ECA-1JM220
AC0805KKX7R8BB105
UVR2A101MPD
AC0805KKX7R9BB224
-
ECA-1EM471
AC0805KRX7R9BB102
AC0805KKX7R0BB104
USH1C100MPD
AC0805KRX7R8BB104
AC0805KRX7R9BB103
AC0805KRX7R8BB104
C14, C15, C16,
C44, C46, C59,
C66, C67, C94,
C95, C96
C17, C18, C19,
C20, C21, C22,
C23, C24, C26,
C28, C31, C32
1nF, 25V, ±10%
Ceramic Capacitor,
SMD0805
Yageo AC0805KRX7R8BB102
ECA-2AHG471
C25, C27, C30
C34, C40, C47
C37, C72
C39, C43
470µF, 100V,
±20%
2.2nF, 760VAC,
500VAC, ±20%
220nF, 25V,
±10%
10nF, 25V,
±10%
20pF, 25V, ±5%
Electrolytic capacitor, 16mm dia, 7.5mm pitch,
Through hole
Panasonic
Electronics
Safety Ceramic Disc
Capacitors, Through
Hole
Ceramic Capacitor,
SMD0805
Vishay
Yageo
Ceramic Capacitor,
SMD0805
Ceramic Capacitor,
SMD0805
Yageo
AVX
VY1222M37Y5VQ63V0
AC0805KRX7R8BB224
AC0805KRX7R8BB103
08053A200JAT2A
UM2647 - Rev 1 page 28/36
UM2647 - Rev 1
UM2647
Bill of materials
Item
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
1
1
3
1
1
1
1
1
1
2
Q.ty
6
7
1
1
3
9
6
1
2
1
3
7
Ref.
Part / Value Description
Manufacture r
Order code
C41, C50, C51,
C60, C70, C98
C42, C56, C58,
C63, C64, C69,
C99
100nF, 25V,
±10%
100nF, 50V,
±10%
Ceramic Capacitor,
SMD0805
Ceramic Capacitor,
SMD0805
Yageo
Yageo
C45
C48
C52, C100,
C101
C54
C65
C68
C90, C93
680nF, 25V,
±10%
1µF, 25V, ±10%
1µF, 50V, ±20%
100nF, 25V,
±10%
10nF, 25V,
±10%
10nF, 50V,
±10%
100nf, 25V,
±10%
D1, D3, D4, D8,
D10, D11, D13,
D15, D16
1.0 Amp, 60 V
Ceramic Capacitor,
SMD0805
Ceramic Capacitor,
SMD0805
Electrolytic capacitor, 5mm dia,
2mm pitch, Through hole
Ceramic Capacitor,
SMD0805
Ceramic Capacitor,
SMD0805
Ceramic Capacitor,
SMD1206
Ceramic Capacitor,
SMD0805
Yageo
Yageo
Wurth
Electronics
Yageo
Yageo
Wurth
Electronics
Wurth
Electronics
Schottky Diodes &
Rectifiers , SMA
ST
D2, D5, D9,
D12, D14, D17
D6
D18, D19
D20
D21
D22, D23, D24
D30
J1, J2, J10
J3, J13, J14,
J15, J16, J17,
J18
J4
J5
J7
18V, 18V/
500MW, ±5%
1000V 1A
200V 1A
100 V, 150 mA
18V
200V 1A
30V, 300mA
CON2, connector
15V_+VE
CON3
BAT+VE
BAT-VE
AC0805KRX7R8BB104
AC0805KKX7R9BB104
AC0805KKX7R8BB684
AC0805KKX7R8BB105
860010672005
AC0805KRX7R8BB104
AC0805KRX7R8BB103
885012208081
885012207072
STPS1L60A
Zener Diode,
SOD-123
Rectifier , Through hole
Ultrafast Recovery
Diode, SMA
General Purpose
Signal Schottky
Diode, SOD-123
ST
ST
TVS Diodes, SMA ST
Ultrafast Diode,
SMA
ST
ON
Semiconduct or
ON
Semiconduct or
General Purpose
Schottky Diodes,
SOD-523
Header and Wires,
2 Pins Through hole
Header and Wires,
1 Pin each Through hole
Header and Wires,
3 Pins Through hole
VBUS (marked on
Board)
GND (marked on board)
ST
Molex
Molex
Molex
-
-
MMSZ5248BT1G
1N4007RLG
STTH102A
BAT46ZFILM
SMAJ18A-TR
STTH102AY
BAT30KFILM
22-28-4033
22-28-4033
22-28-4033
-
page 29/36
UM2647 - Rev 1
UM2647
Bill of materials
50
51
48
49
46
47
Item
41
42
43
44
45
52
53
54
55
6
2
6
6
1
6
Q.ty
3
4
1
1
24
27
3
24
1
J9, J11, J12
LD1, LD2, LD3,
LD4
L1
L2
Ref.
Q1, Q2, Q3, Q4,
Q5, Q6, Q7, Q8,
Q10, Q11, Q12,
Q13, Q14, Q15,
Q16, Q17, Q18,
Q19, Q20, Q21,
Q22, Q23, Q24,
Q25
RT1
R1, R47, R21,
R25, R28, R78
R2, R3, R31,
R32, R56, R57
R4, R17, R30,
R48, R55, R76
R5, R16, R33,
R46, R58, R73
R6, R53
STP100N8F6,
80 V, 100 A
10kΩ NTC
10K, 250mW,
±5%
100E, 250mW,
±5%
3R3, 250mW,
±5%
2R2, 250mW,
±5%
100k, 250mW,
±5%
R7, R8, R9,
R10, R11, R12,
R13, R14, R15,
R35, R36, R37,
R38, R40, R41,
R42, R43, R44,
R61, R62, R63,
R64, R66, R68,
R69, R70, R71
Part / Value
CON5, connector
LED_RED, 1.7V
BEAD, 150MA
360 MΩ, ±10%
1.2mH, 750mA,
±10%
Description
Manufacture r
Order code
Header and Wires,
5 Pins Through hole
LED Indicator,
SMD0805
Fixed inductor
1.2mh, 5 mm pitch
Through hole
Molex
Stanley
Electric
Wurth
Electronics
22-28-4033
BR1112H-TR
Fixed inductor 10µh,
SMD0805
Taiyo Yuden LBR2012T100K
7447480122
4R7, 250mW,
±1%
N-channel Power
MOSFET, TO-220
Through hole
NTC Thermistor
Thick Film,
SMD0805
Thick Film,
SMD0805
Thick Film,
SMD0805
Thick Film,
SMD0805
Thick Film,
SMD0805
Thick Film,
SMD0805
ST STP100N8F6
EPOCS/TDK B57703M103G40
Stackpole
Electronics
Stackpole
Electronics
Stackpole
Electronics
Stackpole
Electronics
Stackpole
Electronics
Stackpole
Electronics
RPC0805JT10K0
RPC0805JT100R
RPC0805JT3R30
RPC0805JT2R20
RPC0805JT100K
RNCP0805FTD4R70
R24, R80, R110 0R, 125mW
Thick Film,
SMD0805
TE
Connectivity
CRG0805ZR
R18, R20, R79,
R88, R95, R100,
R102, R108,
R109, R114,
R115, R116,
R117, R118,
R119, R120,
R121, R122,
R123, R124,
R125, R126,
R127, R128
4K7, 250mW,
±5%
R19
2k7, 250mW,
±5%
Thick Film,
SMD0805
Thick Film,
SMD0805
Stackpole
Electronics
Stackpole
Electronics
RPC0805JT4K70
RPC0805JT2K70 page 30/36
UM2647 - Rev 1
UM2647
Bill of materials
73
74
75
76
64
65
66
62
63
60
61
67
57
58
59
68
69
70
71
72
Item
56
1
1
1
1
1
4
1
Q.ty
4
1
4
9
6
2
6
1
3
1
1
1
1
1
Ref.
Part / Value Description
Manufacture r
R22, R23, R105,
R106
0.015/SHUNT,
3W, ±1%
R27
1K8, 250mW,
±5%
R29, R72, R107,
R113
5K1, 250mW,
±5%
R26, R34, R50,
R59, R74, R75,
R81, R82, R83
R39, R60, R65,
R67
R45
R49
R51
R52
R77
1K, 250mW,
±5%
680, 250mW,
±0.5%
27K, 250mW,
±5%
330K, 250mW,
±5%
120E, 250mW,
±5%
82E, 250mW,
±5%
0E, 250mW
Metal Element
Current Sensing
Resistors, Through hole
Thick Film,
SMD0805
Thick Film,
SMD0805
Thick Film,
SMD0805
Thick Film,
SMD0805
Thick Film,
SMD0805
Thick Film,
SMD0805
Thick Film,
SMD0805
Thick Film,
SMD0805
Thick Film,
SMD1206
Thick Film,
SMD0805
TT
Electronics
Stackpole
Electronics
Stackpole
Electronics
Stackpole
Electronics
Panasonic
Electronics
Panasonic
Electronics
Stackpole
Electronics
Panasonic
Electronics
Panasonic
Electronics
Yageo
R54
R111, R112
6K8, 250mW,
±0.5%
R84, R91, R92,
R93, R129,
R130
4.7K, 250mW,
±0.5%
1.5K, 250mW,
±5%
TP1, TP2, TP4,
TP5, TP12,
TP13
TEST POINT
U1
U2, U4, U6
U3
U5
U12
U17
Y1
Thick Film,
SMD0805
Thick Film,
SMD0805
-
Panasonic
Electronics
Panasonic
Electronics
Panasonic
Electronics
-
VIPER115LS,
30V, 1.25mA
4A
ST
ST
STM8S105C6T6
, 2.95-5.5V
8-bit MCU, LQFP 48
7x7x1.4
ST
TSV631, 60 µA at 5 V
Operational
Amplifiers - Op
Amps 60uA ,
SOT23-5L
ST
74HC4050D/
SO16, 15V
L7805/TO220,
1.5A
XTAL_16MHz
AC/DC Converters,
SSOP 10
Half-Bridge Gate
Driver, SO-14
Buffers & Line
Drivers, SO16
Linear Voltage
Regulators, TO-220
Crystal Oscillator,
HC-49/S Through
Hole
Nexperia
ST
TXC
Corporation
L6491D
Order code
OAR3R015FLF
RPC0805JT1K80
RPC0805JT5K10
RPC0805JT1K00
ERJ-PB6D6800V
ERJ-T06J273V
RPC0805JT330K
ERJ-T06J121V
ERJ-T06J820V
RC1206FR-070RL
ERJ-PB6D6801V
ERJ-PB6D4701V
ERJ-T06J152V
VIPER115LS
-
STM8S105C6T6
TSV631ILT
74HC4050D
L7805
AS-16.000MAHK-B page 31/36
Revision history
Date
04-Nov-2019
Table 6. Document revision history
Version
1
Changes
Initial release.
UM2647
UM2647 - Rev 1 page 32/36
UM2647
Contents
Contents
UM2647 - Rev 1 page 33/36
UM2647
List of figures
List of figures
Figure 8. Voltage gain and phase vs. frequency at V
= 5 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 9. Phase margin vs. output current at V
UM2647 - Rev 1 page 34/36
UM2647
List of tables
List of tables
Table 2. Test conditions for 0.5 Nm load test (V
= 48 V) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 3. Test conditions for 3.0 Nm load test (V
= 48 V) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 4. Test conditions for no load (V
UM2647 - Rev 1 page 35/36
UM2647
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of
Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. For additional information about ST trademarks, please refer to www.st.com/trademarks . All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2019 STMicroelectronics – All rights reserved
UM2647 - Rev 1 page 36/36
Изтегляне
Реклама