I am designing a PID controller for a rudimentary elevator system
The elevator has to take more than 5s to arrive at the next floor but no more than 6s
The transfer function is as follows:
G = tf(num, den)
G =
1
------------------------
1019 s^2 + 100 s + 19875
Continuous-time transfer function.
Using the PID function
GC = (Kp*s + Ki + Kd*s^2)/s
The close loop function is found to be:
T = (Kp*s + Ki + Kd*s^2)/(M*s^3 + B*s^2 + K*s + Kp*s + Ki + Kd*s^2)
Comparing this with the ITAE ideal tranfer function for a third order system yields the following equations
ITAE_tf3 = vpa(Wn^3/(s^3 + (Wn)*s^2 + (Wn^2)*s + Wn^3))
Kp = (2.15)*(M)*(Wn^2)-(K)
However the large Kp value drives the system downwards when it should be going up and the large integrator value also causes some issues
Changing zeta and ts gives me a results that is almost what I need
Zeta = (-log(overshoot))/sqrt(pi^2+(log(overshoot)^2));
But of course the Ts value is too high.
Any help would be greatly appreciated