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
20
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:
How did you find PF?: Via Google search Hi, I have a vessel I 3D printed to investigate single bubble rise. The vessel has a 4 mm gap separated by acrylic panels. This is essentially my viewing chamber where I can record the bubble motion. The vessel is open to atmosphere. The bubble generation mechanism is composed of a syringe pump and glass capillary tube (Internal Diameter of 0.45 mm). I connect a 1/4” air line hose from the syringe to the capillary The bubble is formed at the tip...
I need some assistance with calculating hp requirements for moving a load. - The 4000lb load is resting on ball bearing rails so friction is effectively zero and will be covered by my added power contingencies. Load: 4000lbs Distance to travel: 10 meters. Time to Travel: 7.5 seconds Need to accelerate the load from a stop to a nominal speed then decelerate coming to a stop. My power delivery method will be a gearmotor driving a gear rack. - I suspect the pinion gear to be about 3-4in in...
Thread 'Calculate minimum RPM to self-balance a CMG on two legs'
Here is a photo of a rough drawing of my apparatus that I have built many times and works. I would like to have a formula to give me the RPM necessary for the gyroscope to balance itself on the two legs (screws). I asked Claude to give me a formula and it gave me the following: Let me calculate the required RPM foreffective stabilization. I'll use the principles of gyroscopicprecession and the moment of inertia. First, let's calculate the keyparameters: 1. Moment of inertia of...
Back
Top