Controlling Self Driving Cars

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

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

  • @illusivec
    @illusivec 8 лет назад +764

    As someone with masters on control engineering, I can safely say that this is the easiest to follow introduction to PID controllers I've seen. Wish my professor had told it like this in the first class instead of throwing 4 whiteboards full of Laplace transforms.. .

  • @kamashi85
    @kamashi85 9 лет назад +161

    PID beautifully explained.

    • @znx418
      @znx418 5 месяцев назад

      Couldn't agree more!

  • @Sleeperknot
    @Sleeperknot 8 месяцев назад +4

    This is probably the only video that gives a proper intuition about PID control. I wanted to develop that intuition to tune the roll, pitch, and yaw controls of my drone. None of the drone experts know how to properly explain the impact of changing P, I, and D.

  • @jobsmine
    @jobsmine 3 года назад +30

    By far the best PID control tutorial i've seen. Far better than that Aero engineering class I took in last fall term.

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

      i disagree. ruclips.net/video/qKy98Cbcltw/видео.html

  • @Nick-kb2jc
    @Nick-kb2jc Год назад +25

    Currently working on implementing self-driving vehicle behavior for my video game, and this is exactly what I needed! Thank you so much!

  • @mainsequence1055
    @mainsequence1055 4 года назад +35

    One of the best explanations and associated animation of PID control I've ever seen. Well done.

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

      i disagree. ruclips.net/video/qKy98Cbcltw/видео.html

  • @hadijaffri9856
    @hadijaffri9856 8 месяцев назад

    the best PID algorithm tutorial I have seen. The visual aids makes it so much easier to understand and give an intuition

  • @hooblymcdingelbary1311
    @hooblymcdingelbary1311 2 года назад +2

    Found this while trying to understand PID in 3D printer temperature control. Amazed at how almost exactly the same these issues are

  • @NoajmIsMyName
    @NoajmIsMyName 6 лет назад +7

    I took this class and I just now know what does PID mean.
    Well done my Prof "You know what I'm saying" I heard that sentence more than the times I heard my name

  • @GranVlog
    @GranVlog 8 лет назад +118

    And our brain does this perfectly once we know how to drive. now that's cool.

    • @ajelvani
      @ajelvani 4 года назад +7

      Our Brain works more like an MPC (model predictive control) I think

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

      our brain does not use the PID model, although for some tasks we have been observed doing this

    • @4ae109
      @4ae109 8 месяцев назад

      our brain mimics this for controlling our limbs.

  • @chimingito
    @chimingito 3 года назад +2

    god damn I finally found a video that properly explains every part of a PID controller.

  • @FPVSpace
    @FPVSpace 8 лет назад +63

    As an FPV quadcopter flyer I found this very interesting. We use PID values to tune our quadcopters.

  • @devangjoshi1194
    @devangjoshi1194 3 года назад +2

    Very good explanation on PID controllers

  • @SurvivalSquirrel
    @SurvivalSquirrel 6 лет назад +7

    BEST video ever for PID! Even under 5 minutes. Good job!

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

      i disagree. ruclips.net/video/qKy98Cbcltw/видео.html

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

    This is currently the best example of PID control I have ever seen.

  • @marcelosantospires4064
    @marcelosantospires4064 4 года назад +9

    Im a brazilian in high school and im preparing to a robotics competicion, thank you so much, this explanation was perfect to me.

  • @abdullatesttest6472
    @abdullatesttest6472 6 лет назад +1

    PID BOOOM! As I watch more and more videos and read more on PID control, it is getting clearer to me! fascinated by this beauty!

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

    I came for the example and explanation of the PID, but oh dear, this caught me off guard. What a recovery that was! A human PID tuned to perfection! 3:02

  • @aktunav
    @aktunav 7 месяцев назад

    One of the best PID explanations that i have ever seen...

  • @TIHutch1
    @TIHutch1 8 лет назад +33

    That Save tho! a@ 3:03

  • @aaqilkhan
    @aaqilkhan 8 лет назад +13

    Very good introduction to closed loop PID controllers. Video and narration was very well done.

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

    I can say this is the best explanation of PID control on Utube

  • @lawofrobotics
    @lawofrobotics Год назад

    This is the best control theory video I’ve ever seen.

  • @MrsBangladesh1971
    @MrsBangladesh1971 8 лет назад +7

    the best tutorial I have found so far on PID control. Thank you! it helped a lot.

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

      i disagree. ruclips.net/video/qKy98Cbcltw/видео.html

  • @hfe1833
    @hfe1833 4 года назад

    Of all all youtube video i saw regarding car autonomy this one is the most detailed and easy to understand

  • @EvillNooB
    @EvillNooB Год назад

    very well explained, i love when the complex topic is explained via breaking in down into simpler pieces

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

    The best explanation and visualisation ever. No body else can do it better.

  • @Lergurker
    @Lergurker 8 лет назад +4

    The best PID explanation I have sen so far! Good Job!

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

    I feel like i am going to forget this cause its late, but one of the best and simplest explanations i have seen....when you learn things the smart way :) sucks we all learn different at times

  • @frillneckedlizard8529
    @frillneckedlizard8529 7 лет назад +1

    this is exactly how I created my ksp throttle hover control script, And I didn't even think about it that much

  • @Tavnott
    @Tavnott 2 года назад +2

    That made way more sense than other videos! Thank you so much for your clear explanation!

  • @Tunquenino
    @Tunquenino 7 лет назад +1

    This video with the formulas are the perfect example of the new way to learn. Nice videos guy!

  • @AlqGo
    @AlqGo 7 лет назад +1

    Your video explanation is intuitive. Please make a video on Model Predictive Controller, Linear Quadratic Controller, H-Infinity Controller and Observer, Sliding Mode Control, Controllability, Observability, etc. :D

  • @Extner4
    @Extner4 Год назад

    Props for them to use an actual rc car, trackers and a projector instead of just a simulation

  • @BoomZaTvZ
    @BoomZaTvZ 5 лет назад +1

    The best PID explanation

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

    Really good explanation about PID without mention PID first.

  • @rdsully1221
    @rdsully1221 Год назад

    this is exactly what i was looking for. Im in design school prototyping a autonomous beer buggy

  • @fuckchannels5609
    @fuckchannels5609 9 лет назад +17

    Pro truck-driver!

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

    It’s always a amazing how our brains can function so well & handle so many things.

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

    How to click the thumbs up multiple times?

  • @ocieward
    @ocieward 9 лет назад +2

    Very well stated and simple explanation of PID control. Kudos.

  • @akhil6095
    @akhil6095 6 лет назад

    One of the best PID controller explanation!!!

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

    Fantastic video! A great introduction to PID control.

  • @ksthar5631
    @ksthar5631 6 лет назад +2

    As expected from MIT :)
    so beautifully explained about the PID ^.^

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

    one of the best explanation of PID control!. thanks!

  • @MePeterNicholls
    @MePeterNicholls 2 года назад +1

    I’d intuitively reasoned out these three ideas from analysing how my car drives and holds its lane centre, but only in a basic form and had no real grasp of what was at play. This video was brilliant, explained it really well while taking us through to an understanding of the higher concepts and mathematics!

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

    Great video and explanation on PID control. Thank you.

  • @bpinaya
    @bpinaya 8 лет назад +3

    This video is beautifully well made. Awesome job guys!

  • @sauloroncon
    @sauloroncon 7 лет назад

    good explanation on PID. Congrats guys

  • @jakubtomasek
    @jakubtomasek 7 лет назад +1

    Very nice visualization!

  • @FayyazeEbrahim
    @FayyazeEbrahim 6 лет назад

    That's the most beautiful lecture, I have ever heard!!

  • @navaneethmnambiar2577
    @navaneethmnambiar2577 7 лет назад +1

    Great video and explanation of PID

  • @hnl5100
    @hnl5100 10 месяцев назад

    for those who want to implement this in python a code here you have the simplest way to do this:
    class PIDController:
    Kp
    Ki
    Kd
    error_sum = 0.0
    error_rate = 0.0
    _prev_error = 0.0
    def __init__(self, arg_p, arg_i, arg_d):
    self.Kp = arg_p
    self.Ki = arg_i
    self.Kd = arg_d
    def update(self,target,current):
    error = target - current
    self.error_sum += error
    self.error_rate = self._prev_error - error
    self._prev_error = error
    return self.Kp*(error) + self.Ki*(self.error_sum) - self.Kd*(self.error_rate)

  • @cariyaputta
    @cariyaputta 6 лет назад

    Title nothing mention PID, but PID beautiful explained.

  • @phillipnewman9174
    @phillipnewman9174 4 года назад

    Brilliant! An excellent presentation! Easy to understand.

  • @kaden56
    @kaden56 4 года назад +1

    It’s to bad most professors are too prideful to show something like this day one of classical control theory. If you start with understanding it from this simplistic yet very accurate view point then at least all the heavier math is pointed somewhere.

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

    huh thought it was gonna be a video on MPC but ok i guess its a quick PID vid.

  • @ithinkyouforever
    @ithinkyouforever 8 лет назад

    great job for controll PIDs thank you

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

    incredible! thank you so much for your wonderful video! pls do more! subbed

  • @Must23
    @Must23 Год назад

    The best explanation ever

  • @SezerYalcin
    @SezerYalcin 7 лет назад +1

    You should use car body approach angle in proportional gain method and add steering wheel angle to control that parameter. Your approach to relate steering wheel angle directly is wrong.

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

    I have never had a class on PID controllers, but I am trying to use them in my holonomic robot. It is really difficult trying to tune a PID controller, while dealing with the motor configuration of a holonomic robot!

  • @GeezerRay
    @GeezerRay 8 лет назад +2

    Pretty standard control-system theory.

    • @John_Ridley
      @John_Ridley 8 лет назад +13

      +Ray Perkins Yes, and there are a lot of videos explaining it, but fewer more clear than this. IMO you can't have too many explanations of such basic concepts, because you want as many ways to explain them as possible to maximize the number of people who really "get it."

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

    # passionate about your thesis

  • @Excalibur32
    @Excalibur32 8 лет назад

    Excellent video, thank you for sharing!

  • @abdotsouri9432
    @abdotsouri9432 6 месяцев назад

    how i can find the best value of the constante

  • @rgloria40
    @rgloria40 6 лет назад

    So what is the back up system.....Embedded road sensors?

  • @BadPractices
    @BadPractices Год назад

    What a phenomenal video.

  • @tynansigg5472
    @tynansigg5472 7 лет назад +4

    Would PID be appropriate for following curved paths? If so, what error function should be used?

    • @fleecemaster
      @fleecemaster 7 лет назад +1

      It should respond fine with the functions already given, the path is curved, so as the vehicle turns to correct it will continue turning until the path straightens out again. You can see it moving along a curved path at the end of the video.

    • @stevemanley264
      @stevemanley264 6 лет назад +1

      The trick/difficulty is in defining the path to follow, not necessarily in following it. PID will do fine along a curved target path, provided the gradients and time constants are appropriate to the actuators/inputs.

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

    nice video, sadly that my professor doesnt show this kind of visualizing video in his lectures, otherwise I wont get a B grade and skip almost all of the class

  • @manavshah8239
    @manavshah8239 6 лет назад

    Great explaination for intermediates! Keep it up!

  • @RishuKumar016
    @RishuKumar016 5 лет назад

    Can you share the code and design requirement?
    It will be of great help

  • @tuloski
    @tuloski 6 лет назад

    Nice explanation and visualization of PID, but probably not the best controller for a non-linear system as a car ;)

    • @shravanrajagopalan4387
      @shravanrajagopalan4387 6 лет назад

      tuloski works for this video since there is a constant reference. But I agree, for a non linear potential path, this wouldn't be sufficient

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

    Awesome nice excellent

  • @angcongbui8508
    @angcongbui8508 3 года назад +2

    Thanks for this great video. I just have a question, how can we derive the relationship between the cross tracking and the steering angle? Are there any documents written about this? Thank you in advance.

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

    Pretty nice explanation!

  • @davidemele2842
    @davidemele2842 6 лет назад

    But what if you have variable speed?

  • @cariyaputta
    @cariyaputta 6 лет назад +1

    4:25 I wish my line follower robot can follow the line as fluent as this :(

  • @33athen
    @33athen 5 лет назад

    could i get more details on the implementation of PID

  • @kuisongzheng4655
    @kuisongzheng4655 5 лет назад

    what is the cross track error to a curve? will the car follow a curve path?

  • @yiqundong479
    @yiqundong479 9 лет назад +1

    What's the advantage of this PID when it's compared with pure-pursuit, and for the point-to-point trajectory tracking how come you guys keep away from using the MPC controller?

    • @njdk7796
      @njdk7796 6 лет назад

      hope you share the answer if you got it

  • @الحمدلله-ظ8ب6ظ
    @الحمدلله-ظ8ب6ظ 2 года назад

    I want the code that do this please

  • @florianlightspring2274
    @florianlightspring2274 9 лет назад

    Interesting, graphical and logical.Like to bring my regulatory technology the best.

  • @faizakram3686
    @faizakram3686 4 года назад

    Which microcontroller is best for this type of control??

  • @jaswanthayrus
    @jaswanthayrus 6 лет назад

    Sorry, but I couldn't get what's going on at 3:19 . I mean, even though the car gets off the track due to some external factors, knowing that it is off the path, the already existing P and D are there to steer it in the right direction right?

  • @shaflyhamzah3848
    @shaflyhamzah3848 4 года назад +1

    Nice explantion!

  • @lukej1756
    @lukej1756 2 года назад +1

    The most impressive part 3:01, LOL

  • @perceptualrobots9267
    @perceptualrobots9267 6 лет назад

    Nice explanation! But why would the PD system not correct itself after the rocks incident?

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

      Let's say in the normally working car with only a P control, the scaling was such that 1m left error causes a 1deg right steering command. After the alignment gets knocked, all steering commands are mechanically remapped 1deg the the left. So the same 1m left error, now gives 0deg steering (the electrically commanded 1 deg right, minus the 1 deg mechanical offset)

  • @arialuo3259
    @arialuo3259 4 года назад

    Omg I finally understand this! This helped a lot thanks!!

  • @overPowerPenguin
    @overPowerPenguin 5 лет назад

    Amazing explanation.

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

    Link to code?

  • @ChillGuy511
    @ChillGuy511 2 месяца назад

    Brilliant video!

  • @santhoshmamidisetti
    @santhoshmamidisetti 11 месяцев назад

    Can you please name those advanced controllers u mentioned at 4:10 please

  • @holdendwight5207
    @holdendwight5207 6 лет назад

    Is PID control a little bit out of date?

  • @AdityaSingh-pj8ie
    @AdityaSingh-pj8ie 6 лет назад

    This did a great job explaining the concept, but I'm still confused with the Integral term. If the car's spent time off the track then the integral term increases and drives the car back to the line. But once it's on the line, if P and D are zero, aren't you still left with the I term pulling the car away? At 3:43, the car moves along the line perfectly horizontal, but both the I and the total vectors point down. Is the I term supposed to be reset to 0 when it hits the line?

    • @shravanrajagopalan4387
      @shravanrajagopalan4387 6 лет назад +1

      Aditya Singh that's a really good observation. It's precisely for the same reason that the integral gains are not set high as it could cause the car to overshoot. However if the I gain is tuned low, then the derivative gains will resist the changes caused by the integral gains.

  • @MrQlife
    @MrQlife 7 лет назад

    D is my mother in law panicking: don't accelerate that fast, don't break that hard, don't change lane so quickly 😉

  • @mac-donaldduru6687
    @mac-donaldduru6687 2 года назад +1

    How do you determine the perfect tuning constant for the proportional, integral and derivative? I.e how do you determine the just right gain?

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

      You test it on hardware or simulations until you get something good
      As for a self correcting tuner, that's harder...

  • @vineetverma6645
    @vineetverma6645 6 лет назад

    Will these gains change for different speeds ...if so how can I make a system that "learns" to tune itself?

    • @shravanrajagopalan4387
      @shravanrajagopalan4387 6 лет назад

      Vineet Verma you would first need to find out how your vehicle behaves at greater speeds, as in, at higher speeds your vehicle might have greater understanding behaviour. Then you might have to look into other options such as gain scheduling or making your steering inputs dependent on the speed.

  • @okaythen2295
    @okaythen2295 6 лет назад

    Thanks, great explanation

  • @samirzemam8730
    @samirzemam8730 7 лет назад

    Hi, I can see theirs reports or IEEE article if exist?