sensorless ESC theory

Freescale Semiconductor
Application Note
AN1913
Rev. 3, 11/2005
© Freescale Semiconductor, Inc., 2001, 2005. All rights reserved.
3-phase BLDC Motor
Control with Sensorless
Back-EMF ADC Zero
Crossing Detection using
56F80x
Design of Motor Control Application Based on the
Software Development Kit SDK
Libor Prokop,
Leos Chalupa
1. Introduction
This Application Note describes the design of a 3-phase
sensorless BLDC motor drive with Back-EMF Zero Crossing
using an AD converter. It is based on Freescale’s 56F80x family
dedicated for motor control applications.
The concept of the application is that of a speed-closed loop drive
using an AD converter for Back-EMF Zero Crossing technique
position detection. It serves as an example of a sensorless BLDC
motor control system using Freescale’s Digital Signal Processor
(DSC) with SDK support. It also illustrates the usage of dedicated
motor control on chip peripherals, software drivers and software
libraries that are included in the SDK.
This Application Note includes a description of the controller’s
features, basic BLDC motor theory, system design concept,
hardware implementation and software design including the PC
master software visualization tool inclusion.
2. DSC Advantages and Features
Freescale’s 56F80x family are well suited for digital motor
control, combining the DSP’s calculation capability with the
MCU’s controller features on a single chip. These devices offer
Contents
1. Introduction .............................................1
2. DSC Advantages and Features ...............1
3. Target Motor Theory ..............................3
3.1 BLDC MotorTargeted by This
Application ........................................... 3
3.2 3-Phase BLDC Power Stage ................ 6
3.3 Why Sensorless Control?..................... 6
3.4 Power Stage - Motor System Model ... 7
3.5 Back-EMF Sensing ............................ 10
4. System Design Concept ........................11
4.1 System Specification.......................... 11
4.2 Sensorless Drive Concept ..................13
5. Control Technique ................................15
5.1 Control Technique - General Overview15
5.2 PWM Voltage Generation for BLDC 15
5.3 Back-EMF Zero Crossing sensing ..... 17
5.4 Sensorless Commutation Control ......19
5.5 Speed Control..................................... 29
6. Hardware ...............................................29
6.1 System Outline................................... 29
6.2 Low Voltage Evaluation Motor
Hardware Set ...................................... 29
6.3 Low Voltage hardware set ................. 31
6.4 High Voltage Hardware Set ...............32
7. Software Design ....................................33
7.1 Main Software Flow Chart................. 33
7.2 Data Flow........................................... 36
7.3 State Diagram.....................................40
8. PC Master Software ..............................50
9. DSC Usage ............................................51
10. Setting of Software Parameters for
Other Motors ...................................51
10.1 Current and Voltage Settings ............. 52
10.2 Commutation Control Settings .......... 53
10.3 Speed setting ...................................... 55
11. References ...........................................56
11.1 Software Development Kit,
SDK rev.2.3 ........................................ 56
11.2 User’s Manuals and Application
Notes................................................... 57

Summary of content (60 pages)