ctrlIniValues.currentQIC = 0.1;
ctrlIniValues.speedIC = 150;
ctrlIniValues.speedCurrent = 0.122;
pmsm.RotorVelocityInit = 150;
Add linear analysis points to the model for frequency response estimation. Add open-loop
input points to VD and VQ. Add open-loop output points to ID, IQ, and speed. In addition,
add a loop break analysis point to the speed measurement.
io = getlinio(mdl);
Tune Field-Oriented Controllers Using SYSTUNE