Inverted Pendulum on a Cart -- Nonlinear State Space equations

Click For Summary
SUMMARY

The discussion focuses on deriving the nonlinear state space equations for an Inverted Pendulum on a Cart system, specifically with two degrees of freedom represented by the variables x, x_dot, theta, and theta_dot. Key parameters include the mass of the pendulum (m), mass of the cart (M), length of the pendulum line (L), gravitational acceleration (g), friction (d), and the force applied to the cart (u). The user references MATLAB code that successfully implements the system but seeks clarification on the derivation of the equations. Various state space equations found in research are noted as differing, indicating a need for a standardized approach.

PREREQUISITES
  • Understanding of nonlinear dynamics
  • Familiarity with state space representation
  • Proficiency in MATLAB for simulation
  • Knowledge of control theory principles
NEXT STEPS
  • Study the derivation of nonlinear state space equations for mechanical systems
  • Explore MATLAB's Control System Toolbox for simulating dynamic systems
  • Investigate the impact of friction on system stability in inverted pendulum models
  • Learn about Lyapunov stability analysis for nonlinear systems
USEFUL FOR

Mechanical engineers, control system designers, and robotics enthusiasts interested in modeling and controlling inverted pendulum systems.

elecboss
Messages
1
Reaction score
0
Hi good day. I am trying to find the general Inverted Pendulum on a cart nonlinear state space equations with two degrees of freedom with x, x_dot, theta, theta_dot which represents displacement, velocity, pendulum angle from vertical, angular velocity. However from research, I am seeing different state space equations. In the image attached is Matlab code I found that gives the proper functionality but I am not sure how it was derived.
y-state
m-mass of the pendulum
M- mass of the cart
L- length of pendulum line
g- gravity
d- friction
u- force on cart
The other image shows the closest set of equations I found but I am unsure. Please help thank you.

ss.JPG
ss2.JPG
 

Attachments

  • ss.JPG
    ss.JPG
    15.5 KB · Views: 862
  • ss2.JPG
    ss2.JPG
    11.4 KB · Views: 1,229
Technology news on Phys.org

Similar threads

Replies
23
Views
4K
Replies
0
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
11
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K