week 3
week 3
A= 946528173
B= 316490857
C= 704382651
• Mechanical systems are perhaps the most intuitive systems to model, since
models are derived from applying Newton’s 2nd law (F = ma) to each mass (or
inertia) element in a mechanical system
• Inertia elements can store potential energy (PE) due to position in a gravity field
and kinetic energy (KE) due to motion
1 2
mx translational system KE
2
PE = mgh KE = 1 2
J rotational system KE
2
Mechanical Element Laws
Stiffness Elements
• When a mechanical element stores energy due to a deformation, it can be modeled by
a stiffness element, such a linear spring constant for translational systems, or a
torsional spring constant for rotational systems
Displacemen
t (m)
Positive convention for
displacement x is to the right
F kx
spring Spring
constant
(N/m)
Mechanical Element Laws
Stiffness Elements
• When both ends of a spring are free to move, then the force required to stretch
or compress a spring depends on the relative displacement
F k ( x2 x1 )
Force Deflecting the free ends of the spring
Unstarched equilibrium
Torsional
spring
Clockwise direction
+ve angular displacement T k (N-m/rad)
EA
k
L Moment of inertia is a measurement of an
object’s resistance to angular acceleration.
E = Young’s modulus of elasticity, A = cross- Polar moment of inertia is a
sectional area, L = length measurement of an object’s resistance to
torsion (twisting).
• Rod or shaft in torsion:
• Shaft angular deflection due to the applied torque
Polar moment of
d 4 G inertia of shaft
k
32 L
• When a mechanical element dissipates energy due to friction, it can be modeled by a damper (or
dashpot) element
– Friction or damper elements (below) provide energy-dissipative forces when relative motion exists
between two bodies
– For a linear or ideal damper (below) the force-velocity relationship is
F b( x 2 x 1 )
where F = friction force (N), x 2 x 1 is the velocity of the piston relative to the cylinder (m/s) and b =
“viscous friction coefficient” (N-s/m)
x 2
F bx 2 x 1
Translational
Damper
viscous friction
x 1 coefficient(N-s/m)
Friction Elements
• For an ideal torsional (rotational) damper, the resistive torque is proportional to the relative
angular velocity
T b b(2 1 ) b(2 1 )
Torsional viscous
friction coefficient(N-m-
s/rad)
• As with the spring element, a damper element is a generic method for modeling friction in a
mechanical system; it does not have to represent a physical piston-cylinder dashpot
• Ideal lever (no inertia and friction): cannot store or dissipate energy
f1 L1 cos f 2 L2 cos
For small f1 L1 f 2 L2
f1 L1
If f1 is the input force then f2
L2
Mechanical Transformers
• Ideal gear train: Increase/decrease the angular velocity/torque (no friction/inertia)
r2 n2
N = “gear ratio”
r1 n1
(equally spaced teeth)
T1 2
T11 T2 2
T2 1
Translational Mechanical Systems:
Two-Step Process
• Each inertia element ( m ) will result in a 2nd-order ODE because acceleration is the 2nd
derivative of position
Modeling Mechanical Systems
Example
• A high-speed solenoid actuator-valve system is shown below; derive the mathematical model of
the mechanical system.
– Displacement is positive to the right, measured from seated position
– The electromagnetic force (Fem) pulls the armature toward the center of the coil and closes the air gap
Solenoid Actuator-Valve Example
• A mechanical model of the solenoid system is below
Position of
armature-valve
mass
External
force app. to
m
– The friction due to hydraulic fluid is modeled by ideal damper with viscous friction b
Solenoid Actuator-Valve Example
• Free-body diagram of the mechanical model:
Free-body diagram
– It may help to imagine a positive displacement (x > 0) which in turn compresses the spring and hence
spring force
Summing acts(positive
forces to the leftto the right) on the FBD results in
+ F kx bx F em mx
Re-arranging, we get the mathematical model of the solenoid system:
1 inertia element 2nd-order model
(i.e., linear 2nd-order ODE)
mx bx kx Fem
In general: One 2nd-order ODE) for each
inertia element.
Vertical Translational Systems
Example
• Derive the mathematical model of the mechanical system.
– Displacement is positive downward, measured from the undeflected position of the spring
Free-body diagram
• Using the free-body diagram (above and right) and summing forces we obtain
the mathematical model
F kx bx mg mx mx bx kx mg Model
nd
(2 -order ODE)
Vertical Translational Systems
Example (without mg term)
• First, assume that the mechanical system is in static equilibrium where
x x 0
0 0
mx bx kx mg kx = mg
Model
mz bz k d z mg mz bz kz 0 (2nd-order ODE)
Example
Mechanical
model
M 1: F k ( z z ) b ( z z ) k ( z
2 1 2 2 1 2 1 1 zo ) b1 ( z1 zo ) m1z1
M 2 : F k ( z z ) b ( z z ) m z
2 1 2 2 1 2 2 2 k2 ( z1 z2 ) b2 ( z1 z2 )
m1
z1 b1 z1 k1 z1 k 2 ( z1 z2 ) b2 ( z1 z 2 ) k1 zo b1 z o
m2
z2 b2 ( z1 z2 ) k 2 ( z1 z2 ) 0
k1 ( z1 zo ) b1 ( z1 zo )
• Coulomb or dry friction has magnitude Fdry = kN, where k is the coefficient of
kinetic friction; N = normal force
Mechanical Systems with Nonlinearities
Example
• Free-body diagram with dry friction force included
Re-arranging, we
obtain the model: mx bx Fdry sgn( x ) kx Fem
Mechanical Systems with Nonlinearities
Example
F F em FC kx FPL bx
Fdry sgn( x) mx
Fem FC FPL 0
FC FPL Fem
Rotational Mechanical Systems:
Two-Step Process
Free-body
diagram
Positive rotation
is clockwise
The bearing friction and the fluid friction lumped into a single rotational friction coefficient b.
That frictional torque will oppose the motion
Summing torques on disk (positive is clockwise):
• Toroidal-segment piston (disk J1 ) is matched with a toroidal-segment cylinder (disk J2 ); both rotate
about a common axis
• Positive angular displacements are measured clockwise from their untwisted (equilibrium)
positions
• A diesel engine provides external torques Tin(t) that appear as equal-and-opposite pairs on both
disks
Dual-Disk Mechanical System
Example
Free-body diagram
Positive rotation is clockwise
• Summing torques on each disk (positive is clockwise): Note equal-and-opposite torques
• Resistors (R) hinder the flow of current and dissipate electrical energy by
converting it into heat (analogous to friction elements)
Ohm’s law
eR RI Ideal linear resistor
R eR I RI 2 Where I q
Capacitor
• Capacitors (C) are two conductors separated by a
dielectric (insulator)
1 2
L LI L Power is c LIL I L = voltage x current
2
Electrical Systems: Sources
Voltage source
Summing clockwise:
e1 e2 e3 ein (t ) 0
Kirchhoff’s Current Law (KCL)
• Kirchhoff’s current law (KCL) states that the algebraic sum of all currents entering and
leaving node is equal to zero
– A node is defined as a junction of three or more wires
– We choose to assign a positive sign convention for current entering a node and a negative
convention for current leaving a node
I 1 I 2 I 3 I 4 0
Modeling Electrical Systems
• Mathematical models of electrical systems can be derived using a systematic two-
step process:
– Write the corresponding first-order ODE for each energy storage element (capacitor or inductor)
LI L eL
Sub KVL into 1st-order ODE LIL RI L ein (t ) 1 energy storage element
1st-order model
(use Ohm’s law for eR )
Model
Modeling Electrical Systems:
Example
• Derive the mathematical model of the simple RLC circuit