PID Tuning: The Ziegler Nichols Method Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • In this short tutorial I will take you through the two Ziegler-Nichols tuning methods. This will let you tune the derivative, proportional and integral gains on your P, PI or PID controller. Thankfully these methods are extremely simple to understand and implement.

ความคิดเห็น • 69

  • @5erTurbo
    @5erTurbo 9 ปีที่แล้ว +120

    Correct PID controller formula: Kp(1 + 1/(Ti*s) + Td*s)
    Ti and Td are time constants. K are gains. So therefore Ki gain is actually Kp/Ti and Kd gain is actually Kp*Td.

  • @laughy38247357075834
    @laughy38247357075834 ปีที่แล้ว +1

    Cant believe it took me so long to find this video. Thanks so much for this!

  • @kestans
    @kestans 3 ปีที่แล้ว +2

    for anyone else read old comments. it is first method always, you dont want actual equipment to be oscillating and go damage. In HMI say it is pump running at 20% and PLC pid controls analog output. In HMI force analog output to be in Manual mode, so it pid no longer control output, than change eg. from 20% to 25% and see historian for flow feedback data at exact time of setpoint been changed. Most cases dont use PID , use PI control but instead D term apply software first order lag filter for the feedback signal. increasing Kp makes faster response but increase overshoot, Increasing Ki reduces error and damps Kp oscillation but too much will come back to as if it was only Kp control but even with increased overshoot and increased oscillations. If output out of bounds of physical equipment capability do not integrate output(integral antiwindup), when output is within the range continue integrating.

  • @muhammadqaisarali
    @muhammadqaisarali 3 ปีที่แล้ว +5

    One thing please.
    The second method is used once the first is failed, and it fails whenever the plant response doesn't follow that S shape.(S shape will be there whenever there are no complex poles pair or zero at origion).
    In that case 2nd method will be used..

  • @Bangalibabu95
    @Bangalibabu95 5 ปีที่แล้ว +7

    When to use first method and also when to use second one?
    I mean how to differentiate that in the given question we are required to apply first method or second one?

  • @TrickyNekro
    @TrickyNekro 2 ปีที่แล้ว +1

    The second method should be easy to implement in an auto-tuning PID, apart from the 0.6 factor the others are easily divisible. Very nice and helpful video indeed! Thank you!

  • @PafLeRenard
    @PafLeRenard 2 ปีที่แล้ว +2

    Thank you for this quick presentation. There all we need.
    I think there is an error for the Kp value of the PID in the second method: this should be Kp = 0.6*K_crit and not Kp = 0.6*P_crit to be coherent with what is above (and with physical units)

  • @mohammedtaha92
    @mohammedtaha92 8 ปีที่แล้ว +16

    For the second method it should be 0.6*Kcrit and not 0.6*Pcrit in your table.

  • @Chub4Chevy
    @Chub4Chevy 8 ปีที่แล้ว +34

    I'm so lost

  • @alexjc3309
    @alexjc3309 7 ปีที่แล้ว +19

    very clear , easier to understand compare to professor's one hour lecture. lol

    • @jonathanhoftstrater8223
      @jonathanhoftstrater8223 4 ปีที่แล้ว +2

      You mean the lecture i gave you in semester was worthless .Then you join the faculty, schmuck

    • @jonathanhoftstrater8223
      @jonathanhoftstrater8223 4 ปีที่แล้ว

      Enlighten me Einstein

    • @jonathanhoftstrater8223
      @jonathanhoftstrater8223 4 ปีที่แล้ว +1

      You mean the lecture , i Provided to you on semestet was worthless .Then you scroundels join the faculty and show us your dumb skills

    • @breathtakingsamurai981
      @breathtakingsamurai981 3 ปีที่แล้ว +2

      @@jonathanhoftstrater8223
      wtf?

    • @nelsblair2667
      @nelsblair2667 2 ปีที่แล้ว

      Instructor usually also covers how to relate tI or tD to these. I suspect that the bottom left corner is based on kcrit or ku not pcrit

  • @tebogolegoabe5321
    @tebogolegoabe5321 8 หลายเดือนก่อน

    Thank you so much that was very useful!!!

  • @mortenlund1418
    @mortenlund1418 4 ปีที่แล้ว

    Thank you so much. What a nice and cool explanation which is understandable and straight to the point.

  • @EdgarPoe_Raven
    @EdgarPoe_Raven 7 ปีที่แล้ว

    Thank you very much for the upload and recording!

  • @nagashreeneha
    @nagashreeneha 5 ปีที่แล้ว +2

    How did you write that table? For P, Pi, PID?

  • @apoorv360
    @apoorv360 3 ปีที่แล้ว

    Very well explained

  • @fethilakhdari1078
    @fethilakhdari1078 3 ปีที่แล้ว

    I would like to suggest to define your response curve horizontal axis and vertical axis. The presentation will gain immensely in clarity.
    Is the horizontal axis a representation of time and the vertical axis that of PV? or what is it?

  • @champcv1
    @champcv1 2 ปีที่แล้ว +1

    @The Complete Guide to Everything
    . I have an estimator chart from my tutor which states for Method 2, PID, Kp is 0.6KCrit, not 0.6Pcrit as per video. Is this correct?

    • @nickybutch3
      @nickybutch3 2 ปีที่แล้ว

      was it? I have the same question

    • @champcv1
      @champcv1 2 ปีที่แล้ว

      @@nickybutch3 Well I used my tutors estimator chart and wasn't deducted marks. I have had no feed back from the video creator.

    • @ENTmath_
      @ENTmath_ 2 ปีที่แล้ว

      @@champcv1 Mine is also Kcrit, not Pcrit. I think it's a simple typo by the author

  • @hashimkhan-pi9xe
    @hashimkhan-pi9xe 7 ปีที่แล้ว +2

    hello
    i have a question or you can say a statement about your first method. in your video at 0:35, you drew a feedback pid system and then you said that we need to apply a step input to the feedback system including the plant and pid controller with unity feedback. as far as i know, in this method we do not apply step input to the feedback system with pid controller in it because we have not decided the values of the 3 terms so far. the thing is we apply the step input to open loop plant without and controller and calculate what is called R and L. please correct me if i am wrong and vice versa

  • @kenmagalnik6596
    @kenmagalnik6596 4 ปีที่แล้ว

    In the first method, does the TC not depend on the size of the step taken? Should the size of the step be included in the calculations somewhere?

  • @ryanho7033
    @ryanho7033 ปีที่แล้ว

    What was the process behind filling in that table?

  • @demoinja3695
    @demoinja3695 8 ปีที่แล้ว +7

    i think in the first method that your table is wrong
    well not completely wrong but the values ain't for Ki and Kd
    those r for Ti and Td
    and to calculate Ki and Kd
    u should use the formulas
    Ki = Kp/Ti
    Kd = Kp*Td

  • @subashpanta5790
    @subashpanta5790 3 ปีที่แล้ว

    Is your formulas correct? Where is gradient (M)?

  • @JasonScottHamilton
    @JasonScottHamilton 7 ปีที่แล้ว

    What is pkrit in terms of? Number of readings taken between those two points?
    I assume the output of the formulas is on a scale of 0-100?

  • @CarlosReyes-vd6om
    @CarlosReyes-vd6om 8 ปีที่แล้ว

    Excelent video, thanks a lot

  • @MORAL1952
    @MORAL1952 4 ปีที่แล้ว

    how can I apply a step function to a ball, on an inclined axis, to use the ziegler-Nichols method?

  • @volkerblock
    @volkerblock 8 ปีที่แล้ว +5

    apply unit step: closed loop? or open loop? with controller? or the plant only? You did not say.

    • @ibrahimkayikci2146
      @ibrahimkayikci2146 8 ปีที่แล้ว

      +Volker Block everything included I guess.

    • @marcostoibero
      @marcostoibero 8 ปีที่แล้ว +6

      +Volker Block for the first method a unit step is applied over the plant only at open loop (i agree with you that this is not clear from the video)

    • @S-MKim
      @S-MKim 5 ปีที่แล้ว

      @@marcostoibero I think you are right. The first method is only applicable to some specific plants like a 1st order system with time delay.

  • @alsahhim3576
    @alsahhim3576 3 ปีที่แล้ว

    At 1:00 he says to apply a unit step, will a value of 1 suffice?

  • @parisarhs7789
    @parisarhs7789 4 ปีที่แล้ว

    How can we find L and T in question?

  • @AO-yw3gz
    @AO-yw3gz 7 ปีที่แล้ว

    do i need to memorize this table ? can u do an example ?

  • @ashishsethi9878
    @ashishsethi9878 9 ปีที่แล้ว +1

    how to find value of Pc ??

  • @aymenkouidermahmoud1466
    @aymenkouidermahmoud1466 5 ปีที่แล้ว

    no , we have to apply this method in open loop not in closed loop

  • @danuwisnuwardhana4173
    @danuwisnuwardhana4173 8 ปีที่แล้ว

    What is definition of L and T anyway?

  • @nouharouis7050
    @nouharouis7050 7 ปีที่แล้ว

    How can I implement the Ziegler Nichols Method in arduino ? (in order to obtain Kp, Ki and Kd) and thanks :)

  • @bhavyapandya2361
    @bhavyapandya2361 3 ปีที่แล้ว

    Hii
    Can you please give some references papers for the same...?

  • @oh_its_brad
    @oh_its_brad ปีที่แล้ว

    2:50 "rest of the f'ing owl"

  • @shapeletter
    @shapeletter 9 ปีที่แล้ว +2

    Hi! May I ask if those values are always the same in the table at 3:10 in the first method?

  • @klwjl4767
    @klwjl4767 6 ปีที่แล้ว

    Thanks!

  • @manoraja03
    @manoraja03 5 ปีที่แล้ว

    Différence between pcrit and kcrit ??

    • @coal2710
      @coal2710 5 ปีที่แล้ว +3

      P is for period. K is for gain.
      1. With Routh- Hurwitz stability criterion you find critical gain(Kcrit which is the maximum value of K).
      2. When K=Kcrit, s=0+ jw, so you put it into the characteristic equation to find w.
      3. From Pcrit= 2π/w you find Pcrit.
      4. Put them into Ziegler- Nichols equation to find Gc(s).

    • @melihdundar5712
      @melihdundar5712 4 ปีที่แล้ว

      @@coal2710 thanks bro, I was searching for these

  • @socratesocrate3172
    @socratesocrate3172 5 ปีที่แล้ว

    Thank you

  • @SamirIsiu
    @SamirIsiu 4 หลายเดือนก่อน

    Samuel

  • @danielemessina1979
    @danielemessina1979 6 ปีที่แล้ว +5

    please take this video down, it's wrong and it's misleading people researching the subject

    • @agastyavalisetty8620
      @agastyavalisetty8620 3 ปีที่แล้ว

      brothr can u help me i am very much confused on how to do wut with this pid thing

  • @volkerblock
    @volkerblock 8 ปีที่แล้ว

    ok

  • @Swan584
    @Swan584 3 ปีที่แล้ว

    I hate this confusing bullshit, my pid loop wont work

  • @gloriahambelela9345
    @gloriahambelela9345 ปีที่แล้ว

    It's not a rubbish drawing😂😂😊

  • @user-xm4wp1zw1u
    @user-xm4wp1zw1u ปีที่แล้ว

    يآلله🤍

  • @SamirIsiu
    @SamirIsiu 4 หลายเดือนก่อน

    SaMUEL

  • @dexterzhao1071
    @dexterzhao1071 5 ปีที่แล้ว

    remove the wrong video plz...

  • @thefootballislife5400
    @thefootballislife5400 8 หลายเดือนก่อน

    So bad explained 👎🏽

  • @KIMIRAIKKONE198N4
    @KIMIRAIKKONE198N4 3 ปีที่แล้ว

    This video is TOTALLY WRONG!

  • @SamirIsiu
    @SamirIsiu 4 หลายเดือนก่อน

    Samuel

  • @SamirIsiu
    @SamirIsiu 4 หลายเดือนก่อน

    SaMUEL