Download 3-Phase PM Synchronous Motor Vector Control Using

Transcript
Software Design
In the Stop state:
•
•
appState = APP_STOP
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.
In the Run state:
•
•
•
The PWM is enabled, so voltage is applied on motor phases
The motor is running according to the state of all subprocesses
If switchState = Stop, the Stop state is entered.
If a fault is detected, the Begin Fault state is entered, which is a subprocess of Fault control.
•
•
•
It sets appState = APP_FAULT
The PWM is disabled
The subprocess PMSM Control is set to Stop
The Fault state can only move onto the Init state when switchState = Stop, and the Fault Control subprocess
has successfully cleared all faults.
6.3.3 PMSM Control State Diagram
A state diagram of the PMSM Control process is illustrated in Figure 6-10.
3-Phase PMSM Motor Vector Control, Rev. 3
48
Freescale Semiconductor
Preliminary