SlideShare a Scribd company logo
System Modeling in the Time Domain
Assoc. Prof. Enver Tatlicioglu
Department of Electrical & Electronics Engineering
Izmir Institute of Technology
Chapter 2
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 1 / 64
Mathematical modeling
Q. What is a model?
A. The term model, as it is used and understood by control engineers,
primarily means a set of differential equations that describe the
dynamic behaviour of the system.
The first step in designing a controller is to develop a mathematical
description (also called the dynamic model) of the process to be
controlled.
Developing the model is the 80%–90% of the effort in designing a
controller.
Mathematical model is required to:
– Understand system behavior (analysis).
– Design a controller (synthesis).
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 2 / 64
System identification
When we generate models of system dynamics, we are performing
system identifications.
Q. How is a model obtained?
A. When we use known properties from physics and knowledge of the
system’s structure we are performing white–box system identification
(analytical system modeling).
A. If the system is very complex, or if the underlying physics is not well
understood, we need to use input/output data to generate a system
model, so we perform black–box system identification (empirical
system identification).
System identification is a topic for a whole course!
No model is exact!
Inaccuracies are due to:
– Unknown parameter values.
– Unmodeled dynamics (to obtain simpler models).
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 3 / 64
Linear time–invariant systems
In this course, we mainly focus on control of causal, linear,
time–invariant (LTI) systems for t ≥ 0.
Suppose a system maps
x (t) → y (t) as y (t) = T [x (t)] .
– This system is linear iff
T [ax1 (t) + bx2 (t)] = aT [x1 (t)] + bT [x2 (t)] .
– This system is time–invariant iff
y (t − t0) = T [x (t − t0)] ∀t0.
A system is causal if the output at any time depends on values of the
input at only the present and past times.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 4 / 64
A resistor model
Consider the following resistor model
+
i (t)
R
+
−
v (t)
−
From Ohm’s Law, we know that
v (t) = i (t) R
where v (t) is the voltage, i (t) is the current, and R is the resistance.
Is the resistor model LTI?
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 5 / 64
A resistor model
Consider a 1 ohm, 2 watt resistor.
Apply v (t) = 1 volt:
? ⇒ 1 ampere of current is predicted to flow
? ⇒ Power dissipated = V 2/R = 1 watt.
Apply v (t) = 10 volts:
? ⇒ 10 amperes of current is predicted to flow
? ⇒ Power dissipated = V 2/R = 100 watts.
Model will no longer be accurate.
True behavior of the model depends on input signal level which is
nonlinear.
Model is accurate in certain range of input signal values.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 6 / 64
Important components of translational mechanical systems
The fundamental law governing mechanical systems is Newton’s
second law:
X
F = ma
Vector sum of forces = mass of object × inertial acceleration
Figure: Important components of translational mechanical systems
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 7 / 64
Cruise control model
Write the equations of motion for the speed and forward motion of a
car assuming the engine imparts a forward force of u (t).
Figure: Simplified cruise control model
Assume that friction is proportional to car’s speed.
Assume rotational inertia of wheels is negligible.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 8 / 64
Cruise control model
Dynamic model of the cruise control system is as follows
X
F = ma
⇒ u (t) − bẋ (t) = mẍ (t)
⇒ ẍ (t) +
b
m
ẋ (t) =
1
m
u (t) .
If the variable of interest is speed (v (t) = ẋ (t)), then
v̇ (t) +
b
m
v (t) =
1
m
u (t) .
Is this model accurate?
What are some of the unmodeled dynamics?
What parameters could be uncertain?
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 9 / 64
A two–mass system
A system consisting of one quarter of the car mass is referred to as
quarter–car model.
Figure: Quarter–car model
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 10 / 64
A two–mass system
The force from the spring is proportional to its stretch.
The force from the damper (i.e., shock absorber) is proportional to
the rate–of–change of its stretch.
Figure: Free–body diagrams for the suspension system
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 11 / 64
A two–mass system
Dynamic model of the quarter–car model is
X
F = ma
b (ẏ − ẋ) + ks (y − x) − kw (x − r) = m1ẍ
−ks (y − x) − b (ẏ − ẋ) = m2ÿ.
After rearranging, we obtain
ẍ +
b
m1
(ẋ − ẏ) +
ks
m1
(x − y) +
kw
m1
x =
kw
m1
r
ÿ +
b
m2
(ẏ − ẋ) +
ks
m2
(y − x) = 0.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 12 / 64
Important components of rotational mechanical systems
Newton’s second law is modified as
X
M = Iα
Vector sum of moments = moment of inertia × angular acceleration
Figure: Important components of rotational mechanical systems
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 13 / 64
Satellite attitute control model
Consider the below simple model for a satellite.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 14 / 64
Satellite attitute control model
Satellites usually require attitude control so that antennas, sensors,
and solar panels are properly oriented.
Antennas are usually pointed toward a particular location on earth,
while solar panels need to be oriented toward the sun for maximum
power generation.
For simplicity reasons, planar motion is considered
Fc (t) d = Iθ̈ (t)
⇒ θ̈ (t) =
d
I
Fc (t) .
The output of the system θ (t) integrates torque twice which is called
as double integrator plant.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 15 / 64
Summary of developing models for rigid bodies
Assign variables such as x (t) and θ (t) that are both necessary and
sufficient to describe any arbitrary position of the object.
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.
Apply Newton’s laws:
?
P
F = ma
?
P
M = Iα
Combine the equations to eliminate internal forces.
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.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 16 / 64
Dynamics of electrical circuits
Electrical circuits are frequently used in control systems due to ease
of manipulation and processing electric signals.
Analog circuits are still used because they are faster and less
expensive when compared to the digital ones.
For some control systems, analog circuits are required (i.e., a power
amplifier for electromechanical control).
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 17 / 64
Dynamics of electrical circuits
The basic equations of electric circuits are Kirchoff’s laws.
– Kirchoff’s current law (KCL):
The algebraic sum of currents leaving a junction or a node equals the
algebraic sum of currents entering that node.
– Kirchoff’s voltage law (KVL):
The algebraic sum of all voltages taken around a closed path in a
circuit is zero.
Node analysis is a powerful tool to analyse complex circuits with
many elements. Briefly, one node is selected as a reference node and
the voltages of the other nodes are assumed to be unknown. The
equations for the unknowns are written using KCL at each node. If
the circuit contains voltage sources, KVL is used for such sources.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 18 / 64
Important elements of electric circuits
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 19 / 64
Bridged tee circuit
Determine the differential equations for the bridged tee circuit where
v1 = vi is the input and v3 = vo is the output.
−
+
vi (t)
R1
C1
R2
+
−
vo (t)
C2
1 2 3
4
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 20 / 64
Bridged tee circuit
Select node 4 as the reference and the voltages v1, v2 and v3 at nodes
1, 2 and 3 as the unknowns.
– KVL at node 1:
v1 = vi .
– KCL at node 2:
v2 − v1
R1
+
v2 − v3
R2
+ C1
dv2
dt
= 0.
– KCL at node 3:
v3 − v2
R2
+ C2
d (v3 − v1)
dt
= 0.
– After rearranging the above expression, we obtain
v3 + R2C2 (v̇3 − v̇1) = v2.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 21 / 64
Bridged tee circuit
Substituting the above expression in the expression for the KCL at
node 2 and then rearranging results in
0 =
(v3 + R2C2 (v̇3 − v̇1)) − v1
R1
+
(v3 + R2C2 (v̇3 − v̇1)) − v3
R2
+C1 (v̇3 + R2C2 (v̈3 − v̈1)) .
After rearranging the above expression, we obtain
0 = [(v3 + R2C2 (v̇3 − v̇1)) − v1] + R1C2 (v̇3 − v̇1)
+R1C1 (v̇3 + R2C2 (v̈3 − v̈1)) .
After rearranging the above expression, we obtain
R1R2C1C2v̈3 + (R2C2 + R1C2 + R1C1) v̇3 + v3
= R1R2C1C2v̈1 + (R2C2 + R1C2) v̇1 + v1.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 22 / 64
Op–amp
Op–amp is a feedback system and it is very important for
electromechanical systems.
−
+
R1
+
−
vi (t)
C
R2
+
−
vo (t)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 23 / 64
Op–amp
The equations of the (ideal) op–amp circuit above are
i (t) =
vi (t)
R1
v0 (t) = −R2i (t) − vc (t) .
Taking the time derivative of the second expression results in
dv0
dt
= −R2
di
dt
−
dvc
dt
= −
R2
R1
dvi
dt
−
1
C
i
= −
R2
R1
dvi
dt
−
1
R1C
vi .
Rearranging and then changing the notation results in
R1Cv̇0 = −R2Cv̇i − vi .
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 24 / 64
Dynamics of electromechanical systems
Electromechanical systems convert energy from electrical to
mechanical or vice versa.
DC motor directly generates rotational motion and indirectly
generates translational motion.
Mechanical resistance of the load is translated into an electrical
resistance called the back emf (electro–motive force).
Figure: DC motor model
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 25 / 64
DC motor
The equations of the electrical circuit are
ea (t) = Raia (t) + La
dia (t)
dt
+ eb (t)
eb (t) = Ke
dθ (t)
dt
τ (t) = Kτ ia (t)
where Ke , Kφ and Kτ , K1φ with φ being the flux.
The equations of motion are
X
M = Jθ̈ (t)
⇒ τ (t) − bθ̇ (t) = Jθ̈ (t) .
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 26 / 64
DC motor
It is assumed that the electrical response is faster than the mechanical
response (i.e., La ≈ 0)
Jθ̈ (t) = τ (t) − bθ̇ (t)
= Kτ ia (t) − bθ̇ (t)
=
Kτ
Ra
(ea (t) − eb (t)) − bθ̇ (t)
=
Kτ
Ra

