Hardware Demo of a Digital PID Controller
Vložit
- čas přidán 27. 12. 2015
- The demonstration in this video will show you the effect of proportional, derivative, and integral control on a real system. It's a DC motor connected to an optical rotary encoder (quadrature) and is controlled by a digital control loop implemented on a TI Launch Pad MSP432. It uses a series of timers and interrupts to generate the PWM signals to the H-Bridge motor driver, read the pulses from the encoder, and calculate the control effort using a PID control algorithm. It also implements an anti-windup algorithm to improve the system stability since this is a real system and the motor saturates easily.
If you listen, you can hear the PWM signal whine as it adjust the current to the motor. When I push on the flag with my hand you will hear it go quiet. That's when the PWM is at 100% duty cycle and the audible PWM AC current going to the motor is now DC.
Post a comment if you liked the video!
You can download the code, design files, and parts list here:
github.com/arduinoNube/digita...
(out of date: sourceforge.net/projects/digi... )
Enjoy!
www.gregoryholst.com
Thank you for not using any music
czcams.com/video/aOl4YwAGyVw/video.html
@@John-eh2zc not doesnt like music, doesnt like annoying background music in tech videos. Usually because one either cant listen to it atm or is already listening to their own music, or because the music used is really bad stock music
Man this is the best summary of PIDs an engineering student could get. Thank you!
Forastieri I second you.
This demo is simply amazing. I loved it a lot .
I'm glad you found it helpful! I actually built this for a mechatronics class demonstration at Georgia Tech where I did my teaching practicum (TA) during grad school.
Thank you very much for sharing it with us!
That is a very expressive hand
Yeah..its like its got a life of its own !!
I read it as 'expensive' and wondered why a prosthetic arm looked so real
I read expensive too ^^😄
I watched this video 4 years ago and now I'm doing my master's thesis on control and just today as I was thinking about it, it popped back into my recommended. Love it!
Nicolas S. Thank you for taking time to leave a note. I hope your thesis goes well! Glad you found the video helpful!
I was a Motion Control Engineer in my very first job 25 years ago, long before robots were cool like they are today.
I worked on streamlined robotic arms inside wind tunnels, satellite tracking TV transmission vans, formula 1 racing car "4 poster" testing rigs, air-to-air missile testing systems, and tank tracked robots that would crawl inside nuclear reactors using neodymium magnets that hugged the surface so they could drive upside down held up by magnetism!
At their core, all those projects worked because of PID control of DC motors. Some days I wish I'd staying in that industry... :-/
I wrote a final paper on this concept for one of my math courses, yet this video explains the main idea in 3 minutes
czcams.com/video/aOl4YwAGyVw/video.html
It's amazing.
till now we seen only formulas and heard something like PID. But, now we can understand practically how it's work
Thank you so much
czcams.com/video/aOl4YwAGyVw/video.html
*Finally in 2020 I found a hand that talks. Way explanatory video than people actually talking to explain*
czcams.com/video/aOl4YwAGyVw/video.html
Phenomenal, and congratulations, this will help our students to understand PID and closed loop control systems.
czcams.com/video/aOl4YwAGyVw/video.html
I heard about PID control from people in the BBQ world, but had no idea what it actually meant. Now, I am weeks away from getting a degree in Mechanical Engineering and I have a much better understanding. Your video really solidified everything and provides an excellent explanation of PID control. As a side project, I am going to build a PID controller to regulate temperatures of a smoker with the use of a fan.
This is phenomenal. So cool that you've shared the code, etc. Thanks so much.
Np. Let me know if you find it useful. -G
This is such a good demonstration about understanding the PID. I really wish I found out this video quite earlier when I was having a project in my Control System subject so that it would be less bloodier for my group.
you saved my day. I couldn't wish more. Now I saw all these constants working, their effects in real time. thank you very much
Very clear, great job!
czcams.com/video/aOl4YwAGyVw/video.html
A brilliant video demonstration with clarity and simplicity...well done! Thanks for the contribution.
This is one of the best Explanations for PID With practical meaning I have ever seen and understood. Thankyou !
Awesome demo. For me this is very informative and I recommend that everyone, using PID controls should watch this video.
I don't think I've ever seen better explanation of PID :)
Very Nice !
Excellent teaching! Practical, hands-on and playful.
I couldn't understand PID controller how to use in real life. Perfect work! Thanks a lot :)
czcams.com/video/aOl4YwAGyVw/video.html
The idea of using a pendulum to demonstrate this is genius as it's so easy to imagine the movement in relation with underdamped and critically damped graphs in your minds eye
czcams.com/video/aOl4YwAGyVw/video.html
Finally after watching lot of videos about pid, your video helped me to understand pid easily.
Thankyou
Love it. Great logical explanation. Makes control systems look easy
Thank you. The missing info is found..... And all the code to build and explore further. Legend!
czcams.com/video/aOl4YwAGyVw/video.html
Thank you so much Mr.Gregory L. Holst , I salute you for such a great heart to share everything , it will help us to understand working and implementation of PID controller. You are at place of my professors. I will start working on your efforts . Thank you thank u again.
Best explanation for a PID controller. Very practical and amazing.
Finally a great demonstration to help us visualize these ideas!
Great video, clear shows the function of PID.
It is much better than many explanation videos with too many words and formulas.
man i never understand the pids but now with ur video it looks really easy
Best video on PIDs ! Short, well explained and covers all aspects of the subject.
czcams.com/video/aOl4YwAGyVw/video.html
Probably the best PID Vid on CZcams :)
czcams.com/video/aOl4YwAGyVw/video.html
Wow. Thanks for the video.
Actually, my Final Project when in college is similar to this, but only Software simulation. And you make my dream come true!
Great, clean and instructive demo! Thank you.
I love control theory, it's my favorite branch of electronic engineering
Greetings from Colombia
This perfectly bridged the gap between the math and real world output! Thank you :)
czcams.com/video/aOl4YwAGyVw/video.html
best PID illustration video I have ever seen.
This should be shown in classrooms!
Thanks for a video where every second tells! 3 min. of PID essence.
great demonstration! the best on summary I've ever seen :)
Fantastic work, thank you for taking the time to make this
i kinda now want just this youtube channel to have loads of videos of strange electroprojects with this talketive hand.
czcams.com/video/aOl4YwAGyVw/video.html
Your demonstration is FAB. 👌 Thank you !
Great illustration. I'll share it with my fellow techs.
Amazing! Your videos are helping me a lot in control theory!
Best explanation of PID I've ever seen.
One button, controls so many gains, frequency code... amazed.
Extremely awsome demonstration, great job!
Thank you very much for sharing your excellent work with all of us.
At GeorgiaTech, Atlanta, I've had the change to physical watch this demo in ME6405 course with J. Rogers. Great job Gregory ! 👍
Dude, you nailed that! That looks perfect, and you didn't even fine tune the parameters but it still works so good...
czcams.com/video/aOl4YwAGyVw/video.html
you bring to light for my embedded project! Thank you!
Best demonstration on youtube!! Thanks a lot
Thank you for this great demostration.
Very good demo of PID control nice demo hardware well made and executed
Awesome presentation of control theories.. Loved it..!!
Thank you! Really awesome and very good to understand the concept!
An absolutely amazing demonstration and final result!!!
Phenomenal demonstration, thank you!
So cool! Thanks man, you taught me a lot in a short time
Thanks for sharing your design and code!
CZcams was made for this kind of videos. GREAT!!!
czcams.com/video/aOl4YwAGyVw/video.html
Awesome. Wish i had seen this when i was making a pid out if an arduino.
Best explanation ever.
Now that is an awesome video. Thank you for doing this.
Great ......
What I was looking for since long time
Thanks alot
This is very cool thanks for demonstrating!
Video so good you did all the teaching my proof needed when showing this to our entire lecuture lol
Great video, it's help me understanding pid terminologi
You actually deserve more than a million views until now :)
Excellent demonstration.
I don't do control systems but I did IT work in refineries. Why control systems engineers needed advanced degrees makes a lot more sense now.
Thank you for your effort in explaining. Great video. Keep it up (Literally using PID control xD).
Very well explained video. It's a great project
Maybe you should do a basic tutorial for dummies on the P, I and D effects on the control system, it would be a great idea
czcams.com/video/aOl4YwAGyVw/video.html
Currently working on a DIY PID controller for homebrewing, I have just finished some tests and also ran some auto-tuning methods (Ziegler-Nichols), now I have the maximum overshoot down to 0,1K, which is really nice. But boy, it takes time! The output is used as PWM control for an SSR with a cycle time of 5 seconds. It must be fun to work with a system that reacts so fast like yours, you get instant feedback and can tweak more or less in realtime. I think, I'll build something similar, just for fun!
Hey man. Can you give some insigths and maybe some articles or content to implement a self tuning pid?
Great demonstration. Suitable for an introduction course in control. I subscribed your channel.
I worked at a company where the PID control was referred to as Pissing In the Dark.
Man those guys sucked. You rock!
hehehe what is the name of that company?
well it kinda is, you have to find the right parameters for it to work really well for your application, though once you find them it can be hella tight, though finding these controll parameters is an art and not really a science
This is a very cool demonstration!
Great demo!
Neato! Thanks for sharing this with the world!
This is a great demo
A masterpiece! It's good you made it silent, because if its needed we could be put on pause without having half a sentence ;)
czcams.com/video/aOl4YwAGyVw/video.html
Great work Gregory
I never quit knew how to prevent windup properly, i used to just reset the error when target was reached and it "worked" but was not how it should be done.
Had a look at your code and now have a better understanding of how to do it
Wow. So nicely explained
Amazing execution, well done
czcams.com/video/aOl4YwAGyVw/video.html
Loved it man. Thank you so much.
Very nice and explanatory demonstration. Thank you :)
+technoshamanarchist Hey, no problem. I'm glad you liked it. Maybe if there's enough interest, I'll do another video on how to build and program it. :)
+Gregory L. Holst That would be great :)
+1 I would love that!
Thanks for sharing your code!
Thank you so much for this video!
so satisfying when it is set up correctly :)
czcams.com/video/aOl4YwAGyVw/video.html
Awesome video! Thank you!
this is awesome, thank you for this!
I dont know why i am here but is so satisfying
Very good teacher! Thanks you!
This demonstration is what they must be showing in classrooms.
Excellent example of PID controller
Thats a fantastic job!
Such a great work!
Amazing. Thanks for sharing! I'm going to study your code now =)
awesome demonstration
czcams.com/video/aOl4YwAGyVw/video.html