St Um2197 Electronic Speed Controller For Bldc And Pmsm Three Phase Brushless Motor User Manual

St Um2197 Electronic Speed Controller For Bldc And Pmsm Three Phase Brushless Motor User Manual

ST - LOGO

UM2197
User manual
life. augmented

UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor

Electronic speed controller for BLDC and PMSM three-phase brushless motor

Introduction

The STEVAL-ESC001V1 reference design for electronic speed controllers (ESC) for drones fits the entry-level commercial drone designs and drives any three-phase brushless (or PMSM) motor running off 6S LiPo battery packs, or any equivalent DC supply, up to 30 A peak current.
The STEVAL-ESC001V1 lets you spin a motor and its propeller in minutes thanks to STM32 Motor Control Software Development Kit (MCSDK) with the ST Motor profiler (X-CUBE-MCSDK). It implements a sensorless field-oriented controlled (FOC) algorithm with 3-shunt current reading, speed control, and full active braking.
The reference design board can accept commands from a flight control unit through PWM signals; other communication bus interfaces like UART, CAN, and I²C are also available. The reference embeds a battery eliminator circuit working at 5 V, an NTC sensor for temperature measurement, and circuitry for overcurrent/overvoltage protection (OCP/OVP). The compact form factor and current capability render this reference design suitable for electronic speed controllers on small and light unmanned aerial vehicles like professional drones. The X-CUBE-MCSDK software package lets you refine your electronic speed controller design.
They act on the FOC parameters embedded in the STM32 and experiment with the ST motor profiler to retrieve rapidly the motor parameters. The ST sensorless FOC algorithm ensures longer flight times and optimal dynamic performance. The STEVAL-ESC001V1 is designed around the highly efficient, low Rdson STripFET F7 power MOSFETs, the high-performance STM32F303CBT7 microcontroller with Arm ® ® Cortex -M4 core, and the L6398 drivers.

Figure 1. STEVE-ESC001V1 evaluation board

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - Bord

Main features

  • Complete reference design for electronic speed controller implementing a sensorless FOC algorithm
  • Designed for drones with a 6S pack of LiPo batteries or systems with an equivalent suitable DC supply
  • ESC ready for communication with any standard flight control unit (FCU): PWM or CAN
  • Temperature overheating protection
  • Nominal operating voltage range: 3S-6S Li-Po battery DC voltage level (11.1 to 22.2 V)
  • Maximum RMS output current: 20 Arms
  • Output peak current: 30 A
  • Battery eliminator circuit (BEC): 5 V/0.5 A for an external receiver or FCU
  • Example project available on STM32 motor control software development kit (X-CUBE-MCSDK)
  • Supported by ST motor control software SDK and ST motor profiler
  • Compact PCB design: 29.1 x 58 mm
  • Further target applications:
    – motor driving for RC vehicles: electric cars, helicopters, trucks, etc.
    – any three-phase BLDC or PMSM motor application
  • RoHS and WEEE compliant

Target application

Motor driving for remote control vehicles, UAV drones, electrical cars, boats, etc.

Figure 2. STEVE-ESC001V1 target applications

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - applications

Description

The STEVAL-ESC001V1 electronic speed controller (ESC) evaluation board drives a single three-phase brushless motor with very high performance in sensorless mode (without a position sensor).  It is designed to provide fast and efficient propulsion for remote control applications like electric cars, boats, and drones and is capable of low and very high-speed regulation and strong dynamic response under different load conditions.
An external signal via a communication bus between the board and a generic central unit sets the speed regulation reference and another signal reports the status of the system, including faults, which the central unit can use to trigger corrective events..
The same 6Step (or trapezoidal) control algorithm (often with no shunt resistors) drives the many different ESCs offering various motor currents, sizes,s, and input voltages for remote control applications. A more sophisticated control algorithm is used in the STEVAL-ESC001V1, based on field-oriented control (FOC); it features:

  • better torque control
  • motor current regulation in case of fast load change
  • vibration reduction
  • active braking function
  • better efficiency
  • noise reduction
  • a real-time monitor of the rotor speed
  • energy recovery during the deceleration

The typical system architecture pictured below shows individual ESC boards connected to single brushless motors in a quadcopter system. An external Li-Po battery powers the four boards and a wired bus carries communication between each board and an external unit such as a flight control board.

Figure 3. System structure overview

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - overview

Figure 4. Typical quadcopter architecture

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - architecture

The on-board I²C, UART, PWM, and CAN communication protocols provide maximum flexibility, and a DC-DC converter with a 5 V output connector (BEC) can supply an external control unit or sensor board.

2.1 STEVAL-ESC001V1 hardware overview
The STEVAL-ESC001V1 power and control platform is based on the ST componentry illustrated below.

Figure 5. STEVAL-ESC001V1 block diagram

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - diagram

2.1.1 STEVAL-ESC001V1 top side components
The inverter section is formed by the L6398 gate driver and the STL160N4F7 and the Power MOSFETs.

Figure 6. Top side features

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - features

L6398 high voltage high and low-side driver
The L6398 is a high voltage device manufactured with the BCD™ “offline” technology. It is a single-chip half-bridge gate driver for the N-channel power MOSFET or IGBT.
The high-side (floating) section is designed to stand a voltage rail up to 600 V. The logic inputs are CMOS/TTL compatible down to 3.3 V for the easy interfacing microcontroller/DSP. Key features:

  • High voltage rail up to 600 V
  • DV/DT immunity ±50 V/ns in the full temperature range
  • Driver current capability:
    – 290 mA source
    – 430 mA sink
  • Switching times 75/35 ns rise/fall with 1 nF load
  • 3.3 V, 5 V TTL/CMOS input comparators with hysteresis
  • Integrated bootstrap diode
  • Fixed 320 ns deadtime
  • Interlocking function
  • Compact and simplified layout
  • Bill of material reduction
  • Flexible, easy, and fast design

STL160N4F7 160 A STripFET™ F7 Power MOSFETs
This N-channel Power MOSFET uses STripFET™ F7 technology with an enhanced trench gate structure that results in very low on-state resistance, while also reducing internal capacitance and gate charge for faster and more efficient switching.
L7986, LD1117S50, and LD39050PU33R
These devices provide the appropriate voltage for gate driving, BEC output, and MCU power.
2.1.2 STEVAL-ESC001V1 bottom side components
The bottom side componentry is mainly for the digital section; featuring an STM32F303 microcontroller for three-shunt sensorless FOC control in an LQFP 48-pin package.
STM32F303xB 32-bit ARM Cortex-M4 MCU with 128 Kbytes Flash and 72 MHz CPU
The family of microcontrollers is based on the high-performance ARM ® ®Cortex -M4 32-bit RISC core plus FPU operating at 72 MHz max and embedded memory protection unit (MPU).

Figure 7. Bottom side features

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - diagram

2.1.3 Board dimensions (29.1 x 58 mm)
Figure 8. STEVE-ESC001V1 board dimensions (not including capacitors)

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - dimensions

2.2 Communication, programming, and command interfaces
The STEVAL-ESC001V1 features these communication interfaces:

  • CAN port (J1): comes with an onboard transceiver; the J1 connector includes 3V3 and GND pins.
  • UART/I²C port (J2): normally used for serial communication between the ESC board and a PC; ST MC Workbench can be connected with the STM32, adding an external circuit (requires USB/RS232 converter-3v3 level)
    Figure 9. UART TX/RX (3v3 level)
    ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - UART
  • PWM signal input (J3): connects with an external board (e.g., flight control unit), to receive commands; the signal level (at 3v3) sets the motor speed according to the Ton duration (i.e., 1060 µs for min. speed and 1860 µs for max. speed). Other pins are for GND and a +5Vdc power line to supply an external board
  • SWD debug port (J4): provides the SWD connection between the STM32 and ST-LINK programmer; other pins like 3V3 and GND are available.

2.3 STM32 pinout for motor control

Table 1. Main STM32 pinout for motor control

PinDefaultSignalSolder Bridge
1VBA3V3
2PC13/TAMP/RTCTP4
3PC14N.C.
4PC15N.C.
5PF0/OSC-INOSC 8Mhz
6PF1/OSC-OUTOSC 8MhzR4
7NRSTRESET
8VSSA/VREF-GND
9VDDA/VREF+3V3
10PA0-WKUPCurr_fdbk1
11PA1Curr_fdbk2
12PA2Curr_fdbk3
13PA3Temperature feedback
14PA4VREF, DAC1, TP8R6 N.M.
15PA5DAC2, TP9
16PA6N.C.
17PA7Vshunt_1_filtered
18PB0Vshunt_2_filtered
19PB1TIM1_CH3N
20PB2STATUS
21PB10N.C.
22PB11Vshunt_3_filtered
23VSS1GND
24VDD13V3
25PB12PHASE_1R5
26PB13VBUS
27PB14PHASE_2
28PB15PHASE_3
29PA8TIM1_CH1
30PA9TIM1_CH2
31PA10TIM1_CH3R51
32PA11TIM1_CH1N
33PA12TIM1_CH2N
34PA13STUDIO
35VSS2GND
36VDD23V3
37PA14SWCLK
38PA15INPUT
39PB3N.C.
40PB4TP3
41PB5N.C.
42PB6USART1_TX/I2C1_SCL
43PB7USART1_RX/I2C1_SDA
44BOOT0BOOT0R3
PinDefaultSignalSolder Bridge
45PB8CAN_RX
46PB9CAN_TX
47VSS
48VDD