ea (t) − Ke
dθ (t)
dt

− bθ̇ (t) .
Rearranging results in
Jθ̈ (t) +

Kτ Ke
Ra
+ b

θ̇ (t) =
Kτ
Ra
ea (t) .
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 27 / 64
DC generator
Generator has field windings (input) and rotor/armature windings
(output).
+
−
ef (t)
Rf if (t)
Lf −
+ eg (t)
Ra La ia (t)
Zl
+
−
ea (t)
Field circuit Rotor circuit Load circuit
Let the generator be driven at a constant speed.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 28 / 64
DC generator
The equation of the field circuit is
ef (t) = Rf if (t) + Lf
dif (t)
dt
where ef (t) is the input and if (t) is the output.
The relation between the field circuit and the rotor circuit can be
expressed as
eg (t) = Kφ
dθ (t)
dt
where K depends on the generator structure, and φ is the flux which
is proportional to if (t). Since dθ(t)
dt is the constant angular velocity,
we obtain
eg (t) = Kg if (t) .
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 29 / 64
DC generator
The equation of the rotor circuit is
eg (t) = Raia (t) + La
dia (t)
dt
+ Zl ia (t)
where eg (t) is the input and ia (t) is the output.
For the load circuit,
ea (t) = Zl ia (t)
where ia (t) is the input and ea (t) is the output.
This is a preview of a block diagram used to simplify our
understanding of the system dynamics.
Field circuit Kg Rotor circuit Zl
ef (t) if (t) eg (t) ia (t) ea (t)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 30 / 64
Linearity of a model
We can convert a differential equation into a first order vector
differential equation
ẋ = f (x, u)
where x (t) is the state vector and u (t) is the input.
If the system is LTI then the right–hand side of the above expression
can be written as follows
ẋ = Ax + Bu
with A and B being constant matrices with appropriate dimensions.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 31 / 64
Torsional pendulum
A torsional pendulum is used in clocks enclosed in glass domes. A
similar device is the read/write head on a hard–disk drive.
Figure: A torsional pendulum (left) and its simplified model (right)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 32 / 64
Torsional pendulum
The equations of motion are
X
M = Jθ̈ (t)
⇒ τ (t) − bθ̇ (t) − kθ (t) = Jθ̈ (t) .
Rearranging results in
θ̈ (t) +
b
J
θ̇ (t) +
k
J
θ (t) =
1
J
τ (t) .
Let
x (t) =

x1 (t)
x2 (t)

=

θ (t)
θ̇ (t)

