Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Karl A. Seeler
System Dynamics
An Introduction for Mechanical Engineers
2123
Karl A. Seeler
Mechanical Engineering Department
Lafayette College
Easton, Pennsylvania
USA
Preface
I began my engineering career with a bachelors and masters in civil engineering, specializing
in geotechnical engineering, primarily in foundation design and underground construction. My
five years of practice was in what is termed heavy construction. The scale of the structures
and force and power of the machines needed to construct them made lasting impressions. It
was my fascination with machines, such as excavators which could lift 60,000lb. and move
with life-like dexterity, which motivated me to return to school and earn a masters and Ph.D.
in mechanical engineering. I found myself taking graduate level courses without having their
prerequisites, relying on textbooks for the coursework I lacked. Sadly, I found many textbooks
to be incomplete, leaving the reader to fill in missing steps and to search for other texts which
covered gaps. My career led me to Lafayette College in Easton, Pennsylvania, where I have
developed a sequence of three courses: Introduction to System Dynamics, Automatic Control
Theory, and a Systems Dynamics and Controls Laboratory. Colleges have no graduate students
and, therefore, no teaching assistants. As a result, I have a more thorough teaching experience
in these subjects than is typical for a university instructor. Fortunately, Lafayette College does
have an engineering machine shop which is better equipped and staffed than those at most universities. With these resources, I have designed and worked with the machinists to build three
generations of laboratory equipment for the Systems and Controls lab.
This text is a product of my experience as a student and teacher. It is complete. There are
no missing steps in any derivation or calculation. It also covers the entire breadth of system
dynamics, so that a student who begins study of this text with a shaky understanding of ordinary differential equations can master the modeling and simulation of dynamic systems.
The linear graph method, a circuit-like representation of dynamic systems, is introduced and
developed. A strength of the linear graph method is the ease with which hybrid systems,
i.e., machinery, can be modeled. Details of machine design are added, where appropriate, to
enrich the text and motivate the student. I drew the hundreds of illustrations which appear in
the text, as an aid for visual learners like me. Example problems are incorporated throughout
the text. It is my opinion that textbooks in system dynamics have moved too far from teaching
the principles, theory, and methods of their application toward teaching the use of simulation
software. Consequently this text incorporates the use of computational software, both Mathcad
and MATLAB, but neither packages companion simulation software.
Introduction to System Dynamics for Mechanical Engineers begins with a review of the
concepts of energy and power, and goes on to present the steps of developing an engineering
model. The mathematical background of system dynamics students varies widely. I decided
to present nearly all of the mathematics needed for the entire text in Chap.2. Consequently,
sections of Chap.2 should be read or assigned, as needed. The solution of ordinary differential
equations with constant coefficients, by the method of undetermined coefficients, is reviewed
in Chap.2. However, this text will emphasize the responses of dynamic systems more than
the solutions of differential equations. As a case in point, Chap.3 uses the example of a mass
sliding on a lubricant film to present (1) the construction of various pulse-type input functions
by superposition of scaled and time shifted Heaviside step functions, and (2) construction
v
vi
Preface
of the corresponding response functions by scaling and time shifting the unit step response.
Mathcad and MATLAB are introduced to perform the superposition and plotting. The energetic properties of translational and rotational mechanical elements systems, illustrated by the
step response of first-order systems, are presented in Chap.4. Chapter5 emphasizes the analogies between fluid, electric, and thermal elements. Chapter6 concludes the compendium of
energetic elements with transformers and transducers, i.e., levers, linkages, belt drives, chain
drives, gear sets, DC motors and generators, fluid motors and pumps, that interface similar and
dissimilar energetic subsystems.
Chapter7 reviews the fundamentals of linear algebra, and introduces state-space. Mathcads and MATLABs RungeKutta solvers are used to solve state and output equations, and
plot the responses of the higher-order systems for various inputs. Difference equations and
programming the Euler method and RungeKutta algorithm in MATLAB are the topics of
Chap.8. The appendix of Chap.8 presents the fundamentals of programming in MATLAB for
students who have not had a programming course in C or MATLAB and as a reference for those who have. Chapter9 introduces block diagrams and block diagram algebra, the basic concepts of closed-loop feedback control, the s-plane, and partial fraction expansion. Chapter10
presents frequency response. Chapter11 considers AC circuit analysis as a specific application
of frequency response. Chapter11 makes use of complex impedances and phasors to apply
frequency response to electrical transformers and AC motors.
There is more material in this text than can be addressed in an introductory course in system
dynamics. Some material is included for the benefit of those students, who plan to continue
their study of system dynamics and controls on the graduate level. Other material is included
to provide depth and completeness in specific topics, to allow instructors to tailor their individual courses to suit their curriculum and their students preparation. The application of system
dynamics to machine design is emphasized throughout, to motivate students and strengthen
their ability to develop engineering models of real systems. Whether you are intrigued broadly
by the flow of energy in physical systems, or need to model a specific system for a particular
purpose, you will find this book useful.
I close this preface by acknowledging my debt to my family to whom I dedicate this text.
I express my gratitude to my wife, Rani, for her love, support, and editing; to our sons, Adim
and Felix, for their patience and cooperation; to our four cats, Mack, Lily, Fluffy, and Zelda,
for their late night company, but not for their traffic across the keyboard, the text of which I
hope I have removed; and lastly, our hound, Juno, who contributed to the preparation of this
book with a cold nose to my mousearm.
Lafayette College
Contents
viii
Contents
2.4Superposition 51
2.5 Method of Undetermined Coefficients 51
2.6 Initial Conditions 59
2.7 Complex Numbers and Variables 60
2.7.1 Cartesian Form Z = x + j y 60
2.7.2 Polar Form: Z = Z Z 63
2.7.3 Eulers Equations 64
2.7.4 Complex Exponential Form Z e j 65
2.7.5 Rotating Complex Exponential Unit Vector 68
2.7.6Example: Solution of a Homogeneous Equation using Complex
Exponential Unit Vectors 71
2.8Solved Problems Illustrating the Method of Undetermined Coefficients 74
2.8.1Example Problem One: First-Order Step Response 74
2.8.2Example Problem Two: Non-Oscillatory Second-Order
Step Response 77
2.8.3Example Problem Three: Oscillatory Second-Order
Step Response 79
2.9Eigenvalues and Response Characterization 84
2.9.1 First-Order Step Responses 84
2.9.2Non-Oscillatory Second-Order Step Responses 86
2.9.3 Oscillatory Second-Order Step Responses 88
2.9.4 Time Step for Response Calculations 89
2.10Laplace Transformation and Transfer Functions 90
2.10.1 Laplace Transformation 90
2.10.2 The Inverse Laplace Transformation 92
2.10.3 Final Value and Initial Value Theorems 93
2.10.4 Transfer Functions 93
2.10.5 Partial Fraction Expansion 95
Problems 104
Chapter 2 Appendix 105
Table 2.3 Laplace Transform Pairs 105
Mathcad and MATLAB 106
Plotting in Mathcad 106
Plotting in MATLAB 110
References and Suggested Reading 115
3Introduction to the Linear Graph Method, Step Responses,
and Superposition 117
3.1Introduction 117
3.2 Introduction to the Linear Graph Method 117
3.2.1 Energetic Model 118
3.2.2Newtonian Formulation of the Force-Mass-Damper Model 121
3.2.3Linear Graph Formulation of the Force-Mass-Damper Model 121
3.2.4Examples Illustrating the Linear Graph Method 129
3.2.5Summary of the Introduction to Linear Graphs 135
3.3 The Heaviside Unit Step Function 136
3.3.1Differentiation of the Heaviside Unit Step Function 137
3.4 Initial Conditions 138
3.4.1 Initial Condition, First-Order System 139
3.4.2 Initial Conditions: Second-Order System 140
3.5 First-Order Step Responses 142
3.5.1Categorization of First-Order Step Responses 144
3.5.2Step Response of a First-Order Mechanical System 145
3.6 Time Shift 147
3.7Superposition of Heaviside Step Functions 148
3.8Superposition of First-Order Step Responses 149
3.8.1Scaling, Time Shifting, and Superposing Unit Step Responses 151
Contents
ix
Contents
Contents
xi
xii
Contents
Contents
xiii
xiv
Contents
Contents
xv
xvi
Contents
11.11.1NEMA 656
11.11.2US Department of Energy Efficiency Data 656
Summary 656
Problems 656
Chapter 11 Appendix 657
Evaluation of the Root-Mean-Squared Integral 657
Reference and Suggested Reading 659
Index 661
Abstract
System Dynamics is the study of the change of the power variables within an energetic
system. As a system interacts with a power source, energy flows across the system boundary, between storage modes within the system, and is dissipated as heat by friction, electrical resistance, or magnetic hysteresis. Modeling energetic systems as circuit-like networks
simplifies the accounting of power flows in the system. Creation of a mathematical model
of an energetic system represented as a network is straightforward elimination by substitution, guided by a drawing of the network, once a complete set of mathematical statements
of the physical truths of network-like system has been written.
1.1Introduction
Websters New World Dictionary defines dynamic as relating to energy or a physical force in motion: opposed to
staticrelating to or tending toward change. System
is defined as a set or arrangement of things so related or
connected as to form a unity or organic whole: as a solar system, irrigation system, supply system. Our focus will be on
physical systems within mechanical engineering, specifically, the machines and processes which mechanical engineers
design and maintain. The changes we are interested in are
changes to a systems internal physical power variables,
such as force, velocity, pressure, fluid flow rate, current,
voltage, temperature, and heat flow rate. Our objective will
be to predict the dynamic response of systems comprising
mechanical, fluid power, and electrical elements.
Energy is a quantity which flows. Dynamical systems
change due to the flow of energy across the boundary separating the system from the surrounding environment, and the
flow of energy between elements within the system. Energy
flows into a system from a power source, such as a battery,
a pump, a moving belt, or a spinning shaft. The amount of
energy which flows from the source is determined by the
response of the system to the supply of energy.
Oscillations, such as pressure fluctuations and mechanical vibrations, are created by energy flowing between energy
storage elements within a system. When mechanical systems
vibrate, energy flows back and forth between the kinetic energy of motion and the potential energy of elastic deformation. What we will model as energy storage elements are,
in fact, properties of physical objects. Often, a single physical object will have multiple energetic properties. We will
represent each property in our system models as a different
element, Fig.1.1.
Eventually, oscillations die down, as the flowing energy is
dissipated as heat by friction, viscous shear, electrical resistance, or magnetic hysteresis. System dynamics does not include the study of heat engines. Heat engines merit the entire
discipline of thermodynamics. Consequently, energy dissipated as heat is not converted back into other forms of energy.
It must remain as heat. However, for a system to function
indefinitely, the energy dissipated as heat must be removed
from the system, or the systems temperature will rise to damaging levels. Therefore, although system dynamics does not
include thermo, it includes the basics of heat transfer.
Dynamical systems change over time. We will work with
time scales which range from microseconds to hours. Regardless of the time scale, we will define time t=0 to be the
instant an input or action is applied to a system. We will then
divide time into three periods relative to time t=0: before,
shortly after, and long after. The latter two are more formally
known as the transient time period, and the steady-state time
period. The changes of a systems power variables during the
transient period are due to (1) the energy in the system before
K. A. Seeler, System Dynamics, DOI 10.1007/978-1-4614-9152-1_1, Springer Science+Business Media New York 2014
2
Fig. 1.1 An energetic system
consists of interacting energy
storage, dissipation, and conversion elements separated from the
surrounding environment by the
system boundary
System boundary
in
Energy flow into the
system from the source
Energy
storage
element
Energy
storage
element
Energy
dissipation
element
out
the input is applied, (2) the type, or functional form, of the
input acting on the system, and to (3) the fact that the input is
applied by a power supply, giving the system access to an energy source. The systems change due to the functional form
or shape of the input, such as step change F (t ) = F0 u s (t ) or a
sinusoid, F (t ) = F0 sin(t ), is termed as the forced response.
The forced response corresponds to the particular solution
of a differential equation, as you may recall from your study
of differential equations. In the ideal models we will create, the forced response will exist from the instant after the
input is applied, at a time t = 0, and forever after (i.e., t = ).
The response of a system to change in its energy source is
termed as the natural or unforced response. The natural
response occurs whenever the system is disturbed from
its current energetic equilibrium by the application of a new
input. A systems natural or unforced response is always the
same shape though it differs in amplitude. It corresponds to
the homogeneous solution of a differential equation. The natural response dies out with time, as the energy flows due to
the disturbance dissipates, and the system approaches a new
energetic equilibrium. When the transient period ends, the
amount of energy flowing into the system equals the amount
flowing out. The system is then said to be in steady-state.
Changes of the systems power variables during the transient period consist of the sum or superposition of the permanent forced response and the temporary natural response.
The shape or functional form of the natural response depends
only on the dynamic system and is independent of the shape
of the input function. We will be particularly interested in the
transient response of the system, which corresponds to the
startup or shutdown of real machines. It is during the transient period that the amount of energy stored in the system
changes and when the power variables, such as force, pressure, and electrical current, reach maximum or minimum
values. Consequently, the design values used to size the machine components often occur during the transient period.
1.1Introduction
historical development, and utilizes many powerful analytical techniques, based on Newtonian analyses, energy
methods, and virtual work. Electric circuits are dynamical
systems. The method we will develop in this course, the linear graph, is a network representation of energetic systems
which borrows heavily from electric circuit analysis. The
most direct application of system dynamics is to develop the
mathematical models of systems needed for automatic control theory. Automatic control is added to a system to change
its behavior. There are two fundamental types of automatic
control, Boolean or on-off control and closed-loop feedback
control. Boolean control sequences the operations of a machine. Boolean control is formulated in Boolean logic and
can make machines appear intelligent. Closed-loop feedback
control changes the dynamic response of a machine. The design of closed-loop feedback control requires a mathematical
model of the dynamic system to be controlled. The mathematical form of the model varies with the mathematical form
of the controller. Analog or continuous control design requires a differential system equation. Digital control requires
a difference equation. Modern or state-space based control
requires a set of first-order differential equations presented
in vector-matrix form. As daunting as these mathematical
terms may be on first reading, even the engineering student
most doubtful of their mathematical ability can master the
concepts and techniques needed to describe a dynamical system as a mathematical model.
A wide variety of engineering mathematics is needed to
analyze dynamic systems. Although everyone enrolled in
systems dynamics has passed differential equations, many
students have forgotten most of what they knew. Others may
believe that they never understood differential equations
even though they passed the course. To those who question
their capacity to understand engineering mathematics, take
heart in the often cited quote, You can only understand what
you already know. Accordingly, it is common for mechanical engineering students to pass the prerequisite course, differential equations, by learning the various solution methods
and then later gain an understanding of differential equations
with their subsequent use in system dynamics. A student
should not be embarrassed if this is their situation. He or
she should accept it and make the effort needed to gain an
understanding.
We will review the portion of differential equations which
we will use, presenting the solution of differential equations
from an engineering perspective. Further, we will restrict
ourselves to a limited number of techniques. Specifically,
we will emphasize that physical systems are capable of only
a limited number of responses to common inputs. Consequently, solving the differential system equation will be
performed by, first, identifying which type of response the
input to the physical system will produce and then sizing
the response, by scaling its amplitude and duration. Among
the benefits of this inputoutput or input-response perspective is that it allows practicing engineers to make rational
decisions based on their understanding of how a system can
and cannot behave when they lack enough information to
formulate the system equation, which is often the case.
The Laplace transformation, a topic in differential equations, will be reviewed and then used in a slightly different
way than students may have done in the past. We will introduce vector-matrix algebra to more easily represent the
complicated dynamic systems mathematically. This mathematics may be new to many students and will be presented
as such. Likewise, we need some mathematics from complex
analysis. This also will be new material to many students. A
limited understanding of complex analysis yields significant
benefits in computational tools, including complex impedances and phasors.
Numerical computation using Mathcad, MATLAB, or a
package of your preference is an integral part of systems dynamics. Even for the limited class of differential equations
we can solve analytically, evaluating the solution manually (i.e., with a calculator) to present the results as a plot
can be tedious and error prone. Automated computation is
much easier and readily provides graphical representation
of the inputresponse relationship. Further, we will exploit
the property of superposition of linear systems so that we
can superimpose, or sum, many individual, simple input and
response plots to predict the response of systems to complicated inputs. We will find that once the syntax and methods
of the computation software are familiar, developing MATLAB programs to approximate and solve differential equations using finite differences is quite straightforward and
will free us from the need to simplify important aspects of
a physical system to yield a system equation which can be
solved analytically.
Although students are most apprehensive about the mathematics of dynamics systems, it is a students ability with
engineering modeling and analyses which is the key to success in system dynamics. It is important for mechanical engineering students to recognize that their curriculum progresses from the compartmentalized, sophomoric courses,
which introduce basic concepts, to the upper-level courses in
which engineering concepts, principles, and knowledge from
previous and concurrent courses are assumed and used. This
necessary progression from narrow to broad course content
can be difficult for some students, particularly those who
adopt an algorithmic perspective in which they see, or more
accurately, prefer to see, each problem as having one, and
only one, unique solution. Such a limiting perspective is a
crippling error in judgment. We will emphasize the reality of
engineering practice by highlighting the similarities between
apparently different engineering analyses, and working some
analyses using two or more of complementary techniques
which we must choose between.
1.1.2Engineering Models
A model is a simplified representation of reality. An engineering model represents only one (or some) of the attributes
of the real object, system, or process. Engineering models
can be physical, analogous, or mathematical. An example of
a physical model is a model airplane, which may only be a
polymer shell. It is a scale model, or a replica of the geometry, of an actual airplane. This type of model would be used
in a wind tunnel to model the aerodynamic forces acting on
a full-sized airplane of the same shape. Alternatively, the
physical model of an airplane may be a scale model, which
has motors, moveable control surfaces, radio control, and the
capacity to fly. Clearly, these two different types of models
of the same airplane have different levels of realism and different uses. The same is true for engineering models. The
level of realism varies with the intended use, which depends
on the stage of the design process the model is used in. In all
cases, an engineering model is a simplified representation of
the real entity.
1.1Introduction
Fig. 1.2 Creation of an engineering model of an actual physical
object or system is a filtering
process, in which only simplified
approximations and the relevant
properties are retained
Actual Physical
Object or System
Engineering models are abstractions of real, physical objects or systems. Abstract is a word, which intimidates students because one of its meanings is difficult to
understand, as in abstract mathematics. However, the
primary meaning of abstract comes from its Latin roots,
which means to pull or drag away from. Note that abstract shares a root with tractor and traction. Pulling
or extracting representative aspects from a whole to create a
simplified version is the meaning of abstract we will use.
This meaning will be familiar to some, since it is the same
usage of abstract as the abstract at the beginning of this
chapter, which is a short summary of it. Consequently, our
use of abstract will be close to simplified. For example,
if our objective is to predict the translational acceleration of
an object subjected to a force then only relevant property of
the object is its mass. If our objective is to predict the translational and rotational acceleration of the object, the relevant
properties are the geometry of the object and its density or,
if it varies, the distribution of its densities. It is important to
remember that every real object has mechanical, electrical,
and chemical properties. We often consider only one type or
class of properties at a time and forget that the real object has
all physical properties, some of which may affect the performance or reliability of our design.
All engineering analyses require an abstract model. Let
us deconstruct this last sentence. Although we commonly
employ the word, analyze, to mean work to understand,
the literal meaning of analyze is to take apart or break
into pieces, which is indeed the first step in understanding
anything complicated. Abstract can mean hard to understand, but it can also mean simplified, as in an abstract
painting. Model means a representation of something,
which includes only some of its attributes. Engineering
analyses are based on abstract models, since each physical
phenomenon which we must engineer for a part, machine,
or system typically requires a separate calculation. Although
the phenomena coexist in reality, we separate them, in order
to simplify the problem sufficiently, so that we can handle it
with the mathematical tools we have available. The model
used for a calculation depends on what we wish to know,
and contains only the properties and attributes of the corresponding physical object or system needed to describe that
phenomenon. When it is impossible to separate two different
phenomena because of their physical coupling, the engineering analysis is more difficult.
Modeling Process
Abstraction and
Approximation of
Relevant Properties
Engineering
Model
Elastic
= E
Plastic
= y
material model and can greatly complicate engineering computations. We will return to this important point but, briefly,
a linear material (or property or constitutive) model is a
single straight line which passes through the origin.
1.1.3Mathematical Models
A mathematical model is an equation or set of equations
which form an inputoutput relationship, where the input
variables are known and the output variables are what we
want to know, Fig. 1.4. A mathematic model is based on an
engineering model. The various attributes and properties of
the engineering model can be described by simple mathematical statements. We work to create a compendium, or
list, of all equations which describe physical aspects of engineering model. These equations are then reduced to eliminate the unwanted variables, leaving just the input which we
know, the output we wish to calculate, and the independent
variables of time and position. For example, if we were sizing a part such as a shaft with a circular cross-section, the
properties would be the geometric constraints, such as the
required length and the maximum possible diameter, the approximate material properties of the shaft material, and the
approximate relationship between stress and strain (i.e., the
material model), the input would be the forces and torques
acting on the part, and the response would be stress, strain,
or deformation of the part.
Input Variable
Forces and Torques
Mathematical
Engineering
Model
Response or
Output Variable
Stresses, Strains,
or Deformation
1.1Introduction
and yield strain for a specific steel are not average values.
Although engineers often use nominal to mean normal,
nominal means in name only. In the case of yield stress,
a nominal value is often below the expected minimum yield
stress. This is a useful value if yield must be prevented, but
it is not the yield stress.
A more accurate description of a stressstrain relationship requires replacing the two straight lines of the elastic
perfectly plastic model with a single, continuous curve. This
type of non-linear model requires significantly more information than a piece-wise continuous model composed of
two straight lines. Non-linear stressstrain models are only
used in mechanical design where the economic value of the
improved design justifies the expense of the analysis, such
as the design of automobile bodies. Ultimately, the accuracy
of a material model depends on the variability of the material being modeled. Engineers deal with populations of
things, where the number in the population ranges from a
few to millions. There is always variation between individual specimens and samples drawn from the population. The
properties of populations are described stochastically using
probability to quantify the uncertainty. In order for a sophisticated non-linear material model to yield useful results, the
properties of the sample used to create the model must be
representative of the population of production parts. For example, plastic forming of steel changes it properties. How do
the properties of the steel in a location of an automotive body
correspond to the test specimens? In general, even the most
sophisticated engineering calculations are best described as
approximations.
The process of formulating a mathematical model from
an engineering model is aptly described as analysis, which,
again, strictly defined means to take apart. How one takes
an engineering model apart depends on whether the variables
of interest vary continuously with position and time, or only
with time. When materials are considered on the macroscopic
scale, i.e., we use a continuum model to represent materials with distributed properties. Systems in which the dynamic
response of variables change continuously with both position
and time, as is the case for pressure and velocity in fluids and
stress and strain in solids, are described by partial differential equations. Partial differential equations are significantly
more difficult to deal with than ordinary differential equations, which contain derivatives of only one variable (i.e., either time or position). In many circumstances, we can greatly
simplify a model, and avoid the necessity of partial differential equations with negligible loss in accuracy, by concentrating the distributed properties of a continuum into discrete
elements. The modeling process of representing distributed
material properties as discrete elements is known by the odd
term, lumping. A distributed property becomes a lumped
parameter. A familiar example of a lumped parameter is the
concentration of the mass of an object, at its center of mass.
8
Fig. 1.5a Model of a force
acting on a mass supported on a
frictionless surface. b Decomposition of the applied force into
horizontal and normal components
+x,+v
W = Mg
FN
Fx
Frictionless Surface
FR
E W = Fx
(1.1)
FR
P=
dE
dt
(1.2)
F(t)
F(t)
F(t)
Non-Uniform
Stress
= E
F(t)
Uniform Stress
L
Fig. 1.6 Axially loaded round steel bar
~D
~D
L
Fig. 1.7 Saint Venants principle for uniformity of stress. In an axially
loaded cylinder, non-uniform stress extends a minimum distance equal
to the diameter of the cylinder from the applied load
10
F(t)
Non-Uniform
Stress
x1, v1
F(t)
= E A(t)
x 2 , v2
F(t)
Translational Spring
Uniform Stress
~D
L
_
2
Fig. 1.8 Revised model showing the cross-section on which the stress
is assumed tobe uniform
Elastic Deformation
F(t)
x1 , v1
F(t)
x 2 , v2
Fig. 1.9 Axially loaded elastic bar of length L with elastic deformation L. Locations of distinct values of translational displacement and
velocity are denoted as x1,v1 and x2,v2
The last aspect of the model we will consider is the magnitude and mathematical functional form of the applied
force, F(t). We have noted that the vector representation of
the force applied to the bar omits the source of the force,
as well as the manner in which the force is transferred to
the bar, indicating that they are unimportant for the result of
the calculation. Are there physical limitations in the model
which constrain the magnitude of the force applied or how it
can vary with time? The magnitude is limited. The greatest
force which can be applied to the bar is that which causes
yield.
Fmax (t ) = y A
Hence, the operating range of the applied force is limited to
the following:
F (t ) y A
axial = E axial
(1.3)
axial
L
L
(1.4)
x1 x2 = x x12
(1.5)
We will use the same notation to denote the difference between velocities, pressures, voltages, and other analogous
variables, which vary across elements.
The elastic energy stored in the bar is recoverable. The
energy transferred to the bar to deform it plastically is dissipated as heat, as the metal shears and is not recoverable.
Although there are exceptions, such as head bolts in automobile engines and some other fasteners, the machine components are sized to keep stresses below the yield stress. When
stress is below yield, all of the mechanical work done on
the component is stored as elastic strain energy and can be
recovered. The schematic symbol for a significant amount
of strain energy storage in an energetic symbol is a spring,
Fig.1.10.
The familiar equation for a spring is
wherein,
FK = K x
(1.6)
FK = K x12
(1.7)
11
FK
1.3.1Strain Energy
Is there a dynamic constraint on the applied force, F(t), applied to the spring in Fig.1.10? Specifically, is it physically
possible to instantaneously apply an axial force, F(t), to an
elastic member? No, it is not. There are two complementary perspectives, both of which lead to the same conclusion.
The Newtonian perspective involves forces, displacements,
and their derivatives. If we were to posit a small but finite
force on a spring instantaneously, then we are saying that
the deformation of the spring due to that force can occur instantaneously. A finite deformation of the spring in zero time
requires infinite velocity of the ends of the spring, which is
physically impossible.
The complementary perspective is to view the spring as
an energy storage element, and look for similar physical
impossibilities. Recall that the differentials, d E and dt , are
infinitesimal. They are infinitely small, compared to the finite quantities, E and t. If there were a finite change of
energy E during an infinitesimal time, dt , then the power
P would be infinite.
dt
E
0
E Spring = WSpring =
FK dx12
(1.9)
We can dispense with the vector notation and the scalar product, when force and displacement are co-linear.
E Spring =
xmax
(1.10)
FK dx12
E Spring =
xmax
FK dx12 E Spring =
xmax
2
K= 12 Kx12
x12
Fig. 1.11 Elastic strain energy stored in a linearly elastic spring is the
area between the FK(x) line and the displacement axis
E Spring =
1
K x 2 max
2
(1.11)
(1.8)
xmax
E Spring =
xmax
FK dx12 E Spring =
FK max
F
FK d K
K
Note that the upper limit of integration was changed from the
maximum displacement, xmax, to the maximum spring force,
Fmax. Evaluate the integral
E Spring =
1
K
FK max
FK dFK E Spring =
E Spring
1 2
=
FK max
2K
1 2
FK
2K
FK max
0
(1.12)
1.3.2Mechanical Power
K x12 dx12
12
x,v
F(t)
b1
b2
Fig. 1.12 A bar modeled as massless and rigid acts as a force spreader in a mechanical schematic. The cross-sections of a piston in a cylinder are symbols for dampers which dissipate mechanical power as heat
by pumping fluid
P=
dE
dW d ( F x )
=
dt
dt
dt
(1.13)
P = F
dx
dF
+ x
dt
dt
(1.14)
dx
dt
dF
dt
dx
dF
+ x
dt
dt
Does No
Work
P = F
dx
dt
(1.15)
dx
v
dt
(1.16)
1.3.3Strain Coenergy
We concluded in Sect.1.2.1 that it is physically impossible to
instantaneously apply an axial force F to an elastic member,
because a finite energy transfer in infinitesimal time requires
infinite power. We also noted that the deformation x of the
spring would occur instantaneously, which requires infinite
velocity. There is another perspective we can apply to that
question. If it were possible to instantaneously apply force F0
to an elastic member, such as a spring, and then create deformation x0, the work done on the spring would be the product.
W = F0 x0
This is the rectangular cross-hatched area in Fig.1.13.
We know that the strain energy that is actually stored
in the spring, when it is deformed x0 under force F0, is the
triangular area under the curve, Fig.1.11. The corresponding area above the curve is coenergy. Coenergy is a fictitious mathematical entity. It does not exist, but it is useful
computationally. Coenergy is defined as an integral similar
13
F0
FK
Coenergy
Energy
x0
x12
Fig. 1.13 The work which would be done on a spring, if force F0 and
its resulting in deformation x0 could be applied instantaneously, is the
cross-hatch rectanglular area, F0x0. Only the work represented by the
triangular area below the FK(x) line is physically possible
Coenergy
Force, F
dF
x12 dFK dW
x(F)
F(x) Energy
also illustrated in Fig.1.14, does not represent an infinitesimal amount of mechanical work, because the displacement,
x12, does not change. There must be motion of the point of
application of a force for that force to perform mechanical
work. Therefore, we can conclude that integral of the infinitesimal product, Eq.1.19, is not work, but something else,
even though the quantity has the units of force times displacement. Notice that this logic is the same that we applied
to derive the expression of mechanical power, Eq.1.15.
It is clear from the geometry of Fig.1.13 that the energy
and coenergy are equal in the case of a linearly elastic spring,
which has a spring constant K which is indeed constant. This
is not the case for any non-linear elastic spring, where the
spring rate K is a function of the spring displacement x, thus,
Displacement, x
Fig. 1.14 Energy is the area below the forcedisplacement curve. The
fictitious but useful quantity, coenergy, is the area above the curve
Non-linear springs can be designed to become either softer or stiffer with displacement, Fig.1.15b. For example, a
spring which becomes stiffer with displacement may have
the spring rate of Eq.1.21, plotted in Fig.1.14.
COE Spring
Fmax
x12 dFK
(1.18)
Although this integral resembles the intermediate result obtained deriving Eq.1.12, which expresses the amount of energy stored in a spring in terms of the force acting through
the spring, there is a subtle but important difference. Removing the derivative from spring displacement x and placing
it on the spring force FK indicates that the displacement is
Energy and coenergy are equal, when there is a linear relationship between force and displacement. When the relationship between force and displacement is non-linear, then
knowing either the energy or the coenergy allows calculation
of the other, by subtracting it from the area of the rectangle,
FKmax xmax:
Energy = FKmax xmax
FK max
x( FK ) dFK
(1.22)
and
Coenergy = FKmax xmax
20
xmax
FK ( x) dx
(1.23)
5
4
15
FK(x) 3
kN
K(x)
kN
__ 10
m
5
0
(1.21)
K ( x) = K 0 + K1 x
to Eq.1.10, but with the derivative on the spring force, FK,
rather than on the spring displacement x.
(1.20)
dx
(1.19)
1
0
0.1
x12 , m
0.2
0.1
x12 , m
0.2
14
Elastic
= E
yield
Plastic
= y
yield
Stress,
Energy
density
Coenergy
Stress, density
Energy
density
Strain,
Fig. 1.16 Energy density is the area below a stressstrain curve. It is
the quantity of energy stored and/or dissipated deforming a unit volume
of material
1.3.4Energy Density
Strain energy and coenergy are expressed in terms of stress
and strain as energy density, which is the energy or coenergy per unit volume of material. The area below a stress
strain curve is the energy stored or dissipated in deforming a
unit volume of the material. Energy density must be integrated over the volume of a component to determine the amount
of mechanical work stored as strain energy and dissipated as
heat performing plastic deformation.
Calculating the energy density of the elasticperfectly
plastic material model shown in Fig.1.16 is an example of
the utility of coenergy. The energy density in the material is
calculated by subtracting the coenergy from the product of
the yield stress, y, and the maximum strain, max.
1
yield yield
2
(1.26)
Energy density is useful in understanding the rupture of materials and the behavior of materials during plastic forming,
such as bending, stamping, and forging. A phenomenon observed during bending metal is the recovery of some of the
bending deformation, when the bending force is removed
yield
Strain,
max
Fig. 1.17 Coenergy density is the area between the stressstrain curve
and the stress axis
from the work piece. This is termed spring back, and necessitates bending the work piece further than the desired
permanent bend. The mechanism of spring back can be seen
in Fig.1.17. The energy density of a metal plastically deformed is dissipated as heat and cannot contribute to spring
back. However, the material stores the elastic strain energy,
and that energy is recovered, when the bending force is removed, causing spring back.
1.3.5Kinetic Energy
An old joke among engineering professors is that students
part way through their engineering education believe they
understand energy but do not understand entropy. Their engineering education is complete, when they realize that they
dont understand energy either. Mass and energy are very
mysterious at both the atomic and subatomic scales, where
they are governed by quantum mechanics, and at extremely
high energies on the macroscopic scale, where relativity
governs. The transmutation of energy into mass and mass
into energy is a bizarre concept. However strange the implications of relativity may be, they are not as confounding
as the reality of quantum mechanics. It is easier to accept a
particle acquiring mass, as it is accelerated to great velocity,
than it is to accept that the same particle must also be viewed
as being a wave having no definite location in space, and
may spontaneously appear elsewhere. Although some phenomena mechanical engineers work with, such as electrical
conduction and radiative heat transfer, require quantum mechanics concepts to understand, most mechanical engineering is done on a human size and energy scale or not far from
it. Consequently, the effects of both quantum mechanics and
relativity are negligible, and we use Newtonian mechanics without corrections. It is interesting to ponder over the
15
mass
In
mass
Out
= massStored
(1.27)
energyIn
energyOut = energyStored
(1.28)
In both Eq.1.27 and 1.28, we have defined flow into a system as positive and flow out of a system as negative.
The remaining equation needed to describe the relationship between mass and energy is Newtons Second Law, the
relationship between a force acting on a mass and its acceleration. We will express the familiar
F = Ma
(1.29)
as a differential equation
dv
F=M
(1.30)
dt
in order to write the equation in terms of velocity rather than
acceleration. Force and velocity are known as the power
variables of a translational mechanical system, since their
product is mechanical power, Eq.1.17.
Energy is a quantity that moves or, more familiarly, flows.
The flow rate of energy is power. Although it is common to
speak of a power flow, power is a flow rate. Power is the
energy flow rate into or out of an object, across a boundary,
or through a conductor or transmission element during a unit
of time. We will use both terms, power and power flow, since
the redundancy serves to remind us that power is a flow rate.
We will now investigate the relationship between Newtons Second Law and kinetic energy. If we restrict the motion of a mass M to a horizontal plane, so that it cannot gain
elevation against gravity, then the only type of energy the
mass can store is kinetic energy. We can eliminate the vector
notation, by assuming that the force acting on the mass and
the velocity of the mass are in the x-direction.
Fx = M
dvx
dt
(1.31)
Similarly, we can eliminate the dot product in the expression of mechanical power, Eq.1.17, when the force and the
displacement of its point of application are restricted so that
they are colinear. We again assume that force and displacement are in the x-direction:
P = F v P = Fx vx
(1.32)
P=M
dvx
vx
dt
P dt = Mvx dvx
dE
using the definition of power P =
rearranged as
P dt = d E and then integrating yields dt
vx2
2
E Kinetic =
1
Mvx2
2
(1.33)
16
1.3.7Power Sources
A common application of system dynamics in machine design is to size the motor needed to drive a system through a
specified motion. To do this properly, we must derive and
solve the differential system equation, which describes the
motion of the machine. We cannot arbitrarily specify both
the magnitude of the force acting to accelerate the mass and
the velocity of its point of application, without violating
F = Ma. We will find a similar constraint in every type of
energetic system we investigate.
Power is provided to energetic systems by power sources.
A power source is defined by the power variable, which is
either known or, sometimes, under our control. The most
common examples of a power source are voltage sources,
such as a chemical battery and an electric wall socket. A 12
VDC battery provides a nominal 12 volts at its terminals. An
electric wall socket provides a nominal 120 volts AC or 240
volts AC, depending on location. Note that in both examples,
current is not indicated, only the voltage. The device connected to voltage draws current from the source at a varying
rate, which is dependent on the nature of the specific device.
A battery and a wall socket are voltage sources, because
the voltage is known, not because they only provide voltage.
Voltage by itself is not electric power. DC electric power is
the product of voltage and current.
PDC = vi
(1.35)
17
a
2.0
v(t)
m
___
sec
F(t)
kN
1.5
1.0
0.5
0
20
15
t, sec
0.5
II
I
0
III IV
2
t, sec
t, sec
III
15
F(t)
kN
1.0
20
2.0
1.5
-10
5
-5
a
v(t)
m
___
sec
10
10
0
-5
5
0
IV
II
2
t, sec
-10
(1.36)
E = P dt E = F (t ) v (t )dt
Unlike the power function, P (t ), the energy function, E (t ),
will be a continuous plot. Power, being the flow rate of energy, can change magnitude or sign instantaneously. The
amount of stored energy cannot change instantaneously, because it is a flow quantity, which accumulates in storage. The
amount of any flow quantity stored in a system or an element
cannot change instantaneously, without an infinite flow rate.
Integration of the power plot can be performed analytically or graphically. You most likely have performed graphical integration when creating shear and bending moment
diagrams. Recall that rectangular areas integrate to ramps or
triangles, while ramps or triangles integrate to parabolas.
adt = at + C
and
at dt = 2 at
+ C2
18
40
25
35
20
30
(t) 15
kW sec
25
20
10
III
(t) 15
kW 10
5
0
-5
IV
II
1
4
3
t, sec
-15
Fig. 1.20 Plot of power, P(t), provided by the force source, F(t), in
order to move the point of application of the source at velocity, v(t). The
motor must be sized to provide the maximum power, 40kW. One horsepower equals 746W. Converting from kW to hp, 40 kW
1 hp
746 W
= 53.6 hp
(t)
kWsec
3
4
Shape
Triangle
Rectangle
Rectangle+
Triangle
Rectangle
Triangle
Area
kW sec
2.5
2.5
15
Running
total
2.5
5
20
Integrated
shape
Parabola
Triangle
Parabola
5
10
25
15
Triangle
Parabola
Plot the end points of each segment and connect the dots
with the correct shape curve. In the case of the parabolas, the
concavity and the rate of change at the two ends of the time
interval must correspond to the triangular area integrated,
Fig.1.21.
To calculate the power provided by the source analytically, we must first create the power function, P
(t ), which
we will then integrate to yield energy, Fig.1.22. P (t ) is the
sum of five separate functions, corresponding to the five
time intervals of Fig.1.20.
20
10
2.5
3
t, sec
30
-20
IV
V
Fig. 1.21 Plot of energy, E(t), provided by the force source, F(t), in
order to move the point of application of the source at velocity, v(t).
The units of energy in kW sec can be easily converted to joules,
1 joule = 1 N m = 1W sec
-10
Interval Time-end
points
I
0
1
II
1
2
2.5
III
2
III IV
II
t, sec
Fig. 1.22 Plot of the energy function E(t), produced by analytical integration of the power function P(t)
kW
t
sec
P (t ) = 5
t =1
t =0
+ ( 2.5 kW ) t =1
t=2
kW
+ 20 kW + 40
(t 2 sec)
sec
t = 2.5
t=2
+ (10 kW ) t = 2.5
kW
+ 20 kW + 20
(t 3 sec)
sec
t =3
t=4
t =3
Notice the time shifts (t2) and (t3) created by subtracting the time of the beginning of the interval from the
time variable t. We will introduce time shifts of input and
response functions in Chap.3. Briefly, subtracting the beginning time of an interval from the time variable t shifts time
t=0 to the beginning of the interval, creating a local time
for just that integral.
19
E (t ) = P (t ) dt
0
E (t ) = 5
0
kW
t dt + 2.5 kW dt
sec
1
+
2.5
Branch
Node
kW
20 kW + 40 sec (t 2 sec)dt
2
kW
+ 10 kW dt + 20 kW + 20
(t 3 sec)dt
sec
2.5
3
The integrals with time shifts require special handling. We
must define a variable equal to the shifted time. We define
1 t 2 sec for the integral, thus,
2.5
20 kW + 40
E (t ) = P (t ) dt
0
kW
(t 2 sec) dt
sec
E (t ) = 5
0
d 1 = d (t 2sec ) d 1 = dt d ( 2sec )
d 1 = dt
kW
20 kW+40
(t 2 sec) dt =
sec
2.5
0.5
kW
20 kW+40
1 d1
sec
kW
kW
20 kW+40 sec
d1
kW
2 d 2
sec
E (t ) =
5 kW 2
t + 2.5 kW t
2 sec 0
2
1
0.5
40 kW 2
+ 20 kW 1 +
1
2 sec 0
3
20 kW 2
+ 10 kW (t 2.5) 2.5 + 20 kW 2 +
2
2 sec
0.5
+ 10 kW dt + 20 kW+20
Differentiating 1:
2.5
kW
t dt + 2.5 kW dt +
sec
1
E (t ) =
2.5
3
5 kW 2
40 kW
20 kW
2
t + 2.5 kW t 1 + 20 kW (t 2) +
(t 2)2 + 10 kW (t 2.5) 2.5 + 20 kW (t 3) +
(t 3)2
2
2 sec 0
2 sec
2 sec
Differentiating 2:
d 2 = d (t 3 sec ) d 2 = dt
substituting into the integral and expressing the limits of integration in terms of 2:
4
20 kW+20
3
kW
kW
(t 3 sec) dt = 20 kW+20
2 d 2
sec
sec
0
20
billions of devices which produce or process information. Information flows between devices through various path types.
Information flows are routed to minimize transmission time
and cost at the nodes. A home plumbing system is a network
of at most dozens of elements. Water flows through the system without loss, unless there are leaks, but is also stored by
the system. The water in the system may be changed chemically by the system, if the water is softened, or energetically, if the water is heated. Further, the water flow rate and
flow pressure vary dynamically throughout the system, when
the system is in use.
Information networks process information at nodes and
transmit information without change through the branches,
which connect the nodes. The nodes of an information network act on the quantity flowing through the network. The
branches of an information network conduct (transmit) the
information without change. Conversely, the branches of a
plumbing system act on the water by affecting its pressure
and flow rate. Nodes in a plumbing system are locations selected to measure the changes in pressure throughout the system and to apply mass and energy conservation. The nodes of
a plumbing system are modeled as conducting water, without
storing it or changing its pressure. From fluid mechanics, we
know that any redirection of fluid flow imparts a change in
pressure. Consequently, in a real plumbing system, there is a
pressure drop, when water flows through connections. Ideal
nodes have no physical properties. They are merely locations
in the system. The process of modeling a plumbing system
assigns the physical properties of the pipes and connections
to branches. The flow of water divides at an ideal node without a pressure change. The branches between the nodes possess physical properties, which affect the waters pressure
and flow rate.
The state of energetic systems changes as energy moves
through the system. We will refer to the movement of energy as its flow. In fluid systems, energy flows with mass. In
electrical systems, energy flows with charge. In translational
and rotational mechanical systems made of solid components, energy is the only quantity which flows through the
system. We will extend the circuit representation of fluid and
electrical systems to translational and rotational mechanical
systems by focusing on power, the flow rate of energy, by
using the linear graph method. A linear graph is a network
representation of an energetic system.
The energetic networks will consist of energetic elements, represented by branches, which connect at nodes.
Each branch represents a different, single, lumped, and fundamental energetic property of the system. These idealized
elements do not directly represent the object or system we
are modeling. They represent a single energetic property or
attribute. In reality, the energetic properties of a real system are distributed in space. The branches have no physical dimensions, just the energetic property. If a component
Pump
m in
Pump
21
Control Volume
m out
Fig. 1.25
A control volume cutting the piping system. Mass
conservation can be written in terms of mass flow rate for any control
volume drawn on the piping system
=
dt
dt
dt
Equation1.37 states that the mass flow rate of water into
the control volume, minus the mass flow rate of water out,
equals the rate at which the mass of water, stored inside the
control volume, changes.
In order to systematically extract all of the useful equations from the network, we will find it convenient to draw
control volumes, so that they correspond to single nodes
where pipes connect. Because we can write mass conservation equations at individual nodes of the system, these continuity equations are also called node equations. On the
other hand, a pressure measurement at a single location in
the piping system, such as at a node, does not permit us to
write an equation. We must take pressure measurements at
three locations, if we are to write anything but a trivial equation. (A trivial equation is an identity, such as C=C, which
is true but of no value in algebra.) Useful equations either
sum pressure changes around a loop in the network (the sum
must be zero); or equate the sum of pressure changes from
one node to another node, following two different routes or
paths through the network. Accordingly, equations written in
terms of pressure changes between nodes are either loop
equations or path equations. Equations written using the
driving potential of an energetic system are called compatibility equations, since, for the pressure changes between
nodes to sum properly, they must be compatible.
As it happens, there are always two independent sets
of algebraic equations, which can be extracted from any
network, which has a potentially driven flow of a quantity which is conserved. Independent refers to mathematically independent; meaning one set of equations cannot be
derived from the other. Independence between continuity
and compatibility equations is assured, because both sets of
equations are summations written in terms of a single type
of variable, either the flow variable or the potential variable.
These two sets of equations are easily written directly from
a network diagram. Both sets of equations apply under any
circumstance. They are always true. Neither set of equations
contains an approximation. Both sets of equations are exact
within the accuracy of the measurements.
1.4.2Compatibility Equations
Pressure is a scalar variable, since it acts equally in all directions. Pressure is also a relative measure. The value of pressure at a point has no meaning, until the reference pressure
measured was relative. Machine design usually uses pressure measured relative to atmospheric pressure, called gauge
pressure, but there are occasions when absolute pressure
is used instead, where the reference pressure is a complete
vacuum.
To describe the behavior of an element in a fluid network,
we need the pressure difference across the element between
the nodes at either end. To describe the behavior of a fluid
system, the pressure differences across all of the elements in
the system must add up. Before we write any compatibility
equations, we must indicate in the schematic of the system
the locations of those pressures of interest to us. The pump
raises pressure, as it pushes water into the system. There are
different pressures on either side of the pump. We will always locate a pressure node where the flow divides or converges. Finally, let us say that the sections of pipe, which join
at the top right corner of the diagram, have different diameters and, therefore, different fluid resistances. We will locate
a pressure node at the location where the diameter changes.
Finally, we will add a reference node for atmospheric pressure, Fig.1.26.
The pressure difference between two points (or nodes) in
the piping system, from node 1 to node 2 can be measured directly, by connecting a manometer between those pressures,
but is more frequently calculated by measuring the pressure
at each point relative to atmospheric pressure and then subtracting.
(1.38)
Notice that the reference pressure patm drops out, since it appears in the pressure measurements at both nodes. We will
use p1 as a shorthand for p1 patm , since we usually work
22
1
Pump
p1,2
1
Pump
patmosphere
Fig. 1.26 Piping system with pressure nodes at either end of pipe segments and on either side of the pump
patmosphere
+ ( p5 patm ) ( p1 patm ) = 0
+ ( p5 p1 ) + ( patm patm ) = 0
( p1 p2 ) + ( p2 p3 ) + ( p3 p4 ) + ( p4 p5 ) + ( p5 p1 ) = 0
( p1 p1 ) + ( p2 p2 ) + ( p3 p3 ) + ( p4 p4 ) + ( p5 p5 ) = 0
0=0
p2,1
23
p1,2
3,4
Pump
patmosphere
1,5
Fig. 1.28 Reversing the order of the pressure nodes inverts the sign
of the pressure difference between those nodes p2 p1 p 2,1 = p1,2
p1,2
p2,3
3
p
3,4
1
5,1
3
p
p2,3
Pump
Pump
atmosphere
p4,5
Fig. 1.30 Arrowheads indicate the positive direction of the pressure
drops. The positive direction of the pressure drop from node 1 to node 5
is used in the path equation, Eq.1.40. Note that the direction of the arrowhead is reversed only forthe pressure drop across the pump. Power
sources, such as pumps, raise the driving potential in the direction of
the flow through them
atmosphere
p4,5
Fig. 1.29 Positive directions of flow through the pump and piping.
The positive direction of the flow through the elements is used as the
order of the nodes for the pressure drops summed in the loop equation,
Eq.1.39
We will now generalize. The driving potentials in fluid systems (pressure), electric circuits (voltage), and thermal systems (temperature) are scalar variables. Summing the differences of the scalar potential variable around a loop in a
system creates a loop equation. Alternatively, equating the
sums of the differences in the scalar potential variable between two nodes along different paths creates a path equation. Both loop and path equations are termed compatibility equations. The term comes from geometric compatibility
mechanical design. The linear graph method will allow us to
represent energetic mechanical systems are networks. When
we do, we shall see that geometric compatibility provides a
set of equations analogous to the compatibility equations of
fluid, electrical, and thermal systems.
The reduction of individual equations which describe independent aspects of an energetic network to a differential
system equation which describes the dynamic response of
the system is largely a process of successive elimination by
substitution, or, in other words, algebra. We will find it very
helpful to eliminate any redundant or dependent equations
from the list of equations we will create, before we begin the
reduction. If we use dependent equations in our algebraic reduction, we will be prone to derive the true but trivial result
0=0, instead of the differential equation we need. It can be
difficult to spot redundant or dependent equations, particularly when we work with larger systems. Consequently, we
24
1
Pump
patmosphere
Holes
2
1
Pump
1.4.3Continuity Equations
Continuity equations are written by applying conservation of mass to the flow into and out of the nodes. We will
4
patmosphere
1
Pump
Pump
patmosphere
1
Pump
1
Pump
4
patmosphere
4
patmosphere
4
patmosphere
2
1
1
Pump
4
patmosphere
25
Branch A
Branch A 2
Branch B
patmosphere
Pump
Branch 3,4
Branch C
patmosphere
Branch E
later find it convenient to model the water as incompressible, and express the equations in terms of volume rather
than mass. Continuity equations are written at nodes and
are independent of the energetic properties of the branches.
Although there are many types of networks in which nodes
have properties, such as transportation and information networks, we have defined a node as a location without physical properties. In the energetic networks we will work with,
the branches represent the different energetic properties of
the system. The nodes exist to connect the branches to one
another. Nodes cannot store anything.
In order to write continuity equations, we must:
1. Identify the branches.
2. Assign a positive direction to flow in each branch.
We need an identity for each branch, in order to identify the
flow through the branch. We cannot identify the flow through
a branch by the nodes at either end, because parallel branches which are connected between the same nodes have different flows through them, Fig.1.34. Normally, we will identify
a branch with the parameter from the energetic equation for
that branch. For example, if the branch represented a spring
with spring constant, K, we would identify the branch with a
K. This is the same convention used to identify elements in
an electrical schematic. For this example, however, we will
simply identify the branches alphabetically.
Defining the positive direction for flow through a branch,
by drawing an arrow pointed in the positive direction, is
mA
mB
Branch D
Branch 2,3
Branch D
Fig. 1.35 a Each branch in the
system is given unique identification. The positive direction for
each branch is indicated on the
schematic. b Mass flow rates
used in continuity equations
Branch 2,3
Pump
patmosphere
Branch 1,2 2
Branch C
Pump
Branch B
mD
mPump Pump
5
mC
patmosphere
mE
termed orienting the branch, Fig. 1.35. The direction we
choose as positive for the flow in a branch is arbitrary for
most elements. The mathematics will yield the correct flow
direction by inverting the sign of a flow, if necessary; similar
to how arbitrarily assigned directions of forces in the members of a truss are corrected by the truss analysis. Power
sources are an exception. The positive direction of the flow
is not arbitrary. The positive direction of the flow is in the
direction the driving potential increases. Motors and power
transmission elements are the only other energetic elements
that have defined positive flow directions, as we shall see in
Chap.6.
Recall that we have adopted the sign convention that flow
into a node is positive, and flow out of a node is negative.
Just as compatibility equations can be written as either loop
or path equations, continuity equations can be written in two
ways: (1) equating the sum of the flows into and out of the
node with zero; or (2) equating the sum of the flows into the
node, with the sum of the flows out. There are five nodes in
this system. Therefore, we can write five continuity equations. We shall see that only four of the five continuity equations are independent. Any one of the five continuity equations can be derived from the remaining four. Writing the
mass conservations equations in the form, flow in= flow
out, for all five nodes, starting with the flow out of the pump,
leads to the following:
26
Engineering
Objective
Design
Identify a Question
Design
Decision
Create an
Engineering
Model
Engineering
Numerical
Design
Model
Analyze Result
Interpret Decision
Model
Result
Focus of Undergraduate
Engineering Education
m Pump = m A
m A = m B + m C
m B = m D
m C + m D = m E
m E = m Pump
We can derive any one of these continuity equations from
the remaining four. We will demonstrate their dependence
by deriving m E = m Pump from the first four continuity equations, using elimination by substitution, and starting with the
continuity equation, m Pump = m A .
m Pump = m A m Pump = m B + m C
m Pump = m D + m C m Pump = m E
We do not want to include dependent equations in the set of
equations we will develop to describe energetic networks,
because it can greatly increase the effort of reducing the set
to an equation which describes the dynamics of the system.
Consequently, our rule will be to always write one fewer
continuity equation than there are nodes in the network. It
will be convenient to adopt the habit of omitting the continuity equation for the lowest potential node.
expose the myths now. In a nut shell, the study of engineering is quite different from the practice of engineering.
Engineering analyses are tools used by engineers to aid
design decisions. The results of an engineering computation
allow an engineer to make a rational decision between alternatives, or to validate a decision made using engineering
judgment. Engineering calculations are performed to provide a basis for engineering design decisions. Any type of
design, whether engineering design, graphic design, or landscape design, is a sequence of decisions. Design decisions
are constrained by economic, physical, and practical factors.
For example, a graphic designer may wish to use a size and
quality of paper for a project but cannot without exceeding
the projects budget; a floral designer may wish to use tropical plants for an installation but cannot, because they would
not withstand a northern climate; and a mechanical engineer
may wish to use a manufacturing process that the client does
not possess.
Additional constraints are imposed by design practice.
Designers and engineers of today use design elements which
may data back years, centuries, or millennia. The design
question, What diameter should the shaft be? was asked by
ancient engineers. The shafts we design today usually look
like ancient shafts, since they typically have a circular or,
if not circular, an axially symmetric cross-section such as a
square or hexagon. The modern engineer has more materials and more methods of shaping or processing materials to
choose from than his or her ancient predecessors. Also, modern engineers can use physical theory expressed in mathematics to describe materials, and how loads applied to a shaft
of a given geometry affect the materials to aid their design
decisions, which the ancients did not possess. However, the
objective remains unchanged: make justifiable decisions as
to the material and dimensions of the shaft, so that it will
serve its purpose at an acceptable cost for a reasonable life
time.
Although ancient engineers computed some quantities,
such as volumes and weights, their lack of physical theory and modern mathematics forced their design decisions
to be based on empiricism (i.e., use the same diameter as
the last shaft with similar loading which worked). Modern
engineers still use empiricism. Any change in a successful
design requires rational justification. In some cases, empiricism is used because there is a substantial lag between the
development of a new material or process and development
of mathematical theory to describe it. In other cases, empiricism is used because the data needed to apply mathematical
theory are unavailable, or so scattered or variable over space
or time, that the mathematical theory yields contradictory results. However, reliance on empiricism can be expensive and
limiting. It can be expensive, because the only way to optimize an empirical design, i.e., to create the least expensive
design which serves its purpose, is by comparison between
27
28
29
dv
dt
Note that the time derivative is on the power variable velocity which determines the kinetic energy stored in the mass.
It takes time to transfer energy into or out of a mass, hence
the derivative on the energy storage variable for the mass,
velocity.
Hookes law, Eq.1.6, is the elemental equation for a
spring,
F = Kx
Rewriting displacement in terms of the power variable, velocity, requires differentiating both sides of the equation with
respect to time:
dF
dx
=K
dt
dt
dx
= v, yielding a differential equadt
tion for elastic strain energy storage:
dF
= Kv
dt
(1.42)
Writing the equations for mechanical energy storage elements in terms of the mechanical power variables, F and v,
allows us to develop mathematical analogies between different types of physical systems, because the equations have the
same form. For example, energy is stored in an electric circuit in either the electric field of a capacitor or the magnetic
field of an inductor, Eqs.1.43 and 1.44,
dv
(1.43)
i=C
dt
di
(1.44)
v=L
dt
where C is the capacitance in farads, and L is the inductance
in henrys. Notice that the equations for the electrical energy
storage elements are also differential equations.
30
dv
dt
di
Inductor: v = L
dt
Capacitor: i = C
Even though mechanical and electrical systems are very different, the equations which describe them are not. Energy
storage elements have a differential relationship between
the power variables of the system. The time derivative is on
the variable, which determines the amount of energy stored
in the element. The coefficient carries the units needed to
equate two physically different variables and scales them to
the set of units, SI or US customary, being used.
The linear graph method uses these analogies between
different types of physical systems, which will allow us to
create a single model to represent devices which contain different subsystems, such as an electric motor which has both
electrical and mechanical elements.
4. Energy Conservation and Power: We can write mathematical statements which express the amount of energy
stored in an element or the rate at which power is dissipated
by an element. Energy storage equations always contain
an elemental parameter, and all but thermal capacitance
and gravitational potential energy have a squared term. For
example, the amount of kinetic energy stored in a mass is
Eq.1.34:
EM =
1
Mv 2
2
EK =
1 2 F2
Kx =
2
2K
The amount of energy stored in the electric field of a capacitor is the following
1
EC = Cv 2
(1.45)
2
where C is electrical capacitance. The amount of energy
stored in the magnetic field of an inductor is the following
1
E L = LiL2
(1.46)
2
1
Mv 2
2
1 1 2
Spring: E K =
F
2K
Mass: E M =
1 2
Cv
2
1
Inductor: E L = LiL2
2
Capacitor: EC =
ET = C p MT
(1.47)
and solve the equation (or system of equations) for the output variable(s).
By separating Steps Two and Three, the derivation of the
system equation (i.e., the differential equation that represents the dynamics of a system) becomes a straightforward,
although sometimes laborious, process of reducing the mathematical statements of physical truth to a single equation or a
system of equations. The reduction is an exercise in making
substitutions to eliminate unwanted variables, possibly differentiating with respect to time, but never integrating. It is
literally possible to start the reduction by randomly choosing
any compatibility, continuity, or elemental equation, with the
exception of trivial equations of the form, x=x. The energy
equations are not used to derive the system equation. They
are used to provide the initial conditions to solve the differential equation, as we shall see.
Note the use of the verb, solve, not the verb, integrate. Our purpose is to derive a mathematical model that
allows us to predict how a physical system will change with
time. Our purpose is not to investigate various techniques of
integration. We will be able to represent high-order dynamic
systems as the superposition of first and second-order responses. Consequently, we will only need to solve first- and
second-order ordinary differential equations with constant
coefficients. The verb, solve, means to find the solution.
Because we are dealing with physical systems, we will already know the forms of the possible solutions. In the case of
first-order differential equations, there are only two possible
responses, and solving will be simply identifying which
response is reasonable, and calculating the appropriate coefficients to use in the standard form. Second-order dynamic
systems have a much broader range of possible responses.
Their solution is, consequently, more involved and will require the use of complex variables. However, we will again
know the standard form with which we are working, and the
solution will involve finding undetermined coefficients or
manipulating an equation to match a known Laplace transformation.
It is essential to explore the analytical solution of second-order systems to understand the response of dynamic
systems. However, once that understanding is gained, it is
much more productive to use numerical solutions. We will
use computational software, either Mathcad or MATLAB,
to solve and plot the response of our system equations to a
variety of inputs. Mathcad or MATLAB will also allow us to
model higher-order dynamic systems as a set of simultaneous differential equations.
Step 4. Interpret the results of the calculation Every engineering calculation requires interpretation. The first question
the engineer must ask him or herself is Do I believe these
results? Do they seem reasonable within your experience?
31
Rigid end cap
L
Fig. 1.37 A mechanical system consisting of two dissimilar elastic
bars of unloaded length L connected to a rigid end cap. Force F acts
on the end cap
32
F1
F2
x1
x2
x
F1
F2
L
Fig. 1.38 Free body diagrams of the forces acting on the bars and on
the rigid end cap, as well as displacements of the ends of the two bars
and the rigid end cap
x1 = x2 = x
2. Continuity, Conservation, or Equilibrium: The free
body diagram allows us to write an equilibrium equation.
F = F1 + F2
3. Material or Elemental Models: We can relate stress and
strain in both materials.
1 = E11
2 = E2 2
1 =
x2
L
F
2 = 2
A2
2 =
and write equations for the spring constants (or spring rates)
of the bars.
K1 =
F1
x1
K2 =
F2
x2
E1 =
1
K1 x12
2
E2 =
1
K 2 x22
2
E = E1 + E 2
Because the system is elastic, the total energy in the system
can be written in terms of the applied force F and the displacement x:
E=
1
Fx
2
Note that the elastic energy E Fx because F is not constant. F increases linearly with displacement.
Step 3. Reduction and Solution Having written mathematical statements for all physical truths we can from the engineering model, the remaining effort is one of pure algebra.
We will reduce the set of equations we created, using elimination by substitution. It is helpful to state the input variable
acting on the system and the variable desired as the result
or output of the analysis. The input variable acting on the
system is the external force F. The desired output variable is
the stress in bar number one, 1. Our objective is to produce
an equation with only the variables, F and 1. Parameters can
remain, since, in fact, they are necessary, but no variables,
other than the input F and the output 1, are permitted in the
final equation.
Start the reduction by choosing any equation in the list,
other than a trivial equation. Trivial equations are algebraic
dead ends which lead to the result, 0=0. There is no right
equation to start with. If there is an equation with the input
and output variable in it, that would be a good choice. Otherwise, start with an equation with either the input or output
variable. We will reduce the equation list twice, starting with
two different equations to demonstrate that it does not matter
which non-trivial equation we start with.
Reduction One: Input F, Output 1. Lets start with this
equation:
F
1 = 1
A1
The only variables allowed in our result are the input F and
the output 1. A1 is a parameter. It stays in the equation. F1
is an unwanted variable. We will substitute to eliminate it.
Look in list of equations for one with F1 in it and use it. It
doesnt matter which equation with F1 we use. We can use
the same equation twice if needed, but it we immediately use
the same equation, we undo the previous substitution. There
are three equations in the list which contain F1:
F = F1 + F2
F
1 = 1
A1
33
2 =
substituting
1 =
F = F1 + F2 F1 = F F2
which yields
F F2
1 =
A1
We have introduced the input F and the bar force F2. The
input F stays in the equation. F2 is unwanted. Find an equa-
F 2 A2
A1
2 = E2 2
which yields
F E 2 2 A2
1 =
A1
We have introduced a parameter, E2, and a variable, 2 . Eliminate 2 by substitution. Use the definition of strain 2
2 =
x2
L
to yield
1 =
F E2
A1
x2
A
L 2
F
K1 = 1
x1
We will use
F2
F2 = 2 A2
A2
1 =
F E2
A1
x1
A
L 2
1 =
F E2
1 L
A1
A2
F E 2 1 A2
A1
34
1 = E11 1 =
E1
to yield
F E2
1 =
E1
A2
A1
E1
1 =
1 +
E 2 A2
1 =
E1 A1
1 =
F E 2 A2
1
A1 E1 A1
E 2 A2
F
F
1 +
1 =
A1
E
A
A
1
1
1
1 =
A1
E1 A1 E 1 A1
E 1 A1 + E 2 A 2
F
1 =
E 1 A1
A1
F
E 1 A1
E 1 A1 + E 2 A 2
E 1 A1
1 =
E 1 A1
E 1 A1 + E 2 A 2
E 1 A1 + E 2 A 2 A1
F
E 1 A1 + E 2 A 2
1 =
1 =
F1
A1
F1 = 1 A1
and 2 =
F2
F2 = 2 A2
A2
yielding
A2 1
A1
E1
F = 1 A1 + 2 A2
Eliminate 2, using Hookes law 2 = E2 2 .
F = 1 A1 + E2 2 A2
Eliminate 2, using the definition of strain 2 =
F = 1 A1 + E2 A2
x2
.
L
x2
L
F = 1 A1 + E2 A2
x1
.
L
F = 1 A1 + E2 A2 1
Eliminate 1, using Hookes law 1 = E11 .
1 = E11 1 =
F = 1 A1 + E2 A2
E1
E1
The only variables are the input F and the output 1. We are
finished substituting. Collect the output variable 1, and express the result in a useful form:
open
switch
35
+
C
F = 1 A1 + E2 A 2
E1
E2 A 2
A1 E1 E2 A 2
F = A1 +
+
1 F =
1
E1
E1
E1
A1 E1 + E2 A 2
A1 E1 + E2 A 2
E1
E1
F=
1
F=
1
E1
E1
A1 E1 + E2 A 2
A1 E1 + E2 A 2
1 =
E1
F
A1 E1 + E2 A 2
do not have to draw a picture. However, we do have to annotate the picture to show all of the variables and parameters
used in our equations. We must identify the nodes between
the elements. We must also show an assumed positive direction for the current flow through each of the elements. The
positive direction is arbitrary, except for the battery which
is the power source. The negative and positive terminals are
identified by the short and long bars of the pile symbol in
addition to the plus and minus signs. We will identify the
current through each individual element. Individual currents
are not necessary in this simple circuit, because all of the
elements have the same current flowing through them, since
there is only one loop. Currents flowing through an element
will be identified by the elements parameter as a subscript.
For example, the current through resistor R will be identified
as iR. The exception will be the current flowing through a
source which does not have a parameter.
There are two ways to denote the potential or voltage
drop between nodes in an electric circuit. One can either
use a subscript which indicates the element across which
the voltage drops, e.g., vR, to indicate the voltage dropping
across resistor R, or, alternatively, two subscripts to indicate
the nodes of distinct voltages between which the element
is connected. We will use the node notation that we introduced in Sect.1.4.2 using the piping system. Although the
node subscripts are more complicated than parameter subscripts, the node notation yields benefits when working with
36
closed
switch
+
i
iR
iL
iC
Fig. 1.40 The electric circuit of Fig.1.39 annotated with voltage nodes
between the elements, and the positive direction of current flowing
through the elements
complicated systems. Specifically, node subscripts eliminate variables and equations, when elements are connected
in parallel. Recall the convention introduced in Sect.1.4.2,
wherein the order of the subscripts is the order of the subtraction to calculate the difference in the driving potential. e.g.,
v1 v2 v12
Also recall that reversing the order of the subscripts inverts
the sign of the potential or voltage drop.
v12 = v21 since v1 v2 = ( v2 v1 )
The annotated schematic showing the nodes of distinct values of potential and the assumed positive direction for current through each element is Fig.1.40.
The two nodes identified as g for ground have the same
voltage because the conductor between them is modeled as
ideal. There is no voltage drop in the direction of current
flow through an ideal conductor. If two nodes always have
the same voltage, then they are, in fact, the same node, as
indicated by the dashed oval on the circuit diagram. Ground
voltage is an arbitrary reference voltage. It may or may not
correspond to earth ground, which is the voltage of the
earth at the location of the circuit. An alternative reference
voltage is chassis ground, where the chassis is, or used
to be, the mechanical support of the circuit components.
Chassis ground now commonly refers to the voltage reference of the power supply of the circuit. The ground reference
g in Fig.1.40 is the negative terminal of the battery; it is the
chassis ground.
compatibility equations we write, because we only want independent equations. The maximum number of useful compatibility equations equals the number of internal loops in
the circuit. Internal loops are the smallest loops; the holes in
the network. If we write more compatibility equations than
we have internal loops, we generate dependent equations.
Dependent equations are equations that can be derived from
equations we already have. Dependent equations give you
the familiar but useless result of 0=0.
There is one internal loop in this circuit. Using nodal subscripts, the compatibility equation is
v1g = v12 + v23 + v3g
2. Continuity Equations (Node Equations): These equations express the fact that, because nodes are geometric locations and not physical elements hence have no physical
properties, nodes cannot store electric charge. Current that
flows into a node must flow out. Once again, we use the sign
convention, and define flow into a node to be positive and
flow out of a node to be negative. We need one fewer node
equation than there are nodes in the system, to avoid creating a dependent equation. By convention, we will not write
a node equation for the ground node. The node equations for
this simple circuit do not convey much information, since
the current is the same through each element. In the general
case, however, the current though each element is unique.
Node 1: iSource = iR
Node 3: iL = iC
3. Elemental Equations: The elemental equation must respect the assumed positive direction of the current in the element indicated on the schematic. The potential or voltage
drop in the elemental equation is in the direction of the assumed current. First, write the expression for the type of element, and then edit it to describe the specific element in this
circuit, by adding the elements parameter as the subscript to
current, i, and the nodes the element is connected to as the
subscript to voltage, v. The node subscripts on voltage must
be ordered in the positive direction for the current through
the element, which is also the positive direction for a voltage
drop across the element.
Resistor: v = Ri
di
dt
dv
Step 2. Write mathematical statements of physical truth. Capacitor: i = C
dt
1. Compatibility Equations (Loop or Path Equations):
These equations express the fact that voltage drops around
loops must sum to zero. It makes no difference where you
start the summation. It does make a difference how many
Node 2: iR = iL
Inductor: v = L
v12 = RiR
diL
dt
dv3 g
v23 = L
iC = C
dt
4. Energy and Power Equations: There are two energy storage elements in this circuit, the capacitor and the inductor,
and one dissipative element, the resistor. We can write the
equation that the energy stored in the system is the sum of
37
dv3 g
dt
to eliminate iC.
v1g = RC
dv3 g
dt
+ v23 + v3 g
diL
dt
yielding
v1g = RC
dv3 g
dt
+L
diL
+ v3 g
dt
dv3 g
dt
+L
diC
+ v3 g
dt
dv3 g
dv3 g
dt
dt
+L
d dv3 g
C
+ v3 g
dt dt
38
dv3 g
d
, yielding
to C
dt dt
v1g = RC
dv3 g
dt
+ LC
d 2 v3 g
dt 2
+ v3 g
d 2 v3 g
dt
+ RC
dv3 g
dt
Distribute the units of operator onto the terms of the summation on the right side.
2
d v3 g R dv3 g 1
1
=
v
LC 1g dt 2 + L dt + LC v3 g
All of these terms must have the same units as the single
term on the left-hand side. Second-grade math applies to
differential equations. You cannot add apples and oranges.
First, simplify the expressions, by dropping the subscripts on
the variables, and by evaluating the units of the derivatives.
1 v R v 1
LC v = t 2 + L t + LC v
+ v3 g
d 2 v3 g R C dv3 g
1
1
+
v1g =
v3 g
+
2
LC
LC
dt
L C dt
d 2 v3 g R dv3 g
1
1
v1g =
+
+
v3 g
LC
L dt
LC
dt 2
We will review the method of undetermined coefficients
and the use of Laplace transformations for solving ordinary
differential equations with constant coefficients in Chap.2.
However, before we invest time in solving an equation, we
will check the consistency of its units. If the units are inconsistent, then the equation is erroneous. Remember that
checking for unit consistency only reveals some errors. The
equation can still be wrong, even if the units of each term are
consistent.
d
What are the units of the derivative operator, ? Recall
dt
when the derivative was introduced in Calculus I. The operator d represents an infinitesimally small change. It has no
1
d
are . Square brackets
units. Consequently, the units of
t
dt
are used to denote the units of, so the previous sentence
can be expressed symbolically as
d 1
(1.48)
dt = t
Similarly, the units of the second derivative with respect to
time are
R=
[ R ] = i
i
Inductor:
di
dt
vt
(1.51)
v=L
L=v
[ L] =
dt
di
i
Capacitor:
d 1
(1.49)
2= 2
dt t
dv
dt
it
(1.52)
i=C
C=i
[C ] = v
dt
dv
1
d v3 g R dv3 g
1
=
+
+
v
v3 g
1
g
2
LC
L dt
LC
dt
1 v R v 1
LC v = t 2 + L t + LC v
Summary
39
yields
v
i v v i
v = 2 +
vt it t vt
i
v i v
v
+
t vt it
i v v
v = 2 +
v t it t
v i
i v v t + i v v
v t t i v t it
i
v t
i v v v v i i v
v t it v = 2 + i t v t + v t it v
i v v v v i i v
v = 2 +
v
+
v t it t i t v t v t it
v v v v
t 2 = t 2 + t 2 + t 2
The units of each term are consistent.
Summary
Chapter 1 introduced system dynamics as the study of energetic systems; systems in which the flow of energy from
a power source into and out of energy storage and dissipation elements produces a dynamic response of the power
variables of that system. Energy is a quantity which can
move, be stored, change form, and be dissipated as heat.
Mechanical energy storage elements, the ideal spring which
stores elastic strain energy, and the ideal mass were used to
introduce energy and coenergy. Ideal springs and masses
were also used to introduce the concept of energetic models
in which an energetic element possesses a single property
or attribute. Modeling of physically real systems which are
made of components that possess a number of different energy properties is the subject of the remainder of this text.
The process of engineering modeling and analysis was
also discussed. It is an iterative process. It begins with a
simple model of the part, machine, or system. The models
complexity is increased, as insight is gained from the results
of the previous iteration, until one of the following occurs:
You have the information you need to make the engineering decision, or
You have run out of time or money, or
40
Fig. P1.1a Force F(t) acting on
a mechanical system. b Colinear
velocity v(t)
200
150
F(t)
N
v(t)
m
___
sec
100
50
0
2.0
-50
t, sec
1.0
0.5
0
1.5
t, sec
-100
a
i(t)
A
20
200
15
150
10
v(t) 100
VDC
5
0
50
0
-5
t, sec
-50
-10
-100
Problems
Problem 1.1Translational mechanical power is the dot
product of force and the velocity of the point of application
of the force, P = F v. When the force and velocity of the
point of application of the force are colinear, the scalar equation P = F v can be used. A mechanical system was de-energized before the force shown in Fig.P1.1a with the colinear
velocity shown in Fig.P1.1b acted on it.
1.1.a Plot the energy provided by the power source from 0
to 4sec.
1.1.b What is the minimum horsepower motor which could
provide the power n eeded?
Problem 1.2DC Electrical power is product of current
times voltage, P = iv. A DC motor and the system it drives
was de-energized, before the DC motors power source provided it the current i at the voltage v, shown in Fig.P.1.2a
and b.
1.2.a P
lot the energy provided by the power source from 0
to 8sec.
1.2.b What is the minimum horsepower motor which could
accept the power from source?
Problem 1.3A piping system is shown in Fig.P1.3. The
fluid is modeled as incompressible. Consequently, the continuity equations can be written in terms of volume flow rate,
Q, rather than in terms of mass flow rate. The branches are
identified by letter, and pressure nodes between the branches
are numbered.
t, sec
Branch A 2
Branch B
1
Pump
Branch C
patmosphere
Branch D
Branch E
Fig. P1.3 Piping system schematic. The fluid is modeled as incompressible. There is fluid resistance in each branch, which decreases
pressure in the direction of the fluid flow
1.3.a O
rient the flow in each branch. The positive direction
for flow through pump is from node 5 to node 1.
1.3.b Write a complete set of independent compatibility
equations in the form of path equations.
1.3.c Write a complete set of independent continuity equations for volume flow rate.
Problem 1.4A piping system is shown in Fig.P1.4. The
fluid is modeled as incompressible. Consequently, the continuity equations can be written in terms of volume flow rate,
Q, rather than in terms of mass flow rate. The branches are
Problems
41
Branch A 2
Branch B
80,000
patmosphere
60,000
1
Pump
Branch C
Branch D
F, lb
40,000
20,000
Branch E
Branch F
Fig. P1.4 Piping system schematic. The fluid is modeled as incompressible. There is fluid resistance in each branch, which decreases
pressure in the direction of the fluid flow
x, in
Fig. P1.6 Force in pounds vs. displacement in inches. The test results
x
yield
closed
switch
+
i source
Stress,
iR
iL
iC
g
yield
Strain,
rupture
Fig. P1.5 Stressstrain plot of a specimen tested to rupture. The specimen was 0.5in. in diameter and 3in. long. The yield stress, yield strain,
and rupture strain are yield = 90ksi yield = 0.18% rupture = 1.02%
42
i source
iL
iR
L iC
iL
i source
R iC
iR
g
Fig. P1.8 Electric circuit consisting of a voltage source, resistor,
inductor, and capacitor in series, annotated with voltage nodes and the
positive directions of current through the elements
Energetic Equations:
Energetic Equations:
Node 1: isource = iR
Node 1: isource = iR
Node 2: iR = iL
Node 2: iR = iL + iC
Node 3: iL = iC
Compatibility of Voltage Drops, Path Eq:
v1g = v12 + v23 + v3g
Element Eqs:
Capacitor: iC = C
v1g = v12 + v2 g
v2 g = v2 g
Element Eqs:
Resistor: v12 = RiR
diL
dt
dv3 g
dt
Energy Eqs:
System: E sys = E L + EC
1
Inductor: E L = LiL2
2
1
Capacitor: EC = Cv32g
2
Problem 1.8An electric circuit consisting of a voltage
source, a resistor, an inductor, and a capacitor, annotated
with nodes of distinct values of voltage and arrows indicating the positive direction of current through each element,
is shown in Fig.P1.8. The energetic equations of this circuit
are listed. Use elimination by substitution to derive the system equation for the input and output variable indicated:
i. Input Variable: v1g, Output Variable: iR
ii. Input Variable: v1g, Output Variable: v2g
iii. Input Variable: v1g, Output Variable: iL
iv. Input Variable: v1g, Output Variable: v12
v. Input Variable: v1g, Output Variable: iC
and check its units in terms of the power variables and time.
Inductor: v2 g = L
Capacitor: iC = C
diL
dt
dv2 g
dt
Energy Eqs:
System: E sys = E L + EC
1 2
LiL
2
1
Capacitor: EC = Cv22g
2
Inductor: E L =
Problems
43
x,v
F(t)
g
F(t)
1
g
Lubricating fluid
Damping b
Energetic Equations:
Pump
Element Eqs:
Resistor: v2 g = RiR
diL
dt
dv2 g
Capacitor: iC = C
dt
Inductor: v12 = L
R2
patm
Fluid
Reservoir atm
R1
p(t)
vent to
atmosphere
Node 2 : iL = iR + iC
v1g = v12 + v2 g
Fig. P1.11a Fluid system modeled as a pressure source, two fluid resistances, a fluid inertance, and a fluid capacitance
Energetic Equations:
Continuity (Force Equilibrium) Node Eqs:
F (t ) = Fb + FM + FK
Energy Eqs:
System: E sys = E L + EC
1
Inductor: E L = LiL2
2
1
Capacitor: EC = Cv22g
2
Problem 1.10 A translational mechanical system consisting
of a mass M sliding on a lubricating fluid film with damping
b, and a spring K attached between the mass and ground is
shown in Fig.P1.10a. The linear graph of this energetic system, analogous to an electric circuit diagram is Fig.P1.10b.
The energetic equations are listed. Use elimination by substitution to derive the system equation for the input and output
variable indicated:
i. Input Variable: F(t), Output Variable: Fb
ii. Input Variable: F(t), Output Variable: FM
iii. Input Variable: F(t), Output Variable: FK
iv. Input Variable: F(t), Output Variable: v1g
and check the its units in terms of the power variables, force,
velocity and time.
FM = M
dv1g
dt
dFK
= Kv1g
dt
Energy Eqs:
System: E sys = E M + E K
1
Mv12g
2
F2
Spring: E K = K
2K
Mass: E M =
44
R1
Element Eqs:
R2
p(t)
patm
patm
Fig. P1.11b Linear graph of the hydraulic system
are listed. Use elimination by substitution to derive the system equation for the input and output variable indicated:
i. Input Variable: p(t), Output Variable: p12
ii. Input Variable: p(t), Output Variable: p23
iii. Input Variable: p(t), Output Variable: p3g
iv. Input Variable: p(t), Output Variable: QI
v. Input Variable: p(t), Output Variable: QC
vi. Input Variable: p(t), Output Variable: QR
2
and check its units in terms of the power variables, pressure,
volume flow rate Q, and time.
Energetic Equations:
Continuity (Conservation of Volume of Incompressible
Fluid), Node Eqs:
Node 1: Q = QR1
Node 2: QR1 = QI
Node 3: QI = QR2 + QC
Compatibility of Pressure Drops, Path Equations:
p1g = p12 + p23 + p3g
p3 g = p3 g
dQI
dt
Fluid Capacitance C: QC = C
dp3g
dt
Energy Eqs:
System : E sys = E I + EC
1 2
IQ I
2
1
Capacitance: EC = C p32g
2
Inertance: E I =
Abstract
Differential system equations describe the dynamic relationship between an input driving
the system, and one of the power variables within the energetic system. We simplify, or
linearize, the individual energetic element equations, in order to derive a system equation
which is an ordinary differential equation with constant coefficients, a form which we can
solve for the output or response function. The method of undetermined coefficients superposes or sums the response of a system into the natural or homogeneous response of the system to a disturbance to its energetic equilibrium, and the steady-state or particular response
to each input driving the system. Systems with two or more independent energy storage
elements yield differential system equations which may describe oscillations or vibrations.
Complex numbers, complex exponentials, and Eulers equations simplify the solution and
interpretation of the response of oscillatory systems. The Laplace transformation transforms
differential equations into algebraic equations, which can be expressed as multiplicative
dynamic operators called transfer functions. The chapters appendix introduces Mathcad
and MATLAB to plot the solutions or response functions.
2.1Introduction
This chapter presents most of the advanced mathematics used
in the remainder of the text. The topics and methods introduced here will be developed further, when they are applied
in later chapters. Most engineering students do not understand advanced mathematics, until applying it to physically
meaningful problems. This is particularly true for differential equations. It is certainly true that mathematical ability
varies between individuals, and that understanding advanced
mathematics takes some students longer than others. However, with persistence, it is possible for all engineering students
who have passed their courses in calculus and differential
equations to gain an understanding of this mathematics.
Any quantity which flows requires time to move or accumulate. Energy flows across system boundaries and between elements within an energetic or dynamic system. The
time dependency of energy storage leads to the power flows
in dynamic systems described by differential equations. The
interaction of the individual energetic elements which comprise a system with the power source that provides the input is
described by differential system equations. The solution of a
K. A. Seeler, System Dynamics, DOI 10.1007/978-1-4614-9152-1_2, Springer Science+Business Media New York 2014
45
46
Dynamic
System
Input Variable
Forcing Function
Output Variable
General Solution
F(t)
v(t)
1
0
time
Differential
System
Equation
time
Fig. 2.2 A differential system equation can be viewed as a mathematical operator. The differential system equation operates on an input function to yield the corresponding response function
47
dv
+ 3v = 8
dt
which, if interpreted literally, makes no physical sense, because the input is not a function of time. It is common mathematical notation, however, because it is implied that the input
is applied to the system at time, t = 0 , where time, t = 0, is
defined as the beginning of the dynamic response. For our
analyses to be useful, we need to be able to turn on and turn
off the input when we wish. The Heaviside unit step function,
invented by the British engineer, Oliver Heaviside, serves
that purpose, Fig.2.3.
The Heaviside unit step function has two possible values.
It equals zero, when its argument is negative, and equals one,
when its argument is positive. It is defined as:
us (t ) = 0 for t < 0
us (t ) = 1 for t 0
(2.1)
us(t)
1
time
Fig. 2.3 The Heaviside unit step function. The step function transitions, or changes its output value fromzero to one, when its argument
equals zero
us (t ) = 0
for
t<0
us (t ) = 0.5
for
t=0
us (t ) = 1
for
t0
(2.2)
The most common notation for Heaviside is H (t ). Another common notation is 1(t ), where 1 is the number one.
Mathcad uses (t ) . MATLABs symbolic math toolbox uses
Heaviside(t).
We define time, t = 0. If we are applying only one step
input to a system, we will usually choose t = 0 to be the
instant the step input is applied. The initial conditions are
usually presented in textbook differential equation problems at time, t = 0 . Since the transition of the Heaviside
step function from the value of zero to the value of one
is instantaneous, we need to split hairs and define three
different time zeros. Time, t = 0, is the instant the step
is applied. We will call the instant before the step is applied, t = 0 , and the instant after the step is applied, t = 0+ ,
Fig.2.4.
The derivative of the Heavisides step function transition
is a problem. Mathematically, the value of the derivative at
the instant of the transition is infinite, because the transition
from zero to one occurs instantaneously, that is, over zero
time. The derivative of the step function is zero for all other
values of time, since the step function is constant, except at
the instant of its transition.
dus (t )
= for t = 0
dt
(2.3)
48
us(t)
1
t>0
us(t) = 1
(t)
t<0
us(t) = 0
t<0
(t) = 0
t>0
(t) = 0
time
t = 0-
t=0
time
t = 0+
t = 0-
Fig. 2.4 The Heaviside unit step function, us (t ) , Eq.2.1. The time,
t = 0 , is the instant immediately before the transition. Time, t = 0, is
the instant the step transitions. Time, t = 0+, is the instant immediately
after the step has transitioned
and
dus (t )
= 0 for t 0
dt
t=0
t = 0+
(2.4)
(t ) = for t = 0
(t ) = 0 for t 0
(2.5)
2.3Linearity
49
1.0
ur(t)
1
sin(t) us(t)
0.5
time
1 time
-0.5
-1.0
ur (t ) = tus (t )
(2.6)
2.2.5Sinusoids
The other important type of input is a sinusoid. Sinusoidal
inputs occur naturally and are created by rotating machinery
and vibrations or oscillations within the equipment or physical system, which forms the environment around the system
of interest. Sinusoids are also the basis of the Fourier transformation, which allows any periodic input to be approximated
by a summation of sinusoids to the accuracy desired. A very
important special case is the steady-state response of systems
to a sinusoidal input, which is applicable to both vibration
analysis and electrical systems powered by alternating current. Mechanical vibrations are introduced in Chap.4. We
shall investigate the Fourier transform and the steady-state
response of systems to sinusoidal inputs in Chap.10. In this
chapter, we will consider the transient period up to steadystate.
In order to turn on a sinusoid at time, t=0, it is multiplied by the Heaviside unit step function per Eq.2.7:
f (t ) = sin (w t )us (t )
(2.7)
Fig. 2.7 The product of a sine and the Heaviside unit step function
f (t ) = sin (w t )us (t ), Eq.2.7
2.3Linearity
Many engineering calculations rely on superposition. The
premise of superposition is that the response of a system to
each piece of a combined input can be calculated separately,
and, then, the responses summed to calculate the response to
the entire input. In other words, superposition is the decomposition of an input into component parts, calculation of the
response of the system to each component of the input, and
then summing the responses to determine the responses of
the system to the input as a whole. The easy part is to create
an input by summing different input functions. The hard part
is ensuring that the sum of the responses calculated for each
component of the input is reasonably close to the response of
the system to the entire input. Superposition (or summation)
of the resulting step responses only has validity, if we have
restricted our model to linear elements.
50
Fig. 2.8a Elasticperfectly
plastic material model. b Forces,
F1 and F2, superposed on a machine element loaded in tension
y
E
F=F1 +F2
F=F1 +F2
Area A
E, y
iR
30
v12
VDC
iR
20
100 x R
10
0.1 0.2
-10
1 =
F1
A
and
2 =
F2
A
if and only if
1 + 2 = axial
axial y
0.3 0.4
i, amps
-20
-30
Fig. 2.10 Linear electrical resistance. The slope of the line is the
resistance, R, when the units are volts and amperes
d ( xa + xb ) dxa dxb
=
+
dt
dt
dt
(2.8)
d (2 x)
dx
=2
dt
dt
(2.9)
51
placed on x? The input x cannot be raised to a power. For example, define x xa2. Differentiating 2 x 2 xa2 with respect
to time yields the following:
( )
2
dx 2
dx
dx
d (2 x) d 2 xa
=
=2 a =4 a 2 a
dt
dt
dt
dt
dt
We will ensure that our dynamic models of energetic systems are linear, by using only linear equations to describe
the individual elements within the system, so that we can use
superposition. We must always remember to interpret our
results to evaluate the magnitude of the inaccuracy we introduce by the linear approximation of a non-linear physical
relationship. We will develop models of mechanical system
elements in Chap.4. For the time being, we will work with
models as presented.
2.4Superposition
The general solution of linear ordinary differential equations
with constant coefficients is the superposition or sum of the
solution to the homogeneous equation, created by setting the
output variable side of the differential equation to zero, and of
the particular solution(s) for each forcing function. The forcing functions are the inputs to the system. When an energetic
system has reached steady-state, there is equilibrium between
the energy storages in the system, Fig.2.11. The solution of
the homogeneous equation represents the natural response of
a system to a disturbance. If the system is then disturbed by
an input of energy, a new equilibrium must be reached.
The homogenous response of a dynamic system describes
how the system reaches its new energy equilibrium. An ideally linear systems homogenous response decays exponentially and never equals zero. In reality, the homogenous response of systems of practical interest eventually decays to
zero. We refer to the homogenous response as transient
because of its finite duration. Since an ideally linear homogenous response never equals zero, we must define the end
of the transient period. Conventionally, we set time equal to
either four or five times the systems time constant, , as
the duration of the transient period. The time constant scales
the rate exponential decay of the transient responses factors, and thus controls the rate at which a systems response
reaches steady-state.
The transient response of a system is the sum of the homogenous response and the particular solution for each input
Transient
Steady-State
x(t)
time, seconds
Fig. 2.11 An oscillatory step response showing the transient period
and the beginning of steady-state at time equal to five time constants
dnx
d n 1 x
d n2 x
dx
f1 (t ) + f 2 (t ) + + f n (t ) = a 0 n + a1 n 1 + a 2 n 2 + + a n 1 + a n x
dt
dt
dt
dt
(2.10)
52
Table2.1 Common and
standard forms of ordinary
differential equations with
constant coefficients
Common form
Standard form
First-order
F (t ) = a 0
1
dv a1
F (t ) =
+ v
a0
dt a 0
dv
+ a1v
dt
a 0 dv
1
F (t ) =
+v
a1
a dt
1
Second-order
F (t ) = a 0
d 2v
dv
+ a1 + a 2 v
dt 2
dt
1
d 2 v a1 dv a 2
F (t ) = 2 +
+ v
a0
dt
a 0 dt a 0
d nv
d n1v
+ a1 n1 + + a n v
n
dt
dt
an
1
d n v a1 d n1v
F (t ) = n +
++ v
a0
dt
a 0 dt n1
a0
nth-order
F (t ) = a 0
Step 1. Separate the Input Functions and the Output Variables and Express the Differential Equation in Standard
Form.
The input functions, also known as forcing, exciting, or driving functions, describe what we plan to do, or did, to the system. Time is the independent variable in a dynamic system.
We must be able to describe our actions on the system in the
language of mathematics as functions of time. We will iden-
f1 (t ) + f 2 (t ) + + f n (t ) = a 0
d4x
d3x
d2x
dx
+ a1 3 + a 2 2 + a 2
+ a4 x
4
dt
dt
dt
dt
Unfortunately, there are two different conventions for numbering the coefficients, each the reverse of the other. One
method assigns the subscript, zero, to the coefficient of the
d4x
d3x
d2x
dx
f1 (t ) + f 2 (t ) + + f n (t ) = a 0 4 + a1 3 + a 2 2 + a 3
+ a4 x
dt
dt
dt
dt
Input Terms
Output Terms
highest-order term. The other method assigns the subscript,
zero, to the zero-order term. These conflicting conventions
are a problem whenever there is a formula expressed in
terms of the subscripts of the coefficients. Never use a formula which involves coefficient subscripts, unless you are
certain which numbering convention it is based on.
We will not limit the number of terms on the input side
of the differential equation. It is common and useful to
sum (or superpose) any number of inputs. Therefore, we
will retain the indefinite n for the number of input functions or terms.
The Method of Undetermined Coefficients is as follows:
(2.11)
(2.12)
53
c. Is the equation linear? This takes more thought. The question of linearity refers to the dependent, or output, variable, x. The input or forcing functions can be non-linear.
In fact, an important forcing function is sin(w t ) . The
input side can have non-linear terms. It is the output side,
the side that describes the system, which must be linear.
The differential operator is a linear operator, regardless of
the order of the differential because it distributes onto a sum,
Eq.2.8., and doubling its input doubles its output, Eq.2.9.
For the output side to be linear, it cannot contain trig functions, powers of the dependent (output) variable, products of
the dependent variable and its derivatives, or products of the
derivative of the dependent variable and another derivative.
Eq.2.14 is non-linear because of the square on the output
1
1
1
d 4 x a1 d 3 x a 2 d 2 x a 3 dx a 4
f1 (t ) +
f 2 (t ) + +
f n (t ) = 4 +
x
+
+
+
a0
a0
a0
a 0 dt 3 a 0 dt 2 a 0 dt a 0
dt
The form we will use for first-order differential equations is
called time constant form. As we will develop in depth, the
time constant of a system, (Greek for t), is the time scale
of its natural or unforced response. The time constant can be
identified by units analysis, after the output variable term
of the first-order differential equation is cleared of its coefficient. The time constant is also known as the relaxation
time, a term with origins in elasticity, but now extended into
other applications.
Step 2. Check the Type of the Differential Equation.
The system equation produced by reducing a lumped parameter model of an energetic system will be a linear ordinary
differential equation, if the models of the individual energetic elements are all themselves linear models. In practice,
this means that equations which describe energy dissipation
in mechanical and fluid systems (i.e., friction), and some of
the equations which describe elastic strain energy storage
must be linearized, i.e., approximated by linear equations.
We will examine the process more closely in Chap.3, but the
need to eliminate non-linear element equations is absolute.
We cannot solve non-linear differential system equations
analytically. We must resort to computational (numerical)
methods, which we will develop in Chap.8. Check the system equation before proceeding.
a. Is it an ordinary differential equation? If there are partial
derivatives, then it is a partial differential equation, not an
ordinary differential equation.
b. Are the coefficients a 0 , a1 , a 2 , a n of the output side
constants, or are they functions of time? If they are not
constant, stop now! You cant solve a differential equation with non-constant coefficients, using the Method of
Undetermined Coefficients.
(2.13)
variable, v.
1 dF d 2 v b dv 2 K
= 2 +
+ v
M dt
M
dt M
dt
(2.14)
Nonlinear
Most non-linear differential equations cannot be solved analytically, because you cannot use superposition to break the
problem down into bite-sized pieces. The solution of nonlinear differential equations is an all or nothing operation. Do
not attempt to use linear methods on non-linear equations.
Go back to the beginning and linearize the model, by using
linear element or constitutive equations.
Step 3. Check the Units of Each Term in the Equation.
This is an important check. You are checking to see if you
are adding apples and apples. All terms in a summation must
have the same units, or they cannot be summed. If the units
dont check, then you are working with nonsense. Check
now, before you invest any more time in the solution. Consider a second-order equation:
F = a0
d 2v
dv
+ a1 + a 2 v
2
dt
dt
54
d 2v
dv
1
d 2 v a1 dv a 2
a
a
v
F
+
+
=
+
+ v
1
2
dt
a0
dt 2
dt 2 a 0 dt a 0
What are the units of the derivative terms? Recall the definition of a derivative from Calculus I.
dv
v
= lim
dt t 0 t
v
Therefore, dv has the units, , where the square brackdt
t
ets are read as units of. The derivative operator, d, means
infinitesimal change of. The derivative operator has no
units, and does not affect the units of the term it operates
2
on. Consider the second derivative, d 2v , and carefully note
dt
where the superscripts are. The superscript in the numerator
squares the derivative operator. The superscript in the de2
nominator squares the variable time, t. Consequently, d 2v
dt
v
has the units, 2 .
t
0=
d 4 x a1 d 3 x a 2 d 2 x a 3 dx a 4
x
+
+
+
+
dt 4 a 0 dt 3 a 0 dt 2 a 0 dt a 0
(2.15)
This is called the homogenous equation, because homogeneous means self-generating, and the trivial solution of
the homogenous equation, x = 0, equals the input side of
zero.
The homogeneous equation represents the natural (unforced) response of the system, because the forcing function
is zero. Physically, the homogeneous solution represents the
response of the system, when it is given some amount of energy, then released. The energy flows through the system
and into the environment, in a way that depends on the nature of the system, or, in other words, is characteristic of the
system. This happens every time the system is disturbed,
which is whenever we apply an input or change an input to
the system. Consequently, the homogeneous response of the
system is always present in the initial period of a systems
response. The duration of the homogenous response defines
the transient period. A system has reached steady-state,
when the homogeneous response has decayed to zero.
(2.16)
where n is the order of the differential equation. The coefficients An are the undetermined coefficients of the method of
undetermined coefficients. They are determined in the final
step of the method. It will be easy to remember Ae st because
we will use this exponential function frequently.
The complex variable, s = + jw , of the exponential Ae st is a characteristic value of the system. In other
words, it is a solution of the systems characteristic equation.
The characteristic equation is created by evaluating the homogenous equation with the trial solution, x = Ae st . Recall
how to differentiate an exponential.
deu
du
= eu
dx
dx
(2.17)
xH (t ) = A1e s1 t + A2 e s2 t + + An e sn t
dAe st
= Ae st s
dt
Although the mnemonic from Calculus places du/dx after the
exponential, we will place the derivative in front, to make it
more prominent and, therefore, less likely to be lost during
transcription:
deu du u
dAe st
e
=
= sAe st
dx
dx
dt
(2.18)
0=
55
dvH a1
dAe st a1
Ae st
+ vH 0 =
+
dt
a0
dt
a0
a1
a0
Ae st
a1
0 = s + Ae st
a0
=0 s=
vH (t ) = Ae
(2.19)
a1
0=
a0
d n Ae st
= s n Ae st
dt n
as repeated first-order differentiation. Each order of differentiation yields the Laplace variable, s, raised to the power
equal to the order of differentiation.
s+
vH (t ) = Ae
a1
a0
d 2 Ae st a1 dAe st a 2
Ae st
+
+
a 0 dt
a0
dt 2
a1
a0
sAe st +
a2
a0
Ae st
Physically, the natural response of all first-order, stable energetic systems is an exponential decay. We will see that homogenous, natural, or unforced, solution is present, even
when we drive a system with an input or forcing function.
The exponential decay results from the system reaching equilibrium to the changed conditions. If we have a system which
is initially de-energized, and apply a step input, then energy
will flow into the system, eventually leading to an equilibrium
condition, in which the amount of energy in the system stays
unchanged, until the input is again changed. Any subsequent
change to the input will initiate another natural response.
The homogenous solution of higher-order differential
equations follows the same steps as the previous first-order
system example. Higher-order derivatives of the solution
Ae st are evaluated by repeated differentiation,
d 2 Ae st
d dAe st d
dAe st
st
=
=
=
= s 2 Ae st
(
s
A
e
)
s
dt dt dt
dt
dt 2
where the Laplace variable s can be factored out of the derivative, since it is not a function of time. The shortcut is to
recognize that evaluating higher-order differentiation of Ae st
yields the factor, s, raised to the order of the differentiation,
a2
a1
0 = s 2 + s + Ae st
a0
a0
Set the characteristic function equal to zero, to form the characteristic equation.
s2 +
a1
a0
s+
a2
a0
=0
b b 2 4ac
2a
2
a1
a2
4
a0
a0
a0
a1
s2 +
a1
a0
s+
a2
a0
= 0 s1 , s2 =
56
L {0} = L
d4x
4 +L
dt
a 1 d 3 x
+L
3
a 0 dt
d 4 x a 1 d 3 x a 2 d 2 x a 3 dx a 4
+
+
+
4 +
a 0 dt 3 a 0 dt 2 a 0 dt a 0
dt
L {0} = L
L {0 f (t )} = 0 L { f (t )} = 0 F ( s ) = 0
Distribute the Laplace transformation operator onto each
term of the summation.
a 2 d 2 x
+L
2
a 0 dt
a 3 dx
+L
a 0 dt
a 4
a 0
L {0} = L
d 4 x a1
d3x a2
d 2x a3
dx a 4
4 + L 3 + L 2 + L + L { x}
dt a 0
dt a 0
dt a 0
dt a 0
df (t )
= sF ( s ) f ( 0)
dt
(2.20)
d 2 f (t )
df ( 0)
2
= s F ( s ) sf ( 0)
2
dt
dt
(2.21)
L
L
a1
a0
s3 X (s) +
a2
a0
s 2 X (s) +
a3
a0
sX ( s ) +
a3
a2
a1
a
0 = s 4 + s3 + s 2 + s + 4 X (s)
a0
a0
a0
a0
a4
X (s)
a0
57
a1
a0
s3 +
a2
a0
s2 +
a3
a0
s+
a4
a0
d
s
dt
dn
sn
dt n
d 4 x a1 d 3 x a 2 d 2 x a 3 dx a 4
x
+
+
+
+
dt 4 a 0 dt 3 a 0 dt 2 a 0 dt a 0
a3
a2
a1
a
0 = s 4 + s3 + s 2 + s + 4 X (s)
a0
a0
a0
a0
0 = s4 +
a1
a0
s3 +
a2
a0
s2 +
a3
a0
s+
a4
a0
f1 (t ) = K1 + K 2 t
for t > 0
(2.22)
f 2 (t ) = K1 + K 2 t + K 3t 2
for t > 0
(2.23)
58
x p = C 4 + C5 t + C 6 t 2
(2.24)
x p = C1 sin( t ) + C2 cos( t )
(2.25)
d (C1 sin( t ))
= C1 cos( t ) = C1 cos( t )
dt
(2.26)
and
d (C2 cos( t ))
= C2 sin( t ) = C2 cos( t ) (2.27)
dt
x p = tAe st
(2.28)
x p = Ct
(2.29)
59
Differential equation
First-order
( )
1
dv a1
F (t ) =
+ v
a0
dt a 0
v 0+
a 0 dv
1
F (t ) =
+v
a1
a dt
1
Second-order
1
d 2 v a1 dv a 2
F (t ) = 2 +
+ v
a0
dt
a 0 dt a 0
( )
v 0+ and
( )
dv 0+
dt
nth-order
a
d n v a1 d n1v
1
F (t ) = n +
+ + n v
a0
dt
a 0 dt n1
a0
xh + x p = x
(2.30)
( )
v 0+ ,
( ) , d v (0 )
dv 0+
dt
n 1
dt
n 1
60
t = 0+ . Using n as the order of the differential system equation, we must also know the values of n 1 derivatives of the
output variable at time, t = 0+.
We will address how values of the initial conditions are
determined in Chap.3, after we have discussed the energy
storage variables of an energetic system, and their role as
state variables. Briefly, if we wish to predict the response
of an energetic system to our input (a power source), we
must know how much energy is in each energy storage element in the energetic system, the instant before we apply
the input. We will see that knowing the input power variable (which we always know, since it is under our control)
and the values of the energy storage or state variables is
sufficient information to determine every other power variable in a system.
f (t ) = Ae at sin (w t + )
(2.31)
f ( jx) = e j x
(2.32)
( 9) 2
9 = 3 1 = 3 j
Z, Z* = x jy
(2.33)
(2.34)
61
Imaginary
Imaginary
jy
Z = x + jy
Z2 = 3+j
j3
Z 3 = Z1 + Z 2
= (-2+j2)+(3+j)
= 1+j3
j2
Z1 = -2+j2
x Real
-3
Z *= x - jy
-jy
Imaginary
j2
Z2 = 3+j
-3
-2
-1
-2
-1
3 Real
Fig. 2.14 Complex numbers, Z1 and Z2, added using the parallelogram
rule vector construction
Z 1 = -2+j2
Z 2 = 3+j
3 Real
To use the parallelogram construction to perform subtraction, Z2 is multiplied by 1, which rotates the vector 180.
The rotated vector, Z2, is translated to the tip of Z1 to yield
the sum Z3, as shown in the vector construction, Fig.2.15.
There is a shortcut for constructing the difference between two vectors, which is to draw the resultant Z3 from
the tip of the vector being subtracted, Z2, to the tip of the
vector, from which it is being subtracted, Z1, Fig.2.16.
This vector shortcut will prove useful in constructions we
will make by using complex variables.
Z = Z1 + Z 2 = ( x1 + jy1 ) + ( x2 + jy2 )
= ( x1 + x2 ) + ( jy1 + jy2 )
= ( x1 + x2 ) + j ( y1 + y2 )
(2.35)
Z = Z1 Z 2 = ( x1 + jy1 ) ( x2 + jy2 )
= ( x1 x2 ) + ( jy1 jy2 )
= ( x1 x2 ) + j ( y1 y2 )
(2.36)
The graphical constructions, which are used to add or subtract position vectors or force vectors, are also used to add
or subtract complex numbers plotted as vectors in a complex plane. Complex numbers have magnitude, direction,
and obey vector rules for addition and subtraction, Fig.2.13.
For example, the same graphical constructions based on the
parallelogram rule, used to add or subtract position vectors
or force vectors, are also used to add, Fig.2.14, or subtract
complex numbers, as illustrated in the following examples.
v =
x12 + y12
(2.37)
x12 + ( jy1 ) =
2
x12 + j 2 y12 =
x12 y12 Z1
(2.38)
62
Fig. 2.15 The difference between complex numbers, Z1 and
Z2, constructed using the parallelogram rule vector for vector
addition. Multiplying a vector or
complex number by 1 reverses
its direction
Imaginary
j2
-Z2 = -(3+j)
Z1 = -2+j2
j
Z 3 = Z1 - Z2
= (-2+j2)-(3+j)
= -5+j
-6
-5
-4
-3
-2
-1
-Z2 = -(3+j)
Z 2 = 3+j
3 Real
-j
Imaginary
-Z2 = -(3+j)
Z 1= -2+j2
Z 3= Z 1- Z 2
= (-2+j2)-(3+j)
= -5+j
-6
-5
Z 3= Z 1 - Z 2
-4
-3
-2
j2
-1
-Z2 = -(3+j)
Z 2 = 3+j
2
3 Real
-j
magnitude of a complex number is calculated using the Pythagorean Theorem, after removing the imaginary number
Z1 x1 + jy1 =
x12 + y12
(2.39)
v v = ( x1 + y1 ) ( x1 + y1 ) = x1 x1 + y1 y1
(2.40)
(2.41)
Consequently, the dot product of two complex numbers is either undefined, since it does not yield the magnitude squared,
or is defined as a special case, in order to yield the magnitude
Z1 Z 2 = undefined
(2.42)
Although the dot product of complex numbers can be defined for some applications, the cross-product of two complex numbers is not defined:
Z1 Z 2 = undefined
(2.43)
In one sense, we are splitting hairs, because there is no crossproduct defined for other quantities which we refer to as
vectors. For example, we may have a third-order dynamic
system with the state vector x comprised of the state variables, pressure, translational velocity, and torque. The crossproduct of the state vector, x, and a position vector, r, is not
defined either.
Complex numbers in Cartesian form are multiplied as an
algebraic expansion.
(2.44)
63
Im
Z1 = -2+j2
-1
j2
j
Z1
|Z 2|
1
Z2 = 3+j
|
|Z 1
|
|Z 1
-2
Z1 = -2+j2
Z2
3
Re
-2
=
=
x1 x2 jx1 y2 + jx2 y1 j 2 y1 y2
x2 x2 jx2 y2 + jx2 y2 j 2 y2 y2
x1 x2 + y1 y2 + j ( x1 y2 + x2 y2 )
Re
inverse tangent of the magnitude of the imaginary component over the real component.
Z2 in polar form is
(2.45)
There are two other forms for complex numbers. The first
is the polar representation, familiar from cylindrical coordinates, shown in Fig.2.17. Recall that a polar representation
of a vector in a two-dimensional plane specifies the length,
or magnitude, of the vector, and the angle that vector makes
with the positive x-axis. Likewise, the polar representation
of a complex number requires the length, or magnitude, of
the complex number, and the angle of the complex number.
The magnitude (modulus) is a purely real number. The angle
of a complex number is measured counter-clockwise from
the positive real axis. Unfortunately, the mathematical term
for the angle of a complex number is its argument, which
is more commonly used to identify the operand or input to
a function.
opposite
y
Z = tan 1
= tan 1
x
adjacent
Z 2 = 32 + 12 = 3.16
Z1
j
The magnitude (modulus) of Z2 is calculated with the Pythagorean Theorem, using the magnitudes of the real and
imaginary components.
x22 + y22
j2
1
Z 2 = tan 1 = 0.32 rad
3
Z1
x + jy1
x + jy1 x2 jy2
= 1
= 1
Z 2 x2 + jy2 x2 + jy2 x2 jy2
=
-1
Im
(2.46)
1 2
Z1 = = tan 2 = 4 = 2.36 rad
The magnitude of Z1 is
Z1 = 22 + 22 = 2.83
Z1 in polar form is
Z1 = ( Z1 , Z1 ) = ( 2.36 rad, 2.83)
(2.47)
(2.49)
sin( ) = + +
1! 3! 5! 7!
1
ex =
x 0 x1 x 2 x 3
+ + + +
0 ! 1! 2 ! 3!
(2.50)
e j = 1 + ( j )
( j )2 + ( j )3 + ( j )4 + ( j )5 + ( j )6 + ( j )7
2!
e j = 1 + j +
3!
4!
5!
6!
7!
j 2 2 j 3 3 j 4 4 j 5 5 j 6 6 j 7 7
+
+
+
+
+
2!
3!
4!
5!
6!
7!
Use j 2 = 1,
e j = 1 + j
2
2!
j 3 4 j 5 6 j 7
+
+
3! 4! 5! 6! 7!
e j = 1 +
2! 4! 6!
3!
5!
7!
e j = cos ( ) + j sin ( )
(2.51)
e j
|=
j sin()
cos()
Re
By definition, 0 ! = 1 . Recall 0 = e0 = x 0 = 1.
Starting with the power series for ex, let x=j:
Im
|e
64
Z = Z e j
where = Z
(2.52)
Im
Im
jsin()
-j
-e
2jsin()
|1
|
|e j
|=
sin()
65
cos()
Re
-j
-e
e j
jsin()
x 2 + y2 = 1
cos() + jsin() = e
|e
|=
cos()
cos()
Re
e-j
Im
e j e j
2j
|e
|=
jsin()
e -j
cos()
2cos() Re
-j
e j + e j
2
Z = ( x, jy )
result is twice the length of the projection cos( j). Consequently, the sum e j + e j must be divided by two.
cos ( ) =
e j + e j
2
(2.53)
Z = x + jy
Z = Z e Z
The magnitude |Z| is calculated using the Pythagorean Theorem with the magnitudes of the real and imaginary components, Eq.2.39. Remember to drop j from the imaginary
component!
Z =
x2 + y 2
x
adjacent
The algorithm, used in most calculators for the inverse tangent, only reports angles in the first and fourth quadrants of
the complex plane. Sketch complex numbers, before calculating the angle between them. This is demonstrated below
using the complex numbers Z4 and Z5 shown in Fig.2.23.
66
Z 4 = 1.41e j0.79
Im
j4
|Z 5|
Z4
j3
Z5
Re
46
|
|Z
4|
Z 5 = 3.16e
j0.32
|4.
Im
j2
Z 6 =1.11
Z4 = Z4 e
j Z 4
Z 4 = 1.41e
j 0.79
Z = 12 + 32 = 3.16
5
1 1
0
Z5 = tan = 36.9 = 0.32 rad
3
Z5 = Z5 e jZ5
Z5 = 3.16e j 0.32
ea
= ea b
eb
(e )
a n
= e na
(2.56)
(2.57)
The properties of exponentials are independent of the constant we use as the base. We will illustrate the properties
using base 10, because its arithmetic is familiar, but the properties apply to base e, as well. Further, the properties apply
whether the exponents are constants, variables, or functions.
The product of exponentials equals the base raised to the
sum of the exponents.
102 103 = 102 + 3 = 105 and 105 = 101+ 4 = 101 104
4|
Z4
Z5 = 3.16e j0.32
|Z 5|
Z5
Re
Fig. 2.24 The product of complex numbers, Z 4 and Z5 in complex exponential form
and
Z5 = 3 + j
|Z
Z4 = 1 + j
Z = 12 + 12 = 1.41
4
1 1
0
Z 4 = tan = 45 = = 0.79 rad
1
4
Z 4 = 1.41e j0.79
The ratio of exponentials equals the base raised to the difference of the exponents.
102
105
23
1
3
5 2
10
10
and
10
10
=
=
=
=
103
102
The fact that any base raised to the zero power equals one is
easy to prove
10
= 10 1 10 1 = 10 11 = 100 = 1
10
Z 1 = 2.83e j2.36
67
Im
j2
j
Z1
Z 2 = 3.16e j0.32
Z2
-3
-2
-1
Z 7 = 4.24 rad
Z 7 = -2.04 rad
Re
Z 7 = 1.12e -j2.04
Fig. 2.25 The ratio of complex numbers Z2 over Z1, in complex exponential form
j Z + Z
Z 6 = Z 4 Z5 = Z 4 Z5 e ( 4 5 )
(2.58)
F (s) =
b0 s m + b1 s m 1 + + bm
a 0 s n + a1 s n 1 + + an
Z e j Z2
Z j
Z2
= 2 j Z1 = 2 e (Z2 Z1 )
Z1
Z1
Z1 e
Z7 =
(2.59)
where m n (2.61)
F ( + jw ) =
Z N xN + jy N
=
Z D xD + jyD
(2.62)
e j Z2
j Z j Z
j
= e( 2 1 ) = e (Z2 Z1 )
e j Z1
(2.60)
j Z 2
N (s)
D (s)
In Eq.2.60, N(s) and D(s) represent the numerator and denominator polynomials. The general case is the following:
F (s) =
F ( + jw ) = Z =
Z e j N
Z
ZN
= N j D = N e j ( N D )
ZD
ZD
ZD e
(2.63)
Unlike the roots of real numbers, the roots of complex exponentials are easy to calculate manually. We will illustrate
the properties of powers and roots of complex exponentials
using as an example the purely real number negative one expressed as a complex exponential, Fig.2.26. If the primary
angle is defined as the smallest angle which locates a complex number, then negative real numbers have two primary
angles, 180o = rad
1 = e j = e j
(2.64)
68
Im
e j = -1
Im
3 = = 3
e-j = -1
e = -1
-1
= -
j =e
= -1
j 2
1 = e j
Re
1 = e j 3
=e
(2.65)
1 = 3 e j = 3 e j
1 = e
( 1)3 = (e j )
1 = e j ( + 2 )
The last expression can be written as the product of two complex exponentials using Eq.2.55,
1
2
-j 2
=e
1 = e j = e j j = e
_
-j
3
=e
we find two of the three roots. The third root is negative one
itself. Negative one cubed equals negative one:
Fig. 2.27 Negative one has two square roots. We choose to use the
positive square root as the imaginary number, j
j2
-
2 = __
2
-j = e
j2
1 = _
2
e j = -1
-j
j 1
Re
-
__
2 = 3
Fig. 2.26
Negative one expressed as a complex exponential,
1 = e j = e j
Im
= ej 3
1 = 3
Re
j1
=e
1 = e j ( + 2 ) 1 = e j e j 2
from which the following holds:
e j 2 = e j (2 2 ) = e j 0 = e0 = 1
(2.66)
Im
69
1.0
e j(t+)
et
0.5
e j
f1(t) 0
Re
-0.5
-et
Fig. 2.29 A rotating unit vector. The unit vector rotates in the positive,
counter-clockwise direction around the origin of the complex plane
A rotating complex exponential unit vector, which advances in the positive, counter-clockwise around the origin
of its complex plane as time increases, has a positive angular
frequency and a time-varying angle of either (t ) = w t or
(t ) = w t + , Fig.2.29.
-1.0
(2.68)
A great utility of complex exponential unit vectors is the efficiency with they which represent decaying oscillations. A
decaying oscillation is the product of an amplitude M, which
is a scaling factor, a real exponential decay et, and a sinusoid
with the form:
f1 (t ) = M 1e t sin (w t + 1 ) + C1
(2.69)
or
f 2 (t ) = M 2 e cos (w t + 2 ) + C2
t
(2.70)
where
f 2 (t ) =
M
2
t
e
cos (w t + 2 ) + C2
Amplitude Decay
Oscillation
Steady
State
Value
t, sec
C1 = 0
1.0
et
(2.67)
e jwt = cos(w t ) + j sin(w t )
0.5
= -1
f 2(t) 0
-0.5
-et
-1.0
t, sec
150
= +1
100
Unstable Exponential
Growth Envelope et
et cos(t) = et cos(10t)
50
f 3(t) 0
-50
-100
-150
-et
0
t, sec
accumulation of energy in the system increases the amplitude of the oscillations. In a physical system, eventually, if
the power supplied to the system is sufficiently large, the
amount of energy stored in the system exceeds the capacity
or strength of the system, thereby destroying it. If the power
supplied to the system is not large enough to destroy it, the
systems will reach a bounded unstable state, in which its
oscillations remain at the limiting amplitude. A bounded unstable state is a failure mode for the response of a system,
since we want systems to follow the input we give them, not
to go into endless oscillations.
The result of a dynamic calculation is presented in the
form of Eqs.2.73 or 2.74, as the product of a real exponential and a sinusoid. In fact, the execution of the calculation
is greatly simplified when the oscillation is represented by
a complex exponential unit vector instead of a sinusoid. We
will develop the mathematical technique below, and illustrate its use in example 2.7.6.
f(t) =
e st
b
1.0
j0.5
0.5
j0.0
0.0
-j0.5
-0.5
-j1.0
-1.0 -0.5
0.0
0.5
1.0
-1.0
Im[f(t)] = e tsin(t)
time
0.0
0.5
1
2
3
4
Fig. 2.33
a Plot of a rotating complex exponential,
f (t ) = Me st = Me( + jw )t , where M = 1 and s = 1 + j 2. b The projection
+
j
w
t
of Me( ) onto the vertical axis is Eq.2.68, Im f (t ) = e t sin (w t ) ,
c The projection of Me( + jw )t onto the horizontal axis is Eq.2.69,
Re f (t ) = e t cos (w t )
Im
j(t 2+)
j(t1+)
t 2
t1
-1
1 Re
-j
-t1
-j(t 2+)
-t2
-j
1.0
(2.72)
Note that Im[ f (t )] is a purely real number. It is the magnitude of the imaginary component. The magnitude of the real
component is expressed as Eq.2.73.
Re[f(t)] = e tcos(t)
-1.0 -0.5
0
(2.71)
f (t ) = Me t e j w t = Me t + j w t = Me( + j w ) t = Me st
This expression is a rotating exponential unit vector, with a
time varying magnitude. If the real component, , is negative, the vectors magnitude decreases with time. The tip of
the vector traces a logarithmic spiral, Fig. 2.33a, a familiar
natural shape. A cross-section of a snails shell is a logarithmic spiral, because a snails growth rate is proportional to its
size. The trace of a snails growth is a spiral from the origin
out. Conversely, the decay rate of a dynamic systems oscillation is proportional to the amount of energy stored in the
system. The trace of the response of a dynamic system is a
spiral toward the origin. Software and calculators have the
functions Re [ ] and Im [ ], which return only the magnitude
of the real or imaginary components of a complex number,
respectively. The imaginary component of the complex exponential is expressed, as Eq.2.72,
e te jt = e (+j)t
j1.0
time
70
-j(t 1+)
Fig. 2.34 Counter-rotating complex conjugate exponential unit vectors, e j(wt + ) and e j(wt + )
e j + e j
2
and
sin ( ) =
e j e j
j2
71
Eulers cosine and sine formulas contain complex exponential unit vectors with equal but opposite angles. When the
angle is the time-varying angle = w t + then the complex exponential unit vectors e j (wt + ) and e j (wt + ) counter-rotate about the origin of a complex plane, Figs.2.33 and 2.34.
The resultant of e j (wt + ) + e j (wt + ) lies on the real axis,
with constant coefficients which have complex conjugate eigenvalues and, hence, an oscillatory, homogeneous solution,
with the following example:
(2.74)
e j (wt + ) + e j (wt + ) = 2 cos (w t + )
or
e j (wt + ) + e j (wt + )
= cos (w t + )
2
(2.75)
(2.76)
or
e j (wt + ) e j (wt + )
= sin (w t + )
j2
(2.77)
(2.78)
(2.79)
The expansion of the expression from the complex exponential form to the trigonometric form, with the phase shift
represented as the sum of products of sinusoids, is reason
enough to work with complex exponentials:
e t (e j (w t + ) + e j (w t + ) ) = 2e t cos(wt + )
= 2e t (cos(wt ) cos( ) sin(wt ) sin( ))
8=
d 2 v dv
+ + 6v
dt 2 dt
dv(0+ )
= 10.
dt
L {0} = L
L {0} = L
d 2 v dv
2 + + 6v
dt
dt
d 2v
dv
2 + L + L {6v}
dt
dt
0 = s 2V ( s ) + sV ( s ) + 6V ( s ) 0 = s 2 + s + 6 V ( s )
Assuming V(s)=0 is the trivial solution. Set the characteristic function equal to zero, to form the characteristic equation.
s2 + s + 6 = 0
The roots of the characteristic equation are the characteristic
values or eigenvalues
s1 , s2 = jw
s1 , s2 =
1 12 4 6
2
s1 , s2 = 0.5 j 2.40
It is more efficient and less error-prone to perform as much
of the solution symbolically as possible. Substitute in the numerical values of the eigenvalues only when necessary.
We now solve the particular equation, using the form of
the input as the form of the particular solution. The input
is a constant. Hence, the particular solution is the unknown
constant C, as follows:
vp = C
72
d 2vp
dt 2
dv p
+ 6v p
dt
C=
8=
dC
d 2C
+
+ 6C
2
dt 0 dt 0
( ) = 10 = A s e
dv 0+
1 1
dt
8
= 1.33
6
1.33 = A1 + A2
+
We now use the initial conditions, v(0 ) = 0 and
+
dv(0 ) / dt = 10, last with the general solution, to determine
the undetermined coefficients, A1 and A2:
( )
v 0+ = 0 = A1e s1 0 + A 2 e s2 0 + 1.33
0 = A1 e0 1 + A 2 e0 1 + 1.33
0 = A1 + A2 + 1.33 1.33 = A1 + A2
10 = A1 s1 + A2 s1
Resist the temptation to substitute the values of the eigenvalues into the equations. Numbers are only needed for arithmetic.
Algebra is easier with symbols. It is easier to see the required
operations and requires less writing to execute them. Choose a
solution method from: (1) direct substitution and elimination,
(2) Gaussian elimination, or (3) linear algebra. Direct substitution is easy for a system of equations with two unknowns.
1.33 = A1 + A2 A1 = 1.33 A2
In order to use the initial condition, dv(0 ) / dt = 10, differentiate the general solution and then evaluate it for time,
t = 0+ . Reversing this order and evaluating the general solution, before differentiating it, will mistakenly lead to identifying quantities as constants, which are, in fact, variables
that happen to have a known value at the instant, t = 0+.
dA 2 e
dv (t ) dA1e
=
+
dt
dt
dt
s1t
dt
dA1e
dt
+ A2
s2 t
dA1e
dC
dt
dt
= A1
de s1t
de s2t
+ A2
dt
dt
dt
dv (t )
dt
dt
dt
+ A 2 e s2t s2
dt
dt
10 = 1.33s1 + A 2 ( s2 s1 )
10 + 1.33s1
= A2
s2 s1
10 + 1.33s1
s2 s1
10 + 1.33s1
s2 s1
A2 =
de
du
= eu
.
dx
dx
10 = 1.33s1 A 2 s1 + A 2 s2
dv (t )
ds t
ds t
= A1e s1t 1 + A2 e s2t 2
dt
dt
dt
dv (t )
A1 = 1.33 A2 A1 = 1.33
dt
10 = A1 s1 + A2 s2 10 = 1.33 A2 s1 + A2 s2
s2 t
10 = A1 s1 + A2 s2
dv (t )
+ A 2 s2 e s2 0
10 = A1 s1 e0 1 + A 2 s2 e0 1
s1t
s1 0+
A2 =
10 + 1.33 ( + jw )
jw ( + jw )
10 + 1.33 + j1.33w
j 2w
10 + 1.33 + j1.33w j 2w
j 2w
j 2w
j ( 20w + 2.66w ) + j 2 2.66w 2
j 2 4w 2
A2 =
A2 =
73
2.66w 2
20w 2.66w
+ j
+
4w 2
4w 2
4w 2
5 + 0.67
A 2 = 0.67 j
w
A1 = 1.33 A 2
A1 = 1.33 0.67 +
5 + 0.67
j
5 + 0.67
A1 = 0.66 j
w
Comparing A1 and A2, we see that they are complex conjugates. The discrepancy between real components is a rounding error, due to limited numerical precision. We now substitute in the values, = 0.5 and w = 2.96 .
5 + 0.67
A1 = 0.66 j
Having determined the undetermined coefficients and expressed them as complex exponentials, we now substitute
them and eigenvalues into the general solution symbolically.
v (t ) = A1e s1t + A 2 e s2t + 1.33
v (t ) = Me j e( + jw )t + Me j e( jw )t + 1.33
Distribute time t in the exponents.
v (t ) = Me j e t + jw t + Me j e t jw t + 1.33
Using Eq.2.55, we express the complex exponentials as the
products of a real exponential and a complex exponential
unit vector.
v (t ) = Me j e t e jw t + Me j e t e jw t + 1.33
Factor out the product Me t.
v (t ) = Me t e j e jw t + e j e jw t + 1.33
Now use Eq.2.55 to combine the products of two exponential.
5 + 0.67 ( 0.5)
A1 = 0.66 j
2.40
v (t ) = Me t e j + jw t + e j jw t + 1.33
A1 = 0.66 j1.94
5 0.67
A 2 = 0.67 + j
v (t ) = Me t e jw t j + e jw t + j + 1.33
A 2 = 0.67 + j1.94
v (t ) = Me t e j (w t ) + e j ( w t + ) + 1.33
1.94
A2 = A1 = tan 1
= 1.90 rad
0.67
The magnitude (modulus) of the complex A1 and A2 is the
following:
A1 = A2 = 0.67 2 + 1.942 = 2.05
thus,
v (t ) = Me t e j (w t ) + e j (w t ) + 1.33
Note that the complex exponentials are counter-rotating
unit vectors with the phase angle, -. The sum of the counter-rotating complex exponential unit vectors is in the form
of Eq.2.74. After we multiply the first term by the unity
ratio of 2/2.
v (t ) =
2 t j (w t + )
Me e
+ e j (w t + ) + 1.33
2
v (t ) = 2 Me t
e j (w t + ) + e j (w t + )
+ 1.33
2
74
6
-0.5t
v(t) = 4.10 e
cos(2.40t-1.90)+1.33
v(t)
0
-2
-4
6
0
time
( )
ditions, v 0+ = 0 and
( ) = 10
dv 0+
10
d v dv
+ + 6v with the initial condt 2 dt
dt
( )
v 0+ = 0
v (t ) = 2 Me cos (w t + ) + 1.33
t
dv
+ 3v = 8
dt
dv
+ 3v = 8us (t )
dt
dv 3
8
+ v = us (t )
dt 6
6
dv
+ 0.50 v = 1.33us (t )
dt
Step 2. Check Units of Each Term in the Equation.
dv
dt + [ 0.50v ] = 1.33us (t )
dv
dt + 0.50 [ v ] = 1.33 us (t )
v
t + [v] = [ ]
d2
s2
dt 2
dn
sn
dt n
75
To illustrate, we will first use substitution of the homogeneous solution, vh (t ) = Ae st, followed by differentiation:
dv
+ 0.50v = 0
dt
dvh (t )
dt
+ 0.50vh (t ) = 0
dAe st
+ 0.50 Ae st = 0
dt
Recall how to differentiate an exponential,
Ae s t
deu
du
= eu .
dx
dx
d ( st )
+ 0.50 Ae s t = 0
dt
sdt tds
st
+
Ae s t
+ 0.50 Ae = 0
dt
dt
The variable s is not a function of time t. Hence,
td ( s )
= t 0 = 0
dt
and
sdt tds
st
st
st
+
Ae st
+ 0.50 Ae = Ae ( s1 + t 0) + 0.50 Ae
dt
dt
( s + 0.50)
Ae st = 0 s + 0.50 = 0 s = 0.50
Never
Zero
76
for
t > 0+
where C is a constant.
Substitute and evaluate derivatives.
dv p (t )
dt
+ 0.50v p (t ) = 1.33
0.50C = 1.33
dC
+ 0.50C = 1.33
dt 0
C = 2.66
v(t)
vh (t) 0
vp (t)
-0.5t
-2
-4
v h(t) = -2.66 e
0
time
10
One, 6
e( 0.5)( 0 ) = e0 = 1
0 = A + 2.66 A = 2.66
The general solution follows and is plotted in Fig.2.36:
v(t ) = vh (t ) + v p (t ) = 2.66e 0.5t + 2.66
The expression is a stable exponential growth function. It is
stable because the eigenvalue, the multiplicative constant in
the exponent, is negative. The function approaches zero, as
time approaches infinity. If the exponent were positive, then
the response would be unstable, and the function would approach infinity, as time approached infinity.
We will rewrite general solutions as,
v(t ) = 2.66(1 e 0.5t )
This form shows the amplitude (or magnitude) and the nature
of the response more clearly. The multiplicative constant is
the magnitude of the response. You will soon recognize (or
associate) the nature of the response by the function.
v (t ) = 2.66
(1 e )
0.5t
Magnitude
Stable Exponential
Growth Function
77
unless measurements of all of the parameters, the input variable, and the initial value of the output variable were made to
unusually high precision, and you have confidence that the
model is accurate to that precision.
d 2 v dv
2 + 3 + [1.5v ] = [ 4us (t ) ]
dt dt
v
v
t 2 + 3 t + 1.5 [ v ] = 4us (t ) [
d dv
+ 3v = 8us (t ) 3v
dt dt
v v
t 2 + t + [v] = [ ]
These units do not match, but we will ignore this, as it is a
textbook problem.
Step 3. Check the Nature of the Differential Equation.
d 2v
dv
+ 3 + 1.5v = 4us (t )
dt
dt 2
dv(0+ )
= 0.
where the initial conditions are v(0 ) = 0, and
dt
+
This is an ordinary differential equation with constant coefficients, and we can use the Method of Undetermined Coefficients to solve it.
d 2v
dv
d dv
+ 3v = 2 2 + 3
dt
dt dt
dt
d 2v
dv
2 2 + 3 = 8us (t ) 3v
dt
dt
Now, separate the forcing function and the output variable:
d 2v
dv
2 2 + 3 + 3v = 8us (t )
dt
dt
Finally, write the differential equation in standard form,
where the highest-order derivative of the output variable has
no coefficient:
d 2v
dv
+ 3 + 1.5v = 4us (t )
2
dt
dt
Step 2. Check Units of Each Term in the Equation.
d 2 v dv
2 + 3 + [1.5v] = [4us (t )]
dt dt
Recall
v
dv
dv
v
= lim . Hence dt has units t . The units
dt t 0 t
d 2v
2 are less apparent. They are easier to identify in this
dt
d 2 v d dv v
form: 2 = = 2 .
dt dt dt t
d 2v
dv
+ 3 + 1.5v = 0
dt
dt 2
Since the differential equation is of second order, the homogeneous solution will have two terms.
vh (t ) = A1e s1 t + A2 e s2 t
Form the characteristic equation, using the method of your
choice. Performing the Laplace transformation (neglecting
the initial condition terms) yields:
d 2v
dv
2 + L 3 + L {1.5v} = L {0}
dt
dt
s 2V ( s ) + 3sV ( s ) + 1.5V ( s ) = 0
( s 2 + 3s + 1.5)V ( s ) = 0 s 2 + 3s + 1.5 = 0
Solve the second-order polynomial in s. Second-order polynomials are solved using the quadratic equation:
s1 , s2 =
3 (3) 2 (4)(1.5)
2
s1 = 0.63
and
s2 = 2.37
78
yielding
vh (t ) = A1e 0.63t + A2 e 2.37 t
dv (t )
dt
+3
dv p (t )
dt
C=
4
= 2.67
1.5
( )
( 0.63)(0+ )
+ A2 e
( 2.37)(0+ )
Evaluate for t = 0+ :
( ) = 0.63 A
dv 0+
dt
+ 2.67 = 0
A1 + A 2 = 2.67
We must differentiate the general solution to use the initial condition, dv(0+ ) / dt = 0. A common error is to reverse
the order of the operations expressed in dv(0+ ) / dt = 0. The
( 0.63)(0+ )
2.37 A 2 e
( 2.37)(0+ )
=0
0.63 A1 2.37 A 2 = 0
We now have two equations with two unknowns:
A1 +A2 = 2.67
0.63 A1 2.37 A2 = 0
v(t ) = vh (t ) + v p (t )
v 0+ = A1 e
dv (t )
= 0.63 A1e 0.63t 2.37 A2 e 2.37 t
dt
d
d
d 2.67
A1e 0.63t +
A 2 e 2.37 t +
dt
dt
dt 0
dv (t )
d 2.37 t
d 0.63t
= A1
e
+ A2
e
dt
dt
dt
t>0
+ 1.5v p (t ) = 4
We can solve this system of equations with a variety of techniques. Direct elimination is straightforward. Eliminate A2
by rearranging the first equation, and substituting the result
into the second:
A2 = 2.67 A1
(2.37)(2.67)
= 3.64
(2.37 0.63)
79
v(t) 2
vh (t)
vh (t)
vp (t)
v v
t 2 + t + [ v ] = [
-2.37t
vh (t) = -3.64 e
-2
-0.63t
vh (t) = -3.64 e
1
-4
time
10
d 2v
dv
+ 0.33 + 0.5v = 0
dt
dt 2
d
Create the characteristic equation by mapping
s and
dt
factoring out the output variable:
s 2 v + 0.33sv + 0.5v = 0
Solve the following second-order ordinary differential equation with constant coefficients:
dv(0+ )
= 0.
dt
(s
+ 0.33s + 0.5 v = 0
s 2 + 0.33s + 0.5 = 0
Solve the characteristic equation:
d 2v
dv
+ 2 + 3v = 8us (t )
2
dt
dt
+
where the initial conditions are v(0 ) = 0 and
s1 , s2 =
s1 = 0.16 + j 0.68
0.33 (0.33) 2 (4)(0.5)
s2 = 0.16 j 0.68
2
80
The second form of the homogeneous solution uses the complex exponential unit vector introduced in Sect.2.7.4:
st
Using
s t
dv (t ) d 0.16 t
A1 cos ( 0.68 t ) + A 2 sin ( 0.68 t ) + 2.66
=
e
dt
dt
1.33
= 2.66
0.5
( )) 0.68e(
dv(0+ )
= 0:
dt
( ) sin 0.68 0+
( )( )
0.16) 0+
+ A 2 0.16e
( 0.16)(0+ )
dv (t )
= A1 0.16e 0.16 t cos ( 0.68 t ) 0.68e 0.16 t sin ( 0.68 t )
dt
+ A 2 0.16e 0.16 t sin ( 0.68 t ) + 0.68e 0.16 t cos ( 0.68 t )
v(t ) = vh (t ) + v p (t )
dv(t )
d
d
= A1 (e 0.16t cos(0.68t )) + A2 (e 0.16t sin(0.68t ))
dt
dt
dt
0 = A1 0.16e
dv (t ) d 0.16 t
d 0.16 t
A 1 cos ( 0.68 t ) +
A 2 sin ( 0.68 t )
=
e
e
dt
dt
dt
d
+ ( 2.66)
dt
0
dv(t ) d
= ((e 0.16t A1 cos(0.68t ) + e 0.16t A2 sin(0.68t )) + 2.66))
dt
dt
d 2v
dv
+ 0.33 + 0.5v = 1.33us (t )
2
dt
dt
d 2C
dC
+ 0.5C = 1.33
+ 0.33
dt 0
dt 2 0
dv(0+ )
=0
dt
))
( 0.16)(0+ )
) + A ( 0.16 e
2
( ))
( 0.16)(0+ )
( )))
cos 0.68 0+
0 = 0.16 A1 + 0.68 A2
dv(0+ )
The initial conditions are v(0 ) = 0 and
= 0 . Using
dt
v(0+ ) = 0
+
0=e
( 0.16 )( 0+ )
0 = e 0 1 A1 cos ( 0) + A 2 sin ( 0)
1
0 = A1 + 2.66
+ 2.66
0.16
0 = 0.16 A1 + 0.68 A 2
A 2 = 0.63
A2 =
A1
0.68
Substituting the now determined coefficients, A1 and A2,
into the general solution yields the result which is plotted in
Fig.2.38:
v(t ) = e 0.16t ( 2.66 cos (0.68t ) 0.63 sin (0.68t )) + 2.66
f1(t)
f3(t) = f1(t)+f2(t)
81
1
0.5
M x = -0.63
-2 -1.5
-1 -0.5
0.5
1.5
-0.5
f2(t) 0
-1
-1.5
f3(t)
-4
-2
-2
-2.5
M y = -2.66
-3
10
time
15
20
We see that to equate with t and with , we must rearrange the terms:
sin (w t + ) = sin ( 0.68 t )( 0.63) + cos ( 0.68 t )( 2.66)
When we attempt to equate the factors terms, cos() and
sin(), with the corresponding constants, we discover a
problem:
cos ( ) = 0.63 and sin ( ) 2.66
The limits of sine and cosine are negative one and one. We
must insert a scaling factor M with an unknown magnitude
before cos() and sin() in the identity, thus,
M sin (w t + )
which yields:
M cos( ) = 0.63and M sin( ) = 2.66
We can interpret this pair of equations as the projection of
a vector M onto the horizontal and vertical axes of a real
plane:
M = M cos ( ) x + M sin ( ) y
M = 0.63x 2.66y
Note x and y denote unit vectors in the positive x and y directions, to avoid the potential confusion that the conventional
notation i and j could cause. We will plot the vector, before
we attempt to find its angle . We find that the vector M lies
in the third quadrant, Fig.2.39.
The angle is calculated indirectly, as the difference between and the angle between M and the negative x-axis:
2.66
0.63
= + tan 1
= + 1.34
= 1.80 rad
We calculate the magnitude of M via Pythagorean Theorem,
thus,
M = M x2 + M y2
M =
M = 2.73
( 0.63)2 + ( 2.66)2
82
5.5
-0.16t
v(t) = 2.73e
sin(0.68t-1.80)+2.66
2.73e-0.16t+2.66
v(t)
2
v(0+ ) = A1e
-2.73e-0.16t +2.66
10
time
( s1 )( 0+ )
+ A2 e
( s2 )( 0+ )
+ 2.66 = 0 A1 + A2 = 2.66
Using dv(0+ ) / dt = 0:
20
dv (t )
30
( )
( )=0
dv 0+
dt
d
d
d
s t
s t
A1e 1 +
A 2 e 2 + ( 2.66)
dt
dt
dt
0
dv(0+ )
( s )(0+ )
( s )(0+ )
= s1 A1e 1
+ s2 A2 e 2
= 0 s1 A1 + s2 A2 = 0
dt
We have a system of two equations with two unknowns:
dt
A1 + A 2 = 2.66
We check these results by evaluating M cos ( ) = 0.63 and
M sin ( ) = 2.66 for M = 2.73 and = 1.80 rad:
2.73 cos( 1.80) = 0.62 and 2.73 sin( 1.80) = 2.66
Substituting M and into Eq.2.78:
s1 A1 + s2 A 2 = 0
As illustrated in Sect.2.7.5, we will not substitute in numerical values for s1 and s2 until necessary. Solve for A1 and A2.
Eliminate A2:
A2 = A1 2.66
(s
s t
s2 A1 = s2 2.66 A1 =
A2 = A1 2.66 A2 =
A1 =
2.66 s2
s1 s2
s t
A1 =
s1 s2
2.66 s2
s1 s2
2.66
v (t ) = A1e 1 + A 2 e 2 + 2.66
s t
2.66 s2
s1 A1 + s2 A1 2.66 = 0 s1 A1 s2 A1 = s2 2.66
A2 =
2.66 s2
s1 s2
A1 =
2.66 ( jw )
+ jw ( jw )
2.66 ( jw )
j 2w
2.66 A2 =
2.66 ( jw )
2.66
+ jw ( jw )
A2 =
2.66 ( jw )
2.6
j 2w
A1 =
A1 =
A1 =
A1 =
2.66 ( j ( w ))
2w
j 2.66 2.66w
+
2w
2w
2.66 j j 2w
j 2 2w
1.33
2.66 ( jw ) j
j 2.6
j 2w
A2 =
A2 =
A2 = j
2.66 j j 2w
2.66 ( j ( w ))
2w
j 2w
2
2.66 2.66 w
+
2.66
2w
2w
1.33
Re
-j0.32
A 1 = -1.33 - j0.31
0.32
1.33
2 = tan 1
2.66 ( j + w )
2w
A 2 = 1.33 + j
2.6
A2 = 1.33 + j
A2 = 1.33 + j
1.33 ( 0.16)
= 1.33 + j 0.31
0.68
0.32
1.33
1 = + tan 1
1.33
A1 = 1.33 j
1 = +
1.33
-1.32
2 =
) 2.6
2.6 A2 =
j0.32
Calculate the magnitude (modulus) of the complex conjugate coefficients, A1 and A2, by the Pythagorean Theorem.
Angles 1 and 2 should be calculated indirectly, to avoid the
error most calculators make in evaluating the inverse tangent
of vectors in the second and third quadrants. Calculate angle
using the inverse tangent and positive real values for the
lengths of the adjacent and opposite sides of the right triangle, which includes :
2.66 ( j + w )
2w
A1 = 1.33 j
Im
A2 = -1.33 + j0.31
A1 and A2 contain ratios of a complex number over an imaginary number. Both coefficients should be expressed as a
single complex number. Multiply by the unity ratio j/j to
eliminate the imaginary number in the denominator. Starting
with A1:
2.66 ( jw ) j
A1 =
j
j 2w
83
A1 = A2 =
( 1.33)2 + (0.31)2
= 1.37
j A1
j A2
= 1.37e j 2.91
Substitute into the homogeneous solution the complex exponential form of A1 and A2:
vh (t ) = A1e( 0.16 + j 0.68)t + A2 e( 0.16 j 0.68)t
vh (t ) = 1.37e j 2.91e( 0.16 + j 0.68)t + 1.37e j 2.91e( 0.16 j 0.68)t
Distribute the time variable, t, and then use the property of
exponentials, e a + b = e a eb , Eq.2.51, to express the exponentials with exponents that are sums, as the product of exponentials:
vh (t ) = 1.37e j 2.91e 0.16t + j 0.68t + 1.37e j 2.91e 0.16t j 0.68t
84
We will rearrange frequency and phase angle terms in the exponents into the conventional order, w t + , where w = 0.68
and = 2.91:
e j + e j
Eq. 2.53
2
sin( ) =
e j e j
Eq. 2.54
j2
2 j (0.68t 2.91)
e
+ e j (0.68t 2.91)
2
0.16 t
(2.83)
85
1
63.2%
_t
e-
86.5%
98.2% 99.3%
_t
1- e-
86.5%
63.2%
95.0%
time
f 2 (t ) = f 2 1 e 2t + C2
time
f 2 ( t ) = f 2 1 e 2 + C2
(2.84)
(2.87)
A property of exponents implied by Eq.2.56 is that a negative exponent expresses an inverse fractional relationship:
e t = e
for
e a =
<0
1
ea
(2.85)
t
1
t
If a = , then e = t . Evaluating e at the limits
e
of t = 0 and t = yields
=
e
1 1
= = 1 for t = 0
e0 1
and
e
=
e
1
1
= = 0 for t =
e
f1 = f1 ( 0+ ) f1 ( ss )
f1 (t ) = f1e1t + C1
f1 (t ) = f1e 1 + C1
(2.86)
f1 = 4 0 = 4
86
Fig. 2.43 a Step response data
for an exponential decay. b The
time of the datum equal to 63.2%
of the initial value and 36.8% of
the remaining change to the final
value equals the time constant ,
1=0.6 sec
f1(t) 2
f1(t) 2
t, sec
f1 (t ) = f1e + C1
15
f2(t) 10
f2(t) 10
5
2
t, sec
10
0.632 f1(0+)
0.368 f1(0+)
t, sec
20
15
0
0
2
f 2 ( t ) = f 2 1 e + C2
0.368 f2(ss)
0.632 f2(ss)
t, sec
10
f 2 (t ) = 20 1 e1.5
f1 (t ) = 4 e 0.6
f 2 = f 2 ( ss ) f 2 ( 0+ )
The time at which the response equals 1.47 is the time constant, 1=0.6sec. The response function is
t
20
0
0
f 2 = 20 0 = 20
f 3 (t ) =
M3
1
1e 2t 2 e1t
1 +
1 2 2 1
(2.88)
87
30
20
20
f3(t)
f3(t)
10
0
10
2.5
t, sec
7.5
10
30
0.632 f3(ss)
0
t=
2.5
10
7.5
t, sec
30
f3(t) 20
f3(t) 20
fest (t)
fest (t)
1 = -0.549
2 = -5.49
10
0
M 3 = 81.4
2.5
30
f3(ss)=27
1.82 sec
= 0.182 sec
10
7.5
t, sec
10
1 = -0.549
2 = -2.50
10
M 3 = 37.1
2.5
t, sec
10
7.5
1 =
1
1
1
0.549 and 2 =
=
= 5.49
1.82
2 0.182
M3
1 +
1 2
2 1
f 3 ( ss ) =
( e
1
2 e
1
M3
1 2
88
If the eigenvalues are equal, in other words, the characteristic equation has repeated roots, then the system is known as
critically damped. If the amount of damping is decreased
or energy storage in the system is increased, then the step
response will be underdamped and overshoot its final value.
The term, critical, is a misnomer, since the situation is not
critical, in the sense of producing an unstable response. It is,
in fact, difficult to discern from a step response, whether a
system slightly underdamped, critically damped, or slightly
overdamped.
1.75
1.00
fstep(t)
fimpulse(t)
0.00
-0.75
0
f step (t ) = Me t sin (w t + ) + C
(2.89)
f impulse (t ) = Me t sin (w t + )
(2.90)
The period T of an oscillation is the duration of a complete cycle and is inversely proportional to the angular frequency,
Eq.2.88.
T period =
2 rad
rad
w
sec
(2.91)
T
Period
T
Period
T
2T
3T
time in periods T
4T
5T
89
1.75
a
1.00
fimpulse(t)
t2
0.00
-0.75
t1
fstep(t)
c
0
0.62 0.24
ln 1
0.62
=
= 0.95
1
2T
3T
time in periods T
4T
5T
e t1 e (t1 +T ) =
a b
a b
e (t1 +T ) = e t1
M
M
e t1
t1
a b
t1
Me
e T = 1
a b
t + T t
e ( 1 ) 1 = 1
Me t1
a b
Me t1
Substitute using a = Me t1
e T = 1
a b
a
a
a
This will yield
a b
ln 1
a
=
T
(2.92)
If the peak or trough values are more than one cycle apart,
multiply the period T in the denominator of Eq.2.92 by the
number of cycles separating the values. Differences between
steady-state and trough values, such as c and d in Fig.2.48,
90
L { f (t )} = F ( s ) = f (t ) e
st
dt
(2.93)
L { f (t )} = F ( s ) = f (t ) e
st
dt
(2.94)
{2 f (t )} = 2 f (t ) e st dt = 2 f (t ) e st dt = 2 F ( s )
L { f (t ) + g (t )} = ( f (t ) + g (t )) e
st
dt
L { f (t ) + g (t )} = f (t ) e
0
st
dt + g (t ) e st dt
0
L { f (t ) + g (t )} = F ( s ) + G ( s )
Therefore, the Laplace transformation is a linear operator.
We will evaluate three Laplace transform integrals to reveal a few of the properties of the Laplace transform, and
to illustrate the construction of a Laplace transform table of
time-domain and Laplace-domain pairs. We will not evaluate
91
L {u (t )} = U ( s ) = u (t ) e
s
st
dt
1
1
( s ) e st dt = e st
s
s
L {u (t )} = u (t ) e
s
us (t ) = 1 for t 0
The unit step function is constant and equal to unity over the
entire integral. Consequently, we can evaluate the unit step
function first and then integrate:
u (t ) e
s
st
du deu
=
dx
dx
e st
s
du
deu
dx =
dx = eu
dx
dx
du
dx = eu
dx
st
st
d ( st )
dt
dt = e st
sdt tds
st
+
dt = e
dt
dt
st
dt
ds
st
st
s dt t dt dt = se dt = e
1
0
s e dt = e
st
st
dt = e st dt
0
{us (t )} =
L {u (t )} = se( )( )
s
e s e s0
s
s
1
s
1
us (t ) =
(2.95)
s
L{
1
F ( s ) = s
L {e } = e
at
1
dt = e st
s
1
and e0 = 1,
ea
yields the Laplace transformation of the Heaviside unit step
function.
st
st
st
{us (t )} =
dt = 1e dt = e dt
st
us (t ta ) = 1 for t ta
In the present case, ta = 0. Hence,
us (t ta ) = 0 for t < ta
st
at st
e dt
Begin the evaluation of the integral by combining the product of exponentials using the property, e a eb = e a + b .
L{ }
e at = e at e st dt
0
L{ }
e at = e (a + s )t dt
0
92
st
dt =
e st
s
( a + s )t
L {e } = e
( a + s )t
e ( a + s )t
dt =
a+s
( a + s )
e
L {e } = a + s
at
L {e }
at
e (a + s )
=
a + s
at
L { f (t )} = F ( s )
1
F (s) =
s+a
df (t )
+
= sF ( s ) f 0
dt
( )
(2.98)
e (a + s )0 1
a + s
at
( )
t =0
e (a + s )0
a + s
1
L {e } = s + a
( )
d n f (t )
(2.99)
= s n F (s)
dt n
t =
1
L {e } = a + s
df 0+
d 2 f (t )
2
+
s
F
s
sf
0
=
(
)
2
dt
dt
e ( a + s )t
dt =
a+s
The Laplace transformation of a functions second derivative with respect to time is here:
(2.97)
+
where f (0 ) is the time domain value of the function at time,
t = 0+ , the instant after a singularity input, such as a Heaviside unit step function, was applied to the system.
L {L { f (t )}} = L {F ( s )}
f (t ) =
L {F ( s )}
1
(2.100)
We will refer to a time-domain function and its corresponding Laplace-domain function as a Laplace transform pair.
We will perform Laplace transformations and inverse Laplace transformations using Laplace transform pairs. Consequently, most of the effort involved in finding an inverse
Laplace transform of an output function will not be performing the inverse transformation. It will be the algebra needed
to create an exact match of the Laplace-domain function,
F ( s ), with an existing Laplace transform pair. A frequently
needed operation is partial fraction expansion, introduced in
Sect.2.10.5.
93
lim{ f (t )} = f ( ) = lim{ sF ( s )}
t
(2.101)
s0
( )
(2.102)
lim+ { f (t )} = f 0+ = lim{ sF ( s )}
t 0
d 2u
du
+ b 2u =
b0 2 + b1
dt
dt
d2y
dy
+ a 2 y
a 0 2 + a 1
dt
dt
+ b1 s + b2 U ( s ) = a 0 s 2 + a1 s + a 2 Y ( s )
b0 s 2U ( s ) + b1 sU ( s ) + b2U ( s ) = a 0 s 2Y ( s ) + a1 sY ( s ) + a 2Y ( s )
a 0 s 2 + a1 s + a 2 = 0
d u
du
d y
dy
+ b1
+ b 2 u = a 0 2 + a1
+ a2 y
dt
dt
dt 2
dt
(b s
Output Y ( s ) b2 s 2 + b1 s + b0
=
=
G (s)
Input
U ( s ) a2 s 2 + a1 s + a0
(2.103)
F (t )
=K
x (t )
The spring equation, in the form of a transfer function, illustrates the use of a multiplicative operator, as follows. If
the input deformation, x(t), is known and the relationship between the spring deformation and spring force is expressed
in the form of a transfer function:
x(t ) = 3 sin(2t )
and
F (t )
=K
x(t )
Then,
x (t )
F (t )
x (t )
= K 3sin ( 2t )
If we perform the Laplace transformation on the timedomain spring equation, where the unknown variables in
the time domain, x(t) and F(t), are transformed into the
94
U(s)
Y(s)
G(s)
Input Signal
Output Signal
Linear Operator
L {a s Y ( s ) + a sY ( s ) + a Y ( s )}
= L {b s U ( s ) + b sU ( s ) + b U ( s )}
1
L {F (t )} = L {Kx (t )}
L {F (t )} = KL { x (t )}
a0
d 2 y (t )
dt 2
dy (t )
d 2 u (t )
du (t )
+ a 2 y (t ) = b0
+ b1
+ b 2 u (t )
2
dt
dt
dt
+ a1
dv
+ 3v = F (t ) where F (t ) = 8us (t )
dt
dv
L 6 dt + L {3v} = L {F (t )}
dv
L dt + 3L {v} = L {F (t )}
+ a 1 s + a 2 Y ( s ) = b 0 s + b1 s + b 2 U ( s )
2
L 6 dt + 3v = L {F (t )}
2
Y ( s ) b 0 s + b1 s + b 2
=
2
U ( s ) a 0 s + a1s + a 2
(a s
dt n
To determine the differential system equation which corresponds to a transfer function first, cross-multiply by the
denominators to eliminate the ratios.
L {Y ( s )} = y (t )
L {s Y ( s )} + a L {sY ( s )} + a L {Y ( s )}
= b L {s U ( s )} + b L {sU ( s )} + b L {U ( s )}
a0
L {s Y ( s )} =
Distribute the operator, factor the coefficients out, and perform the inverse transformation.
F (s)
F ( s ) = KX ( s )
=K
X (s)
6sV ( s ) + 3V ( s ) = F ( s )
(6 s + 3)V ( s ) = F ( s )
1
V (s)
=
F ( s) 6s + 3
95
F(s)
us (t ) = 0
for
t<0
us (t ) = 1
for
t>0
V (s) =
8
L {u (t )} = s
F (s) = 8
F(s)
1
(1 e at )
a
1
s( s + a)
8
6
V (s) =
3
6
s s +
6
6
1.33
s ( s + 0.5)
The coefficient 1.33 in the numerator of the response function can be factored out of the inverse Laplace transformation, since it is a linear operator.
L {V ( s )} = L
1
Output ( s )
= Output ( s )
Input ( s )
V (s)
8 1
= V (s)
= V (s)
s 6 s + 3
F (s)
1
8
V (s) = 6
1 s ( 6 s + 3)
6
8
V (s) =
s ( 6 s + 3)
1
s
L {F (t )} = L {8u (t )}
v (t ) = 1.33
v (t ) =
1.33
1 e 0.5t
0.5
1.33
s ( s + 0.5)
s ( s + 0.5)
v (t ) = 2.66 1 e 0.5t
Note the above yields the same result we obtained from the
method of undetermined coefficients in Sect.2.81.
96
the expansion terms are chosen to suit the engineer. The corresponding numerators are unknown, other than being polynomials of s one order lower than the denominator, and must be
found. For example,
F1 ( s ) =
N1 ( s )
s ( s + a ) s + 2w n s + w
2
2
n
xs 2 + ys + z = As 3 + A2w n s 2 + Aw n2 s
(
+ ( Bs
+ (Cs
+ Aas + Aa 2w n s + Aaw n2
A
B
Cs + D
= +
+ 2
s s + a s + 2w n s + w n2
N2 (s)
s ( s + a )( s + b )
2
s ( s + a ) s 2 + 2w n s + w n2
=
+ Cas + Ds + Das
+ Aw n2 + Aa 2w n + Bw n2 + Da s + Aaw n2
Equate the coefficients of like powers of s to create a set
of simultaneous algebraic equations. Note that there is no
cubic term on the left side, which is equivalent to a coefficient equal to zero.
s3
s2
s1
s0
A B
C
D
+ +
+
2
s s+a s+b
s
+ ys + z s ( s + a ) s 2 + 2w n s + w n2
+ ( A2w n + Aa + B 2w n + Ca + D ) s 2
0 = A+ B +C
x = A2w n + Aa + B 2w n + Ca + D
y = Aw n2 + Aa 2w n + Bw n2 + Da
z = Aaw n2
0 = A+ B +C
x = ( 2w n + a ) A + 2w n B + aC + D
s1
y = w n2 + a 2w n A + w n2 B + aD
+ B 2w n s 2 + Bw n2 s
xs 2 + ys + z = ( A + B + C ) s 3
( xs
z = aw A
2
n
A s ( s + a ) s 2 + 2w n s + w n2
s
) + Bs ( s + a ) ( s
+ 2w n s + w n2
s+a
) + (Cs + D ) s ( s + a ) ( s
+ 2w n s + w n2
s + 2w n s + w
2
xs 2 + ys + z = A ( s + a ) s 2 + 2w n s + w n2 + Bs s 2 + 2w n s + w n2 + (Cs + D ) s ( s + a )
2
n
s3
2
s
s1
s0
1
0
x 2w + a
n
=
y w n2 + a 2w n
aw n2
z
0 A
1 B
a C
0 D
1
a
0
0
2w n
w n2
0
97
Division of a matrix by a matrix is not defined in linear algebra. The equivalent operation is to multiply a matrix and its
inverse to yield the identity matrix, I. The identity matrix,
I, consists of ones on the main diagonal, from top left to
lower right and zeros elsewhere. The identity matrix, I, fills
the role that the number one fills in scalar multiplication.
It can be inserted or removed as a factor without changing
a product. Matrix multiplication has restrictions. Except for
the identity matrix, I, and a matrix and its inverse, matrix
multiplication is not commutative, meaning that the position
of factors in a product cannot be changed without affecting
the result. Further, excepting only the identity matrix, I, a
factor cannot be inserted into an existing product. We must
multiply by appending a factor to the left or right end of a
product. The former is pre-multiplication and the latter is
post-multiplication.
We solve for the vector of unknowns by pre-multiplying
both sides by the inverse of the matrix on the right side.
2w + a
n
w n2 + a 2w n
aw n2
1 0
a 1
0 a
0 0
2w n
w n2
0
1
0
x 2w + a
n
=
y w n2 + a 2w n
aw n2
z
( s + a ) ( s + b)
F (s) =
( s + a )( s + b)
A
B
+
s+a s+b
(2.104)
( s + a ) ( s + b) = A ( s + a ) ( s + b) + B ( s + a ) ( s + b)
s+a
s+b
( s + a ) ( s + b)
1
2w n
w n2
0
1 0
a 1
0 a
0 0
2w + a
n
w n2 + a 2w n
aw n2
1 0 A
a 1 B
0 a C
0 0 D
1
2w n
w n2
0
2w + a
n
w n2 + a 2w n
aw n2
1
2w n
w n2
0
1 0
a 1
0 a
0 0
0 1
x 0
=
y 0
z 0
0
1
0
0
1
0
1
0
0 A
0 B
0 C
1 D
2w + a
n
w n2 + a 2w n
aw n2
1
2w n
w n2
0
1 0
a 1
0 a
0 0
0 A
x B
=
y C
z D
( s + a )( s + b)
( s + a )( s + b)
A ( s + a ) ( s + b)
s+a
B ( s + a ) ( s + b)
s+b
1 = A ( s + b) + B ( s + a )
Expand and collect the coefficients of like powers of s.
1 = As + Ab + Bs + Ba 1 = ( A + B ) s + ( Ab + Ba )
Equate coefficients of like powers of s on both sides of the
equation to yield a set of two simultaneous equations with
two unknowns, A and B.
s1 0 = A + B
s 0 1 = Ab + Ba
98
Solve for A and B using direct elimination, Gaussian elimination, or linear algebra. Using linear algebra, we find:
s1 0 = A + B
0 1 1 A
=
s 0 1 = bA + aB
1 b a B
f (t ) =
0 1 1
1 = b a
1 1
b a
1 1 A
b a B
f (t ) =
to yield
1 at
(e e bt )
f (t ) =
b a
Hence,
L {F ( s )} = L
1
( s + a )( s + b)
A
B
+
s+a s+b
L {F ( s )} = L
1
1 1
a b a b
s + a + s + b
{ F ( s )} =
a b +
s + a
a b
s + b
1
ab
1
1
+
s + a a b
s + b
at
e bt = f (t )
or
1 1
a b a b
+
F (s) =
s+a
s+b
f (t ) = e
+
+
s
a
s
b
)( )
(
1
L {F ( s )} = b a (e
at
1
1 1
(e bt e at ) f (t ) =
(e bt e at )
1 a b
a b
0
A
1 = I B
1
1
A a b
1 1 0 A
b a 1 = B B = 1
a b
F (s) =
1 bt
1 at
e +
e
a b
a b
1 at
1
bt
(2.105)
e e =
+
b
a
s
a
s + b)
(
)(
1 at
bt
f (t ) = b a e e
1
F (s) =
( s + a )( s + b)
Again, the constants, a and b, can be purely real or complex. If they are complex conjugates, then the time-domain
expression is a decaying sinusoid. The purely real, time-domain expression is derived using the logic we used to solve
oscillatory responses with the method of undetermined coefficients. Beginning by substituting a complex conjugate pair
for a and b, a = + jw and b = jw
1 at
e e bt
f (t ) =
b a
( + jw )t
1
e ( jw )t
f (t ) =
e
+
j
j
(
)
(
)
1 ( + jw )t
e ( jw )t
e
j 2w
f (t ) =
1 t jwt
e e
e t e jw t
j 2w
99
x,v
F(t)
25
20
F(t) 15
N 10
We now factor out the purely real exponential, and group the
purely imaginary exponentials, the complex exponential unit
vectors, to use Eulers sine formula.
f (t ) =
e jw t e jw t
1 t e jw t e jw t
e t
(
)
=
e
f
t
w
j2
w
j2
f (t ) =
e t sin(w t )
1
1 t
e sin (w t ) =
w
( s + + jw )( s + jw )
10
t, sec
15
20
dF
(2.106)
dF
=
dt
d 2v
dv
M 2 + b + Kv
dt
dt
d 2v
+
2
L dt = L M dt
dv
L b dt + L {Kv}
or
Hence,
1
1 t
e sin (w t ) = 2
w
+
+ 2 + w2
s
2
s
dF
(2.107)
d 2v
+b
2
L dt = M L dt
dv
L dt + KL {v}
sF ( s ) = Ms 2 + bs + k V ( s )
dF
d 2v
dv
= M 2 + b + Kv
dt
dt
dt
Output V ( s )
s
=
=
Input
F ( s ) Ms 2 + bs + k
=
6. The force input is
with b=1, M=2, and K
F (t ) = 10us (t ) + 10(1 e 0.25t ) , Fig.2.50b.
Note that the operators from the output variable side of the
system equation are in the dominator of the transfer function.
100
The standard form for a transfer function requires the coefficient of the highest-order term of the denominator to be
cleared. This form corresponds to the standard form of a differential equation.
1
s
V (s)
M
=
k
b
F (s)
s+
s2 +
M
M
Factor
F(s)
us (t ) = 0
for
t<0
us (t ) = 1
for
t>0
0.25t
L {F (t )} = L {10u (t )} + L {10 (1 e
s
)}
0.25t
)}
We must create exact matches with the time-domain functions of the Laplace transform pairs. Factor the coefficient 10
out of both the transformations. Multiply the second transform by the unity ratio, 0.25/0.25.
10
2.5
+
s s ( s + 0.25)
V ( s ) 10
2.5
0.5s
=
+
= V (s)
F ( s ) s s ( s + 0.25) s 2 + 0.5s + 3
10
0.5 s
2.5
0.5 s
s s 2 + 0.5s + 3 + s s + 0.25 s 2 + 0.5s + 3 = V ( s )
)
(
F (s) =
5
1.25
+
= V (s)
s + 0.5s + 3 ( s + 0.25) s 2 + 0.5s + 3
1
s(s + a)
L {F (t )} = L {10u (t ) + 10 (1 e
1
s
1
(1 e at )
a
0.25t
F (s)
1
s
V (s)
0.5s
2
= 2
1
6
F
s
0.5s + 3
s
+
()
s2 + s +
2
2
0.25t
0.25t
We now have the exact matches needed to perform the transformations using the Laplace transform pairs.
1
into the second transform:
0.25
0.25t
)}
We now wish to perform the inverse Laplace transformation to return to the time-domain. Note the denominators
of the two terms contain the common factor, second-order
factor, s 2 + 0.5s + 3 . This is the characteristic function of
the spring-mass-damper system. In order to use the Laplace
transform pairs, we must identify whether the characteristic
function represents an oscillatory or non-oscillatory homogeneous or natural response. If the eigenvalues of the system
are real, then the homogeneous response is not oscillatory.
If the eigenvalues are a complex conjugate pair, then the response is oscillatory.
Set the characteristic function equal to zero, to form the
characteristic equation and solve it using the quadratic equation.
s 2 + 0.5s + 3 = 0 s1 , s2 =
0.5
s1 , s2 = 0.25 j1.71
(0.5)2 ( 4)(3)
2
101
The eigenvalues s1 , s2 = 0.25 j1.71 are a complex conjugate pair. Therefore, the homogeneous or natural response of
the system is oscillatory or underdamped. Accordingly, we
must use Laplace transform pairs which correspond to oscillatory time-domain responses. These are simple to identify
in Table2.3; the time-domain response contains a sinusoid.
The denominator of the corresponding Laplace-domain signal is written in terms of the ideal, undamped natural frequency, n, and the damping ratio, . Specifically, the two
terms of the output
nator of the second term into a summation with denominators that match Laplace transform pairs. The denominators
of the partial fraction expansion terms are factors of the left
side. The numerators of the expansion terms are polynomials
in s, one order lower than their denominators. Theconstants,
A, B, and C must be determined.
1.25
( s + 0.25) ( s
( s + 0.25) ( s 2 + 0.5s + 3)
+ 0.5s + 3
) + ( Bs + C )( s + 0.25) ( s
A ( s + 0.25) s 2 + 0.5s + 3
s + 0.25
A
Bs + C
+ 2
s + 0.25 s + 0.5s + 3
5
1.25
+
= V (s)
s 2 + 0.5s + 3 ( s + 0.25) s 2 + 0.5s + 3
+ 0.5s + 3
s + 0.5s + 3
correspond to
) (
5
5
= 2
s + 0.5s + 3 s + 2w n s + w n2
2
and
( s + 0.25) ( s
) (s + a)(s
+ 0.5s + 3
1.25
2
+ 2w n s + w n2
wn
1 2
F (s)
e
w nt
sin(w n 1 t )
2
w n2
2
s + 2w n s + w n2
There is not a transform pair table match for the second term.
We must use partial fraction expansion to break the denomi-
1
0
1
0.5 0.25
1
3
0
0.25
1.25 3
0
0.25 C
Premultiply both sides by the inverse of the matrix.
1
0
0 1
0 = 0.5 0.25
1
1.25 3
0
0.25
1
0 A
1
0.5 0.25
1 B
3
0
0.25 C
102
5
0.426
0.426 s
0.106
+
2
2
= V (s)
s + 0.5s + 3 s + 0.25 s + 0.5s + 3 s + 0.5s + 3
0
0.25
3
Inspecting the output signal, we notice that the first and last
terms have a common denominator and can be summed,
eliminating a term.
0 1 0 0 A
0 = 0 1 0 B
1.25 0 0 1 C
1
0
1
0.5 0.25
1
0
0.25
3
1
0
1
0.5 0.25
1
0
0.25
3
4.894
0.426
0.426 s
+
2
= V (s)
s + 0.5s + 3 s + 0.25 s + 0.5s + 3
2
0
A
0 = I B
1.25
C
0 A
0 = B
1.25 C
The output variable, V(s), is now a sum containing three different transform pairs which are in the Laplace transform table,
Table2.3. The relevant Laplace transform pairs are:
0.426 A
0.426 = B
0.106 C
f (t )
F (s)
e at
1
s+a
1.25
( s + 0.25) ( s 2 + 0.5s + 3)
1.25
( s + 0.25) ( s 2 + 0.5s + 3)
A
Bs + C
+
s + 0.25 s 2 + 0.5s + 3
e nt sin n 1 2 t
1
1 2
n2
s + 2 n s + n2
2
e nt sin n 1 2 t
s
s 2 + 2 n s + n2
1 2
d
= tan 1
= tan 1
0.426
0.426 s 0.106
+
s + 0.25
s 2 + 0.5s + 3
L {V ( s )} = L
Again, we must make exact matches against the table transform pairs to perform the inverse Laplace transformation
using the transform pairs.
4.894
2
+
s + 0.5s + 3
0.426
s + 0.25
0.426 s
2
s + 0.5s + 3
2
+ 0.426
s + 0.5s + 3
The second term has a first-order numerator. Write the second term as two terms.
1.25
( s + 0.25) ( s 2 + 0.5s + 3)
=
0.426
0.426 s
0.106
2
2
s + 0.25 s + 0.5s + 3 s + 0.5s + 3
0.426
s + 0.25
s + 0.5s + 3
2
+ 0.426
s + 0.5s + 3
s
1
0.426
2
s
+
0.5
s
+
3
s + 0.25
Factor three into the numerator of the first term and evaluate
the remaining ratio.
v (t ) = 1.63
103
2
+ 0.426
s + 0.5s + 3
To evaluate the oscillatory time-domain terms, we must calculate the systems ideal, undamped, natural frequency n
and the damping ratio . The simplest method is to equate
coefficients of like powers of s of the denominators of an
oscillatory term, and the corresponding Laplace-transform
table expression.
s 2 + 0.5s + 3 = s 2 + 2w n s + w n2
First, calculate the ideal, undamped, natural frequency n,
which is the square root of the constant term.
w n = 3 = 1.73
Then, using the value of the natural frequency n, calculate
the damping ratio .
0.5
=
2w n
0.5 = 2w n
v1 (t ) = 1.63
1.73
1 ( 0.144)
s + 0.5s + 3
This term happens to be the Laplace transform pair we derived as Example Two. The exponent is the real component
of the eigenvalues, s1 , s2 = 0.25 j1.71 . The discrepancy
is due to numerical precision. The frequency 1.71 is the magnitude of the imaginary component of the eigenvalues. The
units are radians per second. Again, eigenvalues are the characteristic values of a system. They do indeed characterize the
systems natural or homogeneous response, which is excited
by any change in the input to the system.
The inverse Laplace transformation of the second term is
1
s + 0.25
v2 (t ) = 0.426 e 0.25t
s
1
e w t sin w n 1 2 t
2
= 0.426
s + 0.5s + 3
1 2
1
2
e (0.144)(1.73)t sin 1.73 1 ( 0.144) t
v3 (t ) = 0.426
2
1 ( 0.144)
v1 (t ) = 1.63
wn
1 2
s + 0.5s + 3
w n t
1 ( 0.144)2
= 1.43 rad
= tan
0.144
Yielding
v3 (t ) = 0.430 e 0.249t sin (1.71t 1.43)
The time-domain response function plotted in Fig.2.51, is
v (t ) = v1 (t ) + v2 (t ) + v3 (t )
sin w n 1 t
2
0.426
s + 0.25
v2 (t ) = 0.426
= 0.144
v3 (t ) = 0.426L
104
3
2
m
v(t), ___
sec
-2
10
t, sec
15
20
Problems
Problem 2.1 Use the method of undetermined coefficients
to solve the ordinary differential equations with constant coefficients below. Plot the homogeneous, particular, general
solution on the same plot using Mathcad or MATLAB.
2.1.b
dF (t )
dv (t )
=3
+ v (t )
dt
dt
dv (t )
F (t ) = 3
+ v (t )
dt
2.1.c
F (t ) = 3
2.1.d
F (t ) = 3
2.3.b
2.3.c
3F ( t ) = 9
2.3.d
3F ( t ) = 9
dv (t )
+ v (t )
dt
dv (t )
+ v (t )
dt
v 0+ = 7
F (t ) = 10 us (t )
v 0+ = 0
F (t ) = 10 us (t )
v 0+ = 6
F (t ) = 6 u s (t )
v 0+ = 10
( )
( )
( )
2 F (t ) = 8
2.2.b
2 F (t ) = 8
2.2.c
2.2.d
2 F (t ) = 8
dv (t )
+ 3v (t )
dt
dv (t )
+ 3v (t )
dt
dF (t )
dv (t )
=8
+ 3v (t )
dt
dt
dv (t )
+ 3v (t )
dt
F (t ) = 12 us (t )
( )
( )
v 0+ = 0
F (t ) = 12 us (t )
v 0+ = 9
F (t ) = 6 u s (t )
v 0+ = 18
( )
( )
dF (t )
dv (t )
=9
+ 6v ( t )
dt
dt
dv (t )
+ 6v ( t )
dt
dv (t )
+ 6v ( t )
dt
( )
F (t ) = 14 us (t )
v 0+ = 0
F (t ) = 14 us (t )
v 0+ = 34
F (t ) = 14 us (t )
v 0+ = 34
F (t ) = 14 us (t )
v 0+ = 22
2.4.a
dF (t ) d 2v (t )
dv (t )
=
+3
+ v (t )
dt
dt 2
dt
2.4.b
F (t ) =
d 2 v (t )
dv (t )
+3
+ v (t )
dt 2
dt
v 0+ = 0
2.4.c
F (t ) =
d 2 v (t )
dv (t )
+3
+ v (t )
dt 2
dt
v 0+ = 6
2.4.d
F (t ) =
d 2 v (t )
dv (t )
+3
+ v (t )
2
dt
dt
v 0+ = 10
( )
( )
( )
( ) = 14
( )
d v 0+
( )
d v 0+
( )
d v 0+
( )
d v 0+
v 0+ = 7
dt
( )=7
dt
( )=0
dt
( )=3
dt
2 F (t ) =
d 2 v (t )
dv (t )
+8
+ 3v (t )
dt 2
dt
v 0+ = 5
2.5.b
2 F (t ) =
d 2 v (t )
dv (t )
+8
+ 3v (t )
dt 2
dt
v 0+ = 0
2.5.c
2.5.d
2 F (t ) =
v 0+ = 5
F (t ) = 12 us (t )
dv (t )
+ 6v ( t )
dt
( )
F (t ) = 10 us (t )
3F ( t ) = 9
-1
2.1.a
2.3.a
d v 0+
( )
d v 0+
dF (t ) d 2 v (t )
dv (t )
+
=
+8
+ 3v (t ) v 0 = 9
dt
dt 2
dt
d 2 v (t )
dv (t )
+8
+ 3v (t )
dt 2
dt
( ) = 18
( )
dt
( ) = 12
dt
( )=0
( )
d v 0+
( )
d v 0+
v 0+ = 18
dt
( )=9
dt
d 2 v (t )
dv (t )
+9
+ 6v ( t )
dt 2
dt
( )
v 0+ = 0
dF (t ) d 2 v (t )
dv (t )
+
=
+9
+ 6v (t ) v 0 = 34
2
dt
dt
dt
2.6.c 3F (t ) =
d 2 v (t )
dv (t )
+9
+ 6v ( t )
2
dt
dt
( ) = 18
d v 0+
dt
( ) = 12
( )
d v 0+
( )
d v 0+
v 0+ = 34
dt
( )=0
dt
Chapter 2 Appendix
2.6.d 3F (t ) =
d 2 v (t )
dv (t )
+9
+ 6v ( t )
dt 2
dt
105
( )
v 0+ = 22
( )=9
d v 0+
dt
dF (t ) d 2 v (t )
dv (t )
+
=
+3
+ 5v (t ) v 0 = 7
dt
dt 2
dt
2.7.b
F (t ) =
d 2 v (t )
dv (t )
+3
+ 5v (t )
dt 2
dt
v 0+ = 0
2.7.c
F (t ) =
d 2 v (t )
dv (t )
+3
+ 5v (t )
dt 2
dt
v 0+ = 6
F (t ) =
d v (t )
dv (t )
+3
+ 5v (t )
dt 2
dt
v 0+ = 10
2.7.d
( ) = 14
( )
d v 0+
( )
d v 0+
( )
d v 0+
( )
d v 0+
dt
2 F (t ) =
d 2 v (t )
dv (t )
+3
+ 8v (t )
dt 2
dt
v 0+ = 5
2.8.b
2 F (t ) =
d 2 v (t )
dv (t )
+3
+ 8v (t )
dt 2
dt
v 0+ = 0
2.8.c
2.8.d
2 F (t ) =
dF (t ) d 2 v (t )
dv (t )
=
+3
+ 8v (t )
2
dt
dt
dt
( )=0
dt
( )=3
dt
d 2 v (t )
dv (t )
+3
+ 8v (t )
dt 2
dt
( ) = 18
( )
d v 0+
( )
d v 0+
( )
d v 0+
( )
d v 0+
v 0+ = 9
v 0+ = 18
dt
d 2 v (t )
dv (t )
+9
+ 6v ( t )
dt 2
dt
( )
3F ( t ) =
2.9.b
2.9.c
3F ( t ) =
d 2 v (t )
dv (t )
+5
+ 9v ( t )
dt 2
dt
v 0+ = 34
2.9.d
3F ( t ) =
d 2 v (t )
dv (t )
+5
+ 9v ( t )
dt 2
dt
v 0+ = 22
v 0+ = 0
dF (t ) d 2 v (t )
dv (t )
+
=
+5
+ 9v (t ) v 0 = 34
dt
dt 2
dt
2 F (t ) =
2.10.b
F (t ) =
2.10.c
2 F (t ) =
2.10.d
3F ( t ) =
( ) = 12
d 2 v (t )
dv (t )
+8
+ 3v (t )
dt 2
dt
d 2 v (t )
dv (t )
+3
+ 5v (t )
2
dt
dt
d 2 v (t )
dv (t )
+4
+ 9v ( t )
dt 2
dt
d 2 v (t )
dv (t )
+5
+ 18v (t )
dt 2
dt
2 F (t ) =
2.11.b
F (t ) =
2.11.c
2 F (t ) =
2.11.d
3F ( t ) =
d 2 v (t )
dv (t )
+8
+ 3v (t )
dt 2
dt
d 2 v (t )
dv (t )
+3
+ 5v (t )
2
dt
dt
d 2 v (t )
dv (t )
+3
+ 8v (t )
dt 2
dt
d 2 v (t )
dv (t )
+5
+ 9v ( t )
dt 2
dt
dt
( )=0
dt
( )=9
dt
2.10.a
( )=7
dt
( ) = 18
d v 0+
dt
( ) = 12
( )
d v 0+
( )
d v 0+
( )
d v 0+
Chapter 2 Appendix
Table 2.3 Laplace Transform Pairs
f(t)
(t ) = 0 for t 0
Unit impulse:
(Dirac delta function) (t ) = for t = 0
Unit step:
Unit ramp:
us (t ) = 0
for
t<0
us (t ) = 1
for
t>0
ur (t ) = 0
for
t<0
ur (t ) = t
for
t>0
( )=0
( )=9
dt
Problem 2.10Use Laplace transforms and transfer functions to solve the ordinary differential equations with con-
1
1 e at
a
1
s2
1
be bt ae at
ba
1
s
1
s (s + a)
1
e at e bt
ba
1
s+a
e at
dt
dt
F(s)
( s + a )( s + b)
( s + a )( s + b)
106
Table 2.3(continued)
f(t)
F(s)
1
1
1+
be at ae bt
ab a b
e nt sin n 1 2 t
1 2
1
1 2
1
s ( s + a )( s + b )
n2
s + 2 n s + n2
2
e nt sin n 1 2 t
1
d
1
= tan
= tan 1
1
1
1
e nt sin n 1 2 t +
1 2
= tan d = tan 1
sin ( t )
cos ( t )
s
s 2 + 2 n s + n2
Plotting in Mathcad
n2
s ( s 2 + 2 n s + n2 )
s2 + 2
s
s + 2
2
Mathcad Prime is engineering computational software designed to resemble the layout and appearance of manual
computations. Equations, graphics, and text can be placed at
will in the worksheet, with the only restriction that constants
and functions must be defined above where they are used,
because the worksheet is computed from top to bottom, left
to right. Mathcad strives to use conventional mathematical
notation, making the worksheet significantly easier to read
than computer code. Plotting a function in Mathcad requires
little more than defining the function to be plotted using an
assignment statement.
F(t) : = 10 sin ( 2 t )
107
Plotting in Mathcad
Let us say you wish to plot the result of example Sect.2.8.1,
v (t ) = 2.66 (1 e 0.5t ) . You must first define v(t) in the
Mathcad worksheet above, or to the left of where you plan to
place the plot. When you click on an empty area of a Mathcad
worksheet and begin to type, the program presumes that
you are entering an equation. If, in fact, you are typing text,
Mathcad will recognize you are entering text by the space
entered between letters. There are no spaces in equations.
When entering an equation, the space bar is used in lieu of
the mouse to move the shaped cursor out of exponents and
denominators. Alternatively, if you wish to enter text, type
as the first character to create a text region.
Click in an empty area of a Mathcad worksheet and type
v(t) : 2.66*(1 e ^ 0.5* t
:=
1
0.5
Upper
Limit
Dependent
Variable
Lower
Limit
Lower
Limit
Independent
Variable
Upper
Limit
2.658
v( t)
0.689
3
2.5
2
1.5
1
0.5
0
0
10
XY Plot.
108
2.658
2.66
velocity, m/sec
2
v( t)
1
0
0
0
10
t
v( t)
0.5 t
e
2.66
2.66
2
0
velocity, m/sec
v( t)
v( t)
1
392.119
0
0
10
time, sec
0.5t
100
0
100
200
300
400
10
10
) , for-
0.5t
Fig. A2.5 The Mathcad plot of the function, v(t ) = 2.66(1 e ), the
0.5t
expression, 2.66e , and the constant, 2.66
2.642
2.658
10
t
time, sec
0
t
10
10
Fig. A2.6 The Mathcad plot of the function,v(t ) = 2.66(1 e 0.5t ), autoscaled from t=10 to t=+10
in a place holder produces another place holder. For example, we plot v(t ), 2.66e 0.5t , and 2.66 on the same axis, by
typing a comma after entering v(t ), and again after entering
2.66e 0.5t , Fig. A2.5.
We chose to set the limits of the time axis at zero and six
or seven time constants. If we create a plot by editing the
place holders for the independent and dependent variables,
but leave the axes limits blank, Mathcad will autoscale the
horizontal axis from 10 to +10, and evaluate the dependent
variable within those limits. Since the input was applied at
time, t=0, the plot will show a response before the input
acted on the system, Fig. A2.6. Even though we did not intend for the function to be evaluated for negative time, it
can be. The polite term for the resulting plot is non-causal
since it violates cause and effect. The more common terms
include nonsense and garbage.
Do not plot negative time, unless (1) the input is applied
at the negative time of the lower limit, or (2) the response
function is multiplied by the Heaviside unit step function to
zero out the response function, until the time the input is applied. Mathcads notation for the Heaviside unit step function is capital phi, ( ). The f(x) button brings up a dialog
with all of Mathcads built-in functions. The Heaviside unit
step is in the Piecewise Continuous submenu, or can be
found in the alphabetical list. Multiplying the response func-
109
v, m/sec
( t) v( t) 1
0
1
10
10
Recall the exponent of the real exponential is , the real component of the eigenvalues of the system, and the frequency
is the magnitude of the imaginary component of the eigenvalues.
s1 , s2 = 0.16 j 0.68
Create an assignment statement defining the response variable, v2(t). Note the subscript 2, which is part of the functions name. Mathcad refers to a subscript which is part of
a variable of function name as a literal subscript, to distinguish it from a subscript which represents the index of a
vector. A literal subscript is created by typing a period immediately before the literal subscript. A vector subscript or
index is created by typing a left square bracket [ immediately
before the subscript. Type
1
0.16
10
20
t, sec
30
6 .2
Fig. A2.8 The Mathcad plot of the response function, v2(t), formatted
with gridlines, axes labels, and a plot title
2 : =
1
= 6.25
0.16
to see
to see
v.2( t)
0.013
10
tion by the Heaviside unit step function zeros out the value of
the response function, until the moment when the Heaviside
step function transitions from zero to one, Fig. A2.7.
As an example of a second-order oscillatory step response, we will plot the result of Sect.2.7.3
10
Fig. A2.7 The Mathcad plot of the product of the response function,
v(t), and the Heaviside step function, us(t). Mathcads notation for the
Heaviside step function is (t)
s1 , s2 = jw
110
Plotting in MATLAB
MATLABs Environment
MATLAB is a programming environment. The default
configuration opens with a tabbed tool bar across the top of
the screen and five windows below it, with the Command
Window in the center. MATLAB is an interpreter which
means MATLAB translates and executes code line by line.
The practical effect is that the command line, identified
by prompt>>in the Command Window, can be used as a
calculator. For example, typing 2+4 Enter at the command
prompt yields
>>2+4
ans =
6
MATLAB keeps a record of the commands and the variables
used in calculations and scripts. The Command History window shows a history of commands entered which extends
to prior uses of MATLAB. It is convenient for an individual
using MATLAB on a personal machine, but it also means
that users of a public machine have access to the prior users
command history. The command history can be cleared by
right clicking on the title bar at the top of the Command History window to bring up a context menu and selecting the
item Clear Command History.
Array Variables
The record of the variables used is shown in the window
titled, Workspace, with three columns, Name, Value, and
Min. Note that MATLAB created the variable named ans and
displays its Values and Min as 6. The icon at the left of row
is a square subdivided into four squares. This is a clue that
Assignment Statement
The assignment operator in MATLAB is a conventional
equal sign,=. Assignment statements are read from right to
left. The right side can be a numerical value, a previously
defined variable, or an expression. The left side must be a
variable.
For-End Loop
MATLAB provides a number of flow-control instructions,
or commands, which allow the execution sequence of repeat
or skip blocks of code. We will use a logic structure called
a for-end loop which, as one might guess, begins with the
word for on the first line of the code block and ends with the
word end on the last. A variable which serves as a counter
is defined in the for line and given an integer range. The
counter variable consecutively assumes values of a defined
range. The lines of codebetween the for and end lines are
repeatedly executed, until each counter variable defined in
the for line and incremented by one passes through, and the
loop reaches its upper limit.
Example. We will wish to repeat the calculation of a response function, perhaps one thousand times. We choose a
name, say n, for the counter variable. We can use the counter
variable in the code between the for and end statements, but
we must not change its value. MATLAB will increment the
value of the counter variable, and check it against the upper
limit of the range. The syntax of a for-end loop that executes
10 times is
for n=1:10
instruction;
instruction;
instruction;
end
MATLABs Editor
We will use MATLABs editor to write a script or program
to create the vector t., stored with the extension.m, and then
run at the command line by typing the files name. Search as
you may, you will not find a tab or window for MATLABs
editor from the default environment. The editor is opened,
when you choose the icon, New Script, in the Home tool
strip tab. The Editor opens as a second program. The only
way to navigate from the Editor back to the MATLAB environment is by clicking on the MATLAB icons in the Windows task bar, and selecting the M
ATLAB environment.
Comments are labels, explanations, and notes added to
computer code for the programmers and future users benefit. The longer and more complicated the code, the more
important are comments for structuring the program and
making it understandable. Comments begin with a percent
sign % and are colored green in MATLABs editor. A comment may occupy the end of a line of code, or may be a line
by itself. Comments which identify variables and describe
the function of blocks of code are essential. The purpose of
writing a script is to save time by automating tasks. Poorly
commented code is difficult to understand and use, and defeats the purpose.
We will begin our script with a comment giving the name
of the script, First.m, and the date. MATLAB names cannot have spaces. Use an underscore instead. Our simple programis
% First.m 06-02-14
for n=1:11
t(n)=0.1*(n-1)
end
Write and save the script. Although you can accept MATLABs default location, it is best to save your script to a per-
111
sonal storage device or location. Click on the green triangular Run icon in the tool bar at the top. A dialog will appear
stating that the script is not in the current folder or on the
MATLAB path. Click on the button, Add to Path, which adds
your personal storage location to those locations that MATLAB checks for scripts. It will also run the script. Nothing
appears to happen, because you are still in the Editor. Navigate to the MATLAB environment. You will see the result in
the Command Window. The elements of vector t are written
to the Command Window for each iteration through the loop.
Notice that t is now listed in the Workspace window, and
has the Value,<111 double>, describing it as a one-dimensional array with 11 elements of a data-type double. Data
type refers to how data are stored. Double refers to double
precision floating point number. Double precision uses 64
bits of computer memory. Floating point refers to scientific
notation.
Plotting
We will now edit First.m to create a second vector y and
plot it. Although MATLAB has pi as a constant, it does not
have Eulers number e. Exponentiation to the base e is performed with the function exp(). MATLABs function, plot(),
produces an interactive plot which can be resized, formatted,
and interrogated using the data cursor. The arguments of
plot() are pairs of vectors which contain the x and y-axes coordinates of the data plotted, e.g., plot(x, y). In our example,
the independent variable is the vector t. Add the plot command after the end statement.
Our output is now graphical in the form of a plot. We do
not need to see the values of t and y written to the screen. In
fact, writing each iteration of the loop to the screen slows
execution of the script significantly. A semicolon at the end
of line of code is an instruction not to write that line on the
screen.
% First.m 06-02-14
for n=1:11;
t(n)=0.1*(n-1);
y(n)=exp(-t(n));
end;
plot(t,y)
Save and run this script. The MATLAB plot titled Figure1
will appear as a new document, Fig A2.9. If Figure1 does
not exist, it will be displayed on top of the Editor. If Figure1
already exists, it will be overwritten with the current plot but
will not be brought to the front. Navigate to it by clicking
on the MATLAB icons in the task bar at the bottom of the
screen.
MATLAB figures can be formatted after they are created,
by opening the Tools menu item in the menu bar of the
figure, and choosing Edit Plot. It is also possible to format
112
1
0.9
0.9
0.8
0.8
0.7
0.7
0.6
0.6
0.5
0.5
0.4
0.4
0.3
figures with commands in the script. Although more complicated, it allows the formatting to be automated. The technique is addressed in the Programming in MATLAB appendix to Chap.8.
0.2
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
The plot, Fig. A2.10, is correct from t=0 to t=0.8, corresponding to the portions of the vectors, t and y, which were
overwritten with new values. The final two elements of vectors t and y were not overwritten, and still hold values created by the previous script First.m, leading to the kink in the
curve. Although this example may seem contrived, it is not.
Engineers tend to use and reuse the same meaningful variable names. MATLAB does not create a new instance of an
existing variable. Consequently, when MATLAB executes
an error, or the results of successful execution of a script do
not make sense, clear the workspace and run the script again.
tend
dt
The for-end loop is similar, and the plot() command is identical to scripts, First.m and Second.m. Figs. A2.11 and A2.12
are flow charts of the script.
We cannot name the script, plot.m, because plot () is a
MATLAB function, so we will name it Plotting.m. Because
we must edit the script each time we wish to plot a new response function, it is helpful to uniquely identify each version of the script with a date code, i.e., plotting_060314.m.
The plot produced by the code, Fig. A2.13, is then formatted
and annotated using MATLAB's plot editing features.
113
Start
sigma_min = mininimum ||
tau_max = 1/abs(sigma_min)
tend = 6*tau_max
No
Oscillatory
System?
Yes
Calculate the smallest time constant from the
maximum magnitude real eignevalue component
sigma_max = maximum ||
tchar = 1/abs(sigma_max)
omega =
tchar = (2*pi)/omega
dt = tchar/200
% plotting_060214A.m
% Response Function Plotting Script 6-2-14
%
% tau_max is the largest time constant in the system.
% If the eigenvalues are known then use the smallest
% magnitude real component sigma.
sigma= -0.5
tau_max = abs(1/sigma)
% omega = 0.68
% tchar = 2*pi/omega
tchar = tau_min
% dt is the time step between calculations. Use 1/200
% of the smallest characteristic time.
114
v, m/sec
Response v(t)
N = tend/dt
0
Initialize for-end loop counter variable
n=1
t, sec
10
12
Fig. A2.13 The MATLAB plot of the response function, v (t), from the
script, plotting_060214A.m, after formatting
plot(t,y)
Compute time vector element
t(n) = (n-1)*dt
y(n) = response(t(n))
% plotting_060214B.m
% Response Function Plotting Script 6-2-14
%
% tau_max is the largest time constant in the system.
% If the eigenvalues are known then use the smallest
% magnitude real component sigma.
sigma = -0.16
tau_max = abs(1/sigma)
No
n == N ?
n=n+1
Yes
plot(t,y)
Finish
dt = tchar/200
% Calculate the upper limit of the for-end loop. This
% value is the number of calculations.
N = tend/dt
for n=1:N
t(n)=(n-1)*dt;
y(n) = 2.66*(1-exp(-0.5*t(n)));
end;
115
Response v2(t)
4.5
3
2
1
v, m/sec
v2(t), m/sec
1
1
2
0
10
20
t, sec
30
40
Fig. A2.14 The MATLAB plot of the response function, v2(t), from the
script, plotting_060214B.m, after formatting
N = tend/dt
for n=1:N
t(n)=(n-1)*dt;
y(n)=2.74*exp(-0.16*t(n))*cos(0.68*t(n)-2.91)+2.66;
end;
plot(t,y)
Plotting additional traces on the y-axis requires the creation of additional output vectors, and then adding pairs of
independent, dependent variable vectors to the plot statement. We will rename the script, plotting_060314A.m,
as the following: plotting_060314C.m, and edit it to plot,
v (t ) = 2.66(1 e 0.5t ), 2.66e 0.5t and 2.66 on the vertical
axis. The revisions are in the for-end loop and in the command plot (). The resulting plot is Fig. A2.14.
% plotting_060214C.m
% Response Function Plotting Script 6-2-14
%
% tau_max is the largest time constant in the system.
% If the eigenvalues are known then use the smallest
% magnitude real component sigma.
sigma= -0.5
tau_max = abs(1/sigma)
% tend is the plot duration. Should be 6 or 7 tau_max.
tend = 6*tau_max
% tchar is the smallest characteristic time of the
% system. If the smallest characteristic time is a
% period, use the following block to calculate the
% period from an angular frequency in radians/sec.
% omega = 0.68
% tchar = 2*pi/omega
t, sec
10
12
Fig. A2.15 The MATLAB plot of the response function, v1(t), 2.660.5t
and 2.66, from the script, plotting_060214C.m, after formatting
Abstract
System dynamics predicts the responses of physical systems to inputs of energy. In this
chapter, we examine the response of first-order systems to step changes of the input power
variable. The response of a system to a step input, called the systems step response, is
both common and important. It is common because many sources provide a reasonably
constant value of the input variable, if power draw is not too large. The importance of the
step response is twofold. First, the step response reveals the homogeneous response of the
system. We can experimentally determine the elemental parameters of the systems step
response. Second, the superposition (or summing) of steps inputs of different amplitudes
and shifted in time allows us to approximate any arbitrary input. Superposition is then used
to calculate the response of a system to that input by summing the individual responses to
each step.
3.1Introduction
We revisited differential equations in Chap.2 and thoroughly
reviewed the method of undetermined coefficients. In this
chapter, we will apply a decidedly engineering perspective
to the solution of first-order differential equations with step
inputs. The approach we develop will support the engineering design process. Specifically, our approach will allow us
to make relatively quick decisions using simple models, before we commit ourselves to the time and expense of a more
accurate but involved mathematical model. We will focus on
the relationship between the input to the system and the response of the system. From this perspective, the differential
system equation is seen as an operator, where the system
equation operates on the input variable to yield the output
variable, Fig.3.1. Although we use the term input variable
in order to predict the behavior of a physical system, we need
to know how the input variable changes with time. In other
words, we need the input function, also known as the forcing
function, to calculate the response function.
This perspective is attractive for three reasons. First, it
simplifies the solution of the differential system equations in
many cases. Second, it allows the solution of impulse, pulse,
K. A. Seeler, System Dynamics, DOI 10.1007/978-1-4614-9152-1_3, Springer Science+Business Media New York 2014
117
118
Dynamic
System
Input Variable
Forcing Function
Response Function
x,v
F(t)
Mass
x,v
Output Variable
Lubricating
fluid film
Damping b
We will introduce the linear graph method with the example of a force source sliding a mass on a lubricating fluid
film, Fig.3.2. The lubricant film supports the mass to prevent
it from making solid to solid contact with the surface. In order
for the mass to slide, the fluid must shear, which dissipates
mechanical power, thus heating the fluid. This phenomenon of
viscous friction is called damping, and is represented by the
parameter b. We will present the basics of the viscous shear of
fluids, as we examine the energetic properties of the model.
Surface 1
v1
h
Fluid Shear
v2
Surface 2
119
x
=
(3.1)
y
where x is the difference in the horizontal displacement of
parallel surfaces of a cube of fluid, and y is the length of the
side of the cube and, thus, the distance between the cubes
parallel faces, Fig.3.4.
The shear strain rate is the time derivative of shear strain:
d
1 x 1 dx
= lim
=
(3.2)
dt t 0 t y y dt
If the shear strain is uniform across the height h of the gap,
then dx / dt = v and the shear strain rate is
d v
=
(3.3)
dt
y
The shear stresses within the fluid, Fig.3.4, are related to the
strain rate of the fluid by the parameter viscosity given the
symbol, . The viscosity of most common liquids is a function of strain rate and temperature. Therefore, in the general
case, the relationship between shear stress and strain rate of
a liquid is
d d
,T
dt dt
(3.4)
Equation3.4 is non-linear, because the viscosityis a function of the shear rate, d / dt . It is also not stationary, meaning that the equation does not remain the same. In this case,
it changes with temperature. If fluid temperature was held
constant, or the viscosity was insensitive to (did not vary
b x
yx
y
xy
y
x
xy
yx
Fig. 3.4a Shear stresses, xy and yx, on the surfaces of a cubic element
of fluid. bShear in the xy plane of a fluid cube
d
dt
= 0
(3.5)
120
F(t)
y
FR
FShear
x,v
F(t)
Mass
M
FShear
Fig. 3.6 Free body diagram showing only the forces acting on mass M
that do work
121
F (t ) = M
d2x
dx
+b
2
dt
dt
1
d 2 x b dx
F (t ) = 2 +
M
M dt
dt
Collecting the effect of viscous friction, which is distributed across the bottom surface of the mass, into damping
coefficient b is an abstraction or simplification. A single
parameter that represents a property distributed across a
surface, such as viscous friction, or throughout a volume,
such as mass, is called a lumped parameter. This is a familiar approximation, since free body diagrams also lump
or localize properties. Collecting or concentrating properties which are actually distributed simplifies the resulting
differential system equation by eliminating the spatial variable, x. The system equation is then an ordinary differential
equation with time derivatives, rather than a partial differential equation with derivatives of both time and position.
System Equation
This form of system equation is a second-order differential equation. It can be rewritten in terms of velocity, using
the definition v = dx dt , to yield a first-order differential
equation:
1
dv b
F (t ) =
+ v System Equation
M
dt M
In Sect.3.5, we will introduce a special form for the firstorder system equations known as the time constant form,
where the output variable term is cleared of a coefficient,
bF (t ) =
M dv
+ v System Equation in Time Constant Form
b dt
Time
Constant
dx
d2x
=M 2
dt
dt
This is not in the proper form for a differential equation. Recall from Chap.2 that the standard form is to separate terms
EM =
1
Mv 2
2
(1.34)
122
x,v
F(t)
Mass
Lubricating
fluid film
Damping b
g
Fig. 3.7 Schematic of the mass-damper system showing the velocity
nodes, node 1 on the mass, and node g on the ground
P
= Fv
(1.17)
The velocity of the point of application of the force F(t) is
the velocity of the mass, v1. Consequently, a force source is a
power source. A force source provides mechanical power to
the system at a known or specified force. The velocity of the
point of application is not known. The response of the system to the applied force F(t) determines the velocity of the
point of application of the force. Although force is a familiar
input to statics and dynamics problems, it is more common
in practice to know the velocity of a machine element, which
presses or pulls on a dynamic system, than to know the force
which is applied. A velocity source is a mechanical power
source, in which we know or specify the velocity of the point
of application of an unknown force. The force which the velocity source must provide is determined by the reaction of
the system to the velocity source.
All energetic elements in a linear graph require two velocity nodes, including the force source. It is convenient to draw a
force source as a vector, showing only the point of application
of the force. In reality, the force is applied by a mechanism
or mechanical element which needs to push or pull against a
suitable reaction in order to provide a force. Anyone who has
pushed or pulled, while standing on a slippery surface, can
attest to this fact. We will use the convention of an input force
shown as a vector with its point of application indicated, but
its tail floating in space, to indicate that it is reacting against
ground, since it must react against something.
= FNet = 0
is a static equilibrium.
A mass is fundamentally different from other energetic
mechanical elements. A single force can be applied to a mass.
In contrast, a spring must have equal and opposite forces at
both ends, in order to transmit or provide any force. You cannot push on just one end of a spring and develop a force.
There must be a reaction force pushing back against the other
end of the spring. The push back of a mass develops at the
point of application of the force since an inherent property
of mass is its resistance to acceleration. In 1743, DAlembert
introduced the concept of an inertial force, in the context
of extending the principle of virtual work from the static case
to a system of particles in motion. The DAlembert force,
also known as the inertial force, is the resistance of a mass to
acceleration. DAlemberts force is equal and opposite to the
net force, which accelerates a mass. An inertial force is the
pseudo-reaction force of a mass.
A dynamic equilibrium includes DAlemberts force, in
the sum of forces acting on the mass. A dynamic equilibrium is always zero, since, by definition, DAlemberts force,
max, equals the opposite of the Fx,
(3.13)
Fx max = 0
where DAlemberts force is
FD Alembertx = max
(3.14)
We will invert the sign of Eq.3.14 and use the opposite
of DAlemberts force as the force acting to accelerate the
mass, FM,
(3.15)
Fx FM = 0
Mathematically, the force acting to accelerate the mass, FM,
is the net force, Fx. Conceptually, FM=max. The distinction
between the two previous statements is the difference between a force, Fx, and the effect of that force, max.
There are two reasons for including the DAlembert
force (as FM) in the linear graph method. First, including
DAlemberts force allows a dynamic equilibrium statement to be written for every force summation. Second, by
naming the force acting to accelerate a mass FM, we have a
force associated with the mass element. We shall see that two
power variables per energetic element are needed to apply
the equivalent of Kirkchoffs circuit laws to a mechanical
system represented as an energetic network. The power
123
124
reference node. Since the mass is rigid, the two nodes on the
mass, identified as node 1, are a single velocity. Likewise,
two ground nodes identified as g are shown. They are also a
single velocity.
A linear graph is a network. It consists of a set of nodes
that represent distinct values of the across variable, connected by lines known as branches which represent the energetic elements. An arrowhead is drawn near the middle of
each branch, to define the positive direction for the through
variable in that energetic element. The direction defined as
positive for an element is arbitrary, except for sources and
a few special cases we will encounter later. Most elements
in a linear graph are identified by their parameters which
represent their energetic property. For example, a damper is
identified with b and a spring with K. This contrasts with an
electrical circuit diagram, in which a resistor is identified by
both a resistor symbol and its parameter. Linear graph derives its name from the use of lines identified by parameters,
rather than unique symbols for each type of element. An exception to the no-special-symbols rule is an input element or
source. The symbol for a source is a branch with the input
variable encircled in the middle of the branch.
Linear graphs are drawn by first drawing and identifying
(labeling) the nodes by a number or letter. In this example,
we draw and identify the velocity nodes, v1 and vg.
Next, draw the elements between their respective nodes,
which are identified on the schematic of the energetic system. Note the mass elements dashed line after the arrowhead. This convention indicates there is no reaction force
from the ground node against the mass. Both the force source
and the damper must have a reaction force at the ground, in
order to apply a force at node 1.
x,v
F(t)
Mass
1 M
1
Lubricating
fluid film
Damping b
g
Fig. 3.8 Schematic of the mass-damper system, showing a reaction
against ground for the input force source
125
F(t)
F(t)
F(t)
126
Fig. 3.11 The mass-damper
loop is from node 1 across the
mass to node g, then back across
the damper to node1. The massdamper paths are from node 1
to node 2, across the mass and
across the damper
positive and negative differences for the values to be compatible and sum to zero. The loop equation for the massdamper loop of the system from node 1 to node 1 is
v1g v1g = 0
M (3.20)
Although the electrical engineering style or element subscript notation is simpler, the advantage of the node subscript
notation is clear, when there are elements in parallel, as in the
force source, mass, damper system, Fig.3.10:
Velocity
Difference
Across the
force source
from node
1 to node g
Across the
damper
from node
1 to node g
Across the
mass from node
1 to node g
Node Subscript
Notation
v1 vg
vsource
v1g
v1 vg
vb
v1g
v1 vg
vM
v1g
dv
dt
From the general form, we write the element equation for the
systems specific mass element, by adding the identifying
subscripts to the force, and acting to accelerate the mass, FM,
as the velocity drops across the mass, v1g,
dv1g
(3.23)
FM = M
dt
Fb
x 1 ,v1
Node 1
x 2 ,v 2
127
Fb
Node 2
128
x,v
F(t)
Mass
M
F(t)
Lubricating
fluid film
Damping b
Energetic Equations
FM = M
dv1g
dt
1
E M = Mv12g
2
dt
F (t ) = M
F (t ) M dv1g
=
+ v1g
b
b dt
(3.26)
[ F ] = M
M
dv1g
dt
[ F ] = bv
b
1g
[ F ] = M t
[ F ] = [bv ]
Ft
v
[ M ] =
F
[b] = v
F M dv1g
F M v
b = b dt + v1g b = b t + [ v ]
v F t v v
+ [v]
F
=
F
v F t
dv1g dFM
dF
dF (t ) d
dF (t )
= (bv1g ) + M
=b
+
dt
dt
dt
dt
dt
dt
F (t ) Fb FM = 0 F (t ) = Fb + FM
dv1g
F (t ) Fb FM = 0 F (t ) = Fb + FM F (t ) = bv1g + FM
F (t ) = bv1g + M
F (t ) M dv1g
=
+ v1g
b
b dt
g
parameters, we have completed the reduction. We will then
express the system equation in a time constant form, and
then check the units of the system equation in terms of the
power variables, F and v, and time t.
It is always helpful to organize the information one works
with. The schematic of the energetic model and the linear
graph drawn from it should be grouped with the set of energetic equations. The set of energetic equations is used first,
to formulate the differential system equation and, again, to
establish the initial conditions needed to solve the system
equation. The order the energetic equations are presented
is not important. It is important to organize the energetic
equations by type. If an equation is missing, it may not be
immediately apparent during a reduction. Be systematic in
extracting the information from the linear graph. Separate
the set of energetic equations from any subsequent algebra.
Combining statements of physical truth with possibly erroneous algebra is counter-productive. Finally, identify the
input variable and the power variable to be the output variable, that is, the objective of the reduction, at the top of the
reduction.
dv1g
dt
+ bv1g
dF (t )
dF (t ) b
dF
F dF
FM + M
= b M + M
=
M
dt
dt
dt
M
dt
M dF (t ) M dFM
=
+ FM
(3.27)
b dt
b dt
129
[ M ] =
[b] = v
M dF M dFM
M F M F
b dt = b dt + [ FM ] b t = b t + [ F ]
F t v F F t v F
+ [F ]
=
v F t v F t
[F ] = [F ] + [F ]
The units are consistent.
FK
x 1 ,v1
Node 1
x 2 ,v 2
FK
Node 2
130
Fig. 3.15a Translational
mechanical spring-damper
system driven by a force source.
b Translational mechanical
spring-damper system driven
bya velocity source
x,v
K
F(t)
v(t)
x,v
(1.28)
dt
0
Likewise, in the general case, a force source cannot act directly on a spring. We would need infinite power, if we were
to dictate the force acting through a spring by imposing a
step change on it, since the strain energy stored in a spring is
a function of the force acting through the spring. The argument can also be made using deformation. If a spring were to
deform a finite amount instantaneously, the end of the spring
would displace at infinite velocity. You may recall problem
statements from previous courses, in which a force was applied directly to a spring. This is impossible in the general
case, but not in two special cases. The first special case applies to a force from the source, acting through the spring
which is increased gradually over time, limiting the power
flow from the force source. We will use for this special case,
when we investigate the application of sinusoidally varying
forces to systems. The second special case occurs, when the
transient response is neglected, and only the steady-state is
considered. Steady-state occurs after the force source and the
spring have reached equilibrium. This special case is commonly used in machine design but is not used in system dynamics, since we are interested in the transient response of
systems.
There are two velocity nodes associated with every energetic element. Except for a mass, the velocity nodes are at
either end of every element. Again, masses are special. The
second node associated with a mass is the inertial reference,
ground. Draw both nodes associated with each element on
the schematic, Fig.3.16a, then eliminate redundant nodes
of the same value of the across variable, Fig.3.16b. Rigid
objects have a single translational velocity, when motion is
restricted to one axis or dimension. The three nodes on the
rigid and massless bar are the same velocity and, therefore,
the same node.
Three ground nodes have been identified. The force
source, represented as a vector, must react against something. Since its reaction is not shown, we assume that it reacts against ground. Only one of two ground nodes on the
right end of spring K and damper b is needed. Note that
ground is also indicated schematically by the cross-hatching.
Draw the linear graph by first drawing and labeling nodes
1 and g. Then, add the elements by drawing lines (branches) between the respective nodes. Draw arrowheads on the
branches to define the positive direction of the through variable force for the element. Identify the branch with the parameter of the element, Fig.3.17.
The energetic equations of the system are categorized as
follows:
1. Continuity or Node Equations: Sum through variables
(forces) at nodes. Write one continuity equation less than
there are nodes. Omit the ground node.
2. Compatibility or Path Equations: Sum across variable
differences between two nodes along different paths.
Write no more compatibility equations than there are
holes in the linear graph.
3. Element Equations: Write one element equation relating
the two power variables of each passive element. There is
element equation for a source.
4. Energy Equations: Equate the energy stored in the system with the energy stored in the energy stored elements.
Write an energy equation for each energy storage element.
131
x,v
K
F(t)
K
F(t)
F (t ) Fb FK = 0 F (t ) = Fb + FK F (t ) = bv1g + FK
F (t ) =
b dFK
+ FK
K dt
F2
EK = K
2K
We will reduce the set of energetic equations to the differential system equations, which relate the input force to the
force acting through the spring, FK, and the force acting
through the damper, Fb. Recall that the process utilizes elimination by substitution, differentiating if necessary. The energy equations are not used in the reduction to a d ifferential
(3.29)
F
Fb = bv1g [b ] =
v
b dFK
F (t ) =
+ [ FK ]
K dt
F t v F
+ [F ]
v F t
[F ] =
F(t)
x,v
b F
+ [F ]
t
[ F ] = K
[F ] = [F ] + [F ]
dFb dFK
+
dt
dt
dF (t )
dt
dF (t )
dt
dFb
+ Kv1g
dt
dFb
F
+K b
dt
b
132
x,v
v(t)
b dF (t ) b dFb
(3.30)
=
+ Fb
K dt
K dt
Check the consistency of the units in terms of the power variables and time:
F
dFK
= Kv1g [ K ] =
dt
t v
Fig. 3.18 Nodes of distinct values of the across variable velocity, identified on the energetic systematic
x,v
F
Fb = bv1g [b ] =
v
b dF (t ) b dFb
b F b F
+ [ Fb ]
=
+ [F ]
K t K t
K dt K dt
F t v F F t v F
=
+ [F ] [F ] = [F ] + [F ]
v F t v F t
The units check.
v(t)
g
K
1
Fig. 3.19 Node labeled. A ground node is needed for the velocity
source to react against
FK = Fb
dFK
= Kv12
dt
EK =
FK2
2K
We will reduce this set of energetic equations to the differential system equations, which relate the input force to the
force acting through the spring, FK, and the velocity drop
across the spring, v12. Again, start with a summation containing either the input or the output variable, if possible. Make
successive substitutions to eliminate any variable, other than
the input and output variables and time. Element parameters
are not variables, and they are not eliminated.
133
v(t)
g
Reduction i: Input v(t), Output FK
v (t ) = v12 + v2 g v (t ) =
1 dFK Fb
1 dFK FK
+
v (t ) =
+
K dt
b
K dt
b
[K ] = t v
F
Fb = bv2 g [b ] =
v
b dFK
bv (t ) = K dt + [ FK ]
b F
+ [F ]
t
[bv ] = K
F F t v F
+ [F ]
v=
v v F t
[F ] = [F ] + [F ]
Fb
F
v (t ) = v12 + K
b
b
=
+ Kv12
dt
dt b dt
dt
dt b
This is the system equation. Express it in a time constant
form:
b dv (t ) b dv12
=
+ v12
(3.32)
K dt
K dt
g
Check the consistency of the units in terms of the power variables and time:
dFK
= Kv12
dt
[K ] = t v
Fb = bv2 g
b dv (t ) b dv12
=
+ [ v12 ]
K dt K dt
[b] = v
b v b v
K t = K t + [ v ]
F t v v F t v v
=
+ [v]
v F t v F t
[v ] = [v ] + [v ]
134
Fig. 3.21a Schematic of a
force source spring-mass-damper
system, with the damping
represented as a lubricating film
supporting the mass. b Schematic
of a force source spring-massdamper system, with the damping
represented by a dashpot
x,v
F(t)
F(t)
Frictionless
rollers
Fig. 3.22a, b Energetic schematics of a force source springmass-damper system with nodes
at either end of the force source,
spring, and damper
M
K
Lubricating fluid
Damping b
x,v
x,v
F(t)
F(t)
g g
we will write the node equation for node 1, and omit the
ground node. There are three holes in the linear graph. If
the linear graph had two elements in each path from node 1
to ground, then three useful compatibility or path equations
could be written. Since there is only one element in each
path from node 1 to ground, only one unique equation can be
written, and it is a trivial equation.
Energetic Equations
Continuity or Node Eq: F (t ) = Fb + FK + FM
Compatibility or Path Eq: v1g = v1g
dFK
= Kv1g
dt
EK =
FM = M
FK2
2K
EM =
dv1g
dt
1
Mv12g
2
1 1
g
Lubricating fluid
Damping b
x,v
Frictionless
rollers
dv1g
dt
d 1 dFK
b dFK
+ FK + M
dt K dt
K dt
F (t ) =
M d 2 FK
b dFK
+ FK +
K dt 2
K dt
F (t ) =
b dFK
M d 2 FK
+ FK +
K dt
K dt 2
M d 2 FK b dFK
+
+ FK
K dt 2
K dt
K
K M d 2 FK K b dFK K
F (t ) =
+
+
FK
M
M K dt 2
M K dt
M
d 2 FK
K
b dFK K
F (t ) =
+
+
FK
(3.33)
2
M
M dt
M
dt
135
[b] = v
FM = M
dv1g
dt
dFK
= Kv1g
dt
[K ] = t v
Ft
v
[ M ] =
2
1 dF (t ) d v1g b dv1g K
2 +
+ v1g
M
dt
M
dt
M
dt
1 F v b v K
M t = t 2 + M t + M
v F v F v
= 2+
F t t t v F t
2
K
d FK b dFK K
M F (t ) = dt 2 + M dt + M FK
F v
F F v F F v
F = 2 +
F
+
t
t
t
v
F
v
F
t
v
F
t
t
t
F F F F
t 2 = t 2 + t 2 + t 2
The units check.
Reduction ii: Input F(t), Output v1g
We again start with a continuity equation, because it is a
summation which includes the input variable:
dv1g
dt
1 dF (t ) d v1g b dv1g K
=
+
+ v1g
(3.34)
M dt
M dt
M
dt 2
Check the units.
Fb = bv1g
dFK
= Kv1g
dt
F
[b] = v
FM = M
dv1g
dt
Ft
v
[ M ] =
v F v
v
+
t t v F t
v v v v
t 2 = t 2 + t 2 + t 2
K F b F K
M F = t 2 + M t + M F
F (t ) = Fb + FK + FM F (t ) = bv1g + FK + M
[K ] = t v
136
Fig. 3.23a, b Energetic schematics of a force source springmass-damper system redundant
nodes on the ideally rigid mass
removed
F(t)
F(t)
g g
g
Lubricating fluid
Damping b
x,v
F(t)
x,v
Frictionless
rollers
through variable, and identified by the elements parameter. Force is the through variable in a translational mechanical system. Sources supply power to a system. Their
symbol is a branch with a circle. The variable within the
circle identifies the type of source. Only one of the two
power variables can be controlled by a source. The other
power variable is determined by the power drawn from
the source by the system. A unique aspect of a source is
that across variable increases in the positive direction of
the through variable. Conversely, in energy storage and
dissipation elements, the across variable decreases in the
positive direction of the through variable.
A linear graph is an energetic network. Continuity, or
node, equations and compatibility, or path, equations describe the configuration of the network. Node equations sum
through variables at nodes. One less node equation is written
than there are nodes. We will omit the node equation for the
ground node. Path equations that equate the sum of across
variable drops between two nodes along different paths. The
element, or constitutive, equations relate the two power variables of an element to each other. The element equations are
written for the assumed positive direction defined by the arrowhead on the elements branch. Equations for the amount
of energy in an element and for the amount of energy in the
system are used to establish the initial conditions needed to
solve the differential system equation, not to derive the system equation.
us (t ta ) = 0 for t < ta
us (t ta ) = 1 for t > ta
(3.35)
137
us(t)
1
us(t)
u s(t) = 1
u s(t) = 0
time
t = 0-
Fig. 3.25 The Heaviside unit step function. The unit step function
transitions from 0 to 1, when its argument transitions from negative
to positive
t=0
t = 0+
time
us(t-t a )
us(t-t a ) = 1
u(t)
1
u(t) = 1
us(t-t a ) = 0
t-t a < 0
ta
t-t a > 0
time
u(t) = 0
t<0
t < t
time
dus (t ta )
dt
= 0 for t ta
(3.36)
138
(t)
(t) = 0
t<0
t = 0-
t=0
(t) = 0
t>0
+
t=0
time
The instantaneous transition of the Heaviside step function is a discontinuity at which its derivative with respect to
time becomes infinite. Mathematically, the derivative of the
unit step function is the unit impulse function, also known
as the Dirac delta function, (t), which has infinite amplitude and zero width (duration), Fig.3.29. Paul Dirac was a
British physicist influential in the development of quantum
mechanics.
(t ) = 0 for t 0
(t ) = for t = 1
(3.37)
(t ) dt = 1
(3.38)
By itself, this makes sense, since the unit impulse is the derivative of the unit step and integration is the inverse operation of differentiation.
Infinity as the value of the derivative of a function which
transitions instantaneously also makes sense mathematically.
It is a singularity, where we are dividing finite change by
zero time:
dus (t )
( 0) =
(3.39)
dt t = 0
Although we can calculate a value of infinity, we cannot
physically create the time derivative of a power variable with
infinite magnitude. The bizarre aspect of a unit impulse is
that its unit area, expressed by the integral of Eq.3.38, is the
product of infinity times zero.
The unit impulse is created by differentiating the Heaviside unit step function. What is physical effect on a system
of an input term which differentiates the Heaviside step
function? Fortunately, the physical effect is straightforward.
There is none. The input to the actual physical system is a
139
x,v
F(t)
Mass
M
1
Lubricating
fluid film
Damping b
F(t)
F0 us(t)
t, sec
Fig. 3.30 Step input driving the mass-damper system of Fig.3.13 and
the spring-mass-damper system of Fig.3.31
FM = M
EM =
dv1g
dt
1
Mv12g
2
M dF (t ) M dFM
=
+ FM
b dt
b dt
F(t)
N
F0
E sys ( 0 ) = E M ( 0 )
and
E M (0 ) =
1
Mv12g 0
2
( )
( )
v1g 0 = 0
P
(1.40)
dt
0
140
E sys ( 0 ) = 0 = E sys ( 0+ ) E M ( 0 ) = 0 = E M ( 0+ )
1
1
Mv12g 0 = 0 = Mv12g 0+
2
2
( )
( )
( )
( )
v1g 0 = 0 = v1g 0+
( )
(3.41)
v1g 0+ = 0
Regardless of whether or not the state variable is the output
variable, the first step in calculating the initial condition of
any output variable is always to determine the value of the
state variable at time t = 0 , the instant before the input is applied. Again, a state variable cannot change instantaneously.
The value of a state variable at t = 0 is its value at t = 0+.
Having established the initial value of the energy storage
(state) variable, v1g (0+ ) = 0, and knowing the value of the
input at time t = 0+ ,
( )
( )
(3.42)
F 0+ = F0 us 0+ = F0
We can now establish the initial value of every other power
variable in the system by using algebraic energetic equations. We need to establish the value FM (0+ ).
We cannot use the differential elemental equation for the
mass, because we do not know the value of the derivative
of the velocity of the mass at time t = 0+ . We can calculate
the derivative, but we do not know it. Avoid the sophomoric
mistake of confusing knowledge of the value of a variable at
an instant in time with the variable being constant and concluding that the derivative of the variable is zero. We know
the value of the velocity of the mass at time t = 0+ is zero but
will not stay zero.
Perusing the energetic equations for FM, we see that the
only other appearance of FM is in the continuity or node
equation:
F Fb FM = 0
( )
( )
( )
F 0+ Fb 0+ = FM 0+
( )
( )
( )
F 0+ bv1g 0+ = FM 0+
Substituting for F (0+ ) and v1g (0+ ) ,
( )
F0 b v1g 0+
( )
= FM 0+
( )
FM 0+ = F0
(3.43)
dFK
= Kv1g
dt
EK =
FM = M
FK2
2K
EM =
dv1g
dt
1
Mv12g
2
141
x,v
F(t)
F(t)
g
d FK
K
b dFK K
F (t ) =
FK
+
+
2
M
M dt
M
dt
(3.33)
E K (0 ) =
( )=0
FK2 0
2K
E M (0
1
= Mv12g 0 = 0 v1g 0 = 0
2
( )
( )
( )
FK 0+ = 0
We now peruse the energetic equations and see that dFK /dt is
a term of the springs element equation:
( )
( )
( )
Likewise,
FK 0 = 0
and
( )
FK 0 = 0 and FK 0 = FK 0+
( )
FK 0+ = 0
g
Lubricating fluid
Damping b
What are the initial conditions needed to solve the system
equation, Eq.3.33?
dFK
= Kv1g
dt
The velocity of mass v1g is a state (energy storage) variable.
We have established at time t = 0+ , v1g (0+ ) = 0. Substituting,
dFK (0+ )
= Kv1g (0+ )
dt
We will now find the initial conditions needed to solve the
system equation, Eq.3.34, again assuming that the system is
de-energized prior to the application of the step input.
2
1 dF (t ) d v1g b dv1g K
=
+
+ v1g
M dt
M dt
M
dt 2
(3.34)
142
( )
v1g 0+ = 0
The second initial condition needed is the value of
dv1g (0+ )/dt . Checking the energetic equations, we find it in
the element equation for the mass:
FM = M
dv1g
dt
( )=
dv1g 0+
1
FM 0+
M
( )
dt
( )=
dv1g 0+
dt
( )=
dv1g 0+
dt
1
FM 0+
M
( ( )
( )
( )=
dt
( ))
1
F 0+ Fb 0+ FK 0+
M
( )=
dv1g 0+
dt
( ( )
( )
( ))
1
F 0+ bv1g 0+ FK 0+
M
( )
1
b
F 0+
v1g 0+
M
M
( )
( )=
dv1g 0+
dt
( )
the input and output variables (the system equation) is a firstorder differential equation. If the equations which describe
the elements of the system are linear equations, then the system equation will be a linear differential equation, and can be
solved by determining the unknown coefficients of a general
solution. The homogenous solution is always an exponential
function of the form
X h (t ) = Ae st
(3.44)
FK 0+
M
( )
1
F0
M
Our result tells us that at the instant after the step input is
applied, time t = 0+ , all of the applied force is used to accelerate the mass. This makes sense, because no force can be
transferred to the spring or the damper, until the mass moves.
where the exponent is known and is a function of the parameters of the dynamic system. Coefficient A is unknown and
dependent on both the initial conditions and the input to the
system.
It is convenient to express the homogeneous response in
terms of the inherent or characteristic timescale of the firstorder system, known as the systems time constant, The
time constant, , of a first-order system equals the absolute
value of the inverse of its eigenvalue, , which, again, is its
characteristic value, s
t
1
1
(3.46)
X h (t ) = e st = e where = =
s
(3.47)
X p (t ) = C
The response of a system to a step input reveals the underlying nature of the dynamic system. Dynamic systems with
one independent energy storage element can only have
two basic responses to a step input. The system can either
monotonically gain energy from the source or lose energy
to the source. There can be no oscillations. Oscillatory step
responses are caused by energy flow between energy storage
elements within the system.
Systems with only one independent energy storage element are called first-order, because the equation relating
Physically, the particular solution is the response of the system after the effects of the initial conditions and the homogeneous response have decayed to zero. In the ideal case, time
must approach infinity for the effects of the initial conditions
to decay to zero. In practice, the steady-state response of a
system is defined as when there is no more discernible effect
of the initial conditions and all that remains is the response to
the input. In the particular case of a response of a system to a
step input, the system is declared to be in steady-state when
there is no more discernible change with time of any of the
143
Decay
__
-t
__
-t
1- e
2 3 4 5
time, Time Constants
1+C
2 3 4 5
time, Time Constants
1+C
__
-t
__
-t
Offset Decay
e + C
C
0
Growth
(1- e ) +C
C
0
2 3 4 5
time, Time Constants
Offset Growth
2 3 4 5
time, Time Constants
the system have the same time constant, . There is only one
time constant in a first-order system. However, responses of
individual power variables in a system can be in opposite directions. That is, a variable may grow, while another variable
may decay, as the system reaches its new equilibrium.
All first-order step responses are based on the same ext
( ( )
X (t ) = X 0+ X ( ss ) e + X ( ss )
(3.49)
144
V(0+)
63.2%
V(t)
V
36.8%
time
V(ss)
36.8%
V(t)
V
63.2%
time
Fig. 3.34
Stable growth from zero. V (t ) = V 1 e
V = V ( ss )
),
where
V (t ) = V e
where V = V (0+ )
t
(3.50)
(3.51)
V (t ) = V 1 e where V = V ( ss )
The growth and decay curves are mirror images of each
other, as shown in Fig.3.35, where the dependent variable,
V(t), has been normalized by dividing it by its maximum
value, and time is expressed in time constants. Time equal to
one time constant reduces the difference between the current value and the steady-state value by 63.2%.
The addition of a constant to the growth and decay functions, Eqs.3.50 and 3.51, offsets the growth and decay
curves vertically, Eqs.3.52 and 3.53,
145
v(ss)
____
=1
v(ss)
v(0)
___
=1
v(0)
v(t)
____
v(t)
____
v(0)
v(ss)
0.632
0.865
63.2%
V(t)
time
63.2%
V(0+)
0
time
) + V (0 ), where V = V (ss) V (0 )
time
time
V (t ) = Ve + V( ss ) where V = V(0 ) V( ss )
36.8%
V(t)
36.8%
V(ss)
V(ss)
V(t) 0
V (t ) = V 1 e
63.2%
36.8%
V(ss)
time
V(0+)
V(0+)
0.632
V (t ) = V 1 e
) + V(0 )
+
(3.52)
(3.53)
Signs can create semantic problems when describing a dynamic response. For example, the plot of V(t) in Fig.3.38 is
concave upward, the shape of a decay from a positive value.
In the caption, the trace is described as a growth from an
initial positive value to a negative steady-state value. Either
description is acceptable. If the variable, V(t), was velocity and we were to observe the response of the system, we
would likely describe the response as the system reversing
direction, since the initial and final magnitudes of V(t) are
the same. It is more consistent to describe a change that
for the step input, F (t ) = F0 us (t ), plotted in Fig.3.26.
(3.27)
146
The Heaviside step input transitions from zero to one before the response can begin. Thus, we can remove the step
function, us(t), and leave just its scaling factor, F0,
F0 M dv1g
=
+ v1g
b
b dt
M dF0 M dFM
=
+ FM
b dt
b dt
and
Our solution method is to determine the initial and final values of the response. These values are sufficient to identify
which of the four possible first-order step responses is the
correct response function.
The time constant and the final, or steady-state, value are
determined from the system equation. The time constant is
found by unit analysis after expressing the system equation
in time constant form by clearing the output variable of its
coefficient. The factor multiplying the derivative of the output variable with respect to time must have units of time for
that term to have the units of the output variable,
E sys ( 0 ) = 0 = E sys ( 0+ ) E M ( 0 ) = 0 = E M ( 0+ )
1
1
Mv12g 0 = 0 = Mv12g 0+
2
2
( )
V (t ) = V 1 e
( )
( )
( )
M
F0
b
v1g (t ) =
1 e
v1g (t ) =
F0
b
b
t
M
1
(3.54)
The solution for force FM, acting to accelerate the mass, follows the same procedure as the solution for the response v1g.
The time constant and the steady-state value are determined
from the system equation,
M dF0 M dFM
=
+ FM
b dt
b dt
( )
F0 M dv1g ( ss )
=
+ v1g ( ss )
b
b
dt
F0
= C = v1g ( ss )
b
M
b
( )
( )
where
V = VSS
( )
v1g 0 = 0 = v1g 0+
F0 M dv1g
M
=
+ v1g =
b dt
b
b
F0 M dC
+C
=
b
b dt 0
( )
M dF0
b dt
=
0
M dC
+C
b dt 0
0=C
FM ( ss ) = 0
147
F(t)
u s(t-t a )
1
0
g
Fig. 3.39 Linear graph of the mass-damping system showing the
power flows in steady-state
PM = FM v1g ( ss ) = 0 FM = 0
and
F0 us (t ) v1g = Fb v1g + FM 0 v1g
F0 us ( ss ) = F0 = Fb
time
ta
( )
( )
F 0+ = b v1g 0+
( )
+ FM 0+
( )
( )
F 0+ = F0 = FM 0+
V (t ) = V e where V = V0 FM (t ) = F0 e
b
t
(3.55)
FM (t ) = F0 e M
Physically, the mass is at rest at the instant after the Heaviside step input is applied, since its kinetic energy cannot
change instantaneously without infinite power. There is no
shear of the lubricating fluid film, since there is no motion.
Initially, all of the applied force acts to accelerate the mass.
Eventually, the velocity of the mass will create a shear force
equal to the applied force. The system will then be in steadystate. Since none of the applied force will act to accelerate
the mass, there will be no further change. All of the power
variables will have constant values.
148
v(ss)
v(t) 0
ta
time
(3.58)
Unit Pulse(t , ta ) = us (t ) us (t a )
Fig. 3.41 Time shifted unit step response, Eq.3.56. Subtracting ta from
t shifts the time the function turns on to time ta. However, it is still
possible to evaluate the function for times before the input is applied,
violating cause and effect
v(ss)
v(t) 0
ta
time
Time shifting a response function is only slightly complicated by the fact that a time shifted response function has
a non-zero value if evaluated for time before the input that
created the response acted on the system. The result of such
a calculation is clearly nonsense, since it violates cause and
effect. However, it may not be immediately apparent from
the response plot alone that the result is nonsense, because
the plot will be a continuous exponential function. For example, the stable exponential growth, Eq.3.56, plotted in
Fig.3.41,
v1g (t ) =
b
( t ta )
F0
m
1 e
(3.56)
was shifted forward to time t=ta, but the function was plotted from time t = 0. The only way to spot the error would
be to know the correct initial value of the response function.
The step response function must be zeroed out for
(t ta ) 0, by multiplying it by a time shifted Heaviside
unit step function, Eq.3.57, Fig.3.42,
b
F
( t ta )
0
v1g (t ) = us (t ta ) 1 e m
(3.57)
149
us(t)
us(t)
us(t) - us(t-ta)
0
ta
time
-1
time
ta
-1
-us(t-ta)
Fig. 3.44a Force pulse,
F(t) = 10N us(t) + 10N us(t1)
20N us(t2).
b Force steps superposed to create
the pulse
-us(t-ta)
20
20
10 us(t)
10
10
F(t) 0
0
N
t, sec
-10
-5
t, sec
-20 us(t-2)
-20
10
F(t) 0
N
-10
-20
10 us(t-1)
F(t) 0
0
N
10 N u s(t)
10
5 N u s(t-3)
5
1
t, sec
F(t) 0
N
-5
-10
-10
-15
-15
t, sec
15 N us(t-1)
Pulse(t)
Period T
0.5T
1.5T
time
2T
2.5T
Fig. 3.46 Unit pulse train with 50% duty cycle. Duty cycle is the percentage of a period, T, during which the pulse has non-zero amplitude
150
F(t)
N
b
40
F(t)
N
20
0
t, sec
20
0
Mass
M
Lubricating
fluid film
Damping b
F0
ta
t, sec
time shifted step input is Eq.3.57. Both equations are repeated below,
F0 us(t)
F0
F(t), N
F(t), N
t, sec
x,v
F(t)
40
b
t
F
(3.54)
v1g (t ) = 0 1 e M
b
ta
t, sec
-F0
-F0 us(t-ta)
Fig. 3.49 Pulse input of force plotted in Fig.3.48b created by superposing two step inputs, Eq.3.59
b
F
( t ta )
0
v1g (t ) = us (t ta ) 1 e m
(3.57)
b
t
F
v(t ) = us (t ) 0 1 e m
b
b
(t ta )
F
+ us (t ta ) 0 1 e m
(3.60)
b
A Heaviside unit step function is used to zero-out the response function term, until its corresponding input is applied. Again, if the Heaviside unit step function is not used as
151
Response to positive
force step input
F0
b
F0
F(t), N
vb(t), m
sec
ta
time
-F0
-F0
Response to negative b
force step input
Fig. 3.50 Force step inputs (left axis) and the step responses (right
axis)
Superposition (sum) of
the two step responses
Response to positive
force step input
F0
b
v1g(t)
m
sec
ta
t, sec
Response to negative
force step input
-F0
b
v1g(t)
m
___
sec
0
ta
t, sec
Fig. 3.52 Pulse response. Growth during the pulse from t = 0 to t = ta,
followed by decay after time, t = ta
dFK
= Kv1g
dt
EK =
FK2
2K
152
Fig. 3.53 Block diagram
showing the pulse inputpulse
response, as an inputoutput
relationship
F(t)
v1g(t)
time
Pulse Input
Linear
System
time
Pulse Response
x,v
K
F(t)
F(t)
20
20
10 us(t)
10
10
F(t)
0
N
0
F(t)
N
3
t, sec
-10
-10
-20
-20
10N us(t-2)
0
3 t, sec
-20N us(t-1)
F (t ) =
b dFK
+ FK
K dt
(3.29)
b dF (t ) b dFb
(3.30)
=
+ Fb
K dt
K dt
We will solve these system equations for the force input in
the force pulse, shown in Fig.3.55a, which is created by
scaling and superposing Heaviside unit step functions, as
shown in Fig.3.55b.
The input function is
F (t ) = 10 N us (t ) 20 N us (t 1) + 10 N us (t 2)
(3.61)
from earlier inputs will be accounted for by response functions time shifted to those earlier times.
We begin by finding the unit step response of the force
acting through the spring, FK. We can establish the time constant and the steady-state value of the output variable from
the system equation in time constant form,
F (t ) =
b dFK
b
+ FK =
K dt
K
b dFK ( ss )
+ FK ( ss )
K
dt
0
1 N = FK ( ss )
153
10
This result tells us that the spring carries all of the applied
force in steady-state.
We now establish the initial value of the output variable,
at the instant after the step of 1N has been applied to the system. Again, we must assume that the system is de-energized
before the unit step is applied to the system. If a system is deenergized, then its energy storage (state) variables equal zero,
E sys ( 0 ) = 0 = E K ( 0 ) E K ( 0 ) =
( )F
FK2 0
2K
-10
( )
FK (t ) = 1N 1 e
u .s.
FK (t ) = 1N 1 e
u .s.
K
t
b
)10 u (t ) 1N (1 e ) 20 u (t 1)
)10 u (t 2)
+ 1N (1 e
FK (t ) = 1N 1 e
K
(t 1)
b
K
(t 2 )
b
b dF (t ) b dFb
b
=
+ Fb time constant =
K dt
K
dt
K
t, sec
=
0
b dFb ( ss )
+ Fb ( ss )
K
dt
0
Fb ( ss ) = 0
( )
( )
( )
( )
( )
( )
F 0+ Fb 0+ FK 0+ = 0 F 0+ FK 0+ = Fb 0+
( )
Fb 0+ = 1 N
Comparing Fb (0+ ) = 1 N with Fb ( ss ) = 0, we identify the
unit step response function as a decay to zero in the form, as
expressed in Eq.3.50 and Fig.3.33,
t
Fb (t ) = 1N e
We construct the pulse response function by weighting (scaling) the unit step response function with the same scaling
factors and time shifts used to construct the input function.
Both the exponents of the exponentials and the Heaviside
unit step function must be time shifted. Each term in the
response function is multiplied by the corresponding term
in the input function. The units must be removed from the
input function because they already appear in the unit step
response function,
K
t
b
-5
FK 0 = 0 = FK 0+
FK(t), N 0
(0 ) = 0
A state (energy storage) variable cannot change instantaneously without an infinite power flow to transfer a finite
amount of power during an infinitesimal time. Consequently,
the state variable, FK, has the same value at time, t = 0 , before the input step is applied as it does at time, t = 0+, at the
instant after the step is applied,
( )
u .s.
Fb (t ) = 1N e
K
t
b
u .s.
We construct the pulse response function by weighting (scaling) the unit step response function with the same scaling
factors and time shifts used to construct the input function,
Eq.3.61, F (t ) = 10 N us (t ) 20 N us (t 1) + 10 N us (t 2),
Fb (t ) = 1Ne
K
t
b
10us (t ) 1Ne
+ 1Ne
K
(t 2 )
b
K
(t 1)
b
10us (t 2)
20us (t 1)
(3.62)
154
10
Fb (t), N
-10
-20
0
t, sec
EK =
FM = M
FK2
2K
EM =
dv1g
d 2 FK
K
b dFK K
F (t ) =
FK
+
+
2
M
M dt
M
dt
dt
1
Mv12g
2
N
N sec
N
2,500
5, 000
2
d
F
dF
m F (t ) =
K
m
K
mF
+
+
K
200 kg
200 kg
200 kg
dt
dt 2
5, 000
d 2 FK
K
b dFK K
F (t ) =
FK
+
+
2
M
M dt
M
dt
(3.33)
d 2 FK 12.5 dFK
25
25
=
+
+
F
t
FK
(
)
2
2
sec dt
sec
dt
sec 2
2
1 dF (t ) d v1g b dv1g K
=
+
+ v1g
M dt
M dt
M
dt 2
(3.34)
Particular Solution We will determine the particular solution for a unit step input of force, F (t ) = 1N us (t ). The
particular solution is the steady-state solution, after the homogeneous response has decayed to zero. The steady-state
response for all power variables in a system is the functional
The methodology differs from the superposition of firstorder step responses only in the manner that the unit step
155
b
x,v
F(t)
F(t)
Lubricating fluid
Damping b
form of the input variable. If the input is a Heaviside step,
then in steady-state all power variables will be constants,
General Solution Sum the particular and homogeneous solutions to form the general solution:
d 2 FK ( ss )
25
12.5 dFK ( ss )
25
1N
u
ss
=
+
+
FK ( ss )
)
s(
2
sec
dt
sec 2
sec
dt 2
0
0
FK P ( ss ) = 1 N.
Homogeneous Solution Form the homogeneous equation
by setting the input to zero:
0=
d 2 FK 12.5 dFK
25
FK
+
+
2
sec dt
sec 2
dt
Perform the Laplace transformation (neglecting initial condition terms) to form the characteristic equation. We will
now drop the units of sec.
L {0} = L
d 2 FK
dFK
+ 25 FK
2 + 12.5
dt
dt
0 = s 2 FK ( s ) + 12.5sFK ( s ) + 25 FK ( s )
( )
FK 0+ = 0
In Sect.3.4.2, we established
( ) = Kv
dFK 0+
0 = s + 12.5s + 25 FK ( s )
2
0 = s 2 + 12.5s + 25
Solve the characteristic equation to determine eigenvalues
of the system:
s1 , s2 =
1g
dt
(0 )
+
The velocity of the mass, v1g, is the other state variable of the
system. Hence, v1g (0+ ) = 0 and
( ) = Kv
dFK 0+
dt
1g
(0 ) = 0
+
( )
FK 0+ = 0
0 = 1N + A1 e s1 0 1 + A 2 e s2 0
0 = 1N + A1 + A 2
156
dFK (t )
= 0, to the general
dt
d
1 N+A1e s1t + A 2 e s2t
dt
1.0
)
FK(t), N 0.5
dFK (t ) d1N
de s1t
de s2t
+ A1
+ A2
=
dt
dt 0
dt
dt
dFK (t )
= A1e s t
ds1t
ds t
+ A2 es t 2
dt
dt
= A1e s t s1
dt
dt
+ A 2 e s t s2
dt
dt 0
dt
dFK (t )
dt
dFK (t )
dt
Evaluate for t = 0+ :
dFK (t )
=0
dt
0 = A1 e s1 0 1 s1 + A 2 e s2 0 1 s2
0 = A1 s1 + A 2 s2
Form a system of two equations in the unknowns A1 and A2.
Solve the system for A1 and A2. We will use direct elimination:
0 = s1 A1 + s2 A2
s
s
A1 = 2 A2 1N = 2 A2 + A2
1N = A1 + A2
s1
s1
s
1N = 2 + 1 A2
s1
1N =
A1 =
s1 s2
A2
s1
s1
1N
s1 s2
s2
s s1
s2
A2 A1 = 2
1N A1 =
1N
s1
s1 s1 s2
s1 s2
s2
10
1N A1 =
1N A1 = 1.33 N
2.5 ( 10)
s1 s2
A2 =
( 2.5)
s1
1N A2 =
1N A2 = 0.333N
s1 s2
2.5 ( 10)
t, sec
(
+ (1N 1.33Ne
1N 1.33Ne
s
s
1N = 2 + 1 A2
s1 s1
A2 =
)
)10u (t 2)
2.5(t 1)
2.5(t 2)
10 (t 2)
+ 0.333Ne
We
will
d 2 FK
K
b dFK K
F (t ) =
FK
+
+
M
M dt
M
dt 2
157
10
Increasing the mass from 200kg to 400kg changed the eigenvalues from a real pair to complex conjugates. When we
express the quadratic equation in terms of the systems parameters,
FK(t), N 0
d 2 FK
K
b dFK K
+
+
F (t ) =
FK
2
M
M dt
M
dt
-5
-10
t, sec
Fig. 3.59 Response FK(t) due to the pulse input evaluated using
K = 5,000 N/m, b = 2,500 N sec/m and M = 200 kg
N
N sec
N
2,500
5, 000
2
d
F
dF
m F (t ) =
K
m
K
mF
+
+
K
400 kg
400 kg
400 kg
dt
dt 2
5, 000
L {0} = L
d 2 FK
dFK
+ 12.5 FK
2 + 6.25
dt
dt
0 = s FK ( s ) + 6.25sFK ( s ) + 12.5 FK ( s )
2
b
K
b
4
M
M
M
s1 , s2 =
2
we see that increasing mass M reduced both the ratio of the
damping coefficient b to mass M and ratio of the spring constant K to mass M.
The ratio between damping and mass is due to the physical
mechanisms of energy dissipation and kinetic energy storage.
Energy is dissipated as heat due to shear motion. Increasing
the mass of the system reduces the velocity v1g needed to store
an amount of energy, decreasing the rate of kinetic energy lost
as heat. For an oscillation to occur, the energy stored in one
independent energy storage mode must flow into to the other
mode and back again. The ratio of the spring constant K over
mass M governs the relative magnitudes of the energy storage (state) variables of the system and the systems ideal, undamped, natural frequency, n. Increasing the spring constant
K allows the systems energy to be transferred from kinetic
to elastic strain energy with less displacement of the mass,
decreasing the time needed to transfer kinetic to strain energy,
and, thereby, increasing the frequency of the oscillation.
We now form the homogeneous solution,
FK H (t ) = A1e s1t + A2 e s2t
The symbolic form of the homogeneous solution is the same
for all second-order systems. The solutions differ in the values of the eigenvalues and the undetermined coefficients.
General Solution Sum the particular and homogeneous
solutions for the general solution:
FK (t ) = FK P ( ss ) + FK H (t ) FK (t ) = 1N+A1e s1t + A2 e s2t
The general solution in symbolic form is also identical to
that of the overdamped case. We established the initial conditions in Sect.3.9.1 to be the following:
0 = s 2 + 6.25s + 12.5 FK ( s )
FK (t ) = 0 and
0 = s + 6.25s + 12.5
Solve the characteristic equation to determine the eigenvalues of the system:
s1 , s2 =
dFK (t )
=0
dt
s2
1N and
s1 s2
A2 =
s1
1N
s1 s2
158
s2
1N
s1 s2
A1 =
A1 =
A2 =
s1
1N
s1 s2
A2 =
( + jw )
1N
j 2w
FK (t ) = 1N + A1e + A2 e
s2 t
( + jw )
jw
1N e t + jwt +
1N e t jwt
j 2w
j 2w
jw
( + jw )
1Ne t e jwt +
1Ne t e jwt
j 2w
j 2w
t
Factor out 1Ne :
FK (t ) = 1N +
-2
.54
1= 2.66 rad
-1
2
-j
-j1.65
-j2
Fig. 3.60 Eigenvalues, s1 = 3.13 + j1.65 and s2 = 3.13 j1.65, plotted as vectors in the s-plane, s = + jw
Express the eigenvalues as complex exponentials by calculating their angle (arguments) and magnitude (modulus). Always sketch complex numbers to ensure that their angles are
calculated correctly, Fig.3.60,
s1 = 3.13 + j1.65 = 3.54 e j 2.66
and
s1 = 3.13 j1.65 = 3.54 e j 2.66
FK (t ) = 1N +
j2
j2
1.65
1.65
j2
j2
and
s2 = 3.13 j1.65
FK (t ) = 1N
+
-3.13
( + jw )
jw
1N e( + jw )t +
1N e( jw )t
j 2w
j 2w
FK (t ) = 1N +
-4
s-plane
j1.65
=3
s 2 = -3.13 - j1.65
( + jw )
1N
+ jw ( jw )
s1t
FK (t ) = 1N +
jw
1N
+ jw ( jw )
FK (t ) = 1N +
|s |
jw
1N
j 2w
A2 =
s1 = -3.13 + j1.65
e
e
1.65
j2
j2
j2
159
1.0
12.5
1N us ( ss ) =
sec 2
FK(t), N 0.5
d 2 FK P ( ss )
dt
t, sec
This is the unit step response, plotted in Fig.3.61. This underdamped response appears overdamped. The response
overshoots the steady-state value by a mere 0.1%. It does
not oscillate; yet the unit step response has a sine factor with
a frequency of 1.65rad/sec.
The lack of oscillation is due to the relative magnitudes of
the real and imaginary components of the eigenvalues. The
decay rate is the real component sigma, = 3.13. Sigma is
approximately twice the magnitude of the angular frequency,
w = 1.65 rad/sec. In the time necessary to complete an oscillation, the period as T,
2
2
T=
=
= 3.81sec
w 1.65 rad
sec
d 2 FK
K
b dFK K
F (t ) =
FK
+
+
2
M
M dt
M
dt
N
N sec
N
500
5, 000
2
d
F
dF
m F (t ) =
K
m
K
mF
+
+
K
400 kg
400 kg
400 kg
dt
dt 2
5, 000
6.25 dFK P ( ss )
12.5
+
FK ( ss )
sec
dt
sec 2 P
0
1
= 1.6 sec
0.625
= deacy
FK P ( ss ) = 1N
=T
2
= 1.8 sec
rad
3.48
sec
jw
1N
j 2w
and
A2 =
( + jw )
1N
j 2w
160
j
s 1 = -0.625+ j3.48
j4
s-plane
1.5
j3.48
j3
|s1| = 3.54
j2
-2
1.0
FK(t), N
0.5
0
1= 1.77 rad
1
-1 -0.625
( + jw )
jw
1N e( + jw )t +
1N e( jw )t
j 2w
j 2w
1N e
( jw ) e
jw t
( + jw ) e
jw t
and
s2 = 0.625 j 3.48
FK (t ) = 1N +
s1 = s2 = 0.625 + j 3.48 =
t, sec
10
Factor out the magnitude 3.54 and use the property of exponentials, e a + eb = e a + b:
FK (t ) = 1 N +
FK (t ) = 1N + 1.02 N e 0.625t
e j e j
j2
j 3.48t
( 0.625 + j 3.48) e j 3.48t
1N e 0.625t ( 0.625 j 3.48) e
3.48
j2
( 0.625)2 + 3.482
= 3.54
3.48
The angle (argument) is tan 1
= 1.75 rad,
0.625
s1 = 0.625 + j 3.48 = 3.54e j1.75
and
j2
161
20
F(t), N
10
FK(t), N
F2 = 250
0
F1 = 100
-10
-20
-30
t, sec
Fig. 3.65 Representation of a previously applied step input. The zigzags indicate discontinuities in the time axis
10
Fig. 3.64
Response of the spring force, FK(t), in the underdamped spring-mass-damper system with the eigenvalues,
s1, s2 = 0.625 j 3.48 , to the pulse input shown in Fig.3.55
time
FK (t ) = 1N + 1.02 N e 0.625t sin (3.48t 1.75) 10 us (t ) 1N + 1.02 N e 0.625(t 1) sin (3.48 (t 1) 1.75) 20 us (t 1)
function, F(t), can be constructed by superposing (summing) two step inputs but we must first estimate the minimum duration before time t = 0 the first input could have
been applied such that the system reached steady-state by
time t = 0.
The largest time constant in a system, max, or, equivalently, the smallest magnitude real eigenvalue component,
min, in the system determines the duration of the transient
period of a step response. Although mathematically, an
exponential decay never reaches zero, in reality, physical
systems reach steady-state once their current value is indistinguishable from the final value. When a system reaches
steady-state depends on the precision of the measurement,
as well as the noise and ripple in the response signal, which
are unknown before a measurement is made. When the duration of the transient period is estimated, it is calculated in
units of the largest time constant, max. Typically, the transient period of a response is estimated as five time constants, which leaves only 0.7% of the initial range of the
response remaining, Fig.3.66.
Since the mass-damper system is described as in steadystate at time t = 0 under the input force of 100N, we will
estimate minimum duration t prior to t = 0 that the first
step input was applied as t = 5 max , ta 5 max. Having set
a limit, or a constraint, on time ta we can now construct the
input function by superposing (summing) two steps. Recall
162
F(t), N
v(0)
____
v(0) =1
Step Input 1
13.5%
Step Input 2
36.8%
v(t)
_____
v(0)
5.0%
1.8%
0.7%
t = 0-
t = 0+
0
ta
t, sec
time
1.0
0.8
0.6
that the Heaviside unit step function transitions when its argument equals zero. Be careful with signs since ta is negative. The input force F(t) is the superposition of a 100N step
which transitions at time t = ta and a 150N step which transitions at time t = 0, Eq.3.63,
v1g(t)
0.4
m
___
sec 0.2
(3.63)
F (t ) = 100 N us (t ta ) + 150 N us (t )
-0.2
0
-1
-0.5
t, sec
0.5
F0 us (t ) M dv1g
(3.26)
=
+ v1g
b
b dt
with the same time shifting and scaling using in the input
function, Eq.3.64,
max = =
M
max =
b
v1g (t ) =
40 kg
max = 0.13sec
N sec
300
m
We shall set the time of the previous step input to seven times
the time constant prior to t=0,
ta = 7 max ta = ( 7 )( 0.13) sec = 0.91sec
( t + 0.91)
100 N
0.13
1
e
us (t + 0.91sec )
N sec
300
m
150 N
0.13
1
e
us (t )
N sec
300
m
v1g (t ) = 0.33
( t + 0.91)
m
0.13
1
e
us (t + 0.91sec )
sec
+ 0.5
F (t ) = 100N us (t + 0.91sec) + 150N us (t )
(3.64)
The input force F(t), Eq.3.64, is plotted in Fig.3.67.
We have already found the step response v1g(t), Eq.3.54,
repeated below,
b
t
F
v1g (t ) = 0 1 e M
(3.54)
b
m
0.13
1
e
us (t )
sec
(3.65)
163
1 dF (t ) d v1g b dv1g K
(3.34)
=
+
+ v1g
M dt
M dt
M
dt 2
This system equation allows us to clarify a confusing aspect
of Laplace transformations for the solution of differential
equations. The two initial conditions required to solve a second-order differential equation are the values of the output
variable and its first derivative. In Sect.3.4.2, we established
that if the spring-mass-damper system was de-energized
prior to the application of a step input of force, F (t ) = F0 us (t ),
the initial conditions were the following:
( )
v1g 0+ = 0
and
( )=
dv1g 0
dt
1 dF (t )
=L
M dt
1
L dF (t ) = L
M
dt
2
b dv1g
d v1g
K
2 +L
+ L v1g
M
dt
M dt
2
dv1g K
d v1g b
2 + L
+ L v1g
dt M
dt M
{ }
1
b
K
sF ( s ) = s 2V1g ( s ) +
sV1g ( s ) + V1g ( s )
M
M
M
K
b
1
s + V1g ( s )
sF ( s ) = s 2 +
M
M
M
1
s
M
=
K
b
F (s)
s+
s2 +
M
M
V1g ( s )
1
F0
M
Notice that the initial condition of the first derivative of velocity with respect to time is non-zero, though the system
was de-energized at time t = 0 . How is a non-zero initial
condition to be incorporated into a transfer function method
solution? Must we include the initial condition terms when
performing the Laplace transformation to create the transfer function? No. If the system is initially de-energized, the
initial condition terms are neglected when using transfer
functions. The Laplace transform pair incorporates the contribution of the non-zero initial condition. Again, the system
must be initially de-energized to neglect the initial conditions when using transfer functions. Conveniently, superposition presumes that the system is de-energized before the
first input is applied. We will assume that the previous step
input of 25N was applied at time ta = 6 .
The procedure is as follows:
1. Construct the input function from superposed time shifted
and scaled Heaviside step inputs.
2. Form the transfer function from the system equation.
3. Multiply the transfer function by the transform of a unit step,
to form the Laplace transform of the unit step response.
4. Identify the correct Laplace transform pair. Perform the
algebra needed to create an exact match with the transform pair to find the time-domain unit step response.
5. Construct the pulse response by time shifting and scaling
the unit step response with the same time shifts and scaling factors used to construct the input function.
Construct the input function. Superpose scaled and time
shifted Heaviside step functions. The amplitude of each step
input is the change in the input function at the time that step
function transitions,
F (t ) = 25 N us (t + 9.6) + 75 N us (t )
1
s
V1g ( s )
400 kg
=
N sec
N
F (s)
500
5, 000
m s+
m
s2 +
400 kg
400 kg
V1g ( s )
F (s)
0.0025s
s + 1.25s + 12.5
2
The denominator of the transfer function is the characteristic function of the system. Set the characteristic function
equal to zero to form the characteristic equation and solve
it for the systems eigenvalues. If the eigenvalues are real,
then the unit step response is overdamped or non-oscillatory. If the eigenvalues are complex conjugates, then the unit
step response is underdamped or oscillatory:
1.25 1.252 4 12.5
2
s1 , s2 = 0.625 j 3.48.
s 2 + 1.25s + 12.5 = 0 s1 , s2 =
max = =
1
= 1.6 sec ta = 9.6
0.625
164
Fig. 3.69a Force input, F(t).
b Step inputs of force scaled
in amplitude and shifted in time
which superpose to create
the force input, F(t)
100 N u s (t-10)
100
100
75 N us (t)
F(t), N
F(t), N
50
50
10
-6
15
t, sec
25 N us (t+6)
-50
10
15
t, sec
-50
-100
-150 N us (t-5)
-150
L {F
u .s.
V1g ( s ) =
1N
s
u .s.
1
0.0025s
= 2
F ( s ) s s + 1.25s + 12.5
u .s.
0.0025 s
s s 2 + 1.25s + 12.5
V1g ( s ) =
u .s.
0.0025
s 2 + 1.25s + 12.5
e w n t sin w n 1 2 t
w n2
F (s) = 2
s + 2w n s + w n2
wn
12.5
0.0025
2
12.5 s + 1.25s + 12.5
12.5
V1g ( s ) = 0.0002 2
s + 1.25s + 12.5
u .s.
V1g ( s )
V1g ( s ) =
f (t ) =
u .s.
12.5
0.0025
2
12.5 s + 1.25s + 12.5
2w n = 1.25
w n = 12.5 = 3.54
and
w n2 = 12.5
rad
1.25
1.25
and =
=
= 0.177
sec
2w n 2 3.54
V 1g ( s ) = L
u .s.
12.5
0.0002 2
1.25
12.5
s
s
+
+
12.5
v1g (t ) = 0.0002L 1 2
u .s
s + 1.25s + 12.5
3.54
e (0.177)(3.54)t sin 3.54 1 0.177 2 t
v1g (t ) = 0.0002
u .s.
1 0.177 2
165
0.6
0.4
v1g(t) 0.2
mm
___
0
sec
-0.2
v1g(t)
cm
___
sec
-3
-6
-0.4
0
t, sec
10
Fig. 3.70 Unit step response of the mass velocity, v1g(t), to a step input
of 1N
-9
-10
-5
10
t, sec
15
20
Fig. 3.71 Response of the mass velocity, v1g(t), in the spring-massdamper system to the force pulse input, F(t), as shown in Fig.3.69
accelerate the mass, FM, and (ii) the force acting through the
dashpot, Fb. The parameter values are b = 500 N sec / m and
M = 200 kg.
Energetic Equations
Continuity or Node Eq : F (t ) Fb FM = 0
Compatibility or Path Eq : v1g = v1g
FM = M
EM =
dt
1
Mv12g
2
F (t ) = Fb + FM
F (t ) = bv1g + FM
dv1g
=b
dv1g
dt
dF (t ) b
dFM
dF
=
FM + M
dt
dt
M
dt
166
Fig. 3.72a Translational
mechanical mass-damper system
driven by a force source.
b Linear graph of the massdamper system driven by a
force source
x,v
F(t)
F(t)
g
Check the consistency of the units of the system equation, in
terms of the power variables and time:
Fb = bv1g
F(t), N
F0+
[b] = v
t = 0-
and
FM = M
dv1g
dt
t = 0+
0
Ft
[ M ] = v
M dF (t ) M dFM
=
+ [ FM ]
b dt b dt
M F M F
b t = b t + [ F ]
v F t F v F t F
=
+ [F ]
F v t F v t
Previous
step input
F (t ) = Fb + M
t, sec
F0- = -400 N
Fig. 3.73 Input force, F(t). The previous step input was applied at an
unknown time, ta. The system is in steady-state at time t = 0
Check the consistency of the units in terms of the power variables and time:
F
Fb = bv1g [b ] =
v
[F ] = [F ] + [F ]
and
FM = M
600 N us(t)
F (t ) = Fb + FM
dv1g
dt
Use the element equation for the damper, Fb = bv1g , to eliminate v1g:
d Fb
M dFb
F (t ) = Fb + M
F (t ) = Fb +
dt b
b dt
This is the system equation. Express it in time constant form
by reordering the output variable terms in decreasing order
of differentiation:
M dFb
F (t ) =
+ Fb
(3.66)
b dt
dv1g
dt
Ft
[M ] =
v
M dFb
M F
F (t ) =
+ [ Fb ] F = b t + [ F ]
b dt
F t v F
+ [F ]
v F t
[F ] =
[F ] = [F ] + [F ]
167
E sys = E M and E M =
1
Mv12g v1g E storage variable
2
E M (0
) = E (0 )
M
1
1
Mv12g 0 = Mv12g 0+
2
2
( )
( )
( )
( )
v1g 0 = v1g 0+
( )
( )
FM 0 = M
( )
dv1g 0
dt
Steady-State
t = 0+
FM(0+)
~5
t = 0-
time
System in steady-state
under previous step input
Fig. 3.74 Response of the force, FM , acting to accelerate the mass
in the force source-mass-damper system to the input force, plotted in
Fig.3.73
( )
( )
( )
F 0 = Fb 0 + FM 0
( )
Transient
( )=0
FM 0
FM (t)
( )
FM 0 FM 0+
(3.67)
It is essential to recognize that a steady-state condition exists at time t = 0 , but not at t = 0+ , the instant after the new
F (0 ) = bv1g (0 )
F (0 )
= v1g (0 )
b
m
400 N
= 0.80
= v1g (0 )
N sec
sec
500
m
We can now establish the value of the force acting to accelerate the mass at time t = 0+ , FM (0+ ) . We know the value of
the input at time t = 0+ , F (0+ ) = 600 N. We know that the energy storage (state) variable cannot change from time t = 0
to time t = 0+ ,
m
v1g (0 ) = 0.80
= v1g (0+ )
sec
168
1,000
800
FM (t), N
600
400
200
0
v1g (0 ) = 0.80
0.5
1.0
1.5
t, sec
2.0
3.0
2.5
We use the values of the input and the state variable at time
t = 0+ in the energetic equations to determine FM (0+ ). Starting with the continuity equation,
( )
( )
( )
F (t ) Fb FM = 0 F 0+ = Fb 0+ + FM 0+
( )
( )
( )
( )
600 N 500
( )
( )
F 0+ bv1g 0+ = FM 0+
F 0+ Fb 0+ = FM 0+
N sec
m
+
0.80 = FM 0
m
sec
( )
dF0 us ( ss )
M dFM ( ss )
=
+ FM ( ss )
b
dt
dt
0
0
FM ( ss ) = 0
where
M
=
b
200 kg
= 0.40 sec
N sec
500
m
FM (t ) = FM (0+ )e .
The step response is FM(t), Eq.3.68 below, Fig.3.75,
( )
( )
Fb 0 Fb 0+
The velocity drop, in this case, across the damper and the velocity of the mass are equal, so a conceptual error of equating
Fb (0 ) and Fb (0+ ) would have had no consequence. However, this is not true in general since a damper force can change
instantaneously:
The next step is to find the steady-state value of the output variable, FM(ss), and the time constant using the system
equation in a time constant standard form:
(3.69)
Pdamper Pb = Fb v1g
( ) = 1, 000 N
FM 0
m
= v1g (0+ )
sec
FM (t ) = 1, 000 N e 0.40
(3.68)
169
800
600
400
( ) = bv (0 )
Fb 0
1g
Fb(t), N
N sec
m
Fb 0+ = 500
0.80
m
sec
( )
200
0
-200
-400
( )
Fb 0+ = 400N
-600
0.5
1.0
M dFb ( ss )
+ Fb ( ss )
b
dt 0
M
=
b
200 kg
= 0.40 sec
N sec
500
m
Comparing the initial and final values of the output variable we see Fb (0+ ) < Fb ( ss ). Hence, the step response is a
growth from a non-zero initial value over the range
Fb = Fb ( ss ) Fb ( 0+ )
Fb = 600 N ( 400 N )
Fb = 1, 000 N
The step response Fb(t) is plotted in Fig.3.76:
t
Fb (t ) = Fb 1 e + Fb 0+
( )
Fb (t ) = 1, 000 N 1 e
t
0.40
400 N
2.0
2.5
3.0
Fig. 3.76 Response of the force, Fb, acting through the damper in
the force source mass-damper system to the input force plotted in
Fig.3.73
FK = Fb
1.5
t, sec
dFK
= Kv12
dt
F2
EK = K
2K
bv (t ) =
b dFK
+ FK
K dt
b dv (t ) b dv12
=
+ v12
K dt
K dt
(3.31)
(3.32)
170
b
v(t)
x,v
v(t)
g
bv (t ) =
10
v(t)
cm
___
sec 5
0
b dFK
+ FK
K dt
bv0 us (t ) =
1
b dFK ( ss )
+ FK ( ss )
K
dt
0
bv0 = FK ( ss )
0
t, sec
10
15
Fig. 3.78 Step input of velocity acting on the velocity source-springdamper system of Fig.3.75. Note that input units are metric, not SI
b dFK
+ FK
K dt
b
K
N sec
m = 0.5 sec
N
5, 000
m
2,500
The steady-state value of the output variable is found by imposing the steady-state condition of a step response that all
power variables in the system reach constant values,
E sys ( 0 ) = 0 E sys ( 0 ) = E K ( 0 ) = 0
The amount of energy stored in the system, and in any energy storage element within the system, cannot change instantaneously, since it would require an infinite power flow
to create a finite change over the infinitesimal duration from
t = 0 to t = 0+ . Hence,
E K ( 0 ) = 0 = E K ( 0+ ) E K ( 0+ ) =
( )F
FK2 0+
2K
(0 ) = 0
+
FK (t ) = FK ( ss ) 1 e FK (t ) = bv0 1 e
N sec
m
0.1 1 e 2t
FK (t ) = 2,500
m
sec
FK (t ) = 250 N 1 e 2t
171
300
b
= 0.5 sec
K
b dv (t ) b dv12
=
+ v12
K dt
K dt
b dv0 us (t ) 1 b dv12 ( ss )
=
+ v12 ( ss )
dt
K
dt
K
=
0
b dv12 ( ss )
+ v12 ( ss )
K
dt
0
0 = v12 ( ss )
The initial value of the output variable is found from the energetic equations. The system is de-energized, prior to the
application of the step input in velocity. Consequently, the
state (energy storage) variable equals zero, at the instant after
the input is applied, FK (0+ ) = 0 . We always know the value
of the input. In this case, v(0+ ) = 0.1m/ sec. Begin with the
compatibility or path equation, as shown:
( )
( )
( )
v (t ) = v12 + v2 g v 0+ = v12 0+ + v2 g 0+
Eliminate the velocity difference across the damper by expressing, v2g in terms of the damper force, Fb,
( )
( )
v 0+ = v12 0+ +
( )
( )
Fb 0
( )
v 0+ = v12 0+
( )
( )
v 0+ = v12 0+ +
( )
FK 0
b
( )
m 2t
e
sec
t, sec
m
with v12 ( ss ) = 0, we see that the
sec
response is a decay to zero of the form of Eq.3.50,
t
v12(t)
100
0.02
FM = M
EM =
( )
v12(t)
m
__
0.04 sec
0.06
m
0.1
= v12 0+
sec
0.08
200
The time constant is the same as found in the previous analysis. We now use the steady-state condition of a step response
that all power variables in the system reach constant values
to determine the steady-state value of the output variable,
b dv0
K dt
FK(t)
N
0.1
FK(t)
dv1g
dt
1
Mv12g
2
M dF (t ) M dFM
=
+ FM
b dt
b dt
F (t ) =
M dFb
+ Fb
b dt
(3.26)
(3.59)
172
Fig. 3.80a Energetic schematic
of a mass-damping system acted
on by a force source. b The
system was in steady-state, prior
to step change of the input from
F (0 ) = 400 N to F (0+ ) = 600 N
F(t), N
F0+
x,v
F(t)
t = 0-
t = 0+
0
Previous
step input
M
b
1
Mv12g 0 = 0
2
( )
E M (0 ) = E M (0+ ) =
1
Mv12g (0+ ) = 0 v1g (0+ ) = 0
2
Use the values of the unit input and the state variable at time
t = 0+ in the energetic equations to establish the value of the
output variable at time t = 0+ , F M (0+ ):
u .s.
( )
M d
M dFM ( ss )
+ FM ( ss )
1 N us ( ss ) =
1
b dt
b
dt
E sys ( 0 ) = E M ( 0 ) = 0 E M ( 0 ) =
( )
( )
FM 0+ = F 0+ b v1g 0+
M dFM (t )
M d
1 N u s (t ) =
+ FM (t )
b
dt
b dt
F0 - = -400 N
( )
M dFM ( ss )
=
+ FM ( ss )
b
dt
0
t, sec
( )
( )
F Fb FM = 0 FM 0+ = F 0+ Fb 0+
200 kg
= 0.40 sec
=
N sec
500
m
M d 1N
b dt
600 N us(t)
FM ( ss ) = 0
( )
FM 0+ = 1N
u .s.
( )
FM (t ) = FM 0+ e
u .s.
( )
FM (t ) = FM 0+ e
u .s
b
t
M
FM (t ) = 1N e 2.5 t
u .s
Construct the input function, F(t), by superposing (summing) scaled and time shifted Heaviside step functions,
F (t ) = F1 (t ) + F2 (t ), Fig.3.81,
F (t ) = 400 Nus (t + ta ) + 1, 000 Nus (t )
where ta 5
(3.70)
173
F2(t) = 1,000 N us(t)
F(t), N
1,000
1,000
FM(t)
800
Step Input 2
600
t = 0-
ta
t = 0+
t, sec
-400
b
( t + ta )
M
FM (t ) = 400N us (t + 2) e
2.5(t + ta )
+ 1, 000 N us (t )e
b
t
M
M dFb
+ Fb
b dt
M
= 0.4 sec
b
Fb(t)
0
M dFb ( ss )
+ Fb ( ss )
b
dt
0
1N = Fb ( ss )
To determine the value of the output variable, Fb, at the instant after the unit step is applied to the system, we must
first determine the value of the state variable at that instant.
This is particularly easy, since we must assume that the system is de-energized to use superposition. If the system is
de-energized, then we know that the state (energy storage)
0.5
1.0
1.5
2.0
t, sec
2.5
3.0
variables equal zero. State variables cannot change instantaneously, since that would require infinite power. Therefore,
( )
( )
v1g 0 = 0 = v1g 0+
+ 1, 000N us (t ) e 2.5t
1N us (t ) =
0
-200
Step Input 1
F (t ) =
FM(t), N 400
Fb(t), N 200
We now use the values of the input and the state variable at
time t = 0+ to determine the initial value of the output variable,
Fb (0+ ). As it happens, we only need the value of the state variable, because the force acting through the damper is proportional to the velocity difference between nodes one and ground,
( )
( )
Fb 0+ = b v1g 0+
( )
Fb 0+ = 0
Identify the correct first-order step response from the initial and steady-state values of the output variable, Fb (0+ ) = 0
and Fb ( ss ) = 1 N . The unit step response is one of stable exponential growth,
t
Fb (t ) = F0 1 e
b
t
Fb (t ) = 1N 1 e M
u .s.
Fb (t ) = 1N 1 e 2.5 t
u .s.
( t + ta )
Fb (t ) = 1N 1 e M
400 us (t + ta )
b
t
+ 1N 1 e M 1, 000 us (t )
174
x,v
v(t)
m
___
v(t), sec
0.8
0.6
0.4
0.2
2
Frictionless rollers
Fig. 3.83 Energetic schematic of a velocity source-damper-massspring system
10
12
14
t, sec
-0.4
Fb (t ) = 1N 1 e
2.5 (t + ta )
) 400 u (t + 2)
x,v
+ 1N 1 e 2.5 t 1, 000 us (t )
g v(t)
b
M
Frictionless rollers
Fig. 3.85 Nodes of distinct values of the across variable velocity
shown on the energetic schematic of a velocity source-damper-massspring system
Fb = FM FK
175
v(t)
dv2 g
dFK
= Kv2 g
dt
dt
F2
1
E M = Mv22g E K = K
2
2K
1 dFb dv2 g
=
+
dt
b dt
dt
dv (t )
dt
dt
d 2 v (t )
dt 2
1 d
1
=
FM + FK ) +
FM
(
dt
b dt
M
1 dFK 1 dFM
1
FM
+
+
b dt
b dt
M
1 dFM
1
K
v1g +
+
FM
b
b dt
M
dt
2
dv (t )
1 dFM
K dv1g 1 d 2 FM
+
+
b dt
b dt 2
M dt
K
1 d 2 FM
1 dFM
FM +
+
2
bM
b dt
M dt
d 2 v (t )
dt
d 2 v (t )
dt
d 2 FM
b dFM K
FM
+
+
2
M dt
M
dt
F
F = bv [b ] =
v
F=M
dv
F t
[M ] =
dt
v
d 2 v (t ) d 2 FM
= 2
b
2
dt dt
b dFM K
+
+ M FM
M
dt
F v F F v F v F
= 2+
F
+
2
v t t v F t t F t t v
F F F F
t 2 = t 2 + t 2 + t 2
1 d 2 FM
1 dFM
K
+
+
FM
bM
b dt 2
M dt
=
Check the consistency of the units in terms of the power variables and time:
v F b F K
b t 2 = t 2 + M t + M F
(3.71)
F
dF
= Kv [ K ] =
dt
t v
1
Fb + v2 g
b
dv (t )
d 2 v (t )
v (t ) =
v (t ) =
1
1 dFK
Fb +
b
K dt
v (t ) =
1
1 dFK
FM + FK ) +
(
b
K dt
v (t ) =
1
1
1 dFK
FM + FK +
b
b
K dt
v (t ) =
v(t ) =
1 dFK
M dv2 g 1
+ FK +
b dt
b
K dt
1 dFK
M d 2 FK 1
+ FK +
2
bK dt
K dt
b
176
m
v(t), ___
sec
0.6
0.4
0.2
t, sec
-5max
v(t ) = 0.2
10 12 14 16
-0.4
m
m
m
us (t + 5 max ) + 0.4 us (t ) + 0.6 us (t 2)
sec
sec
sec
m
m
1.2 us (t 5) + 0.4 us (t 10)
sec
sec
-0.6
(3.73)
-0.8
-1.0
-1.2
Fig. 3.87 The input function, v(t), is constructed of five scaled and
time shifted heaviside step functions
M d 2 FK 1 dFK 1
+
+ FK
K dt
b
bK dt 2
d 2 FK
(3.72)
bK
b dFK K
v(t ) =
+
+
FK
M
M dt
M
dt 2
Check the units of the system equation for consistency:
F = bv
[b] = v
F=M
dF
= Kv
dt
dv
dt
2
d 2F
b dFM K
d v (t )
b
FM
= L 2M +
+
2
M
dt
M
dt
dt
bs 2V ( s ) = s 2 FM ( s ) +
Ft
v
[ M ] =
F b F K
v = 2 +
F
+
t M t M
F F v
F F v F F v
v = 2+
F
+
v t v F t t v F t t t v F t
Form the ratio of the output variable over the input variable:
Output ( s ) FM ( s )
bs 2
=
=
(3.74)
b
K
Input ( s )
V (s)
s2 +
s+
M
M
Calculate the eigenvalues to establish whether the system is
underdamped or overdamped. The denominator of the transfer function is the characteristic function. Set it equal to zero
to form the characteristic equation:
F F F F
t 2 = t 2 + t 2 + t 2
The units are consistent.
Construct the input function by scaling and time shifting Heaviside step function. The input, v(t), Fig.3.84, is the
superposition of five step functions, Fig.3.87. The system is
described as in steady-state at time t=0 in response to a step
input of 2.5 m/sec , applied previously. The time at which
this input was applied to the system is unknown, but the fact
the system has reached steady-state provides the minimum
b
K
sFM ( s ) +
FM ( s )
M
M
b
K
bs 2V ( s ) = s 2 +
s + FM ( s )
M
M
[K ] = t v
2
bK
d FK b dFK K
v
t
=
+
(
)
2
+ M FK
M
M
dt
dt
bK
M
s2 +
s2 +
s1 , s2 =
b
K
=0
s+
M
M
600
400
s+
= 0 s 2 + 3s + 2 = 0
200
200
(3)2 4 2
2
s1 = 1 and s2 = 2
177
600
The maximum time constant of the system equals the absolute value of the smallest real component of the eigenvalues of the system,
max =
min
max =
1
= 1sec
1
400
FM(t), N
u.s.
F s = 1
( ) s
0
-100
-1
L {v (t )} = L {u (t )}
V (s) =
FM ( s ) 1
=
V (s) s
FM ( s ) =
1
s
bs 2
b
K
s2 +
s+
M
M
bs 2
b
K
s s2 +
s+
M
M
bs
600 s
FM ( s ) = 2
FM ( s ) =
b
K
s
+
3s + 2
s2 +
s+
M
M
Perform the inverse Laplace transformation by using the
Laplace transform pair to return to the time-domain. Examine Table2.3 to seek a Laplace transform pair with the same
form. The only signals with second-order denominators in
polynomial form correspond to oscillatory time-domain responses. The overdamped second-order pairs are written in
factored form. The relevant Laplace transform pair for the
inverse transformation unit step response is below,
1
bt
at
f (t ) = b a be ae
s
F (s) =
s
a
+
( )( s + b)
K
b
s+
= s 2 + 3s + 2 ( s + a ) ( s + b ) = ( s + 1) ( s + 2)
M
M
Multiply the transfer function by the Laplace transformation of the input to yield the Laplace transformation of
the output:
V (s)
t, sec
Fig. 3.88 The unit step response of the force acting to accelerate the
mass, FM(t)
200
FM ( s ) =
u .s.
600 s
( s + 1)( s + 2)
FM ( s ) = L
u .s.
FM (t ) = 600L
u .s
600 s
+
1
+
2
s
s
)( )
(
( s + 1)( s + 2)
FM (t ) =
600N
be bt ae at
ba
FM (t ) =
600 N
2e 2t 1e 1t
2 1
u .s.
u .s.
178
300
bK
Output ( s ) FK ( s )
M
(3.77)
=
=
b
K
Input ( s )
V (s)
2
s + s+
M
M
200
100
FM(t), N 0
-100
FK ( s )
=
V (s)
-200
-300
-6
-3
t, sec
12
15
Fig. 3.89 The response of the force acting to accelerate the mass,
FM(t), Eq.3.76, to the pulse input, Eq.3.73, shown in Fig.3.84
(
1.2(1, 200Ne (
+ 0.4(1, 200Ne (
2 t 5
)
)
600Ne ( ) )u (t 5)
)
600Ne ( ) )u (t 10)
2 t 10
t 5
t 10
(3.76)
d 2 FK
b dFK K
bK
=
+
v
t
FK
(
)
L
2 +
M dt
M
M
dt
K
b
bK
V ( s ) = s 2 FK ( s )+ sFK ( s ) +
FK ( s )
M
M
M
bK
b
K
V ( s ) = s 2 + s + FK ( s )
M
M
M
The transfer function is the ratio of the output variable over
the input variable,
V ( s )=
1
s
FK ( s ) 1 1, 200
1, 200
=
FK ( s ) =
2
2
V ( s ) s s + 3s + 2
u .s.
s s + 3s + 2
FK
(s) =
1, 200
2
s s + 3s + 2
FK
u .s.
(s) =
1, 200
s ( s + 1)( s + 2)
1
1
at
bt
f (t ) = ab 1 + a b be ae
1
F (s) =
s ( s + a )( s + b )
FK ( s ) = L
u .s.
1, 200
s ( s + 1)( s + 2)
1
FK (t ) = 1, 200L
u .s.
s ( s + 1)( s + 2)
1
FK (t ) =
u .s.
2
bK
L {v(t )} = L d F2K + b L dFK + K L { FK }
M
dt M
dt M
L {v(t )} = L {u (t )}
Perform the inverse Laplace transformation using the Laplace transform pair.
Factor the denominator to match the form of overdamped
signals:
u .s.
600 400
F (s)
1, 200
200
K
= 2
600
400
V ( s ) s + 3s + 2
s2 +
s+
200
200
1, 200
1
1+
2e 1t 1e 2t
1 2 1 2
( (
FK (t ) = 600 1 2e t e 2t
u .s.
))
FK (t ) = 600 1 2e t + e 2t
(3.78)
u .s.
Note that the unit step response of the spring force, Fig.3.90,
does not overshoot its steady-state value.
179
600
600
FK (t), N
400
400
FK(t), N
u.s.
200
200
0
-200
t, sec
Fig. 3.90 The unit step response of the spring force, FK(t), Eq.3.78
m
m
m
us (t + 5 max ) + 0.4
us (t ) + 0.6
us (t 2)
sec
sec
sec
1.2
m
m
us (t 5) + 0.4
us (t 10)
sec
sec
( (
))
( (
+ 0.6 ( 600 (1 2e (
1.2 ( 600 (1 2e (
+ 0.4 ( 600 (1 2e (
))
+ 0.4 600 1 2e t + e 2t us (t )
))
)
+ e ( ) )) u ( t 5 )
)
+ e ( ) )) u (t 10)
t 2)
t 5
t 10
+ e 2(t 2) us (t 2)
2 t 5
2 t 10
(3.79)
b
K
=0
s+
M
M
400
2, 000
s+
=0
200
200
s 2 + 2 s + 10 = 0
-400
-6
-3
t, sec
12
15
18
Fig. 3.91 The response of the spring force, FK(t), Eq. 3.79, to the pulse
input, Eq.3.73, shown in Fig.3.82
s1 , s2 =
( 2)2 4 10
2
s1 , s2 = 1 j 3
L {v(t )} = L {u (t )}
s
Input ( s )
V (s)
FM ( s ) =
V ( s )=
1
s
Output ( s )
= Output ( s )
Input ( s )
FM ( s ) 1
bs 2
=
V (s)
s s2 + b s + K
M
M
bs
400 s
FM ( s ) = 2
b
K
s + 2 s + 10
s2 +
s+
M
M
e w n t sin w n 1 2 t
f (t ) =
2
1 2
wd
1
1
where
tan
tan
=
=
s
F (s) =
s 2 + 2w n s + w n2
180
FM(t), N
300
300
200
200
100
100
FM(t), N 0
-100
-100
-200
-200
0
t, sec
Fig. 3.92 The unit step response of the force acting to accelerate the
mass, FM(t)
F M ( s ) = L
.
.
u
s
F M (t ) = 400L
400 s
2
s + 2 s + 10
u .s.
w n = 10 = 3.16
=
wn
rad
sec
s1 10 = w n2
s 0 2 = 2w n
2 = 2w n
1
= 0.316
3.16
1 2
where = tan 1
1
e
w n t
=e
12
15
m
m
m
us (t + 5 max ) + 0.4 us (t ) + 0.6 us (t 2)
sec
sec
sec
m
m
1.2 us (t 5) + 0.4 us (t 10)
sec
sec
(
1.2( 422e (
+ 0.4( 422e (
+ 0.6 422e
(t 2 )
t 5)
t 10
)
sin (3 (t 5) 0.69 rad ))u (t 5)
)
sin (3 (t 10) 0.69 rad ))u (t 10)
sin (3 (t 2) 0.69 rad ) us (t 2)
s
(3.81)
400
1 ( 0.316)
(0.316)(3.16)t
Fig. 3.93 The pulse response of the force acting to accelerate the mass,
FM(t), Eq.3.81
1
e w n t sin w n 1 2 t
FM (t ) = 400
2
u .s.
1
400
t, sec
400 s
400 s
=
s 2 + 2 s + 10 s 2 + 2w n s + w n2
1 ( 0.316)2
1 2
1
= 0.69 rad
= tan
= tan
0.316
s 2 + 2 s + 10 = 2w n s + w n2
-3
s
s
2
10
+
+
-300
-6
=e
= 422
t
w n 1 2 t = 3.16 1 ( 0.316) t = 3t
2
181
600
500
FK (t), N
u.s.
400
300
200
100
FK ( s ) 1 4, 000
4, 000
=
FK ( s ) =
V ( s ) s s 2 +2s + 10
s ( s 2 +2s + 10)
FK ( s ) =
u .s.
FK ( s ) = 400
u .s.
10
s ( s +2 s + 10)
2
The damping ratio and the ideal, undamped natural frequency for this system and parameters, as calculated above, are
rad
sec
t, sec
12
15
200
FK(t), N 0
-200
-400
-6
10
4,000
4,000
10
FK ( s ) =
10 s ( s 2 +2 s + 10)
10 s ( s 2 +2 s + 10)
u .s.
400
Fig. 3.94 The unit step of the spring force, FK(t), Eq.3.82
1
e w n t sin w n 1 2 t +
f (t ) = 1
2
1 2
wd
1
1
where
tan
tan
=
=
w n2
F (s) =
s s 2 + 2w n s + w n2
-3
t, sec
Fig. 3.95 The response of the spring force, FK(t), to the input function,
v(t), Eq.3.66
The unit step response is scaled, time shifted, and superposed to create the pulse response, FK(t), Fig.3.95, for the
input function, v(t), Eq.3.73,
v (t ) = 0.2
m
m
m
us (t + 5 max ) + 0.4 us (t ) + 0.6 us (t 2)
sec
sec
sec
m
m
1.2 us (t 5) + 0.4 us (t 10)
sec
sec
1
2
e (0.316)(3.16)t sin 3.16 1 ( 0.316) t + 1.25 rad
FK (t ) = 400 1
2
u .s.
1 ( 0.316)
182
FK (t ) = 0.2 400 422 e (t + 5) sin (3 (t + 5) + 1.25 rad ) us (t + 5) + 0.4 400 422 e t sin (3 t + 1.25 rad ) us (t )
+ 0.6 400 422 e (t 2) sin (3 (t 2) + 1.25 rad ) us (t 2) 1.2 400 422 e (t 5) sin (3 (t 5) + 1.25 rad ) us (t 5)
Summary
Linear graphs are circuit-like representations of energetic
systems. Draw a linear graph by drawing and identifying
the velocity nodes. Then add the elements between the
nodes. The crucial step is to identify all nodes of the across
variable on the schematic of the system. The symbol for a
source is a circle with the source variable in it. The other
branches are lines with an arrowhead, indicating the positive direction of the through variable (in this case, force)
and the positive direction of the drop, or decrease in the
across variable, velocity. The lower half of the branch M is
a dashed line to indicate that no reaction force acts on the
mass from the ground.
Write all equations which can be stated for the energetic
model, represented by the linear graph before beginning any
algebra. Organize the equations for easy reference. The equations which describe an energetic system are categorized
as continuity (node), compatibility (loop or path), element
(constitutive), and energy. They will be used to derive the
differential system equation and then to establish the initial
conditions needed to solve the system equation.
The compatibility and continuity equations depend solely
on how elements are connected to form a network. All energetic systems have a variable which sums at a point or node.
In mechanical systems, the through variables, forces and
torques, sum at a node to yield equilibrium equations. We
write one node equation less than there are nodes in the system. It is best to omit the ground node from the node equations. Similarly, all energetic systems have a variable which
changes between nodes. In mechanical systems, the across
variable is velocity. The differences between the values at
nodes must be consistent and yield the same sum along two
different paths between node A and node B, or zero when
summed around a loop back to the starting node. We can
write no more, and often fewer, independent loop or path
equations than there are holes in the linear graph.
The element or constitutive equations are the model of a
single energetic attribute. The element equations, which relate the power variables of individual elements and energy
equations, which state the amount of energy stored in the
system, must be written with the nodes and assumed positive direction of the through variables defined on the linear
graph. We must use linear element equations to yield linear
differential equations. The energy equations are statements
Problems
183
Problems
Reminders
1. Write energetic equations with proper notation. The
problem statements do not explicitly state that the problems require (a) the energetic equations and (b) proper
notation, because those are part of the linear graph
method and implied by drawing a linear graph. The
energetic equations consist of compatibility, continuity,
element, and energy equations. Proper notation refers to
using (a) node subscripts to identify the positive direction of the drop in the across variable of an element, and
(b) the element parameter as the subscript, which identifies the through variable of an element.
2. Clear fractions and create common denominators as
you work the reduction. Improper fractions must be
cleared to present the result in standard form. It is generally easier to place a sum of ratios over a common denominator when it is created, rather than carrying improper ratios forward and clearing them at the end of the reduction.
One advantage of placing sums of ratios over a common
denominator is that the resulting ratio can be cleared from
a product by multiplying its fractional inverse.
3. Standard form. (a) Time constant form applies only to
the first-order system equations. The terms are ordered,
with the derivative first, followed by the zero-order
term. (b) Standard form for higher order differential
equations requires the coefficient of the highest-order
derivative of the output variable to be cleared. This is
the same standard form used for polynomials. (c) The
system equation cannot have improper ratios. Improper
ratios are not standard form, because they promote error.
4. Unit checks. Check units of the system equation before
solving it, by expressing element parameters in terms
of the systems power variables and time. Do not check
units in terms of fundamental units. Although fundamental units are straightforward in a system of single energy
type, they become very cumbersome in hybrid systems of more than one energy type, for example, electric
motors. For example, how would you combine mechanical units of torque with electrical units of voltage?
5. Convert units to SI for calculations. Convert result to
US customary units, if required. Remember that metric units may not be SI, for example, centimeter. The SI
unit of length is meter. Likewise, remove scaling prefixes and express values in the base unit, for example,
kN = 1, 000 N .
6. Causality. If the system is de-energized for time, t < 0,
then the response of the system for time t < 0 is zero.
184
Fig. P3.1 Input pulses
10
20
F(t), N
v(t)
m 0 0
___
sec
10
0
t, sec
t, sec
-5
-10
20
15
200
100
F(t)
N 0
-100
10
15
t, sec
10
F(t)
5
kN
0
-5
10
20
t, sec
30
-10
Problems
Fig. P3.2a System with a
translational force source, mass,
and damper system. b Schematic
annotated with nodes of distinct
values of velocity. c Linear graph
of the system. d Force input
pulse which acts on the system
185
x,v
F(t)
F(t)
x,v
20
F(t)
F(t), N
10
0
g
Fig. P3.3a System with a translational spring, damper system
acted on by a velocity source.
b Schematic annotated with
nodes of distinct velocity.
c Linear graph of system.
d Velocity input pulse which
acts on the system
x,v
v(t)
x,v
d
2
10
5
v(t)
v(t)
g
t, sec
v(t)
m 0 0
___
sec
t, sec
-5
g
Check the units of the system equation in terms of power
variables and time.
3.2.c The system is at rest at time, t<0. Determine the unit
step responses of the system equations derived in Part
b. Use superposition to determine the responses to the
input force pulse, F(t), plotted in Fig.P3.2d.
3.2.d Plot the responses, using Mathcad or MATLAB.
Problem 3.3 A translational mechanical system consisting of a velocity source, a spring with spring constant,
K = 4 N / m , and a dashpot (damper) with damping coefficient, b = 2 N sec / m , is shown in the schematics, as given
in Fig.P3.3a and b.
-10
186
Fig. P3.4a System with a
translational spring, damper
system acted on by a velocity
source. b Schematic annotated
with nodes of distinct velocity.
cLinear graph of system.
dVelocity input applied to
the system
x,v
v(t)
d
2
v(t)
g
x,v
cm
v(t), ___
sec
10 = v0-
v(t)
t, sec
-10 = v0+
Problem 3.4 A translational mechanical system consisting of a velocity source, a spring with spring constant,
K = 2 N/m, and a dashpot (damper) with damping coefficient, b = 4 N sec/m, is shown in the schematics, as given in
Fig.P3.3a and b. The velocity, 10 cm/sec, was applied at an
unknown time t < 0. The system reached steady-state by time
t = 0 . At time t = 0 , the velocity applied to the system is reversed, v(t)=10cm/sec, for t>0, as shown in Fig.P3.3d.
3.4.a Use the information, as presented in the schematics
and linear graph shown in Fig.P3.4, to derive a complete set of energetic equations for the system.
3.4.b Derive the system equation that relates the applied
velocity input to
i The force in the spring.
ii The velocity drop across the spring.
Check the units of the system equations, in terms of power
variables and time.
3.4.c Use the initial condition method to determine the
response of the systems power variables from Part b to
the velocity applied at time t = 0, shown in Fig.P3.4d.
3.4.d Plot the responses using Mathcad or MATLAB.
Problem 3.5 A translational mechanical system which consists of a velocity source, a mass, and a damper is shown in
Fig.P3.5. Its mass is M = 5 kg, supported on ideal, frictionless
rollers. The damping constant is b = 7 N sec / m. The system
was at rest before the input shown in Fig.P3.5d was applied.
3.5.a Derive the system equation that relates the applied
velocity input to
i The force acting to accelerate the mass.
ii The velocity of the mass.
iii The velocity drop across the damper.
Check the units of the system equations in terms of power
variables and time.
Problems
Fig. P3.5a System with a
velocity source, damper, and
mass. b Schematic annotated
with nodes of distinct values of
velocity. c Linear graph of the
system. d Velocity input applied
to the system
187
v(t)
g v(t)
M
g
v(t)
10
v(t)
0
0
m
___
sec
t, sec
-10
g
Fig. P3.6a Translational
mechanical system. b Schematic
annotated with nodes of distinct
values of velocity. c Linear
graph of the system. d Force
input applied to the system
x,v
x,v
K
F(t)
K
F(t)
F(t), N
F(0+)
F(t)
= 60 N
K
0
t, sec
F(0 -) = -40 N
g
3.7.a Derive the system equation that relates the applied
velocity input to
i The force acting to accelerate the mass.
ii The velocity of the mass.
iii The force acting through the spring.
Check the units of the system equations in terms of power
variables and time.
3.7.b The input force, F(t), plotted in Fig.P3.7d is applied
to the damper at time t = 0 . Determine the unit step
188
Fig. P3.7a System with a
force source, mass, spring, and
damper. b Schematic annotated
with nodes of distinct values of
velocity. c Linear graph of the
system. d Force input applied to
the system
x,v
b
F(t)
x,v
F(t)
K
Frictionless rollers
Frictionless rollers
F(t)
F(t)
kN 2
0
x,v
b
F(t)
10
t, sec
x,v
F(t)
K
Frictionless rollers
Frictionless rollers
15
-2
g
Fig. P3.8a System with a
force source, mass, spring, and
damper. b Schematic annotated
with nodes of distinct values of
velocity. c Linear graph of the
system. d Force input applied to
the system. The system was in
steady-state under a previous step
input at time, t = 0, when pulse
input, F(t), was applied
F(t)
F(t)
kN 2
0
0
-2
10
15
t, sec
Problems
Fig. P3.9a System with a velocity source, damper, mass, and
spring. b Schematic annotated
with nodes of distinct values of
velocity. c Linear graph of the
system. d Velocity input applied
to the system. The system was
in steady-state under a previous
step input at time, t = 0, when the
pulse input, v(t), was applied
189
x,v
v(t)
x,v
g v(t)
100
50
v(t)
cm 0 0
___
sec
v(t)
10
15
t, sec
-50
g
Fig. P3.10 a System with
a velocity source, damper,
mass, and spring. b Schematic
annotated with nodes of distinct
values of velocity. c Linear
graph of the system. dVelocity
input applied to the system. The
system was in steady-state under
a previous step input at time,
t = 0, when pulse input, v(t),
was applied
-100
x,v
v(t)
x,v
g v(t)
100
v(t)
cm 0 0
___
sec
-50
Problem 3.9 A translational mechanical system which consists of a velocity source, a damper, a mass, and a spring is
shown in Fig.P3.9. The system was in steady-state under
a previous step input, before the velocity pulse shown in
Fig. P3.9d was applied. The parameter values are CaseI:
b = 600 N sec/m , M = 150 kg, and K = 500 N/m and
CaseII: b = 600 N sec/m, M = 150 kg, and K = 5, 000 N/m.
3.9.a Derive the system equation that relates the applied
velocity input to
i The force acting to accelerate the mass.
ii The velocity of the mass.
iii The force acting through the spring.
Check the units of the system equations in terms of power
variables and time.
50
v(t)
Frictionless rollers
Frictionless rollers
Frictionless rollers
Frictionless rollers
10
15
t, sec
-100
190
Chapter 3 Appendix
Mathcad: Plotting Superposed Functions
Superposed, scaled, and time shifted step responses can be
plotted in Mathcad, either by cutting, pasting, and editing the
response function or by defining a function of two variables:
time, t, and time shift, ts. We will use the input, F(t), and
response function, Fb(t), of Sect.3.8.1 as examples,
(3.61)
F (t ) = 10 N us (t ) 20 N us (t 1) + 10 N us (t 2)
Fb (t ) = 1 N e
K
t
b
10 us (t ) 1 N e
+1N e
K
(t 2 )
b
K
(t 1)
b
20 us (t 1)
10 us (t 2)
(3.62)
+ 1 N e 2(t 2)10 us (t 2)
Editing, cutting, and pasting a function in Mathcad require
attention to the location and extent of the L-shaped insertion
cursor. The input function assignment statement is the sum
of three Heaviside step function, and Mathcads notation for
the Heaviside step is ()
F ( t ) := 10 ( t ) 20 ( t 1) + 10 ( t 2)
Fb ( t ) := e 2t 10 ( t ) e 2 (t 1) 20 ( t 1)
+ e 2 (t 2) 10 ( t 2)
The subscript b of Fb ( t ) is a literal subscript, created by typing a period after F, as appears here, Fb(t).
Fb (t ) = 1 N e 2t 10 us (t ) 1 N e 2(t 1) 20 us (t 1)
191
<
Less than
>
Greater than
<=
>=
==
Equal
~=
Not equal
Note the use of a double equal sign for the relational operator, Equal. MATLAB uses a single equal sign as its assignment operator. Also note the symbol for Not Equal, ~=. Most
programming languages use an exclamation point as the
Not or logical inversion operator. However, MATLABs
symbol, ~=, reads as approximately equal, which is why
MATLAB chose it to represent Not Equal. The relational
operator Equal fails unless the two variables or expressions
compared are not exactly equal. For this reason, the Equal
operator should not be used with floating point (scientific
notation) variables or expressions. Floating point variables
carry so many figures it is unlikely that two variables will be
exactly equal after any significant amount of computation.
The Equal operator should only be used with MATLABs
logical (Boolean) variables or with integer variables or expressions. MATLABs logical variables can have one of two
values: true or false and equivalently 1 or 0. MATLAB is
case-sensitive; true and false are all lowercase.
Time shift
The MATLAB equivalent of a Heaviside step function is the
following if statement, where t is the time vector, ts is the
time shift in seconds, and Us is the variable, which plays the
role of the unit step. Us is initialized with the value of zero
before its use.
Us = 0
if (t(n) - ts >= 0);
Us = 1;
end;
This logic is illustrated in the following code, which plots a
stable exponential growth with a time shift of 3 sec.
% TshiftPlot.m
% Time shifted step response plotting script
% Initialize unit step variable Us to zero
Us = 0
% Time Constant
tau = 0.5
Amplitude
0.8
0.6
0.4
0.2
0
0
time, seconds
Fig. A3.1 Time shifted response function plot created with TshiftPlot.m
and then formatted
192
Start
r=0
r=r+1
c=0
Enter Inner Loop
c=c+1
Array(r,c) = 1
No
n = n+ 1
t(n) = (n-1)*dt
y(n) = 0
m=0
c == 4 ?
Yes
Exit Inner Loop
No
m=m+1
No
r == 3 ?
Yes
Exit Outer Loop
Us(m) = 1
We will use a similar structure of two nested loops to perform superposition of scaled and time shifted response functions, to plot the response function for a pulse input. We will
demonstrate the procedure using the response of the damper
force, Fb(t), of the force source spring-damper system of
Fig.3.54 to the input function, Eq.3.59. The response function, Fb(t), Eq.3.62, evaluated using K = 5, 000 N/m and
b = 2,500 N sec/m is the following:
No
m == nsteps ?
Yes
No
n == N ?
Yes
plot(t,y)
Fb (t ) = 1 N e
K
t
b
10 us (t ) 1 N e
+1N e
K
(t 2 )
b
K
(t 1)
b
10 us (t 2)
20 us (t 1)
(3.62)
193
10
Fb(t), N
5
0
5
10
15
20
0.5
1.5
t, sec
2.5
3.5
duration of the calculation, tmax, depends on both the maximum time constant of the system and the duration of the
input function.
The outer loop increments through the time step of the
calculation, as in the case of a single step response. It begins
by calculating the current value of the time variable, t(n),
and initializing the current value of the output variable, y(n),
to zero. Control then passes to the inner loop, which increments through the number of step inputs in the pulse input
function. The inner loops if statement checks the time shift,
ts(m), against the time variable, t(n). If the unit step should
transition from zero to one, the unit step variable, Us(m), is
assigned the value of one. If the test fails, Us(m) retains its
initialization value of zero. The product of the input scaling
factor, In(m), the unit step variable, Us(m), and the unit step
response function evaluated for t(n) with the time shift ts(m)
is summed to the output variable, y(n).
The MATLAB script, SuperposedResponse.mfollows.
% SuperposedResponse.m
% Superposition Plotting Script
%
% Maximim Time Constant
tau_max = 0.5
% Minimum Characteristic Time
tchar = 0.5
% Number of steps
nsteps = 3
% Input time shift ts(m). Positive value for shift into t>0.
ts(1) = 0
ts(2) = 1
ts(3) = 2
% Input scaling factors
In(1) = 10
In(2) = -20
In(3) = 10
% Initialize unit step vector Us(m)to zero
for m=1:nsteps
Us(m)=0
end
% Duration of calculation equals time shift +
% seven time constants
tmax = ts(3) + 7 * tau
% Time step
dt = tchar/200
% Number of iterations of the for outer loop
N = tmax/dt
% Beginning of the outer for loop
for n=1:N
t(n)=(n-1)*dt;
y(n)=0;
% Beginning of the inner for loop
for m=1:nsteps
% if statement to transition unit step variable Us(m)
if (t(n) - ts(m) >= 0);
Us(m) = 1;
y(n) = y(n) + Us(m) * In(m) * ( exp(-(t(n)-ts(m))/0.5 ));
end;
% End of if statement
end;
% End of inner for loop
end
% End of outer for loop
plot(t,y)
Mechanical Systems
Abstract
A mechanical system is a system in which the dominant forms of energy storage, transfer,
and dissipation are described by Newtons laws. Fluid systems are described by Newtons
laws, but use different variables due to fluid mass. They will be addressed in Chap. 5.
Mechanical energy is stored as kinetic energy and as strain energy. Gravitational potential
energy is presented as a force source. Mechanical energy is dissipated due to shear of a
fluid, a material in its plastic state, or between two solid surfaces. In order to work with
scalar equations, motion is restricted to single axes. Translational and rotational motions are
separate energy storage modes. The parameter values of the mechanical elements can be
calculated from the geometry and material properties of mechanical components in many
instances. Otherwise, the parameters are experimentally determined by dynamic tests. The
mechanical properties of viscoelastic materials, which include natural and synthetic polymers and biological tissues, are described by the dynamic response.
dW
= P = F v
dt
(1.17)
The elemental and energy equations for translational mechanical systems written in terms of the power variables
force and translational velocity are summarized in Table4.1.
K. A. Seeler, System Dynamics, DOI 10.1007/978-1-4614-9152-1_4, Springer Science+Business Media New York 2014
195
4 Mechanical Systems
196
Table 4.1 Translational mechanical elements
Elemental equation
Energy equation
dv1g
Mass
Fm = m
Spring
dFK
= Kv12
dt
Damper
Fb = bv12
dt
Em =
1 2
mv1g
2
EK =
FK2
2K
None.
Energy dissipater
197
dp
dt
F=
dmv
dt
dv
dt
Restricting motion of a single dimension (or direction) allows this vector equation to be written in scalar form
F=m
dv
dt
As you know from your study of physics, as part of his theory of relativity, Einstein revised Newtons second law to
correct for the velocity dependence of mass
m=
m0
1
v2
c2
m=
1
km
11
sec
km
300, 000
sec
m0
1 1.34 10 9
m = m0
4 Mechanical Systems
198
F = Ma M =
F
a
and
weight = Mg
where g, the gravitational constant, is the acceleration of
gravity at sea level
g = 32.2
ft
m
= 9.81
2
sec
sec 2
weight
g
lb
slug
=
[ ] ft
sec 2
lb sec 2
ft
[slug ] =
199
where
deformation
force
[compliance] =
(4.1)
Compliance is often given the symbol C. This is unfortunate
because C is also used in place of b as the symbol for proportional or linear damping in vibration analysis.
Translational spring constants can be calculated if the geometry of the machine elements and the moduli of the materials are known or if a reasonable estimate is available. Most
materials do not have a true Youngs modulus, since their
stressstrain relationships are non-linear. Steel is an important
exception, since there is a linear region of the stressstrain
curve below the yield stress. In contrast, the slope of the initial
portion of an aluminum alloys stressstrain curve is used in
the 0.2% offset construction to establish a yield stress.
Although the moduli of metals may be only linear
approximations, the stressstrain behavior of metals below
yield is considered a bulk property and insensitive to microscopic material flaws and common manufacturing operations. Hence, one can place greater confidence in published
values of moduli of metals than in, say, values of ultimate
strength.
Elastic Deformation
F(t)
F(t)
Cross-sectional area A
Youngs modulus E
Shear Modulus
Force
Force
or
= Spring Constant K
Displacement
Deflection
(4.2)
L=
Faxial L
AE
Force
yields the spring constant K
Displacement
F
Force
AE
= axial =
K
Displacement
L
L
(4.3)
4 Mechanical Systems
200
Fig. 4.2a Linear bending stress
distribution b Infinitesimal force
and moment
-z
Neutral
Axis
+z
x
dy
dFz = z dA
dM x = ydFz = yz dA
axial stress distribution. The area moment of inertia combines dependence on distance from the neutral axis of both
the linear axial stress distribution and the resisting moment
created by that stress acting on an elemental area of the
cross-section.
The deflection equations can be derived from the relationships for linear bending stress
z = z max
ymax
(4.4)
(4.6)
dM x = ydFz
z max
y
dM x = y z max
dA
=
ymax
ymax
2
y dA
(4.7)
I = y 2 dA
(4.8)
The assumption of a linear stress distribution allows the moment to be related to the radius of curvature in terms of the
Youngs Modulus, E, and the area moment of inertia of the
cross-section, I
1
rcurvature
M ( x)
EI
(4.9)
FR
201
L
y
MR
FR
d2y
dx
dy
MR
x
FR
Mz Mz
Fy
L-x
Fy
Deflection of a beam is calculated by approximating the curvature of the beam for small deflections as
rcurvature
d2y
dx 2
y ( 0) =
(4.11)
dy
=0
dx
03
F L02
+ C1 0 0 + C2 = 0
EI 2 0 3 0
dy ( 0)
dx
Integrating Eq.4.11 twice with respect to x yields the displacement y(x) of the beam. Evaluation of the integral requires knowledge of the variation of the bending moment
along the beam M ( x), which is found from statics; hence,
the requirement of statically determinant beams. The two
constants of integration require knowledge of the slope and
displacement somewhere on the beam.
Two of the most commonly used models of translational springs are a cantilevered beam and a simply supported
beam.
M cantilevered ( x ) = F ( L x )
F Lx 2 x 3
+ C1 x + C2
3
EI 2
y ( 0) = 0 and
(4.10)
x2
+ C1 dx
2
The end conditions of a cantilevered beam are that the displacement and slope of the beam are zero at the support
( L x ) dx
x2
Lx
+ C1
y=
Fig. 4.4 Free body diagram of beam cut at distance x from the support
F
EI
dx dx = E I Lx
y
y
dx =
dy
F
=
dx
EI
FR
F
02
0
L
+ C1 = 0
0
2 0
EI
C2 = 0
C1 = 0
y ( x) =
F Lx 2 x 3
6
E I 2
(4.12)
F L3 L3
F 6 L3 2 L3
F L3
=
=
12
3E I
EI 2 6
EI
F
Force
3E I
=
= 3 K Cantilevered Beam
3
Displacement
FL
L
Loaded at End
3E I
(4.13)
4 Mechanical Systems
202
Fig. 4.5 Model of a simply
supported beam with a single
concentrated load F
F
a
+M
+M
FR
FR
FRA =
F b
F a
and FRB =
L
L
supported
( x ) = FR
x for 0 x a
and
M simply
supported
( x ) = FR ( L x )
B
for a x L
y
x
FR
yB
F RA =
L
2 =F
L
2
and
F RB =
L
2 =F
L
2
L
are derived
2
by integrating the relationship between moment and bending
twice with respect to x
The slope and deflection equations for 0 x
FR
d2y
dx 2 dx = E IA
xdx
for 0 x
L
2
FR x2
dy
= A + C1
dx
EI 2
for 0 x
L
2
F RA
dy
dx dx = E I
yA ( x) =
x2
L
+ C1 dx for 0 x
2
2
F RA x 3
+ C1 x + C2
E I 6
for 0 x
L
2
L 2
+ C1
2
L
2
+ C1 = 0
2
C1 =
L2
8
L
2
203
y A ( 0) = 0 =
y A ( 0) = 0 =
F R A 03
L2
0 + C2
E I 6 0 8
C2 = 0
FR x 3 L2
y A ( x) = A
EI 6 8
for
0 x
F x 3 L2
2 E I 6 8
0 x
for
L
2
yMid span =
2 2E I 6
8
Loading
L
2
F L3 L3
F L3 3 L3
FL3
L
yMid span =
=
2 2 E I 48 16 E I 84 84
48 E I
Loading
Signs are always a problem in mechanics. Negative sign of
the displacement equation is correct relative to the positive
y-direction. The applied force is also in the negative direction, yielding a positive spring constant. Energetic parameters must be positive!
Force
F
48 E I
=
=
K Simply supported
Displacement
L3
F L3
Beam Loaded at
Mid Span
E I 48
(4.14)
The general case of simply supported beam loaded at a
location, x = a, where a L /2 is more involved to derive,
because we cannot assume that the slope of the beam is zero
at the location the load is applied. We begin as we did previously and derive the same slope and deflection equations for
0 x a, where x is measured from support A
FR x2
dy
= A + C1
dx
EI 2
F R x3
y A ( x ) = A + C1 x + C2
EI 6
0 xa
for
for
0 xa
C2 = 0
Hence
yA ( x) =
L
2
F R A 03
+ C1 0 0 + C2
EI 6 0
F RA x 3
+ C1 x
EI 6
0 xa
for
dx =
F RB
EI
dy F RB 2
=
+ C3
d E I 2
FR
dy
d d = E IB
yB ( ) =
2
2
+ C3 d
FR 3
+ C3 + C4
E I 6
0 b
for
0 b
for
for
0 b
for
0 b
F RB 03
+ C3 0 0 + C4
EI 6 0
F RB 3
+ C3
EI 6
for
C4 = 0
0 b
F RA a 2
F RB b 2
C
=
+ C3
+
1
EI 2
EI 2
F b a2
F a b2
+ C1 =
+ C3
EI L 2
E I L 2
a2
b2
b + C1 = a + C3
2
4 Mechanical Systems
204
yA (a) =
F RA a 3
F RB b3
+
=
+ C3b
C
a
1
EI 6
EI 6
F b a3
F a b3
C
a
+
=
+ C3b
1
EI L 6
EI L 6
yA (a) =
a 2 b ab 2
+
= bC1 aC3
2
2
ba 3 ab3
= abC1 + abC3
6
6
+ b
+
= abC1 + abC3 + b ( bC1 aC3 )
6
6
2
2
a 2 b ab 2
+
= bC1 aC3
2
2
ba 3 ab3 a 2 b 2 ab3
+
+
= abC1 b 2 C1
6
6
2
2
2
2
F a 2b2 F a ( L a )
=
3L
E I 3L E I
yA (a) =
2 2
F ( L b) b
3L
EI
Force
=
Displacement
F
3L E I
= 2 2 K Simply Supported
2 2
ab
Beam Loaded at x = a
F ab
E I 3L
(4.15)
and
a 2 b ab 2
+
= bC1 aC3
2
2
ba 3 ab3 a 2 b 2 1
6 + 3 + 2 ab + b 2 = C1
for 0 x a
yA (a) =
L L
F
2 2
Fa 2 b 2
F L3
yA (a) =
=
=
3E I L
3E I L
48E I
F RA x 3 ba 3 ab3 a 2 b 2 1
+
+
+
3
2 ab + b 2
E I 6 6
Fa 2 b 2
3E I L
a3
b3
b + C1a = a + C3b
6
6
yA ( x) =
2 2
F a 2 b3 + a 3b 2
F a b (b + a )
=
E I L 3 ( a + b ) E I L 3 ( a + b )
( Fb ) a 3 ba 3 ab3 a 2 b 2 1
+
+
+
a
3
2 ab + b 2
E I L 6 6
Force
=
Displacement
F
2
2
F a ( L a)
EI
3L
Force
3L E I
= 2
K Simply Supported
Displacement a ( L a )2
Beam Loaded at x = a
(4.16)
205
6
5
Nominal
Stress
MPa
x,v
F(t)
Uniaxial
4
3
2
Biaxial
F(t)
Stretch
Fig. 4.6 Stress vs. stretch data for rubber under uniaxial and biaxial
load. Note the unit of stretch rather than strain due to the large deformations. (The data are from Trealor and reproduced from Boyce and
Arruda 2000)
x1g
1
0
b
c
Fig. 4.7 Linear variation in deformation with position along a translational spring with constant stiffness per unit length. a Relaxed spring.
b Compressed spring
x,v
F(t)
v1g
K
b
vag vbg
vcg
Fig. 4.8 Linear variation in velocity with position along spring K during deformation
John William Strutt (18421919), made significant contributions, and common methods bear his name.
An assumption of vibration theory is that the maximum
strain energy stored in an element equals the maximum kinetic energy. In other words, there is no energy dissipation in
the system. The notation used in physics and vibrations is U
for potential energy and T for kinetic energy. The deformed
shape of the object must be established. Three approaches
are used. The deformed shape of the object can be calculated
as given in Sects.4.2.2.3 and 4.2.2.4 using beam theory. Alternatively, for objects with constant cross-section and properties, such as beams, a sinusoidal shape which satisfies the
end conditions is assumed.
v( x) = 1
x
v1g
L
(4.17)
4 Mechanical Systems
206
Cross-sectional area A
Area-moment of inertia I
Youngs modulus E
Density
y,v
x
dm
F
1
E kinetic
1
= M effective v12g
2
(4.18)
dm =
M spring
L
(4.19)
dx
E kinetic
y ( x) =
Loaded at End
E kinetic =
d 2 y ( x)
dx
1 M spring 2 L
v1g
2 L3
3
E kinetic =
effective
d 3 y ( x)
dx 3
M spring
3
dy ( 0)
=0
dx
M ( x)
d 2 y ( L)
=0
EI
dx 2
1 M spring 2
v1g
2 3
M spring =
(4.13)
The boundary conditions for the free end are the absence of
shear and bending moment. Recall that moment is related to
curvature, which for small deflections can be written as
1 M spring 2 2
x3
v1g L x Lx 2 +
3
2 L
3
3E I
L3
(4.12)
1 M spring 2
2
v1g ( L x ) dx
3
2 L
0
F0 Lx 2 x 3
6
E I 2
K Cantilevered Beam =
1 M spring 2 2
=
v1g L 2 Lx + x 2 dx
2 L3
0
E kinetic =
1 M spring L x
=
v1g dx
2 L 0 L
E kinetic =
E kinetic
1 M spring
x
1 v1g dx
2 0 L L
E kinetic =
(4.20)
V ( x)
d 3 y ( x)
=0
EI
dx 3
207
0.0
-0.2
y(x)
___
y(L)
The contribution of the mass element dm to the kinetic energy of the beam is:
Mode 1 shape,
Eq. 4.21
-0.4
-0.6
0.0
0.2
0.4
0.6
x
_
L
0.8
1.0
x
(4.21)
y1 ( x ) = ymax 1 cos
2L
where ymax=y(L).
The deflected shape calculated from beam theory, used to
determine the elastic strain energy of the beam, and the deflected shape assumed by vibration theory to calculate the kinetic energy of the beam differ slightly as per Fig.4.10. The
deflection in the middle of the cantilever is slightly greater
under the end load than in first mode shape. If we were to assume that the beam oscillated freely in its end-loaded shape,
we would calculate a larger effective mass than that calculated assuming that beam vibrates in the first mode shape.
The first mode stores most of the mechanical energy of a vibration. The harmonics, or frequencies of the higher modes,
are integer multiples of the fundamental frequency. The higher
mode shapes contain additional sinusoidal cycles which pass
through nodes with zero deflection. This type of oscillation
is called a standing wave, because the sinusoidal oscillation
does not progress down the beam. The amplitude of the oscillation varies cyclically, but the locations of the maxima and
the nodes of zero deflection do not change location.
Since the end of the cantilevered beam at x=L is not loaded in a free vibration, the moment and shear at x=L are zero:
d 2 y ( L)
M ( L)
=0
EI
d 3 y ( L)
dx
V ( L)
=0
EI
The velocity, v(x), of a mass element of the beam, dm, at distance x along the beam is the time derivative of the deflection
y(x) at that location
v ( x) =
dx
dy ( x )
dt
(4.23)
dy ( x )
1
d E M ( x ) = dm
2
dt
-0.8
-1.0
1
2
d E M ( x ) = dm v ( x )
2
(4.22)
dm = A =
M beam
L
(4.24)
x
v ( x ) = vmax 1 cos
2L
x
v ( x ) = v1g 1 cos
2L
(4.26)
1 M beam
2 L
x
v1g 1 cos 2 L
1 M beam
0 d E M ( x ) = 0 2 L
EM =
EM =
x
v1g 1 cos 2 L dx
L
1 M beam 2
x
v1g 1 cos dx
2L
2 L
0
L
1 M beam 2
x
x
v1g 1 2 cos + cos dx
2L
2 L
2
L
0
1 M beam 2
4L
x x L
x
v1g x
sin + +
sin
EM =
2 L 2 2
L
2 L
4 Mechanical Systems
208
1 M beam 2 3L 4 L
L
L
L
v1g
sin +
EM =
sin
L
2L
2 L
2
2
1
0
EM =
-5
-2
-1
m
v12 , ______
sec
-3
-4
Fig. 4.11 Linear translational damping. The slope of the line is the
damping coefficient b
1
1
M beam v12g = E M = M beam v12g 0.227
2 effective
2
= 0.227 M beam
-3
-2
We now equate the kinetic energy of the beam to the equation for kinetic energy written in terms of the effective mass
of the beam and the velocity of the end at x=L
effective
-4
-1
1
M beam v12g 0.227
2
M beam
1
3 8
M beam v12g
2
2
EM =
1 M beam 2 3 L 2 4 L
v1g
2 L
2 2
EM =
Fb, kN
(4.27)
Fb = bv1g
(3.11)
Different symbols are used in different subdisciplines to represent the same physical quantity. In the area of mechanical
vibrations, the symbol c represents a linear viscous damping coefficient b. Likewise, linear viscous damping is known
as proportional damping in vibrations. In viscoelasticity,
Sect. 4.4.6, is the symbol of a linear viscous damping
coefficient.
4.2.4.1Linearization
We now investigate how to create a linearized model of the
typically non-linear relationship between damper force, Fb,
and the velocity difference across the damper. The behavior of all real systems is non-linear to some degree. Recall
the simple test for linearity from Sect.2.3, Does doubling
the input, double the output? Eq.3.11 is a linear relationship. Doubling the difference in velocity between the piston
and cylinder, v12, doubles the force, Fb, acting through the
damper.
The elemental equation
Fb = b1v12
(4.28)
is linear. However,
Fb = b1v12 + b2 v12 v12 + b3 v123
(4.29)
209
Damper
Force Fb
Damper
Force Fb
b II
bI
Velocity, v12
Velocity, v12
Linear Viscous
Friction Models
1,000
3
Fb(v12 ) = 10 v12+ |v12 |v12+ v12
500
Fb, N
Damper
Force
Fb(v12) 37 v12
-500
-1,000
-10
-5
m
v12 Velocity Difference, ___
sec
10
which may or may not be centered in the middle of the operating range. Rather than using a formal Taylor series where
the coefficient of the second term is the derivative of the function at the operating point, and the straight line is tangent to
the curve at the operating point, we may choose to fit a line
to the curve at the operating point, by minimizing either the
absolute value or the square of the error. In any case, the linearization is the sum of the value of the function at the operating point, plus a term which is the product of a coefficient and
the difference between the value v12 and the operating point
Fb 37
N sec
v12
m
vop . pt .
+ v12 vop. pt .
dF
) dv
(4.32)
12 vop . pt .
N sec
v12 v12
m
N sec
N sec 2
N sec3 3
v12 + 10
v12 v12 + 1
v12
m
m
m
as
Fb = Fb
N sec 2 m
m
2
2
sec sec
m2
N sec 2 m
m
2
+ v12 2
(
)
50 m 2 2 sec
sec
m
N sec
Fb = 200 N + v12 2
200
sec
m
(4.33)
4 Mechanical Systems
210
900
pressure tube into the outer reserve tube. The two valves
have multiple valve stages, which are disks with orifices
that become exposed and pass flow at different pressures.
The disk stack presses against a compression spring which
controls the valve opening.
The forcevelocity difference traces of Fig.4.15 are
clearly non-linear. A less obviously non-linear relationship is
Fb(v12 ) = 50 |v12|v12
500
F b, N
Damper
Force
dFb(2)
m
___
Fb(v12 ) Fb(2)+ ________ v12 - 2 sec
dv12
-500
-900
-4
-2
m
v12 Velocity Difference, ___
sec
500
Fb = bv12 + Fb0
Fb
lbf
250
-250
-10
-5
in
v12 , ___
sec
10
(4.34)
211
Damper
Force Fb
Damper
Force Fb
Velocity, v12
Velocity, v12
Line passes
through the origin
a
Kinetic Friction
Friction
Force
Average Actual
Friction Force
Friction
Force
Static Friction
Velocity
Consider the static and kinetic model of Coulomb friction, described in terms of coefficients of friction. The model
consists of two horizontal lines for v 0 and two points for
v=0, Fig. 4.17a. It yields four different values of friction,
two for the static case and two for the kinetic case, which
depend on the direction of motion, since the frictional force
opposes motion. Typical measured Coulomb friction is more
difficult to describe, Fig.4.17b.
In the case of Coulomb friction, the conditions of the surfaces in contact are subject to change. Surface contaminants,
i.e., dirt and wear particles, and chemical and mechanical alteration of a surface change its frictional properties. To start
with, there are many different types of friction. The most
familiar is dry friction between two surfaces. A very useful model consists of static and kinetic friction coefficients,
which are presented as constants. Although this model is
very useful, it isnt very realistic. Shouldnt the relationship
between the normal and tangential force acting on surfaces
depend on the displacement of the surfaces, not to mention
the wear, temperature, lubrication, cleanliness, and chemical alteration of the surfaces? Friction depends on all these
factors. Further, there is a stochastic, or probabilistic, aspect
evident in the transition from kinetic to static friction; or, in
other words, when a sliding object stops.
Although the static and kinetic Coulomb friction model
is conceptually simple, it is not mathematically simple,
because it is non-linear and consists of two lines (and two
Velocity
4 Mechanical Systems
212
x,v
F(t)
b
M
F(t)
g
Fig. 4.18 Schematic and linear graph of a force source-mass-damper
system. The power flow in each element is the product of the through
variable, force, and the across variable, velocity
the product of the force acting through the element and the
velocity difference across the element.
A power source is identified by which of its two power variables of the system is either known or controlled. Mechanical
systems have force sources and velocity sources. If a source is
powerful enough, it is possible to control (or specify) the time
history of one, but not both, of its two power variables. The
magnitude of the second power variable is determined by the
response of the system. For example, if power is supplied to
a system at a specified force, then the response of the system
determines the velocity of application of that force.
An abstract force source, Fig.4.18, is the mechanical
power source most familiar to engineering students, since
they have seen many vectors labeled F or F(t) on free body
diagrams. The convention of representing power sources as
vectors indicates that whatever is providing power to the
system is powerful enough that it can maintain the specified
value of the input variable. In order to apply the specified
force to the system, the point of application of the force must
move with the velocity of the system. If the force source
were to lose contact, then it could not apply the force. Consequently, a force source must also be capable of displacement at the velocity of the system it is driving. A mechanical
power source cannot float in space and apply force to an
object, as the input force vector is portrayed in Fig.4.18. A
mechanical source must react against something, since for
action there must be reaction, per Fig.4.19a. If a force vector
is shown floating in space, then the necessary reaction force
is assumed to be provided by ground, per Fig. 4.19b.
In order to model a device as a power source, it must be
able to supply enough power such that it can approximately
maintain the specified magnitude of the input variable, force
Fig. 4.19a Force source massdamper system shown with
support to provide the reaction
needed by the mechanical power
source. b Conventional representation of the power source as a
vector with the reaction against
ground implied
a
g
x,v
F(t)
1
M
b
g g
x,v
F(t)
1
M
b
g
213
x,v
v(t)
v(t)
lim
t 0
g
Fig. 4.20 Schematic and linear graph of a velocity source-massdamper system. It is impossible to command a step change in velocity
because that would require infinite power from the source
Em =
1 2
mv1g
2
EK =
F2
1
1 F
Kx12 2 = K K = K
2
2 K
2K
t 0
E M E M E M
=
P =
dt
0
t
From the Newtonian perspective, a finite change in velocity over infinitesimal time is an infinite acceleration, which
would require an infinite force to impose on a mass.
E K E K E K
=
P =
dt
0
t
x,v
F(t)
b
b
F(t)
g
4 Mechanical Systems
214
Fig. 4.22a Schematic and
b linear graph of a force source
damper-spring system. Although
the force source F(t) acts on
damper b, it also imposes its
force on spring K. It is impossible to apply a Heaviside step
input to this system
b
x,v
F(t)
F(t)
g
x,v
F(t)
b
M
F(t)
M
g
4.2.6Summary
It is important to keep clearly in mind that a schematic is a
model of an energetic system. The energetic properties represented by the elements in the schematic are not all of the properties of the system. They are the dominant energetic properties that must be included, in order to model the behavior
of the system with the precision needed for the particular engineering analysis being performed. You will discover as we
work with dynamic models that what is significant and must
be included in a model for it to be reasonably representative of
the system depends on many factors, including the magnitude
and type of input and the time scale of the response.
215
x,v
F(t)
x,v
F(t)
Frictionless rollers
x 1, v 1
x 2 , v2
FK
FK
Node 1
Node 2
Fig. 4.25 Translational spring showing both displacement and velocity variables at the nodes. The force FK is shown in the positive direction at either end of the spring
a
1
b
2
Frictionless rollers
4 Mechanical Systems
216
F(t)
F(t)
g
We will demonstrate that reversing the arbitrarily defined
positive directions for elements does not affect the resulting
differential system equation, by reducing the linear graphs in
Fig.4.27a and b for the velocity of the mass, v1g. The linear
graphs have opposite directions defined as positive for damper b and spring K. The sign reversals of the through variables,
forces Fb and FK, are included in the continuity and element
equations. The sign reversals of the velocity differences, v12
and v2g, appear in the compatibility and element equations.
The continuity, compatibility, and element equations of
the linear graph in Fig.4.27a are
Continuity:
F (t ) = FM + Fb
Compatibility:
Elements:
Fb = FK
v1g = v12 + v2 g
Fb = bv12
FM = M
dv1g
dFK
= Kv12
dt
dt
F (t ) = M
dv1g
F (t ) = M
dt
F (t ) = M
dv1g
dt
dv1g
dt
+ b v1g v2 g
+ bv12
+ bv1g bv2 g
dv1g
b dFK
+ bv1g
F (t ) = M
dt
K dt
F (t ) = M
F (t ) = M
dv1g
dt
dv1g
dt
+ bv1g
+ bv1g
g
2
dv1g
b dF (t )
bM d v1g
+ F (t ) = M
+ bv1g +
K dt
dt
K dt 2
d 2 v1g K dv1g K
1 dF (t ) K
+
F (t ) =
+
+ v1g
M dt
bM
b dt
M
dt 2
The equations for the linear graph in Fig.4.27b, in which the
positive direction for damper b and spring K are the reverse
of the linear graph in Fig.4.27a are
Continuity:
F (t ) + Fb = FM
Compatibility:
v1g = v1g
b dFb
K dt
b d
( F (t ) FM )
K dt
dv1g
b dF (t )
b dFM
+ F (t ) = M
+ bv1g +
K dt
dt
K dt
Elements:
Fb = FK
v1g = v21 vg 2
Fb = bv21
FM = M
v1g = v1g
dv1g
dFK
= Kv21
dt
dt
F (t ) = Fb + FM
F (t ) = bv21 + M
dv1g
dt
F (t ) = b v1g vg 2 + M
F (t ) = bv1g + bvg 2 + M
F (t ) = bv1g +
F (t ) = bv1g +
dv1g
dt
dv1g
dt
dv1g
b dFb
+M
K dt
dt
dv1g
b d
F (t ) + FM ) + M
(
K dt
dt
dv1g
b dFM
b dF (t )
+ F (t ) = bv1g +
+M
K dt
K dt
dt
2
dv1g
bM d v1g
b dF (t )
+ F (t ) = bv1g +
+M
2
K dt
dt
K dt
217
F(t)
v(t)
g
Force Source
d 2 v1g K dv1g K
1 dF (t ) K
+
F (t ) =
+
+ v1g
M dt
bM
b dt
M
dt 2
As long as we are consistent in using the arbitrarily defined
positive direction for each element in the linear graph, the
signs of the equations will be consistent. The convention of
declaring an arbitrary positive direction for each element
simplifies the reduction of the linear graph networks to a
differential system equation. It is at the end, after we have
a system equation, that we will use a free body diagram to
establish the relationships between the positive directions for
the input and output variables in the linear graph with the
forces and velocities in the actual physical system.
We will always need to exercise care in interpreting and
communicating the results of our analyses. Graphical definition of the positive directions of the input and output variables on the mechanical schematic (physical model) of the
system is the most effective method.
We shall see that the different sign conventions of subsystems of dissimilar types or energy domains may be
contradictory. Unfortunately, the signs of systems with
energy transformation or conversion are further complicated by the way subsystems are coupled in a linear graph.
Further, when a differential system equation is used as the
model of a plant placed under feedback control, its sign
must be fixed, so that a positive input to the system yields
a positive value of the output variable or the closed-loop
feedback control system will be unstable. For the meantime, we will accept the sign yielded by the linear graph
method and not trouble ourselves to determine how that
sign corresponds to one of the many sign conventions used
in mechanical engineering.
g
Velocity Source
Mass
Spring
Damper
4 Mechanical Systems
218
Fig. 4.29a An energetic
schematic of a force source
mass-damper system. b Nodes of
distinct values of the across variable velocity located and labeled
on the schematic. The rigid bar
has a single translational velocity. The bar and the ideal rigid
rods connected to have the same
velocity
Ideal massless
Ideal massless
and rigid rods
and rigid bar x,v
b
x,v
1
F(t)
F(t)
g
1
M
g
x,v
b
g
F(t)
x,v
F(t)
g
Fig. 4.31a The linear graph
represents the power flows in
the general case and during the
transient period of a step response.
b The instant after a step input is
applied to the system, all of the
power from the source flows into
the mass. c When the system has
reached steady-state, all of the
power from the source flows into
the damper and is dissipated as
heat; no power flows into the mass
b
M
1
F(t)
1
F(t)
1
M
Power flow at
time t = 0 +
1
F(t)
g
Power flow in
steady-state
the general case. Assume the system is initially de-energized, when a step input of force F(t)=F0us(t) is applied
to the system. From the Newtonian perspective, the system
tends towards force equilibrium. Initially, all of the force
acts to accelerate the mass. When the mass begins to move,
the damper compresses and begins to exert force. Eventually, as the velocity difference across the damper increases,
the force acting to compress the damper equals the applied
force, leaving none to accelerate the mass.
From the complementary energetic perspective, the system tends towards energy equilibrium. When the energy of
the power supply is made available to the de-energized system, the power flow travels into the energy storage element.
As the power flow into the system continues, and the system
approaches an energetic equilibrium with the power supply,
less mechanical energy flows into the kinetic energy storage
element, and more is dissipated as heat by the damper. When
219
x,v
b1
F(t)
b2
b1
g
F(t)
b2
2
M
g
b2
F(t)
b1
g
Fig. 4.33 Linear graph of the force source mass-two damper system
shown schematically in Fig.4.32
x,v
F(t)
b1
b2
M
x,v
F(t)
g
b1
M
b2
g
4 Mechanical Systems
220
b1
b2
F(t)
g
Fig. 4.35 Linear graph of the force source-mass-two damper system
shown schematically in Fig.4.34
x,v
F(t)
x,v
F(t)
g
1
M
g
b
g
F(t)
221
Beware that all angular measures are dimensionless. Although we use a degree symbol of superscripted circle, degrees, radians, cycles, and revolutions have no units. Work
in a rotational mechanical system is the product of torque
and angular displacement . Because angular measures are
dimensionless, the units of torque, [T ] = [ F L ], are the same
W = E = T 12
(4.36)
g
Fig. 4.37 Linear graph of the force source-mass-spring-damper system shown schematically in Fig.4.36
P = T 12
(4.35)
The easiest way to introduce the equations for rotational systems is by direct analogy to translational systems, Table4.4.
We can use a one-to-one set of analogies to relate rotational
mechanical systems to translational mechanical systems,
because the mechanisms of energy storage and dissipation
are physically similar. Note that the systems are analogous
to the extent that the same symbols are used for the spring
constants and damping coefficients in the two types of systems. A subscript R, denoting rotation, can be used to
distinguish K and KR and b and bR, but this is not necessary.
It is clear from the variables used in an equation whether the
motion is rotation or translation.
Fig. 4.38a Energetic schematic
of the KelvinVoight viscoelastic model. b KelvinVoight
viscoelastic model with nodes
of distinct values of the across
variable velocity
Ideal massless
and rigid bar
x,v
x,v
K
F(t)
K
F(t)
g
b
g
4 Mechanical Systems
222
F(t)
sions of the mass are much smaller than the distance r from
the axis of rotation, then the mass can be treated as a point
mass. The mass is accelerated by a torque applied at the axis
of rotation, Fig.4.48.
Although there is centrifugal acceleration because of the
circular motion, the centrifugal force does no work on the
mass, since there is no displacement in the radial direction,
because the mass moment of inertia is rigid. The force acting
to accelerate the infinitesimal mass is tangential to the circular motion. Its magnitude is
g
Fig. 4.39 Linear graph of the KelvinVoight viscoelastic model shown
in Fig.4.38
TJ = J
d 1g
(4.37)
dt
dT
= dFm
r
The instantaneous tangential velocity is the product of the
angular velocity W and the radius r from the axis of rotation
vtangental = r
Writing F = Ma in terms of the applied torque and the angular velocity
dFm = dm
dvtangental
dt
dT
d r
d
= dm
dT = dmr 2
r
dt
dt
dT = r
d
d
dm T = Mr 2
dt
dt
x,v
K1
F(t)
K2
K n-1
Kn
b1
b2
b n-1
223
F(t)
K1
K2
Kn-1
b1
b2
bn-1
Kn
g
x,v
v(t)
x,v
v(t)
b
g
v(t)
g
Fig. 4.43 Linear graph of the Maxwell viscoelastic model shown in
Fig.4.42
inertia a radius r from the axis. Although the mass of the part
at the greatest radius from the axis of rotation has the greatest contribution to the mass moment of inertia, the rotational
inertia of mass closer to the axis is typically not negligible.
In these cases, the mass moment of inertia must either be
calculated using integral calculus or with tables.
Simplest integral formulation of mass moment of inertia is that for a revolved body. The formulation is an
r dM = r d vol
2
mass
vol
For example, the mass moment of inertia of a cylinder rotating about its axis is formulated by representing the infinitesimal mass as a ring with circumference 2 r , thickness dr, and
length of the cylinder, L, Fig.4.49,
R
J = L 2 r 2 r dr J = L 2
0
r4
4
J = L
0
R4
2
When M is substituted for the product of the materials density and the volume of the cylinder, we find that the mass
moment of inertia of a uniform cylinder rotating about its
F(t)
x,v
K1
K2
Kn-1
Kn
b1
b2
bn-1
4 Mechanical Systems
224
b1 b2
2
F(t)
bn-1
Kn
K1 K2
Kn-1
g
Fig. 4.45 Linear graph of the Maxwell viscoelastic model shown in
Fig.4.44
R4
2
J =
L R 2
Cylinder
Volume
R2
2
J=M
R2
2
The parallel-axis theorem is used to calculate the mass moment of inertia of a solid which rotates about an axis parallel
to but at a distance from an axis for which the mass moment
of inertia of the solid is known. The parallel-axis theorem adds
the square of the distance between the mass center and axis of
rotation, Fig.4.51. For example, the mass moment of inertia of
a cylinder rotating about an axis parallel to its own axis yields
J = J Cylinder +
about its
axis
2
Mr
Parallel Axis
Theorem
=M
a
Ideal massless
and rigid bar
J xx = L I xx
(4.38)
where L is the length normal to the cross-section as defined
in Fig.4.55.
R2
+ Mr 2
2
x,v
x,v
K1
K1
v(t)
K2
v(t)
g
K2
g
b
g
225
K2
K1
F(t)
g
Fig. 4.47 Linear graph of the Zener viscoelastic model shown in
Fig.4.46
Table 4.4 Analogies between translational and rotational mechanical
elements
Elemental equation Energy equation
Kinetic energy storage
Mass
FM = M
Rotational inertia
TJ = J
dv1g
dt
d 1g
dt
1
Mv12g
2
1
E J = J 12g
2
EM =
dFK
= Kv12
dt
EK =
FK2
2K
Rotational spring
dTK
= K 122
dt
EK =
TK2
2K
Energy dissipation
Translational damper
Fb = bv12
None. Energy
dissipater
Rotational damper
Tb = b 12
None. Energy
dissipater
LA rA4 LB rB4
Lring 4
J =
ro ring ri 4ring
+ 2
2
2
J=
Example Calculate the rotational inertia of a pulley
shown in Fig.4.56 by the superimposition of the positive
and negative mass moment of inertia of solid primitives. The
pulley is 2024 aluminum with a unit weight, 0.101 lb/in 3 .
The dimensions are in inches. Report the result in SI units.
The mass moment of inertia can be calculated by summing
the rotational inertia of three rings, Fig.4.57.
This is not the only construction which yields the mass
moment of inertia. The same shape can be constructed
Fig. 4.48 Infinitesimal mass
element dm in a mass moment of
inertia at radius r from the axis
of rotation is accelerated by infinitesimal torque dT of applied
torque T
))
4
LA rA LB rB4 + 2 Lring ro4ring ri 4ring
2
vi = r
H
T
dm
r
4 Mechanical Systems
226
R
dr
r
+T,,
rA =
6.5 in 2.54 cm
= 82.6 10 3 m
2 1 in
rB =
0.5 in 2.54 cm
= 6.4 10 3 m
2 1 in
r0 ring =
5.5 in 2.54 cm
= 69.9 10 3 m
2 1 in
ri ring =
1.5 in 2.54 cm
= 19.1 10 3 m
2 1 in
((
)(
25.4 10 3 m 6.4 10 3 m
+ 2 6.6 10 3 m
) ((69.9 10 m) (19.1 10 m) )
3
kg m
1 N sec 2
1N
1kg =
=
2
m
m
sec
sec 2
Hence, our result is one gram shy of the conversion factor
0.454 kg/1 lb.
Unfortunately, US customary units are still used by the
aerospace industry. Unit conversion errors has led to costly
and well publicized errors, including the crash of a Martian
probe due the incorrect assumption that force was reported in
newtons when, in fact, it was reported in pounds. The most
unusual US customary units are possibly those used for mass
moment of inertia. The rotational inertia of DC servomo2
tors is sometimes given in units of [oz in sec ] leading to
question Is that ounce force or ounce mass? Do not waste
time searching for the appropriate conversion table. Perform
a unit analysis. We know that the units of mass moment of
2
2
inertia are [mass length ]. Attempt to convert [oz in sec ]
to SI units presuming that oz. represents ounce force,
1N = 1
lb 0.454 kg 39.36 in
kg
= 2800 3
3
in 1 lb 1 m
m
)(
W
g
25.4 m 3
3
Lring = 0.25 in
= 6.6 m
1 in
M =
N
N sec 2
= 0.453
m
m
sec 2
25.4 m
LA = LB = 1 in
= 25.4 m 3
1
in
kg
2800 3
m
25.4 10 3 m 82.6 103 m
J=
W = Mg
sec 2
= 0.101
F = Ma
J = 3.8 10 3 kg m 2 .
r
L
J = L
r4
r2
=M
2
2
227
r
R
R2
+ M r2
J = J Cylinder +
M r2 = M
2
about it
Parallel Axis
axis
Theorem
Area A
Radius r
J=
A L3
r 2 L3
Length L
Area A
Radius r
J=
2 A L3 2 r 2 L3
=
3
3
Length L
Offset
Area A
J=
(
3
L + ) 3
Length L
ri
L
ro
J=
L
2
(r
4
o
ri 4 )
4 Mechanical Systems
228
Fig. 4.53 Mass moment of inertia (rotational inertia) J of solids
of uniform density
Radius r
x
z
J=
r 5
5
Radius r
r 3 2 r 4 r 5
J =
+
+
2
5
3
Offset
x
z
Radius r
J=
x
z
r 5
5
Radius r
r 5 2r 4 2r 3 2 r 2 ( r + )3
+
J = +
4
3
3
5
Offset
x
z
1m
2 1 1b 0.225 N
oz in sec 16 oz 1 lb 39.37 in
= 3.57 10 4 N m sec 2
We must introduce the definition of a newton in order to incorporate mass into the units,
kg m
1
3.57 10 4 N m sec 2 sec 2 = 3.57 10 4 kg m 2
1N
229
J=
L
b
L
3
( a b + ab )
3
a 3b ab3
J = L
+
6
24
b
_a
2
_a
2
J=
L
3
( a (b + ) + a (b + ) )
a
Offset
L
3
( a b + ab )
3
a 3 ( b + ) a ( b + )3
+
J = L
24
6
a 3 a 3
L
+
6
24
b
_a
2
_a
2
Offset
z
L
y
x
x
Fig. 4.55 The relationship between the mass moment of inertia J and
area moment of inertia I for a machine element with constant crosssection is J x x = L I x x
4 Mechanical Systems
230
Fig. 4.56 Plan and section of
pulley
0.25
1.0
0.5
1.5
5.5
6.5
Plan
Positive
Ring A
Positive
Ring B
Positive
Ring C
Section A-A
dTK
d
= K 12 = K 12
dt
dt
(4.40)
Angular deformation of an elastic material stores strain energy. Calculation of torsional deformation is quite complicated
except for the case of elements with circular cross-sections.
Fortunately in machine design, shafts and torsion bars are
usually circular in cross-section, either solid cylinders or cyFig. 4.58 Two geometries with
the same mass moment of inertia
about their axes of rotation
12
(4.41)
=G
(4.42)
(4.39)
Angular displacement is not a power variable in a rotational system, so, as with translational mechanical systems,
the common expression is differentiated with respect to time
to yield an expression in terms of the power variables torque
T and angular velocity
TK
The angular deformation 12 of an elastic material is calculated using the torsional analog of Youngs Modulus, the
Shear Modulus G defined as
K=
lim
y0
x dx
=
y dy
(4.43)
(4.44)
Shafts twist when torqued. A shaft with uniform shear modulus and constant cross-section will have a constant twist
angle, resulting in a straight line parallel to the axis twisting
into a helix when torque is applied. The twist of a shaft is not
the same as the rotation of a shaft. Twist is the deformation
of the shaft due to the torque transmitted through the shaft.
When a shaft carrying a constant torque rotates or spins to
transmit power, both ends rotate at the same velocity. It is
231
Positive
Cylinder A
Negative Positive
Ring B
Cylinder A
Negative
Rings A
Negative
Cylinder B
1 , 1
2 , 2
TK
TK
Node 1
Negative
Cylinder B
Angular displacement
Node 2
Straight line before twist
b x
yx
y
xy
Fig. 4.62 A shaft with uniform circular cross-section and shear modulus will have a constant twist angle when carrying torque. Straight lines
parallel to the axis will be twisted into a helixes
y
xy
yx
radius, r
only when the torque carried by the shaft changes, that the
ends of the shaft rotate at different velocities, changing the
twist angle.
The shear strain varies with distance from the axis of rotation on each cross-section. Shear strain equals the limit as the
distance between the cross-sections, L, approaches zero of
the angular displacement between two cross-sections of the
shaft, 12, divided by L and multiplied by the radius r from
the axis of rotation, Eq.4.34.
( r ) = lim
L0
r 12
L
(4.45)
( r ) = G ( r ) = G lim
L0
r 12
L
(4.46)
r dr d = 2 r dr
0
4 Mechanical Systems
232
1 , 1
dr
r d
r
Tb
dT = rdF = rdA
Node 1
2 , 2
Tb
Node 2
Rolling-contact bearing
b
Fig. 4.64 Distribution of shear stress on a plane normal to axis of
rotation and twist of a shaft
T(t)
T = dT = r dF = r dA = r r G dA
L
A
A
A
A
Mass-moment-of-inertia J
keyed or splined to the shaft
2 r 4
T = r r G 2 r dr = G
L
L 4
0
T =G
2 r 4
L
T = K
K=
G 2 r 4
L 4
J polar
T=
2 r 4 r 4
=
4
2
G J polar
L
Rotational
Spring
Constant
(4.47)
(4.48)
233
a
b
T(t)
T(t)
J
1
Hydrodynamic
Bearing
g
The outer bearing race
is fixed in the bearing mount
Fig. 4.67 Nodes of the across variable angular velocity shown on the
energetic schematic. The inner race of the rolling-contact bearing rotates at the shafts velocity. The outer race is fixed in the bearing mount
and does not rotate
Ra
Shaft
diu
sr
v1 = 1r
vg
Bearing
Stationary Bearing g
T(t)
J
b
1
b
Rotating
Shaft
Fluid Velocity
Profile
ing mount or pillow block and does not move relative to the
mount, which is often in the machines frame and at ground
velocity. In the annotated figure the outer races of the bearings are assumed to be fixed to the machine frame, which is
an inertial ground.
Again, note that the inner race of bearings rotates with the
shaft the bearing supports, and the outer race is stationary
relative to the machine frame. Consequently, the angular velocity drops across the bearing from the velocity of the shaft
to ground velocity.
Fig. 4.69 Abstract schematic of a torque source-rotational inertiadamper system, where the damping is represented as a hydrodynamic
bearing supporting the rotational inertia
4 Mechanical Systems
234
Tb
Node 1
400
2 , 2
Tb
Node 2
Fig. 4.70 A fluid coupling symbol. The drag cup symbol is more
common
1 , 1
Design A
Design D
300
200
Design C
100
0
Design B
0
20
40
60
80
100
power variables. The magnitude of the second power variable is determined by the amount of power the system draws
from the source at any instant.
Torque sources are generally transducers of some sort, in
which we control the power variable, which transduces into
torque. Using a positive displacement hydraulic motor as an
example, fluid flow rate is proportional to angular velocity
of the motor. Consequently, fluid pressure is proportional to
torque. If we can (approximately) control the fluid pressure
entering the hydraulic motor, then we can control the torque
output. Likewise, in an electric motor, torque is proportional to motor current, and angular velocity is proportional to
voltage. Although we can control or specify voltage, say, by
closing the switch between a battery and an electric motor,
we cannot control current without a sophisticated feedback
device which modulates (or changes) the voltage applied
to the system to maintain a specified current. Current sources are available and used in industry specifically so that the
torque an electric motor produces can be controlled.
AC induction motors are widely used in industry. They
have no brushes, which are actually graphite contacts, and
require less periodic replacement than other types of motors.
There are four standard designs of three phase induction motors are available, NEMA (National Electrical Manufacturers
Association) designs, A, B, C, and D. The designs provide
different torque-speed curves, as shown in Fig.4.71. The
torque curve of design C is relatively flat over most of its
speed range and approximates a torque source.
A design advantage of induction motors is their torque
at zero angular velocity. Many rotational motors must rotate
to function. Internal combustion engines are an example. If
the crank shaft stops rotating, the engine stalls and must
be restarted using the auxiliary, electrically powered starter
motor. Likewise, a synchronous AC motor cannot produce
torque, except when the rotor is in synchronous rotation with
the rotating magnetic field of the stator. If a synchronous AC
motor falls out of synchrony, an auxiliary motor must bring
235
max
Torque-Velocity Data
T0
Torque
Constant
Torque
Model
Constant
Velocity
Model
Tmax
0
Angular Velocity
Fig. 4.72 Constant torque and constant velocity models and their operating ranges
b
Tmax
Torque-Velocity
Data
Torque
Tmax
b = ___
T(t)
max
Torque-Velocity
Models
Angular Velocity
max
System
4 Mechanical Systems
236
Fig. 4.74 Load and displacement histories of a linearly
elastic component
Extension
xa = x1- xg
Force
Steady-State
ta
FElastic FK = K x1 xg = Kx1g K =
x1g
FElastic
Time
Steady-State
ta
Time
237
Rigid and
massless bar
F(t)
x,v
F(t)
g
connected or disconnected to a source with a constant power
variable. We can perform a test by operating the system in
its normal mode with its own power supply. For on-off
systems, this type of test is clearly also the most realistic,
and, consequently, most likely to lead to a characterization of
the systems parameters which are useful in dynamic modeling. A step input has the additional advantage of providing
non-zero steady-state data, in many cases.
F (t ) Fb FK = 0
Fb = bv1g
E sys = E K
F (t ) =
v1g = v1g
dFK
= Kv1g
dt
EK =
FK2
2K
b dFK
+ FK
K dt
(3.29)
The step response data are the displacement, x1g, Fig.4.76.
We easily derive the system equation for the displacement,
4 Mechanical Systems
238
12
12
10
10
x1g(t)
cm 6
x1g(t) 6
cm
4
0.5
1.0
1.5
t, sec
2.0
x1g()=7.2 cm
2
0
x1g (ss)=11.4 cm
b dFK
+ FK
K dt
F (t ) =
b dKx1g
+ Kx1g
K dt
1
b dx1g
+ x1g
F (t ) =
K
K dt
(4.49)
t
K
t
1.5
2.0
1
b dx1g ( ss )
F ( ss ) =
+ x1g ( ss )
K
K
dt
0
0.5
1.0
0.26 sec t, sec
1
F ( ss ) = x1g ( ss )
K
b K 0.26 sec
b 35, 000
b 9,100
b
0.26 sec
K
N
0.26 sec
m
N sec
m
F ( ss )
4, 000 N
N
=K
= 35, 000 = K
x1g ( ss )
0.114 m
m
t
K
t
(t ) = ( ss ) 1 e
(1)
(1 ) = ( ss ) 1 e
K
t
b
0.114 x1g (t )
0.114
0.114
0.114 x1g (t )
K
t = ln
b
0.114
239
Mass moment of
inertia J
Rolling-contact
bearing
T(t)
T(t)
g
g
2,000
1,500
(t)
1,000
RPM
500
0
20
40
60
t, sec
80
100
120
b
2.5 in
1.5 in
3.5 in
16 in
2.5 in
1.5 in
3.5 in
2.5 in
2.5 in
2 in
4 in
10 in
16 in
2 in
4 in
10 in
4 Mechanical Systems
240
1 lb 0.0254 m
1, 260 in
m
J=
d
T t
T
[ J ] = = [T ] = [b ] [b ] =
dt
[T ] = J
1g ( ss ) = 1, 670
E sys = E J
Tb = b 1g
T ( ss ) = b 1g ( ss )
1
E J = J 12g
2
T (t ) = TJ + Tb
T (t ) = J
d 1g
T (t ) J d 1g
=
+ 1g
b
b dt
1g = 1g
dt
d 1g
T0
= 1g ( ss )
b
Energetic Equations
Energy Eqs:
+ 1g ( ss )
4
4
4
4 0.0254 m
10 in (8 in ) 8 in (5.5 in ) + 2 in (1.75 in ) 4 in ( 0.75 in )
2
in
[ ] = [ ] + [ ]
r
2
TJ = J
T J
b = b t + [ ]
J = 4 . 41kg m 2
Element Eqs:
T t
T T = T t + [ ]
Express the parameters J and b in terms of the power variables and time
dt
+ b1g
T0 J d 1g
J
=
+ 1g =
b
b dt
b
We estimate the time constant from the data as if the response were a linear step response, by locating the time in
241
250
1,600
1,200
(t)
RPM 800
150
1g (ss)=1,670
(t)
___
rad 100
sec
1g ()=1,060
400
Motor torque
T(t) 200
N m
Flywheel velocity
50
t, sec
3.18 sec
10
15
t, sec
10
15
Fig. 4.83 Response of the linear model to the variable input torque of
an AC induction motor
1,600
1,200
(t)
RPM 800
Linear model
Observed response
400
0
t, sec
10
15
=
b=
4.41 kg m 2
3.18 sec
b=
b = 1.39
N m sec
rad
T0 = 1.39
175
= 243 N m
rad
sec
We know that these estimates are in error to some degree.
Plotting the ideal, linear step response calculated using these
estimates will provide a sense of how large the error is,
Fig.4.82. The step response function is
1g (t ) = 1g ( ss ) 1 e
1g (t ) =
T0
b
b
t
J
1
e
The observed response was created using a MATLAB program of the RungeKutta finite difference solver, using a
look-up table for the inductor motors torque, discussed in
Chap.8. The value used for the damping coefficient b was
b = 0.75 Nmsec/rad . The calculation overestimated the
damping coefficient by 85%. Correspondingly, the estimated torque applied by the motor, T0 = 243 N m, is also high.
The maximum torque applied by the motor was 239 N m,
Fig.4.83.
The errors in the estimated damping coefficient and torque
are due to the induction motors torque varying with its angular velocity. The initial portion of the response is driven
harder than later portion, decreasing the estimated time constant and leading to the overestimated damping ratio.
The initial response of many students is to view the
magnitude of the errors in the estimated values as outrageous and to see no value in the calculation. However, it
is important to note that prior to the calculation, we had no
inkling of the magnitude of either the torque or the damping coefficient. We estimated a value of the motor torque,
which is just outside the range of the actual torque. The
input variables and parameter values presented in textbook
problems must be determined by the engineer in practice.
Torque measurements are a particular problem. A torque
cell of the correct capacity must be inserted into the power
train. This is straightforward in a laboratory situation but
not when there is an existing system which cannot be taken
out of service and torn apart. Conversely, angular velocity is simple and cheap to measure. A hand-held laser tachometer is less expensive than most engineering students
calculators.
4 Mechanical Systems
242
-i Graphite brush
Commutator
+i
Energizing
current i
a
Rolling-contact bearing
linear damping, bM
TC
Kinetic Coulomb
friction torque
TC
JM
g
g
bM
243
300
1g (0)
(t) 200
rad
___
sec
0.632 1g
1g (t)
1g
1g ()
100
1g (ss)
0
-0.2
0.2
0.4
0.6
t, sec
0.8
t, time constants
Fig. 4.86 Angular velocity of a DC servomotor after the electric circuit is opened as the motor coasts to a stop
Node:
TC = TJ M + TbM
Loop:
1g = 1g
Elements:
Energy:
TbM = bM 1g
E system = E J
TJ M = J M
EJ
d 1g
dt
1
= J M 12g
2
TC = J M
d 1g
+ bM 1g
dt
TC
J d 1g
= M
+ 1g
bM
bM dt
The motors time constant is
TC
J d 1g
= M
+ 1g
bM
bM dt
JM
bM
1g (t ) = 1g ( 0) 1g ( ss ) e
1g (t ) = 1g e + 1g ( ss )
TC
= 1g ( ss )
bM
bM
t
JM
+ 1g ( ss )
T
JM
and C = 1g ( ss )
bM
bM
JM + JL
bM + b L
4 Mechanical Systems
244
Fig. 4.88 Load inertia, JL, attached to the motors shaft with
a flexible coupling. The load
inertias shaft is supported on
bearings with damping bL
Motor bearings
damping bM
Flexible coupling
TC
g
Load bearings
damping bL
We know JL. We can set an upper limit for the load inertias
damping bL with the reasonable assumption that the load inertias damping is not greater than the motors damping, bL bM ,
and, for the initial curve fitting, that they are equal, bL = bM .
Manual calculations. The second approach is to approximate the derivative of the motors angular velocity in the
system equation by a finite difference,
d 1g
dt
d 1g
dt
Motor
100
0
0
0.2
0.4
0.6
t, sec
0.8
1.0
Fig. 4.89 Locations for the finite difference approximations of coastdown test data
1g
+ bM 1g TC J M
+ bM 1g
t
The very top and very bottom of the coast-down curve are
the most convenient segments to use for the finite difference equation, Fig.4.89. The angular velocity is a maximum at the top, so the effect of the velocity dependent,
viscous friction on the deceleration is greatest at the top
of the curve. At the very bottom of the curve, the angular
velocity is zero, so the viscous friction should have no effect on the final deceleration of the motor. Fit tangents to
the curve at the top and bottom of the data to estimate the
derivative of the angular velocity. Use the smallest value
t practicable to increase the precision of the finite difference approximation. The estimated derivatives will have
substantial uncertainty.
(t) 300
rad
___
sec 200
1g
400
14.5
Model
2.0
Time Step
t = 110-4 sec
14.0
Data
245
= 0.1
Negative Error
Model - Data
= 0.6 sec
f(t)
___
1.0
f(ss)
rad 13.0
___
sec
12.5
12.0
0.2
0.3
0.4
0.5
1.5
0.201
t, sec
0.202
0.203
Equating the damping bL of the load bearings with the damping bM of the motor yields
3
TC = ( J M + J L )
+ 2bM 1g ( 0)
t3
and
4
TC = ( J M + J L )
t4
We now have four equations with three unknowns. The typical result of having more equations than we need and uncertain approximations of the finite differences is a range of
values for TC, JM, and bM.
The estimates of TC, JM, bM, and bL are refined by curve
fitting the coast-down models to the data. The curve fitting
can be performed either manually by iterating the parameter
values, until the fit between the model and the data is satisfactorily fit. One could also do so automatically by use of
a minimization routine in Mathcad or MATLAB. Minimization calculations reduce error between the model and the
data, Fig.4.90. To prevent positive and negative errors from
canceling each other, the absolute value of the error or the
square of the error is summed
SumAbsoluteValueError = 0
N 1
SumErrorSquared = 0
N 1
Model p Data p
= 0.707
0.5
Positive Error
Positive Error Model > Data Model - Data
Negative Error Model < Data
0.200
= 0.9
(4.50)
(4.51)
Model p Data p
Mathcad has a minimization function, which is used inside
a solve block. MATLABs minimization function, fmincon(), is part of the add-on optimization toolbox.
A simple and surprisingly effective minimization
technique uses a genetic algorithm, in which sets of
parameters are randomly changed, retaining those which
0.5
1.0
t, sec
1.5
2.0
Fig. 4.91 A family of underdamped second-order step responses normalized to the steady-state value and parameterized by the damping
ratio
4 Mechanical Systems
246
1
1
1
=
s ( s + a )( s + b )
( s + a
)( s + b)
s
Input
F(s)
(t ) = 0 for t 0
(t ) = for t = 0
1
s
us (t ) = 1 for t > 0
1
(e at e bt )
ba
( s + a )( s + b)
1
s ( s + a )( s + b )
1
1
1+
be at ae bt
ab a b
n
1
Transfer
Function
e nt sin n 1 2 t
n2
s + 2 n s + n2
2
2.54 cm
= y cm
in
Output ( s )
= Transfer Function ( s ) G ( s )
Input ( s )
Input ( s )
(4.52)
Output ( s )
= Input ( s ) G ( s ) = Output ( s )
Input ( s )
Input
( s + a
)( s + b)
Transfer
Function
( s + a
)( s + b)
Energetic Equations
F (t ) = Fb + FK + FM
Fb = bv1g
v1g = v1g
dFK
= Kv1g
dt
E sys = E K + E M
EK =
dv1g
FM = M
2
K
F
2K
dt
EM =
1
Mv12g
2
d 2 FK
K
b dFK K
F (t ) =
+
+
FK
2
M
M dt
M
dt
(3.33)
2
1 dF (t ) d v1g b dv1g K
=
+
+ v1g
M dt
M dt
M
dt 2
(3.34)
Output
Output
x,v
F(t)
g
g
Lubricating fluid
Damping b
F(t)
g
247
3.5
3.0
2.5
v(t)
2.0
cm
___
sec 1.5
1.0
t2
0.5
0.0
t, sec
10
12
Fig. 4.92
Example overdamped second-order impulse response
t
t
v (t ) = 10 e 0.67 e 1.67 . Times, t1, t2, and t3, indicate the locations
of data used in the characterization of the response
K
b
s1 s2 = 4
M
M
2
1 dF (t ) d v1g b dv1g K
b
K
=
+
+ v1g s 2 +
s+
=0
2
M dt
M dt
M
M
M
dt
t1
t3
K
b
( s1 s2 ) = 4
M
M
2
2
2
K b
M b
2
2
= ( s1 s2 ) K =
( s1 s2 )
4
4 M
M M
b
K
b
4
M
M
M
s1 , s2 =
2
(4.53)
Solve for b
2
s1 =
b
1 b
K
+
4
M
2M 2 M
s2 =
1 b
b
K
4
M
2M 2 M
and
2
s1 + s2
2
2
b
1 b
K
b
1 b
K
+
=
+
4
4
M 2M 2 M
M
2 M 2 M
s1 + s2 =
b
M
b = M ( s1 + s2 )
Solve for K
The alternative approach using the Laplace-domain expressions is often easier, as will be illustrated in the following
sections.
f impulse (t ) =
(4.54)
To avoid the potential confusion between the smaller eigenvalue, which is more negative, and the larger eigenvalue,
which has the smaller magnitude, we will work with the
response function written in terms of time constants
vest (t ) = A e 1 e 2
s1 s2
2
2
b
1 b
1 b
K
K b
=
4
+
2 M 2 M
M
M 2 M 2 M
C
e at e bt
ba
where =
4 Mechanical Systems
248
3.5
ln v (t1 ) = ln ( A) +
t1
t2
t2
ln v (t2 ) = ln ( A) +
ln v (t1 ) ln v (t2 ) =
1 =
t1 + t2
ln v (t1 ) ln v (t2 )
t3
t3
v (t )
3
1
e = e 2
Aest
1 = 1.70
(4.55)
v (t1 )
t 1
=A
A = 9.28
(4.56)
1
v (t3 ) = A e e 2
t3
=e
t3
v (t3 )
A
t3
t3
= e
t, sec
10
t3
v t
(
t
3)
ln
e 1 = 3
A
2
est
t3
v (t ) t3
ln 3 e 1
Aest
2 = 0.64
(4.57)
1 1
C = A
2 1
C = A (b a )
C = 9.07
The function used to create the data and the estimated response function are plotted in Fig.4.93. The accuracy of the
estimated values would be improved by iteration or use of a
minimization routine, if necessary.
The eigenvalues are used with the solution formulated in
terms of the systems parameters, M, K, and b, Eq.4.53, to
solve for two if the third is known
s1 = 1 =
2 =
A=
t2
t1 + t2
t1
t
t
vest (t ) = 9.28 e 0.64 e 1.70
t
t
v (t ) = 10 e 0.67 e 1.67 and the estimate of the response function
ln v (t1 ) = ln ( A) + ln e 1 ln v (t2 ) = ln ( A) + ln e 1
-t
____
Fig. 4.93
Example overdamped second-order impulse response
yields
t1
-t
____
0.0
t2
ln v (t2 ) = ln A e 1
0.5
-t
____
1.0
v ( t 2 ) = A e 1
and
-t
____
2.5
v(t) 2.0
cm 1.5
___
sec
t2
v (t1 ) = A e 1
3.0
s2 = 2 =
1
1
1
= 0.58
1.7
s1 =
s2 =
1
= 1.56
0.64
249
n=1
t1
v(t) 1
m
___
sec
n=2 n=3
n=4
y1
y2
y4
y3
f(t)
___
1.0
f(ss)
t2
-1
0.2
t, sec
0.4
0.6
Fig. 4.94 Underdamped impulse response. Times, t1 and t2, indicate the
peaks used to calculate the damped period Td and the damping ratio
wn
w n t
2
e
sin w n 1 t
f (t ) =
1 2
wd
w n2
F (s) =
s 2 + 2w n s + w n2
f (t ) = C
wn
1
e w nt sin w n 1 2 t
1 y1
ln
n 1 yn
1 y1
4 2 +
ln
n 1 yn
4Td
6Td
t1,
1 y1
ln
n 1 yn
1 y1
4 +
ln
n 1 yn
1 2.09
ln
2 1 0.26
1 2.09
4 +
ln
2 1 0.26
= 0.32
(4.58)
2Td
t, damped periods
(4.59)
Td = 0.210 sec
wd =
2 rad
2 rad
rad
wd =
w d = 29.9
Td
0.210 sec
sec
The relationship between the ideal, undamped natural frequency, n, and the actual, damped frequency, d, is found
in the sine of the impulse response function:
wd = wn 1 2
4 Mechanical Systems
250
wn =
wd
1
wn =
rad
sec
0.32
29.9
w n = 31.6
rad
sec
1
L dF (t ) = L
M
dt
1
b
K
sF ( s ) = s 2 +
s + V1g ( s )
M
M
M
1
s
M
=
b
K
F (s)
s2 +
s+
M
M
V1g ( s )
wn
1
w n t
v ( 0.041 sec )
sin w n 1 t
wd
rad
31.6
sec e (0.32)(31.6)(0.041)sin 29.9 rad 0.041sec
=
sec
1 0.322
{ }
1
b
K
sF ( s ) = s 2V1g ( s ) +
sV1g ( s ) + V1g ( s )
M
M
M
s1 , s2 = jw d
(4.60)
s1 , s2 = w n jw n 1 2
d 2 v1g b
dv1g K
2 + L
+ L v1g
M
dt
dt M
The parameter values are calculated by equating the characteristic function, the denominator of the transfer function,
with the denominator of the Laplace-domain expression of
the Laplace transform pair.
1
s
w n2
M
= 2
b
K
s + 2w n s + w n2
s2 +
s+
M
M
s2 +
b
K
= s 2 + 2w n s + w n2
s+
M
M
The ratio of the observed value over this value yields the
coefficient C:
m
m
sec
C=
= 0.10
rad
rad
20.7
sec
v ( 0.041sec ) = 20.7
rad
sec
2.08
b
= 2w n b = 2 M w n
M
rad 1 0.322
sec
v (t ) = 3.35
m
e
sec
10.1t
sec sin 29.9
rad
t
sec
251
The transient portion of a second-order step response is analyzed using the same techniques employed with a second-order impulse response, recognizing that the second-order step
response decays to its steady-state value rather than zero.
This fact is incorporated in the log-decrement formula. It
must be remembered when characterizing an underdamped
second-order step response.
v(ss)-v(t 1)
10
f step (t ) =
2
0
C
1
1+
be at ae bt
ab a b
(4.61)
(4.62)
where
f step ( ss ) =
A1=
C
ab
b
C
a b = a ( a b )
A2 =
t1 + t2
Fig. 4.96
Example
v (t )
t
= 10 16.7e 0.67
v ( ss ) =
overdamped
t
+ 6.7e1.67.
C
ab
C
A1 =
a ( a b)
b =
10
second-order
step
response,
v ( ss ) =
A1 =
1
1C
v ( ss )
11
1 1
C=
v ( ss )
A1 =
bv ( ss )
1
b
1
bv ( ss )
v ( ss )
v ( ss )
1
1
1 =
=
+1
A1
b1
A1
b1
A1
v ( ss )
1
= 2 = 1
+ 1
b
A1
2 = 0.64
A1 = 16.2
1 = 1.68
t, sec
step response has two. The steady-state value and the coefficients, A1 and A2, are expressed in terms of the magnitude
of the step input, C, and the inverses of the time constants,
a and b, in Eq.4.60, giving us three equations in three unknowns. We know the steady-state value and we have estimated 1 and A1, where
C=
= A1
C a
C
=
a
b
b
a
ab
( b)
t1
a=
ln v (t1 ) v ( ss ) ln v (t2 ) v ( ss )
v (t1 ) v ( ss )
C
ab
As with the impulse response, the characterization of an underdamped second-order step response begins with estimation of the larger, slower time constant. Two data pairs are
selected in the second half of the transient period, where the
response approaches but has not yet reached steady-state,
Fig. 4.96. The difference between the steady-state value,
v(ss), and the value of the response at time, t1, Eq.4.53, is
used to calculate the time constant
1 =
t1
v(t) 6
cm
___
sec 4
1
1
1+
f unit (t ) =
be at ae bt
ab a b
step
t2
v(ss)-v(t 2)
v( ss )
C=
1 2
v( ss )
C = 9.3
C
b ( a b)
A2 =
C
1 1 1
2 1 2
C = 5.93
4 Mechanical Systems
252
400
10
8
v(t)
cm
___
sec
300
(t)
rad 200
___
sec
4
2
Error: Initial values less than zero
0
-1
t, sec
10
t
= 10 16.7e 0.67
t
+ 6.7e1.67
100
0
0.5
1.0
1.5
t, sec
2.0
at
f (t ) = a 1 e
1
F (s) =
s (s + a)
1st (t ) =
C
1 e at
a
1st ( s ) =
C
s (s + a)
253
Torsion spring
spring constant K
T(t)
g
Motor bearings
damping b M
Coupling
Coupling
Load bearings
damping bL
400
2
300
T(t)
bM JM
bL
JL
(t)
rad 200
___
sec
= 393
0.632 = 248
100
We need the time constant and the steady-state value to calculate the eigenvalue, s = a , and the magnitude factor, C. From
Fig.4.94, we estimate the steady-state angular velocity as
( ss ) = 393
rad
sec
We will work with the time constant where, if the eigenvalue is purely real then s= and
1
1
=
=
a
0.5
0.32 sec
1.0
1.5
t, sec
2.0
( ) = ( 0.632) 393
rad
rad
rad
0
= 393
sec
sec
sec
rad
rad
= 248
sec
sec
1st (t ) =
C
1 e at
a
1st (t ) = 393
1st (t ) = 1 e
rad
0.32
1
e
sec
4 Mechanical Systems
254
40
40
n=1
20
20
2nd(t)
rad
___
sec
2nd(t)
rad
___
sec
-20
-40
n=4
-20
0.2
0.4
0.6
t, sec
0.8
-40
0
first ( mt ) =
A
1 e a mt = 1 e
a
first ( mt ) = 393 1 e
m t
0.32
m t
second = m 393 1 e
m
1 y1
4 +
ln
n 1 yn
1 26.1
ln
4 1 9.4
1 26.1
4 2 +
ln
4 1 9.4
2 rad
rad
= 86.1
wd =
0.073sec
sec
The damping ratio is calculated by means of the log-decrement formula, Eq.4.59,
1 = 26.1
wn =
Td = 0.073 sec
rad
rad
and 4 = 9.4
sec
sec
0.4
= 0.054
wd = wn 1 2
0.3
0.2
t, sec
1 y1
ln
n 1 yn
0.1
3Td
rad
sec
86.1
1 0.054
wn =
= 86.2
wd
1 2
rad
sec
impulse
(t ) =
wn
1
e w n t sin w n 1 2 t
impulse (t ) = B
e w n t sin w n 1 2 t
w
1 2
d
wn
255
40
20
2nd(t)
rad
___
sec
-20
-40
0.2
0.4
0.6
t, sec
0.8
s1 =
1
s1 = 3.13
0.32
s2 , s3 = w n jw n 1
series
elements
series
elements
We often wish to simplify a system by replacing two similar elements which are in parallel or in series with a single
equivalent element. What does equivalent mean in this
context? We are dealing with energetic systems. Therefore,
series
elements
Fv13 = Psum
series
elements
Conversely, elements in parallel have the same across variable, Fig. 4.107. Again summing the power dissipated in the
dampers in parallel and the power dissipated in the single
damper in the equivalent system
parallel
elements
s2 , s3 = 4.65 j86.1
Element
Element B
( FA + FB ) v12 = Psum
parallel
elements
b1
b2
F(t)
g
b equiv
F(t)
g
4 Mechanical Systems
256
Fig. 4.106a Linear graph of
a mass-damper system with
damper, b1 and b2, in parallel. b
Linear graph of the equivalent
system with a single equivalent
damper in place of parallel dampers, b1 and b2
b1
b2
F(t)
b equiv
F(t)
g
Fig. 4.107a Linear graph of
dampers, b1 and b2, in parallel
between nodes 1 and 2. b Equivalent single damper replacing the
two parallel dampers between
nodes 1 and 2, bequiv = b1 + b 2
b1
1
parallel
bequiv
1
b2
b1
Fb2 = b2 v12
bequiv
Compatibility:
Elemental:
b2
Fb1 = b1v12
Fb2 = b2 v23
Reduction:
v12 + v23 = v13
Fb1
b1
Fb 2
b2
= v13
Fb
equiv
b1
Fb
equiv
b2
= v13
1 1
+ Fbequiv = v13
b1 b 2 series
bequiv
series
Reduction:
Fb1 + Fb 2 = Fbequiv
Fbequiv = b1 + b 2 v12
bequiv
parallel
257
K equiv
K1
= K1 + K 2
parallel
equiv
series
b1b 2
b1b 2 1 1
+
b1 b 2
Fb
equiv
series
v13
b1b 2
b1 + b 2
K1
1 1
+ Fbequiv = v13
b1 b 2 series
1 1
+ Fbequiv = v13
b1 b 2
b1b 2
Fb
= v13
equiv
Fb
equiv
Fb
equiv
series
Fb
equiv
series
1
v
1 1 13
+
b1 b 2
b1b 2
b1 b 2
b1
v13
equiv
series
b1b 2
b1 + b 2
b1 + b 2
b1 + b 2
b1b 2
b1 b 2
v13
v13
bequiv =
Elemental:
b2
dFK1
dFK2
= K1v12
dt
dFKequiv
dt
dt
= K 2 v12
= K equiv v12
Reduction:
b1 + b 2
equiv
K equiv
b1b 2
Fb
K2
b2
b1
+
Fb = v13
b1b 2 b1b 2 equiv
b1b 2
Repeating the calculation, we can avoid division by combining the sum of ratios as a single ratio over a common
denominator and then multiply both sides by the inverse
ratio
b1 + b 2
K equiv
K2
Fb
b1b 2
b1 + b 2
dFK1
dt
dFK2
dt
dFKequiv
dt
+ K 2 ) v12 = K equiv
(K1
parallel
K equiv
parallel
v12
parallel
v13
b1b 2
b1 + b 2
dFK1
= K1v12
dt
dFKequiv
dt
dFK2
dt
= K equiv v13
series
= K 2 v23
4 Mechanical Systems
258
Reduction:
v13 = v12 + v23
v13 =
1 dFKequiv
1 dFKequiv
v13 =
+
K1 dt
K 2 dt
dFKequiv
dt
1 dFK1
1 dFK2
+
K1 dt
K 2 dt
1
1 dFKequiv
v13 =
+
K1 K 2 dt
1
v
1
1 13
+
K1 K 2
K equiv
M1
M2
M equiv
series
Clear fractions
KK
K1 K 2
K1 K 2
1
= 1 2
=
=
1
1
1
1
K1 K 2
K1 + K 2
K1 K 2 K1 K 2
+
+
+
K1 K 2
K1 K 2
K2
K1
1
dFKequiv
dt
1
1
+
K
K
12
v13
dFKequiv
dt
K1 K 2
v13
=
K
K
+
1
2
K equiv
K equiv
series
M1
Impossible
2
M2
series
series
K equiv
K1 K 2
=
K1 + K 2
Problems
259
Summary
Table 4.6 Translational mechanical systems E = Fx P = Fv
Energetic Attribute Element Eqs.
Energy Eqs.
Customary
Power variable
form
form
Mass
Kinetic energy
storage
dv1g
F = ma
Fm = m
F = K x
F = K x12
dFK
= Kv12
dt
dt
Em =
1 2
mv1g
2
EK =
FK2
2K
Spring
Strain energy
storage
Damper
Ideal viscous
friction
d x12
Fb = bv12
dt
Note use of c
F=c
d 1g
T = I
TJ = J
T = K
T = K12
dTK
= K 12
dt
dt
EJ =
1
J 12g
2
EK =
TK2
2K
Spring
Strain energy
storage
Damper
Ideal viscous
friction
Tb = b 12
Problems
Reminders
1. Draw a linear graph by identifying nodes of distinct values of the across variable, velocity for mechanical systems, on the schematic. A rigid object has a single velocity. Ideal rods, bars, and shafts are rigid and massless.
Identify the two nodes of the across variable associated
with each element in the schematic by identifying nodes
on either end of the schematic symbol, except for translational masses and rotational inertias, Tables 4.6 and 4.7.
Mass and inertia are rigid. They have a velocity node
and an inertial (ground) reference. After identifying two
nodes for each element, eliminate the redundant nodes,
and then label the distinct nodes with numbers, except
ground, which is identified with a g. All ground nodes
are the same velocity.
2. Use nodal notation for the across variable drop and indicate the positive direction of the through variable in the
4 Mechanical Systems
260
Fig. P4.1a System with an
angular velocity source, drag
cup (fluid coupling) and torsion
spring. b Angular velocity input
applied to the system
b
b
(t)
(t)
rad
___
(0+) = 30 sec
t, sec
rad
(0-) = -20 ___
sec
Flywheel
Rotational Inertia J
(t)
rad
(0-) = 40 ___
sec
Fluid Coupling
Damping b
T(t)
Hydrodynamic
Bearing
rad
(0+) = -20 ___
sec
T(t), N m
150
50
0
t,sec
Angular Velocity
Input (t)
t, sec
Problems
Fig. P4.4 a System with an
angular velocity source, drag
cup (fluid coupling) and torsion
spring. b Angular velocity input
applied to the system
261
End of Shaft
Rigidly Attached
Compliant Shaft
Torsional Spring K
(t)
rad
(0+) = 40 ___
sec
Fluid Coupling
Damping b
Angular Velocity
Input (t)
t,sec
rad
(0-) = -20 ___
sec
Flywheel
Rotational Inertia J
T(t),N m
150
50
0
Input Torque
T(t)
t, sec
-100
4.3.b Solve the system equations of part 4.3a for the input
plotted in Fig. P4.3b.
4.3.c Plot the response using Mathcad or MATLAB.
Problem 4.4 A rotational mechanical system consisting of
an angular velocity source, a drag cup (fluid coupling) with
damping coefficient, b = 8 N m sec/rad , and a torsional
spring with spring constant, K = 60 N m/rad, is shown in
Fig. P4.4a. The system has reached steady-state under the
input of (t ) = 20 rad/sec applied at an unknown time,
t < 0, when at time, t = 0, the input angular velocity is
increased to (t ) = 30 rad/sec, as shown in Fig. P4.4b.
4.4.a Derive the system equation that relates the input angular velocity to
i The angular velocity of the across the spring, 2g.
ii The torque acting through the spring, TK.
iii The velocity drop across the drag cup (fluid coupling), 12.
Check the units of the system equations in terms of the power
variables and time.
4.4.b Determine the unit step response and the use superposition to solve the system equations of part a for the
velocity input (t) shown in Fig. P4.4b.
4.4.c Plot the response using Mathcad or MATLAB.
4 Mechanical Systems
262
Fig. P4.6a Angular velocity
source (t) is connected to the
input shaft of a fluid coupling with
damping, b1. The output shaft of
the fluid coupling connects to the
torsion spring, K, the end of which
is free to rotate on bearings with
damping, b2, b Angular velocity
applied to the system by the source
(t)
End of Shaft
Rigidly Attached
(t)
rad
___
sec
Fluid Bearing
Damping b 2
Compliant Shaft
Torsional Spring K
600
400
200
Fluid Coupling
Damping b1
Ideal massless
and rigid bar
t, sec
10
-400
Angular
Velocity
Input (t)
800
x,v
b1
F(t)
K
b2
F(t)
kN 2
0
-2
0.5
1.0
1.5
t, sec
Problems
263
Flywheel mass
moment of inerita J
Fluid coupling
damping b1
Angular
Velocity
Input (t)
Fluid coupling
damping b2
(t)
rad
___
sec
800
600
200
-200
10
t, sec
12
-400
Fig. P4.8b Velocity pulses applied to the system by the angular velocity source (t)
Problem 4.9 A translational mechanical system is modeled as consisting of a velocity source, two dampers,
b1 = 5.0 N sec /m and b2 = 3.0 N sec /m , a spring,
K = 4.0 N/m , and a rigid, massless bar (a force spreader) is
shown in Fig. P4.9a. The bar is constrained to horizontal translation.
Ideal massless
and rigid bar
v(t)
x,v
b
b2
4
2
b1
K
v(t)
m 0 0
___
sec
-2
-4
t, sec
4 Mechanical Systems
264
b
x,v
Lubricating
fluid film
Damping b2
b1
v(t)
m
v(t), ___
sec 3
2
1
0
10
-1
15
t, sec
-2
T(t),N m
Flywheel
rotational inertia J
100
10
ii
iii
1
5
Nmsec
rad
300
200
Torque
input T(t)
b,
400
K,
N m
rad
1,500
J , kg m 2
25
1,500
3,000
30
10
-100
10
15 20
t, sec
25
N m sec
rad
1,000
100
1,000
b2 ,
0.5
0.5
0.5
N m sec
rad
Nm
rad
3,000
3,000
1,500
K,
J , kg m 2
50
50
500
Problems
Fig. P4.12a A rotational system
consisting of velocity source
(t) driving a fluid coupling
with damping b1, a torsion spring
K, and a flywheel supported on
a bearing with damping b2. The
hydrodynamic bearing is represented schematically as a drag
cup. b Angular velocity applied
by the source (t) driving the
rotational mechanical system
265
b
(t) 400
rad 300
___
sec
Compliant shaft
torsion spring K
200
Fluid coupling
damping b1
100
2.5 5.0 7.5 10.0 12.5
Angular velocity
input (t)
t, sec
-200
a
x,v
F(t)
b1
b2
M1
M2
2
1
F(t)
kN 0 0
t, sec
10
20
-1
-2
Fig. P4.14a Velocity source
v (t ) acts on a system of two
masses and two dampers,
b Velocity pulse applied to the
system
b
x,v
v(t)
Lubricating
fluid film
Damping b
2
1
v(t)
___
m 0 0
sec
-1
10
15
t, sec
-2
4 Mechanical Systems
266
Fig. P4.15a Velocity source
v (t ) acts on a systems of two
masses and two dampers. b Velocity pulse applied to the system
b
x,v
v(t)
2
1
v(t)
___
m 0 0
sec
10
-1
15
t, sec
-2
Youngs modulus E
Density
Width b
M
h
Problem 4.16 A cantilevered beam with rectangular crosssection is shown in Fig. P4.16. Attached to the beam is a
cylinder of mass M. The diameter of the cylinder equals the
width of the beam b. The height of the cylinder is twice its
diameter.
4.16.a Determine the undamped angular frequency of the
beam and mass system when they are carbon steel
and L=40 mm, b=5 mm, and h=1 mm.
4.16.b Determine the undamped angular frequency of the
beam and mass system when they are carbon steel
and L=50 mm, b=10 mm, and h=1 mm.
4.16.c Determine the undamped angular frequency of the
beam and mass system when they are aluminum
6061 and L=50 mm, b=10 mm, and h=1 mm.
Problem 4.17 A rotational mechanical system consisting
of a torque source driving a shaft with a flywheel is shown
in Fig. P4.17. The shaft and flywheel are carbon steel. The
shaft is solid and has a circular cross-section. It is sup
T(t)
b
A
f
a
b
c
d
Plan
Section A-A
Problems
267
a (in.)
1.5
2
3
b (in.)
3
4
5
c (in.)
18
20
30
d (in.)
20
24
36
e (in.)
0.5
0.5
0.5
f (in.)
2
3
4
L (ft.)
10
20
30
Problem 4.18 A test was performed to determine the energetic element parameters of translational mechanical system
shown in Fig. P4.18a. The system was de-energized before
it was subjected to a step input of force, F (t ) = 100.0 N us (t ).
The velocity of its point of application of the force on the
ideal massless and rigid bar was measured. The data are presented in Fig. P4.18b and Table P4.18.
Determine the damping coefficient b and the spring constant K. Report your results in the correct SI units.
Problem 4.19 A machines energetic attributes are modeled
as a mass moment of inertia J supported on an ideal, rotational damper b, Fig. P4.19a. A test was performed in which
a step input torque of 1,000N-m was applied to the system
and the angular velocity of the inertia measured, Fig. P4.19b
and Table P4.19. Determine the magnitudes of the inertia J
and the damping coefficient b. Interpolate if necessary. Report your results in the correct SI units.
x,v
K
F(t)
v(t)
m
___
sec
Time (sec)
0.0
0.5
1.0
1.5
2.0
2.5
3.0
Velocity
(m/sec)
4.000
3.023
2.285
1.727
1.305
0.986
0.745
2
1
0
Ideal massless
and rigid bar
Time (sec)
3.5
4.0
4.5
5.0
3.5
5.5
6.0
Velocity
(m/sec)
0.563
0.426
0.322
0.243
0.563
0.184
0.139
Time (sec)
6.5
7.0
7.5
8.0
8.5
9.0
9.5
10.0
t, sec
Velocity
(m/sec)
0.105
0.079
0.060
0.045
0.034
0.026
0.020
0.015
10
4 Mechanical Systems
268
Fig. P4.19a Rotational
mechanical system, b Angular
velocity of the mass moment of
inertia J
b
T(t)
Hydrodynamic
Bearing
(t)
rad
____
sec
1.5
1.0
0.5
0.0
Table P4.19Angular
velocity data
t, sec
Time (sec)
1g(kRPM)
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.00
0.16
0.29
0.41
0.52
0.61
0.69
0.76
0.82
0.87
0.92
0.96
1.00
1.03
1.06
1.08
1.10
1.12
1.14
1.15
1.16
1.17
1.18
1.19
1.20
1.21
1.21
1.22
1.22
1.22
1.23
1.23
1.23
1.23
1.24
1.24
1.24
1.24
1.24
1.24
1.24
1.24
1.25
1.25
1.25
1.25
1.25
1.25
1.25
1.25
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00
1.05
1.10
1.15
1.20
1.25
1.30
1.35
1.40
1.45
1.50
1.55
1.60
1.65
1.70
1.75
1.80
1.85
1.90
1.95
2.00
2.05
2.10
2.15
2.20
2.25
2.30
2.35
2.40
2.45
Abstract
Fluid and electrical systems are important means of transmitting, transforming, and converting power in mechanical design. Fluid and electrical systems are networks, naturally
represented by the linear graph method. Everyday experience with fluid flow provides a set
of analogies to aid in understanding electrical systems. The only significant discrepancy
of the analogies is the network representation of fluid and electrical capacitances. Thermal
system phenomena are presented without entropy generation or flow. The focus of these
presentations is to model the removal of waste heat from mechanical, electrical, and fluid
systems. As a result, heat engines are absent. Heat transfer is modeled instead as a potentialdriven flow, similar to low velocity (seepage) fluid flow.
K. A. Seeler, System Dynamics, DOI 10.1007/978-1-4614-9152-1_5, Springer Science+Business Media New York 2014
269
270
Q(t)
Q(t)
p
Fig. 5.1 Pressure nodes p1 and p2 and the positive direction of fluid
volume flow rate Q through a pipe, tube, or hose
Laminar flow
Parabolic velocity profile
P = p12 Q
(5.1)
Q(t ) = Av(t )
(5.2)
Slug flow
Uniform velocity profile
m3
Q =
sec
(5.3)
A cubic meter is an awkwardly large volume to use in machine design. For a sense of scale, the mass of a cubic meter
of water is 1,000kg per metric ton. So, why use SI? In US
customary units, volume flow rate is expressed in units of
gallons per minute, abbreviated as GPM. However, US customary units for pressure, whether as pounds per square inch
(psi) or pounds per square foot (psf), are not derived from
gallons. One must convert gallons to either cubic inches or
cubic feet, for most calculations. For example, in the USA,
fluid power pumps are described by their flow rate in GPM
and outlet pressure in psi. In order to calculate a pumps
power in US customary units, one must convert gallons to
cubic feet and psi to psf, in order to yield power in units of
foot pounds per minute. The calculation is much more direct
in SI units
[ P ] = [ pQ ] = N2 m = Nm = Joule = Watt
m sec sec sec
(5.4)
SI also eliminates the need to calculate mass from weight.
We can dispense with having to remember the gravitational
constant in a variety of combinations of US customary units.
Finally, in the case of a hybrid system with an electrical subsystem, conversion to SI is required, because electrical units
of volts and amperes are SI.
Most mechanical engineers understand low-frequency
electrical systems by the fluid analogies. Fluid pressure is
analogous to electrical voltage. Fluid volume flow rate is
analogous to electrical current. The only significant difference between network representations of electrical and fluid
systems is that fluid capacitors must be referenced to atmospheric pressure, or some other ground pressure, whereas
electrical capacitors do not.
271
Pressure
Drop, p
Pressure
Drop p12
Operating Range
+/-p
Operating Point
Q 0, p0
Operating Range
+/-Q
p0
1
Q0
p12 = RQR
(5.5)
( v ) = 0 v n
(5.6)
p12 = R QR + p0
(5.7)
where the term, QR, is a deviation above or below the operating point, Q0. Notice that this relationship cannot be inverted to calculate QR, since the expression does not contain
Q0. The expression yielding QR is
QR =
p12
R
+ Q0
(5.8)
M = AL
(5.9)
272
Density
F2 = p2 A
p
Pressure
dv
F = AL
dt
The power variable, Q, volume flow rate, is related to the assumed uniform velocity of the flow. The volume of fluid flowing at velocity v, that passes through a plane, normal to the
flow of area A, in a period of time, t, is volume V = Av t ,
Fig.5.7.
Hence, the volume flow rate, QI, is
Volume
= QI = Av
t
(5.10)
v=
QI
A
(5.11)
Pr essure
= Ma
Q
d I
A
p12 A = AL
dt
p12 = I
dQI
dt
p12 =
L
A
(5.13)
E Kinetic =
EI =
1 A 2
QI
2 A
1 2
IQI
2
(5.14)
p12 A = AL
I=
dv
F=M
dt
Q(t)
Area A
M = AL
Volume
F = Ma
Velocity
Q(t)
Area A
F1 = p1 A
t2
t1
Length L
dv
dt
L dQI
A dt
(5.12)
273
pg
QC = C
dp2 g
dt
Pressure
p1g A slug
(5.15)
where C is the fluid capacitance. Note that pressure is measured relative to atmospheric or ground pressure in the elemental equation of a fluid capacitor. The voltage in an
electrical capacitor is measured across the capacitor. As capacitance C increases, more fluid volume in or out of it is
required to change pressure at a given rate.
In general, both the fluid and the components which contain the fluid are elastic and can store strain energy. These
strain energies are calculated independently. First consider
the fluid to be incompressible, and calculate the strain energy
stored in the components containing the fluid. Then, consider those components as rigid and calculate the strain energy
stored in the fluid. Gravitational potential energy storage is
usually insignificant in hydraulic systems in machines because the hydraulic pressures (on the order of 2,500psi) are
so much larger than the gravitational pressures. Gravitational
potential energy storage is important in water systems, both
within a building and in a municipal distribution system.
FNet
Area A
Density
The mechanical work done to push the fluid slug into the
standpipe is
x,v
H
p2g A slug
p1
p2
W
= FNet
Pressure
(5.16)
dW
P
= p12 Aslug v = p12 QC
dt
(5.17)
d ( MassStored )
dH
dt
dt
(5.18)
(5.19)
p2 g = gH
(5.20)
274
v2
QC
p1
x, v
p1g
p1g A
v3
FK
pg
Piston Area A
g
dH
A
g
dt
QC =
A
dH
g
g
dt
A dp2g
QC =
g dt
Pressure Cylinder
C=
A
g
A2 dp1g
QC =
K dt
QC
A
Hydraulic Lines
(5.22)
Low pressure
valve
(5.21)
Bladder
Hydraulic
Oil
The coefficient term multiplying the time derivative of pressure fluid is the fluid capacitance,
N2 Gas
d p1g A
dt
)=KQ
(5.23)
C=
A2
K
(5.24)
The spring used in a fluid accumulator may be a conventional compression spring. An alternative design is to use a
diaphragm, rather than a piston, and high pressure gas, typically nitrogen, as the spring, Fig.5.11. A component may
act as an unintentional fluid capacitor, if it exhibits sufficient
elastic deformation when filled with a pressurized fluid. A
common example is a garden hose. Many garden hoses expand significantly when pressurized, causing a delay in delivery of water from the hose. A significant amount of strain
energy is stored in the hose, even under the relatively low
pressure of a residential water system of approximately
50psi. The energy is released when the tap is closed, allowing water to continue to flow out of the hose.
The energy equation for this fluid capacitor can be derived from the energy storage equation for the spring
EK =
FK2
2K
EK
( Ap )
=
1g
2K
1
2
EC = C p12g
EC =
1 A2 2
p1g
2 K
(5.25)
275
Volumetric Strain
dp =
(5.27)
= E
(1.3)
dL
L
QC = Vol
d ( MassStored )
dt
d
dt
p1
pg
Rigid container, volume Vol
Compressible fluid, bulk modulus
Fig. 5.12 Increasing fluid pressure within a rigid container stores strain
energy in a compressible fluid
(5.26)
QC
QC = Vol
dp1g
dt
Vol dp1g
QC =
dt
(5.28)
C=
Vol
(5.29)
276
Fig. 5.13a An industrial stationary fluid power unit driven by a
three-phase AC motor. The pump
is below the motor in the tank.
b A fluid power unit modeled
as a pressure source represented
schematically
b
Vent to
atmosphere
P(t)
Pump
High pressure
Output from pump
Low pressure
Return to tank
Tank. Hydraulic
fluid reservoir
High pressure
Discharge
Atmospheric
pressure Return
Fluid
Reservoir
Vent to
atmosphere
Q(t)
Pump
277
High pressure
Discharge
R internal
High resistance
internal by-pass
Fluid
Reservoir
Atmospheric
pressure Return
Fig. 5.14 Fluid power unit, modeled as a volume flow rate source. A
high-resistance internal bypass between the pump discharge and the
tank allows the pump to run, when the system does not accept flow
vent to
atmosphere
P(t)
Pump
R1
R2
Fluid
Reservoir
278
Fig. 5.16a Nodes of distinct
pressures. b Linear graph of the
fluid system
b
C
P(t)
vent to
atmosphere
1 R1
Pump
Fluid
Reservoir
R1
p(t)
R2
R2
g
g
Fluid
Reservoir
Ball valve
Closed
discharge of the reservoir, a fluid resistance R, a fluid inertance I, a fluid capacitance C, and second ball valve to drain
the system. A ball valve can be modeled as having negligible resistance, when it is fully open, because the flow path
through the valve is straight, circular in cross-section, and of
the same diameter as the pipes or tubes it is connected to. In
this system, we will model open ball valves as having zero
fluid resistance.
Identify nodes of distinct pressure on the schematic,
Fig.5.18. The pressure at the discharge port of the fluid reservoir extends to the ball valve, when it is closed, and to the
fluid resistance R when the ball valve is open. As we are interested in the dynamic response when the ball valve is open,
lets take a look at the latter case. Pressure drops across the
fluid resistance, R, in the direction of the fluid flow. Hence,
pressure node 2 is immediately to the right of the fluid resistance. The fluid inertance I, must have pressure nodes at
either end. Node 2 is the pressure node for the left end of the
fluid inertance. Node 3 for the right end of the inertance is
in the fluid capacitance, which is connected to the fluid inertance by an ideal pipe.
Create the linear graph by drawing and identifying the
nodes. Next, draw the branches between them, per Fig.5.19.
This system is the fluid analog of the series RLC electric circuit of Sect.1.5.2.2. Most mechanical engineering
students find the fluid analogy with electric circuits helpful,
particularly as an aid for understanding electrical inductance,
the electrical analog of fluid inertance. This fluid system is
of second order, because the fluid inertance and the fluid
capacitance are independent energy storage elements. Con-
Ball valve
Open
Fluid
Reservoir
1 R2
3
I
Fig. 5.18 Fluid system with nodes of distinct values of the across variable, pressure
p(t)
Fig. 5.19 Linear graph of the fluid system shown in Figs. 5.17 and 5.18
sequently, its homogeneous, or natural, response can be oscillatory. The flow can slosh back and forth. Whether water
sloshes in a bucket depends on the relative amounts of power
dissipated in the fluid resistance and stored in the fluid inertance and capacitance.
Consider the initial condition of the ball valve on the reservoir as closed and fluid level in the capacitance below that
of the fluid reservoir, shown in Fig.5.17. If the ball valve
is opened quickly, the system experiences a step change in
pressure at node 1. How much flow is there in the system
at time, t = 0+, the instant after the valve is opened? Zero.
The mass of fluid in the fluid inertance must be accelerated
by the net pressure force between nodes 2 and 3. If the fluid
resistance is relatively low, then the flow through the inertance can build up to a torrent, storing a significant amount
of kinetic energy. On the other hand, if the resistance is relatively large, the volume flow rate in the inertance will not be
279
C
P(t)
vent to
atmosphere
R1
R1
Pump
R2
p(t)
R2
Fluid
Reservoir
Fig. 5.20 Fluid system schematic with a fluid power unit, modeled
as a pressure source, two fluid resistances, inertance, and capacitance
P(t)
vent to
atmosphere
1 R1 2
Pump
Fluid
Reservoir
C
3
R2
Fig. 5.21 Nodes of distinct values of the across variable pressure indicated on the schematic
Fig. 5.22 Linear graph of the fluid system shown in Figs.5.20 and
5.21
node for the left end of the fluid inertance, I. The third pressure node is in the fluid capacitance, C. The fluid capacitance
is connected to the right end of the fluid inertance and the
top of fluid resistance, R2, by ideal pipes, so those locations
are also part of node 3. The pipe connected to the bottom of
resistance R2 has no properties and, thus, no pressure change
along it. The left end of the pipe discharges into the fluid
reservoir, which is at atmospheric or ground pressure, g.
The same pressure node extends along the pipe to the bottom
of resistance, R2.
Create the linear graph by first drawing and labeling
the nodes. Then, add the branches between their associated
nodes. Define a positive direction for the through variable,
volume flow rate. Sources are special, in that they raise the
value of the across variable, pressure, in the positive direction of the through variable. There is a decrease, or drop, in
the across variable, pressure, across resistances and energy
storage elements in the positive direction of the through variable, Fig.5.22.
280
P(t)
vent to
atmosphere
Pump
P(t)
a
1
Rp
R
g
Fluid
Reservoir
Fig. 5.23 Fluid system with two energetic properties, fluid resistance
and inertance, in one physical component, the long pipe
Pump
vent to
atmosphere
Fluid
Reservoir
Fig. 5.25 A fictitious pressure node in the pipe has no physical location. It divides the pressure drop, p13, into one pressure drop due to fluid
resistance and another pressure drop due to fluid inertance
I
2
R
I
281
R1
p(t)
R2
p(t)
R1
R2
R1
p(t)
Fluid Accumulator
Capacitance C
R2
Fig. 5.29 Linear graph of the fluid system shown in Figs.5.27 and
5.28
Hydraulic Line
Inertance I and
Resistance R 2
Fig. 5.27 A fluid system with a fluid power unit modeled as a pressure
source. Both hydraulic lines have resistance. One has resistance and
inertance.
Sill Tap
p(t)
Hose
Inertance I
Resistance RH
Capacitance C
Nozzle
Resistance R N
Hydraulic Line
Resistance R1
Hydraulic Line
Inertance I and
Resistance R 2
Fluid Accumulator
Capacitance C
Fig. 5.28 Schematic annotated with pressure nodes. The fluid capacitance has a distinct pressure, as do the pumps outlet and return ports.
Node 3 is a fictitious node, which divides the pressure drops due to the
distributed properties, inertance I and fluid resistance R2
Fig. 5.30 Garden hose attached to sill tap, which is connected to the
residential water system, modeled as a pressure source
282
Hose
Inertance I
Resistance RH
Sill Tap Capacitance C
p(t)
RH
b
1
RH1
I1
EC = Cpxg2
where subscript x indicates the unknown location for the
lumped fluid capacitance. Capacitance is pressure-dependent
energy storage. The lumped capacitance cannot be located at
the sill tap, modeled as a pressure source. If we were to connect the capacitance to the pressure source, a step change
in pressure would instantly fill the capacitance, requiring an
infinite volume flow rate and an infinite fluid power flow.
There must be a fluid resistance or inertance between a pressure source and a fluid capacitance, to limit the volume flow
rate and power flow into the capacitance to finite levels.
Since there must be a fictitious node between the hose resistance and inertance, we will connect the capacitance there.
The schematic with nodes and a corresponding linear graph
is shown in Fig.5.31.
The linear graph of Fig.5.31b can be improved, at a cost
of increasing the number of elements. We can divide the
RH 2
I2
RN
p(t)
Nozzle
Resistance RN
RN
p(t)
Hose
Inertance I
Resistance RH
Capacitance C
Sill Tap
p(t)
Nozzle
Resistance R N
5.4 Calculating Fluid Element Parameters from Fluid Properties and Geometry
Table 5.1 American Petroleum Institute (API) Engine Oil
Classifications 2004. (Source
SAE J300). W (from Winter)
indicates the low temperature
viscosity
Low-shear rate
High-shear rate
SAE
Viscosity Minimum kinematic viscosity Maximum kinematic viscosity Maximum viscosity
rating
mm 2
mm 2
at 100C
atv 100C
1cP = 1mPa sec at 150C
cSt =
cSt =
sec
sec
0W
5W
10W
15W
25W
20
30
40
3.8
3.8
4.1
5.6
5.6
9.3
5.6
12.5
<9.3
<12.5
<16.3
40
12.5
<16.3
50
80
16.3
21.9
<21.9
<26.1
2.51
= 2 log D +
3.7 Re f
f
283
where roughness
(5.30)
Published design values for the roughness of steel piping, tubing, and hydraulic hose vary considerably. Cited values for
new steel piping or tubing have ranged from = 0.0006 in.
to an order of magnitude lower at = 0.00006 in. The span
of published values for new hydraulic hose is greater, from
= 0.001 in. to = 0.0003 in. This variation reflects the fact
that hydraulic hose is a manufactured product, whereas steel
tubing is a processed material. The roughness of the interior
2.6
6.9
2.9
(0W-40, 5W-40, 10W-40)
3.7
(15W-40, 20W-40, 25W-40, 40)
3.7
3.7
284
L
A
dp4 g
dt
QC dt = Cdp4 g
Vol = C p4 g
p2
p1
C=
C=
Vol
p4 g
t2
p2
t1
p1
QC dt = C dp4 g
Vol
p4 g2 p4 g1
(5.31)
285
a
1
Fig. 5.33a Fixed resistance metering or flow control valve, b Adjustable metering valve
b
1
2
3
Flow
c
No Flow
2
3
Fig. 5.35 Three-position spool valve. The schematic symbol for each
position is shown to the left. A cross-section through the valve is shown
on the right. a Flow from port one to port two. b All ports blocked.
cFlow from port two to port three. In practice, all valve positions are
shown on schematic as in Fig. 5.36
286
Fig. 5.36 Schematic symbol for the three-position spool valve shown
in Fig.5.36. The schematic symbol shows the flow control for each
position of the spool
287
Fluid resistance
p12 = RQR
Electrical resistance
v12 = RiR
Fluid capacitance
Electrical capacitance
QC = C
dp1g
dv12
dt
1 2
EC = Cv12
2
iC = C
dt
1
2
EC = Cp12g
Through-variable
Energy storage
Fluid inertance
p12 = I
EI =
Electrical inductance
dQI
dt
v12 = L
1 2
IQI
2
EL =
diL
dt
1 2
LiL
2
positive charges, respectively. The magnitude of the elemental charge was determined by Millikan, who quantified the electric force acting on miniscule oil droplets
falling between charged plates.
The unit of electric charge is the coulomb, C, which
is defined in terms of the flow of an electric current in
amperes as
ampere
coulomb
second
(5.32)
volt
kg m 2
sec3 ampere
(5.33)
kg m 2
sec3 ampere
kg m
1
volt =
m
2
sec ampere
sec
Felec =
1 q1q2
r12 newtons
4 r12 2
(5.36)
where is the electrical permittivity, a property of the material between the charges. The factor, 4, was included to
aid calculations, since an inverse square law force incorporates spherical geometry. The permittivity of free space, a
vacuum, is
0 = 8.85 10 12
coulomb 2
N m2
(5.37)
N m2
coulomb 2
(5.38)
which yields
1
4 0
= 9 109
Fmag = q v B
(5.39)
1
volt = N m
coulomb
(5.34)
(5.35)
Fmag = q v B sin
(5.40)
288
farad
volt
volt
farad
coulomb
ampere second
(5.41)
henry
volt
volt second
=
ampere
ampere
second
(5.42)
289
60 ft of 24 AWG
solid copper wire
1.5 VDC
1.5 VDC
copper =
1.7 10 8
m
copper =
5.9 107
m
1
7
= 5.9 10 siemens
m
Length
copper Area
1m
0.020 in
= 2.03 10 7 m 2
4
39.37 in
290
Equivalent resistance
of 60 ft of 24 AWG
solid copper wire
1.2
i R1
i
3V
Energetic Equations
Continuity: Node 1 i = iR1 Node 2 iR1 = iR2
Compatibility: v13 = v12 + v23
Elements: v12 = R1iR1 v23 = R2 iR2
Energy: No energy storage elements.
Reduction Input: v13 = 3VDC, Output: v23
i R2
Length
18.3 m
=
7
Area 5.9 10 siemens
7
2
2.03 10 m
m
18.3 m
1
5.9 107
2.03 10 7 m 2
Rwire =
v
3 VDC = R1 23 + v23
R2
R1 + R 2
3 VDC =
v23
R2
R1
+ 1 v23
3 VDC =
R2
R2
v23 =
3 VDC
R1 + R 2
2
3 VDC =
3 VDC = 1.7 VDC
v23 =
1.5 + 2
R1 + R2
Rwire =
Rwire =
Length
= 1.5
Area
291
iC
iC
Parallel Plate
Non-Polarized
Adjustable
Non-Polarized
Electrolytic
Polarized
Fig. 5.41 Capacitor symbols. aThe parallel plate symbol is used for
non-polarized capacitors. b An arrow through an electrical symbol indicates the device is adjustable. c An electrolytic capacitor. The curved
line is the negative terminal, the cathode
non-analogous aspects. First, fluid capacitors must be referenced to the environments ground pressure, usually atmospheric pressure. There is an absolute measure of zero pressure, a perfect vacuum. It is impossible to draw fluid from a
perfect vacuum. Conversely, there is no absolute measure of
voltage. Voltage is always relative. Measurements of voltage
may be made relative to chassis ground, which is the ground
used by a power supply in an electrical or electronic device.
Voltage measurement may also be made relative to earth
ground, which is usually the ground of the buildings electrical wiring. The reference used to calculate the energy stored
in the capacitance is the difference in voltage between the two
plates.
The second difference between fluid and electrical capacitance concerns their through variables. The through
variable of a fluid capacitance, volume flow rate, does not
flow through the capacitance. The fluid is either temporarily
stored in the capacitance, as in the case of a fluid accumulator, or the hose, tube, or pipe is strained creating a temporary increase in volume. Electrical capacitors have a flow of
positive charge in the positive direction to the positive plate,
and negative charge in the negative direction to the negative
plate. The negative signs of the charge and the direction of
the charge flow cancel, leaving an apparently positive current flowing across the gap between the plates. This current
is displacement current. Maxwell conducted experiments
which demonstrated that displacement current has all of the
magnetic effects associated with conventional current.
292
iL
v1
v2
iL
vacuum, has magnetic permeability. Ferromagnetic materials, iron, nickel, cobalt, and their alloys, increase the strength
of a magnetic field, due to the alignment of the spin axes
of their atoms with the applied magnetic field. Ferrite is a
ferromagnetic ceramic. Its ceramic aspect makes its electrical conductivity very low, which is desirable to reduce the
eddy currents induced by time varying, or moving, magnetic fields. Eddy currents heat the conductors, in which they
are formed. Temperature of the motor conductors is generally the factor, which limits the current and, hence, power an
electric motor can produce.
This coupling is called the flux linkage, and is given
symbol (Greek for l as in linkage). The flux linkage between a magnetic flux and a coil is proportional to the
number of turns of wire in the coil, N, the flux flows through
or threads (as in threading the eye of a needle) or links
(as in links of a chain).
= N
(5.43)
= Li
(5.44)
v12 = L
di
dt
(5.45)
293
d
= v12
dt
(5.46)
= N = Li
(5.47)
Li
N
(5.49)
The relationship between the strength of an externally applied magnetic field and the magnetic flux in the core of an
inductor (Eq.5.50) is analogous to the relationship between
the voltage applied to an electrical resistance and the current
through the resistance
Ni mmf = R
(5.50)
R =
Length
Area
(5.51)
b
L
N2
L
iL
iL
(5.48)
Fluid
inertance
p12 = I
EI =
dQI
dt
1 2
IQI
2
Electrical
inductance
v12 = L
EL =
diL
dt
1 2
LiL
2
The analogy between electrical inductance and fluid inertance is very helpful, Table5.3.
The fluid inertance element represents the kinetic energy
storage, which results from the motion of fluid. A net pressure force is needed to accelerate or decelerate a mass of
fluid. Time is needed to change the amount of stored kinetic
energy, thereby changing the energy storage variable velocity. Electrical inductance is the magnetic energy storage,
which results from the motion of charge carriers (current).
A voltage is needed to increase or decrease a current. Time
is needed to change the amount of magnetic energy stored,
which changes the energy storage variable current. A typical
inductor is a coil of high conductivity copper wire wrapped
around a ferromagnetic core, such as iron, electrical steel,
or ferrite, which acts to enhance the magnetic field.
Inductance is counter-intuitive, unless an inductor is
viewed as an energy storage element. In steady-state, a coil
of copper wire has little resistance to the flow of current. In
the case of an ideal inductance, the coil has zero resistance
to the flow of current in steady-state. There is transient or
dynamic resistance which represents the flow of energy into
or out of the magnetic field created by the current. A voltage applied to a coil cannot instantaneously create a current
because the current through the coil is the energy storage element. A voltage applied to a coil leads to a rate of change in
the current through the coil, just as a force applied to a mass
leads to a rate of change in the velocity of the mass.
294
V1
C
g
V2
Capacitance, C
2
+
v(t)
C
g
Resistance R1
Voltage source
Coil around ferrite core with
Induction L and Resistance R 2
our perspective to what is often referred to as thermal management, which is the removal of waste heat from machines
and devices. Thermal management is an essential aspect of
machine design, because a temperature increase due to the
accumulation of energy dissipated as heat limits the operating range of a device.
295
Capacitance, C
R2
R1
v(t)
Resistance R1
Voltage source
2
Coil around ferrite core with
Induction L and Resistance R 2
We shall see that thermal capacitance and fluid capacitance have similar restrictions due to their direct reference to
their ground. Charge, fluid, and heat are stored in capacitances. However, the energy stored in an electrical or fluid
system is calculated as the square of the voltage or pressure,
respectively. The quantity of heat stored in a thermal capacitance is proportional to the temperature, not to the temperature squared. As such, thermal capacitance is mathematically analogous to storing energy, by elevating mass against
gravity.
5.8.2.1Conduction
Conductive heat transfer is the movement of heat by the
transfer of atomic or molecular kinetic energy between
neighbors in a static system. Fouriers law of heat conduction, Eq.5.52, describes heat flow:
q = k
d
dx
(5.52)
The thermal conductivity of a single, homogeneous material is a specific property, which describes the rate of heat
flow q through a unit area normal to the heat flow path, per
unit length along the path for a unit temperature gradient,
-d/dx, in the direction of the heat flow. The conversion from
US customary units to SI is:
Thermal conductivity k : 1
Btu ft
W
= 1.730
hr ft 2 o F
m oK
Btu
W
= 5.674 2
2 o
hr ft F
m K
5.8.2.2Convection
Convective heat transfer is the movement of heat with the
movement of a fluid. Convective heat transfer combines
conduction of heat through fluid, and the movement of heated fluid. The division between the two mechanisms depends
on the thermal conductivity of the fluid, the heat capacity of
296
Perfect Insulation
No heat flow
Heat Flow
Rate
Material 1
Material 2
Fig. 5.47 Heat conduction through two materials with different thermal conductivities. The thermal conductivity of Material 1 is less than
that of Material 2
the fluid, mixing of the flow, and the speed of the flow. If the
flow is turbulent, as is assumed for the flow of fluids in dynamic systems, then the mixing of heated fluid is thorough,
and the temperature is uniform over a cross-section in the
pipe, tube or hose, at a distance from where the heat entered
the fluid.
Convective heat transfer is classified as either free or
forced convection. Free convention occurs when the motion of the fluid against the higher temperature surface is due
to temperature dependence of the fluids density. Generally,
fluids become less dense with increasing temperature, as the
increased kinetic energy of their atoms or molecules increases the mean distance between them. The buoyancy of regions
of higher-temperature fluid causes it to float. The convective
motion allows the liquid at a heated surface to be replaced by
denser, colder fluid. Convective cells can be seen in water
being heated in a pan. Free convection is also noticeable in
the early morning, as the sun heats moist surfaces. The rising
mist is free convection.
Forced convection occurs when a pump or fan forces or
drives fluid motion against a heated surface. Early, coal-fired
central heating systems often relied on free convective flow.
Modern central heating systems have forced convection of
either heated air or water. Forced convection is clearly more
involved than free convection. The expense of the additional
hardware is offset by the increased efficiency of heat transfer
Fig. 5.48 Heat flow from fluid
1 through solid materials 1 and
2 into fluid 2. The heat transfer
through the thermal boundary layers in fluids 1 and 2 is
described by the film coefficients
for the two fluidsolid interfaces
5.8.2.3Radiation
The heat radiated from a blackbody, an ideal radiator, with
surface area A through a hemisphere, qhemisphere, is described
by the StefanBoltzmann Law:
qhemisphere = A 4
Perfect Insulation
No heat flow
1
q
(5.53)
Solid
Material 2
Heat Flow
Rate
Fluid 1
Thermal
Boundary
Layer
Solid
Material 1
4
Fluid 2
Thermal
Boundary
Layer
297
Perfect Insulation
No heat flow
1
q
Heat Flow
Rate
Stainless
Steel
Surface Area
A = 48 ft 2
where T is the absolute temperature of the surface in degrees kelvin, and is the StefanBoltzmann constant,
= 5.67 108 W/(m 2 K 4 ).
The StefanBoltzmann law describes the radiation of heat
from a surface. That surface will also receive radiated heat
from other surfaces. The net radiative heat transfer between
two surfaces at different temperatures is the difference between the heated radiated from the surface, and the heat radiated to the surface, which was absorbed by the surface and
not reflected. The amount radiated will, in general, differ
from the ideal blackbody, and is corrected by the emissivity, , of a surface. Likewise, the fraction of the radiation
striking the surface which is absorbed will differ, and is corrected by the absorbance, .
and
12 = Rthermal qRthermal
(5.54)
Aluminum
2 in
0.5 in
Rthermal =
L
k A
(5.55)
Btu
Btu
and k Al = 119
o
hr ft F
hr ft o F
k SS
298
W
Btu
W
m oK
k Al = 119
= 206
o
Btu ft
hr ft F
m oK
1
hr ft 2 o F
1.730
144 in 2 2.54 cm 1 m
A = 48 ft 2
= 4.459 m 2
1 ft 2 1 in 100 cm
The thermal resistances are:
RSS =
RAl =
o
0.0127 m
K
= 1.65 10 4
W
W
17.3
4.459 m 2
m oK
o
0.0508 m
K
= 5.53 10 5
W
W
2
206
4.459 m
m oK
The single equivalent thermal resistance for the thermal resistances, RSS and RAl, in series is the sum of those resistances.
Requiv = RSS + RAl = 1.65 10 4
o
K
K
+ 5.53 10 5
W
W
Requiv = 2.20 10 4
K
W
cp = 1
Btu
kJ
= 4.184
o
lb m F
kg o K
Cp = M cp
(5.56)
where the subscript, p, stands for constant pressure. The specific heats of solids and fluids are functions of their tempera-
(5.57)
ture, making the property non-linear. We customarily linearize the property, by using a representative value from within
the operating range. The heat capacity of an object is the
product of its specific heat, cp, times its mass, M:
(5.58)
EC = C p
p
Note the energy stored in a thermal capacitance is proportional to the change in temperature, not the change in the
temperature squared. The reason is that heat flow is power.
In all other types of systems, power is the product of the two
power variables of that system. In the energy storage equations, one power variable has been eliminated by an expression written in terms of the other, resulting in that variable
being squared.
The heat capacity of a heterogeneous object is the sum of
the heat capacities of the masses of materials, which comprise the object.
Psource Pb = Pb
1
299
b1
teslas
b2
F(t)
g
H ______
meter
dynamic models, because dry friction is a non-linear phenomenon. The friction force must reverse direction, when
the relative motion reverses direction. Modeling dry friction
requires numerical methods. An algorithm for dry friction is
presented in Chap.8.
Fluid energy is dissipated as heat, due to viscous shear.
Although all real fluids have viscosity, the effect of viscosity
on the flow of fluids in a dynamic model is represented by
fluid resistances. All power which flows into a fluid resistance is dissipated as heat.
Electrical energy is dissipated as heat, by electrical resistance. All power which flows into an electrical resistor is dissipated as heat. Magnetic hysteresis is the energy lost during
the cycle of creating and destroying a magnetic field in a
ferromagnetic material, such as the iron of an electric motor.
It is a significant source of heating in many motors. Magnetic
hysteresis is commonly included with the resistive heating
of motors, because both are a function of the current flow
through the motor.
300
Fig. 5.52 Thermal system divided into five regions, each with a
thermal capacitance between the
center temperature node of the
region and ground temperature
Perfect Insulation
No heat flow
q in
Heat Flow
Rate
1
0.0127 m
5 K
=
= 8.23 10
W
2
W
2
17.3 m o K 4.459 m
lb
Btu
and SS = 488 m3
lb m o F
ft
4.184
Btu
kJ
kg o K
= 0.11 o
= 0.46
Btu
lb m F
kg o K
lb o F
m
3
SS = 488
c pAl
lb m 0.454 kg 1 ft 1 in
kg
= 7,820 3
ft 3 lb m 12 in 0.0254 m
m
kJ
4.184
Btu
kJ
kg o K
= 0.214 o
= 0.895
Btu
lb m F
kg
oK
1 lb o F
m
RAl
RAl
8
2 in
The specific heat and density of stainless steel (18 Cr, 8 Ni)
are:
c pSS
0.5 in
1
0.0508 m
6 K
RAl =
= 6.91 10
W
8
W
2
206 m o K 4.459 m
c pAl
Aluminum
Similarly, the resistance of one of the eight 2-in. thick aluminum layers is
Stainless
Steel
c pSS = 0.11
RAl RAl
RAl
RAl
RAl
3
Surface Area
A = 48 ft 2
RSS1 = RSS2
RSS
RSS
Al = 169
RAl
10
11
qout
lb m 0.454 kg 1 ft 1in
kg
= 2, 710 3
ft 3 lb m 12 in 0.0254 m
m
m
1 in
C pSS = Mc pSS = 443 kg 0.46
kJ
kg o K
C pSS = 204
kJ
K
m
1 in
kJ
kJ
C pAl = Mc pAl = 153 kg 0.895 kg o K C pAl = 137 o K
The linear graph of this model is shown in Fig.5.53.
The linear graph is intimidating, but it can be easily reduced by the state-space method introduced in Chap.7. The
state-space method can deal with multiple inputs. There are
two temperature sources in the linear graph to specify the
surface temperatures on ends. The reduction of this linear
graph to a system of state equations and their solution comprise Problem 7.20 of Chap.7.
R ss1
301
Rss 2
R al 1
Css
1(t)
R al2
R al 3
Ral 4
C al1
Cal 2
Ral 4
R al 5
Ral 6
R al 7
10
Cal 3
Cal 2
Ral 8
11
Cal 4
2(t)
g
R1
1
Fig. 5.55a Resistances in
parallel. b Equivalent resistance
R2
R equiv
3
R1
1
R equiv
1
R2
ments. When elements in series or in parallel are combined
and replaced by one equivalent element, the sum of either
the across variables or the through variables in the original
elements will equal the corresponding power variable in
the equivalent element. Elements in series have the same
through variable. Conversely, elements in parallel have the
same across variable.
The values of the equivalent parameters are determined
by writing the continuity, compatibility, and elemental equations for the portion of the linear graph, which contains the
similar elements to be replaced. The set of equations is reduced to the form of the elemental equation, written in terms
of the through and across variables for the equivalent element.
v23 = R2 iR2
Reduction
v12 + v23 = v13
( R1 + R2 ) iR
equiv
= Requiv iRequiv
Requiv = R1 + R2
302
Fig. 5.56a Fluid and thermal
capacitances must be referenced to a ground pressure or
temperature. Two fluid or two
thermal capacitances in parallel.
b Single equivalent fluid or
thermal capacitance. c Electrical capacitances do not need a
ground reference. Two electrical
capacitances in parallel. d Single
equivalent electrical capacitance
C1
v12 = R2 iR2
Reduction
iR1 + iR2 = iRequiv
1
1
iRequiv = + v12
R1 R2
iRequiv =
R1 + R2
v12
R1 R2
Requiv =
v12 v12
+
= iRequiv
R1 R2
R
R
iRequiv = 2 + 1 v12
R1 R2 R1 R2
v12 =
Cequiv
C2
R1 R2
iR
R1 + R2 equiv
R1 R2
R1 + R2
C1
Cequiv
C2
303
C1
C2
C equiv
3
I1
1
I equiv
I2
L1
1
L equiv
L2
Elements iC1 = C1
dv12
dt
iC2 = C2
dv12
dt
iCequiv = Cequiv
dv12
dt
C + C2
1
= 1
Cequiv
C1C2
Cequiv =
C1C2
C1 + C2
Reduction
iC1 + iC2 = iCequiv
(C1 + C2 )
C1
dv12
dv
dv
+ C2 12 = Cequiv 12
dt
dt
dt
dv12
dv
= Cequiv 12
dt
dt
Cequiv = C1 + C2
dv12
dt
iC2 = C2
dv23
dt
iCequiv = Cequiv
dv13
dt
Reduction
v12 + v23 = v13
iC1
C1
iC2
C2
iCequiv
1
1
1
+
=
C1 C2 Cequiv
Cequiv
1 C2 1 C1
1
+
=
C1 C2 C2 C1 Cequiv
C1
iCequiv
C2
iCequiv
Cequiv
1 C2 1 C1
1
+
=
C1 C2 C2 C1 Cequiv
C2
C
1
+ 1 =
C1C2 C1C2 Cequiv
diL1
v12 = L2
dt
diL2
v12 = Lequiv
dt
diLequiv
dt
Reduction
iL1 + iL2 = iLequiv
v12 v12
v
+
= 12
L1 L2 Lequiv
1
Lequiv
diL1
dt
L2
L
+ 1
L1 L2 L1 L2
Lequiv =
diL2
dt
diLequiv
dt
1 1
1
+
=
L1 L2 Lequiv
1
Lequiv
L1 L2
L1 + L2
L1 + L2
L1 L2
304
Fig. 5.59a Fluid inertances in
series. b Equivalent single fluid
inertance. c Electrical inductances in series. d Equivalent single
electrical inductance
I1
L1
v23 = L2
diL2
v13 = Lequiv
dt
diLequiv
dt
Reduction
v13 = v12 + v23
v13 = L1
diLequiv
dt
+ L2
diLequiv
dt
v13 = L1
diL1
dt
+ L2
diL2
dt
v13 = ( L1 + L2 )
diLequiv
dt
Lequiv = L1 + L2
Two or more fluid inertances in series combine similarly,
I equiv = I1 + I 2 .
Summary
The physical and mathematical analogies between electrical
and fluid systems are very strong, but not perfect. The physical and mathematical analogies across thermal, electrical,
and fluid systems are quite limited.
Fluid inertance is a helpful physical analogy for electrical inductance. The need to accelerate and decelerate a mass
of fluid, in order to store or remove kinetic energy, is a fact
that we have all experienced. Electrical inductance is a new
concept to many students. It is baffling that voltage is tempo-
I equiv
L2
2
Elements v12 = L1
I2
2
L equiv
3
Problems
305
R1
v(t)
C
vent to
atmosphere
P(t)
Pump
R2
R1
R1
R2
Fluid
Reservoir
v(t)
Fig. P5.1 Fluid system schematic
R2
Problems
Reminders
1. Use nodal notation for the across variable drop, and indicate the positive direction of the through variable in the
direction of the drop in the across variable. Sources are
the exception. Sources raise the across variable in the
direction of the through variable flow.
2. Check units in terms of the power variables of the system,
not fundamental units or conventional units.
3. Although system dynamics calculations can be performed
using US customary units, the set of US units can lead to
significant errors, due to the mishandling of the gravitational constant. The units of mass moment of inertia are a
case in point. US customary units commonly used ounce
in2, lb in2, lb ft2, and slug ft2. It is easier to perform the
calculations in SI Units and then convert to US customary
units to present the results, if so required.
4. A dynamic system has only one characteristic equation,
independent of our choice of the output variable. Consequently, there is a time constant of the system, only one.
All power variables in the system vary at the same rate,
although their step responses will differ. Some variables
will grow, while others will decay, but they do so in synchronizativon.
5. Remember to convert from kPa and MPa to Pa for SI
units.
6. There are 1,000L in 1m3.
7. Engineers practicing in the United States must be able to
convert between US customary units and SI units without
resorting to a reference or the internet. Before you leave
school, commit to memory at least one conversion factor
for each unit you will work with. The most common conversion needed is length, i.e., 1 in = 2.54 cm = 25.4 mm ,
Table5.4.
Problem 5.1 A fluid system consisting of two fluid resistances, R1 = 100 MPa sec/m3 and R2 = 200 MPa sec/m3 , and a
fluid accumulator (capacitance), C = 6 10 8 m3 /Pa, is acted
upon by a pressure source, Fig. P5.1. Resistance R2 discharges to atmospheric pressure in the systems reservoir.
5.1.a Derive the system equations for:
i The volume flow rate from the pressure source.
ii The volume flow rate into the fluid accumulator.
iii The pressure in the fluid accumulator.
and check their units
The capacitor is de-energized at time, t = 0 . A step
change in pressure, P (t ) = 200 kPa us (t ) is applied at time,
t = 0.
5.1.b Solve the system equations of part a.
5.1.c Plot the responses using Mathcad or MATLAB
Problem 5.2An RL electric circuit where R1 = 10 ,
R2 = 20 , and L = 3 10 3 H is shown schematically in
Fig.P5.2.
5.2.a Derive the system equations for:
i The current through the inductor.
ii The voltage drop across the inductor.
iii The current through resistor R2.
and check their units.
The circuit is de-energized at time, t = 0 . At t = 0, a step
input voltage v(t ) = 48 VDC us (t ) to the circuit.
5.2.b Solve the system equations of part a.
5.2.c Plot the responses using Mathcad or MATLAB.
Problem 5.3 An electric circuit with R1 = 1 k , R2 = 2 k ,
C = 1 F and is shown schematically in Fig.P5.3.
5.3.a Derive the system equations for:
306
vent to
atmosphere
R1
p(t)
Pump
R1
R2
I
v(t)
Fluid
Reservoir
p(t)
psi
R2
R1
2,000
1,000
0
v(t)
0
t, sec
R2
3
Fig. P5.6a RC circuit schematic
Problems
307
R1
v(t), VDC
v2 = 36
R2
v1 = 12
0
v(t)
R3
time
R1
R2
C1
v(t)
C2
Resistance R1
Voltage source
Coil around ferrite core with
Induction L and Resistance R 2
v(t)
VDC
24
12
0
t, millisec
308
C
P(t)
R1
Pump
vent to
atmosphere
R2
v(t)
Fluid
Reservoir
v(t), VDC
p(t)
psi
v(0+) = 36
2,000
v(0-) = 12
1,000
0
t, sec
time
Problems
309
Internal Resistance
of the Pump, R Internal
135 ft
p(t)
Pump
vent to
atmosphere
Nozzle
Resistance R Nozzle
Pipe, Inertance I
Fluid
Reservoir
L
v(t)
R1
R2
v(t)
L1
10
5
v(t)
0
VDC
-5
L2
1
3
4
t, millisec
v(t)
C1
R
C2
-10
Fig. P5.13b Input voltage
310
100
C1
50
v(t)
0
VDC
-50
p(t)
3
t, millisec
R1
C2
R2
Pump
vent to
atmosphere
R3
Fluid
Reservoir
-100
Fig. P5.17a Fluid system schematic
Fig. P5.15b Input voltage
3,000
Fluid Accumulator
Capacitance C
Hydraulic Line
Inertance I and
Resistance R 2
p(t)
psi
2,000
1,000
t, sec
Problems
311
Rcoil
C
R1
P(t)
vent to
atmosphere
Pump
v(t)
R2
L coil
1 F
Fluid
Reservoir
Determine the unknown fluid resistance, R2 and capacitance, C. Report your results in SI units.
250
200
Q pump
gal
___
min
150
100
50
0
time, seconds
Time (sec)
Time (sec)
QpumpGPM
0
1.0
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
3.0
500
500
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
4.0
5.0
6.0
7.0
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
123
119
115
112
110
107
105
103
102
101
94
92
91
45.5
45.5
228
211
196
183
171
161
152
145
138
132
127
312
Fig. P5.19b The voltage across
the capacitor during the latter
portion of the discharge of the
RLC circuit
1.5
1.0
0.5
vcap ,VDC
-0.5
-1.0
0.0
Chapter 5 Appendix
Engineering Electromagnetics
A basic understanding of magnetic phenomena is essential
for mechanical engineers, given the importance of electric
motors in machine design. We will begin with the basics of
electromagnetics. With all physical phenomena, a realistic engineering model is a matter of degree. We will keep
our model of electromagnetics simple and ideal, so that it is
generally representative and applicable, but does not require
(much) vector calculus. In any case, the non-linearity and
uncertainty of the material properties, magnetic permeability
in this case, necessitates the use of a simple model, unless the
engineer has the need and the means to fully characterize the
materials he or she is working with.
We will introduce an engineering model created to exploit the similarity between a resistive electric circuit, and
the steady-state behavior of an electromagnet. We then investigate the non-linear magnetic properties of the ferromagnetic materials we use to enhance the strength of the magnetic fields we create for electric motors. We conclude this
chapter with the topic of flux linkage, which we will use in
energy method analyses of electric motors.
Electromagnetic Force
All magnetism is electromagnetism. The charge can be an
electron orbiting an atomic nucleus or an electric current.
The magnetic fields of permanent magnets are created by
the alignment of the individual magnetic fields of electrons,
which are in motion orbiting their atomic nuclei and spin-
0.1
0.2
0.3
time, milliseconds
0.4
0.5
ning on their own axis. Magnetic fields in electrical machines are created by electric currents flowing along conductors.
We will start with the fundamental phenomenon of force,
F, induced on a positive charge, q, in a conductive rod, by
moving the conductor with a constant velocity, v, at right
angles to a uniform magnetic field, B, Fig. A5.1. This force
is referred to as induced by the motion of the conductor
in the magnetic field. The force causes an accumulation of
positive charge at the top of the rod, as shown in Fig. A5.1.
Negative charges are driven in the opposite direction, and
accumulate at the bottom of the rod. The strength of the
electromotive force (EMF) is expressed in volts. A volt is
defined as the strength of electromotive force against which
a joule of the work is done, to move a coulomb of positive
charge. A coulomb of charge is defined as charge delivered
by a one ampere of current in one second.
We are accustomed to forces which are collinear with
motion, such as a force acting to accelerate a mass, m, per
FM = Ma , and the force on a charge, q, due to an electric
field E, per FE = q E. A force sideways to the direction of
motion seems odd at first, but we also deal with non-collinear forces in mechanics. Centrifugal and centripetal forces
act at right angles to the direction of rotational motion. A
challenge in developing a working understanding of electromagnetic phenomena lies in applying analyses previously
used in Dynamics and Fluid Mechanics to a new subject.
It is helpful for mechanical engineering students to keep
in mind that electromagnetic phenomena were discovered
and characterized by the forces associated with them. Our
primary interest in these phenomena is that we need those
forces, and the torques which can be created, to drive our
machines. A secondary benefit in studying these phenomena
Chapter 5 Appendix
313
magnetic field B
Conductor
+
+
+
+
thumB
Positve Charge
induced Force
First finger
Velocity v
- Negative Charge
P
= Fext v = iv
omitting the negative sign, which would be included using
linear graph sign convention.
If the externally applied force is the input to this system,
then this device is a generator converting mechanical power
Moving conductor
creates EMF and
current i
Velocity v
negative
Current i
314
i1 dL 1
L1
^
r
i1
permeability
of free space
12
Point A
L2
dFmagnetic = i 2 dL 2
i2
cross product
yielding the force
acting on i 2dL 2
d Fmagnetic =
4 r122
i2 d L 2 (i1d L1 r 12 )
(5.59)
0
_____
4 r122
(i dL r )
1
12
0
i2 d L 2 (i1d L1 r 12 )
4 r122
d Fmagnetic = i 2 d L 2
4 r122
(i d L
r12
(5.60)
0
, it is the magnetic field vector at the end of
4 r122
0
(i1d L1 r12 ), is
4 r122
dB =
0
r12
i1d L1
4 r122
(5.61)
Chapter 5 Appendix
315
i1 dL 1
sphere with
radius r12
centered at i1dL 1
s=0
i1dL1
12
i1dL1 r 12
i 2 dL 2 i1dL1 r 12
plane of cross-product
i1dL1 r 12
r12
i 2 dL 2 i1dL1 r 12
idL
i1dL1 r 12
0
i d L1 r12
i d L1 r12 ) = 0 1
2 (1
4
4 r12
r122
r12 =
(5.62)
r12
r12
(5.63)
0 i1 d L1 r12
4
r123
B=
L0
Point A
i2dL 2
plane of cross-product
L0
__
2
i1dL1
i2
L2
Point A
i2dL 2
B=
s=L
^
r
r12
i1
B=
0
i
(idL r ) = 0
4
4 r 2
L0
dL r
r2
d L r = d L r sin ( ) = d L sin ( )
316
1.0
L0
i
2 L0
2
B = 0 2
2
2
2
4 x 4 x + L0 4 L0 s + 4 s
0.8
L0
________
4x 2 + L 02
0.6
x=1
0.4
x=5
0.2
0
0
10
L0
15
20
25
since
B=
r = 1.
0 i
4
L0
dL r 0 i
=
4
r2
dL r sin ( )
L0
r2
0 i
4
L0
dL sin ( )
r2
r = x + 0 s
2
sin ( ) =
B=
x
=
r
0 i
B straight =
wire
B straight =
wire
L0
s
x2 +
2
r122
0 i
4
1
L0
x +
s
2
L0
x2 +
s
2
L0
B=
0 i 2
2
4 0
2
L0
2
x
+
1.5
ds
ds
for
L0
<5
x
0 i
for
2 x
L0
5
x
L0
5 , the magnetic field density around a straight
x
current-carrying wire is inversely proportional to the distance, x, from the wire. Lines of equal strength of the field
are circles centered on the wire, in planes normal to the axis
of the wire. The sense of direction of the magnetic field is
In practice, the
established by the cross-product, id L r.
right-hand rule is used. One imagines grasping the wire with
ones right hand with ones thumb pointing in the direction of
the current. The fingers of the right hand then curl around the
wire in the direction of the magnetic field lines, Fig. A5.11.
We speak of a magnetic field as flowing, so that we
can use familiar physical phenomena to help us visualize the
physics of electromagnetism. The magnetic flux, (Greek
for f, as in flow), is the total magnetic field, which passes
through either half of a plane containing the wire. The SI unit
for magnetic flux is Wb, webers. The magnetic flux is a
When
d L sin ( )
0 i
L0
2 x 4 x 2 + L20
and
L0
0 i
L0
2 x 4 x 2 + L20
The effect of the ends of the wire on the density of the magnetic field at the center decreases, as the wire becomes longer. However, end effect is a function of both the length
of wire L0 and the distance x of point A from wire. A plot
L0
vs. L0, for values of x = 1 and
of the function,
4 x 2 + L20
x = 5 shows how rapidly it approaches a final value of unity,
Fig. A5.10. Whether one judges the end effect to be negligible depends on the precision needed in the analysis. A conL0
5, which corresponds
venient value for our purposes is
x
to an error of less than 2%.
L0
B=
B=
L0
L0
2
L0
2
2
2
x 4 x 2 + L2 4 L L0 + 4 L0 x 4 x + L0
0
0
2
2
i
B = 0 2
4
Chapter 5 Appendix
317
idL
Pt. A
r
2R
Fig. A5.11 Circular magnetic field line B around a straight wire carrying
current i
Fig. A5.12 Magnetic field lines B, around a single loop of wire carrying current i
scalar, and is the same across any surface that cuts across the
magnetic field, from the wire to infinity.
The amount of magnetic flux passing through a unit
area is the magnetic flux density, B, B = / area. The SI
unit for magnetic flux density B is T, teslas. Magnetic flux
density B is a vector. The variation of the magnitude and
direction magnetic flux density B with position (or in case of
a straight wire, with distance from the wire) is a vector field.
Rather than draw a multitude of tiny vectors to represent the
magnetic field, it is easier and more common to visualize
magnetic fields using field lines, also known by the older
term, lines of induction. The spacing of field lines is used
to convey the magnetic flux density. More tightly spaced
lines denote higher magnetic flux density. An important difference between electric fields and magnetic fields is that
magnetic field lines always form closed loops, which is the
basis for the flow analogy.
Magnetic Flux Density B at a Distance x within a Loop
of Wire Carrying Current i
There are two ways to strengthen the magnetic field created
by a given current. First, we can shape the wire. For a given
current, the magnetic field inside a loop of wire is substantially stronger than the magnetic field next to a straight wire,
Fig. A5.12.
We will consider two cases. First, we will calculate the
magnetic field density B at the center of the loop. Next, we
will formulate the general case to calculate the magnetic
field density B at any point within the loop.
Magnetic Flux Density B at the Center of the Loop
The radius of the wire loop is R, Fig. A5.13. The circumference of the loop is L0 = 2 R. The magnetic field, con-
B=
0
i
id L
r = 0
2
4
4 r
d L
r
2
r
L0
B=
0 i d L
i
r
= 0 2
4 0 r 2
4 R
L0
L0
d L r
0
= 90o .
( )
d L
r = dL
r sin 90o = d L
0 i
4
L0
i
d L r
= 0 2
4 R
r2
L0
dL
0
B center =
of loop
0 i
4 R 2
L0
dL=
0 i
4 R 2
R d
0
0 i
iR 2 i
2
R ] 0 = 0 2 = 0
2[
2R
4 R
4 R
318
North
Current i
Magnetic
Field Lines B
Current i
South
Fig. A5.14 Cross-section of the magnetic field within and around a
coil
Coils or Solenoids
A logical extension to a single loop of wire is to stack
up loops of wire, by creating a helical coil, Fig. A5.14.
The coil was invented by Ampere, who coined the term,
solenoid,Greek for channel, to describe it. Today, solenoid commonly means a linear electromechanical actuator.
The effect of strengthening the field by shaping the wire is
taken to its limit with toroidal coil, since the magnetic field
lines never leave the coil. A coil-wrapped toroidal core of
ferromagnetic material, discussed below, is known as a Hayward ring, after the American physicist from the late 1800s.
js
N i mmf
=
l
l
(5.64)
The term, density, is odd in this context, since the denominator is length, not area. Its use derives from the model of an
ideal cylindrical conductor with zero wall thickness replacing the physical coil. The current Ni is distributed uniformly
along the length of the cylinder, and flows circumferentially
around the ideal conductor. The units of the solenoidal current density reflect recurring confusion due to angular displacement and rotation lacking units. The units are
Ni
amp ampturns
s
=
j = =
m
m
l
We will use the units, [ amp turns/m ], since they help remind us that the number of turns N is a factor.
A second derived quantity useful in describing permanent
magnets is the magnetic moment of a current-carrying
loop with radius R and cross-sectional area A
magnetic moment i R 2 = i A
Magnetic moment yields the torque exerted about the axis
of a loop with the current i when multiplied by the magnetic
field density B. If B is not normal to the plane of the current
loop, then the dot product between B and a normal to the
plane of the loop is used.
Although it is relatively easy to program magnetic field
calculations in MATLAB, or other languages, approximations based on the closed-form results that were available
prior to machine computation generally have sufficient accuracy for engineering. The discrepancy between the more
precise numerical results and the closed-form approximations will be far less significant, than the uncertainty and
error introduced by including ferromagnetic materials in the
flux path to increase the magnetic flux density.
Chapter 5 Appendix
319
Single-Loop Approximations
Magnetic flux density within a loop of radius R
B=
0 i
2i R 2 0 2iA
B= 0
=
4 r 3
4 r 3
where A is cross-sectional area of the loop, and the product
iA is the magnetic moment of the loop. The magnetic moment is, indeed, the moment which would act on the loop to
align the loop with the magnetic field.
Coil Approximations
Magnetic flux density at the middle of a solenoid of sufficient length such that the end effects can be neglected
0 Ni
l
= 0 j s
0 Ni
2l
2.0
Magnetic
Field
Density
B
teslas
0 j s
2
Note that the magnetic flux density at the ends of a long coil
is half that at the middle.
saturation
1.5
preferred
operating
range
1.0
0.5
2R
B=
2.5
10
100
100,000
10,000
.turns
amp
_____
Intensity, H
meter
1,000
webers
henrys
= 4 10 7
meter
ampere turn meter
0 = 4 107
320
3.5
3.0
2.5
Magnetic
Field 2.0
Density
1.5
B
teslas 1.0
0.5
0.0
10
100
1,000
10,000
100,000 1,000,000
.turns
amp
_____
meter
Chapter 5 Appendix
321
0.008
Permeability
amp
weber
______
meter
6,000
5,000
0.006
4,000
0.004
3,000
Relative
Permeability
r
2,000
0.002
1,000
0.000
10
100
1,000
10,000
0
100,000 1,000,000
teslas
teslas
residual inductance
remanence or
retentivity
amp.turns
______
meter
Br
coercive force
tized carbon steel or cobalt steel, until the second half of the
twentieth century, when the harder, or more-difficult-todemagnetize ferromagnetic alloys Alnico (for aluminum,
nickel, and cobalt), were developed. Magnetic ceramic materials, which include rare-earth elements, were first introduced in the 1960s. Although they are mechanically brittle,
they have superior magnetic properties. Keep in mind even
the best permanent magnet can be demagnetized, by accidentally reversing the polarity of a coil.
The scale of magnetic permeability makes its numerical
values somewhat difficult to work with. Calculations are
simplified, and errors are reduced, by the relative permeability of a ferromagnetic material, where relative is with
regard to the permeability of free space. The relative permeability of a material, r, is defined as
turns
amp
_____
meter
(5.66)
amp.turns
H ______
meter
Hc
150 to 5,000
110 to 600
70 to 250
50 to 100
100 to 750
1 to 3,000
2,000 to 6,000
322
B =
(5.67)
B = H
(5.68)
Why work with B and H rather than just B? Why add the
complication of another vector field, if B and H are just
scalar multiples of each other? There are two reasons. First,
although we will make the engineering approximation that
there is a single value of permeability for a given material, as
shown above, the relationship between the applied magnetic
field intensity, H, and the resulting magnetic flux density,
B, is non-linear and multi-valued. The contribution of ferromagnetic materials to the magnetic flux density, B, eventually is also limited. The limit, called saturation,is reached
when all domains are oriented to the applied magnetic field.
Any further increase in the applied magnetic field intensity,
H, does increase the magnetic flux density, B, but the incremental increase is only at the permeability of free space, 0,
as if the ferromagnetic material were not present.
Second, some electrical machines of interest, specifically some stepping motors and the type of AC motor used in
some hybrid automobiles, use rotors which are permanent
magnets. The magnetic flux of rotating motors flows through
the rotor. The permanently magnetized rotor and the externally applied magnetic field together produce the magnetic
flux through the motor. The field, H, is used to account for
both effects.
Our analysis will exploit the similarities between the flow
of magnetic flux through an electrical machine, and the flow
of electric current in an electrical circuit comprising a voltage source and resistors. The analogy, called a magnetic
circuit, draws the parallel between (1) voltage (electromotive force) in an electric circuit and magnetomotive force in
a magnetic circuit; and (2) the resistance-to-current flow in
an electric circuit and amount of magnetomotive force needed to establish a magnetic flux in a magnetic circuit. The
drop in voltage in the direction of current flow in an electric circuit is proportional to the resistance of the elements
in the circuit. Similarly, in a magnetic circuit, the drop in
the magnetomotive force in the direction of the flow of
flux is proportional to the reluctance, R, of that portion
of the magnetic circuit. Reluctance R is a nineteenth-century
term, coined to draw the analogy between a purely resistive
Chapter 5 Appendix
323
Coil 2
Coil1
i
Surface defined by the
magnetic flux path
cutting the conductors
Ferromagnetic core
Cross-sectional area A
Fig. A5.21 Ferromagnetic core with two coils cut by surface across
flux path
N2 turns
N1 turns
Coil 2
Coil1
N2 turns
N1 turns
mmf = N i
(5.69)
H=
mmf
l
(5.70)
Magnetic field intensity H is the intensity of the effort required at a location along a flux path to maintain a magnetic
flux . For a given drop in magnetomotive force mmf along
path of length l , the magnetic flux increases with increasing magnetic permeability and increasing cross-sectional
area A of the flux path. The dependence of the magnetic flux
on a material property and the cross-section area A
allow us to build analogies between the creation of a magnetic flux and potential driven flows of fluid, heat, or electricity.
324
Table A5.2 Basis of magnetic
circuit analogy. l is the length of
the flow or flux path and A is its
cross-sectional area.
Fluid
Volume flow rate, Q
Pressure, p
Fluid permeability, k
Electrical
Current, i
Voltage, v (emf)
Electrical conductivity,
Thermal
Heat flow rate, q
Temperature, T
Thermal conductivity, k
Fluid resistance, R f
Electrical resistance, R
Thermal resistance, RT
Flow equation
p = Rf Q
emf v = iR
q=
Rf =
Flow variable
Driving potential
Flow-related material
property
Flow resistance
Elemental parameter
l
kA
The corresponding flow equation which relates the magnetomotive force to the resulting magnetic flux uses the
resistance-like magnetic reluctance, R
mmf = R
R=
l
A
RT =
l
kA
mmf = N1i1 + N 2 i2
Since the same current flows through both Coil 1 and Coil 2,
i1 = i2 = i
Hence,
mmf = N1i + N 2 i = ( N1 + N 2 ) i
We now use the definition of magnetic reluctance R to establish its value.
R =
mmf = R
We will first establish the relationship between current i
and the mmf in the magnetic circuit. How do we handle
two coils on the same flux path? We use superposition. The
total, or net, mmf acting to establish (or drive, if you prefer)
the magnetic flux in the circuit is the sum of the mmf of the
two coils
RT
(5.71)
where
Magnetic Reluctance
Flux PathLength
l
R =
=
Permeability Cross Sectional Area A
lc
Ac
( N1 + N 2 ) i = cA
and rearranging
Ac
i=
lc
( N1 + N 2 )
Chapter 5 Appendix
325
Core Reluctance
Torrodial ferrite core
Relative permeability r
Core length l c
Cross-sectional area A
Rc
R
mmf
Gap
Reluctance
Rg
3
200 turns of wire in the coil
Fig. A5.23
Magnetic circuit model. The magnetomotive force,
mmf=Ni=200 turns times 3 amps=600A-turns
Fig. A5.22 Ferrite torus with a gap of length g = 0.020 in . and a 200turn coil
Node 1 = R c Node 2 R c = R g
Compatibility
Elements
mmf12 = R c R c mmf 23 = R g R g
Energy
Length
Area
Magnetic Reluctance R =
Length
Area
1m
= 0.080 m
Circumference = 2 0.5 in
39.37
in
The relative permeability of the ferrite is r = 15, 000. Recall that relative permeability is defined as:
326
Length
Length
=
Area 0 r Area
0.07949 m
4 10 7 henries
4
2
R c = 1.05 105
mmf13 = R c + R g
A
weber
mmf13 = R c c + R g g
mmf13
Ni
=
Rc + R g Rc + R g
600 A turns
A
A
+ 1.00 107
1.05 10
weber
weber
5
600 A turns
= 5.9 10 5 webers
A
7
1.01 10
weber
Rc + R g
This result has the same form as the calculation of the voltage across a resistor in a voltage divider.
A
1.00 107
weber
mmf 23 =
600 A turns
A
A
+ 1.00 107
1.01 105
weber
weber
A
1.00 107
weber
Rg
mmf 23 =
Ni
Rc + R g
mmf 23 = R g
Rg
mmf 23 =
mmf13
Rc + R g
Chapter 5 Appendix
327
Magnetization M =
( Ni )s
l
B=
Ni
lC
(5.73)
Pole Strength m
= M Magnetization
Area
A
rN
Point A
__
__
rS
m rN
________
HN =
__ 3
40 |rN |
__
- m rS
H S = ________
__ 3
40 |rS |
South
Fig. A5.24 Magnetic field intensity components at Point A due to
point magnetic poles
(5.74)
Magnetization M is a vector quantity. Its direction is determined by the normal to the area, if the cross-sectional area
is a plane, and whether the magnetic pole is North or South.
If the cross-sectional area is not planar, then trigonometry,
geometry, or vector Calculus would be needed to determine
the direction of the magnetization vector, M. We will approximate the surface of the pole as a plane to simplify our
calculations.
The magnetic intensity, H, in a region surrounding a magnetic pole which can be considered a point pole, because
H=
1
40
m ri
i=0
(5.75)
__
(5.72)
where the subscript, s, denotes the equivalent surface current (or fictitious coil).
Note the equivalent surface current is assumed to magnetize a volume with the permeability of free space, 0. It
is instructive to compare this expression for magnetization
with the expression for the magnetic flux density, B, in a core
of length lc with permeability, .
North
Hi =
m ri
40 ri
(5.76)
328
i
Rotor
permanent magnet,
pole strength = m
l1
N
S
l1
l2
I.D. O.D.
g
Coil, N turns
w
Pole Strength m
= M Magnetization
Area
A
We estimate the pole area, neglecting the curvature of the
rotor, as
Fig. A5.25 An electromagnetic model of one pair of poles of a permanent magnet or hybrid stepper motor
Apole = wd
Hence, the magnetization, M, is
M=
m
m
=
A wd
We determine the magnetic flux from the relationship between the rate of change of the flux linkage, , and the voltage induced on the motors coil, when the permanent magnet
rotor is spun at a known angular frequency
v1g =
d
d
v1g = N
dt
dt
Chapter 5 Appendix
329
4
3
is
Ns
is
2
1
6
Fig. A5.27 Permanent magnet of the rotor replaced by the equivalent
solenoid
H=
mmf
l
B=
mmf
l
mmf =
lB
l2 m
m wd
iS =
l2
m
m w d
1 l2 m
2 N m wd
1 l2 m
mmf equiv = 2 N (i + iS ) = 2 N i +
2 N m wd
The equivalent mmf source will be placed in series with the
magnetic reluctances anywhere along the central path of the
magnetic circuit. An mmf node must be added to the circuit
to accommodate the mmf source element. Let us add node
7 between nodes 6 and 1, resulting in the magnetic circuit
shown in Fig. A5.28.
Due to the symmetry of the motor, all of the reluctances,
except that of the permanent magnet, R m , appear twice. The
reluctances of the poles and the gaps are in series. The reluctances of the two sides of the stator are in parallel. We will
reduce this circuit graphically, by combining reluctances
in series and reluctances in parallel, until there is just one
equivalent reluctance and mmf source in the circuit. Recall
that reluctances can be combined with the same rules as with
resistors. Reluctances in series sum
R pole + R gap + R m + R gap + R pole R equiv
series
series
parallel
R equiv
parallel
Rstator
2
330
R pole
mmf
R stator
R gap
Rm
R pole
2R pole+2R gap+R m+
R gap
R
stator
_____
6
mmf
R stator
Fig. A5.30 Final magnetic circuit model of the motor with a single
equivalent magnetic reluctance
2R pole+2R gap+R m
5
mmf
R
stator
_____
2
Fringing
Fig. A5.32a Rotor of a permanent magnet stepper motor showing circumferential magnetic
domains, b Permanent magnet
stepper motor showing rotor and
stator with claw poles
South
North
Fringing
Length
g
=
Area 0 w d
R magnet =
lstator =
l1
Length
=
Area C w d
l2
Length
=
Area m w d
O.D. + I .D.
2
R stator
N S
S N
R pole =
Magnetized
Rotor Shell
(O.D. + I .D.)
2
4
lc
Length
=
=
Area C w d
Non-Ferromagnetic
Rotor Core or Yoke
Rg =
Polarity of the
Magnetic Domains
b
N
S
N
331
b
North
Permanent
Magnet
South
2 N (i + is )
2R pole + 2R gap + R m +
R stator
2
1 l2 m
2N i +
2
N m w d
(O.D. + I .D.)
l2
l1
C w d
g
2
2
+
+
+
w d w d
2
c w d
0
m
Abstract
A simple machine, such as a lever, transforms the magnitudes of the forces and velocities at its points of action but does not change the mechanical power, product of force and
velocity. Modern machinery both transforms power and converts power from one type to
another. Linear graphs of energetic models of machinery include interfaces which both
couple and separate the subsystems. The interfaces consist of two branches, one for each
subsystem. There is no direct action or flow of the through variable over the interface into
the other subsystem. Hybrid systems are systems which contain subsystems of different
types. Electric and hydraulic motors, generators, and pumps are hybrid systems. The linear
graph method couples similar and dissimilar subsystems using interfaces, which differ only
in the equations that describe their effect.
6.1.1Transformers
In common usage, the term transformer refers to an electrical transformer which changes the magnitudes of voltage
and current in alternating current (AC) electrical power. Two
electrical subsystems are created, because electrical current
on one side of a transformer does not flow into the circuit
on the other side. There is a physical coupling between the
two subsystems but no direct electrical connection. The transformer is an interface between the two subsystems. The most
K. A. Seeler, System Dynamics, DOI 10.1007/978-1-4614-9152-1_6, Springer Science+Business Media New York 2014
333
334
Pin = Pout
LA
Power
LB
F(t)
g
b
g
Subsystem I
Fig. 6.1 Levers and linkages interface translational mechanical subsystems
Power
Pinion
N1 teeth
Fluid Clutch
Damping b1
Bearing
Damping b 2
(t)
Inertia J
Angular velocity source.
Gear
N2 teeth
Subsystem II
Pivot
Subsystem I
Subsystem II
Lever
(6.1)
335
Compliant Shaft
Spring Constant K
Pulley
Diameter D1
Flywheel
Rotational Inertia J1
Flywheel
Rotational Inertia J2
Pulleys Diameters
D2 and D3
Subsystem I
Subsystem II
Angular Velocity
Input (t)
Power
Subsystem III
Power
Fluid Coupling
Damping b
Pulley
Diameter D4
Fluid Accumulator
Doubled-ended Capacitance C
massless piston
Area A1 Area A 2
Power
= FBv2g
Lever
Pivot
Resistance R
p(t)
Pump
Subsystem II
Subsystem I
Intermediate
Rotational
Subsystem
Power
= FAv1g
Power
LB
LA
F(t)
g
Fluid
Reservoir
Subsystem II
Translation
b
g
Subsystem I
Translation
Fig. 6.6 Transformers rely on a second energy domain. A lever transfers translational power via rotational power
+x,v
FA
1
L1
FB
2
L2
+,
Fig. 6.5 Lever annotated to show the positive directions for translational and rotational velocity and displacement
336
LB
v1g = - ___
v2g
1
LA
FA
PowerA
FB
g
Fig. 6.7 The linear graph symbol for a transformer consists of two
branches, one in each subsystem, linked by a dashed ellipse which denotes the power transfer across the interface
6.1.3Transducers
In mechanical engineering, the term transducer most commonly refers to a sensor, such as a load cell, which emits an
electrical signal in response to a non-electrical input, such as
a force, in the case of a load cell. Sensors typically interface
two dissimilar energy systems. In system dynamics terminology, transducers interface subsystems of different types
of energy. There is a significant difference between a sensor
and a system dynamics transducer. Sensors produce signals,
which are information, not power. An ideal sensors signal
is a time-varying voltage or current, not power, which is the
product of current and voltage. (Real signals require a finite
amount of power to be transmitted and processed.) Likewise,
the mechanical power needed to produce a force signal from
a load cell is extremely small, since a load cell actually senses elastic displacements, which, given the size of a load cell,
are very small. Although the use of term transducer as the
classification of machine elements which interface dissimilar types of energetic subsystems is logical, it is also unfortunate, because it causes misunderstanding between engineers.
It is best to use the term transducer only outside of system
dynamics to mean sensor to avoid misunderstanding.
Transformer
or
Transducer
Power B
Fig. 6.8 A block model showing the positive power flows of a transformer or transducer. Note that both power flows are positive into the
transducer or transformer
PA + PB = 0
(6.2)
PA = PB
(6.3)
337
v2 g = v1g
(6.4)
PA + PB = 0
This expression represents the power flow into the two ports
of the interface, but it does not provide the equations we
need to derive a differential system equation. We have two
power variables on each side of the transformer or transducer
interface for a total of four variables. Say we were to work
with an electrical transformer where
PA = FA v1g
and PB = FB v2 g
v2 g
Although it is a valid equation, is not a particularly useful
addition to our equation list, because we derive a system
equation by substituting to eliminate unwanted power variables. This equation would introduce three variables in place
of one.
We prefer equations which contain only two variables, so
that we do not add variables to the equation upon substi-
L
LA
B
v1g = - ___
v2g
FA
FB
and
FB =
FA
(6.5)
338
The through variables do not act or flow across the interface! There is no branch connecting nodes 1 and 2. This is
(or should be) obvious in a transducer, because the through
variables on either side of the interface are different. The
transducer element of a model of a DC motor separates the
electrical and rotational mechanical subsystems. The respective through variables are current and torque. There cannot
be a branch connecting the nodes across the interface in a
transducer, because the continuity equation summing currents and torques would not make sense. They are different
physical quantities. Although it is less obvious in a transformer, because the subsystems on either side have the same
units, a branch across the interface is just as meaningless.
FA and FB are different forces, because they act at different
points on the lever. They are coupled due to moment equilibrium about the pivot, not a force balance which includes
a mystery force flowing between nodes 1 and 2. There is no
branch connecting nodes 1 and 2.
The power flowing in any branch of a linear graph is the
product of the through and across variables of that branch.
Referring to the levers linear graph transformer symbol
above, PA = FA v1g flows down the left branch, and PB = FB v2 g
flows down the right branch. Each of these power flows is
equal in magnitude to the power flow across the transformer
interface. Energy conservation for the transformer, expressed
in terms of power, because an ideal transformer neither stores
nor dissipates energy, is
PA + PB = 0
PA = PB
This equation indicates that one of the two flows is opposite the assumed positive direction, towards ground. For the
example lever, one of the forces, FA and FB, must act in the
negative direction and the other in the positive direction, because both velocities, v1g and v2g, always have the same sign,
since they must be in the same direction.
In this text, transformer and transducer branches will
often be connected directly to ground. However, there is no
need for them to connect to ground. It is perhaps more common in machine design that they do not. For example, many
motors are attached to compliant fittings which incorporate
some damping. The motor mounts in an automobile include a compliant elastomer (a rubbery polymer) to reduce
the vibration transmitted to the passenger compartment. A
motor mount is modeled as a spring and dashpot in parallel.
6.2Transformers
6.2.1 Mechanical Transformers Levers
We will assume that the rotation and resulting horizontal
displacement of the lever shown in Fig.6.10 is small, so
we do not have to consider motion in the vertical direction.
+x,v
FA
1
FB
L1
L2
A = FA v1g
Lever
transformer
interface
B= FB v2g
Fig. 6.11 Block model of power flow through the transformer. Note
that both power flows are positive into the transformer
Within this assumption, the lever is a translational mechanical transformer. Further, we will assume that the only property of the device is transformation. The lever does not store
or dissipate energy. For this to be reasonably true, the lever
would need low mass (small kinetic energy storage), high
stiffness (small strain energy storage), and low friction at the
pivot (small energy dissipation). Define an arbitrary positive
direction, as shown. Assume that there are two translational
velocity nodes on the lever, nodes 1 and 2, and show forces
FA and FB acting at nodes 1 and 2 in the assumed positive
direction.
There is a physical coupling between the power flow into
the lever at node 1 and the power flow into the lever at node
2. However, there is no force which acts directly from node 1
to node 2. Our linear graph symbol will have a gap between
these two nodes to represent the interface.
Energy conservation for the lever can be expressed in
terms of power, since no energy is stored or dissipated by
an ideal transformer. The sum of the power flowing into the
lever equals zero, Fig.6.11.
PA + PB = 0
The power flowing into the lever at node 1 and node 2 is
PA = FA v1g
and PB = FB v2 g
since
PA + PB = 0 PA = PB
6.2Transformers
339
Then,
FA v1g = FB v2 g
If the lever can be modeled as rigid, then the translational velocity of nodes 1 and 2, relative to ground, are related. The
translational velocities, v1g and v2g, are both functions of the
angular velocity of the lever, , and the distance of the node
from the pivot
v1g = L1 and v2 g = L2
We eliminate the angular velocity, to relate v1g and v2g
directly
v1g
L1
==
v2 g
L2
v1g =
L1
L2
v2 g
PA = PB
L
FA v1g = FB 2 v1g
L1
L
L
FA v1g = FB 2 v1g FB = 1 FA
L2
L1
L
v2 g = 2 v1g
L1
(6.6)
L1
FB = FA
L2
(6.7)
Note that there is a fractional and sign inversion in the constant term between these two equations. The fractional inversion is a result of energy conservation, PA = PB . The
sign inversion is a result of the linear graph method convention to assume both PA and PB flow into the transformer,
PA + PB = 0 . The sign inversion between FA and FB tells us
that one of the forces is acting in the negative direction.
It is easier to see the fractional and sign inversion of the
transformer ratio, when the transformer ratio is renamed,
L
n 2
L1
v2 g = n v1g
and
1
FB = FA
n
L
FA L1 + FB L2 = 0 FB = 1 FA
L2
It is generally preferable to use geometric compatibility of
velocities, rather than equilibrium of forces or moments,
when possible, for two reasons. First, equilibrium equations are more prone to sign errors of action versus reaction. It is easier to see the direction of a velocity than a force
or moment. Second, it is often more difficult to formulate
the equilibrium statement than the geometric compatibility
statement. Our lever analysis is a good example. Note that
summation of the horizontal forces shown is not a statement
of equilibrium
FA + FB 0
340
vsurface
2g
1g
vsurface
Fig. 6.13 A belt drive schematic showing the nodes and sense of direction of rotational velocity and the surface speed of the belt
6.2Transformers
341
A= TA 4g
and the power PB flowing into or out of the belt drive at node
2 is
PB = TB 2 g
(6.8)
and
(6.9)
vsurface = rB 2 g
where rA and rB are the radii of the pulleys. Equating the
surface speeds yields
rA 4 g = rB 5 g
and, hence, the relationship between the two angular velocities
r
(6.10)
2 g = A 1g
rB
In practice, pulleys are identified by their diameter, not by
their radius. The relationship between the angular velocities
can be expressed in terms of diameters, if convenient
2g =
DA
1g
DB
r
TA 4 g = TB A 4 g
rB
B= TB 5g
Fig. 6.14 Block model of positive power flows into the belt drive
transformer interface
PA = TA 1g
Belt Drive
transformer
interface
(6.11)
The relationship between the torques acting on the two pulleys can now be calculated using energy conservation expressed as power, since the belt drives transform attribute
only transforms the power variables. If energy is stored in
the belt drive, then kinetic or strain energy storage elements
must be added to the model. Remember the linear graph sign
conventions require that the power flowing into and out of
the belt drive sum to zero. Equating the power flows leads to
a sign error, Fig.6.14
PA + PB = 0 PA = PB TA 4 g = TB 5 g
r
TA = A TB
rB
(6.12)
Note that we derived the transformer equations using the relationships between the geometry of the belt drive and the
velocities of the pulleys. We could have used the fact that
belt tension force is equal at the two pulleys to derive the
transformer equations, starting with pulley torque expressed
in terms of the belt tension force. However, equilibrium analyses are prone to sign errors. The sign convention of the linear graph method requires the unknown torques acting on a
body to be positive (i.e., in the positive direction). Engineers
have the tendency to assign forces and torques, so as to place
an object in equilibrium, which inadvertently reverses one of
the two torques.
342
Fig. 6.15 Gear blank shapes are cylinders, truncated right cones and
bars
Fig. 6.18 A rack and pinion (left) and a worm and gear (right). The
axes of motion are not coplanar
Pinion
N1 Teeth
Gear
N2 Teeth
Fig. 6.19 A pair of spur gears. Pinion means smaller gear, generally
on the input shaft
Fig. 6.17 Bevel (left) and miter (right) gears. The axes of rotation of
miter gears intersect at right angles. If the angle of intersection is not
90, then the gears are bevel gears
against each other, rather than sliding, thus reducing the frictional losses and tooth wear. Consequently, excessive wear
on gear teeth indicates that the gears are either misaligned,
with their shafts incorrectly spaced or not parallel, or the
gears have different pressure angles, defined below, and
incompatible shapes.
A positive direction for the angular velocities and shaft
torques must be defined vectorially using the right-hand rule.
The pinion rotates at angular velocity 1g and the gear rotates at 2g. Torque TA acts on the pinion shaft and torque TB
on the gear shaft, both in the positive direction.
We can see from the schematic of the two gears, Fig.6.19,
that they must rotate in opposite directions (counter-rotate).
Both gears must have the same surface velocity of the pitch
surface, so that the teeth mesh. The smaller pinion must rotate faster than the larger gear to feed teeth into the nip at the
same rate. For gears to mesh, their teeth must be the same
size. Consequently, a tooth and the adjacent space can be
used as a convenient unit of measure, when comparing the
circumferences of two meshing gears. The formal measurements require identifying where on the surface of the tooth
the gear force acts. A circle passing through this location on
each tooth and centered on the axis of the gear is called the
pitch circle, Fig.6.20. Its radius and diameter are the pitch
radius and pitch diameter, respectively. The circular pitch is
6.2Transformers
343
Pitch Circle
Circular Pitch
N Teeth
Pitch Diameter
Fig. 6.20 The pitch circle, pitch diameter, and circumferential pitch
of a spur gear
Addendum
Dedendum
Pitch Circle
FT
Tooth Force FT
30 Helix
0 Helix
A= TA 1g
B = TB 2g
Gear Set
transducer
interface
N
N1
2
1g = - ___
2g
FT
Pressure Angle
14-1/2 o, 20o, 25o
TA
Fig. 6.21 Tooth forces, pitch circles, and the addendum and dedendum
TB
PA + PB = 0
PA = PB
TA 1g = TB 2 g
344
Fig. 6.25 60 Bevel gears
60 o
Shaft Angle
v pitch = rp 1g = rG 2 g
surface
(6.13)
diameter
2
radius =
circumference
2
dtooth N teeth
2
1g =
N2
2g
N1
(6.14)
6.2Transformers
345
120o
Shaft Angle
shaft and the output shaft of the gear set or (2) change the
location or orientation of the output shaft relative to the input
shaft.
Determining the direction of rotation of the output shaft
is an elementary but error-prone step. Mechanical engineers
like to think that they can look at a gear set of any complexity, and see the relationship between the input and output
shafts rotations. This engineering hubris often yields needless, embarrassing errors. A reliable method of determining
the relative rotation of gears is to indicate the surface velocity at either side of every mesh, Fig.6.28.
The rotation reverses with each mesh from input 1g to
output 4 g . The relationship between angular velocities 1g
and 4 g is
N1 N 2 N 3
N N = 4 g
N
2
3
4
1g
1g
N1 N 2 N 3
= 4 g
N 2 N3 N 4
N1
1g = 4 g
N4
1g
N1
4g
N2
N3
N4
Fig. 6.28 The surface velocities are indicated on both sides of each
mesh to determine the directions of rotation
Notice that the presence of gears two and three does not
change the magnitude of the output angular velocity, but
their meshes do contribute to its direction. Since each mesh
reverses direction, an even count of meshes yields the direction of rotation for the input and output shafts. We can
confirm this by removing gear three from the gear train,
Fig.6.29.
N1 N 2
= 4 g
N 2 N 4
1g
N N2
1g 1
= 4 g
N2 N4
346
1g
N1
4g
N1
N2
N3
TA 1g
N2
N4
N4
Fig. 6.29 Removing gear three of the gear train of Fig.6.28 reverses
the direction of gear four
TB 4g
Fig. 6.31 Gears fixed to a common shaft are known as compound or
cluster gears. Cluster or compound gears affect the gear ratio of a gear
set
PowerA
Driving Idler
Pinion
Flow In is Positive
Transformer
or
Transducer
Power B
Fig. 6.30 Idler gears reverse rotation and change the location of the
output shaft but do not change the gear ratio of a gear set
N1
1g = 4 g
N4
Gears two and three in Fig.6.30 are called idler gears.
They serve to transmit power and change the location of
the output shaft but have no effect on the magnitudes of the
power variables. Idler gears do not affect the gear ratio of
a gear set. Again, idler gears do affect the direction of the
output shafts rotation.
Fig. 6.32 The power flows on both sides of the transformer or transducer are assumed to flow in the positive direction, into the transformer
or transducer. One flow must actually be in the opposite direction
N1 N 3
1g = 4 g
N2 N4
PA = TA 2 g and PB = TB 3 g
PA + PB = 0 PA = PB
N
N2
3
2g = - ___
3g
PowerA
Power B
TB
TA
g
Fig. 6.33 The linear graph sign convention orients the power flows
towards ground down both of branches of a transformer or a transducer.
One power flow must actually be in the opposite direction. The dashed
ellipse indicates transmission of power across the interface
TA 2 g + TB 3 g = 0 TA 2 g = TB 3 g
The linear graph sign convention for transformers and transducers assumes that the power flows on both sides are positive, where positive power flow is defined as flow into the
interface. This is impossible, because an ideal transducer or
transform is an interface between subsystems which cannot
store energy. Hence, the second part of the sign convention
is that the two power flows must sum to zero. Physically, at
any instant, power flows into the interface on one side yields
power flow out of the interface on the other side. Reversal of
one of the two power flows inverts the sign of one of the four
power variables. Unfortunately, this sign inversion often
leads to nonsensical mismatches between the signs of different subsystems.
Signs are a problem in many mechanical engineering
calculations. Sign conventions used in the various subdisciplines within mechanical engineering arose organically
to suit the specific subdiscipline. The state of a variable that
was defined as positive was either (1) the same as a different
vector variable in the same system, (2) the more common
state, or (3) the preferred state. An example of the first case
is the definition in vector mechanics, that a positive force
accelerates a mass in the positive direction. It is possible to
invert the signs between displacement and force vectors, but
we would rather not. First, why bother? Further, sign inversions lead to errors. Negative signs are dropped or assigned
to the wrong variable. Therefore, we define a force accelerating a mass as positive, if the acceleration occurs in the
positive direction.
Examples of the positive direction as the more common
state arise, due to the nature of the materials in the subdiscipline. Particulates such as soil cannot carry tension. They
must be loaded in compression. Therefore, in soil mechanics, compressive force and compressive stress are positive.
Likewise, fluids cannot carry tension, except in carefully
347
contrived situations. Consequently, in fluid mechanics, positive fluid pressure is compressive. Negative pressure (tension) yields fluid cavitation, which develops gas bubbles or
vacuum within the fluid. In mechanical design, bubbles in a
fluid are generally bad news. Air entrained in hydraulic fluid
reduces its bulk modulus to an unknown value. The bubbles
themselves may impede the function of a machine, such as
when froth or foam limits the flow into a pump. Further, high
stresses can act on the surfaces of machine parts, when a
bubble collapses, as the flow enters a region of positive pressure. Cavitation can erode hardened steel.
When the positive direction is arbitrary, in the sense that
the variable is equally likely to have either state, engineers
tend to define the state we prefer as positive. For example,
in solid (continuum) mechanics, we define the normal force
acting on the face of an infinitesimal cube to be positive,
when it acts outwards. The sign convention corresponds to
the positive direction on one face, out of two normal to an
axis. Note that the sign convention places the element in tension. This jibes with the preference of mechanical designers,
although that may be a coincidence. Engineers prefer positive stress. Given two mechanical components of the same
length, the component loaded in tension would be smaller
in cross-section, requiring less material, than the component
loaded in compression. Further, tensile rupture is typically
preceded by some amount of plastic deformation, which can
signal the overload and forewarn of an impending failure.
Compressive failure is often catastrophic buckling, which
provides no early warning.
Unfortunately, solid mechanics and vector mechanics do
not have the same sign convention. Positive external forces
and internal forces are defined differently. A positive external force is a force which accelerates a mass in the positive
direction. A positive internal force yields tensile stress. What
is the state of stress of an element subjected to acceleration?
If the acceleration is large enough, so that the acceleration
of gravity is negligible, the element is compressed due to inertia, regardless of the direction of the acceleration. A given
force may produce positive acceleration (in the positive direction) and negative (compressive) stress in the same machine element.
As one would expect, signs become arbitrary, when we interface dissimilar subsystems. For example, what is the positive direction of rotation for the shaft of an electric motor?
There is some consensus that positive rotation is clockwise,
but there is no consensus where the observer stands, in front
of the motor or behind the motor. The only way to determine
the positive direction of a motor is to apply a positive voltage
(if it is a DC motor) and observe its rotation. The positive
direction of a motor depends on its manufacturer.
Our solution to the sign problems inherent in system dynamics will be to accept the signs of the linear graph method,
even when some are nonsensical. We will follow the linear
348
Pinion
N1 teeth
Inertia J
Fluid Coupling
Damping b
T(t)
Torque source T(t).
Positive rotation direction
defined by the right-hand rule
Gear
N 2 teeth
Fig. 6.34 Rotational mechanical system. The torque source defines the
positive direction for the system
2g =
N2
N
3 g and TA = 1 TB
N1
N2
PA + PB = 0 TA 2 g + TB 3 g = 0
N
N
TA 2 g TB 1 2 g = 0 TA = 1 TB
N2
N2
We need to define the positive direction for torques and angular velocities. If a positive direction is not indicated explicitly, then use the direction of the source. Because the
gear set is an interface between two subsystems, it has two
branches in its linear graph symbol. The torques shown on
the branches of the linear graph symbol for the transducer are the torques acting on the gears. The positive directions of these torques is towards ground. The linear graph is
Fig.6.35.
Now, we shall check that our sign conventions for the
transformer lead to signs that make sense. Torques TA and TB
N
N1
349
2
2g = - ___
3g
Mass-moment
of Inertia J
TJ
T(t)
TP
g
TG
TB
Fig. 6.37 Torque Tb acting on the gear shaft and torque TJ acting to
accelerate the mass moment of inertia J
Fluid Coupling
Damping b
Tb
TA
2
TJ
TB
Tb
TA
Fig. 6.36 Positive torques TA and TB shown on the shafts of the gear
set. Reaction torques Tb and TJ shown on nodes 2 and 3
Tb
1
Fig. 6.38 Action and reaction torques shown on the fluid coupling
350
T(t)
Torque Source
Tb
1
-i
Cross-section of
rolling-contact
bearing
Tg
T(t)
g
Fig. 6.39 Action and reaction torques shown on the torque source
6.4Transducers
In systems dynamics, transduction is the conversion of
power between subsystems with different energy domains
or types. It is a reasonable term, but its meaning in system
dynamics does not correspond to its general engineering
usage, where a transducer is a sensor. Consequently, outside
systems dynamics, it is best to use the name of the type of
transducer, such as DC motor, or gear pump, rather than the
classification, transducer, to avoid confusion.
As an aside, there is weak analogy between the two uses of
transducer which is the root of its system dynamics usage. A
pressure transducer, for example, senses a fluid variable, and
produces a signal which is an electrical variable. Sensors interface between dissimilar systems. However, in the ideal, the
signals produced by sensors are not power flows but information flows. Ideally, the pressure sensors output voltage could
be read by the receiving instrument without a current flow into
the receiver. In reality, that never happens. All receivers draw
some power from the signal. Consequently, all signals contain
some power. Nevertheless, we model signals as being devoid
of power, except when we are designing the fan-out, the
number of receivers we can send a signal to, and have to deal
with the realities of our electronics.
+i
Commutator,
Rotating electrical
contacts
Energizing
current i
Fig. 6.40 DC motor rotor showing the commutator, brushes, and one
set of windings
6.4Transducers
351
A= iMv2g
R
v(t)
MOTOR
JM
bM
B= TM 3g
DC Motor
transducer
interface
Fig. 6.42 Block diagram showing the positive power flows into the
DC motor transducer element, which interfaces the electrical and mechanical subsystems
Fig. 6.43 Linear graph
symbol of the DC motor
transducer interface
N
N1
2
1g = - ___
2g
TA
TB
PElectrical = iM v2 g
(6.16)
Likewise, the product of torque TM and angular velocity between node 3 and ground on the electrical side of the interface is the mechanical power, which flows into the transducer
PMechanical = TM 3 g
(6.17)
352
TM = KT iM
(6.18)
PA + PB = 0 PA = PB
iM v2 g = TM 3 g
iM v2 g = KT iM 3 g
v2 g = KT 3 g
(6.19)
The voltage, v2g, across the electrical branch of the transducer, is known as the motors back EMF, where EMF is the
abbreviation for electromotive force. Electromotive force is
a nineteenth-century term for magnetically induced voltage.
A conductor moving across a magnetic field, such that it cuts
the field lines (Chap.5 Appendix), creates a voltage in the
conductor. This is the principle of operation of electrical generators. The windings on the rotor of a motor cut through the
stators magnetic field lines create a voltage which opposes
the voltage from the source driving the motor. This principle
is Lenzs law, proposed by Heinrich Lenz in 1833. The symbol L for inductance is for Lenz. Induction acts to limit the
speed of electric motors. Even a frictionless electric motor
has a maximum speed, which is the angular velocity at which
the motors back EMF is equal in magnitude to the voltage
applied by the power source.
Checking the units of a system equation is more difficult,
if there is a transducer in the system, because the transducer
constant appears to have different units in each of the transducer equations. In fact, the two sets of units are the same, if
expressed in fundamental units. However, do not check the
units of the system equation, by expressing the transducer
constant in fundamental units. It is easier to simply check the
system equation units, by expressing the transducer constant
units in terms of both sets of power variable units, and then
making the substitution for the transducer constant units last,
when it will be clear which set to use, rather than by expressing all of the parameters of the system in fundamental units,
which often produces more errors than it reveals.
Example: Express the units of motor torque constant KT in
terms of the power variables
[T ] = [ KT i ]
[ K ] = i
[ v ] = [ KT ]
[ KT ] =
and
v
6.4.1.2Solenoids
Ampere coined the term solenoid, Greek for channel, to describe the effect of multiple turns of a coil at intensifying the
strength of magnetic flux , created by a current i. The term,
solenoid, is now commonly understood to describe a linear
electric motor, which is actuated by a coil around a cylindrical ferromagnetic core, Fig.6.44. The block model of the solenoid and its linear graph are shown in Figs.6.45 and 6.46.
Another style of solenoid is shown in Fig.6.47. Energizing the coil moves the ferromagnetic plunger, thereby
maximizing magnetic flux by minimizing magnetic reluctance R. All motors can be understood from the perspective
of either motion, resulting from interacting magnetic forces
or torques or motion to maximize magnetic flux .
6.4.1.3Example 1: The Linear Graph of the DC
Motor Model
The first step in drawing a linear graph is to find the nodes
of distinct values of the across variables on the schematic,
Fig.6.48. What are the across variables of the two subsystems
6.4Transducers
353
FM
Normally-closed
contact
Spring contact
____
1CR
Logic Output
1CR
Normally-open
contact
Logic Input
R axial
shell
air gap
Coil 1CR
Fig. 6.44 Schematic of a solenoid in an electromechanical relay. Energizing the solenoid creates a magnetic force FM which transitions
(moves or changes) the spring contact breaking the normally-closed
contact and making the normally-open contact
A= i Mv2g
R iron
Solenoid
transducer
interface
B = FM v3g
R iron
air gap
v(t)
MOTOR
iM
JM
bM
FM = KF i M
2
2
3
Fig. 6.45 Block diagram of positive power flows into a solenoid linear
electrical motor transducer element. The symbol for voltage and translational velocity are the same. The node subscripts identify the element
that the variable is associated with, thus, distinguishing voltages and
velocities
Fig. 6.46 Linear graph symbol
of the solenoid (linear electric
motor) transducer interface
R radial
plunger
g
Fig. 6.48 DC motor model showing nodes of distinct values of voltage
and angular velocity
FM
1
TM = K T i M
2
g
of the DC motor? The across variable of the electrical system
is voltage. The across variable of the rotational mechanical
system is angular velocity.
Although the electrical reference voltage (called ground)
and the mechanical non-accelerating inertial reference velocity (also called ground) are two different physical quantities, they are both represented by the ground plane of the
schematic for graphical convenience.
Draw the linear graph, by first drawing and identifying
the nodes, and then adding the linear graph elements between
the corresponding nodes, Fig.6.49. There must be a transducer interface symbol in the linear graph to separate the two
subsystems. Remember, the linear graph symbol for a transducer has two branches which represent the two sides of the
interface. A branch in the linear graph can only represent one
energetic property. A common error is to use a branch in the
linear graph, which happens to be parallel to the interface, as
v(t)
iM
g
TM
354
R
v(t)
MOTOR
JM
JL
bM
v(t)
v(t)
MOTOR
JM
TM
g
Generator
Output
Terminal
Rwinding
JL
bL
g
Fig. 6.51 Schematic with nodes of distinct values of the across variables voltage and angular velocity
JM bM
JL
bL
bM
2
3
TM = K T i M
iM
bL
T(t)
J
b
DC
Generator
External
Electrical
Load
R Load 2
RLoad1 L
6.4Transducers
355
v2g = KG 1g
T(t) J b TG
g
pumps. Pumps which move fluid by establishing a pressure
differential in the fluid include fans, turbines, and diaphragm
pumps. Fluid can flow through a turbine pump, when the
pump is not driven. Conversely, fluid cannot flow through a
positive displacement pump unless it is driven.
The clash of sign conventions between the solid, vector,
and fluid mechanics is beyond awkward. It can lead to contradictory motions between solid elements and fluids. Unfortunately, the sign conventions used in solid mechanics and
in fluid mechanics are opposite. Positive stress in a solid is
tensile stress, whereas positive pressure compresses a fluid.
Negative (absolute) pressure places a fluid in tension. This
state of affairs is a result of sign conventions being established separately in each engineering specialty. The general
notion in each field is reasonable enough. Typically, if opposite states are possible, then the positive sign indicates what
an engineer prefers. If only one state is possible or common,
then it is assigned the positive state. For example, tensile
force is preferred in mechanical design, because buckling
cannot occur. Conversely, fluids can support tension in only
a few, special circumstances. Fluids are usually in compression. Hence, compressive pressure is positive. The sign reversal between stress in solids and pressure in fluids is not
the end of the trouble. The sign conventions of solid mechanics and vector mechanics also differ. In vector mechanics, a
positive force is a force which acts in the positive direction,
relative to a coordinate reference frame. A force which is acting in the positive direction can either push or pull, putting
an element in either tension or compression. Added to this
confusion is the unfortunate linear graph sign convention
of assuming both power flows are in the positive direction
into the transducer. This is impossible because a transducers
only energetic property is to interface two subsystems. Ideal
transducers can neither store nor dissipate energy. All energy
which flows in must immediately flow out. This sign convention leads to the power flows having the same magnitude
but opposite signs.
When working with fluid system transducers, such as
a piston-cylinder, define your sign convention, such that a
compressive force transmitted to a fluid produces positive
pressure. Then, use PA + PB = 0 to derive the relationship between displacement and volume flow rate. This sign conven-
R winding
R Load
iG
g
R Load 2
tion avoids negative fluid pressure. Negative pressure signals possible fluid cavitation (vaporization), which is very
destructive to machines. The existence of bubbles caused by
vaporization is not the problem, although, in general, you
want to avoid creating foam or froth when pumping fluid.
The damage caused by cavitation is created by the high
stresses which occur when the bubble collapses. Unfortunately, the linear graph sign convention often leads to volume flow rate Q in a non-sensical direction. It is a no-win
situation. Resist the temptation to fix the signs until after
the system equation has been derived.
volume
Vol
revolution
356
A = TP 1g
Qp
1g
-1g
Fig. 6.55 Gear pump. One of the two gears is shaft driven. The gears
counter-rotate. The fluid moved forward between the gears teeth and
the housing is forced out when the gears mesh
The flow rate of the pump Qp is the volume moved per revolution times the angular velocity of the gears. We need to
work in SI units for volume (m3) and in units of radians per
second for angular velocity, so we must divide the volume
per rotation by 2 rad:
Vol
1g
2 rad
PA + PB = 0 TP 1g + QP p2 g = 0
1
TP 1g + Vol 1g p2 g = 0
2
1
TP + Vol p2 g = 0
2
B = QP p2g
Fig. 6.56 Block diagram of the positive power flows into a gear pump
transducer interface
gallons per minute at 200 psi. Fire engine pumps run of the
trucks diesel engine through a split gear box, which can
transmit the engines power to either the pump or the drive
shaft for the wheels.
Qp
Qp =
Gear Pump
transducer
interface
1
TP = Vol p2 g
2
Again, note that both positive power flows are shown flowing into the transducer interface, even though one must flow
out, since the interface cannot store or dissipate energy.
6.4Transducers
357
Vol
Q P = - _____ 1g
2 rad
1
TP
+x,v
Ap1g
QP
FP
g
Piston area A
Fig. 6.59 Free body diagram of the piston. The piston force FP is
shown in the positive direction. Seals on actual pistons can produce
shear forces against the cylinder of up to 10% of the piston force
g
Fig. 6.57 Linear graph symbol of the gear pump transducer interface
Qp
p1g
FP
FP
p1g
Qp
Vent to atmosphere
Vent to atmosphere
Piston or operating rod
Fig. 6.58 Cross-section of a single acting hydraulic cylinder and piston. An internal spring or an external mechanism is needed to move the
piston towards the hydraulic fluid port
fluid side, and the piston force in the positive direction for
translational velocity.
Equilibrium yields
Ap1g + FP = 0 FP = Ap1g
Use the power relationship for the transducer to derive the
second transducer relationship
PA + PB = 0 QP p1g + FP v2 g = 0
QP p1g Ap1g v2 g = 0
QP Av2 g = 0 QP = Av2 g
Although the signs of both transducer equations make sense
in this case, there is no reason that they should and they often
do not. If we reverse the hydraulic cylinder from left to right,
Fig.6.60, and we again define the relationship between piston force and pressure, such that pressure is positive, when
the fluid is in compression, we have a sign incongruity between volume flow rate into the cylinder, Qp, and the velocity of the piston, v2g.
358
A = QP p2g
Hydraulic Piston
transducer
interface
FP = Ap1g
1
+x,v
B = FP v3g
A p13
FP
A
g
QP
FP
g
Fig. 6.62 Linear graph symbol of a hydraulic piston-cylinder
Stator
The linear graph sign convention, that both power flows
are positive into a transducer or transformer, Figs.6.61 and
6.62, leads to sign problems between the volume flow rate
into the cylinder, Qp=v2g, and the velocity of the piston, v3g.
We cant make the piston area, A, negative, so the sign of
either Qp or v2g must be inverted. Mechanical signs are often
a problem, since we have two independent sign conventions.
A positive force accelerates a mass in the positive direction,
or a positive force produces positive stress. Interfacing a mechanical system with a fluid system increases the sign difficulty, since positive pressure is compressive, and positive
normal stress is tensile. Ultimately, one has to return to the
signs defined on both the schematic and the linear graph to
understand what the sign of a variable means.
Hydraulic, pneumatic, and vacuum cylinders are widely
used in machine design, and there are many variations of
their design. A fundamental distinction is whether only one
side or both sides of the piston can be pressurized. If only
one side can be pressurized, the piston-cylinder is single
acting. If both sides of piston can be pressurized, then it is
double acting, Fig.6.63.
Rotor
6.4Transducers
359
Rotor
Stator
Roller Vane
Drain Port
Rolling-contact
bearings
Output shaft
cantly higher than the 2,000psi typical of internal combustion engines. There are an odd number of pistons in a rotor
that resembles the cylinder of a large caliber revolver handgun, Fig.6.66. The operating rods of the pistons have a ball
end which is captured in a socketed plate. If the socketed
plate can be tilted, it is called a swash plate. If it is fixed
in position, it is called the angle plate. The axis of socketed plate is inclined, relative to the axis of rotor. The displacement of a piston in a pressurized cylinder increases, as
the rotor turns towards the top position, and then decreases,
as the rotor turns through the drained side. The tangential
component of the force, exerted against the angle plate by a
pressurized pistons operating rod end, creates a torque about
the axis of rotation. The base of each cylinder has a pressure
port which aligns with a stationary valve plate, as the rotor
revolves. The top cylinder (at the maximum piston displacement) and cylinders on one side of the rotate are pressurized.
The cylinders on the other side are drained. The direction of
rotation is reversed by pressurizing the cylinders that were
drained, and draining those which were pressurized, except
the top cylinder that is always pressurized.
360
Fig. 6.67 Fourth-order fluidmechanical system
Hydraulic
Piston
Area A
C
T(t)
Pump
Vol
Q P = ___ 1g
2
1
T(t) J
TP
2 R2 3 I
R1
g
R2
FA= Ap4g
I
3
QP R1
g
M. This system is fourth order, because there are four independent energy storages, J, I, C, and M.
The first step in drawing a linear graph is to find the nodes
of the across variables and identify them on the schematic of
the system. What are the across variables of the three subsystems? The across variable of the rotational mechanical
system is angular velocity . The across variable of the fluid
system is pressure p. The across variable of the translational
mechanical system is translational velocity v, Fig.6.68.
Draw the linear graph by first drawing and labeling the
nodes, Fig.6.69. Next, add the two transducer interfaces between their respective nodes. Then add the remaining elements between the corresponding nodes. Remember that
each branch in the linear graph represents a distinct power
flow. Never assign two properties to one branch, by using a
branch belonging to an element such as the inertia, fluid capacitance, or mass as one side of a transducer interface. The
two branches of the transducer interface represent the power
flow passing across the interface. They cannot represent any
other power flow in the system.
Hydraulic
Piston
Area A
T(t)
R1
R2
Pump
QA
FA
p pinion N pinion
2
1g or x2 g =
prack N pinion
2
1g
6.4Transducers
361
Pin constrained by slot
to translate in contact with
the root of power screw.
+,
+x,v
-x,v
+x,v
1
2
Fig. 6.70 Rack and pinion showing positive directions for translation
and rotation
+x,v
2
__
+,
=
in.
in.
in.
+,
Fig. 6.71 Power screw and nut. The nut is constrained from rotation
and must translate along the power screw
PA + PB = 0 TP 1g + FR v2 g = 0
Although it is possible to perform system dynamics calculations in US customary units, it is inadvisable, due to errors
in converting units of weight to units of mass. It is preferable
to calculate using SI units, even when the results are to be
expressed in US customary units:
n 2 rad n 2 rad 1 in.
rad
=
N
in.
in. 0.0254 m
m
Since the power nut cannot rotate, it must translate to accommodate the rotation of the screw. The translation x of the nut
is related to the angular displacement as
TP 1g + FR rp 1g = 0
TP = rp FR
1 m
x2 g =
N rad 1g
To express this in terms of the power variables, v and , we
differentiate both sides with respect to time
1 m d1g
=
N rad dt
dt
dx2 g
1 m
v2 g =
N rad 1g
The second transducer equation is derived from energy conservation expressed in terms of power, because, again, the
transducer represents only the transduction of the power
from one type of power (or energy domain) to the other:
PA + PB = 0 TS 1g + FN v2 g = 0
1 m
TS 1g + FN
=0
N rad 1g
1 m
TS = FN
N rad
362
Crank
Follower
r1
Cam
+,
Connecting rod
+x,v
r2
Slider
1
+,
+x,v
Fig. 6.74 Crank and slider. This is an in-line or centric crank and
slider, because the line of motion of the slider intersects the center of
rotation of the crank.
363
PowerB
LA
LB
F(t)
Power A
Transformer
or
Transducer
Power = Power
LC
Pivot
PowerC
+ PowerB + PowerC = 0
LA
LB
F(t)
2
1
LC
Pivot
K
g
4. Mechanical subsystems are restricted to a single direction, so that the power variables can be represented as
scalars, rather than as vectors.
Within these constraints, we are free to define the positive
direction as we wish. If the input is represented as a vector,
we can choose to use the direction of the input as the positive
direction. Alternatively, we can choose to define a coordinate
system. In any event, we can choose to define the positive
direction. We will establish signs graphically on the systems
schematic, as needed to formulate the system equation, and
then interpret the results of calculations, with reference to
the linear graph and the schematic.
Recall that levers are modeled as perfectly rigid and as
undergoing small displacements, where small means
small enough, that the difference between the arc, which
a node transverses, and its horizontal or vertical component can be neglected, allowing the motion to be considered
translational. We will establish the signs for the translational
motion of nodes on the lever to be positive, when the applied
force, F(t), acts in the direction shown, Fig.6.77. In other
words, counterclockwise rotation of the lever produces positive translational displacement of nodes on the lever.
Multiport Transformer ModelNow consider the lever.
The key is to view the system as both a mechanical system
and an energetic system, meaning that we will use equilib-
364
F
g
F
g
and LB = v2 g
( LA + LB ) = v1g
F F(t) F
F
g
Fig. 6.78 Transformer nodes of the L-shaped lever system of Fig. 6.77
v1g
( LA + LB )
v2 g
LB
v1g =
LA + LB
v2 g
LB
P + P = 0 F v1g + F v2 g = 0
Eliminate the velocities by substitution:
F v1g + F v2 g = 0
L + LB
F A
v2 g + F v2 g = 0
LB
L + LB
F = A
F
LB
Repeat the process to determine the transform equations for
the interface between nodes 1 and 3, Fig.6.82.
Geometric compatibility ( LA + LB ) = v1g and LC = v3 g
v1g
( LA + LB )
v3 g
LC
v1g =
LA + LB
v3 g
LC
P + P = 0 F v1g + F v3 g = 0
Substitute to eliminate velocities
365
LA + L B
v1g= ____
v2g
LB
F
g
LA + L B
LA + L B
v1g= ____
v2g v1g= ____
v3g
LB
LC
Fig. 6.83 Linear graph of the L-shaped lever system, Fig. 6.77, with
transformer interfaces identified with one of the two transformer equations
L + LB
F v1g + F v3 g = 0 F A
v3 g + F v3g = 0
LC
L + LB
F = A
F
LC
The linear graph of the bent lever system is completed by
identifying the transformers with a transformer equation,
Figs.6.83 and 6.84.
There are two transformer equations for each transformer
interface. The transformer equations added to the list of energetic equations are
Leverage between nodes 1 and 2
v1g =
LA + LB
v2 g
LB
and
L + LB
F = A
F
LB
LA + LB
v3 g
LC
and
F K
F F(t) F
F
F(t)
LA + L B
v1g= ____
v3g
LC
L + LB
F = A
F
LC
Gear A
N 2 Teeth
Pinion
N 1 Teeth
Gear B
N3 Teeth
rA N 2
rB N 3
366
Mesh between
Pinion and Gear A
TA
T
T
g
T
g
T
g
surface speed = rp 1g = rA 2 g = rB 3 g
T
g
N
N1
1g and 3 g = 1 1g
N2
N3
2 g =
P + P = 0 T 1g + T 2 g = 0
Eliminate the velocities by substitution
N
T 1g + T 2 g = 0 T 1g + T 1 1g = 0
N2
T =
N1 1g = N 2 2 g = N 3 3 g
where the magnitude bars are needed, because speed is a scalar, but velocity is a vector. We must inspect the schematic
to determine the direction of rotation of the gears, yielding
Fig. 6.86 Linear graph of pinion driving gears A and B, Fig. 6.85
Mesh between
Pinion and Gear A
rA
3g = __
r C 1g
Mesh between
Pinion and Gear B
N1
T
N2
P + P = 0 T 1g + T 3 g = 0
N
T 1g + T 3 g = 0 T 1g + T 1 1g = 0
N3
T =
N1
T
N3
N1
N
1g and T = 1 T
N
N
2
2
2g =
N1
1g
N 3
3g =
and T =
N1
T
N3
N
2g = - __1 1g
N2
2
367
rA
2g = __
r 1g
N
3g = - __1 1g
N3
3
TA
Idler
Fig. 6.89 One of the two transformer equations for each interface is
added to identify the power transformations of the pinion driving two
gears, Fig.6.85
2g
TA
T
rA
3g = __
r C 1g
T
g
T
g
rA
2g = __
r 1g
Pulley B
Radius rB
Idler
Pulley A
Radius rA
3g
1g
Pulley C
Radius rC
vsurface
Fig. 6.90 A belt drive with one driving pulley, two driven pulleys, and
two idlers
4 g
rA
5 g
rB
6 g
rC
4 g =
r
rB
5 g and 4 g = C 6 g
rA
rA
368
rA
3g = __
r C 1g
T
g
T
g
Conservation of energy across the interface between pulleys A and B, expressed instantaneously in terms of power
flows, is the sum of the products of the through and across
variables of the two branches of the interface
P + P = 0 T 4 g + T 5 g = 0
Eliminate the angular velocities by substitution
T 4 g + T 5 g = 0
T =
rB
5 g + T 5g = 0
rA
rB
T
rA
P + P = 0 T 4 g + T 6 g = 0
Eliminate the angular velocities by substitution
T 4 g + T 6 g = 0
T =
rC
6 g + T 6 g = 0
rA
rC
T
rA
4 g =
rB
r
5 g and T = B T
rA
rA
4 g =
rC
r
6 g and T = C T
rA
rA
369
b
K
T(t)
T(t)
J
Rigid shaft
Rigid shaft
Fig. 6.95 Schematic of an automobile engine model with angular velocity nodes
T(t)
J
g
Fig. 6.96 Linear graph of the automobile engine model with floating
torque source
C2
p2(t)
Pump 2
p1(t) R1
Pump 1
C1
R2
R3
Hydraulic Piston
Area A
370
p2(t)
p1(t) 1 R1
Pump 1
Hydraulic Piston
Area A
1
+
1.5 VDC
R2
p2(t)
1
p1(t)
R1
Switch 1
i R1
R3 C2 QP
FP
C1
1
+
1.5 VDC
Open (non-conducting)
Closed (conducting)
Closed (conducting)
Switch 1
i R1
iB
Switch 2
R1
g
Fig. 6.99 Linear graph of the third-order fluid-translational mechanical with two pumps
iC
Fig. 6.100 Electric circuit with two voltage sources (batteries) in series
R1
2
FP = Ap4g
4
i R2
iB
Switch 2
iB 2
1.5 VDC
R3
C1
3 R2
Pump 2
R2
C2
iC
g
Fig. 6.101 Energized configuration one
R2
2
+
Switch 2
i R2
iB 2
1.5 VDC
1
+
1.5 VDC
3
iC
iB
g
Fig. 6.102 Energized configuration two
R2
2
+
371
Switch 2
v21 + v1g v3 g
R2
i R2
1
+
R1
Switch 1
1.5 VDC
i R1
iB
iC
iR1 + iR2 = iC
v21 + v1g = v23 + v3 g
1
= EC = Cv32g
2
dv3 g
dt
Superimposing (or summing) the step responses of configurations one and two yields a steady-state voltage across
the capacitor of v3 g = 4.5 VDC. This cannot be the equilibrium state. If the steady-state voltage in the capacitor were
v3 g = 4.5 VDC, then there would be current flowing from the
capacitor back through both resistances in steady-state
v1g = v13 + v3 g
v1g v3 g = iR1 R1
v1g v3 g
R1
R1
iR1 + iR2 = iC
Although steady current flow through the resistances is acceptable in steady-state, the steady-state capacitor current
must be zero, or the energy in the capacitor would change,
Fig. 6.104. For the voltage across the capacitor, v3, and,
1
hence, the energy in the capacitor EC = Cv32g to be con2
stant, the steady-state capacitor current iC must be zero.
Superposition works, when additional inputs are applied
to the same input node, or driving point. Superposition
fails in this system, because the two voltage sources act on
different input nodes.
We will now reduce the equation list to derive the system
equation for the voltage across the capacitor in configuration three. The only difference between this reduction and
our previous is that we now keep two inputs. We will write
the inputs v1g and v21 as v1g (t ) and v21 (t ) to identify as inputs.
Reduction: Inputs v1g (t ) and v21 (t ) Output v3g
v21 (t ) + v1g (t ) = v23 + v3 g v21 (t ) + v1g (t ) = iR2 R2 + v3 g
v1g v3 g = v13
v1g v3 g
1.5 VDC
R2
Hence
iB 2
1.5 VDC
v21 (t ) + v1g (t ) = R2 C
= iR1
v21 (t ) + v1g (t ) = R2 C
dt
dv3 g
dv3 g
dt
dv3 g
dt
iR1 R2 + v3 g
v
13 R2 + v3 g
R1
v1g (t ) v3 g
) RR
+ v3 g
dv3 g R2
R
v21 (t ) + v1g (t ) + 2 v1g (t ) = R2 C
+
v3 g + v3 g
dt R1
R1
and
v21 + v1g = v23 + v3 g v21 + v1g v3 g = v23
v21 + v1g v3 g = iR2 R2
v21 + v1g v3 g
R2
= iR2
dv3 g R2
R
v21 (t ) + 1 + 2 v1g (t ) = R2 C
+ 1 + v3 g
R1
dt
R1
dv3 g R1 + R2
R + R2
v21 (t ) + 1
v1g (t ) = R2 C
v3 g
+
dt R1
R1
372
R2
2
+
Switch 2
i R2
iB 2
1.5 VDC
1
+
Switch 1
1.5 VDC
iB
i R1
iC(ss)=0
Switch 2
i R2
iB 2
1.5 VDC
R1
R2
R1
Switch 1
i R1
g
Fig. 6.104 No current flows through the capacitance during steadystate of the step response when the system is in configuration three
R1
R1 R1 + R2
R + R v21 (t ) + R + R R v1g (t )
1
2
1
2
1
R R dv3 g R1 R1 + R2
v3g
= 1 2 C
+
dt
R1 + R2
R1 + R2 R1
The System Equation is:
iR1 ( ss ) + iR 2 ( ss ) = iC ( ss )
RR
R1
R + R v21 ( ss ) + v1g ( ss ) = v3 g ( ss )
1
2
v21 ( ss ) = iR1 ( ss ) ( R2 + R1 )
v21 ( ss )
= iR1 ( ss )
R2 + R1
The resistance in the time constant has the same form as the
equivalent resistance of two resistors in parallel
Requiv =
R1 R 2
R1 + R 2
1
1
1
+
R1 R 2
The circumstances are similar but not identical to the equivalent resistance, which replaces two resistors connected
between the same two nodes. In the present case, the two
resistors have only node 3, where they connect to the capacitor, in common. Nevertheless, we can conclude that the time
constant of configuration three is less than the time constants
of either configurations one or two, because the resistance to
two parallel resistances is less than that of either individual
resistance.
The steady-state voltage across the capacitor can be understood, if one recognizes that absence of current into the
capacitor at node 3 yields
iR1 ( ss ) = iR 2 ( ss )
A current loop through the two resistors and battery B2 is created in steady-state, Fig.6.104.
The applied voltage drops over each resistance, in proportion to its resistance divided by the total, because the resistors have the same current. We will calculate voltage v31 ( ss )
across resistor R1 from node 3 to node 1, and add it to voltage
v1g ( ss ) across battery B1 to determine the voltage across capacitor v3 g ( ss ) in steady-state
R1
R1 R2 dv3 g
R + R v21 (t ) + v1g (t ) = R + R C dt + v3 g
1
2
1
2
= 1 2 C
R1 + R2
Therefore,
v13 = iR1 R1
v31 =
R 2 + R1
v21 ( ss )
373
3.0
LA
2.5
F(t)
Configuration 2
2.0
v3g (t)
1.5
VDC
LB
Configuration 3
1.0
Configuration 1
0.5
0.0
10
15
t, sec
20
25
Pivot
30
LA
LB
F(t)
Pivot
b
g
LA
v32 = - __
v
LB 12
1
3
F
F(t)
M
b
K
g
374
+x,v
F(t)
L2
V2g = _____ V1g
L 1+ L 2
b1
L1
K
M
2
L2
F(t) b1 F
b2
g
F(t)
L1
L2
b2 M
b2
g
F(t)
b2 equiv
L2
V2g = _____ V1g
L 1+ L 2
F(t) F
b2 equiv
F(t)
F(t) F
This is consistent with the objective of the equivalent system to have the same feel as the original system, since it
requires
F = Fb2
equiv
We will write the energetic equations for the auxiliary system (with a single energy storage or dissipation element).
Then, reduce either the element equation or energy storage
equation, so that it is written in terms of the power variables,
F and v1g. The term in that equation comprises of the element parameter and the transformer ratio, n, is the equivalent
parameter.
1
F = F .
n
F
g
F = n 2 b2 v1g
The equivalent damping coefficient is
b2equiv
L2
= n b2 =
b2
L1 + L2
2
Transformer Eqs: v2 g =
1
L2
v1g nv1g F = F
n
L1 + L2
Node Eqs: F (t ) = F F FK = 0
Loop Eqs: (both trivial) v1g = v1g v2 g = v2 g
Element Eqs:
F = b2 nv1g
1
F = b2 nv1g
n
(6.20)
We have eliminated the unwanted power variables. Now, rearrange the equation into the form of the elemental equation
of a damper
equiv
v1g nv1g
L1 + L 2
L2
F
g
L2
V2g = _____ V1g
L 1+ L 2
F(t) F
Transformer Eqs: v2 g =
L2
V2g = _____ V1g
L 1+ L 2
b2
375
dv2 g
dFK
= Kv2 g FM = M
dt
dt
FK2
Energy Eqs: E Auxillary = E K E K =
2K
system
1
and E Auxillary = E M E M = Mv22g
2
System
The reduction for the equivalent spring will be demonstrated
twice: first, starting with the energy equation and next, starting with the element equation.
376
1
F
n
EK =
2K
EK
( F )
=
2K
F(t) b1
EK =
F2
2 n2 K
Mequiv Kequiv
K equiv
L2
=n K =
K
L1 + L2
2
1
d F
d F
n
dFK
= Kv2 g
= K nv1g
= nKv1g
dt
dt
dt
dF
= n 2 K v1g
dt
F(t) b1
b2
b total
F(t)
equiv
Fig. 6.117a Auxiliary system of the force source and dampers b1 and
b2 equiv. b Equivalent system of force source and damper btotal
Auxiliary system:
also yields
K equiv
L2
=n K =
K
L1 + L2
2
(6.21)
EM =
1
1
Mv22g E M = M nv1g
2
2
equiv
equiv
Equivalent system:
Node Eq: F (t ) = Ftotal
Loop Eq: (trivial) v1g = v1g
Reduction
F (t ) = Fb1 + Fb2
L2
M equiv = n 2 M =
M
L1 + L2
= n 2 b2 v1g
yielding
equiv
yielding
b2
equiv
(6.22)
The last step is to draw the linear graph of the system with
equivalent elements on node 1, Fig.6.116, then combine any
like elements. One further simplification is possible. The two
dampers in parallel can be combined, Fig.6.117.
F (t ) = b1v1g + n 2 b2 v1g
F (t ) = b1 + n 2 b2 v1g
and
Therefore,
btotal = b1 + n 2 b2
377
F(t)
b1+b2
equiv
Mequiv Kequiv
g
Fig. 6.118 Simplified equivalent spring, mass, and damper system
K equiv
L2
=n K =
K
L1 + L2
2
L2
M equiv = n 2 M =
M
L1 + L2
2
btotal
L2
= b1 + n b2 = b1 +
b2
L1 + L2
2
Compliant Shaft
Torsional Spring K
Pinion, N2 teeth
Rack, N1 teeth per inch
Flywheel
Rotational Inertia J
Gear, N3 teeth
Mass M
Lubricant Film
Damping b2
Fluid Coupling
Damping b1
378
Fig. 6.120 Nodes of distinct
values of the across variables,
rotational and translational velocities, shown on the schematic
of the hybrid mechanical system
Compliant Shaft
Torsional Spring K
Pinion, N2 teeth
Rack, N1 teeth per inch
Flywheel
Rotational Inertia J
2
Gear, N3 teeth
Mass M
Lubricant Film
Damping b2
Fluid Coupling
Damping b1
2 v3g= X 2g 3
TR
(t)
g
Fig. 6.121 Linear graph showing the rack dividing power between the subsystems with mass
M andmass moment of inertia J
4g= Y2g 4
FR M
b2 T
b1
g
Fig. 6.122 Linear graph showing the power being transferred
to the rack, and the remainder
flowing into the subsystem with
the mass moment of inertia J
(t)
2 v3g= X 2g 3
TR
FR M
4g = Z v2g 4
b2 F
b1
inch
teeth
teeth
N1
= 39.37 N1
inch 0.0254 meter
meter
The transducer constant relating the angular velocity of the
pinion in radians per second to the translational velocity of
the rack in meters per second is based on equal speeds of
their pitch surfaces:
N 2 teeth
teeth
N 2 teeth
meter
v3 g =
2 g
39.37 N1 teeth 2 rad
v3 g =
N 2 meter
2 g
N1 (39.37 )( 2 rad )
v3 g = X 2 g where
X =
N 2 meter
N1 (39.37 )( 2 rad )
379
PA + PB = 0 TR 2 g + FR v3 g = 0
Damper b
Spring K 2
Fig. 6.123 Translational mechanical system. Force source acting on a
pivoted beam
N 3 teeth
teeth
meter
N 3 teeth
4 g =
N (39.37 )( 2 rad )
where Z = 1
N 3 meter
5m
400
2m
3m
K1
N sec
m
10
K2
N
m
PE + PD = 0 T 2 g + T 4 g = 0
F v3 g + T Z v3g = 0 F = Z T
T 2 g + T Y 2 g = 0 T = YT
4 g =
N 2 meter
N1 (39.37 ) ( 2 rad )
N2
2 g
N3
4 g = Y 2 g where Y =
N2
N3
2 g
20
N
m
F v3 g + T 4 g = 0
PC + PD = 0
4 g =
pivot
L3
4 g = Z v3 g
L2
Spring K1
TR 2 g + FR X 2 g = 0 TR = X FR
380
Po
w
er
200
F(t)
150
newtons
F(t)
100
Psource
Pspring K1
50
Pdamper
Spring K1
t, sec
Pspring K2
Damper b
Fig. 6.126 Power from force source viewed as flowing into the lever,
and then dividing between the two springs and the damper
L1
1
Spring K1
L2
v 2g =
pivot
L2
____
v1g
L1 +L 2
v 3g =
-L 3
____
L1 +L 2
v1g
L3
Damper b
Spring K 2
F F(t) K1 F
K2
Fig. 6.127 Linear graph showing power dividing where it enters the
beam, at node 1
F(t)
v 2g =
L2
____
L1 +L 2
K1 F
v 3g =
v1g 2
-L 3
____
L1 +L 2
b F
v1g
K2
beam =
v2 g =
v1g
L1 + L 2
L2
v1g
L1 + L2
v2 g
L2
and v3 g =
v3 g
L3
L3
v1g
L1 + L2
381
er
Pow
Name the lever ratios, A and B, to reduce effort and the likelihood of transcription error:
F(t)
Psource
Pspring K1
Po
we
r
Pnode 2
Spring K1
Pnode 3
Damper b
Pspring K 2
dF (t )
dt
dF (t )
dt
L3
L3
v1g = 0 F =
F
L1 + L2
L1 + L2
Continuity Eqs:
v2 g = v2 g
dt
= K1v1g
FK2 F = 0
v3 g = v3 g
dFK2
dt
v2 g =
L2
v1g
L1 + L2
F =
L2
F
L1 + L2
v3 g =
L3
v1g
L1 + L2
F =
L3
F
L1 + L2
FK21
2 K1
EK =
2
FK22
2K2
F (t ) = FK1 A F + B F
= K 2 v3 g .
dv1g
K1
v3 g + A2 b
B K 2 v3 g
B
dt
1 2 dv3 g K1
+ B K 2 v3 g
A b
B
dt
B
dv3 g
dF (t )
= A2 b
+ K1 + B 2 K 2 v3 g
dt
dt
dv3 g
dF (t )
B
A2 b
=
+ v3 g
2
2
K1 + B K 2 dt
K1 + B K 2 dt
Energetic Equations
Fb F = 0
F = BF .
dv2 g
dF (t )
= K1v1g + Ab
B K 2 v3 g
dt
dt
P + P = 0 F v1g + F v3 g = 0
dFK1
v3 g = Bv1g
dFK2
dv2 g
dF (t ) dFK1
=
+ Ab
B
dt
dt
dt
dt
L2
L2
F
v1g = 0 F =
L1 + L2
L1 + L2
L3
L1 + L2
F = AF
F (t ) = FK1 + A Fb B FK2
P + P = 0 F v1g + F v2 g = 0
F (t ) = FK1 + F + F
F (t ) = FK1 + F + F
v2 g = Av1g
Fig. 6.129 The alternative is to view power from the source flowing
into node 1, the remaining power to node 2, and then what remains
flowing to node 3
F v1g + F
L2
L1 + L2
Spring K2
F v1g + F
L3
L1 + L2
2
L3
K1 +
K2
L1 + L2
dF (t )
=
dt
L2
b
L1 + L2
2
dv3 g
dt
L3
K1 +
K2
L1 + L2
+ v3 g
[ K ] = t v [b] = v
382
v 2g =
L2
____
L1 +L 2
v1g
-L 3
____
v 3g =
L1 +L 2
v1g
F(t)
K1 F
F b F
K2
Spring K1
L1+L2
pivot
L3
Fig. 6.130 The linear graph corresponding to the power flows shown
in Fig.6.129
L3
L + L
dF (t )
1
2
2
dt
K + L3 K
1
2
L1 + L2
L 2
2
b
dv3 g
L1 + L2
=
+ v3 g
2
dt
L
3
K +
K
1 L1 + L2 2
1 F b v
t v F F t v v
K t = K t + [ v ] F t = v F t + [ v ]
t v F F t v v
=
+ [v]
F t v F t
[v] = [v ] + [v ]
EK =
2
EK =
2
FK22
2K2
F
B
2K2
EK =
EK =
F
2K2
F2
2B2 K2
Spring K 2
v 3g =
F(t) K1 F
-L 3
____
L1 +L 2
v1g
K2
K equiv = B 2 K 2
L3
K2
K equiv =
L1 + L2
L3
K2
K total = K1 +
L1 + L2
Example Problem Two, Part B Determine the velocity of
the location where spring K2 is attached to the beam, as a
function of time in response to the input plotted in Fig.6.124.
Use Mathcad or MATLAB to plot that velocity.
Use superposition of the unit step response to formulate
the response function. The system is assumed to be de-energized, prior to the application of the first step input at an
unknown time but long enough prior to time t=0, that the
383
L3
( )
v3 g 0+ =
F(t) K1
F(t)
K equiv
K total
( )=
v3 g 0
Fig. 6.133a Linear graph of the auxiliary system with the equivalent
spring in parallel with spring K1. b Equivalent spring combined with
spring K1
system has reached steady-state by time t=0. We will assume that the first step input was applied at time t= 7,
seven time constants before the pulse is applied.
Identify the type of step response from the initial and
steady-state values. To use superposition we must assume
that the system is de-energized, prior to the input of the
unit step. Determine the value of the output variable at time
t = 0+ , the instant after a unit step input was applied to the
de-energized system.
Since the system is assumed to be de-energized before
the application of the unit step input, both spring forces are
zero. The forces acting through the springs cannot change
instantaneously, because springs store energy. The applied
unit step must be picked up by the damper at time t = 0+. The
transient response of the system is due to the transfer of the
force from the damper to the two springs.
Calculate the force acting through damper b in order to
determine the velocity of node 2 at time t = 0+ , v2 g (0+ ). Find
v3 g (0+ ) from v2 g (0+ ).
( ) = 1N = F (0 )
F 0
( )
+
K1
( )
1N = F 0 + F 0
( )
+ F 0 + F 0
+
( )
( )
( )
Fb 0+ =
( )
bv2 g 0+ =
1
1N
A
( )
v3 g 0+ =
( )
1 N = AFb 0+
1
1N
A
( )
v1g 0+ =
B
1N
bA 2
1
1N
bA 2
L 3 L1 + L 2
b L 22
1N
1N
L3
K1 +
K2
L1 + L2
dus ( ss )
dt 0
2
L2
L + L b
1
2
dv3 g ( ss )
dt
L3
K1 +
K2
L1 + L2
+ v3 g ( ss )
v3 g ( ss ) = 0
L3
L + L
1
2
2
L3
K1 +
K2
L1 + L2
dF (t )
=
dt
L2
L + L b
1
2
dv3 g
dt
L3
K1 +
K2
L + L2
1
+ v3 g
( )
1N = AF 0 + BF 0
1 N = AFb 0+ B FK2 0+
L3
L + L
1
2
( )
L2
b
L1 + L 2
Determine the final value of the unit step response, and the
time constant from the system equation.
( )
L1 + L 2
L2
L + L b
1
2
2
L3
K1 +
K2
L1 + L2
Notice that the denominator of the time constant is the combined spring constant, Ktotal.
The unit step response is a decay to zero of the form
( )
v3 g (t ) = v3 g 0+ e
Evaluate the constants, v3g(0+) and ,
( )
v3 g 0+ =
u .s.
3m (5 m + 2 m )
m
1 N = 0.0919
N sec
sec
400
( 2 m )2
m
2
384
200
150
50 N u s(t+7)
F(t)
newtons
100 N u s (t-1)
(t 1)
m 2.39
+ 100 0.0919
e
us (t 1)
sec
100
50
-7
(t + (7 )( 2.39))
m
e 2.39 us (t + ( 7 )( 2.39))
v3 g (t ) = 50 0.0919
sec
-50
t, sec
(t 2 )
m 2.39
150 0.0919
e
us (t 2)
sec
-100
-150
-150 N u s(t-2)
-200
Fig. 6.134 Superposition of scaled and time shifted Heaviside step inputs to create the input applied to the system
8
4
v3g(t)
m 0
___
sec
-4
-8
-20
-15
-10
-5
t, sec
10
15
2m
N sec
5 m + 2 m 400 m
2
N 3m
N
10 +
20
m 5m + 2 m
m
= 2.39 sec
t
m 2.39
e
sec
Create the input function by superimposing scaled and timeshifted Heaviside step functions, Figs.6.124 and 6.134.
F (t ) = 50 N us (t + 7 ) + 100 N us (t 1) 150 N us (t 2)
Construct the response function, by weighting (scaling) the
unit step response with the magnitude of the input. Timeshift the unit step response with the same time shift as the
input term. Multiply by the unit step with that time shift to
zero-out the term, until time has advanced to that term:
385
Flywheel
Rotational Inertia J
Rotational Damper
Damping b
Note! End of Damper
Shaft Rigidly Attached
to Frame.
Drive Pulley D6
6 in. Diameter
Motor Modeled as
Torque Source T(t)
Drive Pulley D 5
5 in. Diameter
Idler Pulleys D3
3 in. Diameter
Drive Pulley D4
4 in. Diameter
Flywheel
Rotational Inertia J
Rotational Damper
Damping b
Note! End of Damper
Shaft Rigidly Attached
to Frame.
Drive Pulley D6
6 in. Diameter
Motor Modeled as
Torque Source T(t)
Drive Pulley D 5
5 in. Diameter
Idler Pulleys D3
3 in. Diameter
Drive Pulley D4
4 in. Diameter
Pflywheel
Pdamper
Psource
D
D
__
2g = __4 1g 3g = 4 1g
D6
D5
1
2
3
T
g
T T(t) T
g
T
g
386
Fig. 6.139a Model Two. Power
delivered to the belt and divided
at the damper shaft. b Linear
graph of Model Two
D
2g = __4 1g
D5
Pflywheel
T(t) T
Pdamper
D
3g = __5 2g
D6
b T
Pbelt = Psource
We will work the problem using the linear graph for
Model One, Fig.6.138.
Transformer EquationsThe transformer equations are
derived by using the geometry of the system to establish
one of the two transformer equations for each interface. The
second transformer equation for each interface is established
by summing the power flows down the two branches of the
interface and equating the sum to zero. The geometric property of the system used to establish the transformer ratios is
the belt speed, vbelt. An ideal belt does not slip on a pulley.
Therefore, the surface of the pulley and the belt have the
same speed. The angular velocity of the shaft is belt speed
divided by the radius of the pulley. Hence, the geometry
yields the angular velocity relationship. Then the angular
velocity relationship and the power summation yield the
relationship between the torques.
Geometry:
D
D
D4
1g = vbelt = 5 2 g 1g = 5 2 g
2
2
D4
D
D
D4
1g = vbelt = 6 3 g 1g = 6 3 g.
2
2
D4
Power: T 1g + T 2 g = 0 and T 1g + T 3 g = 0
Torques:
T 1g + T 2 g = 0
T =
D6
1g + T 3 g = 0
D4
T =
D5
2 g + T 2 g = 0
D4
D5
T
D4
T
D6
3 g + T 3g = 0
D4
D6
T
D4
Energetic Equations
Nodes: T = T + T
T Tb = 0 T TJ = 0
Loops: 1g = 1g
2g = 2g
Elements: Tb = b 2 g
TJ = J
1 g =
D5
D
2 g T = 5 T
D4
D4
3g = 3g
d 3g
dt
1 g =
D6
D
3 g T = 6 T
D4
D4
D5
D4
and B
1g = A 2 g T = AT
Energy: E sys = E J
EJ =
D6
D4
1g = B 3 g T = BT
1
J 32g
2
T=
1
1
T T
A
B
T=
1
1
Tb + TJ
A
B
1
1 d 3g
1 1
1 1 d 1 g
b 2 g + J
T=
b1g +
J
A
B
dt
AA
BB
dt
2
2
d 1g
1
1
T = b 1g + J
A
B
dt
T=
1 d 1g
1
J
+ 2 b 1g
dt
B2
A
A2
A2 J d 1g
T= 2
+ 1g System equation
b
B b dt
Substitute in pulley diameter ratios
387
200
T(t)
N m 150
100
50
10
-50
20
t, sec
30
-100
-150
Fig. 6.140 Input torque
2
2
D D4 J d 1g
1 D5
+ 1g
T = 5
b D4
D4 D6 b dt
D J d 1 g
1 D5
+ 1g System equation
T = 5
b D4
D6 b dt
D5 J
D b . Time constant
6
Unit Step Response Determine the value of the output variable 1g, at time t = 0+ . The energy stored in an element cannot change instantaneously without an infinite power flow.
Hence, the state variable must remain unchanged, when a
step input is applied to the system. The state variable of this
first-order system is the angular velocity of the flywheel, 3g.
E sys ( 0 ) = 0 = E sys ( 0+ )
E sys =
1
J 23 g
2
3 g ( 0 ) = 0 = 3 g (0+ )
We have assumed that the belt does not slip. Consequently,
the angular velocity of all the pulleys is proportional, including the pulley on the torque source. If the flywheels pulley is
not rotating at time t = 0+ , then neither is the torque source:
3 g (0+ ) = 0 1g (0+ ) = 0
D 2 1 D 2 J d 1g
+ 1g
5 T = 5
D4 b D6 b dt
T J
b = b t + [ ]
D J d 1g ( ss )
1 D5
1 N m us ( ss ) = 5
+ 1g ( ss )
1
b D4
dt
D6 b
0
T t
+ [ ]
T
=
T T t
[ ] = [ ] + [ ]
1Nm
rad
1g ( ss ) =
1g ( ss ) = 0.78
4 2 N m sec
sec
u .s.
u .s.
2
D J 5 8
=
= 2.78 sec
= 5
D6 b 6 2
The first-order step response is a stable growth from an initial
value, 1g (0+ ) = 0, of the form
1g (t ) = 1g ( ss ) 1 e
1g (t ) = 0.78
u .s.
rad
2.78
1
e
sec
388
150 N m us (t)
200
T(t)
N m 150
Fluid Coupling
Damping b
100
150 N m us (t-10)
50
-7
Ideal Frictionless
Bearing
10
-50
30
20
t, sec
-100
-100 N us (t+7)
-150
N1
Angular
Velocity
Input (t)
N3
N2
N4
Inertia J
1g (t ) = 78
200
150
+ 117
1g (t) 100
rad
___
sec
50
(t +19.5)
2.78
us (t + 19.5)
rad
2.78
1
e
us (t )
sec
+ 117
0
-50
-100
rad
1 e
sec
rad
1 e
sec
(t 10)
2.78
us (t 10)
-10
20
10
t, sec
30
1g (t ) = 100 0.78
(t + 7 )
rad
1
e
us (t + 7 )
sec
rad
+ 150 0.78
1 e us (t )
sec
rad
+ 150 0.78
1 e
sec
(t 10)
us (t 10)
389
Fluid Coupling
Damping b
N1
N3
Angular
Velocity
Input (t)
Ideal Frictionless
Bearing
N1 2 g = vtooth = N 2 3 g
N2
N4
Inertia J
Fig. 6.144 System schematic annotated to show nodes of distinct values of the across variable, angular velocity
(t)
TT
(t)
N 4 4 g = vtooth = N 3 3 g
N3
Y
N4
N3
3g
N4
4 g = Y 3 g
PA + PB = 0 T 2 g + T 3 g = 0
Substitute to eliminate 3g
T 2 g + T X 2 g = 0 T = XT
Similarly,
4g =
PC + PD = 0 T 3 g + T 4 g = 0
4g= - Z 2g
3g = X 2 g
and
N1
2g
N2
N
Simplify notation. Define X 1
N
2
Likewise
3g= - X 2g 4g= - Y 3g
3g =
T 3 g + T Y 3 g = 0 T = YT
Energetic Equations
Continuity:
TSource = Tb
Tb = T
T T = 0
T TJ = 0
Compatibility:
1g = 12 + 2 g
Elements: Tb = b 12
3g = 3g
TJ = J
3 g = X 2 g T = XT
Energy: E sys = E J
EJ =
d 4g
dt
4g = 4g
N1
X
N2
N3
Y
N4
4 g = Y 3 g T = YT
1
J 32g
2
= 12 + 2 g =
Tb
T
1
+ 2 g = b 3 g
b
b X
390
Tb 1
b X
4 g
Y
d 1 dTb
1 TJ
=
+
dt
b dt
XY J
d 1 dTb
1 d 4 g
=
+
dt
b dt
XY dt
d 1 dTb
1
=
T
dt
b dt
XYJ
d 1 dTb
1 T
=
dt
b dt
XYJ Y
d 1 dTb
1
T
=
+
dt
b dt
XY 2 J
d 1 dTb
1 T
=
+
dt
b dt
XY 2 J X
d 1 dTb
1
=
+ 2 2 Tb
dt
b dt
X Y J
N1 N 3
d N1 N 3 J dTb
N N J dt = N N b dt + Tb
2
4
2
4
2
E J ( 0+ ) =
( 0+ ) = 1
N1 N 3
d N1 N 3 J dTb
N N J dt = N N b dt + Tb . System equation
2 4
2 4
T=J
d
dt
Tt
[ J ] =
N N 2 d N N 2 J dT
b
1 3 J
= 1 3
+ [Tb ]
N
N
dt
N
N
b
dt
2 4
2 4
J T
J t = b t + [T ]
T t T t T
=
+ [T ]
t T t
rad
= 12 0+ + 2 g 0+
sec
( )
( )
( )
+
rad Tb 0
1
=
+
4 g 0+
b
XY
sec
( )
rad
Tb 0+ = b 1
sec
( )
N m sec rad
Tb 0+ = 150
1
rad sec
( )
( )
Tb 0+ = 150 N m
Find the time constant and the steady-state value of the unit
step response from the system equation:
2
[T ] = [T ] + [T ]
( )
( )
N1 N 3
d N1 N 3 J dTb
N N J dt = N N b dt + Tb
2 4
2 4
NN J
= 1 3
N2 N4 b
(t ) = 20
( )
+
rad T b 0
1
=
3 g 0+
1
sec
b
X
[b] =
( )
4 g ( 0+ ) = 0
T = b
1
J 42g 0+ = 0 4 g 0+ = 0
2
d
J dTb
X Y J
= X 2Y 2
+ Tb
dt
b dt
2
E sys ( 0 ) = 0 = E sys ( 0+ ) = E J ( 0+ )
rad
rad
us (t ) 20
us (t 0.5)
sec
sec
5448
1812
0.3 kg m 2
= 0.288 sec
N m sec
150
rad
N1 N 3
d rad
N N J dt 1 sec us ( ss )
2 4
N N J dTb ( ss )
= 1 3
+ Tb ( ss )
dt 0
N2 N4 b
2
Tb ( ss ) = 0
391
( )
Tb (t ) = Tb 0+ e
PA + PB = 0 v2 g iM + TM 3 g = 0
Tb (t ) = 150 N m e 0.288
(t ) = 20
TM = iM
rad
rad
us (t ) 20
us (t 0.5)
sec
sec
(150 N m ) e
0.288
rad
m
and
3g
TS v4 g + FN v4 g = 0
isource = iR iR = iM
3g = 3g
v4 g = v4 g
Elements:
iR = Rv12
TJ = J
TM = iM
3g =
d 3g
dt
1
v2 g
Energy: E Sys = E J + E M
dv4 g
FM = M
TS =
EJ =
Fb = bv4 g
dt
FN
1
J 32g
2
3 g = v4 g
EM =
1
Mv42g
2
v = RiR v4 g
v=
204 N m
Nm
= 6.8
30A
A
FN
TM TJ TS = 0 FN FM Fb = 0
12 in 0.0254 m 1 N
150 ft lb
= 204 N m
1 ft 1 in 0.224 lb
Continuity:
TM
iM
Energetic Equations
v1g v = v12 + v2 g
TS =
3 g = v4 g
v4 g
PC + PD = 0 TS 3 g + FN v4 g = 0
v2 g
= 495
inch 1thread
rev
1meter
m
= 495
20 us (t 0.5)
Tb (t ) = (150 N m ) e 0.288 20 us (t )
(t 0.5)
v2 g iM + iM 3 g = 0 3 g =
v=
( TJ TS ) v4 g
v=
TM v4 g
R
TJ
TS v4 g
392
v=
v=
RJ dv4 g
R
+
( FM Fb ) v4 g
dt
(t) 20
rad
___
sec
dv4 g
RJ dv4 g
R
+
M
bv4 g v4 g
dt
dt
10
0
RJ dv4 g RM dv4 g Rb
v=
v v4 g
dt
dt
4 g
RJ RM dv4 g Rb
v =
+
+
+ v4 g
dt
10
(t)
rad
___ 0
sec
v2 g
[ ] = i
[ ] =
volt
3 g = v4 g
[ ] = v
TJ = J
FM = M
d 3g
dt
dv4 g
dt
Fb = bv4 g
1,000
0
-1,000
-2,000
-3,000
0.5
1.0
Tt
[ J ] =
[ M ] =
Ft
v
[b] = v
1.5
t, sec
2.0
Fig. 6.149 Response function, the torque acting through the damper
DC Motor
volt
i
Tb(t)
N m
[ R ] =
rad
___
-20 sec us (t-0.5)
[ ] = T
v12 = RiR
t, sec
2,000
1.0
3,000
FN
TS =
0.75
Fig. 6.148 Two scaled step functions, one of which is time shifted, that
superpose to form the input pulse
3 g =
0.5
-20
TM = iM
0.25
-10
RJ + RM dv4 g
v=
+ v4 g
2 2
2 2
Rb +
dt
Rb +
RJ 2 + RM dv4 g
v=
+ v4 g
2 2
2 2
dt
Rb +
Rb
+
1.0
rad
___ u (t)
20 sec
s
20
0.75
RJ + RM dv4 g Rb +
v =
dt +
v4 g
0.5
t, sec
RJ
RM dv4 g Rb
v =
+
+
+
v
dt
4 g
2
0.25
Flywheel
Rotational Inertia J
Electrical
Resistance R
Power Screw
Mass M
Lubricating Film
Damping b
393
DC Motor
Electrical
Resistance R
Flywheel
Rotational Inertia J
2
3
1
g
Power Screw
Mass M
v(t)
iM
g
3g= v4g
TM = i M
2
3
TM
J TS
FN
M b
g
Fig. 6.152 Linear graph of the system shown in Figs.6.150 and 6.151
Voltage Source v(t)
Lubricating Film
Damping b
Rb + 2 2
RJ 2 + RM dv4 g
v =
+ v4 g
2 2
dt
Rb +
Rb + 2 2
RJ 2 + RM v
v =
+ [v]
2 2
Rb + t
200
100
v(t) 0
VDC
volt T t F volt F t
T F
+
i T
i
T v
i
v v
volt =
+ [v]
volt F
volt F
t
i v
i v
[v ] = + [v ] + [v ]
The units check.
Example Problem Five, Part B The system is de-energized
at time t = 0 . Solve the system equation for the voltage input
history given in Fig.6.153. Use Mathcad or MATLAB to
plot the velocity of the mass from time t = 0 to t = 6 sec.
Use superposition to construct input function v(t) from
scaled and time shifted Heaviside unit step functions,
Fig.6.154.
-100
t, sec
-200
200
volt
volt F T volt F
i v + i
T v
volt T t 2 volt F t
+
i v v + v
= i
[]
volt F T volt F t
i v + i
T v
100
v(t) 0
VDC
-100
t, sec
-200
-300
-400
Fig. 6.154 Three scaled and time shifted step functions, which superpose to form the input pulse
Input Function:
v (t ) = 200VDCus (t ) 400VDCus (t 2) + 200VDCus (t 3)
Determine the unit step response of output variable v4g, assuming that the system is de-energized before application of
the unit step input. The output variable, the velocity of the
mass, v4g, and 3g, the angular velocity of the flywheel, are
dependent variables. The mass cannot move, if the flywheel
does not move. The value of one of the two variables determines the value of the other. Thus, either variable can be
used as the state variable of the system. For this problem,
394
5.0
E sys = E J + E M
E sys =
1
J v3 g
2
E sys
1
Mv42g
2
v4g(t)
1
1
= J 32g + Mv42g
2
2
E sys =
1
J 2 + M v42g
2
( )
RJ + RM
Rb + 2 2
rad
+ (8 )( 20 kg )
m
2
Rb + 2 2
1VDC us ( ss )
=
RJ 2 + RM dv4 g ( ss )
+ v4 g ( ss )
dt
Rb + 2 2
0
N sec
N m
rad
(8 ) 2
+ 6.8
495
m
A
m
m
sec
(t 3)
0.52
+ 200 us (t 3) 2.97 10 4
1
e
sec
1VDC
(t 2 )
0.52
1
e
118.8 10 3
us (t 2)
sec
(t 3)
0.52
1
e
+ 59.4 103
us (t 3)
sec
m
0.52
1
e
sec
0.52
1
e
v4 g (t ) = 59.4 10 3
us (t )
sec
N m
rad
6.8
495
A
m
2
(t 2 )
400 us (t 2) 2.97 10 4
1 e 0.52
sec
v4 g ( ss ) = 2.97 10 4
0.52
1
e
v4 g (t ) = 200 us (t ) 2.97 10 4
sec
v4 g ( ss ) =
1VDC
Rb + 2 2
v4 g ( ss ) =
= 0.52sec
t, sec
v4 g (t ) = 2.97 10 4
N sec
N m
rad
(8 ) 2
+ 6.8
495
m
A
m
v4 g (t ) = v4 g ( ss ) 1 e
RJ 2 + RM dv4 g
v=
+ v4 g
2 2
Rb +
Rb + 2 2 dt
(8 ) (3kg m 2 ) 495
-2.5
v4 g 0 = 0 = v4 g 0+
-5.0
( )
cm
___
sec
2.5
m
sec
A torque source T(t) drives the input shaft of the belt drive
system shown in Fig.6.156. The belt drive consists of a 6in.
diameter pulley on the input shaft, a 5in. diameter pulley
on the shaft of a rotational inertia J = 1kg m 2, and a 4in.
395
Inertia J
5 in. Dia.
Pulley
Pump
Hose, Fluid
Resistance R
High
pressure
discharge
4
in.
Dia.
2 in. Dia.
Pulley
Idler
6 in. Dia.
Pulley
Inertia J
5 in. Dia.
Pulley
Pump
2
g
1
3
Input Torque T(t)
diameter pulley on the shaft of a pump. The two other pulleys are idlers. The pump is rated at 15gallons per minute
at 200RPM. The pump pulls fluid from a reservoir vented
to the atmosphere, and discharges it to a hose with fluid resistance R = 100 MPa sec/m3. The flow returns to the reservoir.
Example Problem Six, Part A Use the linear graph method
to derive the system equation, which relates the input torque
to the pressure of the pumps discharge port, relative to
atmospheric pressure, and check its units.
Find the nodes of distinct values of the across variables,
angular velocity, and pressure on the systems schematic,
Fig.6.157.
Draw the linear graph, Fig.6.158. Draw the transducer
interfaces first, labeling the branches of the interfaces with
through variables, so that the branches are not subsequently
mistaken as other elements.
6 in. Dia.
Pulley
Hose, Fluid
Resistance R
High
pressure
discharge
4 in. Dia.
Pulley
where r1 =
D1
2
D1
D
D
1g = vs = 2 2 g 2 g = 1 1g
2
2
D2
D
D1
1g = vs = 3 3 g
2
2
3g =
D1
1g
D3
Sum the power flows of two branches of each interface to determine the second transformer equation for each interface:
P + P = 0 T 1g + T 2 g = 0
396
2g = f 1g
3g = g 1g QP = h 3g
T(t) T
T J
T TP
QP R
200
g
Fig. 6.158 Linear graph of belt-driven system
Qp
3 g
T 1g + T
D
D1
1g = 0 T = 2 T
D1
D2
D
D1
1g = 0 T = 3 T
D1
D3
6in.
1g
5in.
2 g = 1.2 1g
5in.
T =
T
6in.
T = 0.833T
6in.
1g
4in.
3 g = 1.5 1g
4 in.
T =
T
6 in.
T = 0.667T
3g =
m3
rad
m3
3 g
rad
Qp = h 3 g
PA + PB = 0 TP 3 g + QP p4 g = 0
TP 3 g + h 3g p4 g = 0
TP = h p4 g
Energetic Equations
Continuity:
T (t ) = T + T
1g = 1g
D1 6 in.
=
= 1.2 and
D2 5 in.
2g = 2g
Elements: TJ = J
D1 6 in.
=
= 1.5
D3 4 in.
Pump transducer equations The pump is rated at 15gallons per minute at 200RPM. The volume must be converted
to cubic meters and the angular velocity to radians per second:
3
1min
15gal 3.79 liters 1m
= 9.48 10 4
T TJ = 0 T TP = 0 QP QR = 0
Compatibility:
It is easier and less error prone to write the transformer equations using single symbols in place of ratios or values:
f
Q p = 4.54 10 5
There is no need to convert the pulleys diameters from inches to meters, since the diameters only appear in ratios.
2g =
m3
rad
Define h 4.54 10 5
P + P = 0 T 1g + T 3 g = 0
T 1g + T
= 4.54 10 5
m3
sec
rad
20.9
sec
9.48 10 4
3g = 3g
d 1g
p4 g = p4 g
p4 g = RQR
dt
D1 6 in.
=
= 1.2
D2 5 in.
2 g = f 1g
T =
D1 6 in.
=
= 1.5
D3 4 in.
3 g = g 1g
1
T = T
g
h 4.54 10 5
m3
rad
Energy: E sys = E J
1
T
f
Q p = h 3 g TP = h p4 g
EJ =
1
J 22g
2
T (t ) = T + T
T (t ) = f T + g T
397
T (t ) = f TJ + g TP T (t ) = f J
d 1g
T (t ) = f 2 J
T (t ) =
dt
d 2g
dt
T(t) 900
N m
h g p4 g
600
h g p4 g
300
f J d 3 g
h g p4 g
g
dt
2
-1
f 2 J dQP
h g p4 g
T (t ) =
g h dt
T (t ) =
f J dp4 g
h g p4 g
g h R dt
Tt
[ J ] =
t, sec
300 N m us (t+7)
p = RQ
300
-7
0 1
7 8
t, sec
T(t) -300
Nm
p
[ R] = Q
-600
600 N m us (t-2)
600
[ h] = = p
-900 N m u s(t-6)
-900
g h R dt
Tt
1 J p
p p
h T = h 2 R t + [ p ] T T = 2 p t + [ p ]
h
T t
p
p
T
=
+ [ p]
T Q T p t
p Q
[ p] = [ p] + [ p]
1
f 2 J dp4 g
T (t ) = 2 2
+ p4 g
gh
g h R dt
2
Check consistency of the units in terms of the power variables and time:
d
T=J
dt
f 2 J dp4 g
1
+ p4 g
T (t ) = 2 2
gh
g h R dt
D1
D J
2
dp4 g
1
T (t ) =
+ p4 g
2
D1
dt
D1
2
h
D3
D ( h ) R
3
1
T (t )
3
6in.
5 m
4in. 4.54 10 rad
2
6in.
2
5in. 1kg m
2
dp4 g
dt
6in.
6 Pa sec
5 m
4in. 4.54 10 rad 100 10 m3
14.7
+ p4 g
dp4 g
kPa
+ p4 g System Eq. in form
T (t ) = 3.11
Nm
dt
Example Problem Six, Part BThe system is running in steady-state under a previously applied torque of
300 N m , when the applied torque is increased to 900 N m
at time t = 2, and then decreased to zero at time t = 6, as
shown in Fig.6.159. Solve the system equation for the input
torque history given and plot the pumps discharge pressure
from time t = 0 to t = 6 + 6 sec.
Create the input torque function by superposing three
scaled and shifted step inputs, Fig.6.160:
398
T (t ) = (300 N m ) us (t + 6 )
+ ( 600 N m ) us (t 2) (900 N m ) us (t 6)
Calculate the unit step response of the system from its deenergized state. From the system equation find the time
constant and the steady-state response to a unit step input,
T (t ) = 1 N m us (t ).
1
f 2 J dp4 g
T (t ) = 2 2
+ p4 g
gh
g h R dt
p4g(t)
MPa
-2
-4
-6
-8
-10
-12
-20
-10
6in
2
5in 1kg m
p4 g (t ) = p4 g ( ss ) 1 e
3
6in
5 m
6 Pa sec
4in 4.54 10 rad 100 10 m3
g 2 h2 R
2
t
1
p4 g ( t ) =
T0 1 e f J
g h
= 3.11sec
1
f 2 J dp4 g ( ss )
1N m us ( ss ) = 2 2
+ p4 g ( ss )
1
dt
gh
g h R
0
1
p4 g ( ss ) =
1N m
gh
p4 g ( ss ) =
m3
(1.5) 4.54 105
rad
1N m
u.s.
p4 g
( )
3g
( )
Rhg
2 g 0+
f
( )
0.311(t 6)
) u (t 6)
s
p4 g (t ) = 4.41MPa 1 e 0.311(t + 6 ) us (t + 6 )
( )
p4 g 0+ = R h g 1g 0+
p4 g 0 + =
u.s.
( ) p (0 ) = RQ (0 )
(0 ) = R h (0 )
4g
3.11
1
m3
1 Nm
( )
p4 g 0+ = RQR 0+
20
Fig. 6.161 Response function p4g(t). The transducer signs, which led
to negative pressure, would be fixed before these results were used
f2J
= 2 2
g h R
2
10
t, sec
( )
p4 g 0+ = 0
Summary
Fig. 6.162 Linear graph
transformer and transducer sign
conventions for positive power
flow
399
b
A + B = 0
PowerA
A = TA 1g
Power B
Transformer
or
Transducer
B = TB 2g
N
N1
2
1g = - ___
2g
PowerA
Power B
TB
TA
Summary
Transformers and transducers interface subsystems with a
larger dynamic system. Transformers interface like subsystems, and transducers interface dissimilar subsystems. Power
flows across the interface between the subsystems, but there
is no direct connection between the through variables in the
two branches of the transducer or transformer interface. The
power flowing down one branch of the interface, equal to the
product of the through variable and the across variable difference of that branch, is equal to the product of the through and
across variables in the other branch.
The sign convention is based on (a) assuming that the
power flows on both sides of the interface is positive and (b)
orienting the through variables in the two branches of the
interface towards ground. Because the positive direction of
power flow is into the transformer or transducer interface,
and the interface cannot store power, at any instant, one of
the two power flows must be negative. Consequently, one
of the two equations, relating a power variable in a branch
on one side of the interface to a power variable on the other
side, will have a negative sign. Although a negative sign
can be physically possible, as in the case of a pair of gears,
often, the negative sign is nonsense. The negative sign is
a result of the linear graph sign convention. When there is
a non-sensical negative sign, it should be tolerated, until
the derivation of the system equation is completed. Then
fix the sign, if necessary, before using the results. Correcting the sign prior to completion of the reduction leads to
further errors. Sign conflicts between subsystems are common, because the subdisciplines of mechanical engineering
have different histories.
There are three equations associated with a transformer
or transducer. The first equation is the summation of power
flow into the interface, Fig.6.162a, which is the sum of the
products of the power variables in the two interface branches. The second and third equations each relate a single power
variable on one side of the interface with a single power variable on the other side. The latter two equations are useful
in the derivation of a system equation, since there is a onefor-one power variable substitution. The power summation
equation is valuable but inefficient in a reduction, because
the power variable substitution is one-for-three.
It is often possible to derive a relationship between the
displacements or velocities on the two sides of the interface,
using the geometry of the mechanism of the volume displacement of a pump or hydraulic motor. In other cases, such
as with electric motors, generators, or turbines, experimental
data is needed to establish a transducer equation. Once a relationship is obtained, then substitution into the power summation yields the second one-to-one equation, for example,
1g =
N2
2g
N1
PA + PB = 0
1g TA + 2 g TB = 0
N2
2 g TA + 2 g TB = 0
N1
TB =
N2
TA
N1
400
Fig. P6.1 DC motor driving an
inertial load, JL
Flywheel
Rotational Inertia JL
Electric Motor
Transduction KT
Rotational Inertia J M
Electrical Resistance R
Bearings
Damping b
Hydraulic Piston-Cylinder
Piston diameter D
Damping b between Piston
and Cylinder
Hydraulic Line
Resistance R2
Press Die
Mass M
Hydraulic Line
Resistance R 3
Inertance I
Problems
Problem 6.1 Draw the linear graph for the system shown in
Fig.P6.1 and derive the transformer or transducer constants
equations.
Problem 6.2 Draw the linear graph for the system shown in
Fig.P6.2 and derive the transformer or transducer constants
equations.
Problem 6.3 Draw the linear graph for the system shown in
Fig.P6.3 and derive the transformer or transducer constants
equations.
Problem 6.4 Draw the linear graph for the system shown in
Fig.P6.4 and derive the transformer or transducer constants
equations.
Problem 6.5 Draw the linear graph for the system shown in
Fig.P6.5 and derive the transformer or transducer constants
equations.
Problem 6.6 Draw the linear graph for the system shown in
Fig.P6.6 and derive the transformer or transducer constants
equations.
Problem 6.7 Draw the linear graph for the system shown in
Fig.P6.7 and derive the transformer or transducer constants
equations.
Problem 6.8 Draw the linear graph for the system shown in
Fig.P6.8 and derive the transformer or transducer constants
equations.
Problem 6.9A rotational mechanical system is shown in
the Fig.P6.9. An angular velocity source, (t), acts on the
input shaft of a fluid coupling. The output shaft of the fluid
coupling drives a pinion with N1 teeth, which is engaged in
a rack with mass M and N2 teeth per meter. The gear has
N3 teeth and inertia J2. The bearings on the input shaft collectively have damping b1. The bearings on the output shaft
collectively have damping b2.
Problems
Fig. P6.3 Rotational mechanical
system
401
Compliant Shaft
Spring Constant K
Pulley
Diameter D1
Flywheel
Rotational Inertia J1
Flywheel
Rotational Inertia J 2
Pulleys Diameters
D2 and D3
Angular Velocity
Input (t)
Fluid Coupling
Damping b
Pulley
Diameter D4
Fig. P6.4 Hybrid fluid-translational mechanical system
Dashpot
Damping b
L1
L2
Tank vented to
the atmosphere
Pivot
Hydraulic Cylinder
Diameter D
Linkage
Rotational Inertia J
Fig. P6.5 Rotational mechanical
system
Rotational
Inertia J
Spring K
Bearing
Damping b 3
Compliant Shaft
Torsional Spring K 2
N4
N2
Compliant Shaft
Torsional Spring K 1
Fluid Coupling
Damping b1
Angular Velocity
Source, (t)
N3
N1
Bearing
Damping b 2
402
Fig. P6.6 Electromechanical
system
Flywheel
Rotational Inertia J L
Electric Motor
Transduction K T
Rotational Inertia J M
N4
N1
N3
Bearings
Damping b
Electrical Resistance R
Lubricating Film
Damping b 2
Mass M
Spring K2
Spring K 1
Pivot
Dashpot b1
L3
L2
L1
L1
L2
Top Linkage
Rotational Inertia J
Solenoid
Coil Resistance R
Motor Constant
Voltage Source
Dashpot
Damping b
Spring K
Frame
6.9.a
Draw the linear graph of the existing system and
determine the transformer equations.
6.9.b Draw the equivalent linear graph, if the gear set is
eliminated, and inertias J1 and J2, the bearings b2, and
the torsional shaft with spring constant K are replaced
by equivalent elements attached to the input shaft.
6.9.c
Calculate the equivalent elemental parameters for the
equivalent system of part b.
Problems
403
Pinion
N1 teeth
Inertia J
Angular Velocity
Source, (t)
Gear
N3 teeth
Pinion
Inertia J
N1 teeth
Rack
Mass M
N2 teeth per inch
Base Plate
motor torque is TM = KT iM , where KT = 8 N m/A . The motors mass moment of inertia is J M = 0.3 kg m 2 . The motor
turns a flywheel with mass moment of inertia J L = 2 kg m 2
and damping b = 0.1 N m sec/rad .
6.11.a Derive the system equations for
i. The current through resistance R.
ii The voltage drop across resistance R.
iii. The back EMF.
iv. The motors torque TM.
v. The torque acting through damping b.
vi. The torque acting to accelerate mass moment of
inertia JM+JL.
vii. The angular velocity of mass moment of inertia
JL .
and check their units.
404
Fig. P6.11a Schematic of a DC
motor. b Voltage v(t) applied to
the motor
Electric Motor
Transduction K T
Inertia J M
Flywheel
Inertia JL
100
Resistance R
v (t)
75
VDC
50
Voltage
Source
v(t)
Bearings
Damping b
t, sec
0.5
1.0
-25
-50
Lever
Pivot
LA
F(t),N
40
30
20
F(t)
LB
10
LC
-10
2.5
t, sec
Problems
Fig. P6.13a Rotational system.
b Angular velocity input
405
b
(t)
rad 10
___
sec
Shaft rotates in
ideal bearing
Pinion
N1 teeth
0.5
-5
t, sec
(t)
Inertia J
Gear
N3 teeth
1.0
Damper b1
Velocity source.
Positive rotation direction
defined by the right-hand rule
Lubricating Film
Damping b2
Dashpot b1
Pivot
Mass M
Spring K
L3
L2
L1
406
Fig. P6.15a Schematic model
of an engine lathe. b Torque
input T(t)
Load Carriage
Lead
Screw
Lead
Nut
Motor
Inertia
Lead Screw
Bearings with
Damping b1
b
200
T(t)
150
N m
T(t) J
100
50
0
Lathe Way
Lubricating Film
Damping b2
Rack, N2 teeth
per inch
Mass M
t, sec
b
(t)
rad
___
sec
Pinion, N1 teeth
80
60
40
20
-20
t, sec
Lubricant Film
Damping b
attached to the load carriage. The lead nut moves the load
carriage with mass M = 150 kg along the lubricated ways of
the lathe. The lubricating film between the load carriage and
the lathes ways has a damping coefficient b2 = 60 N sec/m
6.15.a Derive the system equations for the following:
i. The torque acting to accelerate the motors mass
moment of inertia J.
ii. The angular velocity of the lead screw.
iii. The force acting to accelerate the load carriage
mass M.
iv. The velocity of the load carriage mass M.
Check their units.
The system was at rest before the input torque T(t), plotted in Fig.P6.15b, was applied.
6.15.b Solve the system equations.
6.15.c Plot the responses from t = 0 to t = 3 + 6 using
Mathcad or MATLAB.
Problem 6.17 A fluid translational mechanical system is shown in Fig.P6.17a. The system consists of a
pump modeled as a pressure source, two fluid resistances
Problems
407
a
C
p(t)
R1
R2
Hydraulic
Piston
Area A
5,000
p(t) 4,000
psi
3,000
1,000
0
400
Dashpot b 1
100
Spring K1
L1
Dashpot b 2
L2
L3
Spring K 2
R1 = 10 MPa sec/m3 and R2 = 100 MPa sec/m3, an accumulator (fluid capacitor) C=5.5L/MPa, an hydraulic cylinder with a piston of diameter D = 6 in. and mass M = 2 kg .
6.17.a Derive the system equations for the following:
i. The volume flow rate from the pump.
ii. The force acting to accelerate the piston.
iii. The velocity of the piston.
Check their units.
The system was in steady-state under a previous step
input of 2,000psi, when the input plotted in Fig.P6.17b was
applied at time t = 0 .
6.17.b Solve the system equations.
6.17.c Plot the responses from t = 0 to t = 6 using
Mathcad or MATLAB.
Problem 6.18 A translational system consisting of a force
source F(t), a lever, two springs, and two dashpots is shown
in Fig.P6.18a. The parameter values are tabulated.
b2
K1
K2
N sec
125
m
N
175
m
200
300
200
Pivot
N sec
48in. 60in. 36in. 100
m
2.0
t, sec
1.0
N
m
F(t)
0
N
-100
t, sec
-200
-300
-400
408
Fig. P6.19 Rotational mechanical system
Bearing Damping b 2
Pinion
N1 teeth
Inertia J
Compliant Shaft
Spring Constant K
Fluid Coupling
Damping b1
Gear
N 2 teeth
(t)
Angular velocity source
DC Motor
Transduction KT
Bearings Damping b1
Voltage Source
v(t)
Compliant Shaft
Spring Constant K
Resistance R
Rotational Inertia J
Bearings Damping b2
Table P6.19 Parameter values
b1
K
N1
80
N m sec
Nm
1,000
rad
rad
12
N2
36
b2
5 kg m 2
0.2
N m sec
rad
409
Ogata K (2003) System dynamics, 4th edn. Prentice-Hall, Englewood
Cliffs
Rowell D, Wormley DN (1997) System dynamics: an Introduction.
Prentice- Hall, Upper Saddle River
Shearer JL, Murphy AT, Richardson HH (1971) Introduction to system
dynamics. Addison-Wesley, Reading
Abstract
An alternative to deriving a high-order differential system equation is to represent the system as a set of simultaneous first-order differential equations of the systems state variables,
which are its energy storage variables. This is known as state-space. State equations are
solved numerically, using finite difference approximations. They can also be solved using
Laplace transformations to yield transfer functions. State-space has three advantages. It is
much easier to derive a set of state equations than the corresponding high-order differential
equation. It is also easy to include non-linear properties, since the solution uses numerical
methods. Finally, state-space is the basis of Modern Control theory, which enables the control designer to arbitrarily tailor the response of a system, within the physical limitations of
the hardware.
7.1Overview
Up to this point, we have derived first- and second-order system equations and solved them, using the method of undetermined coefficients and Laplace transformations. However,
many machines and processes have more than two independent energy storage variables and, consequently, are higherorder systems. The effort to reduce the equation list to a differential system equation increases, roughly with the square
of the number of the branches in the linear graph. The reduction of a third-order system is roughly nine times the effort of
the reduction of a first-order system. We do have an alternative. The equation list does not need to be reduced to a single,
higher-order differential equation. We can formulate a set of
simultaneous, first-order differential equations containing
the information needed to describe the system. The information needed to describe the state of the system at any
moment in time is the same information we use to determine
the initial value of the step response, an output variable in a
first-order system; the input variable; and the energy storage
variable. The energy storage variables of a system are called
the state variables, since they allow us, with knowledge of
the input, to calculate all the power variables in the system.
The set of simultaneous, first-order differential equations,
written in terms of the state variables and time, are called the
state equations. The set of simultaneous, first-order differential state equations must be solved numerically, to yield
the energy storage (or state) variables. If our output variable
is one of the energy storage variables, then we are done, once
we have solved the state equations. Often, though, we are
interested in the force in a damper or other non-energy storage variable. In those cases, a two-step process is used, in
which a set of simultaneous algebraic output equations,
formulated in terms of the state variables, is solved, once the
state variables have been determined.
We will use Mathcad to solve this set of simultaneous differential (state) equations for the state variables, from which
we can calculate every power variable in the system. In addition to easing the reduction of higher-order systems, the
numerical solution of the system, formulated using the statevariable method, frees us from the restriction of using linear
elemental equations, imposed by our analytical method.
K. A. Seeler, System Dynamics, DOI 10.1007/978-1-4614-9152-1_7, Springer Science+Business Media New York 2014
411
412
to manipulate mathematical symbols. There are many different types of algebra. The collection of rules for manipulating matrices is vector-matrix algebra, or, more simply, just
matrix algebra, because a vector is a matrix with only one
row or column. Linear algebra is a set of rules that defines
the allowable operations on systems of linear simultaneous
equations represented as matrices. The easiest way to understand the manipulations of matrix algebra or linear algebra
is to work with a system of equations, consisting of either
two or three simultaneous equations. The rules that apply to
these systems of equations can be extended to any system of
equations.
Before we begin, we must address a bit of confusing terminology. As you know, a vector is a physical quantity
with magnitude and direction, such as a force vector. Possessing magnitude and direction are necessarybut not sufficient characteristics. To be a vector, the physical quantity
must also obey the rules of vector algebra. For example, a
force vector can be decomposed into its components in orthogonal directions
F = Fx + Fy + Fz = Fx
u x + Fy
u y + Fz
uz
which can be expressed as the product of two vectors
Fx
u x + Fy
u y + Fz
u z = Fx
Fy
ux
Fz
uy
u z
Fy
Fz
a 1,2
and
a 2,2
h1,1
H
h 2,1
h1,2
h 2,2
then
a 1,1
A+H=
a 2,1
a 1,2
+
a 2,2
h1,1
h 2,1
a 1,2 + h1,2
a 2,2 + h 2,2
(7.1)
and
a 1,1 a 1,2
AH=
a 2,1 a 2,2
(7.2)
413
y1 = a1,1 x1 + a1,2 x2
y2 = a 2,1 x1 + a 2,2 x2
(7.3)
y1 a1,1
y = a
2 2,1
a1,2 x1
a 2,2 x2
(7.4)
a1,1 a1,2
x1
y
where 1 and are column matrixes and
x2
a 2,1 a 2,2
y2
is a two by two matrix, since it has two rows and two columns.
Matrix multiplication is performed by multiplying a row
by a column, element by element, and then summing the
products. The mnemonic is R C.
For example, to multiply
a1,1
a
2,1
a1,2 x1
a 2,2 x2
x1
a1,2 = a1,1 x1 + a1,2 x2
x2
x1
a 2,2 = a 2,1 x1 + a 2,2 x2
x2
The result will have as many rows as there are in the matrix
A, and as many columns as there are in the vector x.
a1,1
a
2,1
(7.5)
a1,1
A
a 2,1
a1,2
a 2,2
(7.6)
x1
x
x2
(7.7)
where bold is used to denote a vector or matrix. Conventionally, vectors are denoted by lower case, and matrices by
upper case, where possible. This allows us to write the system of equations, Eqs.7.1 and 7.2, in a more compact but
abstract form
y = Ax
(7.8)
next, multiply the second row of the matrix A and the column matrix x
a 2,1
y1
y
y2
y1 a1,1 a1,2
y = a
2 2,1 a 2,2
y3 a 3,1 a 3,2
a1,3 x1
a 2,3 x2
a 3,3 x3
(7.9)
a1,1 a1,2
y1
a
y
a 2,2
2 = 2,1
a
a
y
n ,2
n
n ,1
a1, n
a 2, n
an , n
x1
x
2
xn
(7.10)
It is frequently necessary to expand a matrix equation written in the form of Eq.7.6 to that of Eq.7.3, in order to confirm the matrix algebra. Whenever you are in doubt as to the
validity of your algebra or the meaning of a matrix-algebra
414
v1
v=
v2
v1
uv = u1 u 2 = u1v1 + u 2 v2
v2
v1u1
v1
vu = u1 u 2 =
v2
v2 u1
v1u 2
v2 u 2
(7.11)
(7.12)
dy1 d
dy1 d
d
= (a1,1 x1 + a1, 2 x2 )
= (a1,1 x1 ) + (a1, 2 x2 )
dt
dt
dt
dt
dt
dy2 d
dy2 d
d
= (a 2,1 x1 + a 2, 2 x2 )
= (a 2,1 x1 ) + (a 2, 2 x2 )
dt
dt
dt
dt
dt
b1
b1c
Bc = c =
b
2
b 2 c
dy1
dx
dx
= a1,1 1 + a1, 2 2
dt
dt
dt
dy2
dx1
dx2
= a 2,1
+ a 2, 2
dt
dt
dt
(7.16)
d y1 d a1,1
=
dt y2 dt a 2,1
a1,2 x1
a 2,2 x2
(7.17)
A constant matrix is a matrix whose elements are constants, such as the constants ar,c in Eq.7.15. Constant matrices are factored out of the derivative of matrix products,
just as scalar constants are factored out of the derivatives of
scalar products. Hence
(7.13)
d y1 a1,1
=
dt y2 a 2,1
a1,2 d x1
a 2,2 dt x2
(7.18)
(7.15)
d 2x
dx
=2
dt
dt
(7.14)
dy dAx
=
dt
dt
(7.19)
dy
dx
=A
dt
dt
(7.20)
415
yields
and
L { f (t )} = f (t ) e
st
dt F ( s )
(7.21)
The functions f(t) and F(s) are functions of time t and the
complex variable s, respectively. The complex variable
s = + jw in the exponential within the Laplace integral is
the same complex variable s in the trial solution, x = Ae st ,
for the homogenous equation formed for a differential equation. We will not belabor the definition of Laplace transform,
since it can be challenging to evaluate the integral, except
in simple cases. In the future, we will use transform tables,
when needed. However, we can apply our test for linearity,
i.e., doubling the input must double the output, to the transform. The input to the Laplace transform is a function of
time f(t). Doubling the input is expressed as 2f(t).
L {2 f (t )} = 2 f (t ) e
st
dt = 2 f (t ) e dt = 2 F ( s )
st
L dtd f (t ) = sF (s)
L ddt
(7.23)
f (t ) = s n F ( s )
(7.24)
d
transforms to the complex variable s
The operator
dt
which operates on the transformed function of time,
{ f (t )} = F ( s), as a multiplicative factor. The transformation of differential equations to polynomials in the complex variable s allows us to work with algebraic equations,
rather than differential equations.
We will apply the Laplace transform to systems of simultaneous, first-order differential equations, where,
L ddty = L ddtAx
(7.25)
a 1,2 x1
a 2,2 x2
1,1
2,1
(7.27)
s y1 ( s ) a1,1
=
s y2 ( s ) a 2,1
a1, 2 s x1 ( s ) a1,1
a 2, 2 s x2 ( s ) a 2,1
a1, 2
(7.28)
a 2, 2
a1,2 s x1 ( s )
a 2,2 s x2 ( s )
to yield
(7.22)
and
(7.26)
yields
a1,1
y (s)
sY( s ) = sAX( s ) and s 1 = s
y 2 ( s )
a 2,1
L dtd yy = L dtd aa
sY( s ) = AsX( s )
a1,2 x1 ( s )
a 2,2 x2 ( s )
L { f (t )dt} = 1s F (s)
(7.29)
a1
a 2 A T =
a 2
(7.30)
b1
B = B T = b1 b2
b 2
(7.31)
c1,1
C = c1,2
c1,3
c 2,1
c 2,2 (7.32)
c 2,3
A = a1
416
and
d 1,1 d 1, 2
D = d 2,1 d 2, 2
d 3,1 d 3, 2
d 1,1 d 2,1
d 1,3
T
d 2,3 D = d 1, 2 d 2, 2
d 3,3
d 1,3 d 2,3
d 3,1
d 3, 2
d 3,3
(7.33)
y b = mx
y b
=x
m
This simple bit of scalar algebra is impossible in vectormatrix algebra. Although we can perform the subtraction,
matrix division is not defined!
Although there is no matrix division, there is an analogous operation called matrix inversion. We will develop
the concept with scalar algebra, and then apply it to vectormatrix algebra. Consider the fractional inversion of a scalar
variable. The product of a non-zero scalar and its fractional
inverse is a unity ratio.
= =1
1
for 0
(7.34)
= 1 = 1 1 = 11 = 0 = 1
(7.36)
The number one is the identity quantity for scalar multiplication. Eq.7.34 is true for any scalar.
1 = 1 =
(7.37)
1
0
I=
0
0
1
0
0
0
0
(7.38)
m1,1 m1, 2
M=
m 2,1 m 2, 2
m1,1 m1, 2 1 0 m1,1 1 + m1, 2 0 m1,1 0 + m1, 2 1 m1,1 m1, 2
MI =
=
=M
=
m 2,1 m 2, 2 0 1 m 2,1 0 + m 2, 2 1 m 2,1 1 + m 2, 2 0 m 2,1 m 2, 2
and
1 0 m1,1 m1, 2 1 m1,1 + 0 m1,2 0 m1,1 + 1 m1,2 m1,1 m1, 2
IM =
=
=
=M
417
1 0 0 d 1,1 d 1,2
ID = 0 1 0 d 2,1 d 2,2
0 0 1 d 3,1 d 3,2
1 d 1,1 + 0 d 2,1 + 0 d 3,1 1 d 1,2 + 0 d 2,2 + 0 d 3,2
a 2
1 0
a 2
= a1 1 + a 2 0 a1 0 + a 2 1
0 1
a 2
d 1,1 d 1,2
D = d 2,1 d 2,2
d 3,1 d 3,2
but
1 0
IA =
a1
0 1
a 2
but
Cannot be evaluated
d 1,1
DI = d 2,1
d 3,1
The inverse of matrix M, if one exists, is defined as the matrix, which when pre- or post-multiplying M, yields the identity matrix for M. The symbol used for an inverse matrix is
the exponent, 1, e.g., the inverse of M is M1.
1 0 b1 1 b1 + 0 b2 b1
IB =
=
=
0 1 b2 0 b1 + 1 b2 b2
but
b1 1 0
BI =
b2 0 1
Cannot be evaluated
d 1,2 1 0 0
MM 1 = M 1M = I
0
0
1
c1, 1 0 + c1, 2 1 + c1, 3 0
but
1 0 0
c1,1 c1,2 c1,3
IC = 0 1 0
y = Ax
Cannot be evaluated
(7.40)
A 1y = A 1 Ax
A 1y = Ix
A 1y = x
418
a 1,1
a
2,1
a 1,2 x1
a 2,2 x2
y1 = a 1,1 x1 + a 1,2 x2
y2 = a 2,1 x1 + a 2,2 x2
For a solution x1 and x2 to exist, the two equations must be
independent. Geometrically, in two-dimensional space, the
equations must represent two lines which intersect at one
point. Two cases without any solution occur when the two
lines are identical, and intersect at every point, or are parallel
and have no intersection. The determinant of a set of simultaneous equations equals zero in either of these cases.
Example 1 Two identical equations (or lines)
y1 = 3 x1 + 4 x2
y2 = 3 x1 + 4 x2
a1,1
A =
a2,1
y1 3 4 x1
=
y2 3 4 x2
a1,2 3 4
=
= 3 4 3 4 = 12 12 = 0
a2,2 3 4
adjoint ( A)
cofactors ( A)T
cof ( A) T
=
determinant ( A) determinant ( A)
A
y1 = 3 x1 + 4 x2
y1 = 3 x1 + 4 x2
y2 = 2 (3 x1 + 4 x2 )
y2 = 6 x1 + 8 x2
(7.41)
y1 3 4 x1
y = 6 8 x
2
2
a1,2 3 4
=
= 3 8 6 4 = 24 24 = 0
a 2,2 6 8
a1, 1
A =
a 2, 1
a1, 2
= a1, 1 a 2, 2 a1, 2 a 2, 1
a 2, 2
(7.42)
A 1 =
adjoint ( A)
cofactors ( A)T
cof ( A)T
=
determinant ( A) determinant ( A)
A
(7.41)
419
a 1,1
A = a 2,1
a 3,1
a 1,2
a 2,2
a 3,2
a 1,3
a 2,3 = a 1,1
a 3,3
a 2,2
a
3,2
a 2,3
a 1,2
a 3,3
a 2,1
a
3,1
a 2,3
+ a 1,3
a 3,3
a 2,1
a
3,1
a 2,2
a 3,2
a 1,1
A = a 2,1
a 3,1
a 1,2
a 2,2
a 1,3
a 2,3 = a 1,1
a 3,3
a 2,2
a
3,2
a 2,3
a 1,2
a 3,3
a 2,1
a
3,1
a 2,3
+ a 1,3
a 3,3
a 2,1
a
3,1
a 2,2
a 3,2
a 1,1
A = a 2,1
a 3,1
a 1,2
a 2,2
a 1,3
a 2,3 = a 1,1
a 3,3
a 2,2
a
3,2
a 2,3
a 1,2
a 3,3
a 2,1
a
3,1
a 2,3
+ a 1,3
a 3,3
a 2,1
a
3,1
a 2,2
a 3,2
a 3,2
a 3,2
If there is no solution to the system of simultaneous equations, the determinant of A is zero, and the calculation for
the inverse of matrix A fails, since it is impossible to divide
by zero or, if you prefer, division by zero yields infinity. A
matrix which cannot be inverted is termed singular, a word
used in Victorian England for unique or special and used
in mathematics to mean division-by-zero.
The fundamental definition of a determinant is that for
a two by two, as given in Eq.7.42. The determinant of a
larger matrix is calculated by expanding the matrix by minors, repeatedly if necessary, until the determinants are two
by two. The process consists of removing a row or column
from the matrix, and multiplying the elements of that row
or column by the determinant of the submatrix, created by
dropping out both the row and column of the element. The
determinant of a three by three matrix is
a 1,1
A = a 2,1
a 3,1
a 2,2
A = a 1,1
a 3,2
a 2,3
a 1,2
a 3,3
a 1,2
a 2,2
a 3,2
a 2,1
a
3,1
a 1,3
a 2,3
a 3,3
a 2,3
+ a 1,3
a 3,3
a 2,1
a
3,1
a 2,2
a 3,2
+ +
sign factor of
(i + j )
(r + c)
= ( 1)
= ( 1)
= + (7.43)
expansion term
+ +
where i and j are the row and column indices. Note that
the sign factors alternate from positive to negative in a
checkerboard pattern. (Although conventional mathematical notation uses i and j for indices, r and c are useful mnemonics and cannot be confused with the imaginary number
i j 1.)
We will illustrate the calculation of the determinant of a
three by three matrix using two cases. The first case will be
three lines, which form orthogonal axes intersecting at the
origin. Orthogonality, or mutually normal axes, is an important property of engineering systems described by matrix
equations, characterized by a square matrix with non-zero
420
b1,1 b1,2
b 2,1 b 2,2
B =
b 3,1 b 3,2
b 4,1 b 4,2
y1 2 0 0 x1
y = Px y2 = 0 3 0 x2
y3 0 0 4 x3
This is a diagonal matrix. Diagonal matrices are very important in engineering mathematics because the values of the
elements on the main diagonal are the eigen or characteristic values of the system, described by the set of simultaneous
equations. We are free to expand a matrix by minors, using
a row or column of our choice. Consequently, we always
choose a row or column with as many zeros as possible.
2 0 0
3 0
0 0
0 3
3 0
0
+ 0
= 2
P = 0 3 0 = 2
0 4
0 4
0 0
0 4
0 0 4
P = 2 (3 4 0 0) = 24
The determinant of P is not zero. Therefore, matrix P can be
inverted to solve the equation.
The second example is a system of three simultaneous
equations, which represents two lines that lie in the same
plane; are parallel; and a third line which is normal to the
plane of the two parallel lines. This system of equations has
no solution.
y = Qx
B = b1,1
b 2,2
b 3,2
b 4,2
b 2,3
b 3,3
b 4,3
+ b1,3
b1,3
b 2,3
b 3,3
b 4,3
b1,4
b 2,4
b 3,4
b 4,4
b 2,4
b 2,1 b 2,3
b 3,4 b1,2 b 3,1 b 3,3
b 4,4
b 4,1 b 4,3
b 2,1 b 2,2
b 3,1 b 3,2
b 4,1 b 4,2
b 2,4
b 3,4
b 4,4
b 2,4
b 2,1 b 2,2
b 3,4 b1,4 b 3,1 b 3,2
b 4,1 b 4,2
b 4,4
b 2,3
b 3,3
b 4,3
y1 2 3 0 x1
y2 = 4 6 0 x2
y3 0 0 5 x3
2 3 0
6 0
4 0
1 6
6 0
4 0
4 6
3
+ 0
= 2
3
+0
Q = 4 6 0 = 2
0 5
0 5
0 0
0 5
0 5
0 0
0 0 5
Q = 2 ( 6 5 0 0) 3 ( 4 5 0 0) 0 ( 4 5 0 0) = 0
The determinant is zero. Therefore, matrix Q is singular and
cannot be inverted to solve the equations.
Expanding a matrix larger than three by three is a recursion of this algorithm. A four by four matrix is first expanded
by a row or column of choice into four terms, each including
the determinant of a three by three matrix, which are then
each expanded as illustrated above. Using the first row to
expand the determinant of the matrix B yields
(r +c)
+ +
= +
+ +
421
a 1,1
a 1,2
a 2,2
a 3,2
a 1,3
a 2,3
a 3,3
a 2,2
( +1)
a 3,2
a 1,2
= ( 1)
a 3,2
+1 a 1,2
( ) a 2,2
a 2,2
( +1)
a 3,2
a 1,2
= ( 1)
a 3,2
a
( +1) 1,2
a 2,2
a 2,3
a 3,3
( 1) a 2,1
a 1,3
a 3,3
( +1) a 1,1
a 1,3
a 2,3
( 1) a 1,1
a 2,2 a 2,3
( +1)
a 3,2 a 3,3
a 2,1 a 2,3
= ( 1)
a 3,1 a 3,3
a 2,1 a 2,2
( +1) a
3,1 a 3,2
a 2,2
a 3,2
a 1,2
a 3,2
a 1,2
a 2,2
a 2,3
a 3,3
( +1) a 2,1
a 1,3
a 3,3
( 1) a 1,1
a 1,3
a 2,3
( +1) a 1,1
a 1,3
a 3,3
( +1) a 1,2
a 1,3
a 3,3
( 1) a 1,1
a
a
( 1) a 1,1 a 1,2
3,2
3,1
a
( +1) a 1,1
2,1
3,1
3,1
2 ,1
( 1) a 1,2
3,2
( +1) a 1,1
3,1
3,1
3,1
2,1
2,2
2,1
( 1) a 2,1
a 1,3
a 3,3
( +1) a 1,1
a 1,3
a 2,3
( 1) a 1,1
3,1
3,1
2,1
a 1,3
a 2,3
a 1,3
a 2,3
a 1,2
a 2,2
cof ( A)T
,
A
2 0 0
= 0 3 0
0 0 4
a 2,3
a 3,3
( +1) a 2,1
a 1,3
a 3,3
( 1) a 1,1
a 1,3
a 2,3
( +1) a 1,1
3,1
3,1
2,1
a 2,2
a 3,2
a 1,2
a 3,2
a 1,2
a 2,2
2 0 0
3 0
0 0
0 3
0
+ 0
A = 0 3 0 = 2
0 4
0 4
0 0
0 0 4
does indeed yield the inverse of A. To limit the manual computation, we will use a diagonal matrix
[ A]
a 2,3
a 3,3
A = 2
3 0
= 2 (3 4 0 0) = 24
0 4
3
( +1)
0
0
cof ( A ) = ( 1)
0
( +1)
0
4
( 1)
0
4
( +1)
0
0
( 1)
3 0
( +1)
0 4
cof ( A ) =
0
(3 4 0 0)
cof ( A ) =
0
0 0
0 4
2 0
0 4
2 0
0 0
0
2 0
0 4
( +1)
0
0
( 2 4 0 0)
0
12 0 0
cof ( A ) = 0 8 0
0 0 6
0 3
0 0
2 0
( 1)
0 0
2 0
( +1)
0 3
( +1)
2 0
( +1)
0 3
0
( 2 3 0 0)
422
T
cofactor( A) = 0 8 0 = 0 8 0
0 0 6
0 0 6
cof ( A )
A =
12 0 0 12
0 8 0
24
0 0 6
=
= 0
24
0
8
24
0
6
24
0
0
0.500
A = 0
0.333
0
0
0
0.250
1
0
0 2 0 0
0.500
0.333
0 0 3 0
A A= 0
0
0.250 0 0 4
0
1
( 0.500 2 + 0 0 + 0 0)
A A = ( 0 2 + 0.333 0 + 0 0)
( 0 2 + 0 0 + 0.250 0)
1
(0.500 0 + 0 3 + 0 0) (0.500 0 + 0 0 + 0 4)
(0 0 + 0.333 3 + 0 0) (0 0 + 0.333 0 + 0 4)
(0 0 + 0 3 + 0.250 0) (0 0 + 0 0 + 0.250 4)
0
0
1
A A = 0 0.999 0 I
0
0
1
1
v(t)
iR
iL
iC
isource
423
Table 7.1 Power variables in a series RLC circuit
Across Variable
Through Variable
Voltage Source
Known
Resistor
v12
iR
Inductor
v23
iL (state variable)
Capacitor
iC
g
Fig. 7.5 Series RLC circuit showing nodes of distinct voltages between
the elements and positive direction of currents through the elements
d 2 v3 g R dv3 g
1
1
v1g =
+
+
v3 g
LC
L dt
LC
dt 2
(1.48)
If we were interested in another output variable, say the current through the inductor iL, we would need to start from the
equation list and perform a second complete reduction. The
effort of reducing of an equation list to a single differential
equation with the same order as the system increases roughly
as the square of the number of elements in the system. Unfortunately, as reductions become more involved, they also
become more error prone.
424
v(t)
C
g
of the element. The elemental equations of energy dissipaters; transducer and transformer equations; and the continuity
and compatibility equations are all algebraic equations. As
we know from solving for the initial condition of the output
variable in a first-order system, if the values of the state variables are known at any time t, then it is possible to determine
the values of all of the other unknown power variables at
that time.
The state-space representation of a dynamic system separates calculation of the state variables, and calculation of all
of the other power variables into two discrete steps. We will
first formulate the state equations to find state variables v3g
and iL. We will then formulate the output equations to calculate all of the remaining unknown power variables, using
input v, and state variables v3g and iL.
Energetic Equations
Compatibility: v(t ) = v12 + v23 + v3 g
Continuity: i iR = 0
Elemental: v12 = RiR
iR iL = 0 iL iC = 0
dv3 g
diL
iC = C
dt
dt
1 2
1
EC = Cv3 g E L = LiL2
2
2
v23 = L
Energy: E sys = EC + E L
diL
dt
425
dv3 g
dt
i
= C
dt
C
iL
C
Input
Known
The state equations are a set of simultaneous first-order differential equations, because both equations share the state
State
Variable
Known
Input
Desired
Unknown
(7.45)
Desired
Unknown
State
Variable
Known
Known
426
v
= RiR v3 g + v
23
Input
Desired
Unknown
State
Variable
Known
Known
Input
Desired
Unknown
State
Variable
Known
State
Variable
Known
iC = iL
iR = iL
i = iL
The output equation for the voltage drop across the resistor
starts with the elemental equation for the resistor. One substitution is needed to eliminate iR.
v12 = RiR v12 = RiL
Summary of the output equations for the unknown power
variables
iR = iL
i = iL
v12 = RiL
v23 = RiL v3 g + v
dx
= Ax + Bu
dt
(7.46)
Known
iC = iL
Matrix A consists of expressions of the elemental parameters, known as the coefficient matrix, because its elements
are the coefficients of the state variables in the state equations. Vector (or matrix) B is the input matrix, since it is
multiplied by the vector of inputs, u. In this example, we
have just one input, so u is a single function, the input v(t ),
not a vector of functions.
u = v (t )
State equations for the RLC system are
diL
1
1
R
= iL v3 g + v
dt
L
L
L
dv3 g 1
= iL
dt
C
which are written in the matrix form by reversing the process of vector-matrix multiplication. Coefficient matrix A is
always square, with as many rows and columns, as there are
state variables.
Check the order of state equations, and the order of terms
in the state equations are the same as the order of state variables in the state vector, before transcribing the state equations into vector-matrix form. It reduces errors to write state
vector x on both sides of the equation first
dx
= Ax + Bu
dt
d iL
dt v3 g
iL
+ v
v
3 g
d iL
dt v3 g
1
i
1
L L
+ L v
v
0 3g 0
427
dx
= Ax + Bu
dt
y = Cx + Du
y = Cx + Du
iC
i
R
i =
v12
v23
iL
v +
3g
y = Cx + Du
0
iC 1
0
i 1
0
0
R
iL
i = 1
0 + 0 v
v3 g
0 0
v12 R
v23 R 1
1
Matrix C is the output matrix. Matrix D is the passthrough matrix, so named because the product Du contributes to the output vector, independent of the state equations.
State Equations
Output Equations
428
Fig. 7.7 Schematic of a thirdorder rotational system driven by
a velocity source
Bearing Damping b 2
Pinion
N1 teeth
Inertia J2
Compliant Shaft
Spring Constant K
Inertia J1
Fluid Coupling
Damping b1
Gear
N 2 teeth
(t)
Angular velocity source
b1 =
30 N m sec
Spring Constant K
rad
K =5
Damping b2
b2 =
4 N m sec
rad
Number of Pinion
Teeth, N1
N1 = 16
Inertia J1
J1 = 1kg m 2
Number of Gear
Teeth, N2
N 2 = 32
Inertia J2
J 2 = 6 kg m 2
The power flows through the two branches of the transformer interface sum to zero.
Ppinion + PGear = 0 TP 3 g + TG 4 g = 0
N1
3 g = 0
N2
3 g + TG
N
4 g = 1 3 g
N2
N1
TG
N2
Energetic Equations
Continuity:
T = Tb1 Tb1 = TJ1 + TK TK = TP TG TJ 2 Tb2 = 0
Compatibility:
1g = 12 + 2 g 2 g = 23 + 3 g 4 g = 4 g
Elements:
Tb1 = b1 12
Tb 2 = b 2 4 g
TJ1 = J1
TP =
d 2g
TJ 2 = J 2
dt
dTK
= K 23
dt
d 4g
dt
Energy:
E sys = E J + E K + E J
1
1
E J1 = J1 22 g
2
EJ
1
= J 2 22 g
2
EK =
TK2
2K
Nm
rad
429
Bearing Damping b 2
Pinion
N1 teeth
Inertia J2
Compliant Shaft
Spring Constant K
Inertia J1
Fluid Coupling
Damping b1
(t)
Gear
N 2 teeth
Reduce the equation list to state and output equations. Define the state variable before beginning the reduction to limit
errors:
2 g
x = TK
4 g
d 2g
dt
1
Tb TK
J1 1
dt
dt
b1
J1
dt
d 2g
d 2g
TJ 2 = J 2
2g
( (
d 2g
dt
d 2g
dt
1
TJ
J1 1
1
b1 12 TK
J1
1
b1 2 g TK
J1
d 4g
State Equation 2
d 4g
dt
1
TG Tb2
J2
d 4g
dt
dt
dTK
N
= K 2g + K 2 4g
dt
N1
d 4g
State Equations:
Input 1g State variables 2 g , T K , 4 g
d 2g
dTK
= K 2 g 3 g
dt
dTK
N
= K 2 g + 2 4 g
N1
dt
TJ1 = J1
dt
d 4g
b2
1
TK 4 g
J2
J2
dt
1
TJ
J2 2
1
TK b 2 4 g
J2
State Equation 3
b1
1
TK + State Equation 1
J1
J1
d 2g
dt
b1
J1
2g
b1
1
TK +
J1
J1
dTK
N
= K 2 g + K 2 3g
dt
N1
d 4g
dt
b2
1
TK 4 g
J2
J2
430
Fig. 7.9 Linear graph of the
third-order rotational system of
Fig.7.8
b1
2 g
d
TK =
dt
4 g
1
J1
0
1
J2
0
b1
2g
J
N2
TK + 1
K
N1
0
4
g
0
b2
J2
TJ 2 =
TJ1 = b112 TK
TJ1 = b1 2 g TK
TJ1 = b1 2 g TK + b1
N2
TP b 2 4 g
N1
Output Equation 2
N2
TK b2 4 g
N1
y = Cx + Du
b
TJ1 1
=
TJ 2 0
TJ1 = Tb1 TK
TJ 2 = TG Tb2
TJ1
=
TJ 2
2g
TK +
4g
Then enter the components of output matrix C and the passthrough matrix D.
N2
TK b2 4 g
N1
Output Equations:
Input 1g , State Variables 2 g , TK , 4 g,
Output Variables TJ1, TJ 2.
J
2 g 1
TK = K
dt
4 g
0
TG J2 b2
TJ 2 =
2 g
TK +
4 g
TP
TG TJ 2 Tb 2 = 0
dx
= Ax + Bu
dt
J1
g
(t)
-N1
4g= ___ 3g
N2
Output Equation 1
1
N
2
N1
b1 2 g
T + b1 t
()
b 2 K 0 1g
4 g
x,v
K1
M1
b
M1
K2
x,v
K1
M2
F(t)
431
b
g
M2
F(t)
K2
the Newtonian perspective, this mechanical system is classified as having two degrees of freedom, since each mass can
displace independently in the x direction. Note that the positive x direction is indicated on mass M2 to correspond to the
direction of input force F(t).
The first step of our analysis is independent of the size or
type of the system; whether we will represent the system as
a single higher-order differential equation; or in state-space
as a set of simultaneous first-order differential equations. We
must find the nodes of distinct values of the across variable,
translational velocity, Fig.7.11, so that we can draw the linear graph, Fig. 7.12.
State Vector:
Energetic Equations
Continuity: FM1 FK1 = 0 F + FK1 FM 2 FK2 Fb = 0
FM1 = M 1
= K1v12
dv1g
dt
dFK2
dt
FM 2 = M 2
= K 2 v2 g
dv2 g
(1) FM1 = M 1
dt
dv1g
Fb = b v2 g
dt
dv1g
EM =
1
FK22
1
1
M 1v12g E M 2 = M 2 v22g E K1 =
E K2 =
2
2
2 K1
2K2
(2) FM 2 = M 2
dv2 g
dt
dv2 g
dt
dt
1
FK
M1 1
Energy: E Sys = E M1 + E M 2 + E K1 + E K2
FK21
dt
dv1g
dv2 g
dt
1
FM
M1 1
State Equation1
dv2 g
dt
1
( F + FK1 FK2 Fb )
M2
1
( F + FK1 FK2 bv2 g )
M2
1
1
1
b
v2 g +
FK
FK +
F
M2
M2 1 M2 2 M2
State Equation 2
(3)
dFK1
dt
dFK1
dt
(4)
dFK2
dt
= K1v12
dFK1
dt
= K1v1g K1v2 g
= K 2 v2 g
= K1 (v1g v2 g )
State Equation 3
State Equation 4
432
K1
F(t) b
M1
g
K2
M2
Across variable
Through variable
Force Source
v 1g (state variable)
Known
Mass M1
v 1g (state variable)
FM1
Mass M2
v 2 g (state variable)
FM 2
Spring K1
v12
Spring K2
v 2 g (state variable)
FK 2 (state variable)
Damper b
v 2 g (state variable)
Fb
1
FK
M1 1
1
1
1
b
v2 g +
FK1
FK2 +
F
M2
M2
M2
M2
= K1v1g K1v2 g
= K 2 v2 g
FK2
v
1g
d v2 g
=0
dt FK1
FK2 K1
0
v1g
v2 g
F +
K1
F
K2
0
1
M1
M2
1
M2
K1
K2
0
0
0
0
v
1g 1
1 v2 g
+ M2 F
M 2 FK1
0
0 FK2
0
Output Equations
The state equations are solved, yielding the values of state
variables over the period of interest, before the output variables are solved. The state variables and input variable are
then used to formulate the output variables equations. In this
system, after the state variables are known, the only remaining unknown power variables are the forces acting to acceler-
ate the mass M1 and M2, FM1 and FM 2 ;, the force acting through
the damper, Fb ,; and the velocity drop across the spring, v12 .
The output variable equations are always purely algebraic.
There can be no time derivatives in the output equations.
We will use the state variable vector and input variable to
calculate the output variables. Therefore, the standard form
of the output equation places the output variable on the left
side without a coefficient, and these conditions apply to the
right side.
The state variables are collected,
The state variable terms appear in the order of the state
vector,
Constants multiplying state variables are distributed, and
The input term is last.
Derive the output equations for FM1, FM 2, v12, Fb
(1) Output Equation for FM1
FM1 FK1 = 0 FM1 = FK1
(2) Output Equation for FM 2
F + FK1 FM 2 FK2 Fb = 0
FM 2 = F + FK1 FK2 Fb
FM 2 = F + FK1 FK2 bv2 g
FM 2 = bv2 g + FK1 FK2 + F
(3) Output Equation for v12
v1g = v12 + v2 g
v12 = v1g v2 g
Fb = b v2 g
433
C
T(t)
R2
Pump
FM1
FM 2
y = Cx + Du
=
v12
Fb
v1g
v2 g
+
FK1
F
K2
FM1 0 0 1 0 v1g 0
FM 2 0 b 1 1 v2 g 1
=
+ F
y = Cx + Du
v 1 1 0 0 FK1 0
12
Fb 0 b 0 0 FK2 0
Vol
1g
2
The second transducer equation for the gear pump was derived by setting the sum of the two power flows into the gear
pump as equal to zero. These power flows are the products of
the through and across variables of the two branches, which
form the interface of the linear graph transducer symbol.
Ppump + Ppump = 0 TP 1g + QP p2 g = 0
mech
R1
Hydraulic
Piston
Area A
fluid
Vol
1 g p2 g = 0
2
TP 1g +
Vol
1g p2 g = 0
2
Vol
p2 g
2
Ppiston + Ppiston = 0 QA p4 g + FA v5 g = 0
fluid
mech
434
Fig. 7.14 Schematic of a hybrid
rotational mechanical-fluidtranslational mechanical system,
annotated to show distinct
locations of the across variables:
rotational velocity, pressure, and
translational velocity
QA p4 g + A p4 g v5 g = 0
T(t)
b
Pump
QR 2 QI = 0
QP QR 1 QR 2 = 0
QI Q C QA = 0
Compatibility: 1g = 1g
p4 g = p4 g
Vol
1g
Element: QP =
2
FA = Ap4 g
p2 g = p23 + p34 + p4 g
1g
Q
I
x=
p4 g
v5 g
p23 = R 2 QR 2
QC = C
dp4 g
dt
TJ = J
d 1g
FM = M
EI =
d 1g
d 1g
dt
dt
p34 = I
dQI
dt
d 1g
dt
dv5 g
d 1g
dt
1 2
1
IQI EC = C p42g
2
2
dt
EM =
1
Mv52g
2
d 1g
dt
1
TJ
J
1 Vol
1
R1QR 1 + T
J 2
J
1 Vol
1
R1 QP QR 2 + T
J 2
J
1 Vol
1 Vol
1
R1QP
R1QR 2 + T
J 2
J 2
J
1 Vol
1
1 Vol Vol
1g
R1QI + T
R1
J 2
J 2
J
2
d 1g
dt
d 1g 1
1
1 Vol
T TP )
= T+
(
p2 g
J
dt
J
J 2
dt
dt
1
J 12g
2
d 1g
d 1g
Energy: E sys = E J + E I + EC + E M
EJ =
Vol
TP =
p2 g
2
TJ = J
dt
v5 g = v5 g
QA = Av5 g
p2 g = R1QR1
FA FM = 0
R1
Continuity: T TJ TP = 0
2 R2 3 I
QA = Av5 g .
Energetic Equations
Hydraulic
Piston
Area A
R1 Vol 2
R1 Vol
1
1g
QI + T
J 2
J 2
J
State Equation 1
435
Vol
Q P = ___ 1g
2
1
T(t) J
R2
TP
FA= Ap4g
I
3
QP R1
QA
p34 = I
(2)
dQI
dt
dQI 1
= p34
dt
I
dQI 1
=
p2 g p23 p4 g
dt
I
(4) FM = M
dt
dp4 g
dp4 g
dt
dp4 g
dt
dt
dp4 g
dt
A
1
QI + v5 g
C
C
1
FM
M
A
p4 g
M
dv5 g
dt
1
FA
M
State Equation 4
R1 Vol 2
R1 Vol
1
1g
QI + T
J 2
J 2
J
1
QC
C
dp4 g 1
1
QI QA )
QI + Av5 g
=
(
C
dt
C
=
dt
1
A
QI + v5 g
C
C
A
=
p4 g
dt
M
State Equation 2
dv5 g
dt
dv5 g
R1 Vol
R1 + R 2
dQI
1
QI p4 g
1g
=
dt
I 2
I
I
dp4 g
R1 Vol
R1 + R 2
dQI
1
1g
QI p4 g
=
dt
I 2
I
I
R1 Vol
dQI
1
R2
1g QI
QI p4 g
=
dt
I
I
I
2
QC = C
dt
dv5 g
d 1g
R1
R2
dQI
1
QI p4 g
=
QP QR 2
dt
I
I
I
(3)
R1
R2
dQI
1
=
QR 1
QR 2 p4 g
dt
I
I
I
dv5 g
dt
FA
g
dQI 1
= R1QR 1 R 2 QR 2 p4 g
dt
I
State Equation 3
R1 Vol 2
J 2
1g R Vol
1
d QI I 2
=
dt p4 g
0
v5 g
R1 Vol
J 2
R + R2
1
I
1
C
0
1
I
A
M
1
1g
0 Q J
I + 0 T
A p4 g 0
v
C 5 g 0
dx
= Ax + Bu
dt
436
Table 7.4 Power variables in
the fourth-order fluid-mechanical
System
Across variable
Torque source
1g (state variable)
T (input)
Inertia J
1g (state variable)
TJ
1g (state variable)
TP
p2 g
QP
Fluid resistance R1
p2 g
QR1
Fluid resistance R2
p23
QR 2
Fluid inertance I
p34
Q
I
Fluid capacitance C
p4 g (state variable)
QC
p4 g (state variable)
QA
v 5g (state variable)
FA
Mass M
FM
Output Equations
The power variables of this system are shown in Table7.4.
Remember, the output equations are algebraic equations, in
terms of the input and state variables. Do not include derivatives on either side of any output equation.
(1) Output Equation for TJ :
T TJ TP = 0
TJ =
Vol
p2 g + T
2
Vol
TJ =
R Q +T
2 1 R1
TJ =
Vol
R1QR1 + T
2
Vol
TJ =
R ( QP QR2 ) + T
2 1
Vol Vol
Vol
TJ =
R
R Q +T
2 1 2 1g 2 1 R2
2
Vol
Vol
TJ =
R
R Q +T
2 1 1g 2 1 R 2
(2) Output Equation for TP:
T TJ TP = 0 TP = TJ + T
Vol
Vol
TP =
R1 1g
R1QR2 + T + T
2
2
Vol
p2 g =
R R1QR 2
2 1 1g
(4)Output Equation for QR1:
QR1 =
p2 g
R1
QR1 =
1 Vol
R1 1g R1QI
2
R1
Vol
QR1 =
QI
2 1g
(5)Output Equation for QR2: QR2 = QI
(6)Output Equation for p23: p23 = R 2 QR2 p23 = R 2 QI
(7)Output Equation for p34:
p2 g = p23 + p34 + p4 g p34 = p2 g p23 p4 g
V
p34 = R1 1g ( R1 + R2 ) QI p4 g
2
(8)Output Equation for QC:
QI QC QA = 0 QC = QI QA
Vol
Vol
TP =
R +
RQ
2 1 1g 2 1 R2
(state variable)
2
2
Vol
TJ = TP + T
Vol
Vol
TJ =
RQ
R Q +T
2 1 P 2 1 R 2
Through variable
QC = QI + Av5 g
(9) Output Equation for FA: FA = Ap4 g
(10) Output Equation for FM:
FA FM = 0
FM = FA FM = A p4 g
437
geometric space, since the force axes can be aligned with the
position axes.
A two-dimensional geometric space, i.e., a plane, is
formed by defining two coordinate axes, a three-dimensional
space by defining three coordinate axes, a four-dimensional
space by defining four coordinate axes, etc. Although we
cannot visualize spaces above three dimensions and call such
spaces hyperspace, which means beyond space, hyperspace follows the same mathematical rules as does two- and
three-dimensional spaces. You can define a space to have as
many dimensions as you want. The only restriction is that
its axes must be independent. Axes are independent, if you
cannot plot a point on one axis using the other axes, except at
the origin. In the most fundamental sense, a space is defined
by its coordinate coordinates. If we define coordinates, then
we define a space. The axes of the space do not need to have
the same units. We often use two-dimensional spaces with
time or position as the horizontal axis and a different physical quantity as the vertical axis.
A state-space is a space defined by coordinates, which
are the state variables of a system. It is neither a real
Vol
Vol
TJ =
R
R Q +T
2 1 1g 2 1 I
2
Vol
Vol
TP =
R +
RQ
2 1 1g 2 1 I
Vol
p2 g =
R R1QI
2 1 1g
Vol
QR1 =
QI
2 1g
QR2 = QI
p23 = R 2 QI
Vol
p34 =
R ( R1 + R2 ) QI p4 g
2 1 1g
QC = QI + Av5 g
FA = A p4 g
FM = A p4 g
Output equations in matrix form, y = Cx + Dy
2
Vol
R
2 1
Vol
TJ
R1
T
2
P
Vol
p2 g
2 R1
QR1
Vol
QR2 = 2
p
23
0
p34
0
Q
C Vol
FA
R1
2
FM
0
Vol
R
Vol
R1
2
R1
1
R2
(R
+ R2
1
0
0
0
0
1
0
A
A
1
0
0
0
1g 0
0 QI 0
+ T
p3 g 0
0
v4 g 0
0
0
0
A
0
0
0
space in a geometric sense, but nor is a force space. The energy storage variables satisfy the mathematical requirement
for axes, because they are independent. The values of the
state variables at any moment in time are the coordinates of
a point (a vector from the origin) in the state-space of that
dynamic system. We can, and do, define hyper state-spaces.
A dynamic system with four independent energy storage
elements has four state variables. Consequently, its statespace is four dimensional, because its state vector has four
components. Is it easier to work with three-dimensional
state-spaces than four-dimensional state-spaces? Not re-
438
dy
dt
d2y
x3 2
dt
d3y
x4 3
dt
x2
(7.51)
x1 y
dy dx1
=
dt
dt
2
d y dx
x3 2 = 2
dt
dt
3
d y dx
x4 3 = 3
dt
dt
x2
(7.52)
b
a d 3 y a d 2 y a dy a4
d 4 y
y+ 4u
= 1 3 2 2 3
4
dt
a0
a0 dt
a0 dt
a0 dt a0
If the input is not differentiated, then a set of state equations is defined as the output variable and its n-1 derivatives,
where n is the order of the differential equation. We will use
a fourth-order system equation for illustration, where the
input variable is u (t ), and the output variable is y (t ).
noting that
d4y
d3y
d2y
dy
a0 4 + a1 3 + a2 2 + a3
+ a4 y = b4 u (7.48)
dt
dt
dt
dt
2
y+ 4 u
4
3
dt
a0
a0 dt
a0 dt
a0 dt a0
(7.50)
(7.49)
dx4 d 4 y
= 4
dt
dt
(7.53)
dx1
dt
dx2
dt
dx3
dt
dx4
dt
= x2
= x3
= x4
a
a
a
a
b
= 1 x4 2 x3 3 x2 4 x1 + 4 u
a0
a0
a0
a0
a0
(7.55)
439
v(t)
d x1
= x2
dt
0
x1
0
d x2
0
=
dt x3
a4
x4
a0
1
0
0
0
1
0
a
3
a0
a
2
a0
0
0
0
x1 0
x
1 2 + 0 u
x3
a1 b4
x4
a0
a0
and substituting
x1
x
2
y = [1 0 0 0]
x3
x4
(7.57)
(7.60)
dx
= Ax + Bu,
dt
(7.59)
dx1
d dx1
+ u
= 1 x1 + 2
dt dt
dt
1
1
R dv3 g
v3 g
+
v1g
L dt
LC
LC
(7.58)
(7.56)
dx2
= 1 x1 + 2 x2 + u
dt
(7.61)
1
1
R dv3 g
+
v3 g
v1g
LC
L dt
LC
x2 =
dx1
dt
dx2
dt
440
Table 7.5 State and output eqs.
for the RLC circuit of Fig.7.6
State variables defined recursively from the output variable of the second-order system equation
1
R
L L iL 1
+ L v1g
v
1
0 3 g 0
C
iL
v3 g = [ 0 1]
v3 g
0
d x1
=
1
dt x2
LC
d iL
=
dt v3 g
1
0
x1
+
R
1 v1g
x2
L
LC
x1
v3 g = [1 0]
x2
1
0
x1
R + 1 v1g
x2
L
LC
x
v3 g = [1 0] 1
x2
dx
= Ax + Bu
dt
(7.45)
We will see when we develop the transfer function representation of higher-order systems that it is common for the input
variable to appear as one or more derivatives. Derivatives of
the inputs are dealt with by defining non-physical state variables, which are algebraic expressions, typically including
a state variable and a derivative of the input variable. This
sounds intimidating, but there is a reasonable algorithm to
handle these cases.
The algorithm assumes that both the input and output
variables are differentiated to the same degree. If this is not
the case, as it typically isnt, then eliminate unneeded input
derivatives, by setting their respective coefficients to zero.
We will use a fourth-order system equation for illustration,
where the input variable is u (t ), and the output variable is
y (t ).
d4y
d3y
d2y
dy
a 0 4 + a1 3 + a 2 2 + a 3
+ a4 y
dt
dt
dt
dt
d 4u
d 3u
d 2u
du
= b 0 4 + b1 3 + b 2 2 + b 3
+ b 4u
dt
dt
dt
dt
(7.62)
441
Define the first state variable, x1 , as the operand of the highest-order derivative.
b0
x1 = y u
a0
b 0 d 4 u b1 d 3u b 2 d 2 u b 3 du b 4
+ u
4 + 3 + 2 +
a 0 dt
a 0 dt
a 0 dt
a 0 dt a 0
(7.63)
The remaining state variables are defined in terms of the derivative of the output variable y, the input variable u, and
coefficient terms i
x1 = y 0 u
dx
x2 = 1 1u
dt
dx2
x3 =
2 u
dt
dx
x4 = 3 3u
dt
1
0
x1 0
0
d x2 0
0
=
dt x3
a3
a4
x4
a0
a 0
x1
x
2
y = [1 0 0 0] + 0u
x3
x4
0
1
0
a2
a0
0
0
1
x1 1
x2 + 2 u
x3 3
a1
x4 4
a 0
(7.64)
a 1 d 3 y a 2 d 2 y a 3 dy a 4
d4y
= 3 2
y
4
dt
a 0 dt
a 0 dt
a 0 dt a 0
b 0 d 4 u b1 d 3u b 2 d 2 u
+ 4 + 3 + 2
a 0 dt
a 0 dt
a 0 dt
b 3 du b 4
+
+ u
a 0 dt a 0
(7.65)
(7.68)
and
0 =
1 =
2 =
3 =
(7.67)
4 =
b0
a0
b1
a0
b2
a0
b3
a0
b4
a0
a1
a0
a1
a0
a1
a0
a1
a0
0
1
2
3
a2
a0
a2
a0
a2
a0
0
1
2
a3
a0
a3
a0
0
1
a4
a0
(7.69)
Collect the input and output variable terms by order of differentiation to guide our choice of state variable.
d4
dt 4
b0 d 3 a1
b1 d 2
y u = 3 y + u + 2
a 0 dt a 0
a 0 dt
a2
b2 d a 3
b3 a 4
b
y + u + y + u y + 4 u
a 0 dt a 0
a 0 a 0
a0
a 0
(7.66)
442
Fig. 7.16a Schematic and b linear graph of a spring-mass-damper system with an input force
x,v
F(t)
F(t)
K
g
(3.34)
1
0
x
d x1
a1 1 + 1 u
= a2
x
dt 2 x2 2
a0
a0
x1
y = [1 0] + 0 u
x2
a0
(7.70)
where
0 =
1 =
2 =
b0
a0
b1
a0
b2
a0
a1
a0
a1
a0
0
1
and
a2
a0
x1 = y 0 u
x2 =
dx1
1u
dt
(7.71)
There are two conventions for identifying the coefficients in
polynomials and differential equations. We will use the convention, which identifies the coefficient of the highest-order
term with the subscript of zero, a0. The other convention
identifies the coefficient with a subscript equal to the order
of the term, with the constant or zero-order term a0. Texas
d 2v
dv
d 2F
dF
a
a
v
b
+
+
=
+ b1
+ b2 F
1
2
0
2
2
dt
dt
dt
dt
b dv1g K
d 2 F 1 dF
+ v1g = 0 2 +
+ 0F
M dt
M
M dt
dt
and
b0 = 0
1
b1 =
M
b2 = 0
0 =
1 =
2 =
443
b0
a0
b1
a0
b2
a0
a1
a0
a1
a0
x1 = y 0 u
dx
x2 = 1 1u
dt
a2
a0
0 =
0
=0
1
1 =
1
b
1
0 =
M M
M
2 =
0 b
b 1
b
K
1
0 =
= 2
1 M
M M
M
M
x1 = v 0 F
dx
x2 = 1 1 F
dt
1
1
M
x
1
F
b +
x2 b
M
M 2
dx
= Ax + Bu
dt
x1
y = [1 0] + 0 F
x2
dx
= L { Ax + Bu}
dt
7.10.1Eigenvalues
x1 = v
dv 1
x2 =
F
dt M
(7.72)
sX ( s ) = AX ( s ) + BU ( s )
(7.73)
L {x} = L {Pz}
L {x} = PL {z}
X( s ) = PZ( s )
(7.74)
We can now eliminate the existing state vector, X(s), from
the state equations 7.72 by substitution.
sPZ ( s ) = APZ ( s ) + BU ( s )
(7.75)
The left side of Eq.7.74 is not in the proper form for state
equations. We must remove matrix P from the product,
sPZ(s). To do so, we premultiply both sides of Eq.7.74 by
the inverse of matrix P.
P 1 sPZ ( s ) = P 1 ( APZ ( s ) + BU ( s ))
(7.76)
444
sP PZ ( s ) = P APZ ( s ) + P BU ( s )
1
(7.77)
(7.78)
sZ ( s ) = P 1 APZ ( s ) + P 1BU ( s )
(7.79)
z1 1 0 0 0 z1
z 0
0 0 z2
2
2
+ P 1BU ( s ) (7.80)
s =
0 0 n zn
zn 0
allowing the control designer to change the eigenvalues individually, and tailor the response of the dynamic system under
feedback control.
a11
a
21
a12 v1
v1
=
a22 v2
v2
(7.81)
Note that the left side of the equation is the product of a matrix and a vector, and the right side is the product of a scalar
and a vector. The equality of the two sides is easiest to see,
a11v1 + a12 v2 v1
a v + a v = v
22 2
21 1
2
Just as eigenvalues have physical meaning when they are associated with a physical system, so too their corresponding
eigenvectors. In the case of a lumped parameter mechanical system, i.e., a spring-mass-damper system, with multiple
masses and an oscillatory impulse or step response, the eigenvalues represent the different decay rates and frequencies. Their corresponding eigenvectors represent the shape
of each mode superimposed to create the vibration.
In the bad old days, engineering students studied arcane
methods for calculating eigenvectors. In the present day,
Mathcad, MATLAB, and hand-held engineering calculators
have built-in routines for finding eigenvectors. Using the
coefficient matrix of the RLC circuits state-space representation, with energy storage variables as state variables, and
letting R = 3, L = 2, and C = 1, for illustration,
R
L
A=
1
C
1 3
L
2
=
1
0
1
1
2
1 , 2 =
R
4
3
4
R
3
L
2
L
LC
2
2 1
=
2
2
0.894
7.10.2Eigenvectors
and
0.707
v2 =
0.707
Summary
Linear algebra is a condensed form of the algebra of simultaneous equations where the variables are represented as vectors and the constants or coefficients are represented by matrices. The key differences between scalar and vector-matrix
algebra are:
Problems
445
y = Cx + Du
AI = IA
and
1
0
I=
0 0
1 0
0 0 1
Problems
a 1,2
a 2,2
a n ,2
Problems 1, 2, and 3 are to be solved manually, meaning, that you may use your calculator to perform arithmetic
operations but not linear algebra. After you have solved the
problems manually, you are encouraged to check your man-
a 1, n x1 b1,1 b1,2
a 2, n x2 b 2,1 b 2,2
+
a n , n xn b n ,1 b n ,2
b1, m u 1 (t )
b 2, m u 2 (t )
b n , m u m (t )
1 2 5 6
3 4 + 7 8 =
1 2 5 6
7.1.b 8
=
3 4 7 8
1 2 5 6
3 4 7 8 =
5 6 1 2
7.2.b
=
7 8 3 4
446
x,v
F(t)
Flywheel
Rotational Inertia J
Compliant Shaft
Torsional Spring K
Fluid Coupling
Damping b
Lubricating fluid
Damping b
Angular Velocity
Input (t)
1 2 5
7.2.c
=
3 4 6
7.2.d
[3
5
4] =
6
5
7.2.e [3 4] =
6
Problem 7.3 Calculate the inverses of the following matrices
manually, as the transpose of the cofactors of the matrix divided by the determinant of matrix. No credit will be awarded
for inverting the matrices using a graphical algorithm. Check
by multiplying the matrix by its inverse manually.
1
7.3.a
2 3
4 5 =
2 0 3
7.3.b 4 5 6
7 8 9
Case I
Case II
Case I
Case II
Problems
447
x,v
K
F(t)
b2
b1
M1
M2
M2
b1
b2
Case I
1.0
2.0
1.0
0.1
2.0
Case II
0.2
0.4
1.0
0.1
0.2
R1
R2
R3
0.1
0.2
0.3
7.7.a Derive the state equations for this system and check
their units
7.7.b Derive output equations for:
i The pressure in the fluid accumulator.
ii The velocity of mass M.
iii The volume flow rate through the fluid inertance.
iv The volume flow rate from the pressure source.
v The force acting to accelerate mass M.
vi The pressure drop across the fluid inertance.
7.7.c Express the state and output equations in matrix form.
7.7.d Calculate the systems eigenvalues. If the system is
underdamped, determine the ideal, undamped natural
frequency n, the damped natural frequency d, and
the damping ratio .
7.7.e The system was de-energized when a step input of 100
was applied. Solve the state equations and the output equations using Mathcad or MATLAB. Plot the
responses of the output variables.
Problem 7.8 A hybrid fluid-translational rotational system
is shown in Fig.P7.8. The fluid power unit is modeled as a
pressure source, which discharges into a hydraulic line with
fluid resistance R. The hydraulic piston/cylinder has diameter D. Its piston rod is attached to the linkage. A dashpot
with damping b and a spring K are also attached to the linkage. The linkage has rotational inertia J.
Fluid Accumulator
Capacitance C
Hydraulic Line
Resistance R 2
Hydraulic Piston-Cylinder
Diameter D
Press Die, Mass M
Hydraulic Line
Resistance R3
Inertance I
448
Fig. P7.8 Fluid-translational
mechanical system
Dashpot
Damping b
Hydraulic Line
Fluid Resistance R
L1
L2
Tank vented to
the atmosphere
Pivot
Hydraulic Cylinder
Diameter D
Linkage
Rotational Inertia J
Mass M
Lubricating Film
Damping b 2
Pivot
Dashpot b1
Spring K
Spring K2
Spring K1
L3
L2
L1
L2
0.6
0.12
50
20
1,500
7.8.a Derive the state equations for this system and check
their units.
7.8.b Derive output equations for:
i The volume flow rate from the source.
ii The force applied by the piston rod.
iii The force in spring K.
iv The angular velocity of the linkage.
v The velocity difference across the spring.
7.8.c Express the state and output equations in matrix form.
7.8.d Calculate the systems eigenvalues. If the system is
underdamped, determine the ideal, undamped natural
frequency n, the damped natural frequency d, and
the damping ratio .
7.8.e The system was de-energized when a step input of
2,000 was applied. Solve the state equations and the
output equations using Mathcad or MATLAB. Plot the
responses of the output variables.
L1
L2
L3
b1
b2
K1
K2
100
0.5
1,000
1,500
10
7.9.a Derive the state equations for this system and check
their units.
7.9.b Derive output equations for:
i The force acting to accelerate mass M.
ii The velocity of mass M.
iii The force acting through spring K1.
iv The force acting through spring K2.
v The velocity of the point of application of the
input force F(t).
Problems
449
Electric Motor
Transduction
Rotational Inertia J 1
Bearings Damping b1
Electrical Resistance R
Rotational Inertia J2
Bearings Damping b2
J1
b1
J2
b2
0.6
1,000
0.5
7.10.a Derive the state equations for this system and check
their units.
7.10.b Derive output equations for:
i The current from the source.
ii The torque acting to accelerate angular velocity
of rotational inertia J1.
iii The angular velocity of rotational inertia J1.
iv The angular velocity of rotational inertia J2.
v The torque acting through spring K.
7.10.c Express the state and output equations in matrix
form.
7.10.d Calculate the systems eigenvalues. If the system is
underdamped, determine the ideal, undamped natural
frequency n, the damped natural frequency d, and
the damping ratio .
D2
D3
D4
b1
J1
J2
b2
1,500
12
Case II
Case III
500
1,500
3,000
7.11.a Derive the state equations for this system and check
their units.
7.11.b Derive output equations for:
i The torque acting through spring K.
ii The angular velocity of flywheel J1.
iii The torque applied by the angular velocity source.
iv The torque acting to accelerate flywheel J2.
v The angular velocity of flywheel J2.
450
Flywheel
Rotational Inertia J1
Damping b1
Compliant Shaft
Spring Constant K
Pulley
Diameter D1
Flywheel
Rotational Inertia J 2
Damping b1
Pulleys Diameters
D2 and D3
Angular Velocity
Input (t)
Fluid Coupling
Damping b2
Pulley
Diameter D4
Fig. P7.12a A shaft-driven rotational system with a compound
gear
Rotational Inertia J
Compliant Shaft
Torsion Spring K2
Compliant Shaft
Torsion Spring K 1
Bearing
Damping b3
N2
N4
N3
Bearing
Damping b2
N1
Fluid Coupling
Damping b1
Angular Velocity
Source, (t)
torsional spring constant K. The compliant shaft drives a pinion with N1 teeth. The pinion engages a gear with N2 teeth.
The gear shaft drives rotational inertia J2. The gear shaft
bearings have damping b2.
Table 7.12a Parameter values
b2
b3
K1
20
N m sec
rad
10
N m sec
rad
2,000
K2
N
rad
4,000
J
N
rad
10 kg m 2
Case II
Case III
N m sec
5
rad
N m sec
1
rad
0.1
N m sec
rad
N2
N3
N4
12
48
18
54
Problems
451
3,000
p(t)
psi
200
100
2,000
T(t)
N m
1,000
t, sec
-100
-200
t, sec
Compliant Shaft
Spring Constant K
Crosshead
Mass M
Rail
Power Screw
4 threads per inch
T(t)
Pinion
N1 teeth
Viscous Friction of
threads in crosshead
Rotational Damping b1
452
Fig. P7.14a Hybrid fluid-rotational mechanical system
Lower Pressure
Return Line
Breather Cap
Fluid Power Unit
Pressure Source p(t)
48
1 kg m 2
N m sec
rad
2,000
N
rad
b2
5 kg
0.2
N m sec
rad
MPa sec
80
m3
N
4,000
rad
5 kg m 2
kg
24,000 4
m
N m sec
10
rad
p(t)
psi
3,000
2,000
1,500
1,000
t, sec
Problems
453
Angular Velocity
Input (t)
Nm
rad
J1
K2
2 kg m 2
400
Nm
rad
J2
b2
1 kg m 2
0.2
N m sec
rad
N m sec
rad
Case II
20
N m sec
rad
Case III
40
N m sec
rad
L2
L1
v(t)
C1
C2
C2
L1
L2
1 F
2 F
1 mH
2 mH
Case II
Case III
20
40
454
L1
v(t)
L2
C1
C2
L2
1 F
2 F
1 mH
2 mH
Case III
10
20
C2
Case II
C1
Case I
Electrical Resistance R
Compliant Shaft
Torsional Spring K1
Flywheel 1
Rotational Inertia J 1
Bearings Damping b1
DC Electric Motor
Torque constant K T
Flywheel 2
Rotational Inertia J2
Bearings Damping b 2
Problems
455
vsurface
1g
K2
n+2
g
Fig. P7.18c Linear graph representing a compliant belt as a translational spring between two rotational to translational transducer interfaces
K2
J2
b2
5 kg m 2
8,000
N
m
800
Nm
rad
N m sec
rad
2g
Driven
Pulley
vsurface
n+1
Taut
Taut
Driving
Pulley
n-1
vsurface
Slack
J1
b1
6 kg m 2
N m sec
rad
1g
Slack
Driving
Pulley
vsurface
2g
Driven
Pulley
K1
K2
50
1,000
1,500
10
20
Mass M
Lubricating Film
Damping b 2
Spring K2
Rotational Inertia J
Dashpot b1
Pivot
Spring K1
L3
L2
L1
456
Fig. 5.52 Thermal system
divides into five regions, each
with a thermal capacitance
between the center temperature
node of the region and ground
temperature
Perfect Insulation
No heat flow
q in
R ss1
Aluminum
0.5 in
2 in
Rss 2
R al 1
Css
1(t)
R al2
RAl
RAl
Stainless
Steel
Surface Area
A = 48 ft 2
RAl RAl
RAl
RAl
RAl
3
Heat Flow
Rate
RSS
RSS
R al 3
RAl
11
qout
10
C al1
Ral 4
Cal 2
g
6
Ral 4
Cal 2
R al 5
Ral 6
Cal 3
R al 7
10
Ral 8
11
Cal 4
2(t)
g
7.19.a Derive the state equations for this system and check
their units.
7.19.b Derive output equations for
i The force acting to accelerate mass M.
ii The velocity of mass M.
iii The force acting through spring K1.
iv The force acting through spring K2.
v The angular velocity of the lever.
vi The velocity of the point of application of the
input force F(t).
7.19.c Express the state and output equations in matrix
form.
7.19.d Calculate the systems eigenvalues. If the system is
underdamped, determine the ideal, undamped natural
frequency n, the damped natural frequency d, and
the damping ratio .
7.19.e Solve the state equations and the output equations
using Mathcad or MATLAB.
7.19.f Plot the responses of the output variables using
Mathcad or MATLAB.
Problem 7.20 The stainless steel and aluminum thermal system of Sect.5.8.4 is reproduced as Fig.5.52. The stainless
steel is 0.5in. thick. The aluminum is 2in. thick. Both metals
are divided into layers 0.25in. thick, parallel to the external
surfaces. The thermal system model consists of thermal resistances in series and thermal capacitances in parallel. The
linear graph is Fig.5.53. The thermal resistances of the stainless steel and aluminum are calculated for 0.25in. layer. The
thermal capacitances are calculated pairing adjacent layers
and using the temperature node between them as the temperature of the 0.5 in. thick capacitance.
The thermal resistances of the 0.25in. thick stainless steel
and aluminum layers are:
RSS = 8.23 10 5
o
K
K
and RAl = 6.91 10 6
W
W
kJ
kJ
and C pAl = 137 o
K
K
7.20.a Derive the state equations for this system and check
their units.
7.20.b Derive output equations for:
i The temperatures of nodes 2, 4, 6, 8, and 10.
ii The heat flow rate through thermal resistances
RSS1, Ral1, Ral3, Ral5, Ral7, Ral9, and Ral10.
Chapter 7 Appendix
457
x,v
F(t)
Mass
M
1
Lubricating
fluid film
Damping b
Chapter 7 Appendix
Mathcads RungeKutta Solver
Mathcad has two versions of the RungeKutta algorithm,
rkfixed(), which has a constant, or fixed, time step t and
Rkadapt(). Rkadapt() adapts or varies the time step, reducing
its size if the finite differences become large and increasing
it when they are small. We will use rkfixed(). Rkadapt() is
used when a calculation is numerically stable only with an
excessive number of time steps.
The RungeKutta solver rkfixed() is a function. It is used
in an assignment statement where the result of the Runge
Kutta calculation is assigned to a variable, say Z. The
Mathcad syntax is:
Z : = rkfixed(a, b, c, d, e)
where
a is the state variable vector.
b is the beginning time of the simulation.
c is the end time of the simulation.
d is the number of time intervals in the simulation.
e is the vector containing the state equations.
The time step t=(c-b)/d.
The function rkfixed() returns an array, Z in this example.
The first column of the array is time. The succeeding columns are the values of the state variables at those times, i.e.,
the second column is the first state variable, the third column
is the second state variable, etc. A column of a matrix can be
F(t)
g
7.20.c Express the state and output equations in matrix
form.
7.20.d Calculate the systems eigenvalues.
The thermal system is at the uniform temperature of
20C when the temperature of node 1 is given a step
increase to 100C. The temperature of node 11 is
held at 20C.
7.20.e Solve the state equations and the output equations
using Mathcad or MATLAB.
7.20.f Plot the responses of the output variables using
Mathcad or MATLAB.
extracted using a special operator. Typing Ctrl and 6 simultaneously immediately following a matrix variable produces
a pair of exponentiated angle brackets. The column number
to be extracted is inserted into the angle brackets. Remember
that Mathcads origin, the beginning value of indices, is
zero, unless it is changed by the user. Hence, the first column
of a matrix is column zero. The following command assigns
the first column of the array Z to the variable t.
t:= Z0
The RungeKutta method will fail when simulating secondorder or higher systems if the time step is too large. The calculation will become numerically unstable and produce a
result with growing oscillations that head to either positive
or negative infinity. Errors formulating the state equations,
particularly sign errors, can also lead to numerical instability.
The physical systems which are not under feedback control
are physically stable. Therefore, if the calculation is unstable
reduce the time step by an order of magnitude or two. If the
calculation is still numerically unstable, then check your
state equations.
The procedure will be illustrated with a first-order massdamper system. The first-order system will also be used to
demonstrate the response of the system to inputs other than
step inputs. Next, the response of a second-order springmass-damper system will be investigated.
F (t ) M dv1g
=
+ v1g
b
b dt
F (t ) dv1g b
=
v1g (3.26)
M
dt
M
458
dv1g
F (t ) dv1g b
b
F (t )
=
+ v1g
= v1g +
M
dt
M
dt
M
M
The Mathcad code begins by defining the input function, parameter values, and the initial value of the state variable. We
will first solve the state equation for a step input with the system initially de-energized using the following parameters:
M : = 3 b : = 2 F : = 10
Define a state variable vector by assigning the initial value
to each state variable. Here, the mathematical meaning of
vector collides with the computer science meaning. Each
individual state variable must be a computer science vector to contain the value of the variable at each time step in
the calculation. Recall that the period indicates a literal
subscript that Mathcad accepts as part of the variable name
[indicates what follows to be a vector or matrix subscript].
Type x[0
to see
x0
Mathcad recognizes x as a vector variable because it has vector a subscript. Define the initial value of the state variable
x to be zero.
x0 : = 0
The state equation must be defined as a function to two variables. The first argument, t, is the independent variable. The
second argument is the name of the state vector. We have a
single state variable, not a state variable, so we identify the
state variable. One can name the function which defines the
state equations. We will use D(t, x).
D ( t, x ) : =
b
F
x +
M
M
4
V.1g
2
t1
10
10
v1g : = Z 1
b: = 2
F : = 10
Chapter 7 Appendix
459
4
4
4
v.1g
v.1g
v.NL
( )
F t3q
2
0
4
1.357
0
t2
10
10
D ( t, x ) : =
b 2 F
x +
M
M
v NL : = Z NL 1
b: = 2
x0 : = 0
D ( t, x ) : =
b
1
x + F(t)
M
M
6
10
t3 , t3q
10
v pulses : = Zpulses 1
b: = 2
x0 : = 0
D(t, x) : =
b
1
x + sin( t)
M
M
v pi : = Zpi 1
460
0.091
0.1
0.05
x10 : = 0
v.2pi
v.4pi
0.05
0.053
0.1
x 20 : = 0
x10
x:=
x 20
0
t1 , t2
10
10
Fig. A7.4 Sinusoidal responses of the first-order mass-damper system. Solid trace input frequency =2. Dashed trace, input frequency
=4
v1g 0 : = 0
M: = 3 b: = 2
x0 : = 0
b
1
x + sin(4 t)
D(t, x) : =
M
M
Z4pi : = rkfixed(x , 0,10,1000, D)
t4 : = Z4pi 0
v 4pi : = Z 4pi 1
K: =1
F : = 10
FK 0 : = 0
where the latter have literal subscripts for 1g and K and vector subscripts for zero.
The state vector x is the vector of the initial values of the
state variables where, again, the state vector x cannot have a
vector subscript and the state variables v1g and FK must have
the vector subscript of zero.
M: = 3
v1g : = 0
or
v1g 0
x:=
FK
0
The state equations are:
b
D(t, x) : = M
x,v
F(t)
1
1
M x + M F
0
0
F(t)
K
g
461
2.938
15
11.085
2
10
v.1g
F.K
1
5
0
0.319
10
2.938
20
t.MbK
25
15
10
11.085
F .K
v.1g
F .M
F .b
0.319
0
0
v1g : = ZMbK 1
FK : = ZMbK 2
FK 1
F
b 0
0
b
10
20
t.MbK
2.59
25
462
463
4.5
v1g, m/sec
V1g, m/sec
4
3.5
3
2.5
2
1.5
1
Nonlinear
3
2
1
0.5
0 0
Linear
t,sec
10
0
0
12
t, sec
10
12
Fig. A7.9 Linear and non-linear step response of a mass-damper system, M=3, b=2, F=10
M = 3; % Mass
b = 2; % damping
F = 10: % Force
dx(1) = (-b/m)*x(1)^2 + (1/m)*F; %State Eq
end
if(t<2)
F = 5;
elseif(t<4)
F = -5;
else
F = 0;
end;
dx(1) = (-b/m)*x(1)^2 + (1/m)*F; %State Eq.
end;
F (t ) = 5 us (t ) 10 us (t 2) + 5 us (t 4) .
Edit the first-order linear function StateEq(t, x) to add the
if, elseif, and else, shown below to calculate the input force
F(t).
function dx = PulseStateEq(t,x,) % Function Declaration
% Create and zero the column vector dx with one row
dx = zeros(1,1);
M = 3; % Mass
b = 2; % damping
% Force Pulse if, elseif, else
464
3
2
v1g, m/sec
v1g, m/sec
1.5
0.5
0
0.5
0
1
1
1.5 0
10
12
t, sec
Fig. A7.10 Response of the linear mass-damper system, system,
M=3, b = 2, to the input pulse F(t)
if(t<2)
F = 5;
elseif(t<4)
F = -5;
else
F = 0;
end;
t, sec
10
12
options = odeset('refine',8)
The variable name, options, is the last argument in the argument list of ode45
2
1.5
v1g, m/sec
0.5
0
0.5
1
1.5
2
t, sec
10
12
1
1
v1g
M + M F
F
0 K 0
The MATLAB code requires individual equations. Expanding the matrix form:
dv1g
1
1
b
v1g
FK +
F
M
M
M
dt
dFK
= Kv1g
dt
465
FK
FM
5
FM, N
Fb, N
V1g, ms/sec
FK, N
15
10
5
V1g
Fb
0
5
0
10
10
20
30
40
50
t, sec
60
70
80
90
100
0
Fb b 0
v1g = v1g
FK = FK
FM = bv1g FK F
Fb = bv1g
20
40
60
t, sec
80
100
The time values are in the vector variable T. Its length can be
determined by the function length(). The state variables v1g
and FK are the columns in the state vector X and should be
extracted and assigned to individual vector variables. MATLABs colon operator,:, is a wildcard to force a variable to
take on every value in a range. The colon operator successively takes on the values of the row indices, allowing the
columns of the array to be copied to vectors without the use
of a for end loop.
v1g = X(:,1); % Extracts column 1 from the array X
FK = X(:,2); % Extracts column 2 from the array X
The output variables are calculated with a for loop.
b = 0.2; % Damping
F = 10; % Step input
N = length(T); % Determines length of time vector T
FM = zeros(N); % Creates and zeros vector FM
Fb = zeros(N); % Creates and zeros vector Fb
% for loop to calculate output equations
for n=1:N;
FM(n)=-b*v1g(n)-FK(n)+F;
Fb(n)=b*v1g(n);
end
Abstract
t 0
v dv
=
t dt
In a finite difference approximation of the derivative, the infinitesimal t produced by evaluating lim is replaced with
t 0
a small but finite t:
v dv
t dt
(8.1)
How small a t is small enough for a reasonable approximation of the derivative? That depends on the time scale of the
dynamic response of the system. Using the time constant,
, of a first-order system and the period, T, of an oscillatory
second-order system as time scale of the respective systems
dynamic responses, the upper limits of t should be approximately t / 20 and t T / 200 so that plots that are supposed to be smooth curves are smooth curves.
dv(t )
+ v(t )
dt
F (t ) = 3
v(t )
+ v(t )
t
t = n t
K. A. Seeler, System Dynamics, DOI 10.1007/978-1-4614-9152-1_8, Springer Science+Business Media New York 2014
(8.2)
467
468
Fig. 8.1 Forward-stepping finite
difference calculation as a function of discrete time
v((n+1)t)
v((n+1)t)
v(nt)
Velocity
Continuous
Variable
v(nt)
v(nt)
v((n-1)t)
v((n-1)t)
v((n-1)t)
v((n-2)t)
v((n-2)t)
v((n-2)t)
t
0
(n-2)t
t
(n-1)t
t
nt
(n+1)t
Time
Discrete Variable
where n is an integer. Time calculated as a multiple of a time
step, t, is known as discrete time, as opposed to continuous time. Substituting n t for t:
F (n t ) = 3
v(n t )
+ v(n t )
t
(8.3)
v(n t ) =
F (n t )
v(n t )
t
t
3
3
(8.4)
v((n + 1) t ) =
F (n t )
v(n t )
t
t + v(n t ) (8.6)
3
3
v(n t ) =
F (n t )
v(n t )
t
t
3
3
v(0.0) =
F (0.0)
v(0.0)
t
t
3
3
10
0
0.5 0.5 = 1.67
3
3
v(0.0) =
469
v(n+1)
Velocity
v(n)
v(n)
v(n-1)
v(n-2)
v(n t ) =
F (n t )
v(n t )
t
t
3
3
v(n+1)
v(n)
v(n-1)
v(n-1)
v(n-2)
v(n-2)
n-2
{
n-1
Step Number
n+1
and written using the counter variable, n, as the index for the
input vector, F, and the output vector, v:
v(n ) =
F (n )
v(n )
t
t
3
3
(8.7)
dv(t )
+ v(t )
dt
dx(t )
+ ax(t )
dt
470
Start
dv(t )
1
1
dx(t )
= v(t ) + F (t )
= ax(t ) + bu (t )
dt
3
3
dt
Input values
N, t end , a, b, x(1), u
t T =
tend
N steps
(8.8)
t (n) = (n 1) T
Dx = a x(n) T + b u T
(8.9)
No
n=N?
Yes
Plot results
Finish
Fig. 8.3 Flowchart of the Euler method solution of a first-order systems state equation
471
x,v
F(t)
b
M
F(t)
K
g
Frictionless rollers
% Euler Method, First-order system, while loop
N = 2000 % Number of steps
t_end = 20 % End time of calculation
a = -1/3 % Coefficient of state variable
b = 1/3 % Coefficient of input variable
x(1) = 0 % Initial value of the state variable
u = 10 % Input function, a step of 10
T = t_end/N % Time step
t(1) = 0 % Initial value of the time vector
while (N+1) > n;
Dx= a*x(n) T+b*u*T;
x(n+1) = Dx+x(n);
t(n+1) = n*T;
n = n+1;
end
plot(t,x)
dv1g
dt
Energy E sys = E M + E K
dFK
= Kv1g Fb = bv1g
dt
F2
1
E M = Mv12g E K = K
2
2K
1
1
b
= v1g
FK +
F
dt
M
M
M
dFK
= Kv1g
dt
b
d v1g
=
M
dt FK
K
1
1
v1g
+
M M F
F
0 K 0
We can derive the finite difference equations for this system, by either operating on the individual state equations,
or on the state equations in vector-matrix form. However,
we need the individual equations to program the equations.
The first step is to approximate the derivatives as finite differences:
v1g
1
1
b
= v1g
FK +
F
M
M
M
t
FK
= Kv1g
t
b
1
1
v1g t
FK t +
F t
M
M
M
FK = Kv1g t
v1g =
As we did with the Euler solution for a single-state equation, we will write the program for a system of two state
equations in standard notation. We will begin in vectormatrix form.
d x1 a11
=
dt x2 a21
a12 x1 b1
u
+
a22 x2 b2
x1 a11 a12 x1 b1
u
=
+
t x2 a21 a22 x2 b2
472
Next, multiply both sides by t and distribute the finite difference operator, , onto the elements of the state vector.
We have a set of finite difference equations for the two state
variables in vector-matrix form.
x1 a11
x = a
2 21
Start
Input values
N, t end , a11, a12, a21, a22
b1, b2, x1(1), x2(1), u(n)
a12 x1
b
t + 1 ut
a22 x2
b2
Expand the vector-matrix notation into a set of two simultaneous finite difference equations, in order to write the MATLAB code.
Change the notation and express Eqs.8.10 with the characters available on a standard keyboard, without or subscripts. Rename the variables, x1 x1, x1 Dx1, x2 x 2,
and x2 Dx 2. Rewrite the coefficients without subscripts, as a11 a11 and b1 b1 Use the vector index, n,
and the parenthetical notation for a vector subscript used
in MATLAB to rename the variables and coefficients of
Eqs.8.10:
(8.10)
n=1
(8.11)
(8.12)
t(1)=0
Increment counter
n=n+1
No
n=N?
Yes
Plot results
Finish
(8.13)
The flowchart of the second-order program is Fig.8.5.
The following is the MATLAB code of the Euler method
solver for a second-order system with the state equations and
parameters of the spring-mass-damper system.
%Euler Method, Second-order system,
%spring-mass-damper
N = 2000 % Number of steps
Fig. 8.5 Flowchart of the Euler method algorithm solution for a twostate system
100
80
()
473
60
Viscosity 40
20
10
15
20
v1g 2
Fb = bv1g = A 0 v1g
h
0 =
a21 = K
a22 = 0.0
% Input vector Elements
b1 = 1/M
b2 = 0.0
%Initial values of the state variables
x1(1) = 0.0 % Velocity v1g
x2(1) = 0.0 % Force FK
u = 10.0 % Input step magnitude
T = t_end/N % Time step
t(1) = 0.0 % Initial value of time vector
for n = 1:N;
Dx1 = (a11*x1(n) + a12*x2(n) + b1*u)*T;
Dx2 = (a21*x1(n) + a22*x2(n) + b2*u)*T;
x1(n+1)= Dx1 + x1(n);
x2(n+1)= Dx2 + x2(n);
t(n+1) = n*T;
end;
plot(t,x1,t,x2)
N sec
0.2
2 m 2
m
sec
=
2
0.01 m
0.00002 m
1
Fb = bv1g
v1g 2
Fb = 0 A v1g
h
52
A 0 5
v1g
Fb = 0 A 3 = 3 v1g 2
h 2 h 2
yielding
A 5
0
Fb = 3 v1g 2
2
h
Fb = bN .L.v1g 2
where
b=
A 0
3
h2
( ) = 0 2
3
2
0 = 6.3 10 7 kg m 2 sec 2
b v1g
A h
v1g 2
b = A 0
h
v1g
1
1
b
= v1g
FK +
F
M
M
M
t
FK
= Kv1g
t
3
(8.14)
v1g
1
=
M
t
We will derive a power law viscosity, such that the damping force for the linear damper with damping coefficient
b = 0.2 N sec/m and the power law damper have the same
FK
= Kv1g
t
A 5 1
1
3 0 v1g2
FK +
F
M
M
2
h
474
1
M
v1g =
A 5 1
1
3 0 v1g2
FK +
F t
M
M
2
x = x x
FK = Kv1g t
Our second-order state equation solver is written in terms of
coefficients, ar,c, and state variables, x1 and x2. Hence,
1 A
a11 = 3 0
M 2
h
x2 = ( a21 x1 + a22 x2 + b2 u ) t
(8.15)
( ) = 0
3
2
5
2
( )
x = x
and
x ( +1) = x x
5
x1 = a11 x1 2 + a12 x2 + b1u t
=x x
A
Fb = 3 0 v1g v1g
2
h
3
2
(8.16)
and
x1 = a11 x1 x1
3
2
+ a12 x2 + b1u t
(8.17)
x2 = a 21 x1 + a 22 x2 + b2 u t
The syntax of the absolute value function is abs(x), where x
can be a real number, complex number, variable, or function.
In this case, we take the absolute value of an element of a
vector.
MATLAB code for the Euler method solver for a secondorder system with the power law viscosity follows:
% Second-order system with power law viscosity
% Euler Method state equation solver
N = 2000 % number of steps
t_end = 40.0 % duration of simulation
% Parameter values
M = 3.0 % Mass
K = 1.0 % Spring constant
mu = 6.3*10^-9 % Viscosity
h = 0.02*10^-3 % Height
% Coefficient matrix elements
a11 = (-1/M)*(mu/h^(3/2))
a12 = -1/M
a21 = K
a22 = 0.0
% Input vector elements
b1 = 1/M
b2 = 0.0
% Initial values of state variables
x1(1) = 0.0 % mass velocity v1g
x2(1) = 0.0 % Force acting through spring
%
u = 10.0 % step input F
T = t_end/N % time step
t(1) = 0.0 % initial value of time vector
% Difference equation loop
for n = 1:N;
dx1 = (a11*x1(n) (abs(x1(n))^(3/2)) + a12*x2(n)
+ b1*u)*T;
Kinetic Friction
475
Friction
Force
FC
Static Friction
Velocity
Fig. 8.7 Static and kinetic Coulomb friction model. FC is the maximum value of static Coulomb friction
(8.18)
476
v(n)
F + FK Fsum
FN
s
k
477
Function Coulomb
v(n), Fsum ,FN , s , k
Yes
No
Calculate kinetic
Coulomb friction
FC = -k FN sign(v(n))
FC >= |Fsum|
Yes
No
FC = -Fsum
FC = -sign(Fsum) FC
%
% If the absolute value of the velocity is greater than
% the zero limit then calculate the kinetic Coulomb
% friction, else calculate the static Coulomb friction
%
if (abs(V) > vZeroLimit);
Fc = -mu_k*Fn*sign(V);
else;
%
% Calculate the static Coulomb Friction
%
Fc = mu_s*Fn;
478
v1g
1
1
b
= v1g
FK +
F
M
M
M
t
FK
= Kv1g
t
We see that the Coulomb friction force, FC, can be included in a state equation for the velocity of the mass, either as
an additional term with the coefficient, 1/M, or summed
with either the spring force, FK, or the input force, F. The
v1g
FK + ( Fc + F ) t
M
M
M
FK = Kv1g t
v1g =
479
for n = 1:N;
V = x1(n); %Current mass velocity
Fsum = x2(n) + u; %Net force w/o Coulomb friction
% Function call
Fc = Coulomb(V,Fsum,Fn,mu_s,mu_k);
% Euler Algorithm
Dx1 = (a11*x1(n) + a12*x2(n) + b1*(Fc + u))*T;
Dx2 = (a21*x1(n) + a22*x2(n) + b2*u)*T;
x1(n+1)= Dx1 + x1(n);
x2(n+1)= Dx2 + x2(n);
t(n+1) = n*T;
end;
plot(t,x1,t,x2)
f
g
g 2 = a 21 x1 (n) + 1 + a 22 x2 (n) + 1 + b 2 u T
2
2
g
f
2
2
vn +1 = vn +
vn
t
t
(8.19)
(a
(a
)
x ( n) + b u ) T
11 1
x (n) + a 22
21 1
f
g
2
2
f
g
g3 = a 21 x1 (n) + 2 + a 22 x2 (n) + 2 + b 2 u T
2
2
f4 =
g4 =
( a ( x ( n) + f ) + a ( x ( n) + g ) + b u ) T
( a ( x ( n) + f ) + a ( x ( n) + g ) + b u ) T
11
21
x1 (n + 1) = x1 (n) +
12
22
( f1 + 2 f 2 + 2 f3 + f 4 )
6
( g + 2 g 2 + 2 g3 + g 4 )
x (n + 1) = x (n) + 1
2
480
f1 =
g1 =
h1 =
(a
(a
(a
11 1
)
x ( n) + b u ) T
21 1
x (n) + a 32 x2 (n) + a 33
31 1
h1
f
g
2
2
2
h1
f
g
2
2
2
h1
f
g
2
2
2
h2
f
g
2
2
2
h2
f
g
2
2
2
h2
f
g
2
2
2
f4 =
g4 =
h4 =
(a
(a
(a
(
) )
( x ( n) + h ) + b u ) T
( x ( n) + h ) + b u ) T
11
21
( x1 (n) + f 3 ) + a 22 ( x2 (n) + g3 ) + a 23
31
( x1 (n) + f 3 ) + a 32 ( x2 (n) + g3 ) + a 33
x1 (n + 1) = x1 (n) +
x2 (n + 1) = x2 (n) +
x3 (n + 1) = x3 (n) +
(f
+ 2 f 2 + 2 f3 + f 4 )
6
( g1 + 2 g 2 + 2 g3 + g 4 )
(h
6
1
+ 2h 2 + 2h 3 + h 4
6
)
%
f1 = (a11*x1(n) + a12*x2(n) + a13*x3(n) + b1*u)*T;
g1 = (a21*x1(n) + a22*x2(n) + a23*x3(n) + b2*u)*T;
h1 = (a31*x1(n) + a32*x2(n) + a33*x3(n) + b3*u)*T;
%
f2 = (a11*(x1(n)+f1/2) + a12*(x2(n)+g1/2)
+ a13*(x3(n)+h1/2) + b1*u)*T;
g2 = (a21*(x1(n)+f1/2) + a22*(x2(n)+g1/2)
+ a23*(x3(n)+h1/2) + b2*u)*T;
h2 = (a31*(x1(n)+f1/2) + a32*(x2(n)+g1/2)
+ a33*(x3(n)+h1/2) + b3*u)*T
%
f3 = (a11*(x1(n)+f2/2) + a12*(x2(n)+g2/2)
+ a13*(x3(n)+h2/2) + b1*u)*T;
g3 = (a21*(x1(n)+f2/2) + a22*(x2(n)+g2/2)
+ a23*(x3(n)+h2/2) + b2*u)*T;
20
Euler
The system equation relating the input force to the velocity of the mass is
Runge-Kutta
15
v1g
481
10
5
1 d F d 2 v b dv K
= 2 +
+ v
M dt
M dt M
dt
FK
Euler
Runge-Kutta
and the system equation relating the input force to the force
carried by the spring is
0
-5
N=2000
20
40
60
80
t, sec
d 2 FK
K
b d FK K
F=
+
+
FK
2
M
M dt
M
dt
100
Fig. 8.9 Comparison of the Euler, RungeKutta methods and analytical calculations. The RungeKutta results were indistinguishable from
the analytical results whereas the error between the Euler and analytical
results increased as the calculation progressed
h3 = (a31*(x1(n)+f2/2) + a32*(x2(n)+g2/2)
+ a33*(x3(n)+h2/2) + b3*u)*T;
%
f4 = (a11*(x1(n)+f3) + a12*(x2(n)+g3)
+ a13*(x3(n)+h3) + b1*u)*T;
g4 = (a21*(x1(n)+f3) + a22*(x2(n)+g3)
+ a23*(x3(n)+h3) + b2*u)*T;
h4 = (a31*(x1(n)+f3) + a32*(x2(n)+g3)
+ a33*(x3(n)+h3) + b3*u)*T;
%
x1(n+1)= x1(n)+(f1+2*f2+2*f3+f4)/6;
x2(n+1)= x2(n)+(g1+2*g2+2*g3+g4)/6;
x3(n+1)= x3(n)+(h1+2*h2+2*h3+h4)/6;
%
t(n+1) = n*T;
end;
8 N sec
v1g if 6.4 v1g 6.4
6.4 m
27 8 N sec
(8.20)
Fb = 8 N +
v1g if 6.4 < v1g
10
6.4
m
27 8 N sec
v1g if v1g < 6.4
8 N
10 6.4 m
Fb = A0 /h 2 v1g v1g 2.
b Piece-wise continuous
approximation of the power
law damping superposed on the
trace of a with inflection points
at v1g = 6.4 m/sec, Fb = 8 N
and v1g = 6.4 m/sec, Fb = 8 N
b 27
20
20
Fb
0
N
Fb
0
N
-8
-20
-10
-5
m
v1g, ___
sec
10
-20
-27
-10
-6.4
-5
m
v1g, ___
sec
6.4
10
482
Fig. 8.11 a Saturation limits the
damper force, Eq.8.21. b Clipping truncates voltage measurement, Eq.8.21
b
20
Fb
0
N
v(t) 0
VDC
-20
-4
-2
-10
-5
m
v1g, ___
sec
-6
10
t,sec
a
20
20
p12
0
MPa
T 0
N m
-20
-20
-0.01
-0.005
m3
Q, ___
sec
0.005
0.01
-2
-1
rad
1g , ___
sec
N sec
m
Fb =
v
m
25 N 1g if v1g > 7
sec
v1g
v(t ) =
v(t )
5.0 VDC v(t ) if v(t ) > 5 VDC
(8.21)
(8.22)
483
a
20
20
p12
0
MPa
T 0
N m
-20
-20
-0.01
-0.005
m3
Q, ___
sec
0.005
0.01
-2
-1
rad
1g , ___
sec
484
Fig. 8.14 RungeKutta algorithm within a for-end loop. The
input value and state variable
dependent parameter values
are calculated at the top of the
loop, before the RungeKutta
algorithm. At the bottom of the
loop, after the state variables are
updated, velocities are integrated to displacements and state
variables are overwritten if they
exceed limits
Initialize variables
Calculate value of the input u.
Determine state variable dependent
parameter values.
for n=1:2000
f1=(a11*x1(n)+a12*x2(n)+a13*x3(n)+b1*u)*T;
g1=(a21*x1(n)+a22*x2(n)+a23*x3(n)+b2*u)*T;
h1=(a31*x1(n)+a32*x2(n)+a33*x3(n)+b3*u)*T;
f2=(a11*(x1(n)+f1/2)+a12*(x2(n)+g1/2)+a13*(x3(n)+h1/2)+b1*u)*T;
g2=(a21*(x1(n)+f1/2)+a22*(x2(n)+g1/2)+a23*(x3(n)+h1/2)+b2*u)*T;
h2=(a31*(x1(n)+f1/2)+a32*(x2(n)+g1/2)+a33*(x3(n)+h1/2)+b3*u)*T;
Runge
Kutta
Algorithm
f3=(a11*(x1(n)+f2/2)+a12*(x2(n)+g2/2)+a13*(x3(n)+h2/2)+b1*u)*T;
g3=(a21*(x1(n)+f2/2)+a22*(x2(n)+g2/2)+a23*(x3(n)+h2/2)+b2*u)*T;
h3=(a31*(x1(n)+f2/2)+a32*(x2(n)+g2/2)+a33*(x3(n)+h2/2)+b3*u)*T;
f4=(a11*(x1(n)+f3)+a12*(x2(n)+g3)+a13*(x3(n)+h3)+b1*u)*T;
g4=(a21*(x1(n)+f3)+a22*(x2(n)+g3)+a23*(x3(n)+h3)+b2*u)*T;
h4=(a31*(x1(n)+f3)+a32*(x2(n)+g3)+a33*(x3(n)+h3)+b3*u)*T;
f=(1/6)*(f1+2*f2+2*f3+f4);
g=(1/6)*(g1+2*g2+2*g3+g4);
h=(1/6)*(h1+2*h2+2*h3+h4);
x1(n+1)=f+x1(n);
x2(n+1)=g+x2(n);
x3(n+1)=h+x3(n);
t(n+1) = n*T;
end;
v1g(n+1) + v1g(n)
x1g = _____________ T
2
v1g (n)
m
___
sec
n-2
T n-1 T
T n+1
Step Number
Fig. 8.15 Trapezoidal integration of velocity v1g to displacement x1g.
The n+1 value of v1g was just calculated by the RungeKutta algorithm
and will be the n value when the for-end loop is iterated
Trapezoidal integration of state variables, which are velocities, occurs at the bottom of the for-end loop, after the
RungeKutta algorithm and the update of the state variables
from their x(n) values to their x(n+1) values.
Summary
Finite difference methods are necessary to solve non-linear
system equations. State equations are solved using finite
difference methods in all cases. The state-space representation is particularly convenient for non-linear dynamic
systems. The Euler method was the first method of finite
differences and remains the simplest. The RungeKutta
Problems
485
Flywheel
Rotational Inertia J
Compliant Shaft
Torsional Spring K
Fluid Coupling
Damping b
Angular Velocity
Input (t)
Fig. P8.1 A rotational mechanical system
Problems
Problem 8.1 The rotational system shown schematically in
Fig.P8.1 comprises an angular velocity input driving a fluid
coupling attached to a compliant shaft modeled as a spring.
The compliant shaft drives a flywheel with mass moment
of inertia J. Two sets of parameters, Case I and Case II, are
tabulated.
Table P8.1 Parameter values
J
Case I
Case II
Case I
Case II
x,v
F(t)
20
Fb
N 0
M
K
Frictionless rollers
-20
-10
-5
m
v1g, ___
sec
10
486
R1 is a check valve.
Permits flow only in
this direction.
P(t)
R1
L
D
Pump
vent to
atmosphere
R1
R2
v(t)
Fluid
Reservoir
2,000
p(t)
psi
1,000
10
R2
t, sec
20
30
8.2.d For the linear Cases I and II, calculate the systems
eigenvalues. If the system is underdamped, determine
the ideal, undamped natural frequency n, the damped
natural frequency d, and the damping ratio .
8.2.e Write a MATLAB program to solve the linear state
equations using the RungeKutta algorithm for a step
input of 10N. Assume that the system was de-energized at time t=0. Include the code to solve the output equations and plot their responses. Run your code
using the parameter values for Cases I and II.
8.2.f Save your MATLAB script to a different file name
and edit the script to include the non-linear behavior
of the dashpot. Run your program for the same input
and parameter values as part e.
Problem 8.3 The fluid system shown schematically in
Fig.8.3a consists of a fluid power unit, modeled as a pressure source, two fluid resistances R1=100 MPasec/m3
and R2=200 MPasec/m3, a long run of piping, modeled
as a fluid inertance, I=40107 kg/m4 and a fluid accumulator (capacitance), C=6108m3/Pa. The system will be
modeled twice, a linear and a non-linear model. In the linear
model, the fluid resistance R1 has a constant resistance and
allows flow in both directions. In the non-linear model, the
fluid resistance R1 is a check valve which only allows flow
in the direction shown. The fluid resistance in the forward
direction is the same as the linear case.
8.3.a Derive the state equations for this system.
Problems
487
Anode = Positive
The band on physical
diode and the bar on
the schematic symbol
indicate the cathode.
+
iD
-
Cathode = Negative
10
5
v(t)
0
VDC
-5
0.05
0.1
0.15
t, msec
-10
30
20
iD
A 10
-
0
-0.5
0.5
vD , VDC
1.0
1.5
To be
To be
calculated calculated
10
N m sec
rad
b2
20
N m sec
rad
There is one significant difference between the two systems. The spur gears of System I can be driven by either
the torque source or the output shaft, K. However, the worm
gears of System II can only be driven by the torque source. A
worm drive is self-locking. It cannot be driven by its output shaft on the worm gear, only the input shaft on the worm.
The angular velocity of the pinion in System I need not
have the same sign as the torque applied by the torque source.
However, the angular velocity cannot have the opposite sign
of the torque from the torque source. The angular velocity of
the worm in System II can be of the same sign as the torque
applied by the torque source or zero.
The spur gears are counter-rotating. Consequently, the angular velocities of the two shafts have opposite signs. We are
free to define the signs for the rotation of the input and output
shafts of the worm drive. For convenience, we will define the
sense of rotation of the input and output shafts to have opposite signs to correspond to therotation of the spur gear system.
8.5.a Derive the state equations for Systems I and II.
488
Fig. P8.5a System I spur gear
drive
Bearings,Negligible
damping
Pinion, Negligible
Inertia
T(t)
Torque
Source
Load
Inertia J 2
Torsional Shaft
Spring Constant, K
Bearings
Damping b1
Bearings
Negligible
damping
Worm Gear
Inertia J 1
Worm
Negligible
Inertia
Load
Inertia J2
Torsional Shaft
Spring Constant, K
Bearings
Damping b1
Bearings
Damping b 2
T(t)
Bearings
Damping b2
Gear
Inertia J1
Torque
Source
1 in
T(t)
N m
10
4 in 2 in
32 in 36 in
t, sec
Section A-A
Problems
489
x,v
K
F(t)
b2
b1
M1
F(t)
N
M2
10
20
t, sec
40
20
Fb2
N
b1
b2
Case I
1.0
2.0
1.0
0.1
2.0
Case II
0.2
0.4
1.0
0.1
0.2
-20
-10
-5
m
v2g, ___
sec
10
490
x,v
K2
F(t)
K1
Problem 8.8 The schematic of an electric circuit with a voltage source, two inductors, two capacitors, a resistor, and a
diode is shown in Fig.P8.8a.
Lubricating fluid
Damping b
L2
L1
D
C1
v(t)
C2
zero, i.e. the spring is in contact with but not attached to the
mass, and (2) the gap equals half the steady-state displacement of the mass under the load of 1,000 N. There are two
sets of parameters, Case I and Case II.
Table P8.7 Parameter values
M
K1
K2
Case I
50
10,000
20,000
60
Case II
50
20,000
10,000
60
8.7.a Derive the state equations for this system using Kequiv
as the spring constant.
8.7.b Derive the output equations for:
i The velocity of the mass M.
ii The force acting through spring K.
8.7.c Express the state and output equations in matrix form.
8.7.d For the linear configuration, calculate the systems
eigenvalues for the parameter values of Cases I and
II. If the system is underdamped, determine the ideal,
undamped natural frequency n, the damped natural
frequency d, and the damping ratio .
8.7.f Write a MATLAB program to solve the linear state
equations using the RungeKutta algorithm for a step
input force F(t)=1,000 N us(t). Assume the system is
at rest and relaxed before the input acts on the system.
Solve the output equations for the parameter values of
Cases I and II and plot their responses.
C1
C2
L1
L2
1 F
2 F
3 H
4 H
2W
Diodes conduct current only in the direction that the triangle of their symbol points Fig.8.8b. This is a diodes forward direction. Diodes have a threshold voltage which varies with the material and design of the diode. A typical silicon
diode has threshold voltage of 0.63 VDC before it conducts
in the forward direction, Fig.8.8c. An actual diodes voltagecurrent plot is similar to Fig.8.8c. The small increase
in resistance to the forward conduction with increased current is usually neglected and the diode modeled as having the
threshold voltage drop but no additional resistance.
The system will be modeled in two configurations, a linear configuration without the diode, and a non-linear configuration with the diode.
8.8.a Derive the state equations for the linear system and
check their units.
8.8.b Derive output equations for the following variables of
the linear system.
i The voltage across capacitor C1.
ii The voltage across capacitor C2.
iii The current through inductor L1.
iv The current through inductor L2.
v The voltage across inductor L1.
vi The voltage across inductor L2.
vii The current through resistor R.
8.8.c Write the state equations and output equations in vector-matrix form.
8.8.d Calculate the linear systems eigenvalues. If the system is underdamped, determine the ideal, undamped
natural frequency n, the damped natural frequency
d, and the damping ratio .
The system is initially de-energized before the voltage
pulse shown in Fig.P8.8d was applied.
8.8.e Write a MATLAB program to solve the linear state
equations using the RungeKutta algorithm for the
voltage pulse input shown in Fig.P8.8d. Include
the code to solve the output equations and plot their
responses.
Problems
491
Anode = Positive
The band on physical
diode and the bar on
the schematic symbol
indicate the cathode.
+
iD
-
Cathode = Negative
30
20
iD
A 10
0
-0.5
10
0.5
vD , VDC
-5
1.5
x
1
1.0
y,v
v(t)
0
VDC
t, millisec
-10
Fig. P8.9b Support positioned under the beam at distance x from the
wall and a gap d from the bottom of the beam when it is unloaded and
at rest
Youngs modulus E
Density
Width b
M
L
x =
Fx 2
(3L x )
6 EI
wh3
12
492
Fig. P8.10a Electromechanical
system with a compliant shaft
belt slip
Electrical Resistance R
Compliant Shaft
Torsion Spring K1
Flywheel 1
Rotational Inertia J 1
Bearings Damping b1
DC Electric Motor
Torque constant K T
Flywheel 2
Rotational Inertia J 2
Bearings Damping b 2
vsurface
Slack
1g
K2
n+1
Taut
2g
Taut
Driving
Pulley
n-1
vsurface
Driven
Pulley
vsurface
g
Fig. P8.10c Linear graph representing a compliant belt as a translational spring between two rotational to translational transducer interfaces.
Slack
Driving
Pulley
vsurface
2g
Driven
Pulley
n+2
1g
KT
J2
b2
5 kgm2
Nm
A
N m sec
rad
K1
800
J1
Nm
rad
b1
6 kgm2 1 N m sec
rad
K2
8,000
Nm
rad
Chapter 8 Appendix
Chapter 8 Appendix
Introduction to Programming and MATLAB
Why study computer programming, if engineering software
is available? Further, the sophisticated computer programs
used in engineering design and analysis are enormous. They
often required teams of programmers and years to develop.
What can an individual engineer and novice computer programmer accomplish of value? Fortunately, one does not
need to be an expert programmer to write useful computer
programs. A little knowledge of computer programming
goes a long way.
Competent engineers must be able to write simple computer programs for data acquisition and reduction, as well
as design computations. It is helpful to know some common
programming syntax and techniques, since they appear in
many user interfaces. An understanding of the fundamentals
of computer programming is important to maximize the utility of most engineering software. Most engineering software
packages allow the user to write either macros or scripts,
which are short programs, to automate repetitive processes
or iterative computations.
Computers are not only an important tool in the design
process. Microprocessors are now widely used as embedded controllers in machines. Microprocessors are microcomputers which contain the central processing unit (or
CPU which performs arithmetic and logical operations on
data), memory, and input and output devices on a single chip.
493
494
Chapter 8 Appendix
495
Discrete (as opposed to integrated) transistors and magnetic core memory took the place of vacuum tubes in the
1950s. Core memory was the dominant form of computer
memory in the late 1950s through the early 1970s, and is
still used in a few military and aerospace applications for
its reliability in extreme conditions. Core memory is a rectangular grid of orthogonal wires with tiny rings, or cores,
of a ferromagnetic material at the intersections. Currents
through two wires magnetize the core at their intersection in either a clockwise or counter-clockwise direction,
depending on the direction of the currents. The direction
of magnetic flux in the core is defined as 0 or 1. Discrete
memory was replaced by integrated circuits, beginning in
the late 1960s. The density of integrated circuits, as measured by the number of transistors per unit area, has approximately doubled every two years.
n = N 1
n = 8 1
2n = 2 N 1
n=0
= 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27
n=0
= 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 = 255 = 2 N 1
496
The number of words which can be addressed by a 16-bit binary number is 216 1 = 65, 536 1 = 65, 53510. Sixteen-digit
binary numbers are difficult to work with. The hexadecimal
equivalent is used instead.
11111111111111112 = FFFF16
A common notation for addressing a bit within a byte or
a word is to number the bits from the least significant bit
(LSB), to most significant bit (MSB). For example, the bit
addresses in a 16-bit word range from 0 for the LSB, to F for
the MSB expressed in hexadecimal.
The bit number is appended to the word address after a
dot. For example, the address of the MSB in the 16-bit word
with the address, 352A, is 352A.F. The bit address, 352A.F,
is not a binary fraction. It is an address code. The dot is not
a radix. It is just a dot.
16
22 23
24
0.01 0.001 0.0001
1
1
1
16
4
8
The place values for the first 16 binary digits to the left of
the radix, expressed as decimal numbers, are
Table A8.3 Binary place values from 215 to 20
215
214
213
212
211
210
32,768 16,384 8,192 4,096 2,048 1,024
27
26
25
24
23
22
128
64
32
16
8
4
29
512
21
2
28
256
20
1
Octal (base 8) was used to address memory in early computers which had very little memory. Programmable logic
controllers (PLCs) still use octal (base 8) for addressing
memory, because they need relatively little.
Table A8.4 Octal place values from 87 to 80
87
86
85
84
83
82
81
80
2,097,152
64
8-Bit Byte
8-Bit Byte
0.1
262,144
32,768
4,096
512
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Hexadecimal 0 1 2 3 4 5 6 7 8 9 A
10
Chapter 8 Appendix
497
Base Conversion
24
23
22
21
Dividend
Divisor
Division possible?
Binary Digits
Remainder
Binary Place Values
Dividend
Divisor
Division possible?
Binary Digits
Remainder
15.8
16
No
0
15.8
21
0.8
0.5
Yes
1
0.3
15.8
8
Yes
1
7.8
22
0.3
0.25
Yes
1
0.05
7.8
4
Yes
1
3.8
23
0.05
0.125
No
0
0.05
3.8
2
Yes
1
1.8
24
0.05
0.0625
No
0
0.05
Base 10 Divisors
Value of 97810 in Octal
84
4,096
0
83
512
1
82
64
7
81
8
2
80
1
2
The result is 97810=17228. The method of successive division always works, but is not necessary when one is converting between number systems that are powers of a common
base, such as binary (base 2=21), octal (base 8=23), or hexadecimal (base 16=24). There is a shortcut.
Numbers can be converted among binary, octal, and hexadecimal by exploiting the power relationship between the bases.
Compare the place values of binary, octal, and hexadecimal:
%LQDU\3ODFH9DOXHV
HWF
47.810 = 101111.11002
2FWDO3ODFH9DOXHV
+H[DGHFLPDO3ODFH9DOXHV
498
The relationship between the nth octal place value and the
corresponding binary place value is 8n=(2n)3. Similarly,
the relationship between the nth hexadecimal place value,
and the binary place value is 16n=(2n)4. Consequently,
it requires three binary digits, or places, to represent an
octal number, and four binary digits to represent a hexadecimal number. The shortcut is to convert the number to
the common base, binary in this case, and then to either
octal or hexadecimal base, by separating the binary number into groups of three or four binary digits, respectively,
and converting the binary group into a single digit in the
higher base.
Example. Express the decimal number, 935, in binary,
octal, and hexadecimal. Base 10 does not share a common
base with base 2, base 8, or base 16. The conversion from
decimal to binary must be accomplished by successive division, as above. Summarizing the result, the binary value of
93510 is
Likewise, we can convert from binary to hexadecimal, by
dividing the binary number into blocks of four digits. Sum
them to yield their hexadecimal value.
Now, convert from binary to hexadecimal:
$
{ $
Chapter 8 Appendix
499
1
0
1
5
6
2
5
= +
+
+
+
+
= 0.015625
64 10 100 1, 000 10, 000 100, 000 1, 000, 000
However, beware, it does not work the other way. Most natural decimal fractions cannot be expressed exactly as binary
fractions! For example, we can approximate 1
10 10 as
1
1
1
1
1
1
16 + 32 < 10 < 16 + 32 + 64
10
10
10
10
10
10
0.0001102 < 0.110 < 0.0001112
0.0937510 < 0.110 < 0.10937510
Note additional binary places do not solve the problem. Also,
binary fractions may appear smaller than their corresponding
decimal fractions, but they are not.
Example. Suppose you have a timer, timing by one hundredth of a second by summing the equivalent binary fraction. How much error would you accumulate in an hour?
First, we have to choose our binary fraction approximation
of
1
10010
1
1
1
1
<
<
+
12810 10010 12810 25610
0.007812510 < 0.0110 < 0.01171875010
0.0000000102 < 0.0110 < 0.000000112
Both available approximations have substantial error:
0.007812510 0.0110 = 0.00218750010
0.01171875010 0.0110 = 0.00171875010
ignorance of the magnitude of the error, in converting between natural decimal fractions and natural binary fractions.
These errors could have been prevented by using natural binary fractions, which can be converted to decimal fractions
exactly.
Data Types
The binary numbers used for word addresses are positive binary integers. How does a computer store negative binary integers or real binary numbers, i.e., binary fractions? Also,
how are large numbers, those greater than 2N1, stored?
They are coded, and in order for a computer to manipulate
numerical data, it must know the coding, known as the data
type, associated with the data, in a specific word (or words)
in memory. Some languages will assume a default data type,
if the programmer does not declare a variable to be a certain data type. Other languages will not compile a program,
if all variables used are not declared and assigned initial values. The discussion that follows is general, since the specific
term used for a generic data type, and the number of bits
associated with it, varies with both computer and programming languages.
sec error
counts sec min
sec error
0.00171875010
100
60
60
= 618.75
count
sec
min
hour
hour
500
(MSB) to 1, to indicate a negative number. Negative numbers are stored in twos complement form. Twos complement form is created in two steps. First, every bit in the number, except the sign bit, is inverted. If a bit is 0, then it is
changed to 1. If a bit is 1, then it is changed to 0. Next, the
number, 1, is added to the number.
Example. Create the twos complement of the binary
number, 1101011, by using a 16-bit word.
Sign bit (MSB) set to 1, followed by the binary number,
1101011:
1000000001101011
Bits 0 through E are inverted:
1111111110010100
One is added to create the twos complement:
1111111110010101
We will test the usefulness of twos complement by performing the addition, 1101011+1101011, which should yield
zero:
1111111110010101 Two s complement of 1101011
+ 0000000001101011
0000000000000000
501
True
False
Fig. A8.3 The standard
diamond-shaped decision block
No
n > 10 ?
Yes
Enter Loop
Instructions for
actions or computations
Logic Loop
An important use of a decision block is to form a loop, per
Fig.A8.5. A loop is a logical path that passes through the
same blocks more than once. Loops are used for repetitive
calculations. The instructions within the loop are executed
repeatedly, either for a fixed number of times, or until a logical condition is satisfied. If the programmer errs and neglects
to create an exit condition, or creates an exit condition that
is impossible to satisfy, then the logic is trapped in an endless loop.
Nested Loops
It is common to use nested loops with one loop inside another, Fig.A8.6. Each loop has a counter variable. The inner
loops counter variable must complete its index through its
range for the outer loops counter variable to index once
nested loop are useful for working with arrays and matrices.
No
Done ?
Yes
Exit Loop
ones own use. There are two rules, which must be respected
for the flowchart to be logical.
1. There can only be one logic path leaving a block, except
decision (diamond) blocks which have Yes and No or
True and False paths.
2. Branching can only occur at a decision block.
The following are a few guidelines which will eliminate errors and improve the readability of flowcharts.
1. Every block in the diagram should be on at least one logical path from the Start block to the Finish block. If a block
cannot be reached from the Start block, then the instructions in that block will never execute. If the path from a
block does not eventually reach the Finish block, then the
logic will never properly terminate. A common error is to
terminate a path at a result or action, other than Finish.
502
Enter Outer Loop
of the Nested Loops
Instructions for
actions or computations
Instructions for
actions or computations
Enter Inner Loop
Instructions for
actions or computations
Instructions for
actions or computations
Instructions for
actions or computations
Inner
Loop Tasks
Done ?
Start
Yes
Exit Inner Loop
Instructions for
actions or computations
Instructions for
actions or computations
No
Outer
Loop Tasks
Done ?
Instructions for
actions or computations
No
Conditonal
True ?
Yes
Yes
Instructions for
actions or computations
Finish
MATLAB
503
Fig. A8.9 a Two branches entering one block, logical but can
be difficult to read. b Preferred
flowchart. Flow merges at a
node before entering the block
Instructions for
actions or computations
Instructions for
actions or computations
Instructions for
actions or computations
Instructions for
actions or computations
Instructions for
actions or computations
Instructions for
actions or computations
Start
Instructions for
actions or computations
Instructions for
actions or computations
Instructions for
actions or computations
Instructions for
actions or computations
No
Yes
Fig. A8.10 Flowchart with upside down flow: logical, but difficult to
read and, therefore, error prone
MATLAB
Modern programming languages provide an environment,
which is a desktop and a set of windows. The menu, Desktop, contains items which allow you to open needed windows. We will use the Command window and the Editor
window. MATLAB retains the configuration of the environment when the program is closed, and returns to that con-
No
n == 10 ?
Yes
Finish
MATLAB Environment
The MATLAB environment includes the Command window, the Editor window, and the Help window, among others.
The Editor is well hidden. MATLABs Editor opens, when
504
Start
No
n == 10 ?
Yes
Finish
Variables
MATLAB does not require variables to be declared, meaning the types of data assigned to variables do not have to
be identified before they are used. Integer and floating point
variables are identified by their use. Integer variables are assigned integer values, i.e., numbers without a decimal point.
MATLAB
505
Many computer languages will not allow you to use a logical variable in a numerical calculation. MATLAB is more
forgiving. Type
PDVV
0$7/$%HFKRHV\RXULQSXWDV
MATLAB was written to facilitate vector-matrix mathematics. MATLAB does not require the user to declare a variable
as a scalar, vector, matrix, or an array. Scalar, vectors, and
matrices have their conventional mathematical definitions,
based on the number of elements and the number of rows
and/or columns. Arrays resemble vectors and matrices, as
both comprise elements in rows, columns, or both rows and
columns. MATLAB distinguishes between matrices and arrays by the way one can operate on them. Matrix operators
obey the rules of linear algebra. Array operators operate element by element.
The following assignment statement creates a vector or an
array. Important: Note the use of square brackets!
!!PDVV
PDVV
An assignment statement assigns the value of the right side
to the variable named on the left side. Assignment statements
are not equations! Typing the statement in the reverse order
(capitalizing the M in Mass to make it a different variable)
produces an error.
0DVV
MATLAB thought you tried to name a variable, 3.5. This
violates two of its rules: (1) variable names must start with a
letter, and (2) the only permissible non-alphanumeric character is an underscore. Periods, points, or dots are not permitted in variable names.
Variables can be assigned strings of characters. Characters or strings of characters are identified by pairs of single quotes. Example: type the following valid assignment
statement
$ (QWURS\URFNV
Note how MATLAB color-codes the input as you are typing.
When you type the lead single quote, MATLAB highlights
the single quote and the following characters in dark red,
until the closing single quote is typed. It then changes the
color to purple to indicate the expression is complete.
Logical variables are defined by assigning a value of either true or false to the variable. MATLAB recognizes true
as equivalent to the Boolean value 1, and false as equivalent
to the Boolean value 0. When you type
D WUXH
& DPDVV
and you will find the result is 4.5000.
9 >@
Note spaces separate the elements within brackets. Alternatively, the elements within brackets can be separated by commas, or by a mixture of commas and spaces.
0 >@
Is echoed to the screen as:
!!0
Individual elements can be addressed using row and column
subscripts within parentheses. Example: The element, 7, is in
the second row and third column of the matrix (or array), M4.
!!9
DQV
MATLAB echoes
D
506
MATLAB is very tolerant with vector-matrix mathematics. It will execute operations which are not defined in linear
algebra, by interpreting your vectors and matrices as arrays.
For example, in conventional vector-matrix mathematics, if
b is a scalar, and B is a row vector, e.g.,
E
and
% >@
then the sum
& E%
is not defined. MATLAB, however, will execute this statement and echo
Description
Addition
Subtraction
.*
Array multiplication
./
.\
Unary plus
Unary minus
Colon operator
.^
Array power
Transpose
Matrix multiplication
Matrix power
&
MATLAB has a type of array, called a cell array, to handle
non-numerical data. It refers to the element of an array as a
cell. The assignment statement for an array uses braces
(which MATLAB refers to redundantly as curly braces).
The assignment statement
*BFHOOBDUUD\ ^WZRWKUHHIRXU`
is echoed as
*BFHOOBDUUD\
WZR
WKUHH
IRXU
Note the individual cell data are maintained. Contrast this
result with a conventional array, defined by the use of square
brackets, containing the same data. The assignment statement
*BDUUD\ >
WZR
WKUHH
IRXU
@
is echoed as
*BFHOO
WZRWKUHHIRXU
Operators
All programming languages provide at least three different types of operators: arithmetic, relational, and logical.
Arithmetic operators are used in computations. Relational
operators are used to define conditions to control the flow
of a programs execution. Logical operators are used for
Boolean logic.
Arithmetic Operators
Operators and the symbols used for operators vary tremendously across programming languages. The only operators,
whose meaning will not waver, are the arithmetic operators
for multiplication, division, addition, subtraction, as long as
they are used as binary operators (with two operands), as
they were in elementary school. Many operators, other than
dear Aunt Sally, are included in a programming language.
The set of operators varies with the intended application of
the language. For example, languages developed to program
webpage applications will have operators to parse through
strings of character data. MATLAB was written for scientific
and engineering computation, so it has more mathematical
operators than most languages.
Symbols to represent operations were limited to those on
the computer keyboard. Consequently, operators are represented by combinations of symbols that made sense to the
programmer, but do not follow any convention and vary
widely between languages. For example, exponentiation of
a to the b power, ab, is represented as the function pow(a,b)
in C, a**b in Python and FORTRAN, and a^b in MATLAB.
We will use these arithmetic operators in MATLAB: the
elementary school arithmetic operators of multiplication,
division, addition, subtraction; the unary plus and minus
operators (which are simply the plus and minus signs); and
exponentiation. The complete set of arithmetic operators is
presented in Table A8.6.
This set requires some explanation. MATLAB uses the
terms, matrix operations and array operations, to distinguish between conventional linear algebra operations performed with vectors and matrices from those operations not
defined in linear algebra, which are performed with two arrays of the same size and shape, or on an array and a scalar.
MATLAB
507
b11 b12
and B =
b21 b22
Array Multiplication:
a11b11 a12b12
A. * B =
a21b21 a22b22
Subtraction
Yes
.*
Array Multiplication
No
./
Array Right Division
No
.\
Array Left Division
No
+
Unary Plus
Yes
Unary Minus
Yes
Colon Operator
No
.^
Array Power
No
.
Transpose
Yes
a12
b12
a22
b22
c11 c 21
C. = c12 c 22
c12 c 22
MATLAB recognizes both i and j as imaginary numbers
when a complex number is entered as
or
z = 2 + 3i
b12
a12
b22
a22
z = 2 + 3j
]
L
Array Power:
a b11
A. ^B = 11b21
a
21
a12b12
a22b22
c12
c 22
!!D
and MATLAB will echo
D
In this case, the variable, a, is now a vector or an array. The
fifth element is
!!D
DQV
508
!!E
yields two values: the initial value and one increment. The
second increment would exceed the upper limit of the series
E
MATLAB includes two odd operators, Matrix Right Division and Matrix Left Division. Matrix division is NOT defined in linear algebra. The matrix division implemented
in MATLAB is a shortcut for matrix inversion. Although matrix division may be advantageous in some circumstances,
it is better to use matrix inversion.
Relational Operators
A computer languages arithmetic operators are used for
crunching numbers. The languages relational operators are
used to compare the values of variables. The operators allow
a computer to think, by branching the flow of the execution on the outcome of relational expressions. Relational operators produce a result that is a Boolean, or logical, value,
i.e., either true or false. For example, if A and B are numbers,
then the answer to the question, Is A greater than B? must
be either true or false.
MATLABs relational operators are given in TableA8.8.
Table A8.8 MATLABs relational operators
<
>
<=
>=
==
~=
Less than
Greater than
Less than or equal to
Greater than or Equal to
Equal
Not equal
Logical Variables
Boolean logic is performed in MATLAB using logical
variables which are defined or created by assigning them a
logical value of either true or false. Note that true and false
are lowercase. Numerical data can be converted to logical
values with the function logical(). If the argument is positive, the result is true. If the argument is negative or zero, the
result is false.
Logical Operators
MATLAB provides the three fundamental Boolean operations, And, Or, and Not, in two forms, as operators and as
functions.
Table A8.9 MATLABs logical operators
Logical operation
Equivalent function
A&B
A|B
~A
and(A, B)
or(A, B)
not(A)
A&B
A|B
~A
MATLAB
509
Assignment Statements
A program is a list of instructions coded in the programming
languages syntax. It is important to recognize that program
statements are not equations. For example, the following assignment statement in the flowcharts Figs.A8.12 and A8.13
is a valid statement in all computer languages, even though it
is not a valid equation, except in Boolean algebra
Q Q
else Statement
The else instruction is used to divide the block of instructions between an if statement and its corresponding end
statement into two blocks. The first block is executed, if the
conditional statement is true. The second block is executed,
if the conditional statement is false. Example:
Q
510
elseif Statement
The elseif instruction is a second conditional statement
that follows an if statement. It is executed only when the
conditional statement of the if statement is false. Example:
while Loop
A while loop uses a conditional statement to control the repeated execution of a block of code. The structure of a while
loop resembles an if statement.
while (expression A Relational Operator expression B)
Instructions
Instructions
Instructions
end
The while loop differs from the if statement, in that the block
of instructions of an if statement are executed only once,
if the conditional statement is true. The block of code in a
while statement is executed repeatedly, as long as the conditional statement remains true. It is possible to code an infinite loop. If you ever need to interrupt the execution of a
MATLAB program, type CTRL+C simultaneously.
The following code with a while loop executes the computation flow charted above.
n=1
while (n ~= 10)
y = n^2
n=n+1
end
for Loop
A for loop is a block of code which executes for a fixed
number of times. The number of executions is controlled by
giving a counter variable a range, using the colon operator.
The block of code which executes repeatedly is demarcated
with the key word, end. A MATLAB for loop has the following form:
$
MATLAB
1
WBHQG
D
E
[
X
7 WBHQG1
W
ZKLOH1!Q
'[Q D
[Q7E
X
7
[Q '[Q[Q
WQ Q
7
Q Q
HQG
SORWW[
Comments
It is essential to include comments in a computer program
to describe the algorithm and identify variables. Comments
serve to document the program and make it easier to read.
Comments must be distinguished from the programs code.
It seems every language uses a different symbol to identify
a comment. MATLAB uses the percent sign, %. MATLAB
will ignore all characters which follow a % on the same line.
Comments may be included on the same line as a program
instruction, or on a separate line. Example:
% This is a comment.
A = B + C % This is a comment following code.
Compare readability of the m-file code for the spring-massdamper system above, with the m-file with comments below.
Commented script for the spring-mass-damper system
state equations.
% Second order system state equation solver
%
N = 2000
% number of steps
t_end = 100.0 % duration of simulation
%
%
Parameter values
M = 3.0
K = 1.0
B = 0.2
%
Coefficient matrix elements
a11 = -B/M
a12 = -1/M
a21 = K
a22 = 0.0
511
%
Input matrix elements
b1 = 1/M
b2 = 0.0
%
Initial values of state variables
%
x1(1) = 0.0 % mass velocity v1g
x2(1) = 0.0 % Force acting through spring FK
%
u = 10.0
% step input F
T = t_end/N % time step
t(1) = 0.0
% initial element of time vector
%
%
Difference equation loop
for n = 1:N;
Dx1 = (a11*x1(n) + a12*x2(n) + b1*u)*T;
Dx2 = (a21*x1(n) + a22*x2(n) + b2*u)*T;
x1(n+1)= Dx1 + x1(n);
x2(n+1)= Dx2 + x2(n);
t(n+1) = n*T;
end;
%
plot(t,x1,t,x2)
plot Statement
The MATLAB command to create an xy plot is
SORW[\
where x and y are column vectors, or one-dimensional arrays
of equal length. Multiple plots can be created using the same
axes, by adding x, y pairs
SORW[\[\
If you wish to plot two output variables, y1 and y2, against
the same independent variable, t, then you must repeat the
independent variable in each x, y pair
SORWW\W\
512
The following MATLAB code yields only the last plot, the
plot of x3 vs. y3, because the figure created by the first plot
would be reused twice.
SORW[\
SORW[\
SORW[\
The command figure creates a graphic object. The following
MATLAB code would yield three new plots numbered successively from 1, each time the code was run. Run the code
four times, and a total of 12 plots would be created and stay
open.
ILJXUH
SORW[\
ILJXUH
SORW[\
ILJXUH
SORW[\
There are two methods to limit the number of figures created
by successive runs of the same code. One method is to use
the close command, prior to the figure command. The command, close all, will close all open figures.
FORVHDOO
ILJXUH
SORW[\
ILJXUH
SORW[\
ILJXUH
SORW[\
The second method is to identify the figure with a handle,
which, in our case, is a number. This is done by adding the figure number to the command, as an argument within parentheses. The following code creates the plot of x1 vs. y1 on figure
number1. If figure number 1 does not exist, the command, plot
(x1,y1), creates it. If figure number 1 does exist, then the command, plot (x1,y1), will wipe it clean and reuse it.
ILJXUH
SORW[\
ILJXUH
SORW[\
ILJXUH
SORW[\
Labeling Plots
If you are going to plot multiple figures, you must title them
to identify them. A plots axes should be labeled to identify
the variables and units.
WLWOH
3UREOHPH6SXU*HDU6\VWHP
[ODEHO
WLPHVHFRQGV
\ODEHO
6KDIW7RUTXHQHZWRQV
Formatting Plots
There are various symbols, line types, and line colors available in MATLAB. They are selected by adding arguments
to the plot(x, y) command after the pair of vectors. See
TableA8.13. The default is a solid, black, thin (0.5) line. Formatting the line type, color, and width is particularly helpful
when there are multiple plots (traces) on a figure. Line type
formats are coded graphically; solid is '_', dashed is '', dotted is ':', and dot-dash is '.'. Black is k, blue is b, red is
r, and green is g. The following code draws plots of a
dashed, blue line with a width of 2. Note the use of single
quotes around b and LineWidth.
SORW[\
E
/LQH:LGWK
Color is assigned with a color letter code in single quotes.
The colors are cyan, magenta, yellow, black, red, green,
blue, and white. The line width is specified by LineWidth
in single quotes and without a space between the words, followed by a comma and a number indicating the width before
the plot command. Examples:
figure(1)
plot(rkt,rkx1,'k','LineWidth',2)
title('Problem 8.5.e, Worm Gear System')
xlabel('time, seconds')
ylabel('Angular Velocity of Gear, rad/sec')
%
figure(2)
plot(rkt,rkx2,':','b','LineWidth',2)
title('Problem 8.5.e, Worm Gear System')
xlabel('time, seconds')
ylabel('Angular Velocity of Load, rad/sec')
%
figure(3)
plot(rkt,rkx3,'-.','r','LineWidth',2)
title('Problem 8.5.e, Worm Gear System')
xlabel('time, seconds')
ylabel('Shaft Torque, newtons')
MATLAB
Table A8.13 MATLABs line type, color, and marker format codes
Line-type format Code Line marker format code
Solid line (default) +
Plus sign
-- Dashed line
o
Circle
:
Dotted line
*
Asterisk
. Dash-dot line
.
Point
Line Color Format
x
Cross
Code
r Red
square or s
Square
g Green
diamond or d Diamond
b Blue
^
Upward-pointing triangle
c Cyan
V
Downward-pointing
triangle
m Magenta
>
Right-pointing triangle
y Yellow
<
Left-pointing triangle
k Black
pentagram
Five-pointed star
or p
(pentagram)
w White
hexagram
Six-pointed star
or h
(hexagram)
513
Concatenation of Arrays
Concatenation is the operation of joining arrays to create
a new array. It is easiest to understand the operation through
illustration. Starting with arrays A and B, where
A=
a11 a12
a21 a22
and
B=
b11 b12
b21 b22
a12
a22
b12
b22
or
D=
a11 a12
a21 a22
b11 b12
b21 b22
and
D = cat ( 2,A,B )
514
and
D = horzcat ( A,B )
5?6\VWHPV?GDWDILOH[OV
The syntax for creating Excel worksheet file and writing to
it is
[OVZULWHFRPSOHWHILOHSDWKDUUD\WREHZULWWHQ
where array to be written is the variable name of the array.
Example: Say you plot the result of a RungeKutta simulation, and wish to save it as a Microsoft Excel worksheet
file. The plot() function requires vectors holding the x data,
time in our case, and y data, say force F. We will concatenate these data into a two-dimensional array, name the array,
plot_output, and write the data as an Excel worksheet file to
a flash drive R with the following code.
SORWW)
SORWRXWSXW KRU]FDWW)
[OVZULWH
5?0(?UHVXOWV[OV
SORWBRXWSXW
MATLAB
Fig. A8.13 fprintf function, annotated
to show the association of format strings
and data
515
ILG IRSHQ
/DEB5.B/LQBW[W
Z
The command to write a line of two formatted data to an
open file is
fprintf(File_Variable_Name,'format format new line',
data 1,data 2);
The command fprintf() stands for File Print Formatted.
The syntax MATLAB uses to format data is literally from
the 1960s. All of the formatting information is between two
single quotes. A format string begins with a percent sign,
%, to indicate what follows is the format code. There must
be as many format strings as there are data. The first format
string formats the first datum. The second format string formats the second datum. Note there are no commas between
format strings, just a space, while the data variables are separated by commas.
An example is
ISULQWIILG
II?Q
UNWNNUN[NN
The first number following the percent sign is the maximum number of numbers to be written. This is the field
width. It will be padded with blanks to the left of the most
significant digit. Next, there is a decimal point followed by
a number. The number after the decimal point, called the
precision, is the number of digits to be written after the
decimal point. The format string ends with a letter called
a conversion character, which specifies the notation the
number is to written in. We will use either f to mean fixed
(
(
A common error is to use too narrow a field width. Remember that the field width includes the spaces between the data
also, unless those are added as a text string, or with a\t, for
tab, which are control characters.
The formatting information ends with control characters which date from the 1930s and teletypes. Two useful
control characters, when written to a file, are \n, which commands a new line and \r, which commands a carriage return.
Closing the file is the easy part. The command is
IFORVH)LOHB9DULDEOHB1DPH
Forgetting to close a file means it cannot be opened and read.
If you can access the file you created, check to see if you
closed the file in your code.
The following is MATLAB code which writes the arrays,
rkt and rkx1, to the file, Lab3_RK_Lin_09172014.txt.
fid = fopen('Lab3_RK_Lin_09172014.txt','w');
for kk=1:N;
fprintf(fid,'%8.4f %12.8f \n',rkt(kk),rkx1(kk));
end
fclose(fid);
516
model = K*wn^2/(s^2+2*z*wn*s+wn^2);
%
% Retain the previous plot with the next.
%
hold on
% Calculate the unit impulse of the model at the
% times in the vector time. Assign the model
% response to the variable modelResponse.
% Assigning the output of impulse( ) to a variable is
% necessary to format the plot in code. This is also
% true for the functions step( ) and rlocus( ).
%
modelResponse = impulse(model,time);
%
% The formatting string is '-k'. "-" means a solid line.
% "k" stands for black. The remaining attributes
% are set as pairs of 'attribute name', attribute value.
% Here 'LineWidth' is set to 2.
%
plot(time,modelResponse,'-k','LineWidth',2);
%
% The axes labels and the plot title are assigned
% after the plot is created.
%
xlabel('time, seconds');
ylabel('volts, VDC');
title('RLC Circuit Data vs. Model');
517
1.5
volts, VDC
0.5
-0.5
-1
0.5
1.5
2.5
3
-5
3.5
time, seconds x 10
Fig. A8.14 Plot created by Program Lab 0 RLC Discharge Data and
Model
wn = 6.293E5
z = 0.258
K = 3.29E-6
%
% Define "s" to be a transfer function in order to use
% s as the Laplace variable.
%
s = tf('s')
%
% Assign the transfer function to the variable "model".
%
model = K*wn^2/(s^2+2*z*wn*s+wn^2);
%
% Calculate the unit impulse of the model at the
% times in the vector time.
%
modelResponse = impulse(model,time);
%
% Determine the number of elements in the observed
% response data.
%
N = length(time)
%
% Calculate the time step dt.
%
dt = time(2) - time(1)
%
% Preallocate vectors for the variables to be
% calculated in the for loop. The function zeros( )
% creates a vector or array of the size needed
% and fills it with zeros. Preallocation speeds
% execution of the program.
%
error = zeros(1, N);
intError = zeros(1, N);
intAbsError = zeros(1, N);
intSqError = zeros(1, N);
%
% MATLABs lowest vector or array index is 1, not 0.
% Backward- looking recursive
% calculations cannot start with the index 1, since
% they would look back to the non-existent index
% value of 0. Calculate the first value of the error
% and integrals of the error, absolute value of the
% error, and of the error squared before the for end
%loop.
%
error(1) = modelResponse(1)-data(1);
intError(1)= error(1)*dt;
intAbsError(1)= abs(error(1))*dt;
intSqError(1)= error(1)*error(1)*dt;
%
% The for end loop uses backward-looking
% recursion to calculate the remaining values.
%
for i = 2 N;
error(i) = modelResponse(i) - data(i);
intError(i) = intError(i-1) + error(i)*dt;
intAbsError(i) = intAbsError(i-1) + abs(error(i))*dt;
intSqError(i) = intSqError(i-1) + error(i)*error(i)*dt;
end;
%
% A variables name followed by the Enter key is the
% MATLAB command to evaluate and display the
% result. We can display a result on the screen
% without format by entering the variable or elements
% name. To make our results more readable, we
% use the fprintf( ) function write to a file, but we omit
% the File_Variable_Name aka fid. When the fid is
% omitted, MATLAB interprets the function fprintf( )
% as a command to write to the screen.
%
fprintf('\nThe integral of the error
= %12.6E\n',intError(N))
%
% The syntax to continue a command onto the next
% line is three dots
%
fprintf('The integral of the absolute value of the ...
error = %12.6E\n',intAbsError(N))
%
fprintf('The integral of the error squared ...
= %12.6E\n',intSqError(N))
Abstract
Transfer functions are inputoutput relationships in the Laplace-domain. They are multiplicative operators. Multiplying a transfer function by the Laplace transform of an input variable yields the corresponding output variable. A block diagram represents inputoutput relationships graphically. The operators are contained within rectangular blocks. The input
and output variables, or signals, are the lines which connect blocks. Block diagrams can
combine transfer functions representing mathematical operations, such as differentiation,
with transfer functions created from system equations, to predict the response of systems
created by interconnection. Feedback loops allow calculation of the difference between
the commanded value and the response of the system, which is termed the error signal,
and is the basis of feedback control. The s-plane is a complex plane, in which the real and
imaginary axes are the components of the eigenvalues of a system. The association between
regions of the s-plane with the homogeneous response of a system allows the s-plane to be
used as a graphical design tool.
Output F (t )
=
= K Operator
Input
x(t )
(9.2)
Output F (t )
=
= K{
Input
x(t )
} Operator
K. A. Seeler, System Dynamics, DOI 10.1007/978-1-4614-9152-1_9, Springer Science+Business Media New York 2014
(9.3)
519
520
K{
} 1, 000
u 1 (t ) + 0.00254
u 2 (t )
0.305
m
ft
in
N
m
N
m
= 1, 000 0.305
u 1 (t ) + 1, 000
0.00254
u 2 (t )
m
ft
m
in
1, 000
N
m
} Operator
Example: where [u (t ) ] = [ m ] :
0.224
L {1 N} = 0.224 lb
and
Output
x(t )
m
=
= 0.305 = F {
Input
x ft (t )
ft
} Operator
F {1 ft} = 0.305 m
Output
x(t )
m
=
= 0.00254 = I {
Input
xin (t )
in
These linear operators possess one more important property, that of inversion, where the inverse of an operator is
indicated by the exponent, 1. For example, the inverse of
1
linear operator F { } is F { } . The property of inversion is
defined as
} Operator
Linear operators have associative, distributive, and commutative properties. To review these properties
Associative property: A ( B C ) = ( A B) C
Distributive property: A ( B + C ) = A B + A C
Commutative property: A B = B A
G{
{ {
N
1, 000
m
N
u (t ) = u (t )
m
Output
=3
Input
Example: where [u (t ) ] = [ m ] :
H{
lb
m
N
0.305 1, 000
u (t )
N
ft
m
d
dt
Then
lb
m
N
N
ft
m
Distributive property:
H {G {u (t )}} =
d
(3u (t )) = y (t )
dt
and
G { H {u (t )}} = 3
}} = K {F {u (t )}} + K {I {u (t )}}
K F u1 (t ) + I u 2 (t )
1, 000
Associative property:
L F ( K {u (t )})
(9.4)
K 1 {K {u (t )}} =
{ { } {
F { F {u (t )}} = u (t )
1
I {1 in} = 0.00254 m
0.224
N
N
lb
lb
1, 000 u (t ) = 1, 000 0.224 u (t ).
N
m
m
N
du (t )
= y (t )
dt
521
b0
d
du (t )
(3u (t )) = 3
dt
dt
d 2u
2 + b1
dt
du
L dt + b L {u}
2
d 2y
+ a1
2
dy
L dt + a L { y}
L dt
= a0
b0 s 2U ( s ) + b1 sU ( s ) + b2U ( s ) = a 0 s 2Y ( s ) + a1 sY ( s ) + a 2Y ( s ) .
2. Factor out the transformed input and output variables
(b s
0
+ b1 s + b2 U ( s ) = a 0 s 2 + a1 s + a 2 Y ( s )
m x(t ) + b = y (t )
2
Output ( s ) Y ( s ) b0 s + b1 s + b2
=
=
Input ( s ) U ( s ) a 0 s 2 + a1 s + a 2
m 2 x(t ) + b 2 y (t )
This equation of a straight line also does not yield an operator which is the ratio of output y(t) over input x(t)
Output y (t ) mu (t ) + b
b
=
=
= m+
Operator
Input
x(t )
x(t )
x(t )
A straight line which does not pass through the origin is referred to as incrementally linear, Sect.4.2.4.1.
d 2y
dy
d 2u
du
b
u
a
+
b
+
=
+ a1
+ a2 y
1
2
0
2
2
dt
dt
dt
dt
d 2u
du
+ b 2u = L
b 0 2 + b1
dt
dt
d 2y
dy
+ a 2 y
a 0 2 + a 1
dt
dt
(9.5)
A transfer function is a linear operator in the Laplacedomain. The numerator polynomial contains the operations performed on the input, transformed into the Laplacedomain, where the Laplace variable, s, assumes the role of
differentiation, with respect to time in the time-domain. Correspondingly, the denominator polynomial, a 0 s 2 + a1 s + a 2,
contains the operations performed on the output variable in
the differential equation. Note it is also the characteristic
function of the differential equation. Setting the characteristic function equal to zero forms the characteristic equation of
the differential equation
a 0 s 2 + a1 s + a 2 = 0
(9.6)
A transfer function is an unusual function, because it is used
in two very different ways. A transfer function can be evaluated as a conventional function by assigning a value to its
argument, s = + jw . Transfer functions are complex functions, meaning, in the general case, the argument, s, and the
output are complex numbers.
The second manner of using a transfer function is as a
dynamic operator. Rather than substituting the input function into the time-domain differential equation, the Laplacedomain transfer function acts as an inputoutput relationship, when multiplied by the Laplace transformation of the
input function. A transfer function is a multiplicative operator in the Laplace-domain. Multiplying a transfer function by
the Laplace transform of input function yields the Laplace
transform of the output (response) function.
Refer to the relationship between the displacement and
force of a spring, F (t ) = Kx(t ) . If we rearrange this as a ratio
of output F(t) over input x(t), we have the form of a transfer
function
F (t ) = Kx (t )
F (t )
=K
x (t )
522
F (t )
x (t )
= K 3sin ( 2t )
F (t ) = K 3sin ( 2t )
L {F (t )} = L {Kx (t )}
F (s)
X (s)
F ( s ) = KX ( s )
=K
L dt = L {Ax + Bu}
L {y} = L {Cx + Du}
The Laplace transform is a linear operator and, as such, can
be manipulated as if it were a multiplicative constant. It can
be distributed to each term in a vector or matrix, in the same
manner that it is distributed to each term in a summation
dx
L dt = L {Ax} + L {Bu}
L {y} = L {Cx} + L {Du}
dx
= Ax + Bu
dt
L dt = AL {x} + BL {u}
y = Cx + Du
dx
( s A ) X( s) = BU( s)
Y( s ) = CX( s ) + DU( s )
We can now substitute for the transformed state vector X(s)
in the output equation
Y( s ) = C ( sI A ) BU( s ) + DU( s )
1
(s A)
which is the difference between the scalar variable s and the
matrix A. That operation is not defined. This term cannot be
evaluated. The mathematical insight is that we may pre- and
post-multiply any vector or matrix we wish by the identity
matrix, I, without changing the equation. If we pre-multiply
the transformed state vector, X(s), in the first term on the
left side
sIX( s ) AX( s ) = BU( s )
We have changed the equation no more than if we were to
have multiplied a term in a scalar equation by the scalar identity, the number one. However, we are now able to factor out
the transformed state vector, X(s)
( sI A ) X( s) = BU( s)
(9.7)
( sI A )
( sI A )1 ( sI A ) X( s) = ( sI A )1 BU( s)
v1g = LC
d 2 v3 g
dt
dx
= Ax + Bu
dt
dt
+ v3 g
d
dt
iL L
=
v
3g 1
C
1
i
1
L L
+
L v
v3 g
0
0
0
iC 1
0
i 1
0
0
R
iL
i = 1
0 + 0 v
v3 g
0 0
v12 R
v23 R 1
1
X( s ) = ( sI A ) BU( s )
1
1 0 L
sI A = s
0 1 1
C
dv3 g
yielding
+ RC
M 1 =
X( s ) = ( sI A ) BU( s )
(9.8)
y = Cx + Du
Y ( s ) = C ( sI A ) B + D U ( s )
523
1
R
s 0 L
L
=
0 s 1
0
R
1
s +
L
L
=
1
0
C
1
L
524
( sI A )
R 1
s + L L
cof
1
T
s
sI A ]
C
[
=
=
R 1
sI A
s+
L L
1
s
(9.10)
v3 g H (t ) = A1e s1t + A2 e s2t
The homogeneous solution represents the natural response
of the system to a disturbance which transfers energy to the
system.
The transfer function, Eq.9.10, formed from the Laplace
transform of the differential system, Eq.9.8, contains the operators from the output variable side of the differential equation as the denominator polynomial
1
L
s+
R
R
1
1 1
sI A = s + s = s 2 + s +
L C
LC
L
L
This expression is a second-order polynomial in s. It is, in
fact, the characteristic function of the system, which we can
verify by comparing to the characteristic function of the
RLC circuit we derive from the second-order system equation. Taking the Laplace transform of both side and neglecting the initial condition terms,
v1g = LC
d 2 v3 g
dt
L {v } = L LC
1g
L {v } = L
1g
+ RC
d 2 v3 g
dt
d 2 v3 g
LC
+
dt 2
dv3 g
dt
+ RC
L RC
+ v3 g
+ v3 g
dt
dv3 g
dv3 g
+
dt
L {v }
3g
V1g ( s ) = s 2 + s +
(9.9)
V3 g ( s )
L
LC
LC
What does it mean to have the characteristic function of the
system in the denominator of ( sI A) 1? Recall from the
Method of Undetermined Coefficients, Sect.2.5, when the
characteristic function of a system is set equal to zero, it is
the systems characteristic equation. The roots of the characteristic equation are the eigenvalues of the system. They are
Output ( s ) V3 g ( s )
=
=
Input ( s ) V1g ( s )
1
LC
R
1
s2 + s +
L
LC
(9.11)
Hence, the denominator of a transfer function is the characteristic function of the system.
Although the state-space representation of a dynamic system
is quite different from the same system represented as a higherorder differential equation, both mathematical representations
must contain the same physical information. From a mathematical perspective, invariant quantities do not change, when
we manipulate our mathematical representations. In dynamic
systems, the eigenvalues, or roots of the characteristic equation, and the corresponding eigenvectors, the set of orthogonal
vectors which correspond to the eigenvalues, do not change,
when we manipulate the mathematical representation, because
they have physical meaning. They are, respectively, the decay
rate and initial magnitude of the natural response of a system.
Turning to the calculation of the cofactor of ( sI A) , recall the cofactor of a matrix is created by forming the minor
or submatrix, by deleting the row, sI A, and column of an
element, calculating the determinant of the minor, and substituting it in place of the element, Sect.7.5. Calculation of
the cofactor of a two by two matrix requires use of the special case of the determinant of a single element, since there
is only one element remaining in the matrix, when we drop
the row and column containing our target. Recall the determinant of a single element is defined as that element. Also,
recall the elements of the cofactor of a matrix are multiplied
by ( 1)( r + c ) = ( 1)(i + j ) . Hence,
R
s + L
cof ( sI A ) = cof
1
C
(1+1)
s
( 1)
cof ( sI A ) =
( 2 +1) 1
( 1)
L
1
L
1
C
R
( 1)(2+ 2) s +
L
( 1)(1+ 2)
cof ( sI A )
s
=
1
L
s
C
=
R
1
s+
C
L
L {y } = L
( sI A )1
525
R 1
s + L L
cof
1
T
s
[ sI A ] = C
=
R 1
sI A
s+
L L
1
s
C
L {u} = L {v}
1
1
s
s
L
C
1 s + R
1 s + R
L
L = C
= L
R
R
1
1
2
2
s + s+
s + s+
L
LC
L
LC
Y ( s ) = C ( sI A ) B + D U ( s )
1
U (s) = V (s)
L
0
IC (s) 1
I (s) 1
1
R
0
+
s
R
C
L
I ( s ) = 1
0
1
2 R
0 s + s+
V12 ( s ) R
L
LC
V23 ( s ) R 1
0
0
1
L + 0 V ( s )
0 0
1
I C (s)
I (s)
R
Y( s) = I ( s)
V12 ( s )
V23 ( s )
( sI A )1
iC
iR
i
v
12
v23
(9.12)
0
IC (s)
1
I (s)
1
0 s
R
1
I (s) =
1
0
s2 + R s + 1
1
0
R
V12 ( s )
L
LC
C
V23 ( s )
R 1
0
1
1 0
L
L + 0 V (s)
R
s + 0 0
IC ( s)
s
I ( s)
R
1
s
I ( s) =
s2 + R s + 1
V12 ( s )
L
LC
Rs
V23 ( s )
1
Rs
L
1 0
1
L + 0 V ( s )
L
0 0
R
1
L
R
R
s+
L
L
526
0
IC (s)
s
I ( s)
L
0
R
1
1
I ( s) =
+ 0 V ( s )
s
L
s2 + R s + 1
0
V12 ( s)
L
LC
R
1
s
V23 ( s)
1
s
LC
L
2 R
Ls + s +
L
LC
L s2 + R s + 1
L
LC
I
s
(
)
0
C
I (s)
s
0
R
I ( s ) = L s 2 + R s + 1 + 0 V ( s )
L
LC
0
V12 ( s )
Rs
V23 ( s )
1
R
1
Ls + s +
L
LC
R
1
L
LC
1
2 R
s + L s + LC
R
1
L s2 + s +
L
LC
1
2 R
L s + L s + LC
IC (s)
I ( s)
s
I ( s ) = L s 2 + R s + 1 V ( s )
L
LC
V12 ( s )
Rs
V23 ( s )
1
2 R
L s + L s + LC
R
1
L s LC
+ 1
s2 + R s + 1
L
LC
R
1
L s2 + s +
L
LC
IC (s)
s
V ( s)
L s2 + R s + 1
I R ( s )
L
LC
V ( s)
I ( s) 2 R
1
= Ls + s +
L
LC
V ( s)
V12 ( s )
Rs
V ( s) L s 2 + R s + 1
V ( s )
L
LC
23
V ( s ) R s 1
L
LC
+ 1
s2 + R s + 1
L
LC
527
b
Input
Linear Output
Operator
9.3.1 A Block
The simplest block diagram contains a single block with
one line entering the block, the input signal, labeled U(s),
and one line exiting the block, the output signal, labeled Y.
The operator in the block is identified by the letter, G(s),
but does not need to be a function of the Laplace variable,
s. G(s) can be a constant. Since transfer functions are linear
operators, they can be used in block diagrams. Depending
on circumstances, we may choose to name the transfer function, Eq.9.13, G(s); express it as Y(s)/U(s), or as a ratio of
polynomials in s.
b0 s 2 + b1 s + b2
Y (s)
(9.13)
G (s) =
U (s)
a 0 s 2 + a1 s + a 2
The functional relationship represented by the block diagram
Fig.9.1b is expressed symbolically as
U(s)
G(s)
Y(s)
G {U ( s )} = Y ( s )
The output signal of the block can be labeled as a variable
(signal), Y(s), as the result of operation on the input, G {U ( s )},
or, with both terms, as an equation, G {U ( s )} = Y ( s ). The
only use of an equal sign on a block diagram is to indicate a
signal has two names.
Because linear operators can be manipulated algebraically, as if they were constant factors, we will simplify and
clarify our notation by omitting the braces, {}, which we
used in Sect.9.1.1. We may indicate a linear operator is operating on a quantity, by using the same notation as one does
for multiplication. For example, the distributive property expressed in Sect.9.1.1 as
{ { } { }} = K {F {u (t )}} + K {I {u (t )}}
K F u 1 (t ) + I u 2 (t )
K FU 1 ( s ) + I U 2 ( s ) = KFU 1 ( s ) + KI U 2 ( s )
We may also omit the independent variable, s, and rely on
upper case font to identify variables in the Laplace-domain.
K ( FU1 + I U 2 ) = KFU1 + KI U 2
For convenience, we will apply the associative, distributive,
and commutative properties to combinations of signals and
operators. In other words, the variable (signal) need not be
on the right end of a term
U(s)
G(s)
Signal
W(s)
Signal
Linear
Operator
Fig. 9.3 Four equivalent block
diagrams
dv3g
dt
UG = W and WH = Y
(9.14)
UGH = Y
(9.15)
Signal
Linear
Operator
b
1
__
s
Y(s)
H(s)
v3g
dv3g
dt
GH
GH
528
dt
v3g
dt dt = u
and
d
dt
( udt ) = u
529
Input B
Signal B
+
+
Output
A+B-C
Input C
A+B
A+B-C
A-C
+
+
A-C+B
Signal B
Signal A
Input A
Signal A
b
Dot ties signals
together
Signal A
Signal A
Signal A
Signal A
530
G
A
AG
G
H
AG+AH
A
A
G
H
AG
AH
Information Flow
AG
Information Flow
AG+AH
++
AG
AH
1
__
G
A
Information Flow
AG
AG
AG
AG
++
Information Flow
AG
AH
++
AG+AH
G+H
AG+AH
531
G
H
Fig. 9.11 Negative feedback loop. Input R stands for the reference, and
output C stands for the controlled variable
Input R
Error E
Feedback CH
Output C
a
A
b
F
AF
c
F
Output
C=AF
Input
R
Error
E=R-CH
CH
Feedback
532
Fig. 9.14 Two Equivalent block
diagrams. a Block diagram of a
closed-loop negative feedback
system. b Equivalent transfer
function of the closed-loop
system
Input
R
Error
E
Control
Signal
U
G Plant
Output
C
Input
R
HSensor
CH = CH
These three equations can be reduced to yield an inputoutput relationship for the input and output signals, R and C, of
the system by eliminating the signal, E:
EG = C E =
C
G
R CH = E R CH =
G
_____
1+GH
GController
C
G
=
R 1 + GH
Control
Signal
U
G Plant
Output
C
HSensor
C
G
RG CGH = C RG = C + CGH RG = C (1 + GH )
GC .L.
Error
E
Feedback
CH
G
H
GController
Feedback
CH
(9.16)
Equation 9.16 is known as the closed-loop transfer function since it replaces the entire feedback loop.
The block diagram of Fig.9.14a is the simplest and most
condensed block diagram of a closed-loop negative feedback
system. Transfer function G represents all subsystems in the
forward path combined. A slightly expanded block diagram
is shown in Fig.9.15. Feedforward transfer function G has
been split into two transfer functions, GController and GPlant,
where plant is control jargon for the system under control.
The controller uses error signal E to produce control signal U, which drives the plant. Suppose the plant was a DC
motor running in steady-state, when the input, or reference
signal R, was increased by a step change. The difference between input R and feedback signal CH, also known as error
E, is greatest at the instant the step command is given to the
system, but before the system has responded. As motor speed
Input
R
533
Error
E
Control
Signal
U
G Plant
Output
C
HSensor
Feedback
CH
GC .L. =
KG
C
=
R 1 + KGH
(9.17)
4
s+6
1 + KGH = 0
(9.18)
C
=
R
3
s+9
b
KG
5
s+7
3
s+9
3 5 4 3
1+
+
s + 9 s + 7 s + 6 s + 9
a
R
H (s) =
C
G
=
R 1 + GH + FG
G (s) =
KG
______
1+KGH
H
Fig. 9.19 Nested feedback loops
Outer Loop
Inner Loop
534
G
_____
1+GH
3 ( s + 6) ( s + 7 )
C
= 3
2
R
s + 22 s + 159 s + 378 + (15s + 90) + (12 s + 84)
G
______
1+GH
_________
FG
______
1+
3 ( s + 6) ( s + 7 )
C
=
R s 3 + 22 s 2 + 186 s + 552
1+GH
3 ( s + 6) ( s + 7 )
C
=
R ( s + 6.42) s 2 + 15.58s + 85.98
G
_________
1+GH+FG
C ( s + 6)( s + 7 )( s + 9)
=
R ( s + 6)( s + 7 )( s + 9)
( s + 6)( s + 7)( s + 9)
( s + 6)( s + 7)( s + 9)
3
s+9
3 5 4 3
+
1+
s + 9 s + 7 s + 6 s + 9
( s + 6) ( s + 7)(3)
C
=
R ( s + 6) ( s + 7 ) ( s + 9) + ( s + 6)(3)(5) + ( s + 7 )( 4)(3)
H1
R
H2
G1
G2
++
535
H1
Branch
Point A
H2
G1
Branch
Point B
+
+
G2
Fig. 9.25 Branch Point A slid
forward through block H2 to the
right of Branch Point B
1
___
H2
Branch
Point B
H2
G1
H1
+
+
Branch
Point A
G2
Fig. 9.26 Branch Point B slid
backward through Block H2 to
the left of Branch Point A
Branch
Point B
G2
H2
G1
H1
H2
+
+
Branch
Point A
d 3y
d 2y
dy
a
+
+ a2
+ a3 y
1
3
2
dt
dt
dt
536
Fig. 9.27 A chain of integrators
yielding progressively lowerorder derivatives
d3 y
___
dt 3
d2 y
___
dt 2
1
__
s
d3 y
___
dt 3
a3 ___
d2 y
__
a0 dt 2
b3
__
a0
+_ _ _
d3 y
___
dt 3
1
__
s
d2 y
___
dt 2
1
__
s
a3
__
a0
dy
___
dt
a2 ___
dy
__
a0 dt
1
__
s
dy
___
dt
1
__
s
a2
__
a0
d2 y
___
dt 2
1
__
s
a1
__
y
a0
1
__
s
dy
___
dt
1
__
s
a1
__
a0
1
__
s
a3
__
a0
a2
__
a0
a1
__
a0
a dt 2 a dt a y
dt 3 a0
0
0
0
We integrate the highest derivative, d 3 y /dt 3 , with respect
to time to yield the second highest derivative, d 2 y /dt 2 . The
process is repeated by arranging the integrators in series,
so that the output of an integrator is the input to the next,
until the final integrators input is dy /dt and its output is
y (t ). The chain of integrators, Fig.9.27, produces the output
variable and all of its derivatives, allowing us to create the
summation.
The rule is simple: Never differentiate the output signal
or its derivative. Only integrate them. The output signals of
the integrators are then multiplied by a constant term and fed
back to the summation junction, Figs.9.28 and 9.29.
The time-domain block diagram representation of the differential equation can be used to define a set of state variables. Recall the standard form of state equations is a set of
first-order differential equations
dx
= Ax + Bu
dt
Remember that following the flow of a block diagram backward through a linear operator is equivalent to performing
the inverse operation represented in the block
State variables are defined on the block diagram, starting with the output variable. Define the output variable as
x1. The input to the final integrator is the derivative of x1 ,
dx1 /dt . This signal is given two names by also defining it
as the second state variable, x 2. Assigning two names to the
same signal creates an equation
dx1
dt
= x2
(9.19)
dy
__
dt
1
__
s
dy
__
dt
dx3
dt
1
0
a2
a0
(9.20)
dt
dx2
dt
d2 y
dt 2
1
__
s
x2 =
dx1
dt
dy
dt
1
__
s
x1
y
x1 0
x +
u
a 1 2 b 3
x3
a 0
a0
0
(9.21)
x3 =
1
__
s
d3 y
dt 3
dx1
= x2
dt
dx2
= x3
dt
a3
b3
a2
a1
dx3
= x1 x2 x3 + u
dt
a0
a0
a0
a0
0
x1
d 0
x2 =
dt a 3
x3 a
0
dt
dy
__
dt
dy
__
dt
537
b0
d 2u
d 2u
du
+ b1 2 + b 2
+ b3u
2
dt
dt
dt
d2y
d2y
dy
= a0 2 + a 1 2 + a 2
+ a3 y
dt
dt
dt
538
Fig. 9.32 Block diagram of the
summation, Eq.9.23
b2
___
a0
du
__
dt
d2 u
___
dt 2
b1
___
a0
b0
___
a0
++
+ __
d2 y
___
dt 2
a1
___
a0
dy
__
dt
a2
___
a0
b0
d 2u
dt 2
+ b1
du
d2y
dy
+ b 2 u = a0 2 + a 1
+ a 2 y (9.22)
dt
dt
dt
which we rearrange as a summation, equaling the highestorder derivative of the output variable
a1 dy a 2
d 2 y b0 d 2 u b1 du b2
= 2 +
+ u
y
2
dt
a0 dt
a0 dt a0
a0 dt a0
(9.23)
The block diagram of the differential equation is constructed
by starting with the summation junction. The output of the
summation junction is the highest-order derivative of the
output variable, Fig.9.32.
The block diagram is completed, by adding differentiators to create the derivatives of the input variable, integrators
to create the output variable, and its derivatives, Fig.9.33.
Note there are two integrator blocks in the block diagram.
The number of integrators equals the order of the differential equation. Note the input signal terms are fed forward,
and the output variable terms are fed back. Although we
can implement this block diagram, if input u(t) is a continuous, smoothly varying function which can be differentiated
numerically, that is not the preferred form. The difficulty
lies in numerical differentiation being sensitive to the size
of time step t. If the input function changes smoothly, the
approximation of its derivative can be accurate. However,
when the function changes rapidly, the size of the time step
determines the value of the derivative.
a1
___
a0
du
__
dt
d2 u
___
dt 2
b2
___
a0
b1
___
a0
b0
___
a0
++
+ __
d2 y
___
dt 2
1
__
s
dy
__
dt
a2
___
a0
1
__
s
d4y
dt
539
a0
d4y
dt
+ a1
d3y
dt
+ a2
= b0
d2y
2
dt
d 4u
dt
+ a3
+ b1
dy
+ a4 y
dt
d 3u
dt
+ b2
d 2u
dt
+ b3
du
+ b4 u
dt
The first step is to express the differential equation in standard form, by clearing the highest-order derivative of the
output variable of its coefficient.
d 4 y a1 d 3 y a2 d 2 y a3 dy a4
y=
+
+
+
+
dt 4 a0 dt 3 a0 dt 2 a0 dt a0
b d 4 u b d 3u b d 2 u b du b4
u
+
+ 0 4 + 1 3 + 2 2 + 3
a0 dt a0
a0 dt
a0 dt
a0 dt
Now, isolate the highest derivative of the output variable on
the left-hand side of the equation (or, in other words, solve
for it)
a1 d 3 y a 2 d 2 y a 3 dy a 4
d4y
=
a dt 3 a dt 2 a dt a y
dt 4
0
0
0
0
b d 4u b1 d 3u b2 d 2u b3 du b4
+ 0 4 + 3 + 2 +
+
u
a0 dt
a0 dt
a0 dt
a0 dt a0
dt dt dt dt
a 1 d 3 y a 2 d 2 y a 3 dy a4
b 0 d 4 u b1 d 3u b 2 d 2 u b 3 du b4
u dt dt dt dt
= 3 2
y+ 4 + 3 + 2 +
+
a0 dt a0
a0 dt
a0 dt
a0 dt a0
a0 dt
a0 dt
a0 dt
540
a d 3 y b d 3u
b d 4u
a d 2 y b d 2u
y = 0 4 dt dt dt dt + 1 3 + 1 3 dt dt dt dt + 2 2 + 2 2 dtdtdtdt
a0 dt
a0 dt
a0 dt
a0 dt
a0 dt
a4
a dy b3 du
b4
+ 3
+
dtdtdtdt + y + u dt dt dt dt
a0
a0
a0 dt a0 dt
Evaluate the integrations, neglecting the constants of integrations. (The integration constants represent initial condition terms, which will be satisfied when the set of state equations are solved.) All integrations will be performed on the
fourth-order derivative of the input and output variable. Only
three will be performed on the third-order derivative, leaving
one left over. Two will be performed on the second derivatives, leaving two left over, etc.
a1
b1
b
y = 0 u + y + u dt
a0
a0
a0
a2
b2
+ y + u dt
a0
a0
a3
b3
+ y + u dt dt dt
a0
a0
a
b
+ 4 y + 4 u dt dt dt dt
a
a0
0
The four integrals are terms of the input variable, and the
output variable integrated to increasing degrees. One way
to represent the flow of this calculation is to nest the
integrals. Integration proceeds from the innermost integral,
which, when evaluated, is summed with the next term. That
sum is then integrated, and the process proceeds
d4y
d3y
d2y
dy
+
a
+
a
+ a3
+ a4 y
2
1
2
3
4
dt
dt
dt
dt
d 3u
d 4u
d 2u
du
= b0 4 + b1 3 + b2 2 + b3
+ b4 u
dt
dt
dt
dt
b
y= 0u
a0
a
b1 a 2
b2
b3
b
a1
a 3
+ y + u + y + u + y + u + 4 y + 4 u dt dt dt dt
a0
a0 a0
a0
a0
a0
a0
a0
First
Integration
Second Integration
Output y
b
y = x1 + 0 u
a0
+
+
a1
b b
dx1
= x2 x1 + 0 u + 1 u
dt
a0 a0
a0
a2
b b2
dx2
= x3 x1 + 0 u + u
dt
a0 a0
a0
x1
b0
a0
1
s
a3
b b3
dx3
= x4 x1 + 0 u + u
dt
a0 a0
a0
a1
a0
+
+
dx
1
dt
a
b b
dx4
= 4 x1 + 0 u + 4 u
dt
a0
a0 a0
x2
b1
a0
a2
a0
+
+
dx2
dt
1
s
b
y = x1 + 0 u
a0
1
s
b3 a 3 b
a3
dx3
= x1 + x4 + 0 u
dt
a
0
a0 a0 a0
x4
a3
a0
dx3
dt
+
+
b1 a1 b
a1
dx1
= x1 + x2 + 0 u
dt
a0
a0 a0 a0
b2 a 2 b
a2
dx2
= x1 + x3 + 0 u
dt
a
0
a0 a0 a0
x3
b2
a0
b3
a0
541
b a b
a
dx4
= 4 x1 + 4 4 0 u
dt
a0
a0 a0 a0
a4
a0
Input u
b4
a0
dx4
dt
1
s
a1
a0
x1 a 2
d x2 a0
=
dt x3 a 3
x4 a0
a
4
a0
b1 a 1 b0
1 0 0
a0 a0 a0
x b2 a 2 b
0 1 0 1 0
x2
a0 a0 a0
+
u
x3 b 3 a 3 b0
0 0 1
x
4 a0 a0 a0
b a b
0
4 4
0 0 0
a0 a0 a0
x1
x
b
2
y = [1 0 0 0] + 0 u.
x3 a0
x4
542
Reversing the order of the state variables, which interchanges the rows and columns of coefficient matrix A, puts the
state and output equations into Observable Canonical form:
x4
1
d x3
=
dt x2
0
x1
0 0
0 0
1 0
0 1
y = [0 0 0
b4 a4 b0
a
4
a0
a0 a0 a0
a 3 x b3 a b
4 3 0
a0 a0 a0
a0 x3
+
u
a 2 x2 b 2 a2 b0
a0 x1 a0 a0 a0
a1
1 a 1 b0
a0 a0 a0
a0
x4
x
b
3
1] + 0 u
x2 a0
x1
v(t)
C
g
Energetic Equations
iR = iL
v23 = L
Energy: E system = E L + EC
diL
dt
iL = iC
iC = C
1
E L = LiL2
2
dv3 g
dt
1
2
EC = C v32g .
(7.45)
543
v
Input
1
__
L
di L
dt
dv3g
___
dt
v23
Inductor:
v23 diL
di
v23 = L L
=
(9.24)
dt
L
dt
dt
iC dv3 g
=
C
dt
iL iC = 0
iC
(9.25)
Providing signal v23 in terms of the input and the state variables requires a summation junction and a few blocks. Rearrange the compatibility equation to yield voltage v23
(9.26)
v = v12 + v23 + v3 g v v12 v3 g = v23
The input to the system is v, and v3g is a state variable. We
need to create v12 in terms of the input and the state variables.
The element equation for the resistor relates voltage v12 to
current iR
v12 = RiR
Current iR is not a state variable, but it equals the current
through the inductor iL, which is a state variable. Using the
continuity equation for node two with the element equation
for the resistor
1
__
s
iL
R
__
L
iL
1
__
C
iL
1
__
s
v3g
1
__
L
Capacitor:
dv3 g
v3g
iC = C
1
__
L
1
__
C
iL
State Variable
v3g
State Variable
di L
___
dt
v23
___
L
dv
3g
___
dt
iC
__
C
1
__
s
iL
1
__
s
v3g
Fig. 9.36 Block diagrams yielding the state variables a the current
through inductor iL, from Eq.9.24 and b The voltage across the capacitor, v3g, from Eq.9.25
iR iL = 0
v12 = RiL
yields v12 in terms of state variable iL. Substitution of this result into Eq.9.26 creates an equation for voltage v23 in terms
of the input and the state variables
v v12 v3 g = v23
The block diagram of the state equations, Fig.9.38, is created by assembling the block diagram fragments of Figs.9.36
and 9.37.
544
v12
v12
v
iL
iR
(9.28)
v3 g x1
v23
The recursion is to define the next state variable as the derivative of the previous state variable:
v3g
dv3 g
dt
Fig. 9.37 Block diagram of Eq.9.27
v1g v = LC
d 2 v3 g
dt
+ RC
dv3 g
dt
+ v3 g
(1.48)
dx1
dt
x2
(9.29)
Substituting the state variables, x1 and x2, and their derivatives into Eq.1.49 yields two equations, either
v = LC
dx1
dx2
+ RC
+ x1
dt
dt
(9.30)
or
v = LC
dx 2
dt
+ RCx2 + x1
(9.31)
v12
v12
v
(9.32)
iL
iR
v23
1
__
L
iC
1
__
C
v3g
di L
___
dt
v
23
___
L
1
__
s
iL
dv
3g
___
dt
iC
__
1
__
s
v3g
dx 2
___
dt
545
x2
1
__
s
x1
1
__
s
dx1
___
dt
+
-
dx 2
___
dt
R
___
x
L 2
Fig. 9.40 Block diagram of Eq.9.31, the state equation for x2
dt
dx 2
= x2
=
dt
v3 g = x1
R
1
1
x1 x 2 +
v
LC
L
LC
(9.33)
dx 2
dt
dt = x 2 =
dx1
(9.34)
dt
dx1
(9.35)
dt dt = x1
We will plot values of the roots of the characteristic equation, the eigenvalues of the system. Since the roots may be
complex, we will use a complex plane with the real axis,
, and the imaginary axis, j. Convention is to omit use of
the subscript, d, to indicate the frequency is the observed,
damped natural frequency of the physical system. It is understood that observed frequency would never be the ideal,
undamped, never-seen-in-nature, natural frequency, n.
Although we commonly refer to the complex plane,
it is correct to refer to a complex plane. Every complex
function is an inputoutput relationship associated with two
complex planes, one for the input and one for the output.
Complex variable s of the s-plane is the variable, introduced
when we solved system equations, using the method of undetermined coefficients. The s-plane is the plane of the roots
of the characteristic equation of a system equation. These are
the characteristic values or eigenvalues of the system. The
symbol is generally used when eigenvalues are derived
from the coefficient matrix A of the state-space representation of a system. The symbol s is used when the eigenvalues
are calculated from the characteristic equation derived from
the differential system equation or the transfer function.
In the general case, s is a complex number, s = + jw .
The values of s are the exponents of the homogeneous solution. If s is a purely real number, s=, the exponentials are
real exponentials decays. If s is a complex number, then the
homogeneous solution is underdamped and may oscillate. In
that case, the homogeneous solution is the product of a real
exponential and the sum of two exponentials with imaginary
exponents, j, which represent the oscillation.
1
x1
LC
1
x1
LC
v
Input
LC
1
v
LC
R
x2
L
dx2
dt
LC
dx1
dt
x2
s
R
x2
x1
x1
y
Output
546
We will use a second-order system with a damped, oscillatory homogeneous response as the example. The general
form of the characteristic equation is
s 2 + bs + c = 0 s 2 + 2 n s + n2 = 0
Solving the characteristic equation
(2w n )2 4w n2
b b 2 4c 2w n
=
s1 , s2 =
2
s1 , s2 =
2w n 4 2w n2 4w n2
2
2w n 2 2w n2 w n2
2
s1 , s2 = w n 2w n2 w n2
The damping ratio must be less than one for the homogeneous response to be oscillatory. This leads to complex roots
2w n2 w n2 = j 2w n2 j 2 2w n2
and yields the familiar form when
of the radical
j 2 = j is factored out
s1 , s2 = w n 2w n2 w n2 = w n
j 2w n2 j 2 2w n2
s1 , s2 = w n j w n2 2w n2 = w n jw n 1 2
Matching real and imaginary terms
s1 , s2 = j w
s1 , s2 = w n jw n
= w n
1
j w = jw n 1 2
2
G (s) =
Output b0 s 2 + b1 s + b2 K ( s + z1 )( s + z2 )
= 2
=
( s + p1 )( s + p2 )
Input
s + a1 s + a2
(9.36)
The roots are the opposites of the constants, i.e.,
s = p1 and s = p2 are the roots of the denominator, and
s = z1 and s = z2 are the roots of the numerator.
Thus far, we have used transfer functions as multiplicative operators. It is also possible to evaluate them as conventional functions by substituting a complex number for
the variable, s = + jw . The result of evaluating a complex
function for an argument is a complex number, which can be
expressed in Cartesian form, polar form, or as the product of
its magnitude and a complex exponential unit vector.
G ( s ) = G ( + jw ) = x + jy = G ( + jw ) e jG ( + jw )
(The terminology of evaluating a transfer function is awkward, because the angle of a complex number is its argument, the term used for the value operated on by a function.)
The magnitude of the transfer function, G(s), evaluated
for s = z1 or s = z2 is zero, since the magnitude of the
numerator is zero.
G ( z1 ) = G ( z2 ) = 0
However, the magnitude of the transfer function, G(s), evaluated for s = p1 or s = p2 , is infinite, since the magnitude
of the denominator is zero.
G ( p1 ) = G ( p2 ) =
The values, s = z1 or s = z2 , are called zeros of the
transfer function, G(s), since they yield zero magnitude.
The values, s = p1 and s = p2 , are called poles of G(s).
The term, pole, comes from a three dimensional plot, with
the components of s = + jw forming the two axes of a
complex plane with the magnitude of the transfer function,
547
G ( s1 ) = G ( 2 + j 2)
G ( 2 + j 2) =
-8
j4
<0
j2
-6
-4
UNSTABLE
>0
2
-2
10
-j2
-j4
-j6
Fig. 9.42 The right-half of the s-plane represents unstable systems, because the eigenvalues have a positive real component , which leads to
unbounded growth of the homogeneous, or natural, response
9.6.2Stability
352
( 2 + j 2 + 2) ( 2 + j 2 + 4) ( 2 + j 2 + 8)
G ( 2 + j 2) =
352
( j 2) ( 2 + j 2) ( 6 + j 2)
o
-10
j6
Stable
352
352
Output
= 3
=
Input
s + 14 s 2 + 56 s + 64 ( s + 2)( s + 4)( s + 8)
s-plane
Output
352
352
= 3
=
2
Input
s + 14 s + 56 s + 64 ( s + 2)( s + 4)( s + 8)
Note the increase in the magnitude of the result from 9.8 to 586,
as the value of s approaches the pole at s=2 in the negative
imaginary direction, from s1 = 2 + j 2 to s6 = 2 + j 0.05,
forms a spike in magnitude at the pole. It is easier to interpret these results graphically, rather than as a list of complex
numbers. Figure9.53a shows the transfer functions mag-
548
A
____
s+a
Input
A
____
s+a
Faster Decay
s-plane
j2
Output
-9
-8
-7
-6
-5
-4
-3
-2
-1
-j
-j2
s t
yh (t ) = A1e t e j wt + A 2 e t e j wt = e t A1e j wt + A 2 e j wt
and
dy (0+ )
= I .C.2
dt
e j + e j
2
or
sin ( ) =
e j e j
2j
Fig. 9.44 Purely real poles, s=. The distance from the imaginary axis
is the decay rate,
e a =
1
ea
f (t ) = (t ) = for t = 0
f (t ) = (t ) = 0 for t 0
F (s) = 1
yields
e t A1e j wt + A 2 e j wt = e t A sin (w t + )
Sinusoid with
amplitude A
549
A
_____________
2
s + 2ns + 2n
A
_____________
Output
s 2+ 2ns + 2n
1.0
0.8
-10t
0.6
-5t
-2t
-t
Input
0.4
0.2
0.0
t, sec
1
ea
Therefore, the more negative (i.e., further left on the negative real axis) the real component of s = + jw , the faster is
decay of the response Figs. 9.44 and 9.45. The time-domain
response, corresponding to a purely real value of s, is nonoscillatory. The relationship between the value of and the
speed (or decay rate) of the homogeneous response is illustrated with their impulse responses. Note that all of the
responses are first-order decays with the same shape, but
scaled in the time dimension. If a system is stable, its homogeneous response must decay with time. Hence
e t = e
and
s-plane
j11
j10
Increasing Frequency
Impulse Response
j9
j8
j7
j6
j5
j4
j3
j2
j
-5
-4
-3
-2
-1
Fig. 9.47 Complex eigenvalues with decay rate, =2, and increasing
frequency . Only the complex pole in the upper half-plane is shown,
of the conjugate pairs of poles
550
Impulse Response
0.8
s-plane
e-2t sin(10t)
0.6
e-2t sin(5t)
0.4
0.0
0.0
0.5
1.0
t, sec
1.5
2.0
Fig. 9.50 The s-plane, the complex plane used to plot the eigenvalues
of dynamic systems. One of a complex conjugate pair of eigenvalues
is shown
Impulse Response
1.0
e -2t
0.5
1 2
reduces n to d = n 1 2
e-2t sin(5t)
0.0
-0.5
-1.0
0.0
e-2t sin(50t)
0.5
1.0
t, sec
1.5
2.0
G ( s) =
N (s)
s + 2w n s + w n2
2
w wd =
(9.37)
-0.2
-0.4
jd = jn 1- 2
e-2t sin(2t)
e-2t sin(t)
0.2
s = + j
d = n 1
n =
d
1
(9.38)
What we call the natural frequency, n, is, in fact, not natural but an ideal, which would occur in the absence of energy
dissipation. The discrepancy between the actual, damped fre-
1 2
0.707
0.707
0.5
0.866
0.4
0.917
0.3
0.954
0.2
0.980
0.1
0.995
0.05
0.999
(w )
n
+ wn 1 2
= 2w n2 + w n2 1 2
2w n2 + w n2 w n2 2 = w n
The inverse cosine of the angle , which the ray from the
origin makes with the negative real axis to find the damping
ratio, , is shown in the s-plane construction, Figs.9.50 and
9.51.
cos ( ) =
w n
=
wn
(9.39)
Homogeneous oscillatory responses with the same damping
ratio, , have similar shapes, Fig. 9.52, but these are compressed or extended along the time axis, because the damping ratio, , is a factor in the decay rate, = w n, and the
damped frequency, w d = w n 1 2 .
551
0.6
Co
j11
Impulse Response
s-plane
an
nst
j10
j9
tD
j8
am
j7
pin
j6
gR
j5
atio
j2
-4
0.0
0.0
1.0
-3
-2
-1
2.0
t, sec
3.0
4.0
j
-5
e-2t sin(4t)
e-t sin(t)
j3
-6
e-3t sin(6t)
0.2
-0.2
j4
e-5t sin(10t)
0.4
Fig. 9.51 Complex eigenvalues with constant damping ratio fall on form. The standard form has no coefficient multiplying the
a ray from the origin of the s-plane. The angle of the ray is = 63.4. cos(63.4 ) = 0.45 =
highest power of s of the denominator polynomial. The nuUsing Eq.
= 9.39,
63.4. cos(63.4 ) = 0.45 =
Example One: Express the transfer function, G1(s), in standard form and plot its poles and zeros (if any) on the s-plane,
Fig. 9.54.
G1 ( s ) =
704
352
= 3
2 s + 28s + 112 s + 128 s + 14 s 2 + 56 s + 64
3
G1 ( s ) =
352
( s + 2)( s + 4)( s + 8)
(9.40)
816
272
= 3
2
3s + 48s + 252 s + 480 s + 16 s + 84 s + 160
3
G2 ( s ) =
272
( s + 4 j 2)( s + 4 + j 2)( s + 8)
(9.41)
G3 ( s ) =
14 s 2 + 168s + 728 14
s 2 + 12 s + 52
=
28( s + 6 j 4)( s + 6 + j 4)
( s + 1 j )( s + 1 + j )( s + 8)
(9.42)
552
Fig. 9.53 Magnitude
of the transfer function,
G ( s ) = 352 ( s + 2) ( s + 4)( s + 8),
as the value of s approaches the
pole at s=2. a Section along
line = 2. b Section along real
axis, =0
600
400
|G(s)|
200
0
-j2
-j1.5
-j
-j0.5
j0.5
j1.5
j2
Imaginary Component of s = -2 + j
3,000
2,000
|G(s)|
1,000
0
-3
-2.75
-2.5
-2.25
-2
-1.75
-1.5
Real Component of s = + j0
s-plane
s-plane
j3
j5
j2
j4
j3
j2
-10 -9 -8
-7
-6 -5 -4
-3 -2
-1
-j
-10 -9 -8
-j2
-7 -6
-5
-4 -3 -2
-1
-j
-j3
-j2
-j3
-j4
s-plane
-j5
j4
j3
j2
j
-10 -9 -8
-7 -6 -5
-4 -3 -2
-1
1
-j
-j2
-j3
-j4
Summary
Linear Operators
The important properties of linear operators are that they can
be distributed and their output scales with their input. These
properties allow them to be used with superposition and as
operators in block diagrams. All blocks in a block diagram
are a single inputsingle output relationship, except summation junctions which can have any number of inputs but only
one output.
Problems
553
s-plane
The roots of the numerator and denominator of a transfer
function are called the zeros and poles of the system, respectively. The magnitude of the transfer function is zero when
evaluated for a value of s which is a root of the numerator.
Roots of the denominator, i.e., the eigenvalues, yield an infinite value of the magnitude of the transfer function. Plots
of the eigenvalues on the s-plane show their position relative
to the real and imaginary axes and to one another. Since the
eigenvalues determine the homogeneous or natural response
of a system, the s-plane is used as a graphical design tool.
v(t)
Problems
Problem 9.1 An electric circuit consisting of a voltage
source, a resistor, R = 1 , an inductor, L=2H, and a capacitor, C=3F, is shown in the schematic, Fig.P9.1. The
circuit is de-energized for time, t<0.
9.1.a Formulate the state equations for this system and
express them in standard vector-matrix form.
9.1.b Determine the eigenvalues, the ideal, undamped natural frequency n, the damped natural frequency d,
and the damping ratio .
9.1.c Use the Laplace transformation to solve the state
equations for a vector of the transfer functions of the
state variables.
9.1.d Plot the poles and zeros (if any) of the transfer functions for the voltage across the capacitor and the current through the inductor on the s-plane.
9.1.e Assuming the circuit is initially de-energized, use
Laplace transforms and partial fraction expansion, if necessary, to determine the voltage across
the capacitor and the current through the inductor, when the input voltage applied to the circuit is
v(t ) = 24 VDC us (t ) + 48 VDC us (t )(1 e 0.25t ) .
9.1.f Plot the input and the responses using Mathcad or
MATLAB.
Problem 9.2 A translational mechanical system consisting
of a mass M sliding on a lubricating fluid film with damping
b is shown in Fig.P9.2. A spring K is attached between the
mass and ground. The system is at rest and relaxed, before
the mass is acted upon by an applied force F(t). Two sets of
parameter values are tabulated in Table P9.2.
Table P9.2 Parameter values
M
Case I
Case II
554
x,v
F(t)
P(t)
R1
Pump
vent to
atmosphere
R2
Fluid
Reservoir
Lubricating fluid
Damping b
Fig. P9.2 Force source acting on a spring-mass-damper system
b1
b2
Case I
20
50
0.2
Case II
200
0.5
R2
Case I
0.5
10
Case II
10
Problems
555
Mass M
Lubricating Film
Damping b 2
Pivot
Dashpot b1
Spring K2
Spring K1
L3
L2
L1
Compliant Shaft
Spring Constant K
Pulley
Diameter D1
Pulleys Diameters
D2 and D3
Flywheel
Rotational Inertia J1
Flywheel
Inertia J 2
Angular
Velocity
Input (t)
Pulley
Diameter D4
L2
L3
b1
b2
K1
K2
0.5
1,000
1,500
10
Fluid Coupling
Damping b
9.5.b Calculate the systems eigenvalues using the parameter values in Table P9.5. If the system is underdamped,
determine the ideal, undamped natural frequency n,
the damped natural frequency d, and the damping
ratio .
9.5.c Use the Laplace transform to solve the state equations
to yield the transfer functions for the state variables
X 1 (s) X 2 (s)
X (s)
,
and 3 .
U (s) U (s)
U (s)
9.5.d Use Laplace transforms and partial fraction expansion, if necessary, to determine the responses of the
state variables to the force input, F (t ) = 400 us (t ).
9.5.e Plot the input and the responses using Mathcad or
MATLAB.
Problem 9.6 A rotational mechanical system is shown schematically in Fig.P9.6. The system consists of an angular
velocity source which acts on the input shaft of a belt drive
556
Fig. P9.7 Hybrid electromechanical system
Electric Motor
Transduction
Rotational Inertia J1
Bearings Damping b1
Electrical Resistance R
Rotational Inertia J2
Bearings Damping b2
system with two flywheels with inertias J1 and J2, a compliant shaft modeled as torsion spring K, and fluid coupling
with damping b. Note that pulleys D2 and D3 are fixed to the
same shaft. The system is de-energized before the input force
act on the system.
Table P9.6 Parameter values
D1
D2
D3
D4
J1
J2
100
30
J1
b1
J2
b2
0.6
1,000
0.5
x1 a11
x = a
2 21
a12 x1 b1
+
u
0 x2 0
y1 c11 0 x1
y = c
2 21 c22 x2
Problem 9.9 A system equation where u is the input variable
and y is the output variable is given below.
8u = 3
d 3y
d 2y
dy
+
33
+ 114 + 210 y
3
2
dt
dt
dt
Problems
557
100
50
u(t) 0
0
100
Input
50
u(t) 0
0
0.5
1.0
2.0
1.5
t, sec
-50
-100
Fig. P9.10 Input u(t)
2.0
t, sec
-100
u2
1.5
d 2y
dy
d 3y
12u = 2 3 + 29 2 + 273 + 620 y
dt
dt
dt
u1
Input
1.0
-50
Problem 9.10 A system equation where u is the input variable, and y is the output variable is given below.
0.5
y1
+
+
__
1
s
__
1
s
Output
+
+
+
+
y2
Output
y3
Output
558
Fig. P9.12 Block diagram of a
system
1.5
u(t)
0.5s
1
__
s
1
__
s
1
__
s
+
+_ _ _
y(t)
9
28
32
U(s)
s+3
__________________
2s 3 + 18s 2 + 56s + 64
Y(s)
a
R(s)
b
9
_____
s + 12
+
+
C(s)
3
_____
s+7
R(s)
9
_____
s + 12
C(s)
3
_____
s+7
s+30
_________
2
s +4s +29
192
______________
2
12s +168s +576
Problems
559
+-
30
_____________
3
4s +20s2 +60s
Flywheel
Inertia J
Hydraulic Motor
High pressure line
Fluid Resistance R
1
____
s+8
Shaft Bearings
Damping b
+-
4s+6
________________
s3 +11s 2+124s+300
20
a
in (s)
b
Plant
+
GP(s)
8
7
___
s+2
out (s)
Flywheel
Rotational Inertia J
Bearings
Damping b
Input Torque
T(t)
560
in (s)
4(s+10)
P(s)
Plant
GP(s)
out (s)
1
N (s)
a0
Output ( s ) =
a1
a2
a3
a
s 4 + s3 + s 2 + s + 4
a0
a0
a0
a0
it results from the linear graph transducer sign convention and must be removed. A positive input to the
plant must yield a positive output.
9.20.b
Determine the closed-loop transfer function,
xMass(s)/xin(s).
9.20.c Determine the response of the system to the input,
xin (t ) = 0.5 m us (t ).
9.20.d Plot the response using either Mathcad or MATLAB.
Chapter 9 Appendix
The process of partial fraction expansion requires knowledge of what order polynomial to assume for the numerators of expansion terms, and a fair amount of patience while
expanding polynomials, collecting like terms, and forming a
set of simultaneous algebraic equations, to solve for the coefficients of the numerator polynomials.
To find the time-domain variable, output(t), described by
the Laplace-domain signal, Output(s)
( s + p1 ) ( s + p2 ) ( s + p3 ) ( s + p4 )
or
1
N (s)
a0
a1 3 a 2 2 a 3
a
s4 +
s +
s +
s+ 4
a0
a0
a0
a0
N (s)
Output ( s ) =
4
3
a 0 s + a 1 s + a 2 s 2 + a 3 s + a4
1
N (s)
a0
1
N ( s)
a0
( s + p1 )( s + p2 ) ( s 2 + 2w n s + w n2 )
Flywheel, Rotational Inertia J
DC Motor
Torque constant K T
Electrical Resistance R
Power Screw
Mass M
Lubricating Film
Damping b
x in (s)
Controller
+
4(s+10)
vMotor(s)
Plant
GP(s)
8
Integrator
vMass(s)
1 x Mass(s)
__
s
Chapter 9 Appendix
561
or
1
N (s)
a0
a1 3 a 2 2 a 3
a
s4 +
s +
s +
s+ 4
a0
a0
a0
a0
=
(s
1
N (s)
a0
2
)(
1
N (s)
a0
( s + p1 ) ( s + p2 ) ( s + p3 ) ( s + p4 )
=
A
B
C
D
+
+
+
s + p1 s + p2 s + p3 s + p4
or
A
B
Cs + D
+
+ 2
( s + p1 ) ( s + p2 ) s + 2w n s + w n2
or
1
N (s)
a0
2
)(
As + B
s
2. Equate the factored form with the partial fraction expansion, where the numerator terms are polynomials in s of
one order less than the denominator, i.e.,
and
( s + p1 )( s + p2 ) ( s 2 + 2w n s + w n2 )
(s
( s + p1 ) ( s + p2 ) ( s + p3 ) ( s + p4 )
D ( s ) = s 2 + 2n s + 2n N ( s ) = As + B
1
N (s)
a0
1
N (s)
a0
+ 21w1n s + w12n
) (
Cs + D
s + 2 2w 2 n s + w 22n
In this example,
1
N (s)
a0
a1 3 a 2 2 a 3
a4
s4 +
s +
s +
s+
a0
a0
a0
a0
D (s) = s + a N (s) = A
A
B
C
D
+
+
+
s + p1 s + p2 s + p3 s + p4
a1
a0
s3 +
a2
a0
s2 +
a3
a0
s+
a4
a0
= ( s + p1 ) ( s + p2 ) ( s + p3 ) ( s + p4 )
A
B
C
D
=
+
+
+
( s + p1 )( s + p2 )( s + p3 )( s + p4 )
s
+
p
s
+
p
s
+
p
s
+
p4
1
2
3
562
N (s) A
=
( s + p1 ) ( s + p2 ) ( s + p3 ) ( s + p4 )
a0
s + p1
B
+
( s + p1 ) ( s + p2 ) ( s + p3 ) ( s + p4 )
s + p2
( s + a ) ( s + b) ( s + c) = s3 + (a + b + c) s 2
+ (a b + b c + a c) s + (a b c)
C
+
( s + p1 )( s + p2 ) ( s + p3 ) ( s + p4 )
s + p3
N (s)
= A( s + p2 )( s + p3 )( s + p4 ) + B ( s + p1 )( s + p3 )( s + p4 )
a0
D
+
( s + p1 )( s + p2 ) ( s + p3 ) ( s + p4 )
s + p4
+ C ( s + p1 )( s + p2 )( s + p4 ) + D ( s + p1 )( s + p2 )( s + p3 )
N (s)
= A s 3 + ( p2 + p3 + p4 ) s 2 + ( p2 p3 + p3 p4 + p2 p4 ) s + ( p2 p3 p4 )
a0
+ B s 3 + ( p1 + p3 + p4 ) s 2 + ( p1 p3 + p3 p4 + p1 p4 ) s + ( p1 p3 p4 )
+ C s + ( p1 + p2 + p4 ) s + ( p1 p2 + p2 p4 + p1 p4 ) s + ( p1 p2 p4 )
2
+ D s + ( p1 + p2 + p3 ) s + ( p1 p2 + p2 p3 + p1 p3 ) s + ( p1 p2 p3 )
2
N (s)
= As 3 + A ( p2 + p3 + p4 ) s 2 + A ( p2 p3 + p3 p4 + p2 p4 ) s + A ( p2 p3 p4 )
a0
+ Bs 3 + B ( p1 + p3 + p4 ) s 2 + B ( p1 p3 + p3 p4 + p1 p4 ) s + B ( p1 p3 p4 )
+ Cs 3 + C ( p1 + p2 + p4 ) s 2 + C ( p1 p2 + p2 p4 + p1 p4 ) s + C ( p1 p2 p4 )
+ Ds 3 + D ( p1 + p2 + p3 ) s 2 + D ( p1 p2 + p2 p3 + p1 p3 ) s + D ( p1 p2 p3 )
5. Collect like terms of s
N (s)
= ( A + B + C + D ) s 3 + A ( p2 + p3 + p4 ) + B ( p1 + p3 + p4 ) + C ( p1 + p2 + p4 ) + D ( p1 + p2 + p3 ) s 2
a0
+ A ( p2 p3 + p3 p4 + p2 p4 ) + B ( p1 p3 + p3 p4 + p1 p4 ) + C ( p1 p2 + p2 p4 + p1 p4 )
+ D ( p1 p2 + p2 p3 + p1 p3 ) s
+ A ( p2 p3 p4 ) + B ( p1 p3 p4 ) + C ( p1 p2 p4 ) + D ( p1 p2 p3 )
N (s)
= A( s + p2 )( s + p3 )( s + p4 ) + B ( s + p1 )( s + p3 )( s + p4 )
a0
+ C ( s + p1 )( s + p2 )( s + p4 ) + D ( s + p1 )( s + p2 )( s + p3 )
b3
N ( s ) b0 3 b1 2 b2
s + s + s+
=
.
a0
a0
a0
a0
a0
s3
b0
= A+ B +C + D
a0
s2
b1
= ( p2 + p3 + p4 ) A + ( p1 + p3 + p4 ) B + ( p1 + p2 + p4 )C + ( p1 + p2 + p3 ) D
a0
Chapter 9 Appendix
s1
563
b2
= ( p2 p3 + p3 p4 + p2 p4 ) A + ( p1 p3 + p3 p4 + p1 p4 ) B + ( p1 p2 + p2 p4 + p1 p4 ) C
a0
+ ( p1 p2 + p2 p3 + p1 p3 ) D
s0
b3
= ( p2 p3 p4 ) A + ( p1 p3 p4 ) B + ( p1 p2 p4 ) C + ( p1 p2 p3 ) D
a0
b2 + p p
2
4
a0
( p2 p3 p4 )
b3
a
0
1
( p1 + p2 + p4 )
1
( p1 + p3 + p4 )
p1 p3 + p3 p4
+ p p
1
4
p1 p2 + p2 p4
+ p p
1
4
( p1 p3 p4 )
( p1 + p2 + p3 ) A
B
p1 p2 + p2 p3
C
+ p p
1
3
D
( p1 p2 p3 )
( p1 p2 p4 )
p +p +p
(
2
3
4)
p2 p3 + p3 p4
+ p2 p4
( p2 p3 p4 )
( p1 + p2 + p4 )
( p1 + p3 + p4 )
p1 p3 + p3 p4
+ p p
1
4
p1 p2 + p2 p4
+ p p
1
4
( p1 p3 p4 )
( p1 p2 p4 )
b0
a
1 0
1
b
( p1 + p2 + p3 ) a 1 A
0
B
p1 p2 + p2 p3 =
b
C
+ p p
2
1
3
D
a
( p1 p2 p3 ) 0
b3
a 0
1
N (s)
a0
( s + p1 ) ( s + p2 ) ( s + p3 ) ( s + p4 )
=
( s + p1 ) a
N (s)
( s + p1 ) ( s + p2 ) ( s + p3 ) ( s + p4 )
( s + p1 ) A
s = p1
1
N ( p1 )
a0
=A
( p1 + p2 )( p1 + p3 )( p1 + p4 )
s + p1
+
s = p1
( s + p1 ) B
s + p2
+
s = p1
A
B
C
D
+
+
+
s + p1 s + p2 s + p3 s + p4
0
( s + p1 ) C
s + p3
+
s = p1
( s + p1 ) D
s + p4
s = p1
564
= 2 + 2 2 = + 2
2
2
2
s s
s
s
s
s
s
s
Partial fraction expansion will be illustrated with five examples.
Example One: Use partial fraction expansion to express the
3
second-order transfer function, Output ( s ) = 2
, as
s + 3s + 2
the sum of two first-order transfer functions.
Linear Algebra Method
G (s) =
3
3
A
B
=
=
+
s 2 + 3s + 2 ( s + 1) ( s + 2) ( s + 1) ( s + 2)
3 ( s + 1) ( s + 2)
s 2 + 3s + 2
3 ( s + 1)( s + 2)
s 2 + 3s + 2
A
B
+
=
( s + 1) ( s + 2)
( s + 1) ( s + 2)
A ( s + 1) ( s + 2)
( s + 1)
B( s + 1) ( s + 2)
( s + 2)
s1 0 = A + B
s0 3 = 2 A + B
1 1
2 1
3 = ( A + B) s + (2 A + B)
0 1 1
3 = 2 1
1 1 A
2 1 B
A
3 A
1 1 0
2 1 3 = I B 3 = B
G ( s) =
3
s 2 + 3s + 2
( s + 1) ( s + 2)
Alternative Method
G (s) =
A
B
3
3
=
=
+
s 2 + 3s + 2 ( s + 1)( s + 2) ( s + 1) ( s + 2)
A
B
3
=
+
( s + 1)( s + 2) ( s + 1) ( s + 2)
3( s + 1)
A( s + 1) B ( s +11)
+
=
( s + 1)( s + 2)
( s + 1)
( s + 2)
3 ( s + 1)
( s + 1) ( s + 2)
A ( s + 1)
( s + 1)
B( s + 1)
( s + 2)
B( s + 1)
3
3
=3= A
= A+
( s + 2) s = 1
( s + 2) s = 1
( 1 + 2)
A
B
3
=
+
( s + 1)( s + 2) ( s + 1) ( s + 2)
3( s + 2)
A( s + 2) B( s + 2)
+
=
( s + 2)
( s + 1)( s + 2)
( s + 1)
3 ( s + 2)
( s + 1) ( s + 2)
A( s + 2) B ( s + 2)
+
( s + 1)
( s + 2)
3
3
A( s + 2)
+B
= 3 = B
=
( s + 1) s = 2
( s + 1) s = 2
( 2 + 1)
G (s) =
3 = A( s + 2) + B( s + 1) 3 = ( As + 2 A) + ( Bs + B)
0 1 1 A
3 = 2 1 B
3
3
3
=
+
( s + 1)( s + 2) ( s + 1) ( s + 2)
Chapter 9 Appendix
565
3s + 2
_________
s 2 + 7s +12
1
_____
s+2
U(s)
fraction expansion and the Laplace Transform tables to determine the time-domain response.
The s-domain output signal is:
3s + 2
Y (s) =
(9.43)
s s + 2 s 2 + 7 s + 12
)(
As + B
Cs + D
Y (s) =
=
+ 2
2
s ( s + 2) s + 7 s + 12
s ( s + 2) s + 7 s + 12
Another is
Y (s) =
s 4 + 9 s 3 + 26 s 2 + 24 s
A s ( s + 2)( s + 3)( s + 4) Bs ( s + 2) ( s + 3)( s + 4)
s+2
s
Cs ( s + 2) ( s + 3) ( s + 4) Ds ( s + 2)( s + 3) ( s + 4)
+
s+3
s+4
3s + 2 = A ( s + 2) ( s + 3) ( s + 4) + Bs ( s + 3) ( s + 4)
+ Cs ( s + 2) ( s + 4) + Ds ( s + 2) ( s + 3)
s ( s + 2) s + 7 s + 12
2
A
B
C
D
+
+
+
s s+2 s+3 s+4
) (
+ C 8s ) + ( Ds
)
+ D6s )
+ D5s
3s + 2 = ( A + B + C + D ) s 3 + ( A9 + B7 + C 6 + D5) s 2
s1
s0
0 1 1 1
0 9 7 6
0 = 9 A + 7 B + 6C + 5 D
=
3 26 12 8
3 = 26 A + 12 B + 8C + 6 D
2 24 0 0
2 = 24 A
Y (s) =
) (
+ C s 3 + 6 s 2 + 8s + D s 3 + 5s 2 + 6 s
s3 0 = A + B + C + D
Y (s) =
) (
3s + 2 = A s 3 + 9 s 2 + 26 s + 24 + B s 3 + 7 s 2 + 12 s
+ Cs + C 6 s
3s + 2
Y(s)
3s + 2
s ( s + 2) s 2 + 7 s + 12
3s + 2
A
B
C
D
= +
+
+
s 4 + 9 s 3 + 26 s 2 + 24 s s s + 2 s + 3 s + 4
(3s + 2) ( s ( s + 2) ( s + 3) ( s + 4))
s 4 + 9 s 3 + 26 s 2 + 24 s
B
C
D
A
= +
+
+
( s ( s + 2) ( s + 3) ( s + 4))
s s + 2 s + 3 s + 4
1 1 1
9 7 6
26 12 8
24 0 0
1
5
6
1 A
5 B
6 C
0 D
0
0
3
2
1 1 1
9 7 6
=
26 12 8
24 0 0
1
5
6
1 1 1
9 7 6
26 12 8
24 0 0
1 A
5 B
6 C
0 D
566
0
0
0.042 0 1
0
2 1 0.5 0.25 0 0
=
9 3 1 0.333 3 0
8 2 0.5 0.125 2 0
0
1
0
0
(3) ( 3) + 2
= 2.333 = C
( 3) ( 3 + 2) ( 3 + 4)
0 A
0 B
0 C
1 D
0
0
1
0
0.083 A
1 B
=
2.333 C
1.25 D
Y (s) =
3s + 2
s ( s + 2) s 2 + 7 s + 12
( s + 4 ) ( 3s + 2 )
s ( s + 2) ( s + 3) ( s + 4)
+
0.083
1
2.333 1.25
+
+
s
s+2 s+3 s+4
Y (s) =
s ( 3s + 2 )
s=0
sA
sB
+
s s=0 s + 2
+
s=0
sC
s+3
+
s=0
sD
s+4
s=0
+
s = 4
s = 2
( s + 2) B
s+2
+
s = 2
( s + 2) A
s
L {Y ( s )} = 0.083L
s+3
+
s = 2
( s + 2) D
s+4
( s + 3) B
s+2
+
s = 3
s+3
+
s = 3
( s + 3) D
s+4
s+4
s = 4
s + 2
1 2.333
+
s+3
s = 4
1.25
s + 4
1
1 1
+
s + 2
s
1 1
1 1
+1.25
+
s
3
s + 4
1
1
Y ( s) = 2
s ( s + a ) ( s + b )
s = 3
( s + 3) C
( s + 4) D
s = 2
(3) ( 2) + 2
=1= B
2
( ) ( 2 + 3) ( 2 + 4)
( s + 3) (3s + 2)
( s + 3) A
=
s
s ( s + 2) ( s + 3) ( s + 4)
s = 3
2.333
s = 2
( s + 2) C
s+3
0.083
+
s ( s + 2) ( s + 3) ( s + 4)
( s + 4) C
s = 4
3s + 2
0.083
1
2.333 1.25
=
+
+
s ( s + 2) ( s + 3) ( s + 4)
s
s+2 s+3 s+4
L {Y ( s )} = L
( 2) = 0.083 = A
( 2)(12)
( s + 2 ) ( 3s + 2 )
s = 4
( s + 4) B
s+2
( s + 4) A
(3) ( 4) + 2
= 1.25 = D
( 4) ( 4 + 2) ( 4 + 3)
Alternative Method
Find A. Multiply both sides by s, and evaluate for s = 0.
s ( s + 2) ( s + 3) ( s + 4)
s = 3
Chapter 9 Appendix
567
0.15
0.10
y(t)
0.05
0 = B+C+ D
0 = A + 4 B + 3C + D
0 = 4 A + 3B
1 = 3 A.
t, sec
0 0
0 1
=
0 4
1 3
We will assign the values, a = 1 and b = 3. The inverse Laplace transform of this signal is not in our table. Use partial
fraction expansion to expand this signal to match the table
entries
A B
1
C
D
1
= 2+ +
+
Y ( s) = 2
s ( s + a ) ( s + b) s
s s+a s+b
Y ( s) =
s 2 ( s + 1) ( s + 3)
0
1
1
4
3
0
s2
+
s +1
1
3
0
0
0 0
0 1
=
0 4
1 3
1
1
0
1
3
0
0
0 1
0 0
=
0 0
1 0
1
1
0
0
1
0
0
0
0
1
0
0
1
1
4
3
0
1
3
0
0
1 A
1 B
0 C
0 D
0 A A
0 B B
=
0 C C
1 D D
s+3
Conventional Algebra Method (The Hard Way)
Find A. Multiply both sides by s2, and evaluate using s = 0.
)
+ (Cs + Cs 3) + ( Ds
1 = A s 2 + A 4 s + A 3 + Bs 3 + B 4 s 2 + B3s
3
1
4
3
0
0.333 A
0.444 B
=
0.5 C
0.056 D
Ds 2 ( s + 1) ( s + 3)
1 = A( s + 1) ( s + 3) + Bs ( s + 1) ( s + 3) + Cs 2 ( s + 3) + Ds 2 ( s + 1)
+ Ds 2
1
C
D
A B
1
= s2 2 + +
+
s2 2
s
s ( s + 1) ( s + 3)
s s + 1 s + 3
1
1
s2 2
s ( s + 1) ( s + 3)
B
A + s2
s
1 = ( B + C + D ) s 3 + ( A + 4 B + 3C + D ) s 2
+ ( 4 A + 3 B ) s + ( 3 A)
1
4
3
0
Cs 2 ( s + 1) ( s + 3)
) (
1
1
0
Bs 2 ( s + 1) ( s + 3)
1
3
0
0
0
1
A s 2 ( s + 1) ( s + 3)
1 A
1 B
0 C
0 D
1
3
0
0
1
4
3
0
s
U(s)
1
__
s
0 s=0
=
s=0
C
+ s2
s + 1
0 s=0
D
+ s2
s + 3
1
_________
(s+a)(s+b)
0 s=0
Y(s)
568
1
= 0.333 = A
3
2.0
1.5
y(t) 1.0
0.5
1
1
s 2
s ( s + 1) ( s + 3)
C
B
A
D
= s 2 + s + s
+ s
s + 1
s
s
s + 3
1
1
s ( s + 1)( s + 3)
A
s
s=0
t, sec
( s + 1)
1
1
C
D
A B
= ( s + 1) 2 + +
+
2
s
s s + 1 s + 3
s ( s + 1) ( s + 3)
D
1 1
A
B
= ( s + 1) 2 + ( s + 1) + C + ( s + 1)
2
s + 3
s
s + 3
s
s
s=0
C
+ B + s
( s + 1)
0 s=0
D
+ s
( s + 3)
1 1
2
s + 3
s
0 s=0
s = 1
A
= ( s + 1) 2
s
0 s = 1
B
+ ( s + 1)
s
D
+ C + ( s + 1)
s + 3
1
C
D
A B
1
= s2 2 + +
+
s 2
s
s ( s + 1) ( s + 3)
s s + 1 s + 3
0 s = 1
0 s = 1
( s + 1) ( s + 3)
= A + Bs +
1 1 1
= = 0.5 = C
2
( 1) 1 + 3 2
Cs 2 Ds 2
+
s +1 s + 3
d
1
Cs 2 Ds 2
d
= A + Bs +
+
s + 1 s + 3
ds ( s + 1) ( s + 3) ds
d u
using
=
ds v
dv
du
u
ds and ( s + 1)( s + 3) = s 2 + 4 s + 3
ds
v2
1
Cs 2 Ds 2
d
d
A
Bs
=
+
+
+
s + 1 s + 3
ds s 2 + 4 s + 3 ds
(s
( 2 s + 4)
2
+ 4s + 3
= B+
( s + 1) 2Cs Cs
( s + 1)2
( s + 3) 2 Ds Ds
( s + 3)2
(3)
1
1
C
D
A B
= ( s + 3) 2 + +
+
2
s
s s + 1 s + 3
s ( s + 1) ( s + 3)
C
A
B
1 1
+D
= ( s + 3) 2 + ( s + 3) + ( s + 3)
2
s + 1
s
s + 1
s
s
1 1
2
s + 1
s
2
( s + 3)
4
= 0.444 = B
9
A
= ( s + 3) 2
s
s = 3
0 s = 3
B
+ ( s + 3)
s
C
+ ( s + 3)
s + a
0 s = 3
+D
0 s = 3
1 1
1
= = 0.056 = D
2
18
( 3) 3 + 1
0.333 0.444 0.5 0.056
1
1
= 2
+
Y ( s) = 2
s ( s + 1) ( s + 3)
s
s +1 s + 3
s
Chapter 9 Appendix
569
{Y ( s)} = L
s
s +1 s + 3
s
+L
s + 1
s
s
0..056
L 1
s+3
Its linearity allows coefficients to be factored out
1
1
1
y (t ) = 0.333L 1 2 0.444L 1 + 0.5L 1
s
s
s + 1
1
0.056L 1
s + 3
The inverse Laplace transform of these functions of s are
found in the transform pair table
(9.45)
Example Four: The system shown in the block diagram
Fig.A9.5 consists of an integrator followed by an oscillatory second-order system. Use partial fraction expansion and
the Laplace transform pairs to determine the time-domain
response.
The algebra in this reduction entails considerably more
effort than in Example Three, because the roots of an oscillatory second-order factor are complex conjugates. Partial
fraction coefficients will be real numbers, except if the input
is a sinusoid. In this example, the input is a unit step. Consequently, A, B, C, and D will be real.
The Laplace-domain output signal is
n2
1
Y (s) = 2 2
.
2
s s + 2 n s + n
2n
_____________
s 2+ 2ns + 2n
1
__
s
U(s)
Y(s)
16 s 2 s 2 + 2.4 s + 16
2
s s + 2.4 s + 16
+
Bs 2 s 2 + 2.4 s + 16
s
A s 2 s 2 + 2.4 s + 16
s
) + (Cs + D ) s ( s
2
+ 2.4 s + 16
s + 2.4 s + 16
570
s3 :
s2 :
s1 :
s0 :
16
s + 2.4 s + 16
0 = B+C
0 = A + 2.4 B + D
0 = 2.4 A + 16 B
16 = 16 A
s=0
B
= A + s2
s
0
1
0
0
0
0
16
1
0
1 2.4
=
2.4 16
16 0
1 1 0
0
1 2.4 0 1
2.4 16 0 0
16 0 0 0
1
A
B
Cs + D
s 2 2
= s 2 + s + s 2
s s + 2.4 s + 16
s
s
s + 2.4 s + 16
This expression cannot be evaluated using s = 0 to find B,
because two terms blow up to infinity
1
0
0
0
1
0
1
0
1
0
1 2.4
2.4 16
16 0
0 1
0 0
=
0 0
16 0
0
1
0
0
0
0
1
0
1
0
0
0
0 A
1 B
0 C
0 D
16 ( 2 s + 2.4)
(s
+ 2.4 s + 16
0 s=0
16
Cs 3 + Ds 2
= A + Bs + 2
s + 2.4 s + 16
s + 2.4 s + 16
Cs + D
B
A
= s2 2 + s2 + s2 2
s + 2.4 s + 16
s
s
s=0
Cs + D
+ B + s 2
s + 2.4 s + 16
16
1
s2 2 2
s s + 2.4 s + 16
A
s
16
Cs + D
1
A B
= s2 2 + + 2
s2 2 2
s s + 2.4 s + 16
s
s s + 2.4 s + 16
Cs 3 + Ds 2
d
16
d
= A + Bs + 2
2
ds
ds s + 2.4 s + 16
s + 2.4 s + 16
du
dv
u
ds
ds and keeping in mind that if K is
v2
dK
a real or complex constant, then
=0
ds
d u
using
=
ds v
d s 2 + 2.4 s + 16
s=0
0 A
0 B
0 C
1 D
Conventional Algebra
Find A. Multiply both sides by s2, and evaluate for s = 0
ds
2
s + 2.4 s + 16
16
2
s s + 2.4 s + 16
1
A A
0.15
= I B = B
0.15
C C
0.64
D D
0 16
0 s=0
16
=1= A
16
1 1 0 A
0 0
0 1 2.4 0 1 B
=
0 2.4 16 0 0 C
16 16 0 0 0 D
1
0
1 2.4
2.4 16
16 0
0 s=0
Cs + D
+ s2 2
s + 2.4 s + 16
= B+
(3Cs
)(
+ 2 Ds s 2 + 2.4 s + 16 ( 2 s + 2.4) Cs 3 + Ds 2
(s
+ 2.4 s + 16
Chapter 9 Appendix
571
16 ( 2 s + 2.4)
(s
+ 2.4 s + 16
2
s=0
= B+
2
2
s + 2.4 s + 16
( 2.4)(16)
(16)2
0 s= 0
= 0.15 = B
Determine C. It is easier to evaluate the expressions, s12 , s22 ,
and ( s1 s2 ) , first. Then substitute them into the expression
for C
s12 = ( 1.20 + j 3.82) = 13.15 j 9.17
2
s
s
s + 2.4 s + 16
s2
s 2 + 2.4 s + 16
16
s
A s2 + s +
s
s = s1
+
0
B s2 + s +
s
s = s1
)
0
+ Cs s = s + D
1
s = s1
and
A s 2 + 2.4 s + 16
16
=
s 2 s = s2
s2
leading to
+
0
B s 2 + 2.4 s + 16
s = s2
)
0
+ Cs s = s + D
2
s = s2
and
16
16
= Cs1 + D and
= Cs2 + D
2
s1
s22
16
Cs1 = D
and
s12
572
Determine D
f (t ) = ur (t ) = t for t 0
Unit Ramp
1
F ( s ) = s 2
16
16
Cs1 =
( 0.15) ( 1.20 + j 3.82) = D
13.15 j 9.17
s12
In order to add the two terms, multiply the first term by
the ratio of the complex conjugate of the denominator,
13.15 + j 9.17
13.15 + j 9.17 , to create the ratio of a complex number
over a real number. Then divide real and imaginary components of the complex number by the real denominator
13.15 + j 9.17 210.4 + j146.7
16
=
13.15 j 9.17 13.15 + j 9.17
257.0
= 0.819 + j 0.571
D=
16
16
Cs1 =
( 0.15) ( 1.20 + j 3.82)
2
13.15 j 9.17
s1
Y (s) = 2 2
= 2+ + 2
s s + 2.4 s + 16 s
s s + 2.4 s + 16
Y ( s) =
Y ( s) =
A
s
1
s2
wn
e w n t sin w n 1 2 t
Oscillatory f (t ) =
2
Unit Impulse
w n2
Response F ( s ) = 2
s + 2w n s + w n2
e w n t sin w n 1 2 t
Oscillatory f (t ) =
1 2
Unit Impulse
s
Response F ( s ) = 2
s + 2w n s + w n2
with
The inverse Laplace transformation is a linear operator, allowing us to factor in or out coefficients, as needed. We will need
to factor in and factor out to match the transform table pairs
L
L
L {Y (s)} = y(t )
1
0.15s
0.64
1 0.15
y (t ) = L 1 2
2
2
s
s + 2.4 s + 16 s + 2.4s + 16
s
Unit Step
1
F (s) = s
0.15
1
y (t ) = L 1 2 L 1
s
s
0.15s
0.64
1
L 1 2
L 2
s + 2.4 s + 16
s + 2.4 s + 16
B
Cs
D
+
+
s s 2 + 2.4 s + 16 s 2 + 2.4 s + 16
0.15
0.15s
0.64
2
+ 2
s
s + 2.44 s + 16 s + 2.4 s + 16
0.15
= 0.15
0.15s
= 0.15
2
s
2
.
4
s
16
+
+
1
s
s
2
s
2
.
4
s
16
+
+
0.64
0.64
16 1
= L 2
2
16
s
2
.
4
s
16
s
2
.
4
s
16
+
+
+
+
0.64
16
0.64 1
=
2
L 2
16
s
2
.
4
s
16
s
2
.
4
s
16
+
+
+
+
0.15L 1 2
s + 2.4 s + 16
16
0.04L 1 2
2
4
16
.
s
+
s
+
wn
n
y (t ) = ur (t ) 0.15us (t ) 0.15
e w n t sin w n 1 2 t 0.04
e w n t sin w n 1 2 t
2
1 2
Chapter 9 Appendix
573
2.0
form of the second-order factor we need for the partial fraction expansion:
1.5
30 2 2 s 2 + 20 s + 18
Y (s) =
2
s ( s + 3) s 3s + 7.5s + 24
y(t) 1.0
0.5
0
0.5
1.0
t, sec
1.5
30 2 0.67 s 2 + 6.67 s + 6
Y (s) =
2
s ( s + 3) s s + 2.5s + 8
2.0
s1 , s2 =
2.5
( 2.5)2 + ( 4)(8)
s1 , s2 = 1.25 j 2.54.
y (t ) = ur (t ) 0.15us (t )
4
1
2
2
(0.3)( 4)t
(0.3)( 4)t
0.15
e
e
sin 4 1 ( 0.3) t
sin 4 1 ( 0.3) t 1.27 0.04
2
2
1 ( 0.3)
1 ( 0.3)
y (t ) = t 0.15 + 0.16e 1.2t sin (3.82t 1.27 ) 0.04 0.17e 1.2t sin (3.82t )
(9.46)
Complex conjugate eigenvalues. Therefore, keep the characteristic function as a second-order polynomial
30 2 0.67 s 2 + 6.67 s + 6
Y (s) =
s ( s + 3) s s 2 + 2.5s + 8
Y (s) =
40 s 2 + 400 s + 360
s 2 ( s + 3) s 2 + 2.5s + 8
A
s
40 s 2 + 400 s + 360
s 2 ( s + 3) s 2 + 2.5s + 8
+
B
C
Ds + E
+
+ 2
s s + 3 s + 2.5s + 8
Multiply both sides by the denominator of the left side. Cancel common factors
30
______
s(s + 3)
U(s)
2
__
s
2s 2 + 20s +18
____________
3s2 + 7.5s +12
Y(s)
574
( 40s
)
( s + 3) ( s
A
s
+ 2.5s + 8
s 2 ( s + 3) s 2 + 2.5s + 8
B 2
s ( s + 3) s 2 + 2.5s + 8
s
C 2
s ( s + 3) s 2 + 2.5s + 8
+
s+3
Ds + E
s 2 ( s + 3) s 2 + 2.5s + 8
+ 2
s + 2.5s + 8
+ Bs ( s + 3) s + 2.5s + 8
+ Cs 2 s 2 + 2.5s + 8
s 3 + 2.5s 2 + 8s + 3s 2 + 7.5s + 24
40 s 2 + 400 s + 360 = A
s 3 + 5.5s 2 + 15.5s + 24
s + 2.5s + 8s + 3s + 7.5s + 24 s
+ B
s 4 + 5.5s 3 + 15.5s 2 + 24 s
(
+ D (s
+ E (s
+ C s 4 + 2.5s 3 + 8s 2
4
+ 3s
+ 3s
)
)
(
+ C (s
+ D (s
+ E (s
+ B s + 5.5s + 15.5s + 24 s
+ 2.5s + 8s
+ 3s
+ 3s 2
)
)
0 = B+C + D
0 = A + 5.5B + 2.5C + 3D + E
40 = 5.5 A + 15.5 B + 8C + 3E
400 = 15.5 A + 24 B
360 = 24 A.
1
1 1 0 0
0
1
5.5
2.5
3 1 0
5.5 15.5 6 0 3 40
0 0 0 400
15.5 24
24
0
0 0 0 360
1
Expand polynomials
Solve
1
1 1 0 0
1
1 1 0 A
0
1
5.5 2.5 3 1 1
5.5 2.5 3 1 B
0 0 0 15.5 24
0 0 0 D
15.5 24
24
0
0 0 0 24
0
0 0 0 E
+ ( Ds + E ) s 2 ( s + 3)
1
1 1 0 A
0 0
0 1
5.5 2.5 3 1 B
40 = 5.5 15.5 8 0 3 C
0 0 0 D
400 15.5 24
360 24
0
0 0 0 E
1
1
0
1
5.5 2.5
5.5 15.5 8
0
15.5 24
24
0
0
1
3
0
0
0
0
1
3
0
0
0 A
0 B
40 = C
400 D
360 E
A 15
B 6.98
C = 5.61
D 1.37
E 35.3
A B
C
Ds + E
+ +
+ 2
2
s s + 3 s + 2.5s + 8
s
s
s + 3 s 2 + 2.5s + 8
s2
Unit Step
1
F (s) = s
Chapter 9 Appendix
575
40
f (t ) = ur (t ) = t for t 0
Unit Ramp
1
F ( s ) = s 2
30
y(t) 20
f (t ) = e at
10
0
wn
e w n t sin w n 1 2 t
Oscillatory f (t ) =
2
Unit Impulse
w n2
Response F ( s ) = 2
s + 2w n s + w n2
)
)
The first step is to express the final term as the sum of two
terms, rather than a sum over a common denominator
15 6.98 5.61 1.37 s + 35.3
+
s
s + 3 s 2 + 2.5s + 8
s2
1.37 s
35.3
15 6.98 5.61
Y (s) = 2 +
2
2
s
s + 3 s + 2.5s + 8 s + 2.5s + 8
s
Y (s) =
The first three terms will have the proper form, after the constants in the numerators are factored out
y1 (t ) + y2 (t ) + y3 (t )
=
= 15
15
1 6.98
1 5.61
2+
s
s
s + 3
1 1
1 1
1 1
5.61
2 + 6.98
s + 3
s
s
y1 (t ) + y2 (t ) + y3 (t ) = 15 ur (t ) + 6.98 us (t ) 5.61 e 3t
The time-domain functions corresponding to the two second-order oscillatory factors are expressed in terms of the
natural frequency, n, and damping ratio, . We have already
calculated the real exponential decay factor and the damped
natural frequency, since these correspond to the real and
imaginary terms of the eigenvalues
s = + j = n n 1 2
0.5
1.0
1.5
t, sec
2.0
e w n t sin w n 1 2 t
Oscillatory f (t ) =
2
1
Unit Impulse
s
Response F ( s ) = 2
2
+
2
s
w
n s + wn
with
2
n
s + 2 n s + = s + 2.5s + 8
n = 8 = 2.83
=
2.5
= 0.44
2 n
L 1 s 2 + 2.5s + 8
y4 ( t ) =
L 1 s 2 + 2.5s + 8
y4 (t ) = 1.37
8
y5 (t ) =
8
35.3
y5 (t ) =
8
35.3
2
s + 2.5s + 8
1
35.3
2
s + 2.5s + 8
1
2
s + 2.5s + 8
576
2
s
+
2
.
5
s
+
8
8
35.3
8
s + 2.5s + 8
y4 (t ) + y5 (t )
= 1.37
2.83
1 ( 0.44)
35.3
1 ( 0.44)
2.54
where = tan 1 d = tan 1
= 1.11
1.25
y4 (t ) + y5 (t ) = 4.32e 1.25t sin ( 2.54t )
+ 4.91e 1.25t sin ( 2.54t 1.11)
The time-domain response is the sum of the five terms.
y (t ) = y1 (t ) + y2 (t ) + y3 (t ) + y4 (t ) + y5 (t )
3t
1.25t
sin ( 2.54t )
y (t ) = 15ur (t ) + 6.98us (t ) 5.61e 4.32e
(9.47)
10
Frequency Response
Abstract
F (t ) M dv1g
F (t ) dv1g b
=
+ v1g
=
+ v1g
b
b dt
M
dt
M
2
1 dF (t ) d v1g b dv1g K
=
+
+ v1g
M dt
M dt
M
dt 2
(3.26)
(3.34)
=L
+ L v1g
M
dt
M
dv
1
L { F (t )} = L 1g + b L v1g
M
dt M
{ }
1
b
F ( s ) = sV1g ( s ) + V1g ( s )
M
M
1
b
F ( s ) = s + V1g ( s )
M
M
V1g ( s )
F (s)
1
M
b
s+
M
K. A. Seeler, System Dynamics, DOI 10.1007/978-1-4614-9152-1_10, Springer Science+Business Media New York 2014
(10.1)
577
10 Frequency Response
578
Fig. 3.13a Translational mechanical mass-damper system
driven by a force source,
b Linear graph of the massdamper system driven by a force
source
x,v
Mass
M
F(t)
Lubricating
fluid film
Damping b
F(t)
g
Fig. 3.31a Force source-springmass-damper system of Fig.3.23,
b Linear graph, Fig.3.24b
g
Lubricating fluid
Damping b
Now, the spring-mass-damper system:
2
d v1g b dv1g K
+ v1g
2 +
M dt
M
dt
2
dv1g K
d v1g b
dF (t )
= L 2 + L
+ L v1g
dt
dt M
dt M
1
b
K
sF ( s ) = s 2V1g ( s ) +
sV1g ( s ) + V1g ( s )
M
M
M
1
b
K
sF ( s ) = s 2 +
s + V1g ( s )
M
M
M
1
L
M
1 dF (t )
=
M dt
x,v
F(t)
{ }
1
s
M
=
b
K
F (s)
s2 +
s+
M
M
V1g ( s )
(10.2)
=
b
F (s)
F (s) s + 1
(10.3)
s+
M
and
1
s
V1g ( s )
0.5s
M
=
= 2
b
K
F (s)
F ( s ) s + s + 100
s2 +
s+
M
M
V1g ( s )
(10.4)
F(t)
g
The step responses of the initially de-energized massdamper and the spring-mass-damper systems to a step input
of F(t)=10 N us(t) are shown in Fig.10.1. The response of
the initially de-energized, first-order, mass-damper system
to the sinusoidal input, F (t ) = 10 N sin(w t ) for the frequencies of 2rad/sec and 10rad/sec, are shown in Fig.10.2. Figure 10.3 shows the response of the initially de-energized,
second-order, spring-mass-damper system to the same sinusoidal force inputs.
Inspection of the responses of the first-order, mass-damper system and the second-order, spring-mass-damper system
to the same magnitude force as both step input and as a sinusoidal input, with the latter at the frequencies of =2 and
=10rad/sec, yields the following observations.
The transient period of each system appears to be independent of the sinusoidal excitation frequency. It is of the
same duration as the transient response of the systems to
the step input, Figs.10.1a and 10.2a and b, and Figs.10.1b
and 10.3a and b. The transient period is approximately
8 to 10sec.
The peak values of the sinusoidal response of the firstorder, mass-damper system decreased during the transient period, with the mean value of the response equal to
zero in steady-state.
The amplitude of the sinusoidal response of the first-order,
mass-damper system decreased, when the input force frequency was increased from =2 rad/sec to =10 rad/
sec, Figs.10.2a and b.
The amplitude of the sinusoidal response of the secondorder, spring-mass-damper system increased, when the
M = 2 b = 2 F0 = 10
v1g
m
___
sec
579
3
2
v1g
10
t, sec
12
-0.5
14
rad
___
M = 2 b = 2 F0= 10 = 2 sec
t, sec
10
12
14
rad
M = 2 b = 2 F0= 10 = 10 ___
sec
0.5
m
___
sec
-2
1.0
v1g
-4
m
___
sec
v1g
-0.25
M = 2 b = 2 K = 200 F0 = 10
0.25
v1g
m
___
sec
0.5
-0.5
0.2
10
t, sec
12
rad
M = 2 b = 2 K = 200 F0= 10 = 2 ___
sec
0.1
b
v1g
t, sec
10
12
14
rad
___
M = 2 b = 2 K = 200 F0= 10 = 10 sec
m 0
___
sec
m 0
___
sec
-4
-0.1
-0.2
-1.0
14
t, sec
10
12
14
-8
t, sec
10
12
14
10 Frequency Response
580
Fig. 10.4 Steady-state portion
of the responses of the first-order
mass-damper system to a sinusoidal force of 10N with a the
frequency of 2rad/sec, and b the
frequency of 10rad/sec
rad
___
M = 2 b = 2 F0 = 10 = 2 sec
F(t)
v1g
v1g
0.2
0.6
0.3
11
12
t, sec
13
-12
14
0.1
F(t)
v1g
m 0
___
sec
-0.1
-0.2
10
11
12
t, sec
13
-0.6
rad
M = 2 b = 2 K = 200 F0 = 10 = 2 ___
sec
v1g
F(t)
12
v1g
6
0
F(t)
N
-6
-0.3
-6
4
10
12
rad
M = 2 b = 2 F0= 10 = 10 ___
sec
F(t) v1g
0
m 0
N ___
sec
m 0
___
sec
10
11
12
t, sec
13
14
-12
rad
___
M = 2 b = 2 K = 200 F0= 10 = 10 sec
12
12
v1g
F(t)
F(t) v1g
0
m 0
N ___
sec
-6
-4
-6
-12
14
-8
F(t)
10
11
12
t, sec
13
14
-12
max in
581
Period T
Input
2A
2A|G(j)|
A|G(j)|
Output
Shift t
max out
0
min out
Input
min in
Output
Fig. 10.6 Oscilloscope trace measurements used to calculate the magnitude ratio. The factor of two cancels in the ratio of output/input
system, (2) the amplitude of the input sinusoid, F0 in our example system, and (3) the frequency of the input, . Further,
we expect the output to have the same frequency as the input,
when the system is steady-state. We do not expect the two
sinusoids to necessarily peak at the same time. One may be
shifted, relative to the other. We have seen these phenomena
in Figs.10.2 through 10.5.
The magnitude ratio is the ratio of the amplitude of the
output sinusoid over the amplitude of the input sinusoid. The
factor, which represents the effect of the system on the magnitude of the output variable, equals the magnitude of the
transfer function evaluated as a convention function, where
the argument is the input frequency multiplied by the complex number, j, |G(j)|, as we shall see when we develop the
Frequency Response Equation If we had measurements of
the input and output sinusoids on a two-channel oscilloscope
or data acquisition system, we can easily calculate the magnitude ratio and, thus, |G(j)|.
The time difference between the peaks of the input and
output variables is normalized by the period of the cycle, T,
to yield the phase angle, . In other words, the phase angle
is the fraction of a cycle by which the input and output
sinusoids are shifted in time, with the fraction of a cycle (or
circle) expressed as an angle.
The magnitude ratio is calculated from traces of the
input and output sinusoids, by measuring the peak to
peak amplitudes, rather than the mathematical amplitude,
A, Input (t ) = A sin(w t ), which is from zero to the peak,
Fig.10.6. The rationale for measuring twice the amplitude is
the ease of the measurement.
Magnitude Ratio =
2 A G ( jw )
= G ( jw )
2A
t
T
t
T
360o t
= G ( jw ) in degrees
cycle T
2 rad
T period =
rad
w
sec
2 rad T time shift and phase shift
10 Frequency Response
582
Transient
Positive Impulse
Steady-State
F0
v1g
m
___
sec
F0 sin(0t) 0
0
-F0
-2
=4
=2
0
t, sec
=8
10
15
__
T
__
0 = 2
2
__
0 = T
t, periods
3
__
0
Fig. 10.9 Sinusoidal force, F (t ) = F0 sin(w t ). Cross-hatching indicates the half cycle of positive impulse
Positive Impulse
F0
F0 sin(20t) 0
-F0
0
___
__
20 0
2
__
0
3
__
0
t, periods
Fig. 10.10 Doubling the frequency of the input force to 2w 0 halves the
duration of the positive impulse
Transient
Steady-State
F(t)
v1g
m
___
sec
-3
-5
FM
5
= 0.5
10
Transient
15
F(t)
10
v1g
FM
-5
=1
-6
0
t, sec
5
Transient
v1g
5
0
-3
-5
FM
-6
0
=2
2.5
10
F(t)
FM
Steady-State
m
___
sec
F(t)
N
-10
15
10
v1g
F(t)
N
FM
N
-10
5
t, sec
7.5
x 1g 2
m
1
0
=2
0
10
15
t, sec
20
25
Fig. 10.12 Displacement of the mass, x1g, for an input force frequency
of =2rad/sec, calculated by trapezoidal integration of the velocity, v1g
-3
FM
Steady-State
m
___
sec
F(t)
N
-10
25
20
t, sec
10
v1g
-6
v1g
583
10
Fig. 10.11 v1g, F(t), and the force acting to accelerate the mass, FM,
are plotted. The cross-hatch area is the impulse accelerating the mass
during the transient period. a Input force frequency, w = 0.5rad/sec.
Time shift, t=0.93sec. b Input force frequency, w = 1rad/sec. Time
shift, t=0.78sec. c Input force frequency, w = 2 rad/sec. Time shift,
t=0.56sec
10 Frequency Response
584
The steady-state phase angle, , of the mass-damper system is calculated below, by using the time shift data reported
in Fig.10.11. The negative sign indicates the velocity of the
mass peaks after, or lags, the input force. An output which
peaks before the input sinusoid is described as leading.
A leading output might seem to violate cause and effect.
Shouldnt the effect follow the cause? There is no violation
of causality. The lead of an output does not occur on the first
cycle during the transient period. It develops during the transient period, and is established by steady-state, as will be
illustrated with the spring-mass-damper system.
The period of the sinusoid is calculated as T = 2 /w .
rad
Input Frequency w = 0.5
sec
T
T
0.93sec
= 0.074 decimal fraction of a cycle
12.6 sec
T
T
0.78 sec
= 0.124 decimal fraction of a cycle
6.28 sec
T
T
0.56 sec
= 0.18 decimal fraction of a cycle
3.14 sec
0.18 2 rad = = 1.13 rad
0.18 360o = = 64.8o
Phase angle between the input force and the output velocity increases with increasing input frequency. We shall see
that the theoretical limit for a first-order system is 90o of
phase shift . At very low frequency, the input force and the
resulting velocity of the mass move together with an imperceptible phase shift. As the input frequency increases, the
momentum and kinetic energy of the mass prevent it from
reversing direction as quickly as the input force, leading to a
phase shift between the input and output.
There is a slight error in the phase angle, at the input
frequency, =1rad/sec, due to limited numerical precision.
The input frequency equal to one over the time constant of
a first-order system, w = 1 / rad/sec, is known as the systems corner frequency, and equals 45, as we shall see,
= 0.7
1.0
585
0.8
d
___
n 0.4
v1g
-1
0.2
0.4
0.6
Damping Ratio
0.8
= 2
b
K
F (s)
F ( s ) s + s + 100
s2 +
s+
M
M
The eigenvalues, s1 , s2 = j w , are s1 , s2 = 0.5 j 9.99.
The
ideal,
undamped,
natural
frequency
is
w n = K / M = 200 / 2 = 10. The damping ratio is
= 0.05. The resonant frequency of an underdamped system
is the actual, damped, frequency, d. The ideal, undamped,
natural frequency, n, is used for convenience. The difference between the damped frequency and the undamped natural frequency is less than 2% for the damping ratio <0.2,
and is one-tenth of 1% when the damping ratio =0.05,
Fig.10.13.
Figure10.14 shows the sinusoidal response of the springmass-damper system at the input frequencies of =8,
=10, and =12rad/sec. The bounding envelope for the
responses to the input frequencies of =8 and =12rad/sec,
Figs.10.14aandc, which are below and above the natural frequency, is a real exponential decay to a non-zero final value:
envelope(t ) = ( F0 G ( jw ) e t + F0 G ( jw ) )
-2
1.0
Fig. 10.13 Ratio of the observed, damped frequency, wd, over the ideal,
completely undamped, natural frequency wn plotted against damping
F0 |G(jw)|e + F0 |G(jw)|
m 0
___
sec
0.2
0
3
2
0.6
5 Steady-State
Transient
(10.5)
-3
t, sec
5 SteadyState
Transient
F0 |G(jw)|(1-e t )
v1g
=8
m 0
___
sec -2
-4
-6
= 10
0
t, sec
5 Steady-State
Transient
F0 |G(jw)|e + F0 |G(jw)|
v1g
m 0
___
sec -1
-2
-3
= 12
t, sec
10 Frequency Response
586
0.5
sin(10t)
0
+sin(11t)
v1g
m
___
sec
-1
-2
t, sec
Fig. 10.15 A beat results from the sum of two sinusoids of close to
equal frequencies. This beat is the sum of sin(10t) plus sin(11t)
Steady-State
t, sec
= 20
8
5
Transient
At the resonant frequency, Fig.10.14b, the bounding envelope is a stable exponential growth:
envelopew n (t ) = F0 G ( jw ) (1 e t )
(10.6)
-F0 |G(jw)|(1-e
-0.5
Transient
m
___
sec
Steady-State
F0|G(jw)|(1-e t)
0.2
v1g
10
-0.2
-F0 |G(jw)|(1-e t )
0
= 30
t, sec
Transient
-F0 |G(jw)|(1-e t )
0.2
= 40
v1g
m 0
___
sec
-0.2
t, sec
Fig. 10.16 The transient portion of the spring-mass-damper systems sinusoidal response at input frequencies, w = 2w n , w = 3w n , and
w = 4w n , the first three harmonics
T
T
+ 0.180 sec
= + 0.23 decimal fraction of a cycle
0.785 sec
587
a
2
v1g
m
___
sec
The input is the natural frequency of the system. The output, v1g, and the input, F(t) peak simultaneously. There is no
phase shift.
0
= No Phase Shift = 0
T
0.628 sec
rad
2
T=
= 0.524 sec
Input Frequency w = 12
sec
w
=
20
-2
=8
0
m
___
sec
t, sec
FM
F(t)
v1g
-35
100
T=0
50
2
0
-2
-50
-4
-6
= 10
0
t, sec
F(t)
N
FM
N
-100
5 Steady
-State
Transient
FM v1g
F(t)
40
20
v1g
0
-20
-1
o
-State
m 0
___
sec
0.112 sec
=
= 0.22 decimal fraction of a cycle
T
0.524 sec
FM
5 Steady
Transient
v1g
F(t)
N
-20
35
The output, v1g, peaks after the input, F(t). The output
lags the input. The phase angle is negative.
v1g
F(t)
rad
2
T=
= 0.628 sec
Input Frequency: w = w n = 10
sec
w
-State
-1
FM
5 Steady
Transient
-2
t, sec
FM
N
-40
= 12
0
F(t)
N
Fig. 10.17 Plots of the input force, F(t), the output velocity, v1g, and
the force acting to accelerate the mass, FM, of the spring-mass-damper
system. a Input force frequency w = 8rad/sec. The time shift is positive, t = + 0.18sec. The output leads the input. b Input force frequency
is the natural frequency, w = w n = 10 rad/sec. The time shift t=0 sec.
c Input force frequency w = 12 rad/sec. The time shift is negative,
t = 0.52sec. The output lags the input
10 Frequency Response
588
A sin(t)
G(s)
A|G(j) |sin(t+)
where = G(j)
=
Pole Zero Form G ( s ) = K p z
b
s+ p
F (s)
s+
M
An alternative form is the time-constant form
1
s + 1 V1g ( s )
b
Time Constant Form G ( s ) = K N
=
M
Ds +1
F (s)
s +1
b
V1g ( s )
F (s)
1
M
b
s+
M
G (s) =
1
2
2
s+
2
G (s) =
0.5
s +1
0.5
j 0.5 + 1
Handheld calculators with engineering functions can evaluate this ratio, and return a complex number in Cartesian or
polar form, which is the efficient approach. We will express
the numerator and denominator as complex exponentials, to
illustrate the contribution of the numerator and denominator
to the magnitude and phase angle, Fig. 10.19.
Recall from Sect.2.7 the magnitude of a complex number
is calculated by the Pythagorean Theorem. The Pythagorean
theorem uses the magnitudes of the real and imaginary
components. Remove the imaginary unit vector, j, from the
imaginary component before squaring that component, to
avoid error.
589
Im
Im
1+j0.5
j0.5
Re
= tan 1
-50
-40
-30
-20
0.5
= 0.46 rad=26.4o
(1 + j 0.5) = tan 1
1
1 + j 0.5 = 1.03e
j 0.46
0.5
0.5e j 0
=
j 0.5 + 1 1.03e j 0.46
ea
= ea b :
eb
Re
-10
10
-j5
G ( j 0.5) =
0.5e j 0
0.5 ( j 0 j 0.46)
e
=
j 0.46
1.03
1.03e
G2 ( s ) =
V1g ( s )
F (s)
0.5s
s 2 + s + 100
0.5( j12)
j6
=
( j12) 2 + ( j12) + 100 144 + j12 + 100
j10
j6
D
0.5
-44+j12
G2 ( j12) =
j6
44 + j12
rad = 90o j 6 = 6e
10 Frequency Response
590
= tan 1
G (s) =
j j 2.87
6 e 2
G2 ( j12) =
= 0.14e 2
j 2.87
42.3 e
j
j j 2.87
6 e 2
2
0.14e
G2 ( j12) =
=
42.3 e j 2.87
1
Output ( s )
=
s+2
Input ( s )
and excite it with a sinusoid of amplitude A and angular frequency , input (t ) = A sin(w t ). The Laplace transform of the
input is
Aw
Input ( s ) = L { A sin(w t )} = 2
s + w2
We multiply the transfer function, G(s), by the Laplace
transform of the input, to obtain the Laplace transform of
the output.
Input ( s )G ( s ) =
Aw
1
= Output ( s )
s2 + w 2 s + 2
1
Aw
s2 + w 2 s + 2
Aw
( s + jw )( s jw ) s + 2
B1
B2
C
+
+
s + jw s jw s + 2
A sin(t)
G(s)
591
A|G(j) |sin(t+)
where = G(j)
B2 =
Aw
1
Aw
=
( jw + jw ) jw + 2 2 jw ( jw + 2)
B2 =
( s + jw )( s jw ) s + 2
( s + jw ) =
C=
A
G ( jw )
2j
Aw
4 + w2
B1
B
C
( s + jw ) + 2 ( s + jw ) +
( s + jw )
s + jw
s jw
s+2
B2
Aw
1
C
= B1 +
( s + jw ) +
( s + jw )
w
w
2
+2
s
j
s
s
j
s
(
)
B2
Aw
1
C
= B1 +
+
( s + jw )
( s + jw )
s jw
s+2
( s jw ) s + 2 s = jw
s = jw
s = jw
B2
Aw
1
C
= B1 +
( jw + jw ) +
( jw + jw )
s+2
jw jw
( jw jw ) ( jw + 2)
B2
1
C
Aw
= B1 +
( jw + jw ) 0 +
( jw + jw )0
s+2
jw jw
( jw jw ) ( jw + 2)
Hence, the constant, B1, is
B1 =
Aw
1
Aw
=
( jw jw ) ( jw + 2) 2 jw ( jw + 2)
B1 =
A
2 j ( jw + 2)
Output ( s ) =
which becomes more intimidating, when the complex constants are substituted in:
Output ( s ) =
G ( s) =
1
s+2
B1
B2
C
+
+
s + jw s jw s + 2
A
1
G ( jw )
s + jw
2j
A
1
Aw
1
+
G ( jw )
+
2
2j
s jw 4 + w s + 2
That B1 and B2 are complex constants does not affect the inverse Laplace transformation. Constants, either real or complex, can be factored out of the inverse transform, because it
is a linear operator.
B
Output (t ) = L 1 1 + L
s + jw
B1
B2
C
+
+
s + jw s jw s + 2
B2
1 C
+L
s + 2
s jw
1
1
1
1 1
Output (t ) = B1L 1
+ B2L
+ CL
s + 2
s + jw
s jw
10 Frequency Response
592
1
at
=e
s
a
+
Therefore,
G ( jw ) =
Output (t ) = B1e
jw t
+ B2 e
j wt
+ Ce
2 t
Before dealing with the constants, B1, B2, and C, let us take
the limits of the exponentials as t . We will start with
the limit of e2t.
lim e 2t = e 2 =
t
G ( jw ) =
G ( jw ) =
or
cos( ) =
w2 + 4
w 2 + 4e
w
j tan 1
2
w
j tan 1
2
e j + e j
2
1 e j0
G ( jw ) =
jw + 2
w2 + 4 e
G ( jw ) =
sin( ) =
G ( jw ) =
lim e j w t = e j w
1 e j0
and
1
1
= =0
e2
1
G ( jw ) =
jw + 2
w2 + 4
1
w2 + 4
w
j tan 1
2
w
j tan 1
2
w
j tan 1
2
w2 + 4
and
G ( jw ) = N ( jw ) D( jw )
w
w
= 0 tan 1 = tan 1
2
and
G ( jw ) = G ( jw ) e j
A
A
G ( jw )e jwt +
G ( jw )e jwt
2j
2j
A
A
G ( jw ) e j e jwt +
G ( jw ) e j e jwt
2j
2j
A
G ( jw ) e j e jwt e j e jwt
2j
593
e j (w t + ) e j (w t + )
Output (t ) steady state = A G ( jw )
2j
Input(t) 0
(10.7)
-1
0
n =1
m =1
f (t ) = a 0 + an cos ( nw t ) + bm sin ( mw t )
(10.8)
w
2
t +
1
f (t )dt
(10.9)
t1
t1
and
w
bm =
f (t ) cos(nw t )dt
10
t +
1
f (t ) sin(mw t )dt
(10.10)
(10.11)
t1
These integrals are intimidating. Recall how to calculate angular frequency from the period of a signal.
w=
2
T
w 1
2
=
and
=T
w
2 T
The difference between the limits of integration is the period
of the fundamental frequency.
2
2
=T
t1 + t1 =
w
w
The integrals are evaluated over one period T, beginning at
any point in the cycle.
In the expression for a0, Eq.10.9, the integral of f (t )
with respect to time is multiplied by w / 2 = 1/ T . Hence,
the constant, a 0 , is the time average of the periodic signal,
f (t ). The constant a 0 is the vertical offset (also called a DC
offset) of f (t ) from zero.
The integrals for a n and bm , Eqs.10.10 and 10.11, yield
coefficients for the cosines and sines, inversely weighted for
the harmonic frequencies, n and m, respectively.
Recall from Calculus the integrals:
1
t +
1
t, sec
Fig. 10.22 Unit amplitude square wave with the period, T=2sec. Note
the tapered appearance due to the Heaviside unit step function being
assigned a value during its transition
10 Frequency Response
594
0.5
Three
Term 0
Series
v1g
m
___
sec
F(t)
-1
-1
0
t, sec
10
Fig. 10.23 Three term Fourier series approximation of a unit amplitude square wave with a period T=2sec of Fig.10.22
t, sec
10
0.5
Eight
Term 0
Series
v1g
m
___
sec
-1
0
t, sec
10
and
-0.5
F(t)
0
N
-1
-0.5
t, sec
10
is made reasonably large. That is not the case. The ringing at the corners of the approximate square wave is the
Gibbs phenomenon, named for the same J. Willard Gibbs
of Gibbs free energy, who identified the ringing as intrinsic
to a Fourier series approximation of a square wave using a
finite number of terms. Although the ringing at the corners
looks bad, in practice, it has little or no effect. The Fourier
series approximation of the square wave is accurate enough
for engineering applications.
Just how much fidelity do we need for a useful approximation? As it happens, in most applications, not much, because energy storage in systems is an integral process. This
is referred to as integral causality. Integration smoothens
sharp corners and obliterates fine details. Figure10.25 is the
response of the first-order mass-damper system with the parameter values, M=2 and b=2, to the unit square wave with
a period of T=2sec. The response of the same system to a
three-term Fourier series approximation of the square wave
is shown in Fig.10.26.
There is a slight wobble to the response to the three-term
Fourier series approximation. The transition is less sharp.
The differences between the response of the system to the
595
0.4
0.2
v1g
m
___
sec
G(s)
A|G(j) |sin(t+)
where = G(j)
-0.2
A sin(t)
Square Wave
Response
Three Term
Series Response
0
0.5
t, sec
1.5
Fig. 10.27 Comparison of the first cycle of the response of the massdamper system to the unit square wave input force, dark trace, and the
three-term Fourier series approximation of the square wave force, light
trace
square wave and to the three-term Fourier series approximation are difficult to see, unless they are superimposed and
enlarged over the first cycle, Fig.10.27.
Although an approximate square wave constructed from
three sinusoids is certainly not an exact replica, the superposition of the systems response to the three sinusoids resemble the response of the system to the square wave, within
the precision of most engineering modeling.
1 G ( jw )
1
= G ( jw )
( )
10a
10a
= 10a b log b = a b
b
10
10
(10.13)
(10 )
a b
(( ) ) = a b
and
( )
log c d = d log ( c )
(10.14)
10 Frequency Response
596
Sound Intensity =
and
(10.15)
Sound intensity is presented in decibels, because the pressure ratio can vary over a very large range. It could be reported as the logarithm of the pressure ratio. However, to
avoid working with decimal fractions, the logarithm of the
pressure ratio, a bel, is multiplied by 10 to yield a decibel
y dB = log10 ( x )
(10.17)
Unfortunately, an exception was created for the logical definition of a decibel above. A common use of the unit decibel
is in electrical power calculations. Electrical power is the
product the current flowing through an element and the voltage across the element. Using v = iR. electrical power can
be expressed as:
P = iv P = i 2 R or P =
v2
R
Back in the bad old days of slide rules, any step which reduced the effort of calculations, even only slightly, was considered worthwhile. Consequently, since
v2
v
log i 2 R = 2 log (iR ) and log = 2 log
R
R
( )
10
10
1
= 10a b
= b = 100 b
b
b
10
10
10
and
1
log = log (1) log ( c ) = 0 log ( c ) = log ( c ) (10.16)
c
10.5.2Decibels
A decibel, abbreviated dB, is a scaled logarithm. The bel and
the decibel were first used in acoustics. The bel is no longer
used, but the decibel, 10 or 20 times a bel, is still widely used
in acoustics and electrical engineering. You are probably
597
10
rad
, ___
100
1,000
10
100
1,000
sec
20
10
3
3
= log10 ( x ) 10 20 = 10log10 ( x)
20
0.15
10
= x = 0.708
3dB = 20 log10 ( x )
LB
LA
10 20
100
1,000
LA
LB
10 Frequency Response
598
Fig. 10.32 Log-magnitude Bode
plot of the velocity of the mass
of the first-order mass-damper
system
20
V1g(s)
0.5
_____
____
=
F(s)
s+1
log(0.5) = -0.30
log|G( j)| -1
-20
-2
-40
-3
0.01
0.1
V1g ( s )
F (s)
1
M
b
s+
M
G1 ( s ) =
F (s)
0.5
s +1
An important reference on the log-magnitude axis is the logmagnitude=0 line. What is the value of any base raised to the
zero power, i.e., e0 or 100? One. The value of log G ( jw ) = 0
indicates that the magnitudes of the input and output variable
are equal.
log G ( jw ) = 0 antilog ( log G ( jw ) ) = 10
2 ( 1) 1
1
20 dB
=
or
rad 10 decade
decade
100
sec
rad
10
sec
log G ( jw )
100 = 1 G ( jw ) = 1
Notice that between the lower input frequency limit of
w = 0.01 and w = 0.2,, the log-magnitude plot is horizontal or flat, with a value of log G ( jw ) = 0.30. The trace
curves downward over the frequency range of approximately w = 0.4 to w = 2. This is the knee of the trace.
We will identify the corner frequency in this range. The
plot appears to be virtually straight over the frequency range
above the knee to the upper frequency limit of the plot.
Notice that the trace passes through log G ( j10) = 1 and
log G ( j100) = 2. Again, the increase of frequency by a
-60
100
V1g ( s )
10
rad
Input Frequency , ___
sec
|G( j)|, dB
1
M
s+
b
M
wc =
b
M
(10.19)
1
s
V1g ( s )
0.5s
M
=
G2 ( s ) =
= 2
b
K
(
)
F (s)
F
s
+
s
s + 100
s2 +
s+
M
M
(10.20)
V1g ( s )
599
rad
___
Corner Frequency, c = 1 sec
1
V1g(s)
0.5
_____
____
=
F(s)
s+1
0
log(0.5) = -0.30
-1= -20 dB
log|G( j)| -1
-3
0.01
0.1
-20
V1g(s) _________
0.5s
_____
= 2
F(s)
s + s +100
-1
0
-20
-2
-40
-3
-60
-4
-80
-5
0.1
|G( j)|, dB
-60
100
10
rad
Input Frequency , ___
sec
log|G( j)|
-40
-2
20
10
100
1,000
|G( j)|, dB
-100
10,000
rad
Input Frequency , ___
sec
The slope of the low frequency line is +1, or +20dB, per decade of increase in the input frequency. The slope of the high
frequency line is 1, or 20dB, per decade of increase in the
input frequency. The intersection of the straight lines superposed on the low and high frequency portions of the trace
defines the corner frequency, c=10 rad/sec, Fig. 10.35.
To understand the Bode plot of this transfer function, we
will take the transfer function apart by using the properties of
logarithms, and then plot the individual factors.
a b
1
= log(a ) + log(b) + log
log
c
c
0.5s
log(G2 ( s )) = log 2
s + s + 100
1
10 Frequency Response
600
Fig. 10.35 Log-magnitude Bode
plot of the velocity of the mass
of the second-order spring-massdamper system, annotated with
straight lines fit to the low and
high frequency segments of the
trace
rad
Corner Frequency, c = 10 ___
sec
0
V1g(s) _________
0.5s
_____
= 2
F(s)
s + s +100
-1
log|G( j)|
-2
0
-20
-40
-3
-60
-4
-80
-5
0.1
10
|G( j)|, dB
-1= -20 dB
+1= +20 dB
100
1,000
-100
10,000
rad
Input Frequency , ___
sec
Fig. 10.36 Log-magnitude Bode
plot of the transfer function factors, 0.5 and s. The logarithm of
the magnitude of j has a slope
of +1, or +20dB, per decade
rad
log|j|=0 at = 1 ___
sec
log|G( j)|
80
60
log|j|
+1= +20 dB
40
|G( j)|, dB
20
log|0.5|
0
log(0.5) = -0.30
-1
0.1
10
100
1,000
-20
10,000
rad
Input Frequency , ___
sec
log(K) is positive, and the vertical shift is upward by the
value of log(K). Conversely, if K<1, then log(K) is negative,
and the vertical shift is downward by the value of log(K).
The straight lines superposed on the low and high
frequency portions of the log-magnitude Bode plot,
1 / ( s 2 + s + 100), intersect at the corner frequency of
w c = 10 rad/sec. The corner frequency of an underdamped
second-order factor is its natural frequency. There is a distinct resonant peak in this log-magnitude plot, due to
the factors low damping ratio, =0.05. The low-frequency
value of the log-magnitude curve equals the log(1/100).
The straight line superposed on the trace for frequencies
greater than the corner frequency has the slope of 2 or
40dB per decade, twice the slope of the similar line of the
first-order transfer function, Fig.10.33.
601
rad
Corner Frequency, c = 10 ___
sec
0
1
___________
log
(j) 2 +j+100
( (
1
log ___
= -2
100
log|G( j)|
-40
-80
-4
-2= -40 dB
|G( j)|, dB
-120
-6
-8
0.1
10
100
1,000
-160
10,000
rad
Input Frequency , ___
sec
Fig. 10.38 A family of log-magnitude Bode plots showing the
effect of damping ratio on the
resonant peak. The input frequency is normalized (divided) by the
natural frequency of the system.
Note that the numerator of G(s)
is w n2 , giving the magnitude of
the transfer function the value
of one and the log-magnitude of
zero at low frequencies
1.5
30
= 0.02
1.0
20
= 0.05
= 0.1
10
0.5
= 0.2
log|G( j)|
dB
= 0.3
= 0.4
0.0
0.0
= 0.5
= 0.6
= 0.7
= 0.8
= 0.9
= 1.0
-0.5
-10
-20
-1.0
G(s) =
-1.5
0.1
n2
_____________
2
s + 2ns + n2
1
-30
10
10 Frequency Response
602
Fig. 10.39 Bode phase-angle
plot of the mass-damper system
rad
___
Corner Frequency, c = 1 sec
0o
V1g(s)
0.5
_____
____
=
F(s)
s+1
-15 o
-30
G(j) -45 o
-60 o
-75 o
-90 o
0.01
0.1
10
100
rad
Input Frequency , ___
sec
10.5.5 Phase-Angle Bode Plots
The phase angle of a transfer function can be calculated in
two ways. The first is to evaluate the transfer function in its
entirety. The second is to evaluate the numerator and denominator individually, then subtract the angle of the denominator from the phase angle of the numerator, to find the phase
angle of the transfer function.
G jw = N ( jw ) = N jw D jw
( )
( )
( )
D ( jw )
(10.21)
Bode phase-angle plots are one of the few instances in engineering, when dissimilar units for the same quantity are
used on the same plot. The units in this case are angular
measures. Quotations are placed around units, because all
angular measures are, in fact, dimensionless. A radian can be
seen as dimensionless from its definition: The angle which
subtends an arc of length, L, on a circle with radius R is
radians =
arc length L
radius R
It is not obvious that the angular measure of degrees is also
dimensionless, but it is. A degree is defined as the angle,
which subtends an arc length equal to 1/360 of the circumference of a circle. A degree is not an arc length. A degree is
a dimensionless ratio of lengths, an arc length over the circumference. Revolutions and cycles are also dimensionless
ratios, again, arc length over circumference.
In phase-angle Bode plots, it is common for the input frequency, , to be expressed in rad/sec, and the phase angle,
, to be expressed in degrees. The input frequency must be
in radians per second, to calculate either the magnitude or
the phase angle of the transfer function. The resulting phase
angle is then reported in the units we choose. Degrees have
two advantages over radians. It is much easier to visualize
an angle in degrees. Visualizing an angle in radians, other
than a common fraction or an integer multiple of , requires
a mental calculation to convert from radians to degrees or
a fraction of a circle or semicircle. Secondly, frequency response data are often used in graphical vector constructions.
Protractors are marked in degrees, not radians.
V1g ( jw )
0.5
0.5
=
s +1
F ( jw )
jw + 1
Recall from Sect.2.7.1.1, the difference between two vectors, Z1Z2, is the vector drawn from the tip of Z2 to the tip
of Z1, as shown in Fig.2.16, reproduced here for reference.
A complex number in Cartesian form is a sum. If we
express the sum, j+1, as a difference by a double-sign
inversion:
jw + 1 = jw ( 1)
603
Imaginary
-Z2 = -(3+j)
Z 1= -2+j2
Z 3= Z 1- Z 2
= (-2+j2)-(3+j)
= -5+j
-6
-5
Z 3= Z 1 - Z 2
-4
-3
-2
s = j
_
j ___
+1
_
j ___
-(- _
1)
p = -1
-p = 1
Re
1
1
= lim
= lim
lim
jw + 1
jw ( 1)
F ( jw )
V1g ( jw )
lim
= lim 1 ( jw ( 1)) = = 90o
2
F ( jw )
3 Real
-j
repeated roots of the characteristic equation. The phase-angle plot of a critically damped system is Fig.10.41.
Z 2 = 3+j
-1
-Z2 = -(3+j)
Im
j2
( s w
w n2
s 2 + 2w n s + w n2
w n2
+ jw n 1 2
)( s w
jw n 1 2
(10.22)
10 Frequency Response
604
Fig. 10.41 Bode phase-angle
plot of a critically damped
second-order system with corner
frequencies, w c = 1rad/sec
rad
___
Corner Frequencies, c = 1 sec
0
-45
0.25
G(s) = __________
(s + 1)(s+1)
G(j) -90 o
-135
-180
0.01
0.1
10
100
rad
Input Frequency , ___
sec
rad
Corner Frequency, c = 10 ___
sec
90
45
V1g(s) _________
0.5s
_____
= 2
F(s)
s + s +100
G(j) 0 o
-45
-90
0.1
10
100
1,000
10,000
rad
Input Frequency , ___
sec
The input frequency is normalized by the systems natural
frequency, which is also the corner frequency of an underdamped second-order system. The numerators angle is
zero, since it is a positive real number, and angles are measured from the positive real axis. The phase angles begin
at zero at the lower limit of the normalized frequency axis.
All of the phase-angle curves pass through a phase angle
of 90o, when the input frequency, , equals their natural
frequency, n.
The phase angle of an underdamped second-order factor can be understood by the constructions in a complex
plane, shown in Figs.10.44 and 10.45 of the denominator of Eq.1.21. Underdamped systems have complex
605
0o
-45 o
= 0.02
= 0.05
= 0.1
= 0.2
= 0.3
= 0.4
= 1.0
= 0.9
= 0.8
= 0.7
= 0.6
= 0.5
G(j) -90 o
-135 o
G(s) =
-180 o
0.01
0.1
b
-p1
jd= j n 1- 2
s-(-p1)
Im
2)
s = jd= jn 1-2
s-(
Re
Re
= - n
p
-(-
100
-p
(-p
s = j = 0
= - n
10
Im
-p1
s-
n2
_____________
s 2 + 2s + n2
-p2
10.6Asymptotic Approximation
of the Log-Magnitude Bode Plot
An understanding of frequency response is enhanced by the
ability to sketch the Bode log-magnitude and phase-angle
curves. Sketches of the log-magnitude plot will be reasonably
2
-jd = -jn 1-2
-p2
G ( jw ) =
(
(x
)( x
)( x
K xN1 + jy N1
D1
+ jyD1
G ( jw ) =
N2
D2
) (
) ( x
+ jy N2 xNm + jy Nm
+ jyD2
xN + jy N
= x + jy
xD + jyD
Dn
+ jyDn
)
(10.23)
10 Frequency Response
606
Rays of Equal
0.7
s = j > jd
0.4
0.2 0.05
0.6 0.5
0.3 0.1 j
s(-p
1)
Im
0.8
Moving a pole
toward the imaginary
axis decreases its 0.9
damping ratio
-p1
jd = jn 1-2
s-(-p
2)
0.95
Re
= - n
2
-p2
Fig. 10.46 Rays from the origin of the s-plane of equal damping ratio,
where N and D are the angles of the numerator and denominator. We can collect the magnitudes and angles as
xN + jy N e j N
x + jy N j N jN
e e
G ( jw ) = N
j D
xD + jyD e
xD + jyD
G ( jw ) =
G ( jw ) =
In order to sketch Bode log-magnitude and phase-angle
plots, we will express the ratio of two complex numbers as
the product of the magnitude and complex exponential unit
vectors:
G ( jw ) =
s-plane
j x + jy
G ( jw ) =
(
(x
D1
+ jyD1
K xN1 + jy N1 e
xD1 + jyD1 e
j N1
j D1
j
e ( N D)
xN + jy N
log
= log xN + jy N log ( xD + jyD
xD + jyD
(10.24)
(10.25)
(10.26)
)( x
)( x
K xN1 + jy N1
xD + jyD
x + jy N e ( N N )
xN + jy N e jN
xN + jy N
= N
=
xD + jyD
xD + jyD e jD
xD + jyD e j( xD + jyD )
G ( jw ) =
xN + jy N
N2
D2
) (
)( x
+ jy N2 xNm + jy Nm
+ jyD2
xN2 + jy N2 e
xD2 + jyD2 e
j N 2
j D2
Dn
+ jyDn
xNm + jy Nm e
j N m
G ( jw ) =
j N1
j D1
j N 2
j D2
j N m
e jDm
607
G ( jw ) =
j D1 + D2 ++ Dm
ec
= ec d , which yields:
ed
G ( jw ) =
j N1 + N 2 ++ N m
((
)(
j N1 + N 2 ++ N m D1 + D2 ++ Dm
xN + jy N xN + jy N xN + jy N
1
1
2
2
m
m
log magnitude = log K
))
( (
and
) (
Phase Angle = N1 + N2 + + Nm D1 + D2 + + Dm
))
G (s) =
(s + a)(s
Ks
2
+ 2w n s + w n2
(10.27)
( s + a ) = a
s
+ 1
a
(10.28)
10 Frequency Response
608
(s + a)(s
Ks
2
+ 2w n s + w n2
Ks
s 2 2w n s
s
a + 1 w n2 2 +
+ 1
a
w n2
wn
G (s) =
K
s
aw n2
2
2w n s
s s
+
1
+ 1
2 +
a
w n2
wn
The purpose of the asymptotic forms for first and secondorder factors becomes clear, when we consider the log-magnitudes of the factors in the limiting cases of low and high
frequencies.
10.6.2Asymptotic Approximation
of First-Order Factors
We will first consider the limiting cases of log-magnitude of
1
1
startfirst-order factor s
evaluated as log j w
+1
+ 1
a
a
ing with the low-frequency limit:
Low-frequency limit:
1
1
= log j 0
= log 1 = 0
lim log j w
w 0
1
+1
+1
The low-frequency limit establishes one of the two asymptotes. Recall the first-order transfer function for the massdamper system has the flat, or nearly horizontal lowfrequency portion of its log-magnitude curve, which corresponds to this asymptote. Recall the log-magnitude=0 line
means that at the input frequency, , the output variables
sinusoid has the same amplitude as the input sinusoid.
G ( jw ) =
log G ( jw ) = log
Output ( jw )
=1
Input ( jw )
Output ( jw )
= log (1) = 0
Input ( jw )
GFirst ( s ) =
Order
K
s+ p
K
=
s+ p
K
1
=
s p s
+1
p + 1
p
K
K 1
log GFirst ( jw ) = log p jw
+1
Order
p
1
K
w
j
log GFirst ( jw ) = log
+ log
+1
p
Order
p
Consequently, the log-magnitude curve of a first-order transfer function has a constant gain factor, log( K /p ), which,
when summed to the first-order factors log-magnitude
curve, shifts the curve for the transfer function vertically.
The frequency at which the two asymptotes intersect is
called the corner frequency, even though it is not a right
angle. The corner frequencies of both first- and underdamped
second-order factors have physical significance. The corner
frequency of an underdamped second-order factor is the undamped natural frequency, n. What does the corner frequency
of a first-order factor correspond to, when a first-order factor
cannot oscillate? The time constant, , is the quantity, which
provides the units of time in the denominator of the corner frequency of a first-order factor. Recall that all angular measures
are dimensionless. Although we write the units of angular frequency, , as radians per second, the dimensions are
1
[w ] = sec =
c
K
K
K
1
G First ( s ) =
=
s+ p
s+ p p s
Order
p + 1
K 1
K
1
=
= wc = p
s + p p ( s + 1)
s+z
s pole = p and szero = z
s+ p
Output ( jw )
Output ( jw )
=
Input ( jw )
Input ( jw )
The reverse process, that of scaling the normalized magnitude data to the magnitude of the input we expect, is one application of the log-magnitude Bode plot. Normalization and
the reverse process of scaling only work, if the system can be
reasonably modeled as linear. The further the system is from
an ideal linear system, the greater the error.
In the bad old days, templates with the knee curve of firstorder log-magnitude traces were sold at bookstores. Most
engineers calculated, or remembered, the attenuation of the
true first-order log-magnitude curve at the corner frequency,
3dB, and then blended in a smooth curve meeting the asymptotes, at frequencies of approximately 2.5 times above
and below the corner frequency.
The error between the log-magnitude approximation and
the true first-order log-magnitude trace at the corner frequency is the same in all cases, because the curve is normalized.
The approximation has no attenuation at the corner frequency, whereas the true value is
V1g ( jw c )
F ( jw c )
V1g ( jw c )
F ( jw c )
log
1
j +1
V1g ( jw c )
F ( jw c )
jw c + 1
=
1
j1 + 1
1
12 + 12
1
2
= 0.707
V1g ( jw c )
F ( jw c )
We now evaluate the high frequency limit of log-magnitude of the first-order denominator factor:
1
1
1
lim log j w
log
=
= log
j
w
+
1
+
1
j
a
a
log
1
j
The high frequency limit of the log-magnitude is negative infinity. We need more information to establish the high-frequency
asymptote. We will determine the frequency at which the additive term, one, and the reciprocal factor, 1/a, become negligible,
relative to j. We evaluate the log-magnitude of the factor for
the input frequency equal to corner frequency, w = w c = a : v
1
1
1
log j w c
= log j a
= log
+1
+1
j +1
a
a
1
log
= log (1) log j + 1
j +1
log (1) log
( 1 + 1 ) = 0 log ( 2 ) = 0.1505
2
In decibels,
20 log
609
1
1
1
log j 100w c
= log j 100a
= log
+1
+1
j100 + 1
a
a
log (1) log j100 + 1 = log (1) log
( 100 + 1 )
2
1
= 0 log (100.005) = 2.00
log j 100w c
+1
a
The resulting log-magnitudes of the first-order factor,
evaluated at the frequencies of w = w c , w = 10w c , and
w = 100w c , are presented in Table10.1.
We see that the slope of the log-magnitude curve is
negative one per decade, between one and two decades in
10 Frequency Response
610
Table 10.1 Change in the log-magnitude of a first-order transfer function in the first two decades above the corner frequency
Change of a decade
Log(|G(j)|)
Input frequency
increase in frequency
c
0.1505
10c
1.0022
0.8517
100c
2.0000
0.9978
G (s) =
w n2
1
= 2
2
2
2w n s
s + 2w n s + w n
s
+
+1
w n2
w n2
lim
w 0
10.6.3Asymptotic Approximation of
Underdamped Second-Order Factors
( jw )
w
2
n
1
2
2w n jw
2
n
+1
( j 0)
w
2
n
2w n j 0
2
n
+1
=1
1
_
Corner Frequency c =
log| j+1 |
1
log _____
j+1
60
40
+1
20
1 decade
1 decade
-1
-20
-1
-2
-3
0.1
dB
-40
10
100
-60
1,000
611
0.15
log
Error
0.10
log|G(j)|
0.05
( jw )
w
Error
dB
= log j w
0.1
0
100
10
2w n jw
w n2
+1
= log
( jw )
w
1
2
n
2
n
2w n jw n
w n2
wn
1
1
log
= log
j 2
1 + j 2 + 1
log
j 2
j wn
2
n
+1
( jw )
w
1
2
2w n jw
2
n
+1
w n2
= log
( j10w n )
1
2
log j 2 100w n2
w n2
1
210w n jw n
w n2
210w n jw n
w n2
w n2
+1
+1
1
= log j 100 w
2
w
log
log
1
2 w n j w n
log j w
= log 2
1
+
+
j + j 2 + 1
2
2
log
2
n
2
n
210 w n j w n
w n2
+1
1
2
= log (1) log 992 + ( 20 )
100 + j 20 + 1
+1
2
n
wn
( 2)(0.5) w n
2
n
2
n
1
1
= log
j 2 + ( 2)( 0.5) j + 1
1 + j + 1
log
Fig. 10.48 Error between asymptotic approximation and true firstorder denominator factor log-magnitude curve. Positive error means
that the approximation was greater than the curve. The error curve is
inverted for a first-order numerator factor
w n2
w n2
( jw )
2
n
log
( 2)(0.5) w n jw + 1
0
0.01
( jw )
w
2
n
1
2
2w n jw
w n2
+1
= log
( j100w )
1
2
2
n
2100w n jw n
w n2
+1
1
= log j 10000 w
2
2
n
2
n
2100 w n j w n
w n2
1
= log
10000 + j 200 + 1
= log (1) log 9,999 + j 200 + 1
2
= 0 log 9,9992 + ( 200 )
+1
10 Frequency Response
612
Table 10.2 Change in the log-magnitude of an underdamped second-order transfer function in the first two decades above its corner
frequency
Input frequency Log(|G(j)|) Change of a decade increase in
frequency
n
0.3010
2.0043
1.7033
10n
4.0000
1.9957
100n
log
( jw )
w
2
n
1
2
2w n jw
2
n
+1
= 0 log ( 2) = 0.3010
=10n:
log
( jw )
w
2
n
1
2
2w n jw
2
n
+1
992 + 202
= 0 2.0043 = 2.0043
=100n:
log
( jw )
w n2
1
2
2w n jw
w n2
+1
2
= log (1) log 99992 + ( 200)
= 0 4.0000 = 4.0000
Summarizing the results in Table 10.2, we see that for =1,
the slope of the curve equals negative two per decade by
within a decade above the corner frequency. The equivalent
slope is 40dB per decade in decibels.
The asymptotic approximation of the log-magnitude curve
of an underdamped second-order denominator factor is plotted on top of the true family of curves, Fig.10.49. Note that
the best agreement between the asymptotic approximation
and the actual log-magnitude curves is for =0.6. The
1.5
30
= 0.02
1.0
20
= 0.05
= 0.1
0.5
10
Asymptotic
Approximation
log|G( j)|
= 0.2
0.0
= 0.5
= 0.6
= 0.7
= 0.8
= 0.9
= 1.0
-0.5
-1.0
-1.5
dB
= 0.3
= 0.4
-10
-20
1
_____________
G(s) = 2
2s
s
__
+ ___ + 1
n2
n
0.1
-30
10
613
Corner Frequency c = n
( j) ____
2 j
log ___
+ +1
n
2n
1
____________
2
log (___
j) ____
2 j
+ +1
2
n
n
80
60
40
+2
20
1 decade
1 decade
dB
-20
-1
-2
-2
-40
-60
-3
-4
0.01
0.1
10
-80
100
Ks
( s + a ) s 2 + 2w n s + w n2
s ( s + a ) s 2 + 2w n s + w n2
1
= log (1) log (w ) = 0 log (w ) = log (w )
jw
1
= log (1) log (10w ) = 0 log (10w )
j10w
contributes to the log-magnitude Bode plot across the frequency spectrum. Neither has a corner frequency.
10.6.4.1Log-Magnitude of Integrator
and Differentiator Factors
A differentiator contributes the log of the input frequency to
the log-magnitude Bode plot
decreases the log-magnitude of the integrator factor by negative one. The slope of the integrators contribution to the
log-magnitude plot is negative one, or 20dB, per decade
increase in frequency.
Locating the straight log-magnitude line of a differentiator or integrator is easiest at either the lower limit of the input
frequency, or at the input frequency, w = 1. Note that the logmagnitude line of both the integrator and the differentiator
log jw = log (w )
Using the fact
log ( a b ) = log ( a ) + log (b ) .
10 Frequency Response
614
log| j |
| |
1
log
j
60
40
20
-1
-20
-2
-40
-3
0.1
10
100
dB
-60
1,000
rad
Input Frequency , ___
sec
j
s-plane
s = j
s=
j = __
2
1
= e a
ea
1
1
1 j
=
= e 2
s jw w
(10.30)
1
__
=
s
3
__
1
__
=
j
2
1
__
=
s
1 - __
__
=
j
2
1 __
1
__
=
s
j
1
1
= log = log (1) log (1) = 0 0 = 0
j
j
1
1
=
=
s
jw ejw
we
Ks
( s + a ) ( s 2 + 2w n s + w n2 )
Ks
s 2 2w n s
s
a + 1 w n2 2 +
+ 1
a
w n2
wn
K
s
G (s) = 2
2
w
a
n s s
2w n s
+ 1
+ 1 2 +
a
w n2
wn
615
Corner Frequency c = 8
1
20
Gain = log(4)=0.6
0.6
0
12 dB
0
1
___
1s+1
__
8
1 decade
log|G(j)| -1
-1
Integrator
-20
dB
-1
1 decade
-2
-3
0.1
10
-40
100
-60
1,000
rad
Input Frequency , ___
sec
K
.
aw n2
6 Calculate the log-magnitude range, by finding the difference between the sums of the log-magnitude of the factors at
the lower and upper frequency limits.
7 Sketch Two. Starting from the lower frequency limit, sum
the log-magnitudes, working from left to right.
32
s ( s + 8)
32
=
s ( s + 8)
32
s
s 8 + 1
8
G1 ( s ) =
4
s
s + 1
8
10 Frequency Response
616
Fig. 10.54 Asymptotic approximation of the log-magnitude of the transfer function,
G ( s ) = 32/s ( s + 8)
Corner Frequency c = 8
2.0
1.6
40
32 dB
1 decade
-1
0
log|G(j)| -2.0
-40
1 decade
dB
-2
-4.0
-80
4
G1(s) = _________
s
s ___
+1
8
-6.0
0.1
10
-120
1,000
100
rad
Input Frequency , ___
sec
Log Magnitude at the Lower Frequency Limit:
1.0 + 0.6 + 0 = 1.6
G2 ( s ) =
32 ( s + 2)
2
s s + 30 s + 200
s1 = 10 and s2 = 20
32 ( s + 2)
2
s s + 30 s + 200
32 ( s + 2)
s ( s + 10)( s + 20)
s (10) + 1 ( 20) + 1
10
20
32 ( s + 2)
(32)( 2)
s
0.32 + 1
2
G2 ( s ) =
s
s
s + 1 + 1
10 20
617
Corner Frequency c = 8
2.0
1.6
40
32 dB
Asymptotic
Approximation
log|G(j)| -2.0
-4.0
True Log
Magnitude Curve
-40
-80
4
G1(s) = _________
s
s ___
+1
8
-6.0
0.1
dB
10
-120
1,000
100
rad
Input Frequency , ___
sec
Fig. 10.56 Asymptotic
approximations of the logmagnitudes of the factors
of the transfer function,
G ( s ) = 32( s + 2)/( s ( s + 10)( s + 20))
Corner Frequencies c = 10
c = 20
c = 2
40
2.0
1.0
Integrator
__
1s + 1
2
1 decade
+1
-1
log|G( j)|
1
___
1 s+1
___
10
log(0.32) = -0.5
20
1 decade
-1
-1
1 decade
0.1
10
100
dB
-10
1 decade
Gain = 0.32
-1.0
-2.0
1
___
-20
1 s+1
___
20
1,000
-40
10,000
rad
Input Frequency , ___
sec
3 Identify the corner frequencies. The three first-order factors
have corner frequencies of w c1 = 2, w c 2 = 10, and w c3 = 20.
4 Estimate the frequency range. The lowest corner frequency
is in the decade, w = 1 to w = 10 . The highest corner frequency is in the decade, w = 10 to w = 100. The estimated
frequency range for the Bode log-magnitude plot is from
w = 0.1 to w = 10, 000.
5 Sketch One, Fig.10.56. Sketch the individual factors contributions to the log-magnitude plot.
10 Frequency Response
618
Fig. 10.57 Asymptotic
approximation of the logmagnitude Bode plot
of the transfer function,
G2 ( s ) = 32( s + 2)/( s ( s + 10)( s + 20))
Corner Frequencies c = 10
c = 20
c = 2
1.0
20
1 decade
-1
1 decade
-1.0
-20
-1
-40
-2.0
1 decade
-2
-4.0
-5.0
( )
( )( )
0.1
10
dB
-80
-100
s
___
+1
0.32
2
___________
-6.0 G2(s) =
s
s
___
s ___
+1
+1
20
10
-7.0
-60
-120
100
1,000
rad
Input Frequency , ___
sec
-140
10,000
Corner Frequencies c = 10
c = 20
c = 2
1.0
20
Asymptotic
Approximation
0
-1.0
-20
-2.0
-40
True Log
Magnitude Curve
-60
-5.0
-100
( )
( )( )
s
___
+1
0.32
2
___________
-6.0 G2(s) =
s
s
___
s ___
+1
+1
20
10
-7.0
3.70.52.7346.5
7 Sketch Two, Fig.10.57: Sum the factors to create the composite log-magnitude line for the transfer function. Work
from low frequency to high frequency. Sum the slope at each
inflection point.
Comparison of the asymptotic approximation and the true
log-magnitude curve, Fig.10.58, reveals greater error than
dB
-80
-4.0
0.1
10
-120
100
1,000
rad
Input Frequency , ___
sec
-140
10,000
in Example One. The asymptotic approximation for a firstorder factor has minimum error, if there are no other corner
frequencies in the frequency band of the knee region of the
true curve. In this example, the two first-order denominator
factors knee regions overlap with each other and with knee
of the first-order numerator factor. This leads to an accumulation of error between the asymptotic approximation and the
true curve.
619
Corner Frequencies
c = 2 c = 20
1.0
20
Differentiator
+1
1
_________
s2 _____
30s
_____
+
+1
400 400
1 decade
log|G( j)|
log(0.165) = -0.78
-1.0
1
____
s
__
+1
2
-2.0
-3.0
0.1
( s + 2) ( s
132 s
2
+ 30 s + 400
s1 , s2 = 15.0 j13.2
132 s
( s + 2) ( s 2 + 30s + 400)
132 s
s2
30
s
2 + 1 400
s + 1
+
2
400 400
G3 ( s ) =
0.165s
2
30
s s
s + 1
+
+ 1
2
400 400
1 decade
Gain = 0.165
dB
-15.6
-20
-2
-1
1 decade
10
100
-40
1,000
rad
Input Frequency , ___
sec
-60
10,000
10 Frequency Response
620
Fig. 10.60 Asymptotic approximation of the log-magnitudes of the transfer function,
G3 ( s ) = 132s /(( s + 2)( s 2 + 30 s + 400))
Corner Frequencies
c = 2 c = 20
20
1
0
1 decade
-20
-1 +1
-2
1 decade
log|G( j)| -3
-2
-40
-60
dB
-80
-4
-100
132s
___________
G3 (s) =
-6
-120
30s
s2
s + 1 _____
__
+ _____ + 1
400 400
2
-7
-140
0.1
1
10
100
1,000 10,000
-5
)(
rad
Input Frequency , ___
sec
Corner Frequencies
c = 2 c = 20
20
Asymptotic
Approximation
-20
-1
-2
-40
log|G( j)| -3
-60
-6
132s
G3 (s) = ___________
s2
30s
s + 1 _____
__
+ _____ + 1
400 400
2
-7
0.1
dB
-80
-4
-5
)(
10
100
-100
-120
-140
1,000 10,000
rad
Input Frequency , ___
sec
621
Corner Frequencies
c = 2 c = 20
1
20
True Log
Magnitude Curve
= 0.075
-1
-20
Asymptotic
Approximation
-2
-40
log|G( j)| -3
-60
-4
-80
-5
-6
-100
132s
G4 (s) = ___________
3s
s 2 _____
s + 1 _____
__
+
+1
400 400
2
)(
-7
0.1
10
dB
-120
-140
1,000 10,000
100
rad
Input Frequency , ___
sec
Corner Frequency c = 8
45 o
0
-45
0.785
( )
1
__
s
o
G( j) -90
-0.785
Rad
-2.36
-3.14
-225
0.1
-1.57
G1(s)
-135o
-180
1
____
s+8
32
________
G1(s) =
s(s + 8)
1
10
100
-3.93
1,000
rad
Input Frequency , ___
sec
10.6.7.1 Example One: Phase-Angle Bode Plot
It is not necessary to express a transfer function in the asymptotic approximation form, in order to create its phase-angle Bode
plot, Fig. 10.63. It is important to factor the transfer function.
Each factor contributes to the angle of the transfer function.
G1 ( s ) =
32
G1 ( s ) =
s ( s + 8)
32
4
=
s
s
8s + 1 s + 1
8
8
s
G1 ( s ) = ( 4) s + 1 = 0 ( s ) + + 1
8
8
s
G1 ( s ) = 0 90o + + 1
8
s 2 + 30 s + 200 = 0 s1 = 10 and s2 = 20
s 2 + 30 s + 200 = ( s + 10)( s + 20)
G2 ( s ) =
32 ( s + 2)
2
s s + 30 s + 200
32 ( s + 2)
s ( s + 10)( s + 20)
10 Frequency Response
622
Fig. 10.64 Phase-angle Bode
plot of the factors of and the
complete transfer function,
G2 ( s ) = 32( s + 2) / ( s ( s + 10)( s + 20))
c = 10
c = 20
Corner Frequencies c = 2
90
1.57
(s + 2)
1
( s_____
+ 10 )
1
( s_____
+ 20 )
( )
1
_
s
G( j)
-90
-180
( )
( )( )
0.1
Rad
-1.57
G2(s)
s
___
+1
0.32
2
___________
s
s
___
s ___
+1
+1
20
10
G2 (s) =
-3.14
10
100
1,000
rad
Input Frequency , ___
sec
Corner Frequencies c = 2
90
c = 20
s
1.57
G3(s)
G( j) 0o
-90
1
_______
s 2 + 30s + 400
G 3(s) =
-180
0.01
1
____
s+2
Rad
-1.57
132 s
__________
(s + 2)(s 2 + 30s + 400)
0.1
10
100
-3.14
1,000
rad
Input Frequency , ___
sec
32 ( s + 2)
G2 ( s ) =
s ( s + 10)( s + 20)
Check the eigenvalues of the second-order factor. The eigenvalues are complex conjugates. Keep the second-order
polynomial in its current form.
s 2 + 30 s + 400 = 0 s1 , s2 = j w d = 15 j13.2
= ( 32 + ( s + 2))
( s + ( s + 10) + ( s + 20))
w n = 200 = 20 =
30
= 0.75
2w n
623
132 s
G3 ( s ) =
2
( s + 2) s + 30 s + 400
180
= (132 s ) ( s + 2) s 2 + 30 s + 400
= 132 0 + s
90
))
( s + 2) + s 2 + 30s + 400
))
arg(G( j)) 0o
))
-90
-180
0.1
)(
s 2 + s + 4 s 2 + 20 s + 900
1,000
100
rad
Input Frequency , ___
sec
G (s) =
10
G(s) =
Im (G( j) ) 0
1
________
s2 + s + 3
=5
=0
= 0.5
=1
-0.2
-0.4
-0.6
-0.6
=2
= 1.5
-0.4
-0.2
Re(G( j))
0.2
0.4
0.6
10 Frequency Response
624
Fig. 10.68 Nyquist polar
plot of G ( s ) = s /( s 2 + s + 3)
0.6
=1
0.4
0.2
Im (G( j))
0
-0.2
= 1.5
= 0.5
=0
s
G(s)= ________
s2+ s + 3
= 10
=5
-0.4
=2
-0.6
-0.4 -0.2
0.4 0.6
=5
V1g ( s )
F (s)
s
s2 + s + 3
1.2
=0
= 0.5
o
G( j) = -180
s
G(s)= ________
2
s +s+3
0
and
1.0
= 10
-0.2
The Nyquist plots Figs.10.67 and 10.68 are of the transfer functions for the spring force and the mass velocity of
the spring-mass-damper system with the parameter values,
M=1, b=1, and K=3.
0.8
Re (G( j))
G( j0) = 0
Im (G( j))
FK ( s )
1
=
F (s) s2 + s + 3
0.2
0.2
Re (G( j))
=1
0.4
we could not estimate the angle of the final segment visually, without greatly enlarging the plot. In contrast, the logmagnitude Bode plot enhances small magnitude features,
which is very helpful, when using frequency response data
to determine a systems transfer function, i.e., system identification.
The small scale of Nyquist plots at high frequencies must
be weighed against the log scale of Bode plots producing a
false sense of precision. Although a frequency of 10rad/sec
is usually well within the capability of experimental apparatus, frequency response data are limited by the power of the
input (or excitation), and the signal to noise ratio of the output variable. Depending on its mass, or mass moment of inertia, an input frequency of 10rad/sec may be at the limit of
experimental feasibility for a mechanical system described
by the transfer function, G ( s ) = 1 / ( s 2 + s + 3).
A second drawback of Nyquist polar plot is that plots of
numerator and denominator factors not only lack the symmetry found in Bode plots, they do not even resemble one
another. A plot of a factor, say, (s+1), is completely different, if the factor is in the numerator rather that the denominator. It is only feasible to sketch Nyquist plots for very
simple cases. Recall that Bode plots contain mirror image
Summary
625
Im (G( j))
-1
=4
=3
=2
=1
=0
-2
Re (G( j))
-4
= 0.2
-6
-8
= 0.1
-10
-2
Re (G( j))
0.4
=4
0.2
G(s) = s + 1
Im (G( j)) 0
=2
Re (G( j))
-0.8
-1.0
-0.2
= 0.1
= 0.25
= 0.5
=1
-0.6
= 0.5
= 0.25 = 0
0
=4
=2
-0.4
=1
=0
=10
-0.2
Im (G( j))
=5
Im (G( j))
= 1 = 0.75
= 0.5
-2
= 0.4
= 0.3
= 7.5
= 10
10
1
G(s) = __
s
G(s) = s
G(s) =
0
0.2
1
____
s+1
Re (G( j))
1.2
Summary
Sinusoidal inputs to energetic systems are common. Wave
phenomena and rotation provide the ultimate source of sinusoids. Any periodic input can be represented as a summation
of sinusoids at different frequencies with the Fourier series.
Both the transient and steady-state response of an energetic system to a sinusoidal input are important to consider
in machine design.
Transient Sinusoidal ResponseThe maximum or minimum value of the power variables in a system not subject
to resonance occurs during the transient period of sinusoidal
10 Frequency Response
626
Fig. 10.72 Nyquist polar plot of
the second-order numerator factor, G ( s ) = s 2 + 4s + 64
80
G(s) = s2 + 4s + 64
60
= 10
Im (G( j)) 40
= 7.5
=5
=4
20
0
-80
0.005
=0
=1
=2
=3
Im (G( j))
at -180 when
-0.01
=5
= 10
1
__________
G(s) = 2
s + 4s + 64
-0.02
Crosses imaginary axis
at -90 when = n
-0.03
= 7.5
-0.01
0.01
Re (G( j))
0.02
A sin(t)
G(s)
A|G(j) |sin(t+)
where = G(j)
=2
=3
=1 =0
-60
-40
-20
Re (G( j))
20
40
60
80
Bode plots and Nyquist polar plots are plots of the steadystate frequency response of a system. The corner frequencies
of first-order factors are the inverse of their time constant,
w c = 1/ , which equals the magnitude of the pole, or zero,
of the factor. The corner frequency of a second-order factor is its natural frequency. The phase angles of integrators
and differentiators are constants, 90 and +90, respectively. The maximum change, or transition, of a first-order
factors phase angle is 90 and of a second-order factor is
180. Both the first- and second-order phase-angle curves
pass through half of their total transition at the factors corner frequency. The phase angles of first-order factors have a
single shape, allowing them to be sketched accurately. The
shape of the phase-angle Bode plot of a second-order factor
is a function of the damping ratio. It requires an exemplar to
sketch accurately. Bode log-magnitude plots can be sketched
to reasonable accuracy by using asymptotic approximation,
except that resonant peaks, if any, are omitted.
Nyquist plots are true, linear sketches of the systems
transfer function, evaluated for s=j. They must be parameterized by the input frequency. They cannot be sketched accurately.
Problems
Problem 10.1 Fig P10.1 shows a translational mechanical
system. Mass M is supported by frictionless rollers. A dashpot with damping b and a spring with spring constant K are
attached between the mass and ground. The mass is acted
upon by a sinusoidal force, F(t). The parameter values are
M=3, b=2, and K=100
10.1.a Derive the system equation for:
i The velocity of the mass.
ii The force acting through the spring.
iii The force acting to accelerate the mass.
10.1.b Derive the transfer function for the system equation
of part a and plot the poles and zeros (if any) of transfer function on the s-plane.
Problems
627
x,v
F(t)
b
v(t)
M
K
Frictionless
rollers
Torque
input T(t)
Hydrodynamic
bearing damping b
Fig. P10.2 Rotational system consisting of a torque source, a flywheel
with damping, and a torsion spring
min
min
10 Frequency Response
628
C
P(t)
vent to
atmosphere
R1
Pump
I
R2
Fluid
Reservoir
10.3.e Formulate the state-space representation of the system with the output variables:
i The current through the inductor.
ii The voltage across the capacitor.
iii The current from the voltage source.
10.3.f Solve the state and output equations of part e for the
sinusoidal inputs of part c for the duration, t 10 ,
1
.
where =
min
MPa sec 2
m3
MPa
MPa
5
I
=
4
C
=
20
R
=
2
m3
MPa
m3
m3
min
Flywheel
Rotational Inertia JL
Bearings
Damping b
Electric Motor
Transduction KT
Rotational Inertia J M
Electrical Resistance R
Voltage Source v(t)
Problems
629
Rigid Attachement
Compliant Shaft K
Gear
N2 teeth
Shaft rotates in
ideal bearing
Compliant Shaft
Torsional Spring K
Pinion, N1 teeth
Pinion
N1 teeth
Rack, N2 teeth
per inch
Mass M
(t)
Fluid coupling
Damping b
Inertia J
Gear
N3 teeth
min
Lubricant Film
Damping b
Fig. P10.7 Hybrid rotational-translational mechanical system
10.6.e Solve the state and output equations of part d for the
sinusoidal inputs of part c for the duration, t 10 ,
1
.
where =
min
Problem 10.7 The rotational-translational mechanical system, shown schematically in Fig. P10.7, consists of an angular velocity source, (t), acting on a compliant shaft modeled
as a torsion spring with spring constant, K = 120 N m/rad .
The spring drives a pinion with N1 = 12 teeth, engaged in a
rack with N 2 = 3 teeth per inch. The rack is attached to mass,
M = 5 kg . The rack and mass both slide on a lubricant film
with damping, b = 3 N m sec /rad .
10.7.a Derive the system equation for:
i The torque acting through the compliant shaft, K.
ii The velocity of mass, M.
iii The force acting to accelerate mass M.
10.7.b Derive the transfer function for the system equation
of part a and plot the poles and zeros (if any) of transfer function on the s-plane.
10.7.c Determine the steady-state response of the transfer
functions of part b for:
rad
sin(24t )
i (t ) = 10
sec
rad
ii (t ) = 10
sin(48t )
sec
rad
iii (t ) = 10
sin(96t )
sec
10.7.d Formulate the state-space representation of the system with the output variables of part a.
10.7.e Solve the state and output equations of part d for the
sinusoidal inputs of part c for the duration, t 10 ,
1 .
where =
min
10 Frequency Response
630
28(8s 2 + 96 s + 1, 280)
G (s) =
s ( s 2 + 112 s + 262)
239 s 2 + 5497 s
ii G ( s ) =
3
0.5s + 11.8s 2 + 386 s + 1260
8(60 s + 7800 s )
s 3 + 320 s 2 + 19, 900 s + 168, 000
iv G ( s ) =
( s + 3)
( s + 5s + 4)( s 2 + 4 s + 8)
v G ( s ) =
8(3s 2 + 0.6 s + 3)
s (2 s + 50)( s 2 + 20 s + 1200)
ii G ( s ) =
v G ( s ) =
8(3s 2 + 0.6 s + 3)
s (2 s + 50)( s 2 + 20 s + 1200)
G (s) =
ii G ( s ) =
iii G ( s ) =
iv G ( s ) =
v G ( s ) =
iii G ( s ) =
8(60 s 2 + 7800 s )
s 3 + 320 s 2 + 19, 900 s + 168, 000
( s + 3)
iv G ( s ) = 2
( s + 5s + 4)( s 2 + 4 s + 8)
iii G ( s ) =
50
s ( s + 25)
11
s ( s + 3)( s + 16)
320
( s + 4)( s 2 + 3s + 55)
4 s ( s + 10)
( s + 20)(4 s 2 + 8s + 64)
1
( s + 1) 2 ( s 2 + s + 2)
G (s) =
ii G ( s ) =
28(8s 2 + 96 s + 1, 280)
s ( s 2 + 112 s + 262)
239 s 2 + 5497 s
0.5s + 11.8s 2 + 386 s + 1260
3
8(60 s 2 + 7800 s )
s 3 + 320 s 2 + 19, 900 s + 168, 000
( s + 3)
iv G ( s ) = 2
( s + 5s + 4)( s 2 + 4 s + 8)
iii G ( s ) =
G (s) =
8(3s 2 + 0.6 s + 3)
s (2 s + 50)( s 2 + 20 s + 1200)
28(8s 2 + 96 s + 1, 280)
s ( s 2 + 112 s + 262)
Chapter 10 Appendix
239 s 2 + 5497 s
0.5s + 11.8s 2 + 386 s + 1260
Chapter 10 Appendix
631
120
80
40
log|G( j)|
dB
0
-2
-40
-4
0.01
-45
0.1
10
100
-80
1,000
0.1
10
100
1,000
rad
Input Frequency , ___
sec
-90o
o
G( j) -135
-180
-225 o
0.01
w p := 10
p
low + ( high low)
1000
rad
Input Frequency , ___
sec
Where low is the logarithm of the lower limit of the frequency range and high is the logarithm of the upper limit of the
frequency range. Although Mathcad has the imaginary number i, the syntax to multiply by the imaginary number it must
be written as 1i. It is easiest to define j.
Log-magnitude plots are log G ( j w p ) using the magnitude bars created by typing the single vertical bar above
the forward slash. Be careful not to select the determinant
operator from the matrix pallet which has the same symbol
of two vertical bars. The code to calculate the log-magnitude of the transfer function can be in the place holder of
the ordinate (vertical axis) of the plot or the log-magnitude
can be calculated and assigned to a vector variable, say
LogMagp, before plotting. Remember to multiply the frequency by the imaginary number, j, to evaluate the transfer
function, G( j w p).
Calculate the phase angle, which is the angle or the argument of G( j w p ) with the arg() function. The arg() function returns the principle angle of a complex number
10 Frequency Response
632
Fig. P10.15 Bode plots of an
unknown system
20
-1
-20
dB
log|G( j)|
-2
-40
-3
-60
-4
0.01
45
0
G( j)
0.1
10
100
-80
1,000
0.1
10
100
1,000
rad
Input Frequency , ___
sec
-45
-90o
-135
-180
0.01
rad
Input Frequency , ___
sec
Chapter 10 Appendix
633
log|G( j)|
40
20
-1
-20
-2
G( j)
135
90
45
10
100
1,000
-40
10,000
10
100
1,000
10,000
rad
Input Frequency , ___
sec
0
-45
-90
-135
0.1
dB
0.1
rad
Input Frequency , ___
sec
10 Frequency Response
634
Fig P10.17 Nyquist polar plot of
an unknown system
Im
-2
-1
rad
___
3 = 15 sec
Re
95
|1.
-21.8
o
-144 -j
|3.7
1|
rad
___
1 = 5 sec
-j2
-j3
-j4
rad -j5
___
2 = 10 sec
G(s) plane
-j6
% Semilog plot of the Phase Angle of
% G(s)=100/(s^2+5*s+100)
j=sqrt(-1) % Define the imaginary number j
low = -2 % Exponent of the lower limit of freq range
high = 3 % Exponent of the upper limit of freq range
range = high - low % Number of decades in freq range
N = 1000 % Number of calculations in plot
w = zeros(N); % Preallocate and zero freq vector
phi = zeros(N); % Preallocate and zero logmag vector
%Calculation loop
for p = 1:N;
w(p) = 10^(low+range*(p/N));
% MATLAB's angle() returns principle angle in rad;
% MATLAB has pi as a predefined constant;
phi(p) = (180/pi)*angle(100/((j*w(p))^2+5*j*w(p)+100));
end
semilogx(w,phi) % Create semilog plot
grid on % Draw grid on the plot
% Nyquist G(s)=100/(s^2+5*s+100)
j=sqrt(-1) % Define the imaginary number j
low = -2 % Exponent of the lower limit of freq range
high = 3 % Exponent of the upper limit of freq range
range = high - low % Number of decades in freq range
N = 1000 % Number of calculations in plot
RealG = zeros(N); % Preallocate and zero RealG vector
ImagG = zeros(N); % Preallocate and zero ImagG vector
%Calculation loop
for p = 1:N;
% Calculate value of freq w at a logarithmic spacing;
w = 10^(low+range*(p/N));
% Calculate value of G(j*w);
G = 100/((j*w)^2+j*w*5+100);
RealG(p) = real(G);
ImagG(p) = imag(G);
end
plot(RealG,ImagG) % Create semilog plot
grid on % Draw grid on the plot
Nyquist plots are direct plots of the complex value of a transfer function evaluated substituting for the Laplace variable
s=j. MATLABs real() and imag() functions extract the
real and imaginary components from a complex number. The
imag() function returns a purely real number with the correct
sign. The Nyquist plot is then produced as an xy plot with
the x-axis real (G ( j w p )) and the y-axis imag (G ( j w p )) .
11
Abstract
Alternating current (AC), varying sinusoidally at 50Hz in Europe and Asia and 60Hz in
North America and Japan, is the dominant form of electric power. AC provides the continuously changing magnetic flux linkage needed for electrical transformation. Transformation
allows transmission at high voltage and low current, reducing resistive loss, with step-down
transformers near the point of use. Complex impedances are an efficient method for deriving the transfer function of an electric circuit. Analysis of AC circuits is an application of
frequency response. Phasors are vectors in the complex resistancereactance plane, which
can represent either variables or operators. As variables, phasors are analogous to complex
exponentials except that their amplitude is the root-mean-squared value rather than the
peak amplitude of the sinusoid. As operators, they are analogous to transfer functions.
11.1Introduction
11.1.1Alternating Current
K. A. Seeler, System Dynamics, DOI 10.1007/978-1-4614-9152-1_11, Springer Science+Business Media New York 2014
635
636
11.1.2AC Power
Alternating current is the worldwide standard for the distribution of electric power. When Thomas Edison (18471931)
developed the first direct current (DC) power generation and
distribution system in 1882, it was known that the AC could
be transformed by magnetic induction to increase voltages
and lower currents for transmission, reducing resistive power
loss. AC power could be used to illuminate the carbon filament incandescent lamps, also developed by Edison. However, electric motors at the time were all DC motors. George
Westinghouse (18461914) created the first AC power
system in 1886 for lighting. It was not until Nikola Tesla
(18561943), who received the patent for the AC induction
motor in 1888, began working with Westinghouse that AC
power gained popularity. The long distance transmission of
hydroelectric power, three phase at 40Hz was demonstrated
in 1891, Frankfurt, Germany. Westinghouse and Tesla are
credited with the first large scale hydroelectric power plant,
which started operation at Niagara Falls in 1895. It generated
two-phase power at 25Hz in the USA.
The United States and Canada now use the frequency of
60Hz (cycles/sec) established by Tesla. Elsewhere, AC frequency is 50Hz with a few exceptions. Why we now use
60Hz and the rest of the world uses 50Hz is a good question. The higher frequency is more efficient. (One suggestion
why 50Hz is used outside of North America is that it is more
metric than 60Hz. The rationale for 60Hz was the need
to synchronize generating stations within a grid, which was
done twice a day using a master clock.) Some AC calculations are performed with frequency in Hertz, but others will
require angular frequency with units of rad/sec. One conversion that is helpful to know is 60Hz = 377rad/sec.
The residential service voltage in North America is
110120 VAC. It is a range and does vary with the load on a
system and the distance from the electrical distribution line.
Typically, the voltage of 115 VAC is assumed in an analysis. This voltage dates back to Edisons carbon filament
incandescent lamp. Edison generated 110 VDC to deliver
100 VDC, allowing for approximately 10% resistive loss in
transmission. Countries that use 50Hz also distribute power
at higher voltage, which compensates for the lower efficiency of that frequency. The European Union is currently implementing a dual voltage system of 240 and 400 VAC with the
lower voltage used for household appliances and lighting,
and the higher voltage for large motors.
Resistive energy loss during transmission of electric
power is a function of current flow, not voltage.
PLost = Ri 2
(11.1)
di
dt
(5.45)
d
= v12
dt
(5.46)
= N = Li
(5.47)
v12 = L
AC powers sinusoidally varying current produces timevarying magnetic fluxes in coils and time-varying flux
linkages . Consequently, by magnetic transformation the
voltage of AC power can be stepped up for transmission
and stepped down for use, decreasing voltage and increasing current. Although it is possible to step up and step down
DC voltages of large power flows, it is more expensive. DC
electrical energy must be converted to mechanical energy by
a DC motor, which then drives a DC generator to produce
DC electrical power at a different voltage. Paired DC motors
and DC generators are expensive to purchase and to operate,
since they need maintenance. AC voltages can be stepped up
or down using transformers which are far less expensive to
build and require little maintenance.
A variety of voltages are used for industrial motors. Large
motors use voltages greater than 110120 VAC for a number
of reasons, including economy. The hazard posed by higher
voltages is not an issue because large industrial motors are
hardwired by electricians. The following are the typical voltages: 208 VAC, 230 VAC, 460 VAC, 575 VAC, and 2300
VAC. High voltage is above 600 VAC. The advantage
of high voltage is reduced current for the same power. An
induction motor using 2300 VAC draws only 49 Amps to
produce 200hp. In comparison, the same type of motor
designed to run at 230 VAC would need 490Amps, and a
lot more copper, to produce 200hp. Industrial motors also
use variable frequency AC current for speed control. AC is
supplied to the speed control circuitry at 60Hz. The AC is
converted to a direct current (DC), and then to the needed
frequency using circuitry known as an inverter.
11.1Introduction
637
V0
200
V RMS
100
v(t) 0
VDC
VDC 0
-V0
-200
-100
(n-1)T
nT
t, periods
(n+1)T
0.01
0.02
t, sec
0.03
0.04
Fig. 11.1
Root-mean-square voltage VRMS level plotted against
the sinusoidal voltage. The units VDC mean the true amplitude of the
voltage
1
(v(t ))2 dt
T 0
VRMS =
(11.2)
or
VRMS =
2
1
V0 sin (w t )) dt
(
T 0
(11.3)
VRMS =
V0
2
= 0.707 V0
(11.4)
(11.5)
638
A sin(t)
phase c
c = -240
-4
___
=
3
phase a
phase b
b = -120 o
-4
___
=
3
= 120 VAC
b (t ) = V0 sin w t
(11.7)
c = 4 /3 .
c (t ) = V0 sin w t
where = G(j)
A|G(j) |sin(t+)
G(s)
(11.8)
iL
iR
iC
g
Fig. 11.5 Sinusoidally excited RLC circuit. The sinusoid in the source
symbol denotes AC voltage and that the system is in steady-state
iR = iL
v23 = L
Energy: E sys = E L + EC
iL = iC
diL
dt
EL =
iC = C
1 2
LiL
2
dv3 g
dt
1
2
EC = Cv32g
Recall that our only use for the energy equations has been
to establish the initial condition of the output variable when
an input is applied to an energized system. The energy equations have no use in a steady-state analysis since the effect of
the initial condition of the system has decayed to zero when
the system reaches steady-state.
To use the frequency response relationship, we must
derive the transfer function for the input voltage and the
output variable, and the current from the voltage source.
Thus far, our procedure for deriving a transfer function has
been to (1) reduce the equation list to a differential system
639
I s
()
V (s)
Cs
CsR + CsLs +
12
+ v23 + v3 g
Continuity:
R
I (s) = I R (s)
I R (s) = I L (s)
I L ( s ) = IC ( s )
L {v } = L { Ri }
Elements:
12
L {v } = L
23
L {i } = L
C
I (s)
Cs
=
=
2
V ( s ) CLs + CRs + 1
V (s)
V12 ( s ) = RI R ( s )
diL
L
V23 ( s ) = LsI L ( s )
dt
dv3 g
C
I C ( s ) = CsV3 g ( s )
dt
V ( s ) = RI ( s ) + LsI ( s ) +
IC ( s )
Cs
(11.9)
I (s)
Cs
V ( s ) = R + Ls + I ( s )
Cs
Output ( s )
Input ( s )
I (s)
V ( s)
1
R + Ls +
1
Cs
C
s
CL
CR
1
s2 +
s+
CL
CL
1
s
L
=
R
1
V (s)
s2 + s +
L
CL
I (s)
(11.11)
V ( s ) = RI R ( s ) + LsI L ( s ) +
Cs
CRs + CLs 2 + 1
11.3Complex Impedance
V (s)
V ( s ) = V12 ( s ) + V23 ( s ) + V3 g ( s )
L {i} = L {i }
L {i } = L {i }
L {i } = L {i }
I (s)
I (s)
Compatibility:
L {v(t )} = L {v
Cs
Cs
(11.10)
V (s)
Z Complex Impedance
I (s)
(11.12)
L {v (t )} = L { Ri (t )}
V (s)
= R ZR
I (s)
V (s) = I (s) R
(11.13)
640
Fig. 11.6a Linear graph of
RLC circuit shown schematically in Fig.11.5, b Linear graph
of the RLC circuit with complex
impedances in place of time
domain elements
The complex impedance of a resistor, ZR, equals its resistance R because the elemental equation is algebraic, not differential with respect to time. The Laplace transformation
transforms the variables v(t) and i(t) from the time-domain
to V(s) and I(s) in the Laplace-domain.
L {i (t )} = L
dv (t )
C
I ( s ) = CsV ( s )
dt
V (s) 1
=
ZC
(11.14)
I ( s ) Cs
L {v (t )} = L
ZR
ZL
ZC
C
g
di (t )
L
V ( s ) = Ls I ( s )
dt
V (s)
= Ls Z L
(11.15)
I (s)
11.3.4Complex Admittance
Complex admittance is the inverse of complex impedance,
as conductance is the inverse of resistance. Complex impedances have the form of resistance. Complex admittance has
the inverse form. The symbol for complex admittance is Y.
V (s)
I (s) 1
1
= R ZR
= =
YR (11.16)
I (s)
V (s) R ZR
V (s) 1
I (s)
1
=
ZC
= Cs =
YC (11.17)
I ( s ) Cs
V (s)
ZC
V (s)
I (s)
1
1
= Ls Z L
=
=
YL (11.18)
I (s)
V ( s ) Ls Z L
641
Z1
Z2
Z1
1
Z equiv
Z equiv
1
Z2
(through variable) flow and has the same voltage (across
variable) drop across it as the portion of the network it replaces.
The energetic equations for the complex impedances Z1
and Z2 in series, Fig.11.7a, are:
Continuity: I1 ( s ) = I 2 ( s ) I ( s )
Element Impedances:
ElementImpedances:
V12 ( s )
= Z1
I1 ( s )
V12 ( s )
V (s)
V23 ( s )
= Z1
= Z Equiv
= Z 2 13
I1 ( s )
I (s)
I2 (s)
Series
Reduction of two impedances in series to a single equivalent
impedance:
I1 ( s ) + I 2 ( s ) = I ( s )
Z Equiv I ( s ) = Z1 I ( s ) + Z 2 I ( s )
series
Z Series = Z1 + Z 2 + + Z n
parallel
Z parallel
(11.19)
1
1 V (s)
1
V12 ( s ) + = 12
Z Equiv
Z1 Z 2 Z Equiv
1
Z Equiv I ( s ) = ( Z1 + Z 2 ) I ( s )
Z Equiv = Z1 + Z 2
V12 ( s )
= Z Equiv
I (s)
Parallel
V12 ( s )
= Z2
I2 (s)
(11.20)
1
1
+
Z1 Z 2
Z2
Z
Z + Z2
=
+ 1 = 1
Z1Z 2 Z1Z 2
Z1Z 2
Z parallel =
Z1Z 2
Z1 + Z 2
(11.21)
1
Z parallel
1
1
1
+
+ +
Z1 Z 2
Zn
(11.22)
1
to Z parallel . The result for
Z parallel
two elements in parallel is easy enough to invert. Inverting
642
ZR
ZL
ZC
g
Z D.P
Fig. 11.9 Sinusoidally excited RLC circuit. The sinusoid in the source
symbol denotes AC voltage and that the system is in steady-state
1
1
1
+
+
Z1 Z 2 Z3
1
Z D.P.
Z 2 Z3
ZZ
ZZ
=
+ 1 3 + 1 2
Z1Z 2 Z3 Z1Z 2 Z3 Z1Z 2 Z3
=
Z 2 Z3 + Z1Z3 + Z1Z 2
Z1Z 2 Z3
Z parallel =
Z1Z 2 Z3
Z 2 Z3 + Z1Z3 + Z1Z 2
1
Z parallel
Vsource ( s )
I source ( s )
(11.23)
1
= Z D.P.
Cs
Cs
Cs 1
RCs + LCs 2 + 1
+ Ls
+
= Z D.P.
= Z D.P.
Cs
Cs Cs
Cs
Z D.P. =
I
(s) =
= source
Vsource ( s )
1
s
L
1
R
s2 + s +
L
LC
(11.25)
When a system is reduced to a source and a single equivalent impedance, the equivalent impedance is called the driving point impedance, since it is the impedance the source
driving the system feels. A driving point impedance is
used to determine the power the source must provide to drive
the system. The definition of driving point impedance is
Z D.P. =
1
Cs
LC
1 LCs 2 + RCs + 1
LC
Z D.P.
I source ( s )
=
=
Vsource ( s )
(11.24)
The reduction linear graph or a circuit in which the elemental equations are expressed as complex impedances can be
performed as a graphical technique. The method is to successively combine elements first those in parallel and then
those in series, replacing them with equivalent elements.
The process is repeated until the network is reduced to the
source element and a single, driving point, complex impedance. The graphical reduction to the driving point impedance
is quick and easy. The work is in the back-substitution and
clearing fractions. The graphical algorithm is illustrated in
Figs.11.10 and 11.11.
643
Z
Z
g
Fig.11.11a Initial circuit, b
Parallel impedances Z and Z
replaced by their equivalent impedance Zequiv, c Series impedances Z and Zequiv replaced by
their equivalent impedance, the
driving point impedance, ZD.P.
instant that the input sinusoid begins a new cycle, the angle
equals an integer multiple n2. The phasors are vectors of
voltage or current with RMS magnitude vector-like representations of complex exponential.
Z D.P
Z
g
Z
g
Z equiv
Z
g
Z D.P
Z equiv
g
reactance
Z L= jL
ZR = R
, resistance
ZC =
-j
1
___
____
=
jC C
reactance
, resistance
Z DP = 3 - 1,330 j
Fig. 11.13 Phasor operator for the driving point impedance of the RLC
circuit, Eq.11.24
644
Capacitance
Inductance
V (s)
= R ZC
I (s)
V (s)
1
=
ZC
I ( s ) Cs
V (s)
= Ls Z L
I (s)
Z D.P. =
V ( jw )
1
j
=
=
ZC
I ( jw )
jCw Cw
V ( jw )
= jLw Z L
I ( jw )
s2 +
R
1
Cs +
L
LC
1
s
L
rad
3
rad
1
+
j 377
j 377
+
sec
10 H
sec 2 F (10 H )
Z D.P. =
1
rad
j 377
10 H
sec
1
10
8
Vsource ( s ) 5 10 + j1.13 10 sec 2
=
Z D.P. =
1
I source ( s )
3.77 107
sec 2
Z D.P. =
Vsource ( s )
= 3 1,330 j.
I source ( s )
11.5Electrical Transformers
Electrical transformers consist of two or more coils of wire
wrapped around the same ferromagnetic core, Fig.11.14.
The same magnetic flux flows through both coils. By convention, the input coil is called the primary and the output
coil is called the secondary. Although schematics show the
primary and secondary coils at different locations on the ferromagnetic core, in practice both coils are wound together.
The black dots are the dot convention which mark transformers and schematics with the lead that are positive simultaneously. Note that the schematic also shows the AC source
in the positive half cycle.
The number of turns in the primary and secondary windings are Np and Ns, respectively. Because the same flux
passes through both coils, the flux linkage of one coil is related to the flux linage of the second coil. Using the definition of flux linkage:
= N
and writing the flux through the two coils as:
p
Np
p
Ns
s =
Ns
Np
Exciting a transformer with a time-varying alternating current produces a time-varying flux . Consequently, the flux
linkage is time varying and produces voltage across the
coils.
The relationship between the input and output voltages in
the transformer is
N
V34 = s V12
Np
The relationship between the currents through the primary
and secondary coils is calculated using energy conservation, neglecting the energy lost as heat in the transformer.
In steady-state, using the sign convention that power flow is
positive into the transformer,
Pp + Ps = 0 V12 i p = V34 is
N
N
V12 i p = s V12 is i primary = s is
Np
Np
Most engineering students are familiar with the use of transformers to step up and step down voltages in electric power
distribution systems. Transformers have other important applications. One is to provide a magnetic interface between
electrical subcircuits. A second is to allow impedance
matching in alternating current (AC) circuits.
645
1
AC Source
ip
+
2
1
AC Source
+
2
iR
iC
C
4=g
or has swung negative. They are represented by signs adjacent to the AC voltage source. The positive case follows
the dot convention, if the electrical schematic or transform
provides it. If we are only interested in the variables on the
secondary side, Figs.11.16 and 11.17, it will not matter if
we are in phase with 180o degrees or out of phase with the
primary side.
11.6Three-Phase Power
We conventionally mix angular units when working with
AC. We must use [w ] rad/sec and [ ] rad when we
evaluate transfer functions and complex impedances.
However, the phase angle is usually expressed in de-
Secondary Coil
N s turns
ip
is
R
5
Primary Coil
Np turns
Z load
Primary Coil
Np turns
Fig. 11.15 AC circuit with a
transformer with a resistive and
capacitive load on the secondary side
is
Secondary Coil
N s turns
(
)
(
Note that the phase shifts would need to be converted to radians to evaluate these equations. Figure11.18 shows a(t),
b(t), and a(t)b(t). Note that the voltage a(t)b(t) has a
phase shift relative to both a(t) and b(t). The phase shift is
easy to see in a phasor diagram.
The algebraic sum or difference of two sinusoids with the
same frequency will be a sinusoid at that frequency. What
are the magnitudes and phase shifts relative to a(t), b(t), and
c(t)? Fig.11.18 shows the voltages of phases a and b and the
voltage difference between phases a and b.
The magnitude of a(t)b(t), b(t)c(t), and c(t)a(t)
may be a surprise. It is a common error to presume that the
amplitude is V0, but V0 is the magnitude of the voltage of a
phase relative to ground. Comparing the voltages a(t) and
646
Fig. 11.17 AC circuit on the
secondary side with a transformer, a resistive and capacitive load. a AC source swung
positive, b AC source swung
negative
+
-
iR
iC
iR
iC
C
4=g
4=g
400
a-b
c-a
Im
b-c
200
-200
-400
b(0) = V0 e
0
0.01
0.02
t, sec
0.03
0.04
350
a-b
200
VDC 0
-200
-350
-120
|V
0|
VDC 0
b
0
0.01
0.02
t, sec
0.03
0.04
b(t) with their difference a(t)b(t), we see that the amplitude of the difference a(t)b(t) is greater for the simple reason that they are on opposite sides of the v=0 line for most
of a cycle. What is likely a surprise is that the difference
a(t)b(t) peaks before either a(t) or b(t), Fig.11.19.
11.6.1Line-to-Line Voltage
We wish to determine the magnitude of a(t)b(t), that is, the
magnitude sin (w t ) sin w t 120o . It is possible to use trigonometric identities and formulae but a vector construction
using complex exponentials and Eulers sine formula is easier.
j0
|V0 | a(0) = V0e
-j120
Re
Fig. 11.20 Complex exponential vectors which represent a(t) and b(t)
at t=0
The first step is to create complex exponentials which represent a(t) and b(t), Fig.11.20. The vectors must have the correct
amplitude and phase angle . Since we are evaluating steadystate relationships that must hold for any arbitrary time t, we
are free to choose the time t at which we will draw the vector
diagrams. Themost convenient time is t=0. Phase a(t) has a
phase angle of zero, so it plots on the positive real axis. Positive angles are counter-clockwise. Phase b(t) has a negative
phase angle since it lags, or peaks later in time than does a(t).
We next subtract the vectors to determine the magnitude of their difference. First, we multiply vector b(0) by
minus one which is equivalent to rotating the vector 180o,
Fig.11.21, and then create a vector sum a (0) + b(0) to perform the subtraction, Fig.11.22.
Now the hard part. We need to find the magnitude and phase
angle of the vector a (0) b(0) . We know the lengths of two of
the sides of the triangle formed by a(0), -b(0), and a (0) b(0)
and we know the angle between a(0) and -b(0). There is surely
a sophisticated formula which we could hunt for in a handbook
of mathematics that would yield magnitude and phase angle of
a (0) b(0) , but it is usually faster to use what we know then
search for what we may not be able to find. We can create a
right triangle with a (0) b(0) as its hypotenuse by dropping a
line perpendicular to the real axis, Fig.11.23.
Calculate the magnitude of the vector a (0) b(0) with
the Pythagorean theorem.
a ( 0) b ( 0) =
= V0 e
j60
Im
|V
0|
(0)
|V
b(0) = V0 e
-j120
|V0 | cos(60o)
Re
Im
0|
b(0
|V
(0)
|V0| sin(60o)
60
|V0 |
Re
|V0 |
-120
b(0
0|
-b(0) = -V0 e
|V
-j120
Im
647
|V0 |
a(0) = V0e
Re
j0 o
ab = tan 1
V0
V0 sin 60o
0.866
= 30o
1.5
ab = tan 1
a ( 0) b ( 0) =
a ( 0) b ( 0) = V0
(1 + cos (60 ))
o
( )
( )
Rearranging
a ( 0) b ( 0) = V0 1 + 2 cos 60o + cos 2 60o + sin 2 60o
( )
( )
( )
a ( 0) b ( 0) = V0 1 + 2 cos 60o + 1
( )
(11.26)
A magnetic vector is a vector in the direction of a magnetic field. If the magnetic field is symmetric, like a field of
a solenoid, the magnetic vector lies on the axis of symmetry.
The magnitude or length of the vector conveys the strength
of the field. In three-phase AC motors, a magnetic vector is
created by the windings (coil) of each phase. The windings
of three phases are on the stator, which is the stationary portion of a motor, and spaced one-third of the circumference
or 120 degrees apart around the axis of rotation of the rotor.
The intensity of the magnetic field of each phase varies and
reverses direction with the sinusoidal variation in current
through the windings. The symmetry of the sinusoidal variation of current and the spacing of the three sets of windings
120 apart on the stator lead to the resultant of the vector sum
of the magnetic vectors of the three phases to have a constant magnitude and to rotate about the axis of the rotor once
every electrical cycle, Figs.11.24 and 11.25. The rotating
648
t3
Im
ab |V0|
0|
|V
a(0
(0
-b
|V0| sin(60o)
t4
Re
|V0 | cos(60o)
stator
60
a
b
t1
200
t1
t2
t3
t4
t1
0.004
0.008
t, sec
0.012
Resultant
t2
Resultant
c(t)
- 200
stator
Fig. 11.26 Resultants of the vector sums of the phases magnetic vectors and times t1, t2, t3, and t4. The resultant vector represents the stators
rotating magnetic field
a(t)
b(t)
stator
t2
Fig. 11.24 Complex exponential vectors which represent a(t), b(t), and
a(t)b(t) at t = 0 showing the phase angle of a(t)b(t)
The vector sum of the three stator phases is a vector of constant magnitude which rotates about the axis of the stator at
the AC frequency. The magnetic field of the rotor is created
by a DC current either conducted to the rotor through slip
rings or generated on the rotor by an exciter. Since the
rotors magnetic vector is created by a DC current, it is fixed
in its position relative to the rotor, Fig.11.27. The rotors
magnetic vector chases the stators rotating magnetic vector.
Synchronous motors must be in synchrony or they lose
torque. Consequently, synchronous motors are not self-starting. They must be started and brought up to synchronous
speed by another motor, or by an auxiliary set of windings
on the same rotor.
stator
0.016
Phase b
Phase a
c
Resultant
Phase c
Phase Windings Positive
Magnetic Vector Directions
t3
c
Resultant
t4
b
a
649
Copper or
aluminum bars
a
b
rotor
11.8Three-Phase AC Circuits
400
Design A
Design D
300
200
Design C
100
0
Design B
0
20
40
60
80
100
We will now more formally consider three-phase electrical current using phasors. Three phase lines can be connected in a Y (also spelled as wye) connection or a
delta connection, Fig.11.30. The names refer to the configuration of the connections, shown below, where the lines
are phasors which represent the voltage of each of the three
phases. The voltage drop in the wye connection is between
one phase and neutral, which is a common return line used
to complete each of the three circuits. Consequently, a wye
connection requires four lines. The voltage drop in the delta
connection is between two of the phases. The vector calculation we performed above found the line-to-line voltage
between phases a and b. This is a delta connection. We determined that the voltage drop between the two phases was
larger than the voltage of either phase to neutral by a factor
of 3. The delta connection needs only three lines and has
a larger voltage drop across a load than does the wye connection for the same phase voltages. If the delta connection
650
a b
b
b
neutral
a
c
c
Fig. 11.30a Y or wye connection. The center terminal is neutral
which is at ground voltage. b Delta connection
Fig. 11.31 A three-phase wye
connection generator
n
-
AC Source
+
c
needs fewer wires and provides a larger voltage drop, why
use a wye connection to drive a three phase motor? Many
three-phase motors in fact use both types of connections to
maximize performance by varying torque or power, or to
provide two speeds, where a wye connection is used for low
speed and a delta connection is used for high speeds. Motors operated this way are called single winding-two speed
motors.
651
n
-
+a
AC Source
+
c
b
c
Phase b
n
b
+ a
n
+
c
neutral
Phase b windings
of AC motor
n
-
Phase b windings
of AC generator
652
Fig. 11.35 Three-phase generator and motor in delta connections
+
-
+
-
Delta Connected
Three Phase AC Generator
460 VAC
460 VAC
Delta Connected
Three Phase AC Motor
460 VAC
460 VAC
460 VAC
798 VAC
798 VAC
798 VAC
neutral
460 VAC
Fig. 11.38 A three-phase motor in a delta connection. Line voltage is voltage any between two of the three phases. If the reference
voltage(s) are not indicated, the default assumption is that voltages are
Line voltages
460 VAC
460 VAC
460 VAC
neutral
vline = v phase 3 =
The product of current and voltage phasors is called apparent or total and has the units of voltsamperes.
Apparent Power Total Power V I
V I = V e j V I e j I = V I e j V e j I
j +
Apparent Power = V I e ( V I )
798 VAC
653
798 VAC
798 VAC
neutral
Fig. 11.40 Equivalent wye connected motor with line-to-line voltages
jQ Reactive
Power, var
P
+j
Active Power
watts
jQ
Apparent
Power, VA
Fig. 11.41 Vector decomposition of apparent power. The two components of Total or Apparent Power vector projected on the real and
imaginary axes are active and reactive power
j I
10/7.46
230
60
1
41
1750
1.15
40C AMB-CONT
H
L
H
84
93
174 lbs.
We are given the voltage, the Full Load Amps (current), and
the motors power factor.
Calculate the apparent power.
Apparent Power = (230 VAC)(41A) = 9, 430 VA
654
jQ Reactive
Power, var
jQ Reactive
Power, var
P
Active Power
watts
P = 8.7 kW
21.5
P+j
Q=9
jQ
.4 k
VA
Apparent
Power, VA
34
P+
jQ
Apparent Power
Power Factor
= Active Power
100
100
100
1
11.9.1.2Example 2
General Purpose three-phase, Delta connected, 100 hp
motor specifications are shown below
Three-phase, Delta connected, 100 hp motor specifications
Horsepower/kilowatt
100/74.6
Voltage
230/460
Hertz
60
Phase
3
Full load amps
238/119
RPM
1185
Service factor
1.15
Rating
40C AMB-CONT
Locked rotor code
G
NEMA design code
B
Insulation class
B
Full load efficiency
94.1
Power factor
83
Ship weight
1267lbs
P
Active Power
watts
kV
A
Apparent
Power, VA
=3
1.6
jQ
P = 26.2 kW
Fig. 11.43 Apparent power phasor and its projection on to the real,
active power, and imaginary, reactive power, axes
Repeat the above calculations using the data for the threephase motor.
Calculate the apparent power for phase a, Fig.11.43.
1
Power Factor
= Active Power
100
655
Main Winding
L1
3
3
11.10Single-Phase AC Motors
A single stator winding excited by AC power can produce a
magnetic field which pulses in amplitude sinusoidally but cannot produce a rotating magnetic vector. The challenge in the
design of single-phase AC motors is to get them started. Once
there is rotation, then the interaction of the stator winding with
the rotor can create enough phase shift between the stators
and rotors magnetic vectors to keep the motor running.
Starting
Winding
Centrifugal
Switch
L2
Squirrel Cage
Rotor
11.10.1Capacitor Start
A common design is a capacitor start single-phase AC
motor. A capacitor start motor has an auxiliary set of windings which is used to start the motor with the main windings,
Figs. 11.44 and 11.45. The starting windings are in series
with a large capacitor creating a phase shift between the starting windings and the main windings. The starting windings
are turned off by a centrifugal switch which opens when the
rotor has spun up to speed.
11.10.2Series Wound
A series wound single-phase AC motor is a high speed design.
The series connection between the stator and rotor windings
requires brushes to conduct current to the rotor windings.
The motor behaves as if it were a DC motor because the
sinusoidal oscillation reverses the direction of the stator and
rotor fields simultaneously, leaving them in the same relative
orientation, Fig.11.46.
Main Winding
Rotor Winding
656
Fig. 11.46 Cross-section of a
series wound single-phase AC
motor
Salient pole
Field winding
on the stator
The rotor and stator
(field) windings are
connected in series
Summary
AC power in North America is generated at 60Hz or
377rad/sec. Europe and most of the rest of the world use
50Hz, which is less efficient. Polyphase power is two phase
for residences and three phase for industry. AC circuit analysis is a specialized application of frequency response analysis. AC analyses are steady-state analyses. The magnitudes
of voltage and current are root-mean-square (RMS) values.
Conversion from the true, DC amplitude, V0, of sinusoidal
voltage to the RMS value is
VRMS =
V0
2
= 0.707 V0
stator
rotor
Problems
11.1 A single-phase AC motor with the driving point impedance Z = 0.5 + j 0.08 is connected to a 120 VAC
voltage source. Determine the current drawn by the
motor and the apparent, reactive, and active power of
the motor.
11.2 Two single-phase AC motors with impedances Z1 and
Z2 are connected in parallel to a 120 VAC voltage
source Fig. P11.2.
Determine the total current drawn by the motors and
the apparent, reactive, and active power of the each
motor.
11.3 A three-phase, delta connected AC motor with the driving point impedance Z = 3 + j1.2 is connected to a
Chapter 11 Appendix
657
R2
L2
R1
L1
b
Z2 = 5 + 4.2 j
Z 1= 3.5 + 1.6 j
Fig. P11.5 An RL
AC circuit
R1
Fig. P11.7 An RL AC
circuit
R1
Fig. P11.6 An RC AC
circuit
R1
R1
R2
R2
R2
R2
Chapter 11 Appendix
Evaluation of the Root-Mean-Squared Integral
This integral is evaluated twice, first in its present form and
then with the sine function expressed in terms of complex
exponentials using Eulers formulas.
658
T
(V
0
sin( ) =
1
1
cos (w t ) sin (w t )
V sin (w t ) dt = V t
2
2
w
0
2
e j + e j
2
e j (wt + ) + e j (wt + )
v(t ) = V0 cos(w t + ) = V0
Thus
T
cos( ) =
If we integrate over a full cycle, it makes no difference if we use cosine or sine. Using a cosine function
v(t ) = V0 cos(w t + ), express it using complex exponentials.
1
1
sin (wt ) dt = 2 t 4w sin ( 2wt )
2
0
e j e j
2j
1
2
V0 sin(w t + ) ) dt
(
T 0
VRMS =
2
0
or
T
1
1
sin ( 2 w t )
V02 sin 2 (w t ) dt = V02 t
w
2
4
0
2
2
t=
cos (w t ) t = 0w = cos w
cos ( 0) = 1 1 = 0
2
= sin w
sin ( 0) = 0 0 = 0
sin (w t ) t = 0w
VRMS
t=
V02
4T
VRMS =
(e
j (w t + )
+ e j (wt + )
(V
0
2
0 sin (w t )) dt = V0
2
1
T
t = V02
2 0
2
2
1
V0 sin (w t )) dt =
(
T 0
VRMS =
V0
V
= 0
2 1.414
1 2 T
V0
2
T
(e
j (w t + )
+ e j (w t + )
) dt
2
) dt
2
(e
j (w t + )
+ e j (wt + )
(
(e
) dt = (e
2
j 2 (w t + )
+ 2e0 + e j 2(wt + ) dt
j wt + )
+ e j (wt + )
t=
2
sin ( 2w t ) t = 0w = sin 2 w
sin ( 0)
w
t=
T
e j (wt + ) + e j (wt + )
1
V0
=
dt
T 0
2
) dt = e
2
j 2 (w t + )
dt + 2 dt + e j 2(wt + ) dt
j 2
t +
T
dt =
e
0
j 2
t +
T
du deu
and
=
dx
dx
2
T
0 +
j 2
T j 2 T T +
T
e
e
dt =
T j ( 4 + 2 )
e j 2
e
4
659
j 2
t +
T
T j (4 + 2 )
T j 2
dt =
(e
e j 2 ) =
(e e j 2 ) = 0
4
4
and
T
j 2
t +
T
dt =
T j ( 4 + 2 )
e
e j 2
4
dt =
T j 2
e j 2 = 0
e
4
e
0
j 2
t +
T
(e
0
j 2 (w t + )
Hence,
VRMS =
VRMS =
V02
4T
(e
0
j (w t + )
+ e j (wt + )
) dt
2
V02
V2
V
( 2T ) = 0 = 0
4T
2
2
Index
A
AC induction motors,234
Across variable,123, 124, 126, 127, 130, 132, 135, 136, 147, 174,
181, 182
difference,125, 126
Active power,653
Address,495
Adjoint of a matrix,421
Alias,68
Alternating current (AC),635
Analysis,26, 31
Angular frequency,49, 69, 88
Angular velocity,222
Antilog,596
Apparent power,652
Area-moment of inertia,224
Attenuation,599
Automatic control theory,3, 4
Automotive lead-acid storage battery,47
B
Back-EMF,352, 354
Base conversion,496
Beat,586
Belt drive,339, 395
multiport,367, 384
Bending,200
Bevel gear,344
Binary,495
Binary place values,496
Bingham fluid,483
Bit,495
Block diagram,527
algebra,529
differential equation,535
state equations,542
Bode plot
critically damped phase-angle,603
first-order log-magnitude,598
first-order phase-angle,603
phase angle,602, 620
second-order log-magnitude,598
underdamped phase-angle,603
Bode plot asymptotic approximation,607
first-order factors,608
gain,614
integrator and differentiator,613
sketching,615
transfer function form,607
underdamped second-order factor,610
Bond graphs,123
Boolean control,3, 4
Boolean variables,499
Branches,19, 20, 24, 25, 35
Branch point,529
Brushes,351
Brushless DC motor,649
Byte,495
C
Cam and follower,362
Cantilevered beam,201
Capacitor start,655
Cartesian coordinates,65
Cartesian form,63, 66
Cascaded blocks,528
Cause and effect,148
Cavitation,347
Chain drive,339
Characteristic equation,54, 55, 57, 70, 71, 79, 545
Characteristic function,55, 57, 100, 159, 163, 164, 521, 524
Characteristic value see Eigenvalue,60
Check valve,483
Circular pitch,342
Closed-loop feedback control,3, 4
Closed-loop negative feedback control,531
Closed-loop system,533
Closed-loop transfer function,532
Cluster gear,346
Coast-down test,244
Coefficient matrix,522
Coenergy,12, 13, 14, 22
Cogging,351
Column matrix,412
Commutator,351
Compatibility,23, 28, 41, 125, 130
Compatibility equations,20, 21, 2326, 29, 31, 36, 37, 123
Complex exponential,60, 64, 67, 73, 83, 158
counter-rotating,71
form,6568, 80
imaginary component,70
real component,70
rotating,70
unit vector,64
Complex impedance,639
Complex number,56, 60, 61, 64, 65, 68
addition and subtraction,61
argument,63
cartesian form,60
complex conjugate,60
K. A. Seeler, System Dynamics, DOI 10.1007/978-1-4614-9152-1, Springer Science+Business Media New York 2014
661
Index
662
magnitude,61, 63, 65, 83
modulus,61, 63, 83
multiplication and division,62
polar form,63
principal angle,64
Complex variable,54
Compliance,199
Compound gear,346, 388
Computational model,47
Continuity,21, 28, 32, 37, 125, 130
Continuity equations,2426, 29, 31, 36, 43, 123, 126, 134, 174, 182
Corner frequency,600
first-order,598
second-order,600
Controlled variable,531
Coulomb friction,211
torque on shaft,243
Crank and slider,362
Creep,235
Critically damped,88
D
DAlemberts force,122
Damped frequency,585
Damped natural frequency,549
Damping coefficient,120, 122, 157
Damping ratio,103, 550
Dashpot,217
DC generator,354
DC motor,350, 353, 354
DC servomotor,242
Decade,597
Decay,549
envelope,88
exponential,143, 147
rate,70
Decaying sinusoid,98
Decibel,596
Decision block,500
Decomposition,252
Delta connection,649
Design practice,27
Determinant,418
Diagonal matrix,420, 444
Differential elemental equation,140
Differential equations,45, 46, 57, 59, 75, 127
first order,142
Differential system equation,3, 16, 23, 37, 38, 42, 53, 93, 120, 121,
125, 127, 132, 135, 137, 139, 149, 182
Diode,483
Direct pass-through matrix,427
Disassemble,26
Discrete time,469
Disturbed system,54
Drag cup,232
Driving point impedance,642
Driving potential,20, 21, 23, 30, 35, 36
Dynamical systems,1, 2
electric circuits,3, 4
Dynamic calculation,70
Dynamic equilibrium,29
Dynamic range,86, 144
Dynamic system,2, 3, 4, 8, 31, 45, 46, 52, 135, 142
mathematics of,3, 5
Dynamic tests,235
E
Eddy currents,351
Effective mass,205
cantilervered beam,206
spring,206
Eigen equation,57
Eulers sine and cosine formula,68, 71, 73
Eigenvalue,57, 60, 69, 70, 75, 84, 155, 158, 179, 545
complex conjugate,60, 71, 79, 83, 88, 101, 159, 163
real,84
real component,89
underdamped systems,247
Eigenvector,444
Elastic beam theory,200
Elastic-perfectly plastic,5, 9
Electrical
capacitance,30
schematics,35
transformers,644
Element
damping,122
energetic,4, 20, 36, 118
energy storage,11, 30, 36, 127
equation,36
equations,126
ideal,27
linear,49
mass,118
mechanical,4, 7
Elemental models,32
Energetic
attribute,118, 135, 137, 174, 182
models,137
network,136
property,1, 8, 9, 20, 36
schematic,133, 154
systems,39
Energy,1, 8, 1315, 39, 157
density,14, 24
dissipation,118, 157, 168
elastic strain,10, 11, 32, 129
equations,37, 127
gravitational potential,15, 27
kinetic,15, 27, 121, 141
mechanical,39
potential,11, 16, 20
storage,30, 45, 46, 56, 135, 139
storage equations,127
strain,141
Engineering
analysis,5, 27, 39
computations,5, 8
design,26, 39
mathematics,3, 4
models,5, 39
Entangled loops,534
Equations
energetic,130
Equilibrium
dynamic,123
Equivalent element,255, 374
dampers in parallel,256
dampers in series,256
masses in parallel,258
springs in parallel,257
springs in series,257
Index
Error,531
Euler method,468, 469, 481
second-order system,471
Eulers equations,64
Eulers cosine formula,64
Eulers sine formula,65, 99
Eulers equations EulersEqs,65
Eulers number,143
Eulers sine formula,158
Executable block,500
Expansion by minors,419
Exponential,54
decay,55, 89
properties of,66
real,84
Exponentiation,596
F
Feedback,531
Feedforward loop,530
Feedforward transfer function,531
Feed-through matrix,522
Final value theorem,93
Finite difference,467
First order ordinary differential equation,74
First order step response,87
First-order step response,149
Floating,368
mechanical sources,368
transducer or transformer,373
Floating point variable,499
Flow chart,499
Fluid coupling,233
Flux,644
Flux linkage,636, 644
Force
source of,133
Force-source-mass-damper system,145
Force-source-spring-damper system,140, 151, 162
linear graph of,130, 132
Forcing function,57, 58, 79, 80
Forward stepping,468
Fourier series,46
Fourier transformation,49
Fourth-order RungeKutta
two state equations,479
Frequency response
equation,590
relationship,638
Fundamental frequency,586, 593
G
Gain,599
Gaussian elimination,96
Gear ratio,346
Gear set,334, 341, 384
multiport,365
Gear set,334, 341, 348
multiport,365
Gear train see Gear set,344
General solution,59, 76, 78, 82, 155, 157
Geometric compatibility,6, 32
Gibbs phenomenon,594
Graphical integration,17, 31
Graphical representation,27
Ground voltage,36
663
H
Harmonics,586, 593
Heaviside step
function,142
input transitions,182
Heaviside unit step function,46, 47, 49, 74, 76, 78, 91, 92, 136138,
150
superposition of,148
time shifted,148
Helical gear,343
Hexadecimal,495, 496
Homogeneous
equation,51, 54, 55, 59, 71, 75, 77, 79, 155
solution,55, 60, 75, 77, 79, 81, 82, 142, 144, 155, 157
Homogenous
response,51, 56
solution,58
Hookes law,29
Hybrid system
electrical, rotational, and translational,391
rotational translational,377
Hydraulic
actuator,356
motor,356
piston/cylinder,356
Hydrodynamic bearings,233
I
Ideal viscous friction,208
Identity matrix,97, 102, 523
Idler,384
Idler gear,346
Imaginary number,60, 62, 84
Impulse function,76
Impulse-momentum theorem,582
Impulse response
overdamped,247
underdamped,249
Incrementally linear,210, 521
Independent energy storage element,56
Inductance,636
Induction motors,648
Initial conditions,59, 76, 78, 80, 138, 140, 142, 155
energized systems,161
Initial value,146
method,165
theorem,93
Input
function,46, 52, 152, 153
impulse,138
pulse,148
pulse function,148
unit pulse,148
Input matrix,522
Input pulse function,151
Integral causality,594
Integrator,536
Invariant,24, 42
Inverse mathematical operations,144
Inverse of a matrix,523
Inverse tangent,83
algorithm,63
function,65
Inverted,529
Inverter,529
Index
664
J
Jenkins-Traub algorithm,57
K
Kinetic energy,144, 198
Kirkchoffs circuit laws,123
L
Lag,584, 587
Lagranges and Hamiltons energy methods,4, 7
Laplace-domain,90, 519, 521, 522, 526
response function,95
Laplace transform
pair,97, 103, 163
tables,95
Laplace transformation,3, 31, 38, 56, 71, 75, 90, 92, 93, 94, 99, 100,
155, 157, 163, 178, 521
initial condition terms,56
inverse Laplace transformation,92, 94, 95, 98, 100
inverse transformation,164
transform integral,90
transform pairs,95, 101
Laplace variable,54, 55, 90, 94, 95, 96, 521
Lead,587
Leading,584
Lenzs law,352
Lever,335, 338
multiport,363, 379
Linear algebra,96, 98, 101
Linear differential system equation,521
Linear elemental equations,183
Linear equations,149
Linear graph,121, 124, 135, 154, 181
drawing,218
nodes,217
Linear graph method,16, 30, 122, 129
Linear graph symbol
transformer,335, 337
Linearization,208
Linearize,53
Linear mathematical operators,50
Linear operator,53, 519, 527
Linear systems,3, 5
Line to line,651
Logarithmic
scale,597
spiral,70
Logarithms
common,595
properties,595
Log-decrement formula,249
Logical variables,499
Loop,22, 39
equation,23, 41, 126
M
Magnetic flux,352
Magnetic hysteresis,351
Magnetic reluctance,352
Magnetic vector,647
Magnitude,588
Magnitude ratio,581
Mapping,57
Mass,9, 14, 25, 197
conservation,15, 26
flow rate,20, 37
Mass-damper system,139, 161
Mass-moment of inertia,222
cylinder,223
parallel-axis theorem,224
superposition,224
Mathcad,106
assignment statement,106
Heaviside unit step function,190
plot,106, 190
superposition,190
Mathcads Heaviside step function,138
Mathematically independent, algebraic equations,21, 38
MATLAB
absolute value function abs,633
angle function,633
arithmetic operators,505
array,504
array and matrix operators,507
array variables,110
assignment statement,110, 508
Bode plots,632
colon operator,513
comments,510
control tool box,515
editor,110
elseif statement,509
else statement,509
environment,109, 503
flow chart,112, 193
for-end loop,110
for loop,509
formatting plots,511
function imag,634
function real,634
if statement,190, 508
logical operators,507
nested loops,191
Nyquist plots,634
plot,111
plot statement,510
plotting and figures,511
reading and writing to a text file,513
reading and writing to Excel worksheet,513
reading and writing to files,512
relational operators,191, 507
script,111, 112
semilogx,632
square root function sqrt.,633
time shift,191
user written functions,475
while loop,509
workspace,111
MATLAB code,470, 472, 474476, 478, 479, 481, 483
Matrix
addition,412
cofactors,418, 420
differentiation,414
inversion,416
multiplication,413
subtraction,412
Mechanical power,211
Mechanical system
rotational,20
translational,20
Mechanical transformers,334
Method of undetermined coefficients,46, 51, 74
Miter gears,344
Index
Model,27
abstract,5, 118
elastic-perfectly plastic,9, 50
element,29
energetic,8, 13, 118
engineering,2, 4, 7, 26, 27, 31, 32
graphical,28
input,137
linear,50, 53, 120
linear element,50
linear material,9, 15
lumped parameter,28
material,6, 10
mathematical,6, 7, 28, 84
network,20, 36
Newtonian,8, 13
nonlinear,7, 11
nonlinear stress-strain,7, 11
physical,31
Modulus,590
Motor action,350
Multiplicative operator,93, 522
N
Natural fractions,498
Natural frequency,249
undamped,103
Natural response,2, 3
NEMA,649
Nested loops,533
Network,19, 35
Network topology,24, 42
Newtonian fluid,119
Newtonian formulation,121, 122
Newtonian mechanics,14, 26
Newtons second law,15, 26
Node,10, 19, 20, 21, 25, 35, 38, 121, 124, 125, 132, 147
equation,125, 136
ground,132
subscript,125
subscripts,22, 39, 122
velocity,122
Non-causal,151
Non-inverted,529
Non-linear damping,209, 473
Nonlinear differential equation,53
Non-linearity
backlash,482
clipping,482
directional dependency,483
inflection point,482
saturation,482
threshold,483
Nonlinear physical relationship,51
Non-oscillatory see Overdamped,154
Normalization,144
Numerical differentiation,538
Numerical instability,90
Numerical methods,47
Nyquist polar plot,623
O
Observable canonical state-space form,539
Octal,459
Open-ended design problems,4, 6
Open-loop,532
Operating
665
condition,119
point,209
range,10, 16, 47, 209
Operator,527
Ordinary differential equation,53, 77
second order,79
Orienting,25, 44
Orthogonality,419
Oscillations,1, 16, 28, 56, 71
decaying of,69
period,88
Oscillatory
second order step response,88
second order system,99
Output matrix,522
Overdamped,86, 154
Overshoot,70
P
Parallelogram rule,61
Partial fraction expansion,92, 95, 560
Particular solution,51, 57, 78, 80, 142
Passive elements,124, 125
Path,19, 35, 125
equation,23, 41, 126, 136
equations,126
Period,581, 583, 593
Phase angle,69, 82, 84, 635
Phase shift,69, 81, 103
Phase voltage,651
Phasor operator,643
Phasors,642
Physical systems,58
Piece-wise continuous function,89
Pitch circle,342
Plant,532
Polar form,588
Pole,547
Pole-zero form,588
Pole-zero plot,551
Polyphase,637
Positive feedback,532
Post-multiplication,97
Potential,20, 36
Power,8, 12, 15, 16, 20, 130, 147
flow,15, 26, 124
ideal source,47
mechanical,12, 17, 21, 122
source,16, 25, 29, 46
variable,46
variables,1, 15, 16, 26, 143
Power law viscosity,474
Power screw,361
Power sources,212
rotational systems,234
Power variables,127
Practical pulse-width-modulated amplifiers,148
Pre-multiplication,97
Pressure,20, 21, 36
Proportional controller,533
Proportional damping,208
Pulse response,148
function,153
Pulse train,148
Pulse-width-modulation,148
Pump,354, 396
Index
666
axial flow,356
gear,355
positive displacement,354
reciprocating piston,355
turbopump,356
Pythagorean theorem,61, 62, 63, 81, 83
Q
Quadratic equation,77
R
Rack and pinion,360
Radix,496
Reactance,643
Reactive power,653
Real numbers,60
Recursive calculation,468
Reference signal,531
Relaxation,235
Relaxation time,53
Relevant physical truths,28
Resistive energy loss,636
Resonance,584
Resonant,586
Resonant frequency,585
Resonant peak,585
effect of damping ratio,601
Response
steady-state,143
Response function,89, 146, 172, 173
pulse,153
Reversible systems,16, 28
Rigid,12, 20
Rolling-contact bearings,232
Root-mean-square (RMS),637
Rotating magnetic field,648
Rotational damper,233
Rotational hydraulic motor
gear,359
gerotor,358
piston,359
rotor,358
vane,358
Rotational mechanical systems,221
Row matrix,412
Runge-Kutta algorithms,89
Runge-Kutta method,45
three state equations,480
S
Saint-Venants principle,9, 15
Schematic,124
Second order
spring-mass-damper system,156
underdamped unit step response,165
Second order step responses,86
non-oscillatory,86
overdamped,251
Second-order step responses
superposition of,154
Self-locking,362
Series wound,655
Serpentine belt,384
Shear modulus,230
Shear strain,231
rate,119
Shock absorber,210
Signal,527
Sign convention,16, 28
fluid transducers,355
linear graph,215
mechanical systems,214
motors,352
transducers and transformers,346
Significant,28
Signs,145
Simply supported beam,201
Singular matrix,420
Sink,214
Sinusoid,58
Sinusoidal inputs,49
Sinusoidal output,588
Sinusoidal response
transient,579
Slip,648
Slug,198
Snubbers,209
Solenoid,352
Source
force,122
power,122
Spectrum,598
Spring
translational,129
Spring back,14, 25
Spring constant,13, 23, 129, 199
Spring rate see Spring constant,13, 23
Spur gear,342
Square wave,594
Stability,547
Stable,84
exponential growth,76, 86
Standard form,53, 74, 77
State equations,522
standard vector-matrix form,522
vector-matrix form,426
State-space,423, 437
higher-order system equation,438, 440
State-space representation,149
State variables,139, 146, 147, 153
energy storage variables,544
without physical meaning,544
State vector,522
Steady-state,54, 58, 85, 147, 152, 161
response,59, 89, 142
value,146
Step function
Heavisides definition of,138
Step response,85
function,49
unit,151
Strain energy,199
Summation junction,529
Superposition,46, 49, 51, 52
Synchronous motor,648
Synthesis,26
System,19, 35
boundaries,45
energetic,20, 36
fluid,21, 38
identification,84
mass-damper,128
mechanical,12, 20
Index
nonlinear,151
physical,30
spring-damper,130
System dynamics,4, 6
System equation,121, 134
T
Thermal systems,30
Thermodynamics,16, 28
Three phase,637
Time constant,51, 53, 84, 85, 86, 89, 121, 142, 144, 146, 151, 152,
153
form,121
Time-domain block diagram,536
Time-domain expression,98
Time shift,18, 32, 147, 150, 153
Time step,89
Torque,222
Torque constant,352
Torque curve,234
Torsion spring,230
Transducer,336, 350
Transfer function,67, 93, 94, 99, 162, 521, 524, 527
Transformation matrix,443
Transformed state vector,523
Transformer,333
block model,336
Transformers and transducers
multiport,362
Transient period,51, 54, 161
Transient response
first-order system, sinusoidal input,582
Translational mechanical system,129
Translational spring,199
Translational velocity,129
Transpose of a matrix,415
Trapezoidal approximation,148
Trapezoidal integration,484
Trigonometric identities,71
Trivial equations,33
U
Underdamped,154
Underdamped pulse response
second order,165
667
Underdamped system,79
Unit exponential decay,85
Unit impulse function,46, 48
Unit ramp function,46, 48
Units,53, 128
Unit stable exponential growth,85
Unit step response,152
first order,153
function,46, 153, 178
Unstable,548
exponential growth,69
system,69
U.S. customary units,198
mass moment of inertia,226
V
Variable frequency motor,649
Vector algebra,411
Vector-matrix algebra,411
Vector of inputs,427
Vector of output variables,427
Vector of transfer functions,526
Velocity
source,129, 132, 212
Velocity source-damper-mass-spring system,174
Viscoelasticity,220
Viscoelastic model
KelvinVoight,220
Maxwell,220
Zener,220
Viscosity,119
W
Weight,197
Word,495
Work,8, 11, 12, 13
Worm drive,344
Wye connection,649
Y
Youngs modulus,9, 15
Z
Zero,551