r/ControlTheory • u/No_Alarm123 • Sep 01 '26
Asking for resources (books, lectures, etc.) Need help building inverted pendulum
This is going to be my biggest project yet. I’ve done quite a bit of research, but I’m currently stuck and honestly don’t know how to proceed from here.
I’m also looking for someone who’s willing to work on this project with me. The idea is that we both build the same thing independently at home, share our progress and insights along the way, and help each other figure things out. If we’re successful, we could even take it a step further and try building a double-pendulum balancing system.
Has anyone here worked on or built something similar before? I’d love to hear about your experience, resources, or projects.
Also, what tools, components, software, or other equipment would you recommend for building something like this?
Thanks
•
u/candidengineer Sep 01 '26
What is the purpose of your project and/or why are you interested in it?
→ More replies (0)
•
u/Glittering-Break-857 Sep 03 '26
This is from my lab: https://github.com/primbiolab/IPFramework. We developed swing + LQR and trained SAC and DDPG. We uploaded everything, including cad, circuit schematics, Arduino firmware and python code for the windows app.
•
u/meecsdotgeek Sep 02 '26
It kinda sounds like you are coming at this from an EECS background and need help with the ME side, is that correct? Are you in a controls class currently? Some basic tools to get you started would be OnShape for 3D CAD - free and there are a lot of tutorials out there. You can also browse McMaster Carr for components. Those will probably be expensive for a hobby/student project, but things are organized nicely and you can get an idea of what's out there and then see how close you can get with parts from Amazon etc.
•
u/Timely-Bicycle-3107 Sep 01 '26
Cool idea!
I wish this subreddit had a recommended kit that we could buy. That would be best for comparing controllers, noise/disturbances, troubleshooting, and sharing code.
What’s your budget? Would you be willing to get a kit? Can anyone recommend an inverted pendulum kit?
→ More replies (0)
•
u/funked1 Sep 01 '26
There should be plenty of published research articles that can help. We built quite a few machines like this at Illinois in the 90’s.
•
u/tdehaeze Sep 01 '26
I made this one using rather cheap components: https://github.com/tdehaeze/inverted-pendulum
→ More replies (0)
•
u/dbaechtel2 Sep 06 '26
Use Position, Velocity, and Acceleration PID algorithms with feed-forwards.
Compute the carriage motion commands based on the angular position and velocity of the rod and the current motion of the carriage..
You can use a Fuzzy Logic rule-based controller if you wish:
* If the carriage is stopped and the position of the rod is centered, and the angular velocity of the rod is zero, then the carriage should remain motionless.
* If the position of the rod is to the Right, then the carriage should accelerate to the Right to center the position of the rod over the carriage.
* If the position of the rod is to the Left, then the carriage should accelerate to the Left to center the position of the rod.
* Add more rules...
•
•
u/JoTheScienceBro Sep 01 '26
Hardware-wise you should minimize friction. Then, simply do a 2dof lqr/lqg with flatness-based feedforward.
→ More replies (0)
•
u/AutoModerator Sep 01 '26
It seems like you are looking for resources. Have you tried checking out the subreddit wiki pages for books on systems and control, related mathematical fields, and control applications?
You will also find there open-access resources such as videos and lectures, do-it-yourself projects, master programs, control-related companies, etc.
If you have specific questions about programs, resources, etc. Please consider joining the Discord server https://discord.gg/CEF3n5g for a more interactive discussion.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.