step---------> + ------------> PID --------> G(s) --------------->Scope
|- |
| |
|__________________________|
1) Set the controller to a P-only controller (by setting Ki = 0 and Kd = 0).
2) Start to give values to Kp until the closed loop system is at the verge of
instability (sustained oscillations are obtained). use Kp = 1.71
3) Determine from the figure the ultimate period (Tu)
4) With the ultimate gain and period determined at steps 2 and 3 compute the parameters of a PID controller using the ZN tuning rules.
use a simulation time > 30
hope it would be Helpfull!!
ALi
"dfgdg dfgdfg" <sak...@gmail.com> wrote in message <iekf3s$anc$1...@fred.mathworks.com>...