Inverted pendulum


by saltine
Tags: inverted, pendulum
saltine
saltine is offline
#1
Dec22-08, 07:06 PM
P: 102
1. The problem statement, all variables and given/known data
I was reading a book and it had this problem:


"The input u is an acceleration provided by the control system and applied in the horizontal direction to the lower end of the rod. The horizontal displacement of the lower end is y. The linearized form of Newton's law for small angles gives

[tex]mL\ddot{\theta} = mg\theta - mu[/tex] . . . (1)

... (then it proceeds to part (a) of the problem.)"

3. The attempt at a solution
My question is about equation (1). Suppose I sum up the forces at the mass m:

First, I see two axes. One is pointing from the ball to the hinge. The other is tangential to the circular movement. The forces pointing to the hinge will be cancelled by the normal force from the rod. Therefore I ignore that. The forces on the tangential direction (clockwise) are:

F = ma = mg sin(θ) + mu cos(θ) . .. . (2)

Here, I moved the acceleration u to the ball because this acceleration is equivalent to one applied at the center of mass of the ball. Now, since a is the tangential acceleration, I could translate it into angular acceleration a = Lα, this gives me:

mLα = mg sin(θ) + mu cos(θ) . . . (3)

This is almost the same as (1). Now when I use small angle approximation:

mLα = mgθ + mu . . . (4)

Why is my sign for mu flipped compared to (1)?

- Thanks
Phys.Org News Partner Science news on Phys.org
Better thermal-imaging lens from waste sulfur
Hackathon team's GoogolPlex gives Siri extra powers
Bright points in Sun's atmosphere mark patterns deep in its interior
tiny-tim
tiny-tim is offline
#2
Dec23-08, 06:00 AM
Sci Advisor
HW Helper
Thanks
tiny-tim's Avatar
P: 26,167
Quote Quote by saltine View Post
Why is my sign for mu flipped compared to (1)?
Hi saltine!

(have a mu: )

(how come you had α and θ but not ? )


Sorry, but your analysis is all wrong

there are two forces on the ball, the gravitational force and the force along the rod

you want to ignore the latter, so you take components perpendicular to the rod, giving a = gθ

but acceleration of ball = acceleration of ball relative to hinge + acceleration of hinge

ie a = Lα +

so Lα + = gθ

(or, without maths, if there's negligible gravity, and you pull the hinge to the right, obviously the rod will swing to the left )
saltine
saltine is offline
#3
Dec23-08, 12:25 PM
P: 102
mu was not a greek letter , it was the mass m times the acceleration u.

How do I determine whether I should include u to the acceleration or as part of a force?


The original setting was Fig 1.

In Fig 4, the ball is attached rigidly to a box that is accelerating at u. From the reference frame of the joint, the ball is not accelerating, so aJoint = 0. From the reference frame of absolute coordinate, the ball is accelerating at u, the same as the box, so aBall In Absolute = aBall in Joint Frame + u = u.

In Fig 3, the ball is sitting inside a frictionless box. The box is accelerating at u. Since there is no force applied to the ball in the Absolute frame, the ball cannot accelerate: aAbsolute = 0. Meanwhile, from the reference frame of the box, the acceleration of the ball is aBall in Box Frame = aBall in Absolute Frame - aBox in Absolute Frame = 0 - u = -u.

In Fig 2, a force Fu is applied to point A in a no gravity environment. In the frame of the center of mass, the pin-shaped object got a torque and would start to spin about the center of mass with angular acceleration α = a/L = Fu/mL. In the absolute frame, the object got a push and its center of mass would translate at aCM in Absolute = Fu/m.

In Fig 1, in the reference frame of A, the ball is falling to the right: aBall in Frame A = gsinθ. In the absolute frame, aBall in Absolute Frame = aBall in Frame A + aA in Absolute Frame = gsinθ + u. This is the wrong result. But why?


In Fig 1, with small angles, the ball is approximately resting on a frictionless surface. In the absolute frame, the ball is accelerating at aBall in Absolute = gsinθ due to gravity, in the frame of A, aBall in Frame A = aBall in Absolute - aA in Absolute = gsinθ - u. This is the same as (1), but is the explanation valid? The implication seems to be that in small angles, the cart does not move the ball sideway, it only moves the ball up or dowm by moving hinge A underneath the ball.


Here is another attempt:

The orientation of the ball is affected by g and u.
The angular acceleration due to g is αg = gsinθ/L. . . . (5)
The angular acceleration due to u is αu = -ucosθ/L. . . . (6)
The total angular acceleration is α = gsinθ/L - ucosθ/L.
In small angle approximation, α = gθ/L – u/L.

In this explanation, how do I justify (5) and (6)?

tiny-tim
tiny-tim is offline
#4
Dec24-08, 04:03 AM
Sci Advisor
HW Helper
Thanks
tiny-tim's Avatar
P: 26,167

Inverted pendulum


Hi saltine!
Quote Quote by saltine View Post
In Fig 1, in the reference frame of A, the ball is falling to the right: aBall in Frame A = gsinθ. In the absolute frame, aBall in Absolute Frame = aBall in Frame A + aA in Absolute Frame = gsinθ + u. This is the wrong result. But why?
Sorry, but I just don't like your terminology from this point onward
acceleration of ball = acceleration of ball relative to hinge + acceleration of hinge
you're saying that acceleration of ball relative to hinge = gsinθ it isn't!

you can only find the acceleration from good ol' Newton's second law, and for that you need an inertial frame, which the hinge isn't

that's all there is to it!

You must use an inertial frame, and in this case the only candidate is the stationary frame, so you use
Quote Quote by tiny-tim View Post
there are two forces on the ball, the gravitational force and the force along the rod
and take components perpendicular to the rod.
saltine
saltine is offline
#5
Dec26-08, 07:46 PM
P: 102
I am confused because u is not a force but just acceleration.



In Fig 1, there are two forces acting on the ball. The component of mg that is parallel to the rod is cancelled by the normall force from the rod, so the net force at the ball is only mg sinθ.

You said:

acceleration of ball = acceleration of ball relative to hinge + acceleration of hinge


And that the acceleration of the ball is a = F/m = g sinθ. Therefore g sinθ must also equal Lα + u.






In Fig 5, the situation is similar except that u is now from an external force, Fu = Mu. Is this situation the same? Why is/isn't Fu part of the net force acting on the ball?


- Thanks
saltine
saltine is offline
#6
Dec29-08, 09:21 PM
P: 102
I found another way to explain the original situation:

When a rocket accelerates sideway, the perceived gravity is in the opposite direction of the acceleration.


Therefore with the applied the acceleration u to the cart, the "gravity" that the ball perceives is the sum g + -u. Now I could take the tangential component due to this perceived gravity:

Net Tangential Force = maT = mg sinθ - mu cosθ

Since aT = α L,

m α L = mg sinθ - mu cosθ.

With small angle approximation:

[tex]mL\ddot{\theta} = mg\theta - mu[/tex]

Which is equation (1) !

This is the only way I understand it at the moment.
tiny-tim
tiny-tim is offline
#7
Dec30-08, 05:44 AM
Sci Advisor
HW Helper
Thanks
tiny-tim's Avatar
P: 26,167
Hi saltine!
Quote Quote by saltine View Post
I am confused because u is not a force but just acceleration.
Then it just goes onto the acceleration side of F = ma

you add it to the other (rotational) acceleration.
In Fig 1, there are two forces acting on the ball. The component of mg that is parallel to the rod is cancelled by the normall force from the rod, so the net force at the ball is only mg sinθ.
I didn't understand this at all.

The net force on the ball is mg sinθ plus the force from the rod.

Nothing is cancelled (what is it to be cancelled with?)

the reason why you leave out the mg cosθ is not because its cancelled, but simply because you're only looking at tangential components.
In Fig 5, the situation is similar except that u is now from an external force, Fu = Mu. Is this situation the same? Why is/isn't Fu part of the net force acting on the ball?
Fu isn't "part of the net force acting on the ball" because isn't acting on the ball at all

you must decide which body you're applying Netwon's second law to, and then only use the forces on that body

your book is using the ball as the body, so the only forces on it are mg and the force from the rod

any force on anything else is irrelevant.

Quote Quote by saltine View Post
Net Tangential Force = maT = mg sinθ - mu cosθ

Since aT = α L,

m α L = mg sinθ - mu cosθ.

With small angle approximation:

[tex]mL\ddot{\theta} = mg\theta - mu[/tex]
This is much better you've used the same method as your book, except that you've moved the mu cosθ from one side of the equation to the other, by using the accelerating frame.

(The tangential force is mg sinθ, and the tangential acceleration (times mass) is mαL + mu cosθ)

This isn't necessary

and it's risky, because it's so easy to get the sign wrong.

Your book just uses the stationary frame, and uses only tangential components, so that there's only one component of force on the ball, and the acceleration is split into two parts.


Register to reply

Related Discussions
inverted pendulum Introductory Physics Homework 1
Inverted pendulum General Physics 1
Lagrangian for inverted pendulum Advanced Physics Homework 3
Lagrangian of inverted pendulum Introductory Physics Homework 0
Inverted Simple Pendulum Introductory Physics Homework 2