[Tin tức] DC motor PID speed control



GitHub Code (under /SpeedControl):

If your platform does not have access to “atomic.h” (and so you get an error message), you can use the alternative version of the code that has been uploaded to the repository. It is labeled “_NoAtomic”.

Learn how to control the speed of a DC motor with an encoder using a PID controller. In this video, I walk you through several important steps in this process:
0. Hardware
1. Velocity measurements
2. Measurement filtering
3. PI control
4. Variations

For more information about how an encoder works, see our video “How to control a DC motor with an encoder.”

To learn about low-pass filtering, see our video “How to design and implement a digital low-pass filter on an Arduino.”

Parts used in this video:
1. DC Motor – 19:1 Metal Gearmotor 37Dx68L mm 12V with 64 CPR Encoder:

2. Motor Driver – VNH5019 Motor Driver Carrier:

3. Microcontroller – Arduino Uno:

31 bình luận về “[Tin tức] DC motor PID speed control”

  1. Thank you so much for this inspiring video! Finally seeing someone implementing PID control after visiting control engineering class and not seeing any practical examples warms my engineering heart ;D I don't have a motor+encoder flying around, but an led and light sensitive resistor. I guess pid brightness control is now a thing for me. I added a none feedback path to the feedback loop, to make the system more reactive/less prone to oscillating. I add u to a value x that is dependent on my target value. The relationship between the target and x is not perfect, but now the control loop only needs to compensate for the remaining deviation. Not useful in every situation, but worth it in some.

    Bình luận
  2. I agree with all of these reviews, this is quality information presented extremely well. Great job and thumbs up!
    Plus, your voice in these videos is so relaxing to listen to it almost puts me in a trance…
    Thank you so much for such a clear explanation of all of your topics, and please keep them coming 🙂

    Bình luận
  3. Dear curio, Thanks for making such high quality contents. I saw your all videos about DC motor control with feedback. Can you please make a video (or even talk about it on this comment) , where you pair this feedback controller with a feedforward controller? and show us if a inverse transfer function can be useful in the new controller ? You are the only Person in the whole word to whom I can ask for this. I got the ides from here – https://www.youtube.com/watch?v=FW_ay7K4jPE

    Bình luận

Viết một bình luận

bahis10bets.com betvole1.com casinomaxi-giris.com interbahis-giris1.com klasbahis1.com mobilbahisguncelgiris1.com piabetgiris1.com tipobettgiris.com tumbetgiris1.com betboro 1xbet giriş
bahis10bets.com betvole1.com casinomaxi-giris.com interbahis-giris1.com klasbahis1.com mobilbahisguncelgiris1.com piabetgiris1.com tipobettgiris.com tumbetgiris1.com betboro 1xbet giriş
antalya bayan escort
antalya bayan escort
antalya bayan escort