Mass-spring-damper system "shock absorber"

2 replies · 2K views · last reply
vaitus
Messages
2
Reaction score
0

Homework Statement


Find equations of motion for mechanical system given by picture, where m = 1kg, k1 = 10, k2 = 25, b = 3 and natural lengths of springs are a1 = 1m, a2 = 2m. The whole system is in a gravitational field g = 9.81m/s^2

Homework Equations

The Attempt at a Solution


I came up with
[tex]m\ddot{y} = -k_2 y + k_1 (q-y) + mg \\<br /> b\dot{q} = -k_1(q-y)[/tex]
but whenever I try to model it in simulink it doesn't seem right.
 
Attachments
  • Diagram of a mass-spring-damper system: mass m with downward force f, a spring k2 to the ground, and a spring k1 in series with damper b to the ground, with displacements y and q marked.
    Smj0.png
    99 KB · Views: 559
vaitus said:
it doesn't seem right
In what respect ?

Anyway, you can check what you get for k1=0 and for k2=0
 
When I let k1=k2=0 the mass will just keep falling, which is ok (second picture). But when k1, k2 is what it should be then (second pic), I would guess they shouldn't have an equilibrium state at the same place.

EDIT: Oh, It should be this way because it isn't the position but it's displacement and when it doesn't have mass (the q) then it should be this.
Ok, anyway thanks
 
Attachments
  • Simulation scope plot of two damped oscillating curves, yellow and blue, settling toward about 0.3925 over time from 0 to 10 seconds, with the y-axis running from 0.389 to 0.393.
    first.png
    8.1 KB · Views: 556
  • Simulink Scope window plotting a yellow curve that rises steeply from near zero to about 490 over time 0 to 10, with a flat blue line along zero.
    second.png
    5.8 KB · Views: 522
Last edited: