Converting a simple mass-spring system to state-space model, how?

Click For Summary
SUMMARY

The discussion focuses on converting a simple mass-spring system described by the differential equation m*x" + k*x = f(t) into a state-space model. The parameters provided are m = 5 and k = 1. The user correctly identifies the need for two state variables, x1 = y and x2 = y', leading to the formulation of the state-space matrices A, B, C, and D. The final matrices are A = [0 1; -1/5 0], B = [0; 1], C = [1 0], and D = [0], which accurately represent the system dynamics.

PREREQUISITES
  • Understanding of differential equations, specifically second-order systems.
  • Familiarity with state-space representation in control theory.
  • Knowledge of matrix algebra and operations.
  • Basic concepts of mass-spring systems in physics.
NEXT STEPS
  • Study the derivation of state-space models from differential equations.
  • Learn about the stability analysis of state-space systems.
  • Explore MATLAB's Control System Toolbox for simulating state-space models.
  • Investigate the application of state-space models in control system design.
USEFUL FOR

Students in engineering or physics courses, control system engineers, and anyone interested in modeling dynamic systems using state-space representation.

cb951303
Messages
16
Reaction score
0

Homework Statement



Hi guys/girls

Professor gave this very simple homework where I need to convert the system below to a state-space model.
Mass_spring.png

The system itself is represented by the equation
Code:
m*x" + k*x = f(t)
Where m = 5 and k = 1. Note that, " (doublequote) is a second-order derivative.
Unfortunately I don't have the background to solve it because I slacked too much :redface:

Homework Equations


State-space model that we use is below:
ddfd74546a0e35f9ec054af2ecd3f2fa.png

d0ac09f5cde2ce822ecc3e369692d04b.png


Any help&explanation would be appreciated, thank you.

EDIT: Ok, I've just read the rules and apparently I'm not allowed to as for solutions without an attempt to solve it. Since I can't even attempt, may I ask a good place/source to start?
 
Last edited by a moderator:
Physics news on Phys.org
attempt:

Code:
5y" + 0y' + y = u

since my diff. eq. is second order, I should have 2 state variables:
Code:
x1 = y
x2 = y'
so the state space model's matrixes become
Code:
A = [ 0 1 ]   B = [ 0 ]
    [ 1 0 ]       [ 1 ]

C = [ 1 0 ]   D = [ 0 ]

does it look ok?
 
Dude,

A = [0 1]
[(-k/m 0]

-k/m = -1/5 lol!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
7
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
3K