In this step, you perform gain tuning for d-axis and q-axis current controller manually.
This step is optional and helps you to tune the control gain parameters for current
controller. Provide step change for Id_ref
and analyze the current
controller performance from step response of Id_meas
. Repeat the same
with Iq_ref
for tuning the q-axis current controller. In the plant
model, lock the rotor to ensure motor is not spinning when step change is given for
Id_ref
or Iq_ref
. In the Surface Mount PMSM
block mask, select Speed
for Mechanical input
configuration. Provide speed input as 0 and this ensures that the rotor
is locked.
This simulation model allows manual gain tuning for current controller. Give a step
input to Iq_ref
in the range (0 to 0.2) PU and observe the measured
feedback. Adjust control parameters of current controller to meet the control
objectives.
Run simulation and plot the Iq_ref_PU
and
Iq_meas_PU
and analyze the step response. This simulation model
allows to tune the control parameters for q-axis controller to meet the control objectives.
Adjust the control parameters to meet the control objective. You can follow the same method for tuning the d-axis current controller.