⚡️ Tuning a PID Controller Using the Ziegler-Nichols Method | MATLAB code available

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024
  • Reference article:
    www.researchga...
    MATLAB CODE
    ********************************************************************
    Tuning a PID Controller Using the Ziegler-Nichols Method | MATLAB code available
    s=tf('s');
    sys=1/(s^2+20*s+100)
    figure
    step(sys)
    %---values obtained from step response of sys--%
    K=0.01;
    L=0.025;
    T=0.3-L;
    a=K*L/T;
    Ti=2*L;
    Td=L/2;
    Kp=1.2/a;
    Ki=Kp/Ti;
    Kd=Kp*Td;
    cont=pid(Kp,Ki,Kd)
    figure
    step(feedback(cont*sys,1))

Комментарии • 21

  • @sahilyo4
    @sahilyo4 Год назад +2

    I was strugling to start with the PID using matlab. But this helped a lot

  • @sciencecomplex6605
    @sciencecomplex6605 3 года назад +1

    The funny thing is that when I try to optimize the PID parameters using the Meta-Tuner software for the transfer function shown in your video , it gives me the following optimal parameters:
    Kp = 100000
    Ki = 100000
    Kd = 100000
    for a simulation time of 0.9 seconds
    The error is so so small with no over/undershooting .. You can check this controller setting and compare it with that of the Ziegler-Nichols method :)

  • @SriRam-nf4ce
    @SriRam-nf4ce Год назад +1

    Thank you.

  • @laloquera5066
    @laloquera5066 3 года назад

    Thank you very much for the Video!!

  • @timothycleytusgultom2
    @timothycleytusgultom2 2 года назад

    thanks for the video

  • @pawan8391
    @pawan8391 3 года назад

    Thank u soo much sir

  • @vinuyajohn719
    @vinuyajohn719 2 года назад

    Dang thanks

  • @najahzahira9518
    @najahzahira9518 2 года назад

    Hi! Can I use Ziegler-Nichols Method via Matlab Simulink?

  • @user-yb2hq3km7h
    @user-yb2hq3km7h 3 года назад +1

    very nice! but in the end the steady state value is way different in the begining it's 0.01 and then becomes one, why is that, how can we fix it?

    • @100MillionThoughts
      @100MillionThoughts  3 года назад +2

      For a step input desired steady state response should be close to one with 2% tolerance band.

    • @utilizator1701
      @utilizator1701 2 года назад

      Because it has been implemented a regulator with an integrative component. The integrative component makes the steady state value equal to 1 if the input is a step.

  • @engr.omitdebnath
    @engr.omitdebnath 4 года назад +3

    Plz send the link of your reference paper to me.

    • @100MillionThoughts
      @100MillionThoughts  4 года назад

      Use the below-given link to download the reference paper
      www.researchgate.net/profile/Marizan_Sulaiman/publication/311588630_GUI_Based_Control_System_Analysis_Using_PID_Controller_for_Education/links/584fbf7508ae4bc8993b3366/GUI-Based-Control-System-Analysis-Using-PID-Controller-for-Education.pdf

  • @torresautobotsoldier
    @torresautobotsoldier 2 года назад

    so how do you find Ti Td?

  • @soumiahafsa1444
    @soumiahafsa1444 3 года назад

    Svp
    Comment trouver le gain ???

    • @100MillionThoughts
      @100MillionThoughts  3 года назад

      s'il vous plaît regarder la vidéo complète, tout est clairement expliqué

    • @100MillionThoughts
      @100MillionThoughts  3 года назад

      une autre vidéo similaire que vous pouvez trouver dans la playlist

  • @pnachtwey
    @pnachtwey 9 месяцев назад

    Thumbs down. First ZN is an inferior method for tuning a system. Second, you make it easy by choosing an easy plat with two real poles at -10 and no dead time.