Table 2. Input/output terminals

Screw TerminalFunction
J5/J6Li-Po battery power input (3S-6S)
J73-PH Motor connector

Initializing and using the STEVAL-ESC001V1 ESC board

Step 1. Connect the ST-LINK/V2 programmer to the J4 connector on the board.

Table 3. Relationship between the STEVAL board SWD pinout and SWD on ST-Link/V2 programmer

Pin no. in STLINKST-LINK/V2ST-LINK/V2 functionTarget connectionPin no. in STEVALESC001V1 (J4 connector)
1connectorTarget VCC(SWD)1
2VAPETarget VCCMCU VDD1
6VAPE4
7GNDSW IOSTUDIO3
9SW CLKSWCLK2

Figure 10. STEVAL-ESC001V1 connection for MCU programming

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - programming

Step 2. Set the SWD interface in the IDE tool.
Figure 11. Sample SWD configuration on the IAR tool

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - IAR tool

Step 3. Solder the three motor wires U, V, and W at the motor connector with no particular color sequence. As shown in Figure 12. STEVAL-ESC001V1 input/output connection, the right side is for the motor connection with three pads provided for soldering.
Step 4. Solder the PWM input at the J3 connector. The INPUT pin level must not exceed 3V3.

Step 5. Connect the STEVAL-ESC001V1 with a Li-Po battery (or DC power supply: min 3S – max 6S) with the right polarity and turn it ON. The input connector has two large pads for soldering: the top layer for GND and the bottom for Vdc+. A transit device prevents damage in case of reverse polarity.

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - outpu

Step 6. Verify if the green led is turned on.
Step 7. Open ST ST Motor Control Workbench.

Figure 13. ST MC Workbench

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - Workbench

Step 8. Follow the instructions included in the readme file to compile/upload the example project.

Schematic diagrams

Figure 14. STEVAL-ESC001V1 circuit schematic (1 of 4)

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - schematic

Figure 15. STEVAL-ESC001V1 circuit schematic (2 of 4)

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - STEVAL

Figure 16. STEVAL-ESC001V1 circuit schematic (3 of 4)
For internal comparator
OCP circuit

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - UART 2

Figure 17. STEVAL-ESC001V1 circuit schematic (4 of 4)

ST UM2197 Electronic Speed Controller for BLDC and PMSM Three Phase Brushless Motor - UART 1

