AN1917D Freescale Semiconductor / Motorola, AN1917D Datasheet - Page 14
AN1917D
Manufacturer Part Number
AN1917D
Description
3-Phase PM Synchronous Motor Control with Quadrature Encoder Using DSP56F80x
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN1917D.pdf
(24 pages)
14
Software Design
5.
5.1 Data Flow
by BUTTONS
omega_required_mech
omega_desired_mech
SETTING
This section describes the design of the software blocks of the drive. The software will be described in
terms of:
The control algorithm of a close loop PM Synchronous drive is described in
individual processes are described in the following sections.
SPEED
•
•
Software Design
Control Algorithm Data Flow
Software Implementation
Speed Controller
(PI Controller)
Software Block
Hardware Block
Amplitude
Process
SCI
3-Phase PMSM Control with Quadrature Encoder
Freescale Semiconductor, Inc.
For More Information On This Product,
Figure 5-1. Main Data Flow
Go to: www.freescale.com
omega_actual_mech
MeasuredTime
SCI
Calculation
PWM GENERATION
Measuring
Velocity
3-Phase Sinewave
Period
Generation
Communication
DirectionSpinning
(Quadrature Decoder)
POSITION SENSOR
Read Latest
Position
DC-Bus Voltage
(A/D Converter)
Figure
RotorPosition
u_dc_bus
MOTOROLA
5-1. The