.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 33 / 64
Torsional pendulum
So the dynamic model becomes
ẋ1 (t) = x2 (t)
ẋ2 (t) +
b
J
x2 (t) +
k
J
x1 (t) =
1
J
τ (t) .
Combining above equations in matrix form results in

ẋ1 (t)
ẋ2 (t)

=

0 1
−k
J −b
J
 
x1 (t)
x2 (t)

+

0
1
J

τ (t)
where A =

0 1
−k
J −b
J

and B =

0
1
J

are constant matrices thus
our model of the torsional pendulum is linear.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 34 / 64
Pendulum
Consider the below pendulum model.
Figure: A pendulum model
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 35 / 64
Pendulum
Moment of inertia = I = ml2
X
M = Iθ̈ (t)
⇒ Iθ̈ (t) = τ (t) − mgl sin (θ (t))
⇒ θ̈ (t) +
g
l
sin (θ (t)) =
1
ml2
τ (t) .
The expression above is nonlinear due to the sin (θ (t)) term.
Why? Can you show it?
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 36 / 64
Pendulum
Let
x (t) =

x1 (t)
x2 (t)

=

θ (t)
θ̇ (t)

.
So the dynamic model becomes
ẋ1 (t) = x2 (t)
ẋ2 (t) +
g
l
sin (x1 (t)) =
1
ml2
τ (t) .
Combining above equations in matrix form results in

ẋ1 (t)
ẋ2 (t)

=

x2 (t)
−g
l sin (x1 (t))

+

0
1
ml2

τ (t)
where A =

x2 (t)
−g
l sin (x1 (t))

and B =

0
1
ml2

.
Notice that A is not a constant matrix.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 37 / 64
Pendulum
We can linearize the sin (θ (t)) term for small θ (t) values
sin (θ (t)) ≈ θ (t) .
So we obtain the following linearized model
θ̈ (t) +
g
l
θ (t) =
1
ml2
τ (t) .
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 38 / 64
Small signal linearization
Approximation using Taylor series expansion of the differential
equation (ẋ = f (x, u)) around some operating condition (equilibrium
value where ẋ0 = 0 = f (x0, u0) where x0 is the operating state and u0
is the nominal control value).
Let
x = x0 + δx
u = u0 + δu.
After Taylor series expansion, we obtain
ẋ = ẋ0 + δẋ ≈ f (x0, u0) + Aδx + Bδu + H.O.T..
Subtracting out the equilibrium solution ẋ0 = f (x0, u0) and after
neglecting the higher order terms result in
δẋ = Aδx + Bδu
which is linear.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 39 / 64
Small signal linearization
This is how we linearized the rotational pendulum, with u0 = 0 and
θ0 = 0
sin (θ) = θ −
θ3
3!
+
θ5
5!
+ H.O.T..
≈ θ.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 40 / 64
Feedback linearization (computed torque)
Recall the rotational pendulum model
ml2
θ̈ (t) + mgl sin (θ (t)) = τ (t) .
Design
τ (t) = u (t) + mgl sin (θ (t))
where u (t) is the auxiliary input and the other term cancels the
nonlinear term.
Substitute the above control into the dynamic model to obtain
ml2
θ̈ (t) = u (t) .
No matter how large θ (t) is, the final model is linear!
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 41 / 64
Analogous systems
Differential equations of many very different physical systems appear
identical. They behave in similar ways (dynamic response) and can be
controlled with similar controllers.
Mechanical Translational mẍ (t) + bẋ (t) = u (t)
Mechanical Rotational Jθ̈ (t) + bθ̇ (t) + kθ (t) = τ (t)
Satellite Iθ̈ (t) = Fc (t) d
Op-Amp R1Cv̇0 (t) = −R2Cv̇i (t) − vi (t)
DC motor (for La = 0) Jθ̈ (t) +

Kτ Ke
Ra
+ b

θ̇ (t) = Kτ
Ra
ea (t)
These are all of the form
a2ẍ (t) + a1ẋ (t) + a0x (t) = b2ü (t) + b1u̇ (t) + b0u (t)
which is called a second order form.
If we learn how to control the general class of systems, we can apply
this knowledge to specific systems.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 42 / 64
Analogous systems
In this table, the force f and the current i are analogs and are
classified as through variables. There is a physical similarity between
the through variables in the sense that a measuring instrument must
be placed in series with the system in both cases.
Also, the velocity across a mechanical element is analogous to voltage
across an electrical element. Again, there is a physical similarity in
the sense that a measuring instrument must be placed across the
system in both cases. A voltmeter must be placed across a circuit to
measure voltage and it must have a point of reference. A velocity
indicator must also have a point of reference.
Symbol Quantity Symbol Quantity
f Force i Current
v Velocity V Voltage
M Mass C Capacitance
K Stiffness coefficient 1/L Reciprocal inductance
B Damping coefficient G = 1/R Conductance
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 43 / 64
Block diagrams
We have already seen block diagrams
Field circuit Kg Rotor circuit Zl
ef (t) if (t) eg (t) ia (t) ea (t)
Shows information/energy flow in a system.
When used with Laplace transform, can simplify complex system
dynamics.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 44 / 64
Block diagrams
H (s)
U (s) Y (s)
Y (s) = H (s) U (s)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 45 / 64
Block diagrams
H1 (s) H2 (s)
U (s) Y (s)
Y (s) = [H1 (s) H2 (s)] U (s)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 46 / 64
Block diagrams
Example
Recall DC generator model
+
−
ef (t)
Rf if (t)
Lf −
+ eg (t)
Ra La ia (t)
Zl
+
−
ea (t)
Field circuit Rotor circuit Load circuit
with its block diagram obtained as
Field circuit Kg Rotor circuit Zl
ef (t) if (t) eg (t) ia (t) ea (t)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 47 / 64
Block diagrams
Example
The equations of the field circuit are
ef (t) = Rf if (t) + Lf
dif (t)
dt
where ef (t) is the input and if (t) is the output.
Laplace transform of the above expression is
Ef (s) = Rf If (s) + Lf sIf (s)
and the transfer function is obtained as
If (s)
Ef (s)
=
1
Rf + Lf s
.
Note that, since we are obtaining a transfer function the initial
conditions are set to zero.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 48 / 64
Block diagrams
Example
The relation between the field circuit and the rotor circuit can be
expressed as
eg (t) = Kg if (t)
where if (t) is the input and eg (t) is the output.
Laplace transform of the above expression is
Eg (s) = Kg If (s)
and the transfer function is obtained as
Eg (s)
If (s)
= Kg .
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 49 / 64
Block diagrams
Example
The equations of the field circuit are
eg (t) = Raia (t) + La
dia (t)
dt
+ ea (t)
where eg (t) is the input and ia (t) is the output.
Laplace transform of the above expression is
Eg (s) = RaIa (s) + LasIa (s) + Ea (s)
= RaIa (s) + LasIa (s) + Zl Ia (s)
= (Ra + Las + Zl ) Ia (s)
and the transfer function is obtained as
Ia (s)
Eg (s)
=
1
Ra + Las + Zl
.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 50 / 64
Block diagrams
Example
For the load circuit,
ea (t) = Zl ia (t)
where ia (t) is the input and ea (t) is the output.
Laplace transform of the above expression is
Ea (s) = Zl Ia (s)
and the transfer function is obtained as
Ea (s)
Ia (s)
= Zl .
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 51 / 64
Block diagrams
Example
Put everything together
Ea (s)
Ef (s)
=
Ea (s)
Ia (s)
×
Ia (s)
Eg (s)
×
Eg (s)
If (s)
×
If (s)
Ef (s)
= Zl ×
1
Ra + Las + Zl
× Kg ×
1
Rf + Lf s
=
Zl Kg
(Ra + Las + Zl ) (Rf + Lf s)
.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 52 / 64
Block diagrams
H1 (s)
H2 (s)
+
U (s) +
+
Y (s)
Y (s) = [H1 (s) + H2 (s)] U (s)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 53 / 64
Block diagrams
H (s)
U (s) Y1 (s)
Y2 (s)
H (s)
1
H(s)
U (s) Y1 (s)
Y2 (s)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 54 / 64
Block diagrams
+ H (s)
U1 (s) +
U2 (s)
+
Y (s)
H (s)
H (s)
+
U1 (s)
U2 (s)
+
+
Y (s)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 55 / 64
Block diagrams
+ H1 (s)
H2 (s)
R (s) + U1 (s) Y (s)
U2 (s)
Y2 (s)
−
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 56 / 64
Block diagrams
The auxiliary signals U1 (s), Y2 (s) and U2 (s) can be obtained as
U1 (s) = R (s) − Y2 (s)
Y2 (s) = H2 (s) U2 (s)
U2 (s) = H1 (s) U1 (s) .
From the second and third expressions, we can obtain
Y2 (s) = H2 (s) H1 (s) U1 (s)
and substituting this into the first expression results in
U1 (s) = R (s) − H2 (s) H1 (s) U1 (s)
⇒ U1 (s) =
R (s)
1 + H2 (s) H1 (s)
.
Finally, we obtain
Y (s) = H1 (s) U1 (s) =
H1 (s)
1 + H2 (s) H1 (s)
R (s) .
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 57 / 64
Block diagrams
1
H2(s) + H2 (s) H1 (s)
R (s) + Y (s)
−
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 58 / 64
Block diagrams
Example
+ + H1 (s) H2 (s) H5 (s)
H3 (s)
H4 (s)
H6 (s)
+
R (s) + +
+
−
+
+ Y (s)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 59 / 64
Block diagrams
Example
+ H1(s)
1−H1(s)H3(s) H2 (s) H5 (s)
H4 (s)
H6 (s)
+
R (s) +
−
+
+ Y (s)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 60 / 64
Block diagrams
Example
+ H1(s)
1−H1(s)H3(s) H2 (s) H5 (s)
H4 (s)
H6(s)
H2(s)
+
R (s) +
−
+
+ Y (s)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 61 / 64
Block diagrams
Example
+ H1(s)H2(s)
1−H1(s)H3(s) H5 (s)
H4 (s)
H6(s)
H2(s)
+
R (s) +
−
+
+ Y (s)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 62 / 64
Block diagrams
Example
H1(s)H2(s)
1−H1(s)H3(s)+H1(s)H2(s)H4(s)
H6(s)+H2(s)H5(s)
H2(s)
R (s) Y (s)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 63 / 64
Block diagrams
Example
H1(s)H2(s)H5(s)+H1(s)H6(s)
1−H1(s)H3(s)+H1(s)H2(s)H4(s)
R (s) Y (s)
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 64 / 64

More Related Content

PDF
Control system note for 6th sem electrical
PDF
Lectures upto block diagram reduction
PDF
EE362-Ch0.pdf - Feedback and Control Systems
PDF
Feedback linearisation
PDF
Controller design of inverted pendulum using pole placement and lqr
PDF
Controller design of inverted pendulum using pole placement and lqr
PDF
Design of a novel controller to increase the frequency response of an aerospace
Control system note for 6th sem electrical
Lectures upto block diagram reduction
EE362-Ch0.pdf - Feedback and Control Systems
Feedback linearisation
Controller design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqr
Design of a novel controller to increase the frequency response of an aerospace

Similar to EE362-Ch2.pdf - Feedback and Control Systems (20)

PPTX
Control system with matlab Time response analysis, Frequency response analysi...
PDF
Chapter 1_Lect_3 System Modeling_144875f87dacff21abd64f918872013c Copy.pdf
PDF
Raymond.Brunkow-Project-EEL-3657-Sp15
PDF
Mit16 30 f10_lec01
PPTX
Introduction to mathematical control theory - Dr. Purnima Pandit
PPTX
Block Diagram Algebra
PDF
ACS Lecture 01.pdf
PDF
Ece4510 notes02
PDF
Cs handouts(r18)
PDF
PDF
Modern Control Engineering 5th Edition By Katsuhiko Ogata(Chapter 3).pdf
PPTX
power electronics_semiconductor swtiches.pptx
PDF
Ece4510 notes04
PDF
Troubleshooting and Enhancement of Inverted Pendulum System Controlled by DSP...
PPT
402753845-Linear Control-Systems-I-ppt.ppt
PDF
Modern Control - Lec 02 - Mathematical Modeling of Systems
PDF
DC Motor Modelling & Design Fullstate Feedback Controller
PPT
UnitII mechatronics302050, college of industrial technology .ppt
DOCX
2012 University of Dayton .docx
PDF
Electronics and Communication Engineering : Control systems, THE GATE ACADEMY
Control system with matlab Time response analysis, Frequency response analysi...
Chapter 1_Lect_3 System Modeling_144875f87dacff21abd64f918872013c Copy.pdf
Raymond.Brunkow-Project-EEL-3657-Sp15
Mit16 30 f10_lec01
Introduction to mathematical control theory - Dr. Purnima Pandit
Block Diagram Algebra
ACS Lecture 01.pdf
Ece4510 notes02
Cs handouts(r18)
Modern Control Engineering 5th Edition By Katsuhiko Ogata(Chapter 3).pdf
power electronics_semiconductor swtiches.pptx
Ece4510 notes04
Troubleshooting and Enhancement of Inverted Pendulum System Controlled by DSP...
402753845-Linear Control-Systems-I-ppt.ppt
Modern Control - Lec 02 - Mathematical Modeling of Systems
DC Motor Modelling & Design Fullstate Feedback Controller
UnitII mechatronics302050, college of industrial technology .ppt
2012 University of Dayton .docx
Electronics and Communication Engineering : Control systems, THE GATE ACADEMY
Ad

Recently uploaded (20)

PPT
Total quality management ppt for engineering students
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Abrasive, erosive and cavitation wear.pdf
PDF
Soil Improvement Techniques Note - Rabbi
PDF
PPT on Performance Review to get promotions
PPT
introduction to datamining and warehousing
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PDF
Integrating Fractal Dimension and Time Series Analysis for Optimized Hyperspe...
PPTX
introduction to high performance computing
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
Visual Aids for Exploratory Data Analysis.pdf
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
communication and presentation skills 01
Total quality management ppt for engineering students
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Abrasive, erosive and cavitation wear.pdf
Soil Improvement Techniques Note - Rabbi
PPT on Performance Review to get promotions
introduction to datamining and warehousing
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
Integrating Fractal Dimension and Time Series Analysis for Optimized Hyperspe...
introduction to high performance computing
Categorization of Factors Affecting Classification Algorithms Selection
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
Visual Aids for Exploratory Data Analysis.pdf
Exploratory_Data_Analysis_Fundamentals.pdf
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
Nature of X-rays, X- Ray Equipment, Fluoroscopy
Automation-in-Manufacturing-Chapter-Introduction.pdf
communication and presentation skills 01
Ad

EE362-Ch2.pdf - Feedback and Control Systems

  • 1. System Modeling in the Time Domain Assoc. Prof. Enver Tatlicioglu Department of Electrical & Electronics Engineering Izmir Institute of Technology Chapter 2 Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 1 / 64
  • 2. Mathematical modeling Q. What is a model? A. The term model, as it is used and understood by control engineers, primarily means a set of differential equations that describe the dynamic behaviour of the system. The first step in designing a controller is to develop a mathematical description (also called the dynamic model) of the process to be controlled. Developing the model is the 80%–90% of the effort in designing a controller. Mathematical model is required to: – Understand system behavior (analysis). – Design a controller (synthesis). Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 2 / 64
  • 3. System identification When we generate models of system dynamics, we are performing system identifications. Q. How is a model obtained? A. When we use known properties from physics and knowledge of the system’s structure we are performing white–box system identification (analytical system modeling). A. If the system is very complex, or if the underlying physics is not well understood, we need to use input/output data to generate a system model, so we perform black–box system identification (empirical system identification). System identification is a topic for a whole course! No model is exact! Inaccuracies are due to: – Unknown parameter values. – Unmodeled dynamics (to obtain simpler models). Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 3 / 64
  • 4. Linear time–invariant systems In this course, we mainly focus on control of causal, linear, time–invariant (LTI) systems for t ≥ 0. Suppose a system maps x (t) → y (t) as y (t) = T [x (t)] . – This system is linear iff T [ax1 (t) + bx2 (t)] = aT [x1 (t)] + bT [x2 (t)] . – This system is time–invariant iff y (t − t0) = T [x (t − t0)] ∀t0. A system is causal if the output at any time depends on values of the input at only the present and past times. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 4 / 64
  • 5. A resistor model Consider the following resistor model + i (t) R + − v (t) − From Ohm’s Law, we know that v (t) = i (t) R where v (t) is the voltage, i (t) is the current, and R is the resistance. Is the resistor model LTI? Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 5 / 64
  • 6. A resistor model Consider a 1 ohm, 2 watt resistor. Apply v (t) = 1 volt: ? ⇒ 1 ampere of current is predicted to flow ? ⇒ Power dissipated = V 2/R = 1 watt. Apply v (t) = 10 volts: ? ⇒ 10 amperes of current is predicted to flow ? ⇒ Power dissipated = V 2/R = 100 watts. Model will no longer be accurate. True behavior of the model depends on input signal level which is nonlinear. Model is accurate in certain range of input signal values. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 6 / 64
  • 7. Important components of translational mechanical systems The fundamental law governing mechanical systems is Newton’s second law: X F = ma Vector sum of forces = mass of object × inertial acceleration Figure: Important components of translational mechanical systems Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 7 / 64
  • 8. Cruise control model Write the equations of motion for the speed and forward motion of a car assuming the engine imparts a forward force of u (t). Figure: Simplified cruise control model Assume that friction is proportional to car’s speed. Assume rotational inertia of wheels is negligible. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 8 / 64
  • 9. Cruise control model Dynamic model of the cruise control system is as follows X F = ma ⇒ u (t) − bẋ (t) = mẍ (t) ⇒ ẍ (t) + b m ẋ (t) = 1 m u (t) . If the variable of interest is speed (v (t) = ẋ (t)), then v̇ (t) + b m v (t) = 1 m u (t) . Is this model accurate? What are some of the unmodeled dynamics? What parameters could be uncertain? Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 9 / 64
  • 10. A two–mass system A system consisting of one quarter of the car mass is referred to as quarter–car model. Figure: Quarter–car model Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 10 / 64
  • 11. A two–mass system The force from the spring is proportional to its stretch. The force from the damper (i.e., shock absorber) is proportional to the rate–of–change of its stretch. Figure: Free–body diagrams for the suspension system Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 11 / 64
  • 12. A two–mass system Dynamic model of the quarter–car model is X F = ma b (ẏ − ẋ) + ks (y − x) − kw (x − r) = m1ẍ −ks (y − x) − b (ẏ − ẋ) = m2ÿ. After rearranging, we obtain ẍ + b m1 (ẋ − ẏ) + ks m1 (x − y) + kw m1 x = kw m1 r ÿ + b m2 (ẏ − ẋ) + ks m2 (y − x) = 0. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 12 / 64
  • 13. Important components of rotational mechanical systems Newton’s second law is modified as X M = Iα Vector sum of moments = moment of inertia × angular acceleration Figure: Important components of rotational mechanical systems Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 13 / 64
  • 14. Satellite attitute control model Consider the below simple model for a satellite. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 14 / 64
  • 15. Satellite attitute control model Satellites usually require attitude control so that antennas, sensors, and solar panels are properly oriented. Antennas are usually pointed toward a particular location on earth, while solar panels need to be oriented toward the sun for maximum power generation. For simplicity reasons, planar motion is considered Fc (t) d = Iθ̈ (t) ⇒ θ̈ (t) = d I Fc (t) . The output of the system θ (t) integrates torque twice which is called as double integrator plant. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 15 / 64
  • 16. Summary of developing models for rigid bodies Assign variables such as x (t) and θ (t) that are both necessary and sufficient to describe any arbitrary position of the object. 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. Apply Newton’s laws: ? P F = ma ? P M = Iα Combine the equations to eliminate internal forces. 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. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 16 / 64
  • 17. Dynamics of electrical circuits Electrical circuits are frequently used in control systems due to ease of manipulation and processing electric signals. Analog circuits are still used because they are faster and less expensive when compared to the digital ones. For some control systems, analog circuits are required (i.e., a power amplifier for electromechanical control). Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 17 / 64
  • 18. Dynamics of electrical circuits The basic equations of electric circuits are Kirchoff’s laws. – Kirchoff’s current law (KCL): The algebraic sum of currents leaving a junction or a node equals the algebraic sum of currents entering that node. – Kirchoff’s voltage law (KVL): The algebraic sum of all voltages taken around a closed path in a circuit is zero. Node analysis is a powerful tool to analyse complex circuits with many elements. Briefly, one node is selected as a reference node and the voltages of the other nodes are assumed to be unknown. The equations for the unknowns are written using KCL at each node. If the circuit contains voltage sources, KVL is used for such sources. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 18 / 64
  • 19. Important elements of electric circuits Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 19 / 64
  • 20. Bridged tee circuit Determine the differential equations for the bridged tee circuit where v1 = vi is the input and v3 = vo is the output. − + vi (t) R1 C1 R2 + − vo (t) C2 1 2 3 4 Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 20 / 64
  • 21. Bridged tee circuit Select node 4 as the reference and the voltages v1, v2 and v3 at nodes 1, 2 and 3 as the unknowns. – KVL at node 1: v1 = vi . – KCL at node 2: v2 − v1 R1 + v2 − v3 R2 + C1 dv2 dt = 0. – KCL at node 3: v3 − v2 R2 + C2 d (v3 − v1) dt = 0. – After rearranging the above expression, we obtain v3 + R2C2 (v̇3 − v̇1) = v2. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 21 / 64
  • 22. Bridged tee circuit Substituting the above expression in the expression for the KCL at node 2 and then rearranging results in 0 = (v3 + R2C2 (v̇3 − v̇1)) − v1 R1 + (v3 + R2C2 (v̇3 − v̇1)) − v3 R2 +C1 (v̇3 + R2C2 (v̈3 − v̈1)) . After rearranging the above expression, we obtain 0 = [(v3 + R2C2 (v̇3 − v̇1)) − v1] + R1C2 (v̇3 − v̇1) +R1C1 (v̇3 + R2C2 (v̈3 − v̈1)) . After rearranging the above expression, we obtain R1R2C1C2v̈3 + (R2C2 + R1C2 + R1C1) v̇3 + v3 = R1R2C1C2v̈1 + (R2C2 + R1C2) v̇1 + v1. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 22 / 64
  • 23. Op–amp Op–amp is a feedback system and it is very important for electromechanical systems. − + R1 + − vi (t) C R2 + − vo (t) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 23 / 64
  • 24. Op–amp The equations of the (ideal) op–amp circuit above are i (t) = vi (t) R1 v0 (t) = −R2i (t) − vc (t) . Taking the time derivative of the second expression results in dv0 dt = −R2 di dt − dvc dt = − R2 R1 dvi dt − 1 C i = − R2 R1 dvi dt − 1 R1C vi . Rearranging and then changing the notation results in R1Cv̇0 = −R2Cv̇i − vi . Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 24 / 64
  • 25. Dynamics of electromechanical systems Electromechanical systems convert energy from electrical to mechanical or vice versa. DC motor directly generates rotational motion and indirectly generates translational motion. Mechanical resistance of the load is translated into an electrical resistance called the back emf (electro–motive force). Figure: DC motor model Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 25 / 64
  • 26. DC motor The equations of the electrical circuit are ea (t) = Raia (t) + La dia (t) dt + eb (t) eb (t) = Ke dθ (t) dt τ (t) = Kτ ia (t) where Ke , Kφ and Kτ , K1φ with φ being the flux. The equations of motion are X M = Jθ̈ (t) ⇒ τ (t) − bθ̇ (t) = Jθ̈ (t) . Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 26 / 64
  • 27. DC motor It is assumed that the electrical response is faster than the mechanical response (i.e., La ≈ 0) Jθ̈ (t) = τ (t) − bθ̇ (t) = Kτ ia (t) − bθ̇ (t) = Kτ Ra (ea (t) − eb (t)) − bθ̇ (t) = Kτ Ra ea (t) − Ke dθ (t) dt − bθ̇ (t) . Rearranging results in Jθ̈ (t) + Kτ Ke Ra + b θ̇ (t) = Kτ Ra ea (t) . Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 27 / 64
  • 28. DC generator Generator has field windings (input) and rotor/armature windings (output). + − ef (t) Rf if (t) Lf − + eg (t) Ra La ia (t) Zl + − ea (t) Field circuit Rotor circuit Load circuit Let the generator be driven at a constant speed. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 28 / 64
  • 29. DC generator The equation of the field circuit is ef (t) = Rf if (t) + Lf dif (t) dt where ef (t) is the input and if (t) is the output. The relation between the field circuit and the rotor circuit can be expressed as eg (t) = Kφ dθ (t) dt where K depends on the generator structure, and φ is the flux which is proportional to if (t). Since dθ(t) dt is the constant angular velocity, we obtain eg (t) = Kg if (t) . Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 29 / 64
  • 30. DC generator The equation of the rotor circuit is eg (t) = Raia (t) + La dia (t) dt + Zl ia (t) where eg (t) is the input and ia (t) is the output. For the load circuit, ea (t) = Zl ia (t) where ia (t) is the input and ea (t) is the output. This is a preview of a block diagram used to simplify our understanding of the system dynamics. Field circuit Kg Rotor circuit Zl ef (t) if (t) eg (t) ia (t) ea (t) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 30 / 64
  • 31. Linearity of a model We can convert a differential equation into a first order vector differential equation ẋ = f (x, u) where x (t) is the state vector and u (t) is the input. If the system is LTI then the right–hand side of the above expression can be written as follows ẋ = Ax + Bu with A and B being constant matrices with appropriate dimensions. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 31 / 64
  • 32. Torsional pendulum A torsional pendulum is used in clocks enclosed in glass domes. A similar device is the read/write head on a hard–disk drive. Figure: A torsional pendulum (left) and its simplified model (right) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 32 / 64
  • 33. Torsional pendulum The equations of motion are X M = Jθ̈ (t) ⇒ τ (t) − bθ̇ (t) − kθ (t) = Jθ̈ (t) . Rearranging results in θ̈ (t) + b J θ̇ (t) + k J θ (t) = 1 J τ (t) . Let x (t) = x1 (t) x2 (t) = θ (t) θ̇ (t) . Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 33 / 64
  • 34. Torsional pendulum So the dynamic model becomes ẋ1 (t) = x2 (t) ẋ2 (t) + b J x2 (t) + k J x1 (t) = 1 J τ (t) . Combining above equations in matrix form results in ẋ1 (t) ẋ2 (t) = 0 1 −k J −b J x1 (t) x2 (t) + 0 1 J τ (t) where A = 0 1 −k J −b J and B = 0 1 J are constant matrices thus our model of the torsional pendulum is linear. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 34 / 64
  • 35. Pendulum Consider the below pendulum model. Figure: A pendulum model Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 35 / 64
  • 36. Pendulum Moment of inertia = I = ml2 X M = Iθ̈ (t) ⇒ Iθ̈ (t) = τ (t) − mgl sin (θ (t)) ⇒ θ̈ (t) + g l sin (θ (t)) = 1 ml2 τ (t) . The expression above is nonlinear due to the sin (θ (t)) term. Why? Can you show it? Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 36 / 64
  • 37. Pendulum Let x (t) = x1 (t) x2 (t) = θ (t) θ̇ (t) . So the dynamic model becomes ẋ1 (t) = x2 (t) ẋ2 (t) + g l sin (x1 (t)) = 1 ml2 τ (t) . Combining above equations in matrix form results in ẋ1 (t) ẋ2 (t) = x2 (t) −g l sin (x1 (t)) + 0 1 ml2 τ (t) where A = x2 (t) −g l sin (x1 (t)) and B = 0 1 ml2 . Notice that A is not a constant matrix. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 37 / 64
  • 38. Pendulum We can linearize the sin (θ (t)) term for small θ (t) values sin (θ (t)) ≈ θ (t) . So we obtain the following linearized model θ̈ (t) + g l θ (t) = 1 ml2 τ (t) . Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 38 / 64
  • 39. Small signal linearization Approximation using Taylor series expansion of the differential equation (ẋ = f (x, u)) around some operating condition (equilibrium value where ẋ0 = 0 = f (x0, u0) where x0 is the operating state and u0 is the nominal control value). Let x = x0 + δx u = u0 + δu. After Taylor series expansion, we obtain ẋ = ẋ0 + δẋ ≈ f (x0, u0) + Aδx + Bδu + H.O.T.. Subtracting out the equilibrium solution ẋ0 = f (x0, u0) and after neglecting the higher order terms result in δẋ = Aδx + Bδu which is linear. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 39 / 64
  • 40. Small signal linearization This is how we linearized the rotational pendulum, with u0 = 0 and θ0 = 0 sin (θ) = θ − θ3 3! + θ5 5! + H.O.T.. ≈ θ. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 40 / 64
  • 41. Feedback linearization (computed torque) Recall the rotational pendulum model ml2 θ̈ (t) + mgl sin (θ (t)) = τ (t) . Design τ (t) = u (t) + mgl sin (θ (t)) where u (t) is the auxiliary input and the other term cancels the nonlinear term. Substitute the above control into the dynamic model to obtain ml2 θ̈ (t) = u (t) . No matter how large θ (t) is, the final model is linear! Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 41 / 64
  • 42. Analogous systems Differential equations of many very different physical systems appear identical. They behave in similar ways (dynamic response) and can be controlled with similar controllers. Mechanical Translational mẍ (t) + bẋ (t) = u (t) Mechanical Rotational Jθ̈ (t) + bθ̇ (t) + kθ (t) = τ (t) Satellite Iθ̈ (t) = Fc (t) d Op-Amp R1Cv̇0 (t) = −R2Cv̇i (t) − vi (t) DC motor (for La = 0) Jθ̈ (t) + Kτ Ke Ra + b θ̇ (t) = Kτ Ra ea (t) These are all of the form a2ẍ (t) + a1ẋ (t) + a0x (t) = b2ü (t) + b1u̇ (t) + b0u (t) which is called a second order form. If we learn how to control the general class of systems, we can apply this knowledge to specific systems. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 42 / 64
  • 43. Analogous systems In this table, the force f and the current i are analogs and are classified as through variables. There is a physical similarity between the through variables in the sense that a measuring instrument must be placed in series with the system in both cases. Also, the velocity across a mechanical element is analogous to voltage across an electrical element. Again, there is a physical similarity in the sense that a measuring instrument must be placed across the system in both cases. A voltmeter must be placed across a circuit to measure voltage and it must have a point of reference. A velocity indicator must also have a point of reference. Symbol Quantity Symbol Quantity f Force i Current v Velocity V Voltage M Mass C Capacitance K Stiffness coefficient 1/L Reciprocal inductance B Damping coefficient G = 1/R Conductance Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 43 / 64
  • 44. Block diagrams We have already seen block diagrams Field circuit Kg Rotor circuit Zl ef (t) if (t) eg (t) ia (t) ea (t) Shows information/energy flow in a system. When used with Laplace transform, can simplify complex system dynamics. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 44 / 64
  • 45. Block diagrams H (s) U (s) Y (s) Y (s) = H (s) U (s) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 45 / 64
  • 46. Block diagrams H1 (s) H2 (s) U (s) Y (s) Y (s) = [H1 (s) H2 (s)] U (s) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 46 / 64
  • 47. Block diagrams Example Recall DC generator model + − ef (t) Rf if (t) Lf − + eg (t) Ra La ia (t) Zl + − ea (t) Field circuit Rotor circuit Load circuit with its block diagram obtained as Field circuit Kg Rotor circuit Zl ef (t) if (t) eg (t) ia (t) ea (t) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 47 / 64
  • 48. Block diagrams Example The equations of the field circuit are ef (t) = Rf if (t) + Lf dif (t) dt where ef (t) is the input and if (t) is the output. Laplace transform of the above expression is Ef (s) = Rf If (s) + Lf sIf (s) and the transfer function is obtained as If (s) Ef (s) = 1 Rf + Lf s . Note that, since we are obtaining a transfer function the initial conditions are set to zero. Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 48 / 64
  • 49. Block diagrams Example The relation between the field circuit and the rotor circuit can be expressed as eg (t) = Kg if (t) where if (t) is the input and eg (t) is the output. Laplace transform of the above expression is Eg (s) = Kg If (s) and the transfer function is obtained as Eg (s) If (s) = Kg . Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 49 / 64
  • 50. Block diagrams Example The equations of the field circuit are eg (t) = Raia (t) + La dia (t) dt + ea (t) where eg (t) is the input and ia (t) is the output. Laplace transform of the above expression is Eg (s) = RaIa (s) + LasIa (s) + Ea (s) = RaIa (s) + LasIa (s) + Zl Ia (s) = (Ra + Las + Zl ) Ia (s) and the transfer function is obtained as Ia (s) Eg (s) = 1 Ra + Las + Zl . Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 50 / 64
  • 51. Block diagrams Example For the load circuit, ea (t) = Zl ia (t) where ia (t) is the input and ea (t) is the output. Laplace transform of the above expression is Ea (s) = Zl Ia (s) and the transfer function is obtained as Ea (s) Ia (s) = Zl . Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 51 / 64
  • 52. Block diagrams Example Put everything together Ea (s) Ef (s) = Ea (s) Ia (s) × Ia (s) Eg (s) × Eg (s) If (s) × If (s) Ef (s) = Zl × 1 Ra + Las + Zl × Kg × 1 Rf + Lf s = Zl Kg (Ra + Las + Zl ) (Rf + Lf s) . Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 52 / 64
  • 53. Block diagrams H1 (s) H2 (s) + U (s) + + Y (s) Y (s) = [H1 (s) + H2 (s)] U (s) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 53 / 64
  • 54. Block diagrams H (s) U (s) Y1 (s) Y2 (s) H (s) 1 H(s) U (s) Y1 (s) Y2 (s) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 54 / 64
  • 55. Block diagrams + H (s) U1 (s) + U2 (s) + Y (s) H (s) H (s) + U1 (s) U2 (s) + + Y (s) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 55 / 64
  • 56. Block diagrams + H1 (s) H2 (s) R (s) + U1 (s) Y (s) U2 (s) Y2 (s) − Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 56 / 64
  • 57. Block diagrams The auxiliary signals U1 (s), Y2 (s) and U2 (s) can be obtained as U1 (s) = R (s) − Y2 (s) Y2 (s) = H2 (s) U2 (s) U2 (s) = H1 (s) U1 (s) . From the second and third expressions, we can obtain Y2 (s) = H2 (s) H1 (s) U1 (s) and substituting this into the first expression results in U1 (s) = R (s) − H2 (s) H1 (s) U1 (s) ⇒ U1 (s) = R (s) 1 + H2 (s) H1 (s) . Finally, we obtain Y (s) = H1 (s) U1 (s) = H1 (s) 1 + H2 (s) H1 (s) R (s) . Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 57 / 64
  • 58. Block diagrams 1 H2(s) + H2 (s) H1 (s) R (s) + Y (s) − Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 58 / 64
  • 59. Block diagrams Example + + H1 (s) H2 (s) H5 (s) H3 (s) H4 (s) H6 (s) + R (s) + + + − + + Y (s) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 59 / 64
  • 60. Block diagrams Example + H1(s) 1−H1(s)H3(s) H2 (s) H5 (s) H4 (s) H6 (s) + R (s) + − + + Y (s) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 60 / 64
  • 61. Block diagrams Example + H1(s) 1−H1(s)H3(s) H2 (s) H5 (s) H4 (s) H6(s) H2(s) + R (s) + − + + Y (s) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 61 / 64
  • 62. Block diagrams Example + H1(s)H2(s) 1−H1(s)H3(s) H5 (s) H4 (s) H6(s) H2(s) + R (s) + − + + Y (s) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 62 / 64
  • 63. Block diagrams Example H1(s)H2(s) 1−H1(s)H3(s)+H1(s)H2(s)H4(s) H6(s)+H2(s)H5(s) H2(s) R (s) Y (s) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 63 / 64
  • 64. Block diagrams Example H1(s)H2(s)H5(s)+H1(s)H6(s) 1−H1(s)H3(s)+H1(s)H2(s)H4(s) R (s) Y (s) Assoc. Prof. Enver Tatlicioglu (EEE@IYTE) EE362 Feedback Control Systems Chapter 2 64 / 64