Item Q.tyRef.Part / ValueDescriptionManufacturerOrder code
115C1, C2, C5, C8, C10 C12, C13, C14, C18 C19, C23, C44, C55
C56, C57
100 nF 25 V
±10% X7R
Ceramic capacitorany
23C3, C4, C111 nF 50 V
±10% X7R
Ceramic capacitorany
31C64.7 µF 10 V
±10% X5R
Ceramic capacitorMurataGRM188R61A475KE15D
42C7, C5910 nF 50 V
±10% X7R
Ceramic capacitorany
53C9, C43, C461 µF 16 V
±10% X7R
Ceramic capacitorTDKC1608X7R1C105K080AC
63C15, C16, C1715 nF 10 V
±10% X7R
Ceramic capacitorany
73C20, C21, C22
680 pF 10 V
±5% C0G
Ceramic capacitorany
83C24, C25, C26100 pF ±0%Capacitors (not
91C273.9 nF 50 V
±10% X7R
Ceramic capacitorany
101C28220 nF 50 V
±10% X7R
Ceramic capacitorany
111C2910 µF 50 V
±10% X5R
Ceramic capacitorany
121C301 µF X7R 50 V
±10%
Ceramic capacitorany
133C31, C42, C50330 µF,35 V
±20%
Ceramic capacitorany
142C32, C35100 nF 100 V
±10% X7R
Electrolytic capacitorRubycon35ZLH330MEFC10X12.5
152C33, C3427 pF 50 V
±5% C0G
Ceramic capacitorany
161C364.7 nF 16 V
±10% X7R
Ceramic capacitorany
172C37, C60100 pF 16 V
±10% X7R
Ceramic capacitorany
186C38, C39, C47470 nF 25 V
±10% X7R
Ceramic capacitorany
193C40, C49, C5410 nF 100 V
±10% X7R
Ceramic capacitorany
203C41, C51, C5810 µF 25 V
±10% X7R
Ceramic capacitoranyGRM21BR61E106KA73L
211C4510 µF 25 V
±10% X7R
Ceramic capacitorMurataLTST-C193KRKT-5A
221D1Red LEDLite-onLTST-C193KGKT-5A
231D2Red LEDLite-on
241D340 V 1 ALow drop power
Schottky diode
STSTPS1L40M
253D4, D8, D1160V/0.5APower Schottky
diode
STSTPS0560Z
261D5TransSTSMBJ26A-TR
277D6, D7, D9, D10
D12, D13, D14
30V, 0.3ASchottky diodeSTBAT30KFILM
282J1, J2CAN, UART: 4 WAYS
STRIP LINE – MALE
1.27mm
any
291J3PWM INPUT: 3 way
wires welding
any
301J4SWD: 4-way strip line
– male 2.54mm
312J5, J6CON1 – Input power
connector: 1-way
wire welding
321J7Motor Connector: 3way wire welding
331L133 µH 0.5 APower inductorCoilcraftLPS4018-333MRB
346Q1, Q2, Q3
Q4, Q5, Q6
30 V, 160 A
40 V, 160 A
Power MOSFETsSTSTL160NS3LLH7
STL160N4F7
356R1, R5, R28
R39, R41, R48
0 62.5 mW
±5%
SMD resistorany
361R2120 62.5 mW
±5%
SMD resistorany
371R310 k 62.5 mW
±5% S
SMD resistorany
381R4220 62.5 mW
±5%
SMD resistorany
391R662.5 mW ±5%SMD resistorany
402R2 R2510 62.5 mW
±5%
SMD resistorany
411R933 K 62.5 mW
±5%
SMD resistorany
423R10, R11, R12680 62.5 mW
±5%
SMD resistorany
4315.9 K 62.5 mW
±5%
SMD resistorany
443R14, R15, R168.06 k 62.5
mW ±1%
SMD resistorPanasonicCRCW04028K06FKED
453R17, R19, R20787 62.5 mW
±1%
SMD resistorPanasonicERJ2RKF7870X
463R18, R21, R224 k 62.5 mW
±1%
SMD resistoranyERJ2RKF3401X
472R23, R24, R2513 k 62.5 mW
±1%
SMD resistorany
481R264.7 k 62.5 mW
±1%
SMD resistorany
491R654.7 k 62.5 mW
±5%
SMD resistorany
501R274.7 k 62.5 mW
±5%
SMD resistorany
516R2962 62.5 mW
±1%
SMD resistorany
521R30, R35, R40
R44, R49, R55
34.8 k 62.5
mW ±1%
SMD resistorany
531R3156 0.1 W ±5%SMD resistorany
556R32300 62.5 mW ±1%SMD resistorany
566R33, R37, R42
R45, R50, R59
8.2 k 62.5 mW ±1%SMD resistorany
573R34, R38, R43
R47, R51, R61
100 0.1 W ±5%SMD resistorany
583R36, R46, R5810 k 0.1 W ±5%SMD resistorany
591R52, R53, R544.02 k 62.5 mW ±1%SMD resistorany
601R56, R57, R60169 K 62.5 mW ±1%SMD resistorany
611R63NTC 10 K
±1%
NTC ThermistorTDKNTCG103JF103F
623R64, R66, R670.01 3 W ±1%10 mOhm shunt
resistor
Bourns
KOA Speer
CRA2512-FZ-R010ELF
TLR3APDTE10L0F50
631R6818 K 62.5 mW
±1%
SMD resistorany
641TP1, TP2, TP3, TP4 TP5, TP6, TP7, TP8 TP9, TP10, TP11 TP12, TP13, TP14 TP15SMD PAD 1
mm ±0%
Test pointany
651U1CAN transceiverTISN65HVD230D
661U232bit MCUSTSTM32F303CBT7
671U3, U4, U5Rail-to-rail input/
output 20 MHz GBP
operational amplifiers
STTSV991ILT
683U63 A step-down
switching regulator
STL7986TR
691U7, U10, U11High voltage high
and low-side driver
STL6398D
703U8Low drop voltage
regulator
ST LD39050PU33R
711U9Low drop voltage regulatorST LD1117S50TR
721X1Resonators 8 MhzMurataCSTCE8M00G55-R0

Revision history

Table 5. Document revision history

Date Version Changes
7-Apr-20171Initial release.
13-Nov- 20182Updated Introduction and Section 5 Bill of materials. Added references to STL160N4F7.
10-Nov-20213Updated Introduction, Section 1 Main features, and Section 3 Initializing and using the STEVALESC001V1 ESC
board.

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 acknowledgment. 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.
© 2021 STMicroelectronics – All rights reserved

References

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals