Modelling Inverted Pendulum With 2 Propellers (Control Engineering)

AI Thread Summary
The discussion focuses on developing a control system for an inverted pendulum with two propellers, emphasizing the need to derive equations of motion and transfer functions for effective control. Users suggest utilizing Matlab's symbolic package and creating free body diagrams to aid in the derivation process. The participant experiences challenges with PID control, noting excessive thrust requirements leading to overshoot and oscillation when stabilizing the pendulum. A proposed solution is to reduce the pendulum's moment of inertia by drilling holes, which may facilitate smoother control. The community seeks confirmation on this approach and alternative solutions for better stabilization.
Pipsqueakalchemist
Messages
138
Reaction score
18
TL;DR Summary
I'm trying to model an inverted pendulum attached to cart system with 2 propellers at the top of the pendulum. The 2 propellers are meant to be controlled by a controller (PID and pole placement) to keep the pendulum in an upright position. Impulse disturbances are applied to the cart both at the top of the pendulum as well as to the cart.
Hello so as the summary suggests I'm trying to develop a controls system model of an inverted pendulum cart system with 2 propellers on top of the pendulum. I'm trying to obtain the equations of motion and I was wondering if I should include the impulse disturbances forces when trying to develop the equation of motion of the system. I have an image below just missing the 2 propellers on top of the pendulum. Also any advice into designing the controller to better react to impulse disturbance is appreciated. Also my derivation skills aren't good so if there's any resources such as software (matlab or python) to help me derive the equation of motion, that would also be appreciated. Thank you

Screenshot 2024-11-15 at 9.26.09 PM.png
 
Engineering news on Phys.org
Matlab has a symbolic package, which can help with arranging formulas, when working on the derivations. I would create some free body diagrams to account for the forces and motions involved to start. An inverted pendulum can be balanced with just a moving cart. Once you have that solved then could try adding more complexity such as propellers.
 
scottdave said:
Matlab has a symbolic package, which can help with arranging formulas, when working on the derivations. I would create some free body diagrams to account for the forces and motions involved to start. An inverted pendulum can be balanced with just a moving cart. Once you have that solved then could try adding more complexity such as propellers.
Hello, I think I obtained the equations of motion of my system. I'm trying to perform pole placement control so for that I need to obtain the transfer function. But the problem is that the equations are very nasty and large so by hand is very difficult, would it also be possible to use Matlab to obtain the transfer function so I can use pole placement?

Thanks
 
Are you working with it in the time domain? If so, you'll need to perform a Laplace transform. I'm not sure how Maylab does that (it's been awhile) but they have help and a forum.

Also, you could use Maple or probably Mathematica to do this, as well.
 
[Mentor Note: Duplicate thread start merged into the original thread]

Hello so as the summary suggests, I'm trying to develop a controls system to control the angular position of an inverted pendulum. After doing some experiment today using a PID controller to control both propellers to keep the pendulum upright. I found that the propeller required a lot of thrust to move the pendulum especially when the pendulum was falling to one side, the propeller on the side the pendulum was leaning required a lot of thrust to move the pendulum back to the upright position. I felt the thrust caused a lot of overshoot and oscillation around the upright position rather then slowly settling into the upright position. I want the pendulum to smoothly settle down back into the angular position when pushed to one side, not just overshoot and oscillate.

I hypothesize that it would be easier if I reduced the moment of inertia of the pendulum hence reducing its resistance to motion and hence required less thrust to move and hence easier to control. Any experienced controls engineering can confirm if this is a viable solution or have any other alternatives solution, I'm all ears.

Thank you.

Edit : Forgot to mention, the way I was planning to reduce moment of inertia of pendulum was to drill holes through it. I feel like I should drill the holes at the top of the pendulum, that just seems intuitively better to improve ease of control using propellers. Is this correct or not?
 
Last edited by a moderator:
Posted June 2024 - 15 years after starting this class. I have learned a whole lot. To get to the short course on making your stock car, late model, hobby stock E-mod handle, look at the index below. Read all posts on Roll Center, Jacking effect and Why does car drive straight to the wall when I gas it? Also read You really have two race cars. This will cover 90% of problems you have. Simply put, the car pushes going in and is loose coming out. You do not have enuff downforce on the right...
I'm trying to decide what size and type of galvanized steel I need for 2 cantilever extensions. The cantilever is 5 ft. The space between the two cantilever arms is a 17 ft Gap the center 7 ft of the 17 ft Gap we'll need to Bear approximately 17,000 lb spread evenly from the front of the cantilever to the back of the cantilever over 5 ft. I will put support beams across these cantilever arms to support the load evenly
Thread 'What's the most likely cause for this carbon seal crack?'
We have a molded carbon graphite seal that is used in an inline axial piston, variable displacement hydraulic pump. One of our customers reported that, when using the “A” parts in the past, they only needed to replace them due to normal wear. However, after switching to our parts, the replacement cycle seems to be much shorter due to “broken” or “cracked” failures. This issue was identified after hydraulic fluid leakage was observed. According to their records, the same problem has occurred...
Back
Top