Next in the Linear Analysis tool, set the simulation snapshot at 0.4 seconds, which is
enough time for the plant to attain steady state.
Create a sinestream input with 30 logarithmic frequencies sweeping from 10Hz to 5kHz.
Set the amplitude of all these frequencies to 0.1, which is 10% of the steady-state input
from the PI controller.
With these values set, calculate the estimated frequency response estsys2.
7 PID Controller Tuning