PID demo

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ม.ค. 2016
  • For those not in the know, PID stands for proportional, integral, derivative control. I’ll break it down:
    P: if you’re not where you want to be, get there.
    I: if you haven’t been where you want to be for a long time, get there faster
    D: if you’re getting close to where you want to be, slow down.
    Motors, in general, don’t start or stop on a dime. So it’s easy to overshoot, undershoot, whatever. PID allows you to dial in those three concepts with numbers
    Thanks Warlax 56 for simplifying the PID
    تجربة مثيرة لفهم تأثير معلمات متحكم PID
    تستطيع تحميل ملفات المشروع من الرابط التالي : drive.google.com/file/d/0Bzmb...
    Author : Dale Heatherington

ความคิดเห็น • 1.7K

  • @becca8039
    @becca8039 3 ปีที่แล้ว +5750

    in 1 minute and 28 seconds, without saying a single word, you have explained how PID tuning works better than any other article or video I have ever seen

  • @Silverlightnick
    @Silverlightnick 4 ปีที่แล้ว +8290

    Imagine watching this without knowing nothing at all about Control theory

    • @PsyZueiro
      @PsyZueiro 4 ปีที่แล้ว +1039

      i am....whats that??? PID

    • @consciousart1
      @consciousart1 4 ปีที่แล้ว +470

      PsyZueiro product integration and derivation. in a system the difference between the output and supposed output for a given input is minimised by a closed loop system by tuning the input by a multiplication with a p parameter of error added to multiplication with an i paramer of accumulation of error added to multiplication with a d parameter of difference of error. this is really the most useful tool of control theory and cybernetics is indeed appeared based only on this simple technique

    • @sexyfacenation
      @sexyfacenation 4 ปีที่แล้ว +299

      @@consciousart1 proportional integral derivative are the terms.

    • @deelowe3
      @deelowe3 4 ปีที่แล้ว +86

      @@consciousart1 proportional integral derivative control. It gets its name from the calculations performed by the algorithm. You can also have p, pi, or pd control

    • @consciousart1
      @consciousart1 4 ปีที่แล้ว +16

      ​@@sexyfacenation you are exactly right I know the case but product for p letter appeared on my mind sorry :)

  • @ArmenianDude88
    @ArmenianDude88 3 ปีที่แล้ว +1356

    I have no idea what this is and what's going on. But this is still more important than my spanish homework

    • @michaelhill7867
      @michaelhill7867 3 ปีที่แล้ว +18

      Thanks. That's started our day with a good laugh.

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

      Defend Armenia! Hoah... are you from Glendale?

    • @ArmenianDude88
      @ArmenianDude88 3 ปีที่แล้ว +6

      @@vongunter9947 no, I am from Yerevan

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

      The hardest I have laughed for years, maybe forever. Still laughing. More than brilliant. Thankyou!

    • @DarwinMustard
      @DarwinMustard 3 ปีที่แล้ว +14

      Deberías hacer tus deberes de Español

  • @Serenity17
    @Serenity17 4 ปีที่แล้ว +1897

    I suddenly understand how to tune my quad, thanks for the video very informative

    • @keanumack3944
      @keanumack3944 3 ปีที่แล้ว +33

      What are you doing here

    • @emil0asp
      @emil0asp 3 ปีที่แล้ว +210

      @@keanumack3944 Learning to tune his quad

    • @wickedprotos1937
      @wickedprotos1937 3 ปีที่แล้ว +25

      QuadCopter I hope you meant.

    • @skyhackerfpv7104
      @skyhackerfpv7104 3 ปีที่แล้ว +26

      Wow, what a great way to help understand quadcopter tuning! This is a must see video for anyone building a quad. Thank you!!

    • @bakedandsteaked
      @bakedandsteaked 3 ปีที่แล้ว +4

      The closed loop idle control system on my car uses PID. Tuning it was basically just guessing at numbers.

  • @RimmyTimfpv
    @RimmyTimfpv 4 ปีที่แล้ว +1148

    If you already have a general grasp of what a PID Loop does, this is actually really straightforward and practical information for understanding how it affects real objects.
    Thanks for the demonstration.

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

      Hey,
      So i ran into this, seemingly by fluke. I have read the comments explaining what P, I, and D mean. But I am not sure how this demonstrates what they are explaining. I am not picking up what is changing. The relationship between the lower wheel, I am guessing attached to the motor, to the wheel attached to the pulley with a metal needle seems to stay the same... What is he trying to do here other than just swinging them back and forth....

    • @abrahamtan9704
      @abrahamtan9704 3 ปีที่แล้ว +19

      @@steve2547 hey, I fly quadcopters and recently learnt how to tune pids. It's basically the same. So p is like the sharpness setting, if you under shoot or overshoot, you can adjust p. D is like the dampening for p, you see those bounce backs? those are because the d is too low. I is like a stiffness setting, if your thing is all wobbly ( slow wobble ), increasing I will help that. Hope this helps!

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

      @@abrahamtan9704 actually the ratio of I and D is the dampening.

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

      @@BrosBrothersLP really? huh, I learnt something cool today

    • @janeymers7154
      @janeymers7154 3 ปีที่แล้ว +14

      ​@@steve2547 Ok let me break it down for you.
      PID is a type of control. It has different "parts" to it, wich have an influence on how to reach a certain point. In this case an specified angle.
      The most left switch turns the system on, like "power on, and go to angle X!".
      The dial right of that controls where X is.
      Now by adjusting the dials on the right the parts for D - Derivate, P - Proportional and I - Integral of the controler can be adjusted.
      Different amounts for that parts lead to different system behaviour. Th goal is to go from angle Y (starting angle) to X.
      Every control system aims to reach the target point as fast as possible. Some system require tuning so it doesnt overchute, mostly for positioning controls, which in turn makes the control slow.
      So depending on your application the control has to be designed towards the restrictions.
      This experiment shows how the different parts of the control affect the way the target is reached.
      P just takes the difference and amplifies the lead directly, for example a current or voltage. This leads to overchuting and a "waving" pattern around X. Its moderately fast, but is never precise.
      D dampens the amplification if getting near X, which can make the control faster, but also slower to reach 100% X.
      I integrates over time, which means that the longer you are not at X the stronger it gets. This increase precision but can lead to waving behaviour, called "wind up".
      Hope this helps. Control theory is a whole engineering field in its own. Anti lock breaking systems, adaptive chassis, thermostates in AC units are examples of control systems.

  • @mandarbamane4268
    @mandarbamane4268 8 หลายเดือนก่อน +792

    For those who studied control systems/theory/engineering and still didn't understand
    P : Proportional gain (makes system faster, improving response)
    D : Derivative gain (improves transient response, i.e. from before moving to settling)
    I : Integral gain (improves steady state error, i.e. closer to where it should settle)
    0:17 : Unit step input
    Very bad transient (wiggles) and steady state response
    0:23 : Proportional gain increased
    System response is now faster
    0:31 [PD]: Derivative gain increased
    Transient part improved (no wiggles)
    0:52 Integral gain reduces steady state error,
    Notice the error it gets in steady state with decrease in integrak gain

    • @MrCmon113
      @MrCmon113 8 หลายเดือนก่อน +2

      You didn't explain anything relevant to the video.
      What's the controler here(what's the actuators) ? What's the controlled quantity? What's the region of values we want to stay in? Why do we leave the region?

    • @steveskeletonneii6336
      @steveskeletonneii6336 8 หลายเดือนก่อน +79

      @@MrCmon113 ??? how was this not relevant to the video. They described PID, then timestamped examples of how adjusting the knobs adjusts the output. The controller would probably be some kind of motor.
      Do any of those other things matter in this case? It's a simple demonstration, not an actual implementation for any real purpose.

    • @deang5622
      @deang5622 8 หลายเดือนก่อน +7

      I think you will find that those that studied Control Theory at university *DO* understand.

    • @mandarbamane4268
      @mandarbamane4268 8 หลายเดือนก่อน +1

      @@deang5622 well one of my friend didn't, so... (also look at 1st reply by MrCmon... those who studied controls should have that knowledge already, that's why).

    • @EscapeFromYoutubesSugges-zi9ou
      @EscapeFromYoutubesSugges-zi9ou 8 หลายเดือนก่อน +2

      Wish I had this back in high school lol

  • @warlax5658
    @warlax5658 4 ปีที่แล้ว +2924

    For those not in the know, PID stands for proportional, integral, derivative control. I’ll break it down:
    P: if you’re not where you want to be, get there.
    I: if you haven’t been where you want to be for a long time, get there faster
    D: if you’re getting close to where you want to be, slow down.
    Motors, in general, don’t start or stop on a dime. So it’s easy to overshoot, undershoot, whatever. PID allows you to dial in those three concepts with numbers.
    P.s. read the video description carefully

    • @jimothyus
      @jimothyus 4 ปีที่แล้ว +92

      Daniel Warfield good explanation, you really understand your shit. Thank you

    • @warlax5658
      @warlax5658 4 ปีที่แล้ว +107

      @Hazem Ketat I doubt it. Proportional means speed is proportional to the displacement between where you are and the goal.
      integral is the integral of the displacement over time, I think. that would mean that value would grow as time continued.
      I'm not an expert on PID, but I do know calc pretty well, and the underlying mathematical principles of integration and proportionality wouldn't make any sense in reverse. Proportionality, by definition, has no notion of time.

    • @DantevanGemert
      @DantevanGemert 4 ปีที่แล้ว +18

      This is the best explanation I've ever seen! Pure gold

    • @user-cw9lf3gl6x
      @user-cw9lf3gl6x 4 ปีที่แล้ว +196

      @Hazem Ketat His explanation is correct. Think of it this way. You're tailing a car with an identical car. The ideal position is right beside the car you're following. The P(roportional) controller would control the "speed" of your car. If the car you're following increases their speed, you'll also increase your speed to be the same. But that means once you get left behind, you'll always be left behind (because you can't get faster than the car you're following to catch up). This is the steady state error. Increasing P value in this kind of system results in faster "speed" control, but because of the reason stated above, you can't get rid of steady state error.
      I(ntegral) controller on the other hand would control the "position" of the car (because the integral of a speed function is a position function). This way you can get rid of steady-state error, because you're not only matching up the speed of the car you're following, you can also catch up, because while the P controller lets you get to the target car speed, I controller lets you get to the target car position. Add these two terms together and you can get more speed than the car you're following, and you can catch up if you're left behind. This gets rid of steady-state error.
      Additionally, D(erivative) would control acceleration rate. When you're getting closer the the target car while catching up, it will slow down the acceleration rate.
      Combining these three parameters, you can create a fast and responsive system (P) while being accurate and efficient (I) without the risk of damaging equipments due to the system overreacting (overshooting) (D).

    • @cauleygreene1843
      @cauleygreene1843 4 ปีที่แล้ว +5

      Thank you!

  • @HenningAndersen
    @HenningAndersen 3 ปีที่แล้ว +811

    The missile knows where is it by knowing where it isn't...

    • @ChrisD__
      @ChrisD__ 3 ปีที่แล้ว +68

      And knows where will it be because it knows where it wasn't.

    • @TestECull
      @TestECull 3 ปีที่แล้ว +37

      @@ChrisD__ And it knows it hasn't been where it wants to be in a while, so it's trying to get there faster.

    • @MaNNeRz91
      @MaNNeRz91 3 ปีที่แล้ว +28

      And it wants a strawberry milkshake because it saw a kid with one

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

      @@MaNNeRz91 lol

    • @MaNNeRz91
      @MaNNeRz91 3 ปีที่แล้ว +7

      @@kushkiller7108 you better be smoking a joint right now

  • @NuclearAmouri
    @NuclearAmouri 3 ปีที่แล้ว +43

    1:29 seconds with zero words explained PID better than three lectures with 120+ slides

  • @terryjones9784
    @terryjones9784 3 ปีที่แล้ว +149

    this video illustrates one of the most important points about learning -- quick iteration is key! Imagine learning this by watching water levels endlessly oscillate around the setpoint at a frequency of 0.05 hz...

    • @jozefbania
      @jozefbania 3 ปีที่แล้ว +10

      Yeah Bandler was stating that people don't learn things too slow, they learn things very fast but most of the fast learned things are random, useless and dangerous for them. Now I will go browse some random internet videos.

  • @jarrodvsinclair
    @jarrodvsinclair ปีที่แล้ว +35

    Entire day I have been reading papers and watching various videos and this simple video with no words explained it much better than all of them, amazingly simple! Thank you!

  • @antonbuts7325
    @antonbuts7325 3 ปีที่แล้ว +66

    My teacher has been explaining this for 2 years now and 1 hour before my exam I find this video. You saved my semester man. Thanks

  • @sagizm0nd
    @sagizm0nd 9 หลายเดือนก่อน +96

    I just love how without words, all of us just got intuitive understanding of what PID does and how it "feels" what parameters do.

    • @vitalin5953
      @vitalin5953 8 หลายเดือนก่อน +1

      При чем все понятно для любого языка общения!)
      Не зря язык жестов так же считается единым для многих стран

  • @Leeki85
    @Leeki85 3 ปีที่แล้ว +159

    While playing with implementing PID in Unity3D I found that:
    P: is just a vector pointing towards goal, that can be used as a force vector. The farther you are the bigger magnitude and bigger force to apply.
    D: is predicting future by analyzing last and current P values. It acts like a break since it's vector value is pointed in (almost) opposite direction. D stabilizes motion and prevents overshooting.
    I: this is harder to explain, because integral value not only don't help, but makes things harder to stabilize. It's main goal is to counter external forces, like for example wind or gravity. For example if you have Quadcopter that has GPS and can fly to a given position. Using only P and D won't allow to reach desired height, because gravity will become equal to proportional force so quadcopter will stabilize at some lower height and with stabilized position D will be equal zero (value - value = 0). In such case Integral becomes important since it is basically a sum of all previous P values multiplied by time intervals. So when a PID devices reaches a stable position far from goal integral value will build up which will increase PID value to reach goal despite all external forces.
    Integral makes PID immune to wind, gravity, ocean waves and other external influence. Sum of P and D will approach zero when approaching goal, but I value can be anything. It should become zero exactly in goal overtime, but in real life scenario external forces will prevent to reach exact goal position and even an epsilon difference is enough to keep integral value at any level. At such stable state integral value will become opposite to external influence like gravity.

    • @dattan2850
      @dattan2850 10 หลายเดือนก่อน +5

      I been using PID control for my active rag doll in Unity for years… I can tell you one thing: my active rag doll system contains no Integral part merely because of its uselessness, so basically it’s called PD control rather than PID.

    • @nayan7398
      @nayan7398 9 หลายเดือนก่อน +2

      That was very helpful ...thank you

    • @cutterhead13
      @cutterhead13 9 หลายเดือนก่อน +2

      All i see is power , intensity ( i current) , and decay. Course done lol

    • @hansdampf2084
      @hansdampf2084 8 หลายเดือนก่อน +3

      Very well written, sir.

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

      This my first time seeing or knowing about a pid on this video and I already know how it works and adjust it.its not that hard.

  • @marchelfman3278
    @marchelfman3278 8 หลายเดือนก่อน +21

    PID is one of most powerful and versatile algorithms out there, whether for having a robot track an object, or a person drive a car. There are so many examples in both technology and nature that makes this tool for reaching and maintaining a goal state so useful (in the human body, this is called homeostasis and what provides us with our sense of balance and being able to walk upright, or to maintain a constant body temperature.

    • @u1zha
      @u1zha 5 หลายเดือนก่อน

      So you claim homeostasis is the same algorithm as PID? Sounds like it's the only algorithm you know and that's why you think homeostasis can't be using _any other_ form of closed loop control?

  • @tstahler5420
    @tstahler5420 8 หลายเดือนก่อน +2

    I woke up at 5 AM and found this video. I had 0 clue what I was watching but I watched it twice. I then Googled PID. Side note, inflamed pelvic disease, is a thing, who knew?
    After doing a bit of reading, I now understand what I watched. Pretty cool.

  • @JasonDrennen
    @JasonDrennen 4 ปีที่แล้ว +56

    Thank you so much that was the most easiest way I have seen to understand PID tuning. Out of all the mumbo-jumbo that's out there this really help show people like me that have to see it to understand it. So thank you I will say this video and reference it anytime I'm tuning. That was great thinking.

  • @DeltaPi314
    @DeltaPi314 3 ปีที่แล้ว +6

    Not a single word. And now I know what PID is. You sir, deserve a like.

  • @D3STR0Y4RF4iLZ
    @D3STR0Y4RF4iLZ 3 ปีที่แล้ว +13

    literally did an entire class on control systems and PID control, pretty sure I learned more from this 1.5 minute video and description than I did a whole semester, thanks university.

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

      I disagree. But this is a helpful visual demonstration.

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

      @@mattooi4322 I don't think you understand how bad my professor was... I'm also using ghoulish over kill

  • @BornIIfly
    @BornIIfly หลายเดือนก่อน +1

    Hi thanks a lot 👏 I‘m a remote pilot, I work with drones. Was having trouble understanding the PID tuning. Watching your example brought everything to light 💡
    Take care 🍀

  • @artrock8175
    @artrock8175 3 ปีที่แล้ว +4

    What a great educational tool! Visual aids really help solidify theory in a way that is much more intuitive than crunching numbers. Great demo!

  • @hpekristiansen
    @hpekristiansen 3 ปีที่แล้ว +4

    We were made to do this with a heat source and a temps sensor. -it took hours making changes to the parameters and plotting. This is a nice visual introduction - well made.

  • @sodabeanzz7965
    @sodabeanzz7965 9 หลายเดือนก่อน +3

    I sir salute you. Nothing else has ever made this much sense. Thank you so much for this beautiful demonstration

  • @SPELTMUSIC
    @SPELTMUSIC 3 ปีที่แล้ว +44

    I’ve been trying to visualize what each does for months now and this video has literally made it all click. This is perfect.

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

      Just got the exact same problem finally solved!!

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

    This has been by far the best explanation of how to tune my 3d printer heater PID! Thank you!

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

    Very simple video with no words but it really says a lot, thank you for this great visual explanation.

  • @uiopuiop3472
    @uiopuiop3472 2 หลายเดือนก่อน +1

    you have made me understood how to tune my mind, my soul, my whole essence with this video. i am forever grateful and will remind everyone until the end of time of this video. this is the new theory of everything

  • @chrisbryden8102
    @chrisbryden8102 8 หลายเดือนก่อน +1

    Absolutely fantastic visual demonstration!
    You could make a fortune selling this device as a learning tool!

  • @russru2502
    @russru2502 3 ปีที่แล้ว +14

    It is very strange. I never thought that a short video without words would be so informative.

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

      That's what modern day education does to the human brain. We are not used to using our eyes alone to learn. The system has taught us to rely on our ears to listen to someone talk for hours on end to learn. Here it's completely visual. You see what he did and you see what happened. Your brain can understand and learn from that far greater and far faster than anyone could talk you through it. That's why hands on experience is unmatched!

  • @jestemtomekherm
    @jestemtomekherm 3 ปีที่แล้ว +50

    I spend many hours by learning PID. My professors couldn’t explain this in simple words. They used „science terms” which bored me af xD. Finally, I didin’t know how exacly it works... Until today. I swear, 1 minute of this video is more brighter, then hours of their talking in class xD

    • @Angry-Lynx
      @Angry-Lynx 3 ปีที่แล้ว +3

      "if you can't explain something in simple words you dont understand it well enough" or something ... ;

    • @Angry-Lynx
      @Angry-Lynx 3 ปีที่แล้ว +2

      dopiero sie zczailem po avatarze... Zbysiu! 😂

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

      Yeah but as an engineer you need to understand the maths and theory to actually optimize a controller

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

      Jakoś człon całkujący słabo pokazał co robi 🤷‍♂️

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

      @Tomek Herman It is you who need to learn English better than to broadcast gibberish like "didin't ...exacly....more brighter, then" rather than blaming professors.

  • @jmannUSMC
    @jmannUSMC 5 หลายเดือนก่อน +2

    This video is what finally made it click for me when I was taking my control systems class in college about 3 years ago. I ended up getting a C in that course, but now I work with hydraulic control systems every day and I love it!

  • @shauncrosby7652
    @shauncrosby7652 8 หลายเดือนก่อน +1

    Thank you for this, your video, without a word, explained to me in a few seconds what I have been trying to understand for who knows how long! Watching this, everything I have learned, trying to figure it out, just fell into place. Thank you.

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

    I’ve watched countless PID tuning videos and this, without sound just explained it all to me! I can now make my car idle perfect thanks dude 😇😇

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

      With the help of..DR RORPOPOR HERBAL ON TH-cam i have been cured totally from PID....🤩🤩

  • @Liberty4Ever
    @Liberty4Ever 4 ปีที่แล้ว +35

    I understand PID control loops. I've programmed servos, analog as well as digital parameters in a servo controller, and while this video demonstrates the concepts some explanation of what is being demonstrated would have greatly improved the educational value.

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

      Equally confused by what I am observing. just thinking buy a stepper motor and learn to code

    • @mikeblaszczak5346
      @mikeblaszczak5346 5 หลายเดือนก่อน

      The system has two inputs: a switch and a knob. What do those inputs do? Maybe the knob represents some input, [0..1]. Does the switch, in the off position, force the input to 0, and in the on position let the knob determine the input?

  • @TRENDewyZ
    @TRENDewyZ 8 หลายเดือนก่อน +1

    The best explanation of PID loop tuning as a visual that ive seen. Nice job.
    My favorite oral explanation is thinking of the throttle in a car.
    You’re at a stop light.
    You want to get up to 35 mph in the fastest time possible.
    You hit the throttle hard. (high P)
    You’re approaching 35 but you dont want to exceed 35.
    You throttle back before you reach your desired speed.
    This is (D)
    You want to maintain 35 after reaching that speed. minor throttle regulation is the (I)

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

    The lack of sound or music made it even more educational.
    BRILLIANT!!!

  • @mikehauk6079
    @mikehauk6079 4 ปีที่แล้ว +3

    Mho. Hands down, BEST explanation (w/o words of course)!
    Thank you. I'm sharing with the world.

  • @niclasbergman8418
    @niclasbergman8418 7 หลายเดือนก่อน +5

    When I studied control systems last year, I found it hard to visualize what the individual gains of the PID controller actually did. This simple 1 minute video was more helpful than any of the plots in MATLAB I made to visualize how a PID controller actually works! Too bad I didn't see this last year haha. I miss the course actually, it was really fun and we got to regulate a double tank system with a PID controller as our final project!

  • @samuelkisaka6932
    @samuelkisaka6932 5 หลายเดือนก่อน +1

    Thank you very much.1 minute 28 seconds has cleared my 9 months intense work of understanding PID in vain.

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

    I think I understand the concept behind this video and its really simple explanation of how pid works and the impact of low and high values. Great Video!

  • @aquilazyy1125
    @aquilazyy1125 3 ปีที่แล้ว +33

    Yep. Now I’m certain that I’ve watched too many useless machine videos to get this treasure in my recommendation.

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

      Well, this useless machine evolved into an interactive model

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

      @@supernova5434 so what you'r saying is useless machines are now useful and useful machine are now useless?

  • @Eieieieinszweidrei
    @Eieieieinszweidrei 4 ปีที่แล้ว +786

    Am I the only one watching without even knowing what PID is? 😂

    • @karimkarara5804
      @karimkarara5804 4 ปีที่แล้ว +40

      🤣🤣🤣🤣🤣 Proptional integral derivative control used for optimizing the control loop

    • @cheezefpv6550
      @cheezefpv6550 4 ปีที่แล้ว +40

      One application of PIDs are the settings in a drones flight controller. There is a lot going on when flying a drone, many different effects and inputs that the actual quad experiences, and the PIDs control how much influence each aspect affects that actual flight control output.

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

      Nope...

    • @pavelgavrilov189
      @pavelgavrilov189 4 ปีที่แล้ว +3

      Не парься. Я тоже в этом ничего не понял.

    • @howong8561
      @howong8561 4 ปีที่แล้ว +3

      So what did you see in this video?😂

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

    That explanation in the description nailed it so well! Thanks a lot for the video and the explanation!

  • @alefpvc.r.4540
    @alefpvc.r.4540 2 ปีที่แล้ว

    Wow, this is the most clear and easy to understand video about PIDs I've seen so far.... and its from 2016... thank you !

  • @TheZaz969
    @TheZaz969 3 ปีที่แล้ว +32

    Tip: best way to tune PID is to tune P to get it mostly there, then D to smooth it, then I

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

      Can you explain to me abit more what i does?

    • @TheZaz969
      @TheZaz969 3 ปีที่แล้ว +4

      @@beatboxdailyshorts5885 you're better off finding a tutorial, but a PID loop has 3 variables and 3 constants. You set the constants, and the variables are set via how far away the input value is from the desired one
      Each variable is multiplied by a constant in the P I D loop, so when you're tuning it's best to start with the variable multiplying P first, since that's the variable that's set based on the difference between your expected and actual values. D is damping, and is based on changes in P and tuning that next makes it less jumpy. I is the variable representing over-correction. If after tuning P and D, your actual value overshoots your expected, add some more I

  • @user-jh8su1ig6w
    @user-jh8su1ig6w ปีที่แล้ว +11

    Explanation for those who have questions: The upper right hand switch controls the system power supply. The lower left side switch sets all the potentiometers to zero (down) or enabled (up). The upper pulley and pointer are mounted on a motor. The motor drives the lower pulley through the drive belt, which turns the position potentiometer as the system measured variable.
    The left side potentiometer is the system position setpoint. The pointer, and the position potentiometer attempt to follow the position of the set point potentiometer. When the enable switch is down, the set point, position, and PID potentiometers are all set to zero. The effects of P, I and D can be observed by adjusting their respective control potentiometers. Most feedback control systems are tuned for stability using different settings of P, P and I, P and D, or all three. There are also I controllers but are not very common.

    • @B-System
      @B-System 6 หลายเดือนก่อน +1

      the PID parameter pots remain in effect at all times, or else the return of the position to the zero point would be uncontrolled.

  • @pipira.momora
    @pipira.momora 3 ปีที่แล้ว +1

    I was trying to find a demo like this after watching a couple videos talking about the principles. I could not find one then so I was planning to implement one by myself. Glad that TH-cam recommends this video to me!

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

    The most instructive video on this subject. Shows more than diagrams or formulas or numbers.

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

    just passed system control last semester. i like how youtube recommend this now :)

  • @Murathanaksoz
    @Murathanaksoz 7 ปีที่แล้ว +58

    the best example

  • @7royalseven7
    @7royalseven7 3 ปีที่แล้ว +1

    Patch..... Genius !!!!
    Best description ever..... eher Single time when I must explain PID , I will Show your Video .
    Perfekt

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

    Very nice! Best (and most impressive) as well shortest and no word description of PID loop!!!

  • @ua1315
    @ua1315 4 ปีที่แล้ว +8

    Now I understand the principle of adjusting the regulator! Thank you.

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

    Having recently completed a Master course in robotics, I really wish I’d had one of these, or been assigned to build one. So clever and clear.

    • @justinc2633
      @justinc2633 7 หลายเดือนก่อน +1

      why would someone need to tell you to build one? just build one

    • @nickmaclachlan5178
      @nickmaclachlan5178 7 หลายเดือนก่อน +2

      @@justinc2633 Because maybe he's one of those people who knows it all on paper, but has no practical ability? (Like every graduate engineer you meet in the field).

    • @justinc2633
      @justinc2633 7 หลายเดือนก่อน

      @@nickmaclachlan5178 haha yeah fr, im not an engineer but i love building things like this, if i had gone to school for it id have some cool projects under my belt

    • @Bibbleycheese
      @Bibbleycheese 7 หลายเดือนก่อน

      I will.
      When I've finished the other cool projects I'm working on.

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

    The combination of the video's presentation, and discussion in the comments, helped me to understand PID control. Thanks.

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

    This video explained PID better than 3 years of school and 5 years apprenticeship as an industrial electrician. Well done.

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

      Than you had a very bad teacher sadly

  • @Dekipoo
    @Dekipoo 3 ปีที่แล้ว +4

    I started my controls class a couple of weeks ago and this is really cool.

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

    Very cool. Everyone in the Instrumentation world is smiling while watching this :)

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

    This is amazing. I broke my brain trying to understand PID. After watching this a couple of times I actually understand what's going on.

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

    And suddenly I understood how to tune my quad. Thank your so much, sir. Maybe you don't even know what I'm talking about but your video improved dramatically my drone pilot skills!

  • @drewgraham1482
    @drewgraham1482 6 ปีที่แล้ว +4

    Perfect example. Thank you!

  • @mattooi4322
    @mattooi4322 3 ปีที่แล้ว +10

    One of my hardest undergraduate classes.... Come back to haunt me. NO PROFESSOR, I REFUSE TO FIND THE ROOT LOCUS.

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

    That's the first time I've run into PID hardware. I could play with that for hours. Very useful for robotics I should imagine. Thanks m8. Keep well. :)

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

    Thanks this is a seriously excellent visualisation to explain PID controller for those that don't know what PID its what's used to stabilize the electronic control of things like drones and other control circuit loops.

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

    here i am, trying to fix a broken lamp and i stumble upon this, i have no clue what this is about but i like it

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

      Sometimes, that's the story of life....😁

  • @copernicus1615
    @copernicus1615 3 ปีที่แล้ว +16

    This is really clever, thanks. It would also be interesting if you showed controller responses to error causes by pushing the sensor with your finger. Maybe a part II?

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

    Have to agree with a lot of the other comments. This is an excellent representation of what PID tuning can achieve.
    Nice job.

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

    This is such a good demonstration on how the tunings effect reaching steady state. I’d be interested in making one!

  • @pr200sd
    @pr200sd 4 ปีที่แล้ว +13

    Это лучшая демонстрация, из тех что я видел.👍

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

      Так а че это за хрень?

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

      @@etl9143 ПИД регулятор, точнее демонстрация влияния коэффициентов на его поведение.

  • @dubbadan1
    @dubbadan1 4 ปีที่แล้ว +7

    OMG that is effing genius. I just wanted to see more...

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

    This is better than any explanation I've heard so far. I'm glad you made that box and the video.

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

    Thank you, this is the best PID demonstration I have ever seen, Much appreciated...

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

    simplest explaination. Thank you

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

    TH-cam recomended this video to me. I didn't knew what it was untill I realised it's an electromechanical laugh machine!!! And it's adjustable!!! Wow,the things we can see today!

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

    This is truly very genius. All you need to know, almost, about PID operation in this very short video.

  • @Nets-nutsBr
    @Nets-nutsBr 2 หลายเดือนก่อน +1

    I am used to say that you have tne power of synthesis. You have explained all PID concepts once for all

  • @eggyboi1217
    @eggyboi1217 3 ปีที่แล้ว +16

    Me: *aggressively searching for a map*
    This video: "Took a wrong turn in the algorithm didn't ya?"

  • @CampfireCrucifix
    @CampfireCrucifix 3 ปีที่แล้ว +70

    This explains why everyone attacks me first at the duel arena.

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

    This helped me with pid tuning more than hours of tutorials.

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

    Simply beautiful, perfect PID, love it

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

    When new engineers is about to tune their first control system, i always go through the ziegler-nichols method with them. It takes away 90% of the confusion. Also, remember, that many tasks can be solved with using only PI making the tuning more straight forward. The D part is incredible at counteracting load change, which fx is the key to success in almost all heating and cooling systems.

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

      I have been waiting for so long for this kind of comment.

    • @Debbiebabe69
      @Debbiebabe69 7 หลายเดือนก่อน +1

      The problem though is for years 'experts' try to teach PID with ridiculously complex maths that turns 99% of people away (mainly Laplace/Fourier transforms), while a simple video explains PIDs with far more clarity than any amount of pages of Laplace transformation mathematics does.
      People can learn PIDs much simpler and with much better knowledge of how to tune them properly using an explanation like this coupled with real world trial and error using a gyroscopic drone or a simulation like the computer game 'From the Depths' which has an excellent implementation of PIDs.

  • @techofield134
    @techofield134 3 ปีที่แล้ว +9

    Увидимся в рекомендациях через 10 лет

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

    Best PID example i’ve ever watched. Thanks

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

    The best explanation I've seen yet, great job👍

  • @Guide504
    @Guide504 4 ปีที่แล้ว +8

    Great little expo...takes it out of the gui and into the real world in a very visual way, would be interesting to see the effect of foc along with encoders.

  • @davidanderson6222
    @davidanderson6222 4 ปีที่แล้ว +26

    Believe it or not, this helped with tuning my quadcopter , cool

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

    Probably the best demo of PID control on TH-cam.

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

    So simple yet so helpful. This explained everything I needed to know
    😎👍🏽

  • @jpinto3912
    @jpinto3912 3 ปีที่แล้ว +11

    It should have a weight on a spring at the end of the arm. Then I and D would really come in handy.

  • @felineboy
    @felineboy 4 ปีที่แล้ว +9

    I was waiting for it to become unstable. Great demonstration, nonetheless!

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

      At some point when reducing D you could see overshoot with a damped oscillation. That was close to getting unstable. He fixed that by reducing P

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

    From a FPV drone point this is awesome! Wish I had seen this a year ago when I was learning to understand the PID controller.

  • @djohnsto2
    @djohnsto2 7 หลายเดือนก่อน

    Very intuitive demo of underdamped/overdamped/perfectly damped

  • @Tiwil
    @Tiwil 3 ปีที่แล้ว +26

    I’ve learned _something_ , i just don’t know what.

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

    Fantastic!

  • @sydneyhartman6024
    @sydneyhartman6024 7 หลายเดือนก่อน +1

    I somehow got here without having a clue what this about, and while the comments have only confused me more, I am thoroughly convinced by them that this must be a great video

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

    Better than all of the other videos on the subject. Clear and Concise

  • @user-fm6dw6sr2r
    @user-fm6dw6sr2r 3 ปีที่แล้ว +4

    это просто шедевр!

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

    Add lcd for display value

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

    This is probably the best way to explain it I've ever seen.

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

    This looks like a great build project for learning about PID controllers