Help with Inverted Pendulum on Cart EoM

Click For Summary
SUMMARY

The discussion focuses on deriving the equations of motion for an inverted pendulum on a cart, specifically analyzing the forces acting on the pendulum. The equation of interest is N = m*x'' + m*L*theta''*cos(theta) - m*L*(theta')^2*sin(theta), where N represents the horizontal reaction force at the pivot. Key components include m*x'' for horizontal acceleration, m*L*theta''*cos(theta) for torque due to rotational acceleration, and m*L*(theta')^2*sin(theta) for centripetal acceleration. The participant seeks clarity on the derivation of these terms and how to ensure all forces are accounted for in the analysis.

PREREQUISITES
  • Understanding of Newton's laws of motion
  • Familiarity with rotational dynamics and torque
  • Knowledge of centripetal acceleration concepts
  • Basic control theory principles
NEXT STEPS
  • Study the derivation of equations of motion for dynamic systems
  • Learn about free body diagrams in mechanical systems
  • Explore the concept of torque in rigid body dynamics
  • Investigate methods for verifying force balance in dynamic models
USEFUL FOR

Mechanical engineers, control system designers, and students studying dynamics and control theory will benefit from this discussion.

macardoso
Messages
4
Reaction score
1
TL;DR
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
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

Replies
4
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K