Software Design
Run/Stop Switch
(Port)
and ADC Measurement
Fault
(IRQ)
ucVoltageDCB
ucVoltageDCB
Fault Protection
PTB
PTB
Output Gate Signals
Clearing
6.1.1 Speed Command and ADC Measurement
Designer Reference Manual
46
Freescale Semiconductor, Inc.
Speed Pot
DC Bus Voltage
(ADC)
Speed Command
ucOmegaReq
ucOmegaReq
Acceleration Ramp
uiOmegaReqRamp
uiOmegaReqRamp
Figure 6-1. Algorithm Data Flow
The input parameters of the process - run/stop switch and speed
potentiometer are evaluated and the speed command, ucOmegaReq, is
Software Design
For More Information On This Product,
Go to: www.freescale.com
(ADC)
Hall Sensors A, B, C
uiOmegaActual
uiOmegaActual
Speed PI Controller
uiDutyCycleOut
uiDutyCycleOut
PWM Generation
PTB
PTB
Output Gate Signals
(Port)
Sensor Handler
ucSensorVector
ucSensorVector
Commutation
&
TCH0
TCH0
Generation
DRM046 — Rev 0
MOTOROLA