Help with Inverted Pendulum on Cart EoM

In summary: The terms in parentheses are the torque on the pendulum due to those accelerations. In summary, the goal is to implement a working inverted pendulum on a cart with an industrial linear motor. The equation of motion is derived and it is unclear where the terms in parentheses come from. It is assumed that the inertia of the rigid body is accounted for. The displacement of the cart is x and the acceleration of the pendulum relative to the cart has tangential and radial components. The two terms are the horizontal components of those.
  • #1
macardoso
4
1
TL;DR Summary
Working engineer trying to relearn some control theory. Help me understand the derivation for the Inverted Pendulum on a Cart Equations of Motion
Hi All,

My goal is to relearn some control theory and implement a working inverted pendulum on a cart with an industrial linear motor. See video:

Working through an example of an inverted pendulum on a cart posted here: https://ctms.engin.umich.edu/CTMS/index.php?example=InvertedPendulum&section=SystemModeling

1676249581944.png


I'm on the part where the pendulum on a cart is broken into free body diagrams and the equations of motion are derived. In the equation below, the horizontal forces on the pendulum are summed to create an equality to the reaction force at the pendulum pivot "N".

When I'm looking at the "Force analysis and system equations", I am trying to understand where all the components of equation (2) come from. I know this is probably elementary, however I am missing some of the steps that are likely glossed over in this example. The equation is:
N = m*x'' + m*L*theta''*cos(theta) - m*L*(theta')^2*sin(theta)

OK, so I understand why "N" is here, it is the horizontal reaction force at the pivot.

m*X'' also makes sense as this is the force felt by the pendulum due to any horizontal acceleration of the system.

I don't understand the term m*L*theta''*cos(theta). I think this might be a torque due to rotational acceleration of the pendulum, but if so, where is the inertia of the rigid body accounted for?

I'm rather unclear about this one, but I have a feeling that m*L*(theta')^2*sin(theta) comes from centripetal acceleration in the form F=m*r*(theta')^2.

I guess one additional question I have is how we know we have actually accounted for all the forces. In this example, I know the end solution so it was easy to see when I was missing something, but if I didn't how would I know if I forgot the centripetal acceleration?
 
Engineering news on Phys.org
  • #2
macardoso said:
m*X'' also makes sense as this is the force felt by the pendulum due to any horizontal acceleration of the system.

I don't understand the term m*L*theta''*cos(theta). I think this might be a torque due to rotational acceleration of the pendulum, but if so, where is the inertia of the rigid body accounted for?

I'm rather unclear about this one, but I have a feeling that m*L*(theta')^2*sin(theta) comes from centripetal acceleration in the form F=m*r*(theta')^2.

I guess one additional question I have is how we know we have actually accounted for all the forces. In this example, I know the end solution so it was easy to see when I was missing something, but if I didn't how would I know if I forgot the centripetal acceleration?
x is the displacement of the cart. The acceleration of the pendulum relative to the cart has tangential and radial components. The two terms are the horizontal components of those.
 

Similar threads

  • Mechanical Engineering
Replies
19
Views
1K
  • Introductory Physics Homework Help
Replies
20
Views
1K
  • Introductory Physics Homework Help
Replies
9
Views
754
  • Mechanical Engineering
Replies
1
Views
1K
Replies
2
Views
123
  • Programming and Computer Science
Replies
1
Views
2K
Replies
3
Views
839
Replies
1
Views
87
  • Introductory Physics Homework Help
Replies
1
Views
145
  • Programming and Computer Science
Replies
23
Views
3K
Back
Top