Professional Documents
Culture Documents
Ross Drummond
ross.drummond@sheffield.ac.uk
1/33
Mechanical Systems
2/33
Interconnecting laws
Translational Mechanical Systems
2. Law of displacements
If the ends of two elements are connected, those ends move
with the same displacement and velocity.
3/33
Interconnecting laws
3. D’Alembert’s Law
▶ When the mass of a single element system is constant →
Re-statement of Newton’s second law:
X dv X dv
(fext )i = M ⇐⇒ (fext )i − M = 0.
dt dt
i i
3. D’Alembert’s Law
▶ Fundamentally the same as Newton’s second law.
▶ Identical for a single element system with constant mass.
▶ Easier to get the sign right(!)
▶ Can be applied at any point (e.g. junctions).
▶ Better for:
▶ Multi-body systems.
▶ Non-inertial reference frames.
▶ Non-constant mass systems.
fK fa
M
fB fI
5/33
Developing a system model
Translational Mechanical Systems
6/33
Developing a system model
Translational Mechanical Systems
K K
M fa M fa
B B
fa-Mx-Bx-Kx = 0 -fa+My+By+Ky = 0
7/33
Translational Mechanical Systems
fK fa
M
fB fI
8/33
Translational Mechanical Systems
Example: Simple mass-spring-damper system
2. D’Alembert’s law to the mass
fa (t) − fI (t) − fB (t) − fK (t) = 0.
fa (t) − M ẍ + B ẋ − Kx = 0.
4. Derive ODEs
fa (t) = M ẍ + B ẋ + Kx
9/33
Relative displacement - motion
Translational Mechanical Systems
x v y x v
K K
M fa M M fa
B B
10/33
Relative displacement - motion
Translational Mechanical Systems
11/33
Relative displacement - motion
Translational Mechanical Systems
12/33
Relative displacement - motion
Translational Mechanical Systems
Mg
x0 =
K
13/33
Relative displacement - motion
Translational Mechanical Systems
which is equivalent to
M z̈ + B ż + K (x0 + z) = Mg + fa (t)
M z̈ + B ż + Kz = fa (t)
14/33
Adjustable suspension of a sports car
Driver C3 Seat-back friction
M3 z
Seat
Seat Seat spring
damping
C1 K1 y
M2 Chasis
Shock absorbers Springs
C2 K2 x
M1 Wheels, axles, etc
r K3 Tyre
Ground
which is equivalent to
−C3 ż − C1 ż − K1 z − M3 (z̈ + ÿ + ẍ + r̈ ) = 0
16/33
Developing the model for the chassis
which is equivalent to
C3 ż + C1 ż + K1 z − K2 y − C2 ẏ − M2 (ÿ + ẍ + r̈ ) = 0
17/33
Developing the model for the suspension
which is equivalent to
K2 y + C2 ẏ − K3 x − M1 (ẍ + r̈ ) = 0
18/33
Developing the model for the whole system
Full model described by the three equations:
−C3 ż − C1 ż − K1 z − M3 (z̈ + ÿ + ẍ + r̈ ) = 0.
C3 ż + C1 ż + K1 z − K2 y − C2 ẏ − M2 (ÿ + ẍ + r̈ ) = 0.
K2 y + C2 ẏ − K3 x − M1 (ẍ + r̈ ) = 0.
Laplace Transform
ODEs
Mathematical models Transfer function
21/33
Basic Laplace transforms
Assuming initial conditions zero: y (0) = 0 and ẏ (0) = 0, then:
L
y (t) −→ Y (s).
L
ẏ (t) −→ sY (s).
L
ÿ (t) −→ s2 Y (s).
M ÿ + C ẏ + Ky = 0.
Ms2 + Cs + K Y (s) = 0.
22/33
Developing the model for the whole system
−C3 ż − C1 ż − K1 z − M3 (z̈ + ÿ + ẍ + r̈ ) = 0.
C3 ż + C1 ż + K1 z − K2 y − C2 ẏ − M2 (ÿ + ẍ + r̈ ) = 0.
K2 y + C2 ẏ − K3 x − M1 (ẍ + r̈ ) = 0.
23/33
Developing the model for the whole system
−C3 ż − C1 ż − K1 z − M3 (z̈ + ÿ + ẍ + r̈ ) = 0.
C3 ż + C1 ż + K1 z − K2 y − C2 ẏ − M2 (ÿ + ẍ + r̈ ) = 0.
K2 y + C2 ẏ − K3 x − M1 (ẍ + r̈ ) = 0.
24/33
Developing the model for the whole system
2 2 2 2
Z − M3 s − C3 s − C1 s − K1 − M3 (s Y + s X + s R) = 0.
Z C3 s + C1 s + K1 − Y K2 + C2 s + M2 s2 − M2 (s2 X + s2 R) = 0.
Y K2 + C2 s − X K3 + M1 s2 − M1 s2 R = 0.
Which yields
M3 s2
Z =− Y +X +R
M3 s2 + (C1 + C3 )s + K1
M2 s 2 (C1 + C3 )s + K1
Y =− X +R 2
+Z
M2 s + C2 s + K2 M2 s2 + C2 s + K2
C2 s + K2 M1 s2
X =Y − R
M1 s2 + K3 M1 s2 + K3
M3 s2
Z = − Y + X + R G1 .
G1 =
M3 s2 + (C1 + C3 )s + K1
Y = − X + R G2 + ZG3 .
X = YG4 − RG5 . M2 s2
G2 =
M2 s2 + C2 s + K2
(C1 + C3 )s + K1
G3 =
M2 s2 + C2 s + K2
C2 s + K2
G4 =
M1 s2 + K3
M1 s2
G5 =
M1 s2 + K3
26/33
Developing the model for the whole system
The Laplce transform allows us to think of the ODEs of the
mathematical model
−C3 ż − C1 ż − K1 z − M3 (z̈ + ÿ + ẍ + r̈ ) = 0.
C3 ż + C1 ż + K1 z − K2 y − C2 ẏ − M2 (ÿ + ẍ + r̈ ) = 0.
K2 y + C2 ẏ − K3 x − M1 (ẍ + r̈ ) = 0.
r M 1s 2 M 2s 2
M1s2+K3 M2s2+C2s+K2
G5 G2
C2s+K2
M1s2+K3
x G4
-M3s2 (C1+C3)s+K1
M3s2+(C1+C3)s+K1 z M2s2+C2s+K2
y
G1 G3
27/33
Implementing the model in Simulink
Z = − Y + X + R G1
Y = − X + R G2 + ZG3
X = YG4 − RG5
28/33
Simulating the model
29/33
Full racing track simulation
30/33
Global performance measures
31/33
In-class test - Week 7
32/33
Lecture 6: Take-home points
33/33