SlideShare une entreprise Scribd logo
1  sur  25
Télécharger pour lire hors ligne
ECE4510/5510: Feedback Control Systems. 2–1
SYSTEM MODELING IN THE TIME DOMAIN
2.1: What is a model? Why do we need one?
I We use the term model to refer to a set of mathematical equations
used to represent a physical system, relating the system’s output
signal to its input signal.
I A model is required in order to:
1. Understand system behavior (analysis).
2. Design a controller (synthesis).
KEY POINT: It is necessary to understand how the system works
naturally in order to know how to be able to change how it works
using a feedback controller.
I Developing a reasonable mathematical model is the most important
part of the entire analysis.
I It is also often the most difficult, amounting to ≈ 80 %–90 % of the
effort in designing a controller.
I There are two basic approaches to modeling:
1. Analytic system modeling—we focus on these methods.
2. Empirical system identification. (In practice, there is always an
empirical component to system modeling: cf. ECE5560.)
I It is important to realize that no model is ever exact! Inaccuracies
arise because of
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–2
1. Unknown parameter values, or
2. Unmodeled dynamics (to make simpler model).
I There is always a tradeoff between simplicity and accuracy:
• It’s often possible to improve the accuracy of a mathematical
model by increasing its complexity
• Simplification often means ignoring some inherent physical
properties
N e.g., ignore nonlinearities in linear, lumped-parameter models
• In general, it’s desirable to start with a simplified model to get a
“general feel,” increasing complexity only if the controlled system
does not meet performance requirements.
N Simplifications often ignore some high-frequency behaviors,
which requires that the controllers must operate with slower
transient-response requirements in order to be robust.
KEY POINT: “All models are wrong, but some are useful”
(George E. P. Box, statistician.)
EXAMPLE: Consider a 1 , 2 W resistor.
I Ohm’s Law (model) says: v(t) = i(t) · R.
i(t)
v(t)R
I Apply 1 V. What happens?
• 1 A of current is predicted to flow.
• Power dissipated = V 2
/R = 1 W.
I Model should be accurate.
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–3
I Now apply 10 V.
• 10 A of current is predicted to flow.
• Power dissipated = V 2
/R = 100 W!
® Model will no longer be accurate.
® True behavior depends on input signal level—nonlinear.
® Model is accurate only in certain range of input-signal values.
I Ohm’s law is definitely useful, but it is “wrong” in the sense that it
applies only under certain conditions, and even then is an averaged
version of what is truly happening at the microscopic scale.
LTI systems
I This example shows that it is important to know the properties of your
model, as well as the model itself.
I I claimed that the resistor exhibited “nonlinear” behavior, in some
sense.
I In the next sections, we look at two critical properties of systems:
• Whether the system is “linear” (or not),
• Whether the system is “time invariant” (or not).
I This course teaches methods to control linear-time-invariant (LTI)
systems.
I Again, none exist! But, many are “close enough” for the techniques
developed here to work very well.
I Also, we’ll look at ways of linearizing equations in Topic 2.7.
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–4
2.2: System properties of linearity and time invariance
TIME INVARIANT: The first system property that we look at is that of time
invariance.
I A system is either time-varying or time-invariant, not both.
I A time-invariant system does not change its fundamental behavior
over different periods of time. Its parameter values are constant.
I A time invariant system satisfies the property (for any x(t), τ)
x(t − τ) → y(t − τ)
when x(t) → y(t).
I We can test a system for this property using ideas from the figure.
x1(t)
x2(t) = x1(t − τ)
y2(t)
y1(t)
y1(t − τ)
delay
delaysystem
system
I A time-invariant system will have y2(t) = y1(t − τ) for all x1(t) and τ.
TEST: To test for time-invariance, we must
I Input x1(t) to the system and measure the output y1(t).
I Input x2(t) = x1(t − τ) to the system and measure y2(t).
I If y2(t) = y1(t − τ) for all possible delays τ and signals x1(t), then
the system is time-invariant.
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–5
EXAMPLE: For example, consider a square-law system y(t) = (x(t))2
.
I Input x1(t) to the system and measure y1(t): y1(t) = (x1(t))2
.
I Input x2(t) to the system and measure y2(t): y2(t) = (x2(t))2
.
I But, x2(t) = x1(t − τ), so y2(t) = (x1(t − τ))2
= y1(t − τ).
I Since this relationship holds for all τ and all x1(t), the square-law
system is time-invariant.
EXAMPLE: Let us examine a “delay operator.” (The delay operator is a
fundamental building-block of digital-signal-processing systems and
digital control systems).
I The output of a delay is equal to the input, but shifted a constant
amount λ seconds: y(t) = x(t − λ), λ ≥ 0.
I Input x1(t) to the system and measure y1(t): y1(t) = x1(t − λ).
I Input x2(t) to the system and measure y2(t): y2(t) = x2(t − λ).
I But, x2(t) = x1(t − τ), so y2(t) = x1(t − τ − λ) = y1(t − τ).
I Since this relationship holds for all τ and all x1(t), the delay operator
is time-invariant.
EXAMPLE: Let us examine a “time compressor” whose output is equal to
its input, but “squashed” in time:y(t) = x(kt).
I Input x1(t) to the system and measure y1(t): y1(t) = x1(kt).
I Input x2(t) to the system and measure y2(t): y2(t) = x2(kt).
I But, x2(t) = x1(t − τ), so
y2(t) = x1(kt − τ) = x1(kt − kτ) = y1(t − τ).
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–6
I Therefore, the compressor is time-varying.
t
x1(t)
⇒
t
y1(t)
t
x2(t) = x1(t − τ)
⇒
t
y2(t)
=
t
y1(t − τ)
LINEAR: The second property that we look at is linearity.
I For linear systems, if x1(t) → y1(t) and x2(t) → y2(t), then
x3(t) = αx1(t) + βx2(t) → y3(t) = αy1(t) + βy2(t),
for any such x1(t), x2(t), α, β.
I We can test a system for this property using ideas from the figure.
x1(t) x1(t)
x2(t) x2(t)
y1(t)
y2(t)
α α
ββ
x3(t)
y3(t)y(t)
system
system
system
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–7
TEST: To test for linearity, we must
I Input x1(t) to the system and measure the output y1(t).
I Input x2(t) to the system and measure y2(t).
I Input x3(t) = αx1(t) + βx2(t) to the system and measure y3(t).
I If y3(t) = αy1(t) + βy2(t) for all possible α and β values, and x1(t)
and x2(t), then the system is linear.
EXAMPLE: Is the following system, described by the differential equation
˙y(t) + ty(t) = x(t), linear?1
I Input x1(t) and output is y1(t): ˙y1(t) + ty1(t) = x1(t).
I Input x2(t) and output is y2(t): ˙y2(t) + ty2(t) = x2(t).
I Input x3(t) = αx1(t) + βx2(t) and measure y3(t).
˙y3(t) + ty3(t) = x3(t);
but, x3(t) = αx1(t) + βx2(t), so
˙y3(t) + ty3(t) = αx1(t) + βx2(t)
= α (˙y1(t) + ty1(t)) + β (˙y2(t) + ty2(t))
=
d
dt
(αy1(t) + βy2(t)) + t (αy1(t) + βy2(t)) .
By examining both sides of this equation, we realize that
y3(t) = αy1(t) + βy2(t). Therefore, the system is linear.
1
Note, the “dot” decoration on a variable indicates a time derivative. That is, ˙y(t) =
dy(t)/d(t), and so forth.
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–8
EXAMPLE: Trying this on the square-law system,
I Input x1(t) and output is y1(t): y1(t) = (x1(t))2
.
I Input x2(t) and output is y2(t): y2(t) = (x2(t))2
.
I Input x3(t) = αx1(t) + βx2(t) and measure y3(t).
y3(t) = (x3(t))2
= (αx1(t) + βx2(t))2
= α2
(x1(t))2
+ 2αβx1(t)x2(t) + β2
(x2(t))2
= α (x1(t))2
+ β (x2(t))2
.
I So, the square-law system is not linear (it is a nonlinear system).
KEY POINT: If a system is LTI, then it has an impulse response. This
entirely characterizes the system’s dynamics. The Laplace transform
of the impulse response is the transfer function. Working with the
transfer function eliminates the need to mess around with trying to
solve complicated differential equations.
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–9
2.3: Dynamics of mechanical systems (translational)
I We now begin to review some basic physics as a refresher to
developing models of dynamic systems.
I We’ll focus on mechanical and electrical systems, but will mention
some others too.
Translational motion
I Newton’s second law, applied to translational motion, states:
F = ma.
I That is, the vector sum of forces = mass of object times inertial
acceleration.
I “Free-body diagrams” are a tool to apply this law.
EXAMPLE: Cruise control model.
I Write the equations of motion for the speed and forward motion of a
car assuming that the engine imparts a forward force of u(t).
1. Assume rotational inertia of wheels is negligible.
2. Assume that friction is proportional to car’s speed (viscous friction).
F = ma
u(t) − b ˙x(t) = m ¨x(t)
or, ¨x(t) +
b
m
˙x(t) =
u(t)
m
b ˙x(t) u(t)
x(t)
m
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–10
I If the variable of interest is speed (v(t) = ˙x(t)), not position,
˙v(t) +
b
m
v(t) =
u(t)
m
I Notice that the differential equation has “output variables” on the left
of “=”, and “input variables” on the right.
IMPORTANT POINT: All of our models of dynamical systems will be
differential equations involving the input (e.g., u(t)) and its derivatives
and the output (e.g., y(t)) and its derivatives. No other signals
(intermediate variables) are allowed in our solutions.
EXAMPLE: Car suspension.
Each wheel in a car suspension system has a tire, shock absorber
and spring. Write the one-dimensional (vertical) equations of
motion for the car body and wheel.
I “Quarter-car model”
Road Surface
Inertial Reference
kw
bks
m1
m2
x(t)
y(t)
r(t)
I Free-body diagram:
ks(y(t) − x(t)) b( ˙y(t) − ˙x(t))
kw(x(t) − r(t)) ks(y(t) − x(t)) b( ˙y(t) − ˙x(t))
m1 m2
x(t) y(t)
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–11
I The force from the spring is proportional to its stretch. The force from
the shock absorber is proportional to the rate-of-change of its stretch.
F = ma
b (˙y(t) − ˙x(t)) + ks (y(t) − x(t)) − kw (x(t) − r(t)) = m1 ¨x(t)
−ks (y(t) − x(t)) − b ( ˙y(t) − ˙x(t)) = m2 ¨y(t)
I Re-arrange:
¨x(t) +
b
m1
(˙x(t) − ˙y(t)) +
ks
m1
(x(t) − y(t)) +
kw
m1
x(t) =
kw
m1
r(t)
¨y(t) +
b
m2
( ˙y(t) − ˙x(t)) +
ks
m2
(y(t) − x(t)) = 0
Implementation in Simulink
I Simulink is a component of MATLAB that is very useful for simulating
dynamic systems using a block-diagram approach.
I Consider the cruise-control model, where we wish to control vehicle
velocity:
˙v(t) +
b
m
v(t) =
u(t)
m
.
I To implement this model in Simulink, we re-write the equation to have
only the highest derivative term on the left-hand-side
˙v(t) =
u(t)
m
−
b
m
v(t).
I We wire up a diagram like:
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–12
I If the appropriate parameters are entered in the MATLAB workspace
for m and b, then this will simulate the car’s dynamics.
Important components for mechanical-translational systems:
x1(t)
x1(t)
x2(t)
x2(t)
f (t) = k(x1(t) − x2(t))
f (t) = b(˙x1(t) − ˙x2(t))
k
b
m1. Mass
2. Spring
3. Damper
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–13
2.4: Dynamics of mechanical systems (rotational)
I Newton’s second law, applied to rotational motion, states:
M = Jα or Iα.
I That is, the vector sum of moments = moment of inertia times angular
acceleration. (“moment”=“torque”).
EXAMPLE: Satellites require attitude control so that sensors, antennas,
etc., are properly pointed. Let’s consider one axis of rotation.
θ(t)
d
Gas jet
Fc(t)
moment = Fc(t) · d, so,
Fc(t)d = J ¨θ(t)
¨θ(t) =
Fc(t)d
J
Note: Output of system θ(t) integrates
torques twice—“double-integrator plant.”
EXAMPLE: A torsional pendulum is used, for example, in clocks enclosed
in glass domes. A similar device is the read-write head on a hard-disk
drive.
k
bJ
τ, θ
k: “Springiness” of suspension wire.
b: Viscous friction.
M = J ¨θ(t)
J ¨θ(t) = τ(t) − b ˙θ(t) − kθ(t)
¨θ(t) +
b
J
˙θ(t) +
k
J
θ(t) =
τ(t)
J
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–14
Implementation in Simulink
I The same basic principle applies to implementing this system in
Simulink as well, except now we have a second-derivative term.
I No problem! Again, we re-write the equation to have only the highest
derivative term on the left-hand-side
¨θ(t) =
τ(t)
J
−
b
J
˙θ(t) −
k
J
θ(t).
I We wire up a diagram like:
I If the appropriate parameters are entered in the MATLAB workspace
for J, b, and k, then this will simulate the pendulum’s dynamics.
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–15
Important components for mechanical rotational systems:
θ1(t)
θ1(t)
θ2(t)
θ2(t)
τ(t) = k(θ1(t) − θ2(t))
τ(t) = b( ˙θ1(t) − ˙θ2(t))
k
b
J1. Inertia
2. Spring
3. Damper
Summary of Developing Models for Rigid Bodies:
1. Assign variables such as x(t) and θ(t) that are both necessary and
sufficient to describe and arbitrary position of the object.
2. Draw a free-body diagram of each component, and indicate all forces
acting on each body and the accelerations of the center of mass with
respect to an inertial reference.
3. Apply Newton’s laws: F = ma, M = Jα.
4. Combine the equations to eliminate internal forces.
5. The final form must be in terms of ONLY the input to the system and
its derivatives, and the output of the system and its derivatives.
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–16
2.5: Dynamics of electrical circuits
I Kirchhoff’s Law’s:
• Current Law (KCL): The algebraic sum of currents entering a node
equals the algebraic sum of currents leaving the node.
• Voltage Law (KVL): The algebraic sum of all voltages taken around
a closed path in a circuit is zero.
I “Node analysis” is a tool to apply these laws. (i.e., select one node as
reference (e.g., ground) and assume all other voltages are unknown.
Write equations for the unknowns using KCL. KVL must be used for
voltage sources.)
EXAMPLE: Bridged-T circuit.
R1 R2
C1
C2
vi (t)
Œ  Ž

I Select reference = .
• KVL at Œ: vŒ(t) = vi(t).
• KCL at :
vŒ(t) − v(t)
R1
−
v(t) − vŽ(t)
R2
− C1 ˙v(t) = 0.
• KCL at Ž:
v(t) − vŽ(t)
R2
+ C2(˙vŒ(t) − ˙vŽ(t)) = 0.
v(t) − vŽ(t) + R2C2(˙vŒ(t) − ˙vŽ(t)) = 0
vŽ(t) + R2C2(˙vŽ(t) − ˙vŒ(t)) = v(t)
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–17
vŒ(t) − [vŽ(t) + R2C2(˙vŽ(t) − ˙vŒ(t))]
R1
−
[vŽ(t) + R2C2(˙vŽ(t) − ˙vŒ(t))] − vŽ(t)
R2
−
C1 [˙vŽ(t) + R2C2(¨vŽ(t) − ¨vŒ(t))] = 0
R2 (vŒ(t) − [vŽ(t) + R2C2(˙vŽ(t) − ˙vŒ(t))]) −
R1 ([vŽ(t) + R2C2(˙vŽ(t) − ˙vŒ(t))] − vŽ(t)) −
R1 R2C1 [˙vŽ(t) + R2C2(¨vŽ(t) − ¨vŒ(t))] = 0.
R1 R2
2C1C2 ¨vŽ(t) + R2
2C2 + R1 R2C2 + R1 R2C1 ˙vŽ(t) + (R2) vŽ(t)
= (R1 R2
2C1C2)¨vŒ(t) + (R2
2C2 + R1 R2C2)˙vŒ(t) + (R2)vŒ(t)
EXAMPLE: Op-amp circuit.
R1
R2 C
vi (t) vo(t)
i(t) =
vi(t)
R1
vo(t) = −R2i(t) − vc(t).
dvo(t)
dt
= −R2
di(t)
dt
−
dvc(t)
dt
= −
R2
R1
dvi(t)
dt
−
i(t)
C
= −
R2
R1
dvi(t)
dt
−
1
R1C
vi(t)
R1C ˙vo(t) = −R2C ˙vi(t) − vi(t)
(as C → ∞, we get an inverting amplifier.)
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–18
Important components for electrical systems:
1. Resistor
2. Capacitor
3. Inductor
4. Voltage source
5. Current source
6. Operational
Amplifier
v(t)
v(t)
v(t)
v(t)
i(t)
i(t)
i(t)
i(t)
vs
is
vd(t)
i−(t)
i+(t) vo(t)
v(t) = Ri(t)
i(t) = C
d v(t)
dt
v(t) = L
d i(t)
dt
v(t) = vs
i(t) = is
vd(t) = 0
i−(t) = i+(t) = 0
vo(t) = Ao(v+(t) − v−(t))
as Ao → ∞
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–19
2.6: Dynamics of electro-mechanical systems (etc.)
I These are systems that convert energy from electrical to mechanical,
or vice versa.
EXAMPLE: DC generator.
I Assume generator is driven at constant speed.
I Generator has field windings (input), and rotor/armature windings
(output).
R f Ra Lai f (t) ia(t)
ef (t) L f eg(t) Zlea(t)
Field
circuit
Armature
circuit
Load
circuit
I ef (t) = R f i f (t) + L f
di f (t)
dt
e f (t) is input, i f (t) is output.
I eg(t) = Kφ
dθ(t)
dt
K depends on generator structure.
= Kgi f (t). dθ(t)/dt = angular velocity = cst.
φ = flux, proportional to i f (t).
I eg(t) = Raia(t) + La
dia(t)
dt
+ Zlia(t). eg(t) is input, ia(t) is output.
I ea(t) = Zlia(t). ia(t) is input, ea(t) is output.
ef (t) ea(t)
i f (t) eg(t) ia(t)Field
circuit
Kg
Rotor
circuit
Zl
This is a preview of a block diagram used to simplify our understanding
of the system dynamics.
EXAMPLE: DC motor (servo-motor).
I Directly generates rotational motion.
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–20
I Indirectly generates translational motion.
ea(t) eb(t)
ia(t) Ra La b
J
θ(t), τ(t)
Armature Load
I Mechanical resistance of load is translated into an electrical
“resistance” called the back e.m.f.
I eb(t) = Ke
dθ(t)
dt
Ke = Kφ, as with generator.
I ea(t) = Raia(t) + La
dia(t)
dt
+ eb(t)
I τ(t) = Kτia(t) Kτ = K1φ
I Combining these equations of motion, recall Newton:
M = Jα
J ¨θ(t) = τ(t) − b ˙θ(t)
= Kτia(t) − b ˙θ(t)
I Assume (FOR NOW ONLY) electrical response is faster than
mechanical. La ≈ 0.
J ¨θ(t) = Kτ
ea(t) − eb(t)
Ra
− b ˙θ(t)
J ¨θ(t) + b +
Kτ Ke
Ra
back e.m.f. indistinguishable from friction!
˙θ(t) =
Kτ
Ra
ea(t)
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–21
Dynamics of heat flow/ dynamics of fluid flow
I These two subjects will not be covered here. Refer to texts on
thermodynamics or fluid-dynamics.
Transformers and gears
I Ideally, both of these devices simply scale their input value.
Transformer :
N1
N2
=
e1
e2
=
i2
i1
Gears :
r1
r2
=
θ2
θ1
=
τ1
τ2
r1 r2
System identification (SYS ID)
I When we generate models of system dynamics, we are performing
“system identifications.”
I When we use known properties from physics and knowledge of the
system’s structure (as we have done here) we are performing “white
box system ID.”
I If the system is very complex, or if the physics are not well
understood, we need to use input/output data to generate a system
model: “black-box system ID.”
I A topic for the whole course! (ECE5560)
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–22
2.7: Linearization and analogous systems
I We will study how to control linear systems.
I Linear systems are rare.
I We can “linearize” a non-linear system—the controller designed for
linearized model will work on the true nonlinear system (but not as
well as a controller designed directly for the non-linear system.)
EXAMPLE: NONLINEAR rotational pendulum.
l
θ(t), τ(t)
mg
Moment of inertia: J = ml2
.
M = J ¨θ(t)
J ¨θ(t) = τ(t) − mgl sin(θ(t))
¨θ(t) +
g
l
sin(θ(t))
Nonlinear!
=
τ(t)
ml2
I If motion is “small,” sin (θ(t)) ≈ θ(t).
¨θ(t) +
g
l
θ(t) =
τ(t)
ml2
Linear.
This is a preview of linearization.
KEY POINT: We can convert any differential equation into a first-order
vector differential equation:
˙x = f (x, u) ; x = vector, u = input.
Iff the system is linear, this will be of the form:
˙x = Ax + Bu; A and B are constant matrices.
EXAMPLE: Torsional pendulum revisited (pg. 2–13)
¨θ(t) +
b
J
˙θ(t) +
k
J
θ(t) =
τ(t)
J
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–23
let
x1(t)
x2(t)
=
θ(t)
˙θ(t)
˙x2(t) +
b
J
x2(t) +
k
J
x1(t) =
τ(t)
J
˙x1(t)
˙x2(t)
=
0 1
−k/J −b/J
A
x1(t)
x2(t)
+
0
1/J
B
τ(t).
I So, our model of the torsional pendulum is linear.
EXAMPLE: Rotational pendulum revisited (pg. 2–22)
¨θ(t) +
g
l
sin(θ(t)) =
τ(t)
ml2
let
x1(t)
x2(t)
=
θ(t)
˙θ(t)
˙x1(t)
˙x2(t)
=


x2(t)
−
g
l
sin(x1(t))

 +


0
1
ml2

 τ(t).
I Not linear because we cannot make a constant A matrix.
Small-signal linearization
I Uses a Taylor-series expansion of the differential equation around
some operating condition. (Equilibrium value where
˙x0 = 0 = f (x0, u0)).
let x = x0 + δx x0 = operating state
u = u0 + δu u0 = nominal control value.
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–24
˙x = f (x, u).
I Taylor-series expansion:
˙x = ˙x0 + δ ˙x ≈ f (x0, u0) + Aδx + Bδu plus higher-order terms
I Subtract out equilibrium (nominal) solution;
δ ˙x = Aδx + Bδu,
which is linear. This is exactly how we linearized the rotational
pendulum before, with τ0 = 0; θ0 = 0.
sin(θ) = θ −
θ3
3!
+
θ5
5!
− · · ·
≈ θ.
Feedback linearization (computed torque)
I For rotational pendulum, ml2 ¨θ(t) + mgl sin(θ(t)) = τ(t).
• COMPUTE: τ(t) = mgl sin(θ(t)) + u(t).
• THEN: ml2 ¨θ(t) = u(t), no matter how large θ(t) becomes!
• Sometimes used in robotics and airplane flight control, but very
computationally intensive.
Analogous systems
I The linearized differential equations of many very different physical
systems appear identical.
I One would suppose they behave in similar ways (dynamic response)
and can be controlled with similar controllers.
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–25
Mechanical Translational m ¨x(t) + b ˙x(t) + kx(t) = u(t)
Mechanical Rotational J ¨θ(t) + b ˙θ(t) + kθ(t) = τ(t)
Satellite J ¨θ(t) = f (t) · d
DC Motor (for La = 0) J ¨θ(t) + b +
kτ ke
Ra
˙θ(t) =
kτ
Ra
ea(t)
Generator (La L f )¨ea(t) + (L f (Ra + Rl) + La R f )˙ea(t)+
R f (Ra + Rl) = (kg Rl)ef (t)
I These are all of the form
a2 ¨x(t) + a1 ˙x(t) + a0x(t) = b2 ¨u(t) + b1 ˙u(t) + b0u(t)
which is called a second-order form.
I Therefore, we have seen very specific examples of a very general
class of system. If we learn how to control the general class, we can
apply this knowledge to specific systems.
Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli

Contenu connexe

Tendances

2.time domain analysis of lti systems
2.time domain analysis of lti systems2.time domain analysis of lti systems
2.time domain analysis of lti systemsINDIAN NAVY
 
Ch5 transient and steady state response analyses(control)
Ch5  transient and steady state response analyses(control)Ch5  transient and steady state response analyses(control)
Ch5 transient and steady state response analyses(control)Elaf A.Saeed
 
control system Lab 01-introduction to transfer functions
control system Lab 01-introduction to transfer functionscontrol system Lab 01-introduction to transfer functions
control system Lab 01-introduction to transfer functionsnalan karunanayake
 
A New Method of Determining Instability of Linear System
A New Method of Determining Instability of Linear SystemA New Method of Determining Instability of Linear System
A New Method of Determining Instability of Linear SystemIDES Editor
 
Simulation and stability analysis of neural network based control scheme for ...
Simulation and stability analysis of neural network based control scheme for ...Simulation and stability analysis of neural network based control scheme for ...
Simulation and stability analysis of neural network based control scheme for ...ISA Interchange
 
Lecture 14 15-time_domain_analysis_of_2nd_order_systems
Lecture 14 15-time_domain_analysis_of_2nd_order_systemsLecture 14 15-time_domain_analysis_of_2nd_order_systems
Lecture 14 15-time_domain_analysis_of_2nd_order_systemsSyed Ali Raza Rizvi
 
Exercise 1a transfer functions - solutions
Exercise 1a   transfer functions - solutionsExercise 1a   transfer functions - solutions
Exercise 1a transfer functions - solutionswondimu wolde
 
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...Amr E. Mohamed
 
Time response in systems
Time response in systemsTime response in systems
Time response in systemsSatheeshCS2
 
Signals and systems-3
Signals and systems-3Signals and systems-3
Signals and systems-3sarun soman
 
Modified Projective Synchronization of Chaotic Systems with Noise Disturbance,...
Modified Projective Synchronization of Chaotic Systems with Noise Disturbance,...Modified Projective Synchronization of Chaotic Systems with Noise Disturbance,...
Modified Projective Synchronization of Chaotic Systems with Noise Disturbance,...IJECEIAES
 
Transfer fn mech. systm
Transfer fn mech. systmTransfer fn mech. systm
Transfer fn mech. systmSyed Saeed
 

Tendances (20)

Time domain analysis
Time domain analysisTime domain analysis
Time domain analysis
 
Control chap6
Control chap6Control chap6
Control chap6
 
Control chap2
Control chap2Control chap2
Control chap2
 
First order response
First order responseFirst order response
First order response
 
2.time domain analysis of lti systems
2.time domain analysis of lti systems2.time domain analysis of lti systems
2.time domain analysis of lti systems
 
Ch5 transient and steady state response analyses(control)
Ch5  transient and steady state response analyses(control)Ch5  transient and steady state response analyses(control)
Ch5 transient and steady state response analyses(control)
 
Transfer Function
Transfer FunctionTransfer Function
Transfer Function
 
control system Lab 01-introduction to transfer functions
control system Lab 01-introduction to transfer functionscontrol system Lab 01-introduction to transfer functions
control system Lab 01-introduction to transfer functions
 
A New Method of Determining Instability of Linear System
A New Method of Determining Instability of Linear SystemA New Method of Determining Instability of Linear System
A New Method of Determining Instability of Linear System
 
Simulation and stability analysis of neural network based control scheme for ...
Simulation and stability analysis of neural network based control scheme for ...Simulation and stability analysis of neural network based control scheme for ...
Simulation and stability analysis of neural network based control scheme for ...
 
Lecture 14 15-time_domain_analysis_of_2nd_order_systems
Lecture 14 15-time_domain_analysis_of_2nd_order_systemsLecture 14 15-time_domain_analysis_of_2nd_order_systems
Lecture 14 15-time_domain_analysis_of_2nd_order_systems
 
Exercise 1a transfer functions - solutions
Exercise 1a   transfer functions - solutionsExercise 1a   transfer functions - solutions
Exercise 1a transfer functions - solutions
 
P73
P73P73
P73
 
Me314 week 06-07-Time Response
Me314 week 06-07-Time ResponseMe314 week 06-07-Time Response
Me314 week 06-07-Time Response
 
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
 
Time response in systems
Time response in systemsTime response in systems
Time response in systems
 
Signals and systems-3
Signals and systems-3Signals and systems-3
Signals and systems-3
 
Me314 week08-stability and steady state errors
Me314 week08-stability and steady state errorsMe314 week08-stability and steady state errors
Me314 week08-stability and steady state errors
 
Modified Projective Synchronization of Chaotic Systems with Noise Disturbance,...
Modified Projective Synchronization of Chaotic Systems with Noise Disturbance,...Modified Projective Synchronization of Chaotic Systems with Noise Disturbance,...
Modified Projective Synchronization of Chaotic Systems with Noise Disturbance,...
 
Transfer fn mech. systm
Transfer fn mech. systmTransfer fn mech. systm
Transfer fn mech. systm
 

Similaire à Ece4510 notes02

PPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptx
PPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptxPPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptx
PPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptxidrissaeed
 
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...sravan66
 
Ch2 mathematical modeling of control system
Ch2 mathematical modeling of control system Ch2 mathematical modeling of control system
Ch2 mathematical modeling of control system Elaf A.Saeed
 
lecture3_time_domin.pdf
lecture3_time_domin.pdflecture3_time_domin.pdf
lecture3_time_domin.pdfSaraAli847167
 
Systems and their properties
Systems and their propertiesSystems and their properties
Systems and their propertiesPrarthan P
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsAmr E. Mohamed
 
Control system introduction for different application
Control system introduction for different applicationControl system introduction for different application
Control system introduction for different applicationAnoopCadlord1
 
CS Mod1AzDOCUMENTS.in.pptx
CS Mod1AzDOCUMENTS.in.pptxCS Mod1AzDOCUMENTS.in.pptx
CS Mod1AzDOCUMENTS.in.pptxShruthiShillu1
 
01-system_models_slides.pdf
01-system_models_slides.pdf01-system_models_slides.pdf
01-system_models_slides.pdfMammarSoulimane
 
Lectures upto block diagram reduction
Lectures upto block diagram reductionLectures upto block diagram reduction
Lectures upto block diagram reductionUthsoNandy
 
UNIT-V-PPT state space of system model .ppt
UNIT-V-PPT state space of system model .pptUNIT-V-PPT state space of system model .ppt
UNIT-V-PPT state space of system model .pptabbas miry
 
Control system note for 6th sem electrical
Control system note for 6th sem electricalControl system note for 6th sem electrical
Control system note for 6th sem electricalMustafaNasser9
 
Unit 2 signal &system
Unit 2 signal &systemUnit 2 signal &system
Unit 2 signal &systemsushant7dare
 
Adaptive pi based on direct synthesis nishant
Adaptive pi based on direct synthesis nishantAdaptive pi based on direct synthesis nishant
Adaptive pi based on direct synthesis nishantNishant Parikh
 

Similaire à Ece4510 notes02 (20)

Lect2-SignalProcessing (1).pdf
Lect2-SignalProcessing (1).pdfLect2-SignalProcessing (1).pdf
Lect2-SignalProcessing (1).pdf
 
PPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptx
PPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptxPPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptx
PPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptx
 
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
 
Ch2 mathematical modeling of control system
Ch2 mathematical modeling of control system Ch2 mathematical modeling of control system
Ch2 mathematical modeling of control system
 
lecture3_time_domin.pdf
lecture3_time_domin.pdflecture3_time_domin.pdf
lecture3_time_domin.pdf
 
Systems and their properties
Systems and their propertiesSystems and their properties
Systems and their properties
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of Systems
 
Control system introduction for different application
Control system introduction for different applicationControl system introduction for different application
Control system introduction for different application
 
CS Mod1AzDOCUMENTS.in.pptx
CS Mod1AzDOCUMENTS.in.pptxCS Mod1AzDOCUMENTS.in.pptx
CS Mod1AzDOCUMENTS.in.pptx
 
01-system_models_slides.pdf
01-system_models_slides.pdf01-system_models_slides.pdf
01-system_models_slides.pdf
 
Ece4510 notes01
Ece4510 notes01Ece4510 notes01
Ece4510 notes01
 
Lectures upto block diagram reduction
Lectures upto block diagram reductionLectures upto block diagram reduction
Lectures upto block diagram reduction
 
Signal
SignalSignal
Signal
 
UNIT-V-PPT state space of system model .ppt
UNIT-V-PPT state space of system model .pptUNIT-V-PPT state space of system model .ppt
UNIT-V-PPT state space of system model .ppt
 
Control system note for 6th sem electrical
Control system note for 6th sem electricalControl system note for 6th sem electrical
Control system note for 6th sem electrical
 
Lect4-LTI-signal-processing1.pdf
Lect4-LTI-signal-processing1.pdfLect4-LTI-signal-processing1.pdf
Lect4-LTI-signal-processing1.pdf
 
solver (1)
solver (1)solver (1)
solver (1)
 
Lec1 01
Lec1 01Lec1 01
Lec1 01
 
Unit 2 signal &system
Unit 2 signal &systemUnit 2 signal &system
Unit 2 signal &system
 
Adaptive pi based on direct synthesis nishant
Adaptive pi based on direct synthesis nishantAdaptive pi based on direct synthesis nishant
Adaptive pi based on direct synthesis nishant
 

Plus de K. M. Shahrear Hyder (13)

Feasibility study of pvc pipe manufacturing plant
Feasibility study of pvc pipe manufacturing plantFeasibility study of pvc pipe manufacturing plant
Feasibility study of pvc pipe manufacturing plant
 
Ece4510 notes10
Ece4510 notes10Ece4510 notes10
Ece4510 notes10
 
Ece4510 notes09
Ece4510 notes09Ece4510 notes09
Ece4510 notes09
 
Ece4510 notes08
Ece4510 notes08Ece4510 notes08
Ece4510 notes08
 
Ece4510 notes07
Ece4510 notes07Ece4510 notes07
Ece4510 notes07
 
Ece4510 notes06
Ece4510 notes06Ece4510 notes06
Ece4510 notes06
 
Ece4510 notes05
Ece4510 notes05Ece4510 notes05
Ece4510 notes05
 
Ece4510 notes04
Ece4510 notes04Ece4510 notes04
Ece4510 notes04
 
Ece4510 notes03
Ece4510 notes03Ece4510 notes03
Ece4510 notes03
 
Ece4510 notes00
Ece4510 notes00Ece4510 notes00
Ece4510 notes00
 
Generator hyder
Generator hyderGenerator hyder
Generator hyder
 
Presentation on art203 for electrical engineers
Presentation on art203 for electrical engineersPresentation on art203 for electrical engineers
Presentation on art203 for electrical engineers
 
Hydro electric power plant
Hydro electric power plantHydro electric power plant
Hydro electric power plant
 

Dernier

scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stageAbc194748
 

Dernier (20)

scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 

Ece4510 notes02

  • 1. ECE4510/5510: Feedback Control Systems. 2–1 SYSTEM MODELING IN THE TIME DOMAIN 2.1: What is a model? Why do we need one? I We use the term model to refer to a set of mathematical equations used to represent a physical system, relating the system’s output signal to its input signal. I A model is required in order to: 1. Understand system behavior (analysis). 2. Design a controller (synthesis). KEY POINT: It is necessary to understand how the system works naturally in order to know how to be able to change how it works using a feedback controller. I Developing a reasonable mathematical model is the most important part of the entire analysis. I It is also often the most difficult, amounting to ≈ 80 %–90 % of the effort in designing a controller. I There are two basic approaches to modeling: 1. Analytic system modeling—we focus on these methods. 2. Empirical system identification. (In practice, there is always an empirical component to system modeling: cf. ECE5560.) I It is important to realize that no model is ever exact! Inaccuracies arise because of Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 2. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–2 1. Unknown parameter values, or 2. Unmodeled dynamics (to make simpler model). I There is always a tradeoff between simplicity and accuracy: • It’s often possible to improve the accuracy of a mathematical model by increasing its complexity • Simplification often means ignoring some inherent physical properties N e.g., ignore nonlinearities in linear, lumped-parameter models • In general, it’s desirable to start with a simplified model to get a “general feel,” increasing complexity only if the controlled system does not meet performance requirements. N Simplifications often ignore some high-frequency behaviors, which requires that the controllers must operate with slower transient-response requirements in order to be robust. KEY POINT: “All models are wrong, but some are useful” (George E. P. Box, statistician.) EXAMPLE: Consider a 1 , 2 W resistor. I Ohm’s Law (model) says: v(t) = i(t) · R. i(t) v(t)R I Apply 1 V. What happens? • 1 A of current is predicted to flow. • Power dissipated = V 2 /R = 1 W. I Model should be accurate. Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 3. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–3 I Now apply 10 V. • 10 A of current is predicted to flow. • Power dissipated = V 2 /R = 100 W! ® Model will no longer be accurate. ® True behavior depends on input signal level—nonlinear. ® Model is accurate only in certain range of input-signal values. I Ohm’s law is definitely useful, but it is “wrong” in the sense that it applies only under certain conditions, and even then is an averaged version of what is truly happening at the microscopic scale. LTI systems I This example shows that it is important to know the properties of your model, as well as the model itself. I I claimed that the resistor exhibited “nonlinear” behavior, in some sense. I In the next sections, we look at two critical properties of systems: • Whether the system is “linear” (or not), • Whether the system is “time invariant” (or not). I This course teaches methods to control linear-time-invariant (LTI) systems. I Again, none exist! But, many are “close enough” for the techniques developed here to work very well. I Also, we’ll look at ways of linearizing equations in Topic 2.7. Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 4. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–4 2.2: System properties of linearity and time invariance TIME INVARIANT: The first system property that we look at is that of time invariance. I A system is either time-varying or time-invariant, not both. I A time-invariant system does not change its fundamental behavior over different periods of time. Its parameter values are constant. I A time invariant system satisfies the property (for any x(t), τ) x(t − τ) → y(t − τ) when x(t) → y(t). I We can test a system for this property using ideas from the figure. x1(t) x2(t) = x1(t − τ) y2(t) y1(t) y1(t − τ) delay delaysystem system I A time-invariant system will have y2(t) = y1(t − τ) for all x1(t) and τ. TEST: To test for time-invariance, we must I Input x1(t) to the system and measure the output y1(t). I Input x2(t) = x1(t − τ) to the system and measure y2(t). I If y2(t) = y1(t − τ) for all possible delays τ and signals x1(t), then the system is time-invariant. Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 5. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–5 EXAMPLE: For example, consider a square-law system y(t) = (x(t))2 . I Input x1(t) to the system and measure y1(t): y1(t) = (x1(t))2 . I Input x2(t) to the system and measure y2(t): y2(t) = (x2(t))2 . I But, x2(t) = x1(t − τ), so y2(t) = (x1(t − τ))2 = y1(t − τ). I Since this relationship holds for all τ and all x1(t), the square-law system is time-invariant. EXAMPLE: Let us examine a “delay operator.” (The delay operator is a fundamental building-block of digital-signal-processing systems and digital control systems). I The output of a delay is equal to the input, but shifted a constant amount λ seconds: y(t) = x(t − λ), λ ≥ 0. I Input x1(t) to the system and measure y1(t): y1(t) = x1(t − λ). I Input x2(t) to the system and measure y2(t): y2(t) = x2(t − λ). I But, x2(t) = x1(t − τ), so y2(t) = x1(t − τ − λ) = y1(t − τ). I Since this relationship holds for all τ and all x1(t), the delay operator is time-invariant. EXAMPLE: Let us examine a “time compressor” whose output is equal to its input, but “squashed” in time:y(t) = x(kt). I Input x1(t) to the system and measure y1(t): y1(t) = x1(kt). I Input x2(t) to the system and measure y2(t): y2(t) = x2(kt). I But, x2(t) = x1(t − τ), so y2(t) = x1(kt − τ) = x1(kt − kτ) = y1(t − τ). Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 6. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–6 I Therefore, the compressor is time-varying. t x1(t) ⇒ t y1(t) t x2(t) = x1(t − τ) ⇒ t y2(t) = t y1(t − τ) LINEAR: The second property that we look at is linearity. I For linear systems, if x1(t) → y1(t) and x2(t) → y2(t), then x3(t) = αx1(t) + βx2(t) → y3(t) = αy1(t) + βy2(t), for any such x1(t), x2(t), α, β. I We can test a system for this property using ideas from the figure. x1(t) x1(t) x2(t) x2(t) y1(t) y2(t) α α ββ x3(t) y3(t)y(t) system system system Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 7. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–7 TEST: To test for linearity, we must I Input x1(t) to the system and measure the output y1(t). I Input x2(t) to the system and measure y2(t). I Input x3(t) = αx1(t) + βx2(t) to the system and measure y3(t). I If y3(t) = αy1(t) + βy2(t) for all possible α and β values, and x1(t) and x2(t), then the system is linear. EXAMPLE: Is the following system, described by the differential equation ˙y(t) + ty(t) = x(t), linear?1 I Input x1(t) and output is y1(t): ˙y1(t) + ty1(t) = x1(t). I Input x2(t) and output is y2(t): ˙y2(t) + ty2(t) = x2(t). I Input x3(t) = αx1(t) + βx2(t) and measure y3(t). ˙y3(t) + ty3(t) = x3(t); but, x3(t) = αx1(t) + βx2(t), so ˙y3(t) + ty3(t) = αx1(t) + βx2(t) = α (˙y1(t) + ty1(t)) + β (˙y2(t) + ty2(t)) = d dt (αy1(t) + βy2(t)) + t (αy1(t) + βy2(t)) . By examining both sides of this equation, we realize that y3(t) = αy1(t) + βy2(t). Therefore, the system is linear. 1 Note, the “dot” decoration on a variable indicates a time derivative. That is, ˙y(t) = dy(t)/d(t), and so forth. Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 8. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–8 EXAMPLE: Trying this on the square-law system, I Input x1(t) and output is y1(t): y1(t) = (x1(t))2 . I Input x2(t) and output is y2(t): y2(t) = (x2(t))2 . I Input x3(t) = αx1(t) + βx2(t) and measure y3(t). y3(t) = (x3(t))2 = (αx1(t) + βx2(t))2 = α2 (x1(t))2 + 2αβx1(t)x2(t) + β2 (x2(t))2 = α (x1(t))2 + β (x2(t))2 . I So, the square-law system is not linear (it is a nonlinear system). KEY POINT: If a system is LTI, then it has an impulse response. This entirely characterizes the system’s dynamics. The Laplace transform of the impulse response is the transfer function. Working with the transfer function eliminates the need to mess around with trying to solve complicated differential equations. Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 9. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–9 2.3: Dynamics of mechanical systems (translational) I We now begin to review some basic physics as a refresher to developing models of dynamic systems. I We’ll focus on mechanical and electrical systems, but will mention some others too. Translational motion I Newton’s second law, applied to translational motion, states: F = ma. I That is, the vector sum of forces = mass of object times inertial acceleration. I “Free-body diagrams” are a tool to apply this law. EXAMPLE: Cruise control model. I Write the equations of motion for the speed and forward motion of a car assuming that the engine imparts a forward force of u(t). 1. Assume rotational inertia of wheels is negligible. 2. Assume that friction is proportional to car’s speed (viscous friction). F = ma u(t) − b ˙x(t) = m ¨x(t) or, ¨x(t) + b m ˙x(t) = u(t) m b ˙x(t) u(t) x(t) m Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 10. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–10 I If the variable of interest is speed (v(t) = ˙x(t)), not position, ˙v(t) + b m v(t) = u(t) m I Notice that the differential equation has “output variables” on the left of “=”, and “input variables” on the right. IMPORTANT POINT: All of our models of dynamical systems will be differential equations involving the input (e.g., u(t)) and its derivatives and the output (e.g., y(t)) and its derivatives. No other signals (intermediate variables) are allowed in our solutions. EXAMPLE: Car suspension. Each wheel in a car suspension system has a tire, shock absorber and spring. Write the one-dimensional (vertical) equations of motion for the car body and wheel. I “Quarter-car model” Road Surface Inertial Reference kw bks m1 m2 x(t) y(t) r(t) I Free-body diagram: ks(y(t) − x(t)) b( ˙y(t) − ˙x(t)) kw(x(t) − r(t)) ks(y(t) − x(t)) b( ˙y(t) − ˙x(t)) m1 m2 x(t) y(t) Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 11. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–11 I The force from the spring is proportional to its stretch. The force from the shock absorber is proportional to the rate-of-change of its stretch. F = ma b (˙y(t) − ˙x(t)) + ks (y(t) − x(t)) − kw (x(t) − r(t)) = m1 ¨x(t) −ks (y(t) − x(t)) − b ( ˙y(t) − ˙x(t)) = m2 ¨y(t) I Re-arrange: ¨x(t) + b m1 (˙x(t) − ˙y(t)) + ks m1 (x(t) − y(t)) + kw m1 x(t) = kw m1 r(t) ¨y(t) + b m2 ( ˙y(t) − ˙x(t)) + ks m2 (y(t) − x(t)) = 0 Implementation in Simulink I Simulink is a component of MATLAB that is very useful for simulating dynamic systems using a block-diagram approach. I Consider the cruise-control model, where we wish to control vehicle velocity: ˙v(t) + b m v(t) = u(t) m . I To implement this model in Simulink, we re-write the equation to have only the highest derivative term on the left-hand-side ˙v(t) = u(t) m − b m v(t). I We wire up a diagram like: Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 12. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–12 I If the appropriate parameters are entered in the MATLAB workspace for m and b, then this will simulate the car’s dynamics. Important components for mechanical-translational systems: x1(t) x1(t) x2(t) x2(t) f (t) = k(x1(t) − x2(t)) f (t) = b(˙x1(t) − ˙x2(t)) k b m1. Mass 2. Spring 3. Damper Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 13. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–13 2.4: Dynamics of mechanical systems (rotational) I Newton’s second law, applied to rotational motion, states: M = Jα or Iα. I That is, the vector sum of moments = moment of inertia times angular acceleration. (“moment”=“torque”). EXAMPLE: Satellites require attitude control so that sensors, antennas, etc., are properly pointed. Let’s consider one axis of rotation. θ(t) d Gas jet Fc(t) moment = Fc(t) · d, so, Fc(t)d = J ¨θ(t) ¨θ(t) = Fc(t)d J Note: Output of system θ(t) integrates torques twice—“double-integrator plant.” EXAMPLE: A torsional pendulum is used, for example, in clocks enclosed in glass domes. A similar device is the read-write head on a hard-disk drive. k bJ τ, θ k: “Springiness” of suspension wire. b: Viscous friction. M = J ¨θ(t) J ¨θ(t) = τ(t) − b ˙θ(t) − kθ(t) ¨θ(t) + b J ˙θ(t) + k J θ(t) = τ(t) J Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 14. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–14 Implementation in Simulink I The same basic principle applies to implementing this system in Simulink as well, except now we have a second-derivative term. I No problem! Again, we re-write the equation to have only the highest derivative term on the left-hand-side ¨θ(t) = τ(t) J − b J ˙θ(t) − k J θ(t). I We wire up a diagram like: I If the appropriate parameters are entered in the MATLAB workspace for J, b, and k, then this will simulate the pendulum’s dynamics. Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 15. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–15 Important components for mechanical rotational systems: θ1(t) θ1(t) θ2(t) θ2(t) τ(t) = k(θ1(t) − θ2(t)) τ(t) = b( ˙θ1(t) − ˙θ2(t)) k b J1. Inertia 2. Spring 3. Damper Summary of Developing Models for Rigid Bodies: 1. Assign variables such as x(t) and θ(t) that are both necessary and sufficient to describe and arbitrary position of the object. 2. Draw a free-body diagram of each component, and indicate all forces acting on each body and the accelerations of the center of mass with respect to an inertial reference. 3. Apply Newton’s laws: F = ma, M = Jα. 4. Combine the equations to eliminate internal forces. 5. The final form must be in terms of ONLY the input to the system and its derivatives, and the output of the system and its derivatives. Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 16. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–16 2.5: Dynamics of electrical circuits I Kirchhoff’s Law’s: • Current Law (KCL): The algebraic sum of currents entering a node equals the algebraic sum of currents leaving the node. • Voltage Law (KVL): The algebraic sum of all voltages taken around a closed path in a circuit is zero. I “Node analysis” is a tool to apply these laws. (i.e., select one node as reference (e.g., ground) and assume all other voltages are unknown. Write equations for the unknowns using KCL. KVL must be used for voltage sources.) EXAMPLE: Bridged-T circuit. R1 R2 C1 C2 vi (t) Œ  Ž  I Select reference = . • KVL at Œ: vŒ(t) = vi(t). • KCL at : vŒ(t) − v(t) R1 − v(t) − vŽ(t) R2 − C1 ˙v(t) = 0. • KCL at Ž: v(t) − vŽ(t) R2 + C2(˙vŒ(t) − ˙vŽ(t)) = 0. v(t) − vŽ(t) + R2C2(˙vŒ(t) − ˙vŽ(t)) = 0 vŽ(t) + R2C2(˙vŽ(t) − ˙vŒ(t)) = v(t) Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 17. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–17 vŒ(t) − [vŽ(t) + R2C2(˙vŽ(t) − ˙vŒ(t))] R1 − [vŽ(t) + R2C2(˙vŽ(t) − ˙vŒ(t))] − vŽ(t) R2 − C1 [˙vŽ(t) + R2C2(¨vŽ(t) − ¨vŒ(t))] = 0 R2 (vŒ(t) − [vŽ(t) + R2C2(˙vŽ(t) − ˙vŒ(t))]) − R1 ([vŽ(t) + R2C2(˙vŽ(t) − ˙vŒ(t))] − vŽ(t)) − R1 R2C1 [˙vŽ(t) + R2C2(¨vŽ(t) − ¨vŒ(t))] = 0. R1 R2 2C1C2 ¨vŽ(t) + R2 2C2 + R1 R2C2 + R1 R2C1 ˙vŽ(t) + (R2) vŽ(t) = (R1 R2 2C1C2)¨vŒ(t) + (R2 2C2 + R1 R2C2)˙vŒ(t) + (R2)vŒ(t) EXAMPLE: Op-amp circuit. R1 R2 C vi (t) vo(t) i(t) = vi(t) R1 vo(t) = −R2i(t) − vc(t). dvo(t) dt = −R2 di(t) dt − dvc(t) dt = − R2 R1 dvi(t) dt − i(t) C = − R2 R1 dvi(t) dt − 1 R1C vi(t) R1C ˙vo(t) = −R2C ˙vi(t) − vi(t) (as C → ∞, we get an inverting amplifier.) Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 18. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–18 Important components for electrical systems: 1. Resistor 2. Capacitor 3. Inductor 4. Voltage source 5. Current source 6. Operational Amplifier v(t) v(t) v(t) v(t) i(t) i(t) i(t) i(t) vs is vd(t) i−(t) i+(t) vo(t) v(t) = Ri(t) i(t) = C d v(t) dt v(t) = L d i(t) dt v(t) = vs i(t) = is vd(t) = 0 i−(t) = i+(t) = 0 vo(t) = Ao(v+(t) − v−(t)) as Ao → ∞ Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 19. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–19 2.6: Dynamics of electro-mechanical systems (etc.) I These are systems that convert energy from electrical to mechanical, or vice versa. EXAMPLE: DC generator. I Assume generator is driven at constant speed. I Generator has field windings (input), and rotor/armature windings (output). R f Ra Lai f (t) ia(t) ef (t) L f eg(t) Zlea(t) Field circuit Armature circuit Load circuit I ef (t) = R f i f (t) + L f di f (t) dt e f (t) is input, i f (t) is output. I eg(t) = Kφ dθ(t) dt K depends on generator structure. = Kgi f (t). dθ(t)/dt = angular velocity = cst. φ = flux, proportional to i f (t). I eg(t) = Raia(t) + La dia(t) dt + Zlia(t). eg(t) is input, ia(t) is output. I ea(t) = Zlia(t). ia(t) is input, ea(t) is output. ef (t) ea(t) i f (t) eg(t) ia(t)Field circuit Kg Rotor circuit Zl This is a preview of a block diagram used to simplify our understanding of the system dynamics. EXAMPLE: DC motor (servo-motor). I Directly generates rotational motion. Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 20. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–20 I Indirectly generates translational motion. ea(t) eb(t) ia(t) Ra La b J θ(t), τ(t) Armature Load I Mechanical resistance of load is translated into an electrical “resistance” called the back e.m.f. I eb(t) = Ke dθ(t) dt Ke = Kφ, as with generator. I ea(t) = Raia(t) + La dia(t) dt + eb(t) I τ(t) = Kτia(t) Kτ = K1φ I Combining these equations of motion, recall Newton: M = Jα J ¨θ(t) = τ(t) − b ˙θ(t) = Kτia(t) − b ˙θ(t) I Assume (FOR NOW ONLY) electrical response is faster than mechanical. La ≈ 0. J ¨θ(t) = Kτ ea(t) − eb(t) Ra − b ˙θ(t) J ¨θ(t) + b + Kτ Ke Ra back e.m.f. indistinguishable from friction! ˙θ(t) = Kτ Ra ea(t) Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 21. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–21 Dynamics of heat flow/ dynamics of fluid flow I These two subjects will not be covered here. Refer to texts on thermodynamics or fluid-dynamics. Transformers and gears I Ideally, both of these devices simply scale their input value. Transformer : N1 N2 = e1 e2 = i2 i1 Gears : r1 r2 = θ2 θ1 = τ1 τ2 r1 r2 System identification (SYS ID) I When we generate models of system dynamics, we are performing “system identifications.” I When we use known properties from physics and knowledge of the system’s structure (as we have done here) we are performing “white box system ID.” I If the system is very complex, or if the physics are not well understood, we need to use input/output data to generate a system model: “black-box system ID.” I A topic for the whole course! (ECE5560) Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 22. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–22 2.7: Linearization and analogous systems I We will study how to control linear systems. I Linear systems are rare. I We can “linearize” a non-linear system—the controller designed for linearized model will work on the true nonlinear system (but not as well as a controller designed directly for the non-linear system.) EXAMPLE: NONLINEAR rotational pendulum. l θ(t), τ(t) mg Moment of inertia: J = ml2 . M = J ¨θ(t) J ¨θ(t) = τ(t) − mgl sin(θ(t)) ¨θ(t) + g l sin(θ(t)) Nonlinear! = τ(t) ml2 I If motion is “small,” sin (θ(t)) ≈ θ(t). ¨θ(t) + g l θ(t) = τ(t) ml2 Linear. This is a preview of linearization. KEY POINT: We can convert any differential equation into a first-order vector differential equation: ˙x = f (x, u) ; x = vector, u = input. Iff the system is linear, this will be of the form: ˙x = Ax + Bu; A and B are constant matrices. EXAMPLE: Torsional pendulum revisited (pg. 2–13) ¨θ(t) + b J ˙θ(t) + k J θ(t) = τ(t) J Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 23. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–23 let x1(t) x2(t) = θ(t) ˙θ(t) ˙x2(t) + b J x2(t) + k J x1(t) = τ(t) J ˙x1(t) ˙x2(t) = 0 1 −k/J −b/J A x1(t) x2(t) + 0 1/J B τ(t). I So, our model of the torsional pendulum is linear. EXAMPLE: Rotational pendulum revisited (pg. 2–22) ¨θ(t) + g l sin(θ(t)) = τ(t) ml2 let x1(t) x2(t) = θ(t) ˙θ(t) ˙x1(t) ˙x2(t) =   x2(t) − g l sin(x1(t))   +   0 1 ml2   τ(t). I Not linear because we cannot make a constant A matrix. Small-signal linearization I Uses a Taylor-series expansion of the differential equation around some operating condition. (Equilibrium value where ˙x0 = 0 = f (x0, u0)). let x = x0 + δx x0 = operating state u = u0 + δu u0 = nominal control value. Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 24. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–24 ˙x = f (x, u). I Taylor-series expansion: ˙x = ˙x0 + δ ˙x ≈ f (x0, u0) + Aδx + Bδu plus higher-order terms I Subtract out equilibrium (nominal) solution; δ ˙x = Aδx + Bδu, which is linear. This is exactly how we linearized the rotational pendulum before, with τ0 = 0; θ0 = 0. sin(θ) = θ − θ3 3! + θ5 5! − · · · ≈ θ. Feedback linearization (computed torque) I For rotational pendulum, ml2 ¨θ(t) + mgl sin(θ(t)) = τ(t). • COMPUTE: τ(t) = mgl sin(θ(t)) + u(t). • THEN: ml2 ¨θ(t) = u(t), no matter how large θ(t) becomes! • Sometimes used in robotics and airplane flight control, but very computationally intensive. Analogous systems I The linearized differential equations of many very different physical systems appear identical. I One would suppose they behave in similar ways (dynamic response) and can be controlled with similar controllers. Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli
  • 25. ECE4510/ECE5510, SYSTEM MODELING IN THE TIME DOMAIN 2–25 Mechanical Translational m ¨x(t) + b ˙x(t) + kx(t) = u(t) Mechanical Rotational J ¨θ(t) + b ˙θ(t) + kθ(t) = τ(t) Satellite J ¨θ(t) = f (t) · d DC Motor (for La = 0) J ¨θ(t) + b + kτ ke Ra ˙θ(t) = kτ Ra ea(t) Generator (La L f )¨ea(t) + (L f (Ra + Rl) + La R f )˙ea(t)+ R f (Ra + Rl) = (kg Rl)ef (t) I These are all of the form a2 ¨x(t) + a1 ˙x(t) + a0x(t) = b2 ¨u(t) + b1 ˙u(t) + b0u(t) which is called a second-order form. I Therefore, we have seen very specific examples of a very general class of system. If we learn how to control the general class, we can apply this knowledge to specific systems. Lecture notes prepared by and copyright c 1998–2013, Gregory L. Plett and M. Scott Trimboli