Motorola M68HC08 User Manual
Page 75
![background image](/manuals/121392/75/background.png)
DRM028 — Rev 0
Designer Reference Manual
MOTOROLA
Software Design
75
Designer Reference Manual — Sensorless BLDC Motor Control
Section 5. Software Design
5.1 Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Data Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Main Software Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
State Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Implementation Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
5.2 Introduction
This section describes the design of the software blocks of the drive. The
software will be described in terms of:
•
•
•
For more information on the control technique used see
5.3 Data Flow
The control algorithm obtains values from the user interface and
sensors, processes them and generates 3-phase PWM signals for motor
control, as can be seen on the data flow analysis shown in
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..