Table Of ContentFreescale Semiconductor, Inc.
3-phase BLDC
.
.
.
c Motor Control
n
with Sensorless
I
,
r Back-EMF
o
t
ADC Zero Crossing
c
u
Detection
d
n
Using 56F805
o
c 56800
i
m Designer Reference
e Hybrid Controller Manual
S
e
l
a DRM026/D
c Rev. 0, 03/2003
s
e
e
r
F
MOTOROLA.COM/SEMICONDUCTORS
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
.
.
.
c
n
I
,
r
o
t
c
u
d
n
o
c
i
m
e
S
e
l
a
c
s
e
e
r
F
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
3-phase BLDC Motor
Control with Sensorless
.
.
.
c Back-EMF ADC Zero
n
I
, Crossing Detection Using
r
o
t
c the 56F805
u
d
n Designer Reference Manual — Rev 0
o
c
i
m
e
S
e
l
a by: Libor Prokop
c Motorola Czech System Laboratories
s
e Roznov pod Radhostem, Czech Republic
e
r
F
DRM026 — Rev 0 Designer Reference Manual
MOTOROLA 3
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Revision history
To provide the most up-to-date information, the revision of our
documents on the World Wide Web will be the most current. Your printed
copy may be an earlier revision. To verify you have the latest information
available, refer to:
http://www.motorola.com/semiconductors
The following revision history table summarizes changes contained in
this document. For your convenience, the page number designators
have been linked to the appropriate location.
.
. Revision history
.
c
n Revision Page
Date Description
I Level Number(s)
,
r February,
o 1 Initial release N/A
2003
t
c
u
d
n
o
c
i
m
e
S
e
l
a
c
s
e
e
r
F
Designer Reference Manual DRM026 — Rev 0
4 MOTOROLA
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Designer Reference Manual — 3-ph BLDC with Sensorless ADC ZC Detection
List of Sections
Section 1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . .15
Section 2. System Description. . . . . . . . . . . . . . . . . . . . .17
.
. Section 3. BLDC Motor Control . . . . . . . . . . . . . . . . . . . .23
.
c
n Section 4. Hardware Design. . . . . . . . . . . . . . . . . . . . . . .57
I
, Section 5. Software Design . . . . . . . . . . . . . . . . . . . . . . .79
r
o
t Section 6. Software Algorithms. . . . . . . . . . . . . . . . . . .103
c
u
Section 7. Customization Guide . . . . . . . . . . . . . . . . . .157
d
n
Section 8. Application Setup . . . . . . . . . . . . . . . . . . . . .169
o
c
Appendix A. References. . . . . . . . . . . . . . . . . . . . . . . . .185
i
m
e Appendix B. Glossary. . . . . . . . . . . . . . . . . . . . . . . . . . .187
S
e
l
a
c
s
e
e
r
F
DRM026 — Rev 0 Designer Reference Manual
MOTOROLA 5
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
List of Sections
.
.
.
c
n
I
,
r
o
t
c
u
d
n
o
c
i
m
e
S
e
l
a
c
s
e
e
r
F
Designer Reference Manual DRM026 — Rev 0
6 MOTOROLA
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Designer Reference Manual — 3-ph BLDC with Sensorless ADC ZC Detection
Table of Contents
Section 1. Introduction
1.1 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
.
. 1.2 Application Functionality. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
.
c
n 1.3 Benefits of the Solution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
I
,
r Section 2. System Description
o
t
2.1 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
c
u
2.2 System Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
d
n
o 2.3 System Concept. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
c
i
m Section 3. BLDC Motor Control
e
3.1 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
S
e 3.2 Brushless DC Motor Control Theory. . . . . . . . . . . . . . . . . . . . .23
l
a 3.3 Control Technique . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
c
s
e Section 4. Hardware Design
e
r
4.1 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
F
4.2 System Configuration and Documentation. . . . . . . . . . . . . . . .57
4.3 All HW Sets Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
4.4 Low-Voltage Evaluation Motor Hardware Set Components. . .68
4.5 Low-Voltage Hardware Set Components. . . . . . . . . . . . . . . . .70
4.6 High-Voltage Hardware Set Components. . . . . . . . . . . . . . . . .73
DRM026 — Rev 0 Designer Reference Manual
MOTOROLA 7
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Table of Contents
Section 5. Software Design
5.1 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
5.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
5.3 Main SW Flow Chart. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
5.4 Data Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
5.5 State Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
. Section 6. Software Algorithms
.
.
c
6.1 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
n
I
6.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
,
r
o
6.3 BLDC Motor Commutation with Zero Crossing Sensing. . . . .103
t
c
u
Section 7. Customization Guide
d
n
7.1 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .157
o
c
7.2 Application Suitability Guide. . . . . . . . . . . . . . . . . . . . . . . . . .157
i
m
7.3 Setting of SW Parameters for Customer Motor . . . . . . . . . . .159
e
S
e Section 8. Application Setup
l
a 8.1 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .169
c
s 8.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .169
e
e 8.3 Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .169
r
F
8.4 Application Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .170
8.5 Application Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .171
8.6 Application Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .175
8.7 Projects Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .180
8.8 Application Build & Execute . . . . . . . . . . . . . . . . . . . . . . . . . .182
Appendix A. References
Designer Reference Manual DRM026 — Rev 0
8 MOTOROLA
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Appendix B. Glossary
.
.
.
c
n
I
,
r
o
t
c
u
d
n
o
c
i
m
e
S
e
l
a
c
s
e
e
r
F
DRM026 — Rev 0 Designer Reference Manual
MOTOROLA 9
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Table of Contents
.
.
.
c
n
I
,
r
o
t
c
u
d
n
o
c
i
m
e
S
e
l
a
c
s
e
e
r
F
Designer Reference Manual DRM026 — Rev 0
10 MOTOROLA
For More Information On This Product,
Go to: www.freescale.com
Description:Detection. ADC Zero Crossing. Back-EMF. Manual. Designer Reference MOTOROLA. To provide the most up-to-date information, the revision of our.