State-space description, nonlinear system, inverted pendulum

Click For Summary
The discussion focuses on creating a state-space description for a nonlinear system involving an inverted pendulum on a frictionless cart. The key equations provided describe the dynamics of the system, including the forces acting on the pendulum and the cart. The user expresses difficulty in handling the nonlinear aspects, particularly with the sine and cosine terms, and seeks guidance on forming the state-space matrix. They also mention simulating the system in MATLAB SIMULINK, observing that the pendulum oscillates indefinitely without net displacement, which raises questions about the behavior in a frictionless environment. Overall, the conversation emphasizes the challenges of modeling nonlinear dynamics and the implications of frictionless conditions.
Number2Pencil
Messages
204
Reaction score
1

Homework Statement



Inverted pendulum on a cart on a frictionless surface, write the state-space description of a nonlinear system. outputs are theta(t), theta'(t), y(t), y'(t). Everything is 2-dimensional.

Homework Equations



theta(t) is the angle between the gravity vector and pendulum
y(t) is the horizontal position of the cart.

These were given:

sum of the forces in the horizontal direction:
<br /> \ddot{\theta} = \frac{(M+m)gsin(\theta) - cos(\theta)[u + ml \dot{\theta}^2sin(\theta)}{\frac{4}{3}(m+M)l-mlcos(\theta)^2}<br />sum of the torques about the pivot point:
<br /> \ddot{y} = \frac{u + ml[\dot{\theta}^2sin(\theta) - \ddot{\theta}cos(\theta)}{m+M}<br />

If it matters,

M = mass of cart
m = mass of pendulum
l = arm length of pendulum
u(t) = input force applied to cart

The Attempt at a Solution



I have only done linear systems in state-space description with nice simplified answers and the A matrix was full of constants...not sure what to do in the non-linear case. I did think about linearizing it, but the next problem tells me to linearize it and then compare with the result of this problem...so I'm going to have to do it legit.

I got far enough to define the state-variables...but I have no clue what to do about all the sines and cosines in the equations, or how to properly form the state-space matrix.

Anyone care to hold my hand for a bit?
 
Physics news on Phys.org
Hopefully someone here knows how to "write a state description of the nonlinear system." I did keep moving forward, and simulated the system in MATLAB SIMULINK by just creating a diagram of the given equations.

My new question is, do these plots make sense in a frictionless environment? I'll attach the plots, but basically the position keeps teetering back and forth without actually making any total displacement, and the pendulum keeps swinging perpetually, always reaching a the starting vertical direction (IE, if I set the initial condition at pi/4, it will swing to 7pi/4, then swing in the opposite direction back to pi/4.

I stink at thinking about things without friction.

Prob8_Simulink.png


Prob8_Plot_Smaller.png


Prob8_Position_Plot_Smaller.png


Does this make sense?
 
Last edited:
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
3K
  • · Replies 76 ·
3
Replies
76
Views
7K
Replies
0
Views
2K
Replies
4
Views
4K
Replies
8
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K