AN1931D Freescale Semiconductor / Motorola, AN1931D Datasheet - Page 43

no-image

AN1931D

Manufacturer Part Number
AN1931D
Description
3-Phase PM Synchronous Motor Vector Control
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
MOTOROLA
Fault Control: Begin Fault
Fault Control: faults cleared
switchState = Stop &
After reset, the DSP Initialization state is entered. The peripherals and variables are initialized in this
state, and the application operating mode appOpMode is set to Manual Control.
When the state is finished, the Application Control Init state follows. As shown in
appState = APP_INIT; all subprocesses requiring initialization are proceeding; pcb identification is
provided; the PWM is disabled; and so no voltage is applied on motor phases. If the
appPcmCtrlStatus.RequestCtrl flag is set from PC master software, the application operating mode
appOpMode is toggled and the application operating mode can only be changed in this state. If the
switchState = Stop, the Application Control enters the Stop state.
The switchState is set according to the manual switch on the EVM or PC master software register
AppPcmCtrlStatus.StartStopCtrl, depending on the application operating mode.
In the Stop state, appState = APP_STOP and the PWM is disabled, so no voltage is applied on motor
phases. When switchState = Run, the Begin Run state is processed. If there is a request to change
application operating mode, appPcmCtrlStatus.RequestCtrl = 1, the application Init is entered and the
application operating mode request can only be accepted in the Init or Stop state by transition to the
Init state.
In the Begin Run state, all the processes provide settings to the Run state.
Application Control:
done
clear pmsmCtrlStatus.AlignFlag
clear pmsmCtrlStatus.RunFlag
set appState = APP_FAULT
Fault
Application Control:
Fault Begin
Figure 6-9. State Diagram - Application Control
Freescale Semiconductor, Inc.
Fault Control:
Begin Fault
3-Phase PM Synchronous Motor Vector Control
For More Information On This Product,
Init Fault Control (pcb identification)
Go to: www.freescale.com
set appState = APP_STOP
Initializations proceeding
Application Control:
appState = APP_STOP
appState = APP_INIT
Application Control:
Application Control:
appPcmCtrlStatus.
RequestCtrl = 1
set appOpMode
Initialization
Begin Stop
Reset
DSP
Stop
Init
switchState = Stop
done
done
switchState = Stop &
initializations finished
set appState = APP_RUN
switchState = Run
Application Control:
appState = APP_RUN
Application Control:
Begin Run
Run
Software Design
done
Figure 6-9
43
,

Related parts for AN1931D