Plot the bode response for.
bodeplot(Li);
The magnitude plot for all the models varies in the 3-dB range. The phase plot shows the
most variation, approximately 20°, in the [1 10] rad/s interval.
Vary Outer-Loop Controller Gains
For outer-loop analysis, vary the gains of the outer-loop PI controller block, C1. Vary the
proportional gain (Kp1) and integral gain (Ki1) in the 20% range.
Kp1_range = linspace(Kp1*0.8,Kp1*1.2,6);
Ki1_range = linspace(Ki1*0.8,Ki1*1.2,4);
3 Batch Linearization