Simulink Control Design™ - MathWorks

(Tuis.) #1

The advantages of using FOC to control AC motors include:



  • Torque and flux controlled directly and separately

  • Accurate transient and steady-state management

  • Similar performance compared to DC motors


The Controller_Algorithm subsystem contains all three PI controllers. The outer-loop PI
controller regulates the speed of the motor. The two inner-loop PI controllers control the
d-axis and q-axis currents separately. The command from the outer loop PI controller
directly feeds to the q-axis to control torque. The command for the d-axis is zero for
PMSM because the rotor flux is fixed with a permanent magnet for this type of AC motor.


The existing speed PI controller has gains of P = 0.08655 and I = 0.1997. The current PI
controllers both have gains of P = 1 and I = 200.


The controller gains are stored in a Data Store Memory block and provided externally to
each PID block. When the tuning process for a controller is complete, the new tuned gains
are written to the Data Store Memory block. This configuration allows you to update your
controller gains in real-time during the simulation.


Tune Field-Oriented Controllers Using Closed-Loop PID Autotuner Block
Free download pdf