Software Design
State Diagram
DRM028 — Rev 0
Designer Reference Manual
MOTOROLA
Software Design
93
Figure 5-8. Stand-by State
Speed input and dc-bus voltage measurements
The dc-bus voltage is measured after the start switch is turned ON.
This prevents the measurement being disturbed by the power turn
ON. Where that dc-bus voltage is not within the limits, the control flow
enters into the fault state.
CURRENT IS HIGHER THAN LIMIT
ENTER
EXIT
START CONDITION TEST
FAULT STATE
SPEED INPUT
AND
DC-BUS VOLTAGE
MEASUREMENTS
ERROR IN HARDWARE
OVER VOLTAGE
OR
UNDER VOLTAGE
DONE
DONE
CURRENT MEASUREMENT
AND
CURRENT CALIBRATION
WHEN PWM IS OFF
START CONDITION
(START SWITCH CHANGED
FROM STOP TO START OR
START AND PC MODE AND START CTRL)
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
.
..