Introduction to PID Control

Поділитися
Вставка
  • Опубліковано 27 чер 2024
  • In this video we introduce the concept of proportional, integral, derivative (PID) control. PID controllers are perhaps the most popular and widely used control scheme in history. While they are relatively simple, they are surprisingly robust and provide excellent performance in most situations. This video introduces the core concepts in PID controller and sets the stage for various future videos where we will discuss their nuances and details in greater depth.
    Topics and timestamps:
    0:00 - Introduction
    9:04 - Proportional control
    15:03 - Integral control
    24:49 - Derivative control
    30:41 - Physical demonstration of PID control
    44:16 - Conclusions
    All Control Theory videos in a single playlist ( • Control Theory )
    #Control #ControlTheory
    You can support this channel via Patreon at / christopherwlum or by clicking on the ‘Thanks’ button underneath the video. Thank you for your help!

КОМЕНТАРІ • 66

  • @ChristopherLum
    @ChristopherLum  Рік тому +9

    In case it is helpful, here are all my Control Theory videos in a single playlist ua-cam.com/play/PLxdnSsBqCrrF9KOQRB9ByfB0EUMwnLO9o.html. Please let me know what you think in the comments. You can support this channel via Patreon at www.patreon.com/christopherwlum or by clicking on the 'Thanks' button underneath the video. Thanks for watching!

  • @NormaNsNs
    @NormaNsNs 2 місяці тому +3

    Professors like you, that share to the world their knowledge. Are really a rare Gem.

  • @jamesmiller889
    @jamesmiller889 Рік тому +14

    As a retired ME professor, this video took me back to when I taught the PID course at the university. Thanks so much for the memory

    • @ChristopherLum
      @ChristopherLum  Рік тому +2

      Hi James, thanks for the kind words. I have a more similar videos at ua-cam.com/play/PLxdnSsBqCrrF9KOQRB9ByfB0EUMwnLO9o.html . Please feel free to check them out, I'd love to hear your thoughts as an academic. Thanks for watching!

  • @thaimeuu
    @thaimeuu 2 місяці тому +1

    This is how everything should be taught. Your lesson is surely more valuable than the whole control theory course at my university 🤣. Universities should be UA-camrized in my opinion.

  • @benang5511
    @benang5511 5 місяців тому +3

    Hi Dr. Lum. As an first-year student who is learning about PID control, I would say that your videos about PID are really helpful for me. Thank you so much.

  • @zesegatto
    @zesegatto 4 місяці тому +2

    Thank you very much for this explanation. I'm not a math person so I could finally got this.
    But, as a beekeeper, I lose all after the honey waste... I'll watch again.
    Thanks from Brazil!

  • @ahungryflyer
    @ahungryflyer Рік тому +6

    AE511: I find it interesting how complementary the three components are. The "past, present, and future" analogy was very helpful.

  • @timproby7624
    @timproby7624 Рік тому +3

    [AE 511] 24:26
    The breakdown of the PID controller is great. Especially the paradox explanation of the integration component.

  • @user-wx4jj8yu6u
    @user-wx4jj8yu6u Рік тому +1

    AE 511: Loved the demo! I've always had to google the impacts of each component of a PID controller, but now I'll forever remember! :)

  • @user-mt3ee7wb7s
    @user-mt3ee7wb7s 10 місяців тому

    Thank you soo much sir for the physical demonstration. The demo has all my heart ❤️❤️

  • @ezragolombek
    @ezragolombek 7 місяців тому

    What an amazing video. Well explained, and managed at answer all my questions i had previously about pids.

  • @juanalfonsopenaquiroga3695
    @juanalfonsopenaquiroga3695 2 місяці тому

    Beautiful video, finally i can understand the base of the pid control, keep making videos about this!!!

  • @MichaelHoyt-MulticraftTech
    @MichaelHoyt-MulticraftTech 3 місяці тому

    Thank you for breaking it down into understandable chunks. sometimes it's hard to understand abstract ideas without a visual representation! I'm a visual learner so your visual example really helped me understand and gave me that ah ha moment! great stuff. This will really help me further my career as a Multicraft technician.

  • @vnagamohankrishnap1596
    @vnagamohankrishnap1596 Рік тому

    Great efforts, Mr Lum. Keep Going.

  • @Glaciace
    @Glaciace Рік тому +2

    Yay! Control theory!

  • @zaneyosif
    @zaneyosif Рік тому +4

    AE511: 47:07
    It was great to see the comprehensive table of what manipulating Kp/KI/Kd gains will do for the overall system performance gains. When we briefly went over this in undergrad, my limited exposure was trial and error but this was useful in actually making targeted estimations (by hand, obviously there are tools like PID tuner that help out with this)

    • @ChristopherLum
      @ChristopherLum  Рік тому +2

      That being said, never discount the power of guess and check 🙂

  • @davenandrew7292
    @davenandrew7292 Місяць тому

    Thank you Sir. Your video is Gold. Keep blessing the humanity with what you got🙏

  • @alexjimenez6020
    @alexjimenez6020 Рік тому

    Amazing explanation!!

  • @kirubakaran2312
    @kirubakaran2312 6 місяців тому

    Perfectly explained

  • @muhammedalfatah
    @muhammedalfatah 7 місяців тому

    Well done sir!
    I love the way u present the idea very straightforward and short informative.
    I hope u the best!

  • @bouipozz
    @bouipozz 2 місяці тому

    Excellent lecture thanks!

  • @souravrakshitiitm6003
    @souravrakshitiitm6003 7 місяців тому

    great physical demo of PID

  • @GabrielDemetriusSilva
    @GabrielDemetriusSilva Рік тому +1

    Not all heroes wear capes. I've already graduated. But still love to watch all those videos

  • @HankHill1
    @HankHill1 Рік тому +1

    Hey bud - watching your vids because you helped me with my fridge lol. Good luck with your videos!

  • @avishkadilshan1713
    @avishkadilshan1713 7 місяців тому

    It was very useful. Thank you!

  • @jameserayburn
    @jameserayburn 10 місяців тому

    Outstanding! Thanks for sharing.

    • @ChristopherLum
      @ChristopherLum  9 місяців тому

      Hi,
      Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. I can also answer any questions, provide code, notes, downloads, etc. on Patreon. Thanks for watching!
      -Chris

  • @SMV1972
    @SMV1972 9 місяців тому

    Отличный урок! Спасибо огромное

  • @profmdazizulhuq7379
    @profmdazizulhuq7379 3 місяці тому

    Helpful explanation. Respect to you for your contribution to academaic environment. Prof aziz

  • @FinCrow84
    @FinCrow84 4 місяці тому

    Thank you Wery much!
    Tomorrow I have the final exam related to PID adjustments and I have been studying the subject for a really long time now.
    I understand the P and I and D controls separately, but it was the combination of these that seemed very challenging to figure out in practice.
    This video put the rest of the pieces in place and it's completely self-evident to me now!
    Thank you!

    • @ChristopherLum
      @ChristopherLum  4 місяці тому

      Hi,
      Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. I can also answer any questions, provide code, notes, downloads, etc. on Patreon. Thanks for watching!
      -Chris

  • @aamirali7454
    @aamirali7454 Рік тому

    Great Explaination ever

  • @rajdeepdas86
    @rajdeepdas86 7 місяців тому

    Too good explanation sir

  • @helium3137
    @helium3137 8 місяців тому

    This video is amazing thank you so much

  • @anelemngini4668
    @anelemngini4668 Місяць тому

    Very informative and clear, it will be hard to forget what PID is

  • @sethl9035
    @sethl9035 8 місяців тому

    This lecture is so good.

    • @ChristopherLum
      @ChristopherLum  8 місяців тому +1

      Hi,
      Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. I can also answer any questions, provide code, notes, downloads, etc. on Patreon. Thanks for watching!
      -Chris

  • @jensdavidsen4557
    @jensdavidsen4557 2 місяці тому +1

    Excellent demonstration - I knew functionally nothing about PID controllers but need to have some understanding not only for work but also for home (wanting to use PID for a home built coffee roaster). Honestly...I would've used oil - e.g. mineral oil instead of honey...much less messy but point taken LOL

  • @markbrouk7857
    @markbrouk7857 5 місяців тому

    subscribed, good stuff here.

  • @435iak
    @435iak Рік тому +1

    Hi Dr. Lum! I love your videos, have you ever considered lecturing a course in Estimation and Tracking with applications in Aerospace Engineering? Topics could include Kalman Filtering, GNC, state estimation, etc. Would love to watch lectures from you on that topic!

  • @Gholdoian
    @Gholdoian Рік тому +1

    AE 511 - Thought this was a very good intro to PID controllers

  • @user-xp3kk8og6p
    @user-xp3kk8og6p 7 місяців тому

    thank you so much

  • @nathanlipshutz3140
    @nathanlipshutz3140 Рік тому

    AE511: It's interesting how there is a physical example for both proportional and derivative, but not an obvious one for integral.

  • @aloksahu1783
    @aloksahu1783 Рік тому

    Which book to follow along with your lecture on control theory .

  • @anunez20
    @anunez20 Рік тому

    In your analysis, the error signal starts out as a step signal and then decays. In the derivative case, when the error goes from zero to some value, ud(t) is large and positive, but when the error decays, ud(t) should be negative because the slope of the error signal is negative therefore the derivative is negative ...

  • @jamilahmad73
    @jamilahmad73 8 місяців тому

    The arrows in the stability columns should be in upward directions as the stability increases (more stable) in the table at the end of lecture?

  • @rockydm4266
    @rockydm4266 5 місяців тому

    Dear Professor i think the spike of the derivative part has the sign inverted respect to the rest of the deirivative part because the sign of the derived step error is a positive delta instead the derived after the step goes to zero and then goes to negative values ....so changing the sign respect to the sign of the delta....it means that after a reset....a step error brings suddenly the derivative pid to slow down the control and after the step the control tends slowly to increaase ita own pushing capability.....anyway great video thanlk you

  • @4DRC_
    @4DRC_ 3 місяці тому

    I have a question about 27:30, wouldn’t the u(t) of the D response be negative after the initial delta response to the discontinuity? As the rest of the control drives the error down, wouldn’t it be acting as negative feedback to lower the control response to minimize overshoot?

  • @lifesgood5665
    @lifesgood5665 3 місяці тому

    Plz bring video on fractional order sliding mode control

  • @distraktor5538
    @distraktor5538 13 днів тому

    39:10 Regarding the D component, it seems to me that something is off about the model. With the P and the I components, the force exerted was in the direction of reduced error (i.e., in the direction of "moving towards the set point"), yet with the D, the force that gets applied OPPOSES the motion towards the setpoint. Is this distinction relevant? Should we not be imagining D as a force that is proportional to the rate of change of position of the object AND moving the object towards the setpoint (rather than resisting said motion)?

  • @hassanrabbani3221
    @hassanrabbani3221 Рік тому

    Professor can you make a course on PID and make a couples of projects on PID on that course.

  • @howdynamic6529
    @howdynamic6529 4 місяці тому

    There is a new Brian Douglas in town!

    • @ChristopherLum
      @ChristopherLum  4 місяці тому +1

      Thanks, that is a huge compliment. I see some of your videos are also in the Brian Douglas style so it is good to see other like-minded people here on UA-cam. Thanks for watching!

  • @lusandasithole5704
    @lusandasithole5704 9 місяців тому

    One part I don't understand is where does the function equation {e.g. e(t)} come from which will be integrated or differentiated by the PID controller. The reason I'm asking this question is because the signal coming from the transmitter (feedback) to the controller is just an integer (4mA- 20mA). My guess is the equation are build into the controller based on models of the system behaver.

  • @EEE-iw3fk
    @EEE-iw3fk 6 місяців тому

    Can an Op-Amp replace the PID controller?

  • @Zypher_desu
    @Zypher_desu 3 місяці тому

    Line follower gonna go krazy

  • @distraktor5538
    @distraktor5538 13 днів тому

    34:48 Uhhhhmmmm... Why not an even stiffer (i.e. shorter) elastic, like you did 15 seconds earlier?

  • @nadiaakter9351
    @nadiaakter9351 11 місяців тому

    can you please tell the name of the signal after using PID controller? Sometimes, we use error between altitude and set point, and after using PID, it becomes speed . I wonder how? Am I the only one who cannot understand it properly..
    please explain

    • @carultch
      @carultch 10 місяців тому

      It depends on what system specifically you are controlling. For instance, if you are controlling a motor to have a specific speed, it would be speed. But if you are controlling a motor to maintain a given position, like a servomotor, it would be position.
      The device after the PID controller in general, is called the plant, as in factory. It's a representation of the dynamics of the process you are controlling. It represents how the output of your controller is turned into a signal to drive the actuator (motor, piston, etc) that controls the system being controlled, and turns it into the physical measurement that is of interest to control.
      As an example, if you are controlling a DC servomotor to maintain a certain position, the plant dynamics would consist of a model for the coil inductance (L), the coil resistance (R), the rotational inertia of the motor and all that is attached to it (J), the motor field constant (K) that relates current to torque (and likewise speed to back EMF), and the drag it experiences (D). The controller would produce a voltage that would then indirectly determine the current that the motor coil receives, and the torque that propels it forward. Here's a diagram that show a DC motor's dynamics, and the interaction among all these terms:
      forums.mikeholt.com/attachments/1691248709486-png.2566732/
      For a free-spinning motor (no external mechanical load), you can use this diagram to show that the dynamics of the motor can be represented by this transfer function, that relates input voltage U(s) to speed Omega(s):
      Omega(s)/U(s) = 1/((D + J s)*(L s + R) + K^2)
      This would be the plant transfer function, if you were interested in controlling the speed. If you were interested in controlling the position like a servomotor, then we'd integrate to find the plant transfer function would be:
      Theta(s)/U(s) = 1/(s*((D + J s)*(L s + R) + K^2))
      If your goal is for Theta(s) to track a desired input angle X(s), then you'd put this plant in series with its controller, and with a feedback loop. This controller would translate the error of X(s) - Theta(s), and use it to generate the voltage necessary to control this motor.

  • @thomasblethyn9639
    @thomasblethyn9639 2 місяці тому

    chekov's gun of the honey on the table 😂

  • @moonoi8220
    @moonoi8220 Місяць тому

    Why de/dt is minus then u(t) not minus

  • @felixcat4346
    @felixcat4346 7 місяців тому

    You are describing hysteresis.

  • @dynamitron
    @dynamitron 9 місяців тому

    As long you not describe what is happening in G(s), all this video is poor and useless