Professional Documents
Culture Documents
Chapter 2 - Mathematical Models of Physical Systems-2
Chapter 2 - Mathematical Models of Physical Systems-2
Mathematical models of physical systems
Outline
• Introduction, • Block Diagrams,
• Laplace Transform Review, • Signal‐Flow Graphs,
• The Transfer Function, • Mason’s Rule.
• Mathematical models of
Electrical, Mechanical,
Electromechanical System and
Electric Circuit Analogs,
3/27/2018 By Awet Mana 2
Introduction
• Mechanical, electrical, electromechanical, thermal, hydraulic, economic,
biological, and systems, may be characterized by differential equations.
3/27/2018 By Awet Mana 3
Introduction
• Mathematical models: The mathematical description of the dynamic
characteristic of a system
• The first step in the analysis of dynamic system is to derive its model.
• In obtaining a model, we must make a compromise between the
simplicity of the model and the accuracy of results of the analysis.
3/27/2018 By Awet Mana 4
Building Blocks
• Systems can be made up from a range of building blocks.
3/27/2018 By Awet Mana 5
Cont’d
• We would prefer a mathematical representation such as that shown in Figure below,
where a mathematical function, called a transfer function, is inside each block, and
block functions.
3/27/2018 By Awet Mana 6
Laplace Transform Review
• The Laplace transform is defined as:
equation exists, we can find a function, F(s), that is called the Laplace transform of f(t).
• But why Laplace transform?
diagram.
3/27/2018 By Awet Mana 7
Cont’d
• The inverse Laplace transform, which allows us to find f(t) given
F(s), is
3/27/2018 By Awet Mana 8
Example 1: Find the Laplace transform of .
3/27/2018 By Awet Mana 9
Cont’d
3/27/2018 By Awet Mana 10
3/27/2018 By Awet Mana 11
• Example 2: Find the inverse Laplace transform of
• For this example we make use of the frequency shift theorem, Item 4 of
the Laplace theorem properties table shown in slide 11 and the Laplace
transform of , Item 3 of Table shown in slide 9.
of is . Hence, .
3/27/2018 By Awet Mana 12
Partial‐Fraction Expansion
• To find the inverse Laplace transform of a complicated function, we can convert
the function to a sum of simpler terms for which we know the Laplace transform
of each term. The result is called a partial‐fraction expansion.
3/27/2018 By Awet Mana 13
Cont’d
• Example 3: 1
• There are three cases where F(s) can be expanded into partial fractions
Case 1. Roots of the Denominator of F(s) Are Real and Distinct
• Example 4: Find the Laplace inverse of the following function.
2 2
;
1 2 1 2 1 2
• , , 1, 2
• , , 2, 2
3/27/2018 By Awet Mana 14
Cont’d
•
• Using Laplace transform :
• 2 2
• In general, then, given an F(s) whose denominator has real and distinct roots, a partial
fraction expansion,
• If the order of N(s) is less than the order of D(s).
3/27/2018 By Awet Mana 15
Cont’d
• To evaluate each residue, Ki, we multiply the previous equation by the denominator of the
corresponding partial fraction. Thus, if we want to find Km, we multiply the equation by (s+pm) and
get:
• If we let s approach ‐pm, all terms on the right‐hand side of the above equation go to zero except
the term Km, leaving
3/27/2018 By Awet Mana 16
Cont’d
• Example 5: Given the following differential equation, solve for y(t) if all initial
conditions are zero. Use the Laplace transform.
• The Laplace transform of this equation is
• Solving for the response, Y(s), yields
3/27/2018 By Awet Mana 17
Cont’d
• The partial fraction expansion of Y(s) is
• Using Laplace transform table
3/27/2018 By Awet Mana 18
Cont’d
• Case 2. Roots of the Denominator of F(s) Are Real and Repeated
Example 6: Find the inverse Laplace transform of
3/27/2018 By Awet Mana 19
Cont’d
• If the denominator root is of higher multiplicity than 2, successive differentiation
would isolate each residue in the expansion of the multiple root.
• In general, then, given an F(s) whose denominator has real and repeated roots, a
partial‐fraction expansion.
can be made if the order of N(s) is less than the order of D(s) and the repeated roots are of
multiplicity r at -p1.
3/27/2018 By Awet Mana 20
Cont’d
• To find K1 through Kr for the roots of multiplicity greater than unity,
first multiply the last equation by (s+p1)r getting F1(s), which is
• Immediately, we can solve for K1 if we let s approach -p1. We can solve for K2 if we
differentiate F1(s) with respect to s and then let s approach –p1. Subsequent differentiation will
allow us to find K3 through Kr. The general expression for K1 through Kr for the multiple roots
is
3/27/2018 By Awet Mana 21
Cont’d
Case 3. Roots of the Denominator of F(s) Are Complex or Imaginary
3/27/2018 By Awet Mana 22
Cont’d
• Example 7: Find the inverse Laplace transform of
• This function can be expanded in the following form:
, K1 is found in the usual way to be
• K2 and K3 can be found by first multiplying the above equation by the lowest
common denominator, 2 5 and clearing the fractions. After
simplification with , we obtain,
3/27/2018 By Awet Mana 23
Cont’d
• The last term can be shown to be the sum of the Laplace transforms of an
exponentially damped sine and cosine.
and
• Adding both these expressions, gives:
and
3/27/2018 By Awet Mana 24
The Transfer Function
• The transfer function will allow separation of the input, system, and output
into three separate and distinct parts, unlike the differential equation.
• Let us begin by writing a general nth‐order, linear, time‐invariant differential
equation,
3/27/2018 By Awet Mana 25
Cont’d
• where c(t) is the output, r(t) is the input, and the ai’s, bi’s, and the form of the
differential equation represent the system.
• Taking the Laplace transform of both sides and assuming that all initial conditions are
zero,
• Now form the ratio of the output transform, C(s), divided by the input transform, R(s):
3/27/2018 By Awet Mana 26
Cont’d
• The transfer function separates the output, C(s), the input, R(s), and the
system, which is the ratio of polynomials in s on the right.
• We call this ratio, G(s), the transfer function and evaluate it with zero
initial conditions.
• The transfer function can be represented as a block diagram
3/27/2018 By Awet Mana 27
Cont’d
• Example 8: Find the transfer function represented by
• Taking the Laplace transform of both sides, assuming zero initial
conditions, we have
• Use this result of Example 8, find the response, c(t) to an input, r(t)=u(t)
a unit step, assuming zero initial conditions.
•
• Expanding by partial fractions, we get
• Finally, taking the inverse Laplace transform of each term yields
3/27/2018 By Awet Mana 28
In general, a physical system that can be represented
by a linear, time-invariant differential equation can be
modeled as a transfer function.
3/27/2018 By Awet Mana 29
Practice problems 1
1) Find the Laplace transform of
2) Find the inverse Laplace transform of
3) Find the transfer function, / , corresponding to the
differential equation 3 7 5 4 3
4) Find the differential equation corresponding to the transfer function,
2 1
6 2
5) Find the ramp response for a system whose transfer function is
3/27/2018 By Awet Mana 30
Outline
• Mathematical models of • Block Diagrams,
Electrical networks, • Signal‐Flow Graphs,
Translational mechanical systems,
• Mason’s Rule.
Rotational mechanical systems,
and
Electromechanical systems as
transfer functions
Electric Circuit Analogs
3/27/2018 By Awet Mana 31
Mathematical models of Electrical networks
• Equivalent circuits for the electric networks that we work with first consist of three
passive linear components: resistors, capacitors, and inductors
3/27/2018 By Awet Mana 32
Cont’d
• We now combine electrical components into circuits, decide on the input
and output, and find the transfer function.
• Our guiding principles are Kirchhoff’s laws. We sum voltages around loops
or sum currents at nodes, depending on which technique involves the
least effort in algebraic manipulation, and then equate the result to zero.
• From these relationships we can write the differential equations for the
circuit. Then we can take the Laplace transforms of the differential
equations and finally solve for the transfer function.
3/27/2018 By Awet Mana 33
Cont’d
• Example 9: Find the transfer function relating the capacitor voltage, Vc(s) to the
input voltage, V(s) in Figure below.
,
Block diagram of series RLC
electrical network for the
3/27/2018 By Awet Mana
output interest 34
Cont’d Laplace-transformed network
3/27/2018 By Awet Mana 36
Cont’d
• Example 11: Transfer Function—Single Loop via Voltage Division
3/27/2018 By Awet Mana 37
Cont’d
Transfer Function—Multiple Loops
3/27/2018 By Awet Mana 38
Cont’d
1. Convert the network into Laplace transforms for impedances and circuit
variables, assuming zero initial conditions.
2. Assume a transform current and a current direction in each mesh.
3. Write Kirchhoff’s voltage law around each mesh.
4. Assume a transform current and a current direction in each mesh.
5. Write Kirchhoff’s voltage law around each mesh.
3/27/2018 By Awet Mana 39
Cont’d
• Around Mesh 1:
• Around Mesh 2:
• Combining like terms, of the above two equations become simultaneous equations in
I s and I s
• We can use Cramer’s rule (or any other method) for solving the simultaneous equations) to get
I s
3/27/2018 By Awet Mana 40
Cont’d
where
3/27/2018 By Awet Mana 41
Cont’d
Transfer Function—Multiple Nodes
• Example 13: Find the transfer function, ⁄ ,for the circuit in
Figure below. Use nodal analysis.
3/27/2018 By Awet Mana 42
Cont’d
• The sum of currents flowing from the nodes marked and are , respectively,
3/27/2018 By Awet Mana 43
Cont’d
• Solving for the transfer function, ⁄ , yields
3/27/2018 By Awet Mana 44
Cont’d
Transfer Function—Inverting Operational Amplifier Circuit
• Example 14: Find the transfer function, ⁄ , for the circuit given
in Figure below.
3/27/2018 By Awet Mana 45
Cont’d
• Z1 is the reciprocal of the sum of the admittances.
• For Z2 the impedances add, or
• The transfer function of the inverting operational amplifier is
45.95 22.55 → The resulting circuit is called a PID controller
1.232 and can be used to improve the performance
of a control system (It will be explored in
chapter 7.
3/27/2018 By Awet Mana 46
Practice problems 2
1. Find the transfer function, G s ⁄ for the circuit given in
Figure below. Solve the problem in two ways—mesh analysis and nodal analysis. Show that the two
methods yield the same result.
2. If Z1 is the impedance of a 10 μF capacitor and Z2 is impedance of a 100 kΩ resistor, find the transfer
function, , if these components are used with (a) an inverting operational amplifier and (b)
a noninverting amplifier respectively. Z2 is the feedback impedance.
3/27/2018 By Awet Mana 47
Translational Mechanical System
• Mechanical systems, like electrical networks, have three passive, linear
components.
• Two of them, the spring and the mass, are energy‐storage elements; one
of them, the viscous damper, dissipates energy.
3/27/2018 By Awet Mana 48
Cont’d
Translational Spring
viscous damper (Door Stoppers, dashpot)
3/27/2018 By Awet Mana 49
Cont’d
We will model mechanical systems using three components:
• Spring: A spring applies a force against compression/expansion
• Mass: A moving mass has inertia and resists changes in velocity
• Viscous Damper: Resists motion (pure energy loss)
3/27/2018 By Awet Mana 50
Cont’d
3/27/2018 By Awet Mana 51
Compare the basic mechanical building blocks with the basic electrical building blocks.
3/27/2018 By Awet Mana 52
Cont’d
• Example 15: Find the transfer function, ⁄ , for the system of
Figure below.
• Assume the mass is traveling toward the right, pulled by the force f(t). All other forces oppose
this motion.
• Begin the solution by drawing the free-body diagram.
• Place on the mass all forces felt by the mass.
• Only the applied force points to the right; all other forces impede the motion and act to oppose
it. Hence, the spring, viscous damper, and the force due to acceleration point to the left.
3/27/2018 By Awet Mana 53
Cont’d
• The sum of force should be zero:
Fig: Free body diagram
• Taking the Laplace transform, assuming zero initial conditions,
or
• Solving for the transfer function yields
Block diagram
3/27/2018 By Awet Mana 54
Cont’d
Impedances for mechanical components
• Taking the Laplace transform of the force‐displacement column
For the spring For the viscous damper For the mass
Fig: Transformed
free-body diagram
3/27/2018 By Awet Mana 55
Linearly Independent Motions
• Many mechanical systems are similar to multiple‐loop and multiple‐node
electrical networks, where more than one simultaneous differential equation is
required to describe the system.
• Linear independence implies that a point of motion in a system can still move if
all other points of motion are held still. Another name for the number of linearly
independent motions is the number of degrees of freedom.
3/27/2018 By Awet Mana 56
Cont’d
• For example, in a two‐loop electrical network, each loop current
depends on the other loop current, but if we open‐circuit just one of the
loops, the other current can still exist if there is a voltage source in that
loop.
3/27/2018 By Awet Mana 57
Number of degree of Number of masses in the Number of possible types
= X
freedom of the system system of motion of each mass
For mechanical systems we use superposition to analyze such systems. For each
independently moving part:
Assume all other independently moving parts are held still
Draw the free‐body diagram for the part, consisting of the forces due to its own
motion
Sum the forces to generate the DE or Laplace equation
3/27/2018 By Awet Mana 58
Cont’d
Transfer Function—Two Degrees of Freedom
• Example 16: Find the transfer function, ⁄ , for the system of Figure below.
3/27/2018 By Awet Mana 59
Cont’d
• The system has two degrees of freedom, since each mass
can be moved in the horizontal direction while the other is
held still (i.e. There are two independently moving parts ).
• Thus, two simultaneous equations of motion will be required
to describe the system.
• The two equations come from free-body diagrams of each
mass.
3/27/2018 By Awet Mana 60
Cont’d
• Consider the forces on M1 for the following two situations:
(a) Assume M2 is held still and M1 moves to the right
(b) Assume M1 is held still and M2 moves to the right
3/27/2018 By Awet Mana 61
• a) Forces on M1 due only to
motion of M1; b) forces on M1 due
only to motion of M2; c) all forces
on M1
3/27/2018 By Awet Mana 62
• a) Forces on M2 due only to
motion of M2; b) forces on M2 due
only to motion of M1; c) all forces
on M2
3/27/2018 By Awet Mana 63
• The Laplace transform of the equations of motion can now be written from the free-body diagram.
where
3/27/2018 By Awet Mana 64
Example of real world application: Automobile Suspension System
3/27/2018 By Awet Mana 65
Cont’d
3/27/2018 By Awet Mana 66
Practice problems 3
2. Find the transfer function,
1. Write the equations of motion for the
⁄ , the translational
mechanical network of Figure below
mechanical system shown in Figure
below.
3/27/2018 By Awet Mana 67
Rotational Mechanical System
• Rotational mechanical systems are modelled in almost the same way as
translational systems except that:
We replace torque with force, translational displacement with
angular displacement and transitional velocity with angular
velocity replaces.
• For a force F acting on a body at point P, torque is defined as,
3/27/2018 By Awet Mana 68
Cont’d
• where R is the distance from P to the body’s axis of rotation and is the
angle the force makes to the ray from the axis of rotation to P. Hence, if
the force is perpendicular to the axis of rotation then, .
• A rotating body can be considered a system of particles with masses m1,
m2, m3, …The moment of inertia is defined as,
⋯
• The total kinetic energy is,
3/27/2018 By Awet Mana 69
Cont’d
• Recall that the kinetic energy for a translational system is 1⁄2 . So J is
analogous to mass in translational motion.
• Also, similar to the equation F = ma in translational systems, we can relate
torque and angular acceleration,
• The mechanical components for rotational systems are the same as those
for translational systems, except that the components undergo rotation
instead of translation.
3/27/2018 By Awet Mana 70
• Torque‐angular velocity, torque‐angular displacement, and impedance rotational
relationships for springs, viscous dampers, and inertia.
3/27/2018 By Awet Mana 71
Cont’d
• The concept of degrees of freedom carries over to rotational
systems, except that we test a point of motion by rotating it
while holding still all other points of motion.
3/27/2018 By Awet Mana 72
• Example 17: Find the transfer function, ⁄ , for the system of Figure below.
• There are two degrees of freedom, since each inertia can be rotated while the other is held
still. Hence, it will take two simultaneous equations to solve the system.
3/27/2018 By Awet Mana 73
• The free body diagram of J2,
• With the application of Newton's second law on the two free body diagram of J1 and J2 , we
get two simultaneous equations.
where
3/27/2018 By Awet Mana 74
Systems with Gears
• Gears allow to match a drive system and a load—a trade‐off between
speed and torque. For example:
A 5‐10 speed bicycle allows a rider to control the speed and torque advantage while
riding in straight roads and uphill.
• We will assume that connected gears fit perfectly together. However, in
reality gears exhibit backlash where one gear will move through a small
angle before its teeth meet those of the other gear.
3/27/2018 By Awet Mana 75
Cont’d
• The input gear on the left has radius r1 and N1
teeth. It is rotated by θ1(t) due to a torque T1(t).
• What is the relationship between the rotation of
the input gear and that of the output gear, θ2(t)?
• Although, the angles will differ, the arc length
through which both gears turn will be the same:
• Since the ratio of the number of teeth along
• Therefore the relation between angles is as follows, the circumference is in the same proportion
as the ratio of the radii.
3/27/2018 By Awet Mana 76
Cont’d
• What is the relationship between the input torque, T1, and the delivered
torque, T2?
• The energy into Gear 1 equals the energy out of Gear 2 If we assume the
gears are lossless, that is, they do not absorb or store energy.
• The amount of work done by the rotation of gear 1 is Tθ1:
3/27/2018 By Awet Mana 77
• The relationships between gears are pictured as transfer functions below:
Fig: Transfer functions for a. angular displacement in lossless gears and b. torque in lossless gears
3/27/2018 By Awet Mana 78
• The two rotating members are not linearly independent. So there is really only
one rotating member to consider. We can “reflect” the imposed torque T1 to the
rotating member J so that the gears are removed from the schematic:
3/27/2018 By Awet Mana 79
• After simplification,
3/27/2018 By Awet Mana 80
• Example 19: Find the transfer function, ⁄ for the system of Figure
below
• Since the output is defined as θ2(s) we should reflect the impedances from
shaft 1 onto shaft 2:
3/27/2018 By Awet Mana 81
• We can now write the equation of motion:
where
3/27/2018 By Awet Mana 82
Gear trains
If we allow our gears to be large enough we can obtain any desired gear ratio. However,
it is usually impractical to allow gears with large radii. Instead, gear trains are employed.
3/27/2018 By Awet Mana 83
Practice problems 4
3/27/2018 By Awet Mana 84
Electromechanical System
• They are hybrids of electrical and mechanical variables.
3/27/2018 By Awet Mana 87
• The following is the schematic for an armature-controlled DC motor:
• Our goal is to relate the input volage, Ea with the motor position θm. We begin by
using Tm(s) = KtIa(s) to get rid of Ia in this equation,
3/27/2018 By Awet Mana 89
Fig: Typical equivalent mechanical loading on a motor
3/27/2018 By Awet Mana 90
• Simplifying,
3/27/2018 By Awet Mana 91
• Although this looks complex, the form is relatively simple,
• If the mechanical parameters of the rotor and any connected loads are known,
then Jm and Dm can be obtained,
3/27/2018 By Awet Mana 92
• A dynamometer test can then be applied to estimate the electrical parameters.
• A dynamometer measures the torque and speed of a motor under the condition
of a constant applied voltage.
• Consider again the KVL equation only with La assumed negligible,
• Notice that the LT of motor speed is sθm(s). Therefore we can drop back into
the time domain,
3/27/2018 By Awet Mana 93
• If we let the applied voltage be a constant then we have a linear relationship between torque and
speed:
3/27/2018 By Awet Mana 94
Practice problem 5
3/27/2018 By Awet Mana 95
Outline
• Introduction
• Block Diagrams Reduction
Cascade Form
Parallel Form
Feedback Form
Moving Blocks
• Signal‐Flow Graphs
Mason’s Rule
3/27/2018 By Awet Mana 96
Introduction
• Multiple subsystems are represented in two ways: as
block diagrams and as signal-flow graphs.
• Although neither representation is limited to a particular
analysis and design technique, block diagrams are usually
used for frequency-domain analysis and design, and
signal-flow graphs for state-space analysis.
3/27/2018 By Awet Mana 97
Block Diagrams
• Subsystems are represented in block diagrams as blocks, each
representing a transfer function.
3/27/2018 By Awet Mana 98
• Here is an example of this reduction:
• Reduced Form:
3/27/2018 By Awet Mana 99
• First we summarize the elements of block diagrams for a linear, time-invariant
system :
• The algebraic form of the final output clearly shows the equivalent system TF the product of
the cascaded subsystem TF’s.
3/27/2018 By Awet Mana 101
• When reducing subsystems in cascade form we make the
assumption that adjacent subsystems do not load each other.
• The overall TF is not the product of the individual TF’s!
3/27/2018 By Awet Mana 103
• We can prevent loading by inserting an amplifier. This amplifier should have a high input
impedance so it does not load its source, and low output impedance so it appears as a
pure voltage source to the subsystem it feeds into.
2. Find the equivalent transfer function, ⁄ for the system shown in Figure below
a) Cascaded systems
cascaded system nodes and cascaded system signal‐flow graph