AN1931D Freescale Semiconductor / Motorola, AN1931D Datasheet - Page 44

no-image

AN1931D

Manufacturer Part Number
AN1931D
Description
3-Phase PM Synchronous Motor Vector Control
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Software Design
6.3.3 PMSM Control State Diagram
44
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 and fault is detected during the Begin Fault state, which is a subprocess of Fault control, the Begin
Fault state is entered. It sets appState = APP_FAULT; the PWM is disabled; and 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.
A state diagram of the Commutation Control process is illustrated in
When Application Control initializes, the PMSM Control subprocess initialization state is entered. The
AlignInitDoneFlag is cleared, which means that alignment can proceed. The next PMSM Control state
is Begin Stop or Fault. RunFlag and AlignFlag are cleared and the Stop or Fault state is entered. When
Application Control: Begin Run, the PMSM Control subprocess enters the Begin Alignment or Begin
Run state, depending on whether or not the alignment initialization has already proceeded (flagged by
AlignInitDoneFlag). The alignment state is necessary for setting the zero position of position sensing;
see
alignment is provided by setting desired current for d_axis to
Begin Stop or Fault
Application Control: Init
clear AlignInitDoneFlag
PMSM Control:
clear AlignFlag
clear RunFlag
Section
PMSM Control:
Initialization
4.3.1.3. In the state Begin Alignment, the Alignment current and duration are set; the
done
done
Application Control: Begin Stop/Fault
PMSM Control:
Figure 6-10. State Diagram - PMSM Control
Freescale Semiconductor, Inc.
PMSM Control:
3-Phase PM Synchronous Motor Vector Control
Stop or Fault
For More Information On This Product,
Run
Begin Running
AlignInitDoneFlag = 1
Go to: www.freescale.com
Application Control: Begin Running
pmsmCtrlStatus.AlignInitDoneFlag = No
done
PMSM Control:
set RunFlag
Begin Run
set Alignment timeout
set Alignment current
i_Sd_Alignment
done
Begin Alignment
PMSM Control:
set AlignFlag
Figure
PMSM Control:
timeout search
Current ramp
set AlignInitDoneFlag
6-10.
Alignment
Alignment Timeout
Set Zero Position
PMSM Control:
End Alignment
clear AlignFlag
and q_axis to 0. The
done
MOTOROLA

Related parts for AN1931D