Review of Laplace Transform Techniques
Review of Laplace Transform Techniques
net/publication/389533679
Control Systems
CITATIONS READS
0 15
1 author:
SEE PROFILE
All content following this page was uploaded by Daniel Abebe Beyene on 04 March 2025.
AASTU [Link]
AASTU [Link]
The Laplace transform is an operator that transforms a function of time, f (t), into a new
function of complex variable, F (s), where s = σ + jω.
Z ∞
F (s) = L(f (t)) = f (t)e−st dt
0−
AASTU [Link]
To reverse the operation and take the inverse transform back to the time domain:
AASTU [Link]
Find the Laplace transform of f (t) = e−at u(t), where a is a real constant.
Z ∞ Z ∞
L(e−at u(t)) = e−at e−st u(t)dt = e−(a+s)t dt
0− 0−
The integral exists if ℜ(a + s) > 0. Performing the integration:
1
L(e−at u(t)) =
s+a
The region of convergence (ROC) is σ > −a.
AASTU [Link]
AASTU [Link]
K
L(Ku(t)) = KL(u(t)) =
s
AASTU [Link]
ejωt − e−jωt
sin(ωt) =
2j
Applying the Laplace transform:
ω
L(sin(ωt)) =
s2 + ω2
Similarly, for the cosine function:
s
L(cos(ωt)) =
s2 + ω 2
AASTU [Link]
dn−1 f (0− )
n
d f (t)
L n
= sn F (s) − sn−1 f (0− ) − · · · −
dt dtn−1
AASTU [Link]
d2 x(t) dx(t)
2 2
+7 + 5x(t) = 10u(t)
dt dt
with initial conditions:
dx(0− )
= 1, x(0− ) = −2
dt
Taking the Laplace transform and solving for X(s):
−2s2 − 6s + 5
X(s) =
s(s + 2.5)(s + 1)
Applying the inverse Laplace transform:
AASTU [Link]
Time shifting:
AASTU [Link]
The Final Value Theorem allows us to determine the steady-state value of a function f (t) as
t → ∞ using its Laplace transform F (s):
• This theorem is valid only if all poles of sF (s) are in the left half of the complex plane
(i.e., the system is stable).
AASTU [Link]
The Initial Value Theorem allows us to determine the initial value of a function f (t) as
t → 0+ using its Laplace transform F (s):
• This theorem is useful for finding the initial conditions of a system directly from its
Laplace transform.
AASTU [Link]
Given a Laplace transform Y (s), we want to find the original function y(t).
4 4
• Example: If Y (s) = s−3 , and since L[4e3t ] = s−3 , we conclude:
y(t) = 4e3t
AASTU [Link]
The inverse Laplace transform of F (s), denoted L−1 [F ], is the function f (t) such that:
AASTU [Link]
L−1 [c1 F1 (s) + c2 F2 (s)] = c1 L−1 [F1 (s)] + c2 L−1 [F2 (s)]
h i
• Example: Find L−1 s21+9 .
h i
• We know L−1 s23+9 = sin(3t), so:
−1 1 1
L 2
= sin(3t)
s +9 3
AASTU [Link]
A Bs + C
Y (s) = + 2
s−4 s +4
• Solving for A, B, and C, we get:
1 2s + 8
Y (s) = + 2
s−4 s +4
• The inverse transform is:
AASTU [Link]
L[eat f (t)] = F (s − a)
AASTU [Link]
1 1 1 6 5 s
, , , , ,
s−6 s+2 s2 s4 s2 + 25 s2 + 3π 2
• Solve initial-value problems using Laplace transforms:
y ′′ + 9y = 0, y(0) = 4, y ′ (0) = 6
7s + 5 s−1 1
, ,
(s + 2)(s − 1) s2 − 7s + 12 s2 − 4
AASTU [Link]
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Transfer Function
Definition
The transfer function of an LTI system is the ratio of the Laplace transform of the output to
the Laplace transform of the input, assuming zero initial conditions.
Y (s) L{y(t)}
T.F. = G(s) = =
R(s) L{r(t)}
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Linear Time-Invariant (LTI) Systems
Principle of Superposition
• Law of Additivity:
f {x1 (t) + x2 (t)} = y1 (t) + y2 (t)
• Law of Homogeneity:
f {Kx(t)} = Ky(t)
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Properties of Transfer Function
Advantages
• Simple algebraic representation.
• Easy determination of system gain, poles, and zeros.
• Simplifies stability analysis.
Disadvantages
• Only valid for LTI systems.
• Does not account for initial conditions or internal system states.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Mathematical Modeling of Dynamic Systems
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Why we need Mathematical Modeling?
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Types of Mathematical Models
Mathematical models serve as abstractions that encapsulate the behavior of systems and can
manifest in various forms:
• Empirical Models: Constructed based on observed data, often using statistical methods
to fit data. Effective for predicting system behavior within observed conditions.
• Mathematical Models: Utilize mathematical language to describe relationships among
system variables. Further categorized into:
• Differential Equations: Applicable to continuous systems.
• Difference Equations: Relevant for discrete systems.
• Hybrid Models: Incorporate both continuous and discrete elements.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Mathematical Modeling of Electrical Systems
Mathematical modeling of electrical systems often relies on fundamental laws such as:
• Ohm’s Law: Relates voltage (vR ), current (iR ), and resistance (R) in a linear circuit:
vR = iR R (1)
• Kirchhoff’s Current Law (KCL): The total current entering a junction equals the total
current leaving the junction.
• Kirchhoff’s Voltage Law (KVL): The sum of the electrical potential differences
(voltage) around any closed network is zero.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Basic Laws Used in Modeling Electrical Systems
diL
vL = L (2)
dt
where L is the inductance.
• Capacitor Voltage-Current Relation: The current through a capacitor (iC ) is
proportional to the rate of change of voltage (vC ):
dvC
iC = C (3)
dt
where C is the capacitance.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
RLC Circuit
vs C vo
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
RLC Circuit Analysis
d
vs = iR + L i + vc
dt
d
C vc = i
dt
(4)
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Transfer Function
Vc (s) 1
G(s) = = 2
(9)
Vs (s) LCs + RCs + 1
I(s) = sCG(s)
Cs
= (10)
LCs2 + RCs + 1
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Magnetic Circuits
Magnetic circuits are analogous to electrical circuits and are used to analyze the behavior of
magnetic fields in various materials. The fundamental concepts of magnetic circuit modeling
include:
• Magnetic flux
• Magnetomotive force (MMF)
• Magnetic reluctance
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Magnetic Flux
Magnetic flux (Φ) is defined as the total magnetic field (B) passing through a given area (A).
It can be expressed mathematically as:
Φ=B·A (11)
where:
• B is measured in teslas (T)
• A is measured in square meters (m2 )
The direction of the magnetic flux is determined by the orientation of the magnetic field lines.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Magnetomotive Force (MMF)
The magnetomotive force (Fmmf ) is the driving force that produces magnetic flux in a
magnetic circuit. It is analogous to voltage in an electrical circuit and is calculated as:
Fmmf = N · i (12)
where:
• N is the number of turns in the coil
• I is the current flowing through the coil, measured in amperes (A)
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Magnetic Reluctance
Magnetic reluctance (Rm ) is the opposition to the flow of magnetic flux in a magnetic circuit,
similar to resistance in an electrical circuit. It is defined as:
Fmmf
Rm = (13)
Φ
The unit of magnetic reluctance is ampere-turns per weber (A/Wb). The relationship between
MMF, magnetic flux, and reluctance can be expressed as:
Fmmf = Rm · Φ (14)
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Hinged Armature Type Relay
The hinged armature type relay operates as an electromagnetic circuit consisting of:
• A coil (electromagnet)
• An armature (movable part)
• A core
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Magnetic Field Strength
The strength of the magnetic field is proportional to the current flowing through the coil (I)
and the number of turns in the coil (N ):
N ·i
B =µ·
l
where:
• B is the magnetic flux density
• µ is the permeability of the core material
• l is the length of the magnetic path
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Electromagnetic Force
The force (Fem ) exerted on the armature can be calculated using the magnetic flux and the
area of the armature:
B2 · A
Fem =
2µ0
where:
• A is the area of the armature
• µ0 is the permeability of free space
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Mathematical Modeling of Mechanical Systems
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Basic Laws Used in Modeling Mechanical Systems
The modeling of mechanical systems is grounded in fundamental physical laws, which provide
the framework for understanding how forces and motions interact. The key laws include:
• Newton’s Laws of Motion: These laws describe the relationship between the motion of
an object and the forces acting on it.
• Conservation of Energy: This principle states that energy cannot be created or
destroyed, only transformed from one form to another.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Mechanical Transformers
Mechanical transformers, such as levers and gears, are devices that change the direction or
magnitude of forces and motion. These components are fundamental in mechanical systems,
allowing for the efficient transfer and modification of energy.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Levers
A lever amplifies an input force to lift a load. The relationship between the input force (F1 ),
output force (F2 ), input distance (l1 ), and output distance (l2 ) can be described by the law of
the lever:
F1 · l1 = F2 · l2 (15)
l1 F1
F2 l2
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Gears
Gears transmit torque and change the speed of rotation. The relationship between the input
and output angular velocities (ω1 , ω2 ) and torques (τ1 , τ2 ) can be expressed as:
ω1 r2
= and τ1 · ω1 = τ2 · ω2 (16)
ω2 r1
r1
2 2
1 1
r2
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Stiffness Elements (Springs)
Springs are mechanical components that store and release energy. The behavior of springs is
defined by Hooke’s Law:
F = −kx (17)
τ = −kθ (18)
where F and τ are the restoring force and restoring torque, respectively, k is the spring
constant, and x and θ are the linear and angular displacements, respectively.
x
k
k
F
(a) (b)
Figure: Stiffness Elements: A diagram showing the behavior of springs under load.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Friction Elements (Dampers)
Dampers are devices that dissipate energy, usually in the form of heat, and are used to reduce
oscillations in mechanical systems. The force exerted by a damper is proportional to the
velocity (v) of the moving component:
Fd = −dẋ (19)
τd = −dθ̇ (20)
where Fd and τd are the damping force and damping torque, respectively, b is the damping
coefficient, and ẋ and θ̇ are the linear and angular velocities.
x1 x2 1 2
b b
(a) (b)
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Solenoid Actuator-Valve System
The 3/2 solenoid actuator valve plays a crucial role in regulating fluid flow through three
ports: one inlet and two outlets.
Spool Valve
Air gap sping
Seated Position Coil Supply Drain
+ Fs
Fem m
Fd
-
Plunger
Drain
Figure: Free body diagram of solenoid
actuator valve
Figure: Solenoid actuator-valve system
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Mathematical Model of Solenoid Actuator Valve
Applying Newton’s second law of motion, the force acting on the spool valve can be expressed
as:
ΣF = mẍ
Fem − Fs − Fd = mẍ
N i − kx − dẋ = mẍ (21)
where m is mass of the spool, x is displacement of the spool from its equilibrium position, N
is number of turns in the solenoid, i is the current flowing through the solenoid, k is spring
constant and d is damping coefficient.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Transfer Function
Simplifying:
X(s) N
G(s) = = 2
(24)
I(s) ms + ds + k
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Wind Turbine Generator System
Wind turbine generator systems convert kinetic energy from the wind into electrical energy
through a series of mechanical and electrical processes.
1
wind
aero r1
b
2
g
fc
r2
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Mathematical Model of Wind Turbine Generator System
The mathematical model of the system can be divided into two main components: the turbine
system and the generator system.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Transfer Function
b2 + b1 N 2
N 1
s2 θ2 (s) + sθ 2 (s) = τaero (s) − τg (s) (28)
J2 + J1 N 2 J2 + J1 N 2 J2 + J1 N 2
Simplifying:
s(J2 + J1 N 2 ) + (b2 + b1 N 2 )
N 1
sθ2 (s) = τaero (s) − τg (s)
J2 + J1 N 2 J2 + J1 N 2 J2 + J1 N 2
(29)
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Mathematical Modeling of Electro-mechanical Systems
Electro-mechanical systems can be represented using differential equations that describe the
dynamic behavior of both electrical and mechanical components. A common example of an
electro-mechanical system is a DC motor.
For armature voltage-controlled DC motor with:
• Armature resistance Ra and inductance La .
• Mechanical load with load torque τL , rotational inertia J, and gear ratio rm
rL .
• Mechanical friction coefficient b.
The control input is armature voltage Va , and the output is the load speed ωL .
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
DC Motor Equivalent Circuit
Ra ia La
+ τm , ωm rm
Va M
- τL , ωL
Load
rL
Figure: Armature voltage controlled DC motor with mechanical load
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Mathematical Model of DC Motor
τm = kt ia (31)
Eb = kb ωm (32)
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
State Space Representation
Replacing Eb and τm :
d Ra kb 1
ia = − ia − ωm + Va (35)
dt La La La
d kt b 1
ωL = ia − ωL − τL (36)
dt J J J
Gear ratio relation:
rL
ωm = ωL (37)
rm
ω̇m = θm (38)
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Transfer Function
Taking the Laplace Transform of the first equation with zero initial conditions:
Ra kb 1
sIa (s) = − Ia (s) − ωm (s) + Va (s)
La La La
1 kb
Ia (s) = Va − ωm (39)
sLa + Ra sLa + Ra
kt b 1
sωL (s) = Ia (s) − ωL (s) − τL
J J J
kt 1
ωL (s) = Ia (s) − τL (40)
Js + b Js + b
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Mathematical Modeling of Chemical Processes
The dynamic model of chemical systems is derived from the balance equations for total mass,
energy, and component mass (mole). These equations are crucial for understanding and
predicting the behavior of chemical processes. Let’s delve into the concepts and equations
involved in the mathematical modeling of chemical processes.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
General Balance Equation
Note: TZB (through the boundary of the system), IZB (in the boundary of the system).
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Choosing the Right Balance
To formulate the dynamic equation, we must decide the control boundary and which balance
to use:
• Mass, volume, or pressure → mass balance,
• Concentration → component balance,
• Temperature → energy balance,
• Interaction between flow and pressure → mechanical energy balance (momentum balance,
Bernoulli, Newton’s second law).
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Mass Balance
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Mass Balance for Constant Density
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Dynamic Component Balance
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Dynamic Energy Balance
where H is enthalpy, Q is supplied heat, and Ws is supplied mechanical work. Using specific
enthalpy ℏ = H
m:
dℏ dV dp
m = win (ℏin − ℏ) − wout (ℏout − ℏ) + Q + Ws − (pex − p) +V (49)
dt dt dt
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Quadruple Tank Process
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Flow Rates
q1in = γ1 k1 V1 q2in = γ2 k2 V2
q3in = (1 − γ2 )k2 V2 q4in = (1 − γ1 )k1 V1
From fluid dynamics, the rate of mass accumulation in each tank is equal to the difference
between mass inflow and mass outflow:
where qin is volumetric inflow rate and qout is volumetric outflow rate.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Bernoulli Equation
Let the outlet have a cross-sectional area a, the outflow rate will be:
p
qout = av = 2gh (53)
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Rate of Accumulation of Mass
m m
From basic physics ρ = V = Ah , the rate of accumulation of mass ṁ is:
dh
ṁ = ρA (54)
dt
Combining equation 50 and equation 54, the dynamic equation for each tank will be:
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Dynamic Equations for Quadruple Tank System
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Mathematical Modeling of Fluid Systems
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Basic Laws Used in Fluid Modeling
The modeling of fluid systems is based on fundamental physical laws, including the
conservation of mass, momentum, and energy. Key concepts include:
• Continuity Equation:
∇·v =0 (56)
1
P + ρv 2 + ρgh = constant (57)
2
where P is the pressure, ρ is the fluid density, v is the flow velocity, g is the acceleration
due to gravity, and h is the height above a reference level.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Basic Laws Used in Fluid Modeling
• Navier-Stokes Equations:
∂v
ρ + v · ∇v = −∇P + µ∇2 v + f (58)
∂t
where ρ is the fluid density, p is the pressure, µ is the dynamic viscosity, and f represents
body forces (e.g., gravity).
• Law of Conservation of Mass: This law states that the mass of a closed system must
remain constant over time.
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Key Fluid Properties
Several key properties are used to characterize fluid behavior in mathematical models:
• Fluid Inertia:
∆P
Lf = (59)
∆Q̇
where Lf is the fluid inertia.
• Fluid Capacitance:
∆V
C= (60)
∆P
where C is the fluid capacitance.
• Fluid Bulk Modulus:
∆P
β = ρo (61)
∆ρ
where ρo is a reference fluid density at a nominal pressure and temperature. AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Flow Characteristics
Fluid flow can be categorized into laminar and turbulent flow, each exhibiting different
characteristics and resistances.
• Laminar Flow:
∆P
RL = (62)
Q
• Turbulent Flow:
∆P
RT = (63)
Q2
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Hydraulic Piston and Cylinder System
Hydraulic systems are essential in various industrial applications, facilitating the efficient
transfer of power through the controlled movement of fluids.
Qin CV
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Hydraulic Piston and Cylinder System (Cont.)
Using the law of conservation of mass, we can express the rate of accumulation of mass as the
difference between the mass inflow rate and the mass outflow rate.
ṁ = ρQin (64)
Substituting the mass m with the product of density and volume, m = ρV , we get:
Replacing the density ρ using the relationship derived from the bulk modulus of elasticity:
ρo dP
ρ= (66)
β dt
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Hydraulic Piston and Cylinder System (Cont.)
Expressing the rate of change of volume V̇ in terms of the piston head area A and the
displacement of the piston head x:
V̇ = Aẋ (67)
βAx
Ṗ = (Qin − Aẋ) (68)
ρ
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Hydraulic Piston and Cylinder System
The simple hydraulic actuator shown in Figure 13 is connected to a load and accompanied by
a restoring spring.
k Fatm
Fs
Qin Fh FL
FL Fv
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Hydraulic Actuator System (Cont.)
The mathematical model describing the motion of the actuator is derived using Newton’s first
law of motion:
ΣF = mẍ (69)
Fh − Fatm − Fv − Fs − FL = mẍ (70)
To find the pressure required to hold the piston at its nominal position, we can set the velocity
ẋ = 0 and assume x = x0 (the equilibrium position):
FL
P = + Patm (72)
A
This equation indicates that the pressure P must balance the load force per unit area, plus the
atmospheric pressure acting on the piston. AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Weight Measuring System
Simple weight measuring system, with system parameters k = 20N/m, ms = 1kg and
d = 9N s/m.
u = mo g
ms
Scale
x
k d
kx
If the output which is shown on the scale is the mass of the object to be measured (mo = g ).
(use g = 10m/s2 )
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Shock Absorber
The 3D model and Mechanical System Model of a typical shock absorber is shown in Figures
15a and 15b respectively.
moving piston
fluid
x
u
d
SECTION A-A
spring
k m u
A
(a) 3D Model of Shock Absorber System (b) Mechanical System Model of Shock Absorber
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Planar Drone
The planar quadrotor possesses two degrees of freedom in position, allowing movement along
the X and Y axes, and one degree of freedom in orientation, enabling rotation about the
vertical axis (yaw).
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Projector Screen Positioning System
The DC motor position control system for the remote-controlled projector screen incorporates a
DC motor paired with a non-inverting pre-amplifier to accurately manage the screen’s position.
+ ia
Ra La
+
− +
Rf ωm
Vs Va M Load
Ri
-
-
(a) Armature Voltage Controlled DC Motor (b) Remote Controlled Projector
With Pre-amplifier Screen
AASTU [Link]
Figure: Projector Screen Positioning System
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Two Degree of Freedom Quarter Car Suspension System
A vehicle suspension system is a complex vibration system having multiple degrees of freedom.
The purpose of the suspension system is to isolate the vehicle body from the road imperfection.
y1
k2 d
y2
k1
z
x
Figure: 2-DOF Quarter Car Suspension Model
AASTU [Link]
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Ball and Beam System
The objective of ball and beam system is to control the beam’s angle to maintain the ball’s
desired position. The system has two main degrees of freedom: the ball’s position along the
beam and the beam’s angular position.
I,m
x
Mathematical Modeling and Control System Problem Formulation Daniel A. (MSc. & Science Ambassador)
Control Systems and Control System Architectures
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
System Poles and Zeros
The transfer function provides a basis for determining important system response
characteristics without solving the complete differential equation. The transfer function is a
rational function in the complex variable s = σ + jω:
bm sm + bm−1 sm−1 + . . . + b1 s + b0
G(s) =
an sn + an−1 sn−1 + . . . + a1 s + a0
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Factored Form of Transfer Function
N (s) (s − z1 )(s − z2 ) . . . (s − zm )
G(s) = =K
D(s) (s − p1 )(s − p2 ) . . . (s − pn )
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Behavior at Poles and Zeros
lim G(s) = 0
s→zi
• When s = pi , the denominator D(s) = 0, and the transfer function becomes unbounded:
lim G(s) = ∞
s→pi
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Real and Complex Poles/Zeros
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Stability Analysis
• If the poles of the system has negative real parts, the system is stable.
• If the poles of the system has zero real parts, the system is marginally stable.
• If the poles of the system has positive real parts, the system is unstable.
AASTU [Link]
Figure: Step responses vs. pole locations
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
System Type and Order
Key Concepts in Control Systems
System Type
The system type refers to the number of integrators (poles at the origin) in the open-loop
transfer function. It is denoted by N :
System Order
The system order is the highest power of s in the denominator of the transfer function.
Relationship
• System type determines steady-state behavior.
• System order affects transient response and stability.
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Control System Overview
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Control Systems Type
• Feedforward Control: Measure the disturbance and compensate for it in the controller.
D(s)
D(s)
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Control Systems Type(Cont.)
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Control Systems Type(Cont.)
Ym (s)
H(s)
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Control Systems Type(Cont.)
• Feedback system:
G(s)C(s)
T (s) =
1 + G(s)C(s)H(s)
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Block Diagram Representation Control System
Di (s) D0 (s)
Ym (s) N (s)
H(s) +
where Di (s) is input disturbance, Do (s) is output disturbance and N (s) is measurement noise.
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Block Diagram Representation(Cont.)
• System equations:
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Sensitivity Analysis
• Sensitivity definition:
∆T
T ∂T ∂G
S= ∆G
= ·
G
∂G T
where S measures the change in the closed-loop transfer function T due to changes in the
open-loop transfer function.
• For negative feedback the nominal sensitivity function is:
1
S=
1 + GCH
and complementary sensitivity (T = 1 − S):
GCH
T =
1 + GCH
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Sensitivity Analysis for Generalized Control System
∂Y G ∂Y GC
= , =
∂Di 1 + GCH ∂R 1 + GCH
∂Y −GCH ∂Y 1
= , =
∂N 1 + GCH ∂Do 1 + GCH
• Sensitivities for Positive feedback:
∂Y G ∂Y GC
= , =
∂Di 1 − GCH ∂R 1 − GCH
∂Y −GCH ∂Y 1
= , =
∂N 1 − GCH ∂Do 1 − GCH
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Key Insights
• Negative Feedback:
• Reduces sensitivity to disturbances.
• Increases robustness to noise.
• Requires |1 + GCH| to be large for disturbance rejection.
• Control Design Trade-offs:
• Reducing disturbance sensitivity increases noise sensitivity.
• Design must balance disturbance rejection and noise immunity.
AASTU [Link]
Control Systems and Control System Architectures Daniel A. (MSc. & Science Ambassador)
Block Diagram and Signal Flow Graph
AASTU [Link]
Block Diagram and Signal Flow Graph Daniel A. (MSc. & Science Ambassador)
Block Diagrams in Control Systems
Ym (s)
H(s)
AASTU [Link]
Block Diagram and Signal Flow Graph Daniel A. (MSc. & Science Ambassador)
Elements of a Control System Block Diagram
• Arrow head pointing towards a block indicates the input
• Arrow head leading away from the block represents the output
• Arrows are referred to as signals
• Plus or minus at each arrow head indicates whether the signal is to be added or subtracted
• Summing points depict the summing or combining of signals
• Take-off points indicate signals extracted for monitoring or feedback
Block Diagram and Signal Flow Graph Daniel A. (MSc. & Science Ambassador)
Purpose of Block Diagrams
• Block diagrams provide a functional block, which is a symbol for the mathematical
operation on the input signal to the block that produces the output
• They offer a visual representation of the system, making it easier to understand the
relationships between different components
AASTU [Link]
Block Diagram and Signal Flow Graph Daniel A. (MSc. & Science Ambassador)
Block Diagram Algebra
• Cascaded Blocks
• Parallel Blocks
• Feedback Blocks (d) Shift Summing
• Shift Summing Point (c) Parallel Blocks Point
AASTU [Link]
Block Diagram and Signal Flow Graph Daniel A. (MSc. & Science Ambassador)
Example
Figure: Example
AASTU [Link]
Block Diagram and Signal Flow Graph Daniel A. (MSc. & Science Ambassador)
Signal Flow Graph
AASTU [Link]
Block Diagram and Signal Flow Graph Daniel A. (MSc. & Science Ambassador)
Block Diagrams Vs Signal Flow Graphs
AASTU [Link]
Block Diagram and Signal Flow Graph Daniel A. (MSc. & Science Ambassador)
Block Diagrams Vs Signal Flow Graphs(Cont.)
AASTU [Link]
Block Diagram and Signal Flow Graph Daniel A. (MSc. & Science Ambassador)
DC Motor in Block Diagram
1 kb
Ia (s) = Va − ωm
La s + Ra La s + Ra
kt 1
ωL (s) = Ia (s) − τL
Js + b Js + b
rL
ωm = ωL
rm
τL (s)
Va (s) 1
Ia (s) τm (s) 1
ωL (s)
+ La s+Ra kt Js+b
−
ωm (s) rL
kb rm
Block Diagram and Signal Flow Graph Daniel A. (MSc. & Science Ambassador)
Time Domain Analysis
AASTU [Link]
The analysis of a response of a system for time varying input, is called time domain analysis.
Any system has two types of response for time varying input,
• Transient response: the response of a system at the sudden change in the input. This
response dies out with time
lim ytr (t) = 0
t→∞
• Steady State response: the response of a system that remains after the transient response
dies out.
yss (t)
The total response of a system is the sum of the to responses.
AASTU [Link]
AASTU [Link]
The deviation of the system response from the desired output. Using final value theorem,
1
ess = lim s R(s)
s→0 1 + G(s)
AASTU [Link]
1
ess = , kp = lim G(s)
1 + kp s→0
1
ess = , kv = lim sG(s)
kv s→0
1
ess = , ka = lim s2 G(s)
ka s→0
AASTU [Link]
• A first order system with unity feedback have a transfer function of a form T (s) = 1
τ s+1 :
R(s) 1
Y (s)
+ τs
−
1
Y (s) = T (s)R(s) =
τs + 1
• Inverse Laplace Transform:
1 −1t
y(t) = e τ
τ
AASTU [Link]
R(s)
ess = lim s =0
s→0 1 + G(s)
• The response for step input is,
1 1 1
Y (s) = T (s)R(s) = = −
s(τ s + 1) s τs + 1
• Inverse Laplace Transform:
1 1
y(t) = (1 − e− τ t )u(t)
τ
• The steady state error (ess )
R(s)
ess = lim s = 0.5
s→0 1 + G(s)
AASTU [Link]
1 1 1 1
Y (s) = = 2− +
s2 (s+ 1) s s τs + 1
• Inverse Laplace Transform:
1 1
y(t) = (t − 1 + e− τ t )u(t)
τ
• The steady state error (ess )
R(s)
ess = lim s =∞
s→0 1 + G(s)
AASTU [Link]
• Time constant τ is the time it takes for the system to reach 63.2% of its final value.
• For a first-order system:
y(t) = 1 − e−t/τ
• Settling time ts is the time it takes for the system to reach and stay within a certain
percentage of its final value.
AASTU [Link]
What is DC Gain?
The DC gain of a dynamic system refers to the steady-state output of the system when the
input is a constant (i.e., a DC signal). It is essentially the ratio of the output to the input
when the system has reached equilibrium, and all transient effects have died out. The DC gain
is determined by evaluating the transfer function at s = 0, which corresponds to the
steady-state response.
ωn2
T (s) =
s2 + 2ζωn s + ωn2
AASTU [Link]
ωn2 1 s + 2ζωn
Y (s) = = − 2
s(s2 + 2ζωn s + ωn2 ) s s + 2ζωn s + ωn2
1 s + ζωn ζωn
= − −
s (s + ζωn ) + ωn (1 − ζ ) (s + ζωn ) + ωn2 (1 − ζ 2 )
2 2 2 2
s a
using this properties cos(at) = s2 +a2
, sin(at) = s2 +a2
and F (s − a) = L{eat f (t)}
!
−ζωn t ζ
y(t) = 1 − e cos(ωd t) + p sin(ωd t)
1 − ζ2
• Delay Time (td ): Time taken to reach 50% of the final value.
1 + 0.7ζ
td =
ωn
• Rise Time (tr ): Time taken to rise from 10% to 90% of the final value.
π−θ
tr =
ωd
• Peak Time (tp ): Time taken to reach the first peak of the response.
π
tp =
ωd
AASTU [Link]
• Maximum Overshoot (Mp ): Is the maximum peak value of the response curve
measured from the final value. ζπ
−√
Mp = e 1−ζ 2
• Settling time (ts ): The time required for the response to reach and stay within a certain
percentage (usually 2%) of the final value.
4
ts =
ζωn
for a 5% tolerance:
3
ts =
ζωn
AASTU [Link]
AASTU [Link]
jωd
AASTU [Link]
AASTU [Link]
−H(s)G(s) −G(s)
S= = 1
1 + G(s)H(s) + G(s)
H(s)
k
kh+1
T (s) =
τ
kh+1 s+1
AASTU [Link]
k
T (s) =
τ s + (1 + kh)
AASTU [Link]
N (s) G(s)
T (s) = =
D(s) 1 + G(s)H(s)
AASTU [Link]
Caution
The DC gain of the exact system and the two approximate systems must be equal. This is
necessary to ensure that the final value of the step response (which is determined by T (0) for
closed loop or G(0) for open loop is unchanged.
AASTU [Link]
βe−αt − αe−βt
α·β
G (s) = K y (t) = K 1 −
(s + α) (s + β) β−α
If the magnitude of β is very large compared to α (typically if αβ > 5) we can write write
approximations for the transfer function (assuming s is sufficiently small compared to β),
as well as an approximation for the step response.
βe−αt
α·β α
= K 1 − e−αt
G (s) ≈ K =K y (t) ≈ K 1 −
(s + α) (β) (s + α) β
AASTU [Link]
In this case the test for the dominant pole compare ”α” against ”ζωn ”. This is because
ζωn is the real part of the complex conjugate root (we only compare the real parts of the
roots when determining dominance because it is the real part that determines how fast
the response decreases).
Caution
The DC gain of the exact system and the two approximate systems must be equal. This is
necessary to ensure that the final value of the step response (which is determined by H(0) is
unchanged.
AASTU [Link]
Using Taylor series expansions for small values of s, the transfer function for a time delay can
be expressed as:
e−θ0 s ≈ 1 − θ0 s
or an alternative first-order approximation (Pade approximation) is:
θ0
1− 2s
e−θ0 s ≈ θ0
1+ 2s
AASTU [Link]
• Skogestad (2002) proposed a method for approximating higher-order models with multiple
time constants.
• The largest neglected time constant is approximated by adding half of its value to the
existing time delay and the other half to the smallest retained time constant.
• Smaller time constants are approximated as time delays using:
1
e−θ0 s ≈
1 + θ0 s
AASTU [Link]
Ke−θs
G̃(s) =
τs + 1
using two methods:
• Taylor series expansions
• Skogestad’s half rule
AASTU [Link]
−0.1s + 1 ≈ e−0.1s
1 1
≈ e−3s , ≈ e−0.5s
3s + 1 0.5s + 1
Substitution gives the Taylor series approximation:
AASTU [Link]
τ = 5 + 0.5(3) = 6.5
AASTU [Link]
Ke−θs
G̃(s) =
τs + 1
using two methods:
• Taylor series expansions
• Skogestad’s half rule
AASTU [Link]
Ke−θs
G̃(s) =
τs + 1
using two methods:
• Taylor series expansions
• Skogestad’s half rule
AASTU [Link]
Ke−θs
G(s) =
(τ s + 1)
• A second-order-plus-time-delay model.
Ke−θs
G(s) =
(τ1 s + 1)(τ2 s + 1)
AASTU [Link]
• Zeros in a dynamic system play a crucial role in shaping the system’s response.
• They influence the effect of poles and the overall behavior of the system.
• This presentation discusses two key interpretations of zeros in dynamic systems.
AASTU [Link]
• Zeros determine how the poles of the system influence the overall response.
• This can be shown using partial fraction expansion.
• Example: Consider the transfer function:
s+2
G(s) =
(s + 4)(s + 5)
• The zero at s = −2 modifies the contribution of the poles at s = −4 and s = −5.
• Partial fraction expansion reveals how the zero affects the weight of each pole in the
system’s response.
AASTU [Link]
• Zeros can be interpreted as adding the rate of change of the system’s response.
• Without the zero, the system’s response would follow the dynamics defined by the poles.
• The zero introduces an additional derivative-like effect, modifying the response.
• They introduce a ”derivative effect,” making the system respond faster to changes in
input.
• The derivative effect add additional overshoot, thus system with zero have larger
overshoot.
AASTU [Link]
• Zeros on the right-hand side (RHS) of the s-plane (non-minimum phase zeros) make
control system design more challenging.
• These systems exhibit inverse response:
• The system’s initial response moves in the opposite direction before catching up.
• This behavior complicates control and stabilization efforts.
AASTU [Link]
(s + 1.1)
G (s) =
(s + 1) (s + 10)
You might think that the pole at s = −1 would be dominant. However, the zero in the
numerator is so close to the pole location, that they almost cancel each other out. In this case
the dominant pole approximation cannot be applied. In fact, because the pole and zero almost
canel out they have little affect on the system, and it can be approximated by
1
G (s) ≈
(s + 10)
Note
It is important to stress that this simplification comes from the fact that the pole and zero
nearly cancel each other out, and not because of the dominant pole approximation.
AASTU [Link]
AASTU [Link]
Special Cases
• One Element is Zero in a row: Temporarily replace the zero with a small positive
number (often denoted as ϵ ) to proceed with the calculations. Evaluate the value as
ϵ → 0, to determine if there is sign change.
• All Elements of a row is Zero: Take the derivative of the polynomial corresponding to
the last non-zero row and use the coefficients from the derivative polynomial to fill in the
new row and proceed with the calculation. This shows that characteristic polynomial
has roots on the imaginary axis.
AASTU [Link]
AASTU [Link]
AASTU [Link]
1 + G(s)H(s) = 0
N (s)
1+k = 0 → D(s) + kN (s) = 0
D(s)
• The root locus plots the roots of the characteristic equation as k varies from 0 to ∞.
• if k = 0 the root of the closed loop system is equal to the roots of D(s), meaning the closed
loop poles are equal to open loop system poles.
• if k = ∞ the roots of the closed loop systems are the roots of N (s), meaning the closes loop
poles are equal to open loop system zeros.
Root Locus
Thus as k varies from zero to infinity, the closed loop poles moves from the location of open loop
system poles to the location of open loop system zeros. The path they create it called root locus.
AASTU [Link]
Magnitude Condition: The magnitude of the open-loop transfer function G(s)H(s) must
satisfy:
|G(s)H(s)| = 1
Note
If the magnitude of |G(s)H(s)| = 1 and the angle of ∠G(s)H(s) = 180o as a point in a
complex plane the point is in o a root locus.
Questions
• What happens if the magnitude of G(s)H(s) is greater than one (|G(s)H(s)| ≥ 1)?
• What happens if the angle of G(s)H(s) is greater than 180o ( ∠G(s)H(s) ≥ 180o )?
AASTU [Link]
N =P if P ≥ Z
N =Z if P < Z
where P is the number of finite open-loop poles and Z is the number of finite open-loop
zeros.
• Rule 3 Identify real axis root locus branches: A point on the real axis is part of the
root locus if the angle of the open-loop transfer function at that point is an odd multiple
of 180◦ . This occurs if an odd number of open-loop poles and zeros lie to the left of the
point.
AASTU [Link]
(2q + 1)180◦
θ= , q = 0, 1, 2, . . . , (P − Z) − 1
P −Z
• Rule 5 Intersection with Imaginary Axis: The intersection points of root locus
branches with the imaginary axis can be found using the Routh array method. If all
elements of any row in the Routh array are zero, the root locus intersects the imaginary
axis.
AASTU [Link]
• Rule 6 Break-away points and Break-in points: break-away points occur between two
open-loop poles on the real axis, while break-in points occur between two open-loop zeros
on the real axis.
• To find these points:
• Express k in terms of s from the characteristic equation 1 + kG(s)H(s) = 0.
• Differentiate k with respect to s and set it to zero.
• Solve for s to find the break points.
AASTU [Link]
ϕd = 180◦ + ϕ
ϕa = 180◦ − ϕ
AASTU [Link]
AASTU [Link]
AASTU [Link]
• Centroid: P P
Real parts of poles − Real parts of zeros
σ=
P −Z
• For the example:
(−2) + (−2) − (−3)
σ= = −1
2−1
• Asymptotes angles:
(2k + 1)π
θ= , k = 0, 1, . . . , P − Z − 1
P −Z
• For the example:
(2 · 0 + 1)π
θ= =π
1
AASTU [Link]
dk(s)
=0
ds
• For the example:
s2 + 4s + 9
k(s) = −
s+3
dk(s) (2s + 4)(s + 3) − (s2 + 4s + 9)
=− =0
ds (s + 3)2
• Solving gives:
s = −0.5505 and s = −5.4495
• Evaluating for which value k is positive:
k(s) = 6.899 for s = −5.4495 and k(s) = −2.899 for s = −0.5505, the valid breakaway
and break-in point is s = −5.4495.
AASTU [Link]
• The intersection with the imaginary axis is found using the Routh-Hurwitz criterion.
s2 + (4 + k)s + (9 + 3k) = 0
AASTU [Link]
√
• The angle of departure from a s1 = −2 + j 5 is:
√
θds1 = 180◦ + ∠G(s)H(s)(s + 2 − j 5) = 155.905o
√
• The angle of departure from a s2 = −2 − j 5 is:
√
θds2 = 180◦ + ∠G(s)H(s)(s + 2 + j 5) = 204.095o
AASTU [Link]
Example
k(s+3)
• G(s) = s(s+1)(s+2)(s+4)
• G(s) = k
s(s+1)(s+2)(s+4)
• G(s) = k
s(s2 +2s+3)
AASTU [Link]
AASTU [Link]
AASTU [Link]
AASTU [Link]
a∗o
a1 a1 ao
Y (s) = + + ··· + +
s + p1 s + p2 s − jωo s + jωo
−p1 t −p2 t
+ · · · + ao ejωo t + a∗o e−jωo t
y(t) = a1 e + a2 e
y(s) = ytr (t) + yss (t)
The first term is the transient response, while the second term is steady state response. The
steady state response can be written as
AASTU [Link]
ro G(jωo )
ao = (s − jωo )Y (s)|s=jωo =
2
|ro G(jωo )| |ro G(jωo )|
= ∠G(jωo ) → A = , ϕ = ∠G(jωo )
2 2
thus,
yss (t) = ro |G(jωo )| cos(ωo t + ∠G(jωo ))
AASTU [Link]
• Amplitude: Output amplitude is the product of the input amplitude A and |G(jω0 )|.
• Phase: Output phase is the sum of the input phase and ∠G(jω0 ).
Where:
• ro is the amplitude of the input signal.
• ω0 is the angular frequency of the input signal:
ω0 = 2πf0
AASTU [Link]
AASTU [Link]
AASTU [Link]
Simplify:
1
Mr = √
2δ 1 − δ 2
• The resonant peak in frequency response corresponds to the peak overshoot in the time
domain transient response for certain values of damping ratio δ.
• Resonant peak and peak overshoot are correlated. AASTU [Link]
Let u2b = x
⇒ 2 = (1 − x)2 + (2δ)2 x
p
−(4δ 2 − 2) ± (4δ 2 − 2)2 + 4
⇒x=
2 AASTU [Link]
Bandwidth ωb in the frequency response is inversely proportional to the rise time tr in the time
domain transient response.
AASTU [Link]
|G(jω)H(jω)|
∠G(jω)H(jω)
Remark
• In control systems, the analysis of a system’s open-loop transfer function in the frequency
domain can provide insights into the closed-loop time domain behavior of the system.
• Several methods exist to plot the frequency response, each with its own strengths and
weaknesses. AASTU [Link]
• Bode Plot: Two graphs (magnitude in dB and phase in degrees) plotted against log
frequency.
• Nyquist Plot: Polar plot of the real and imaginary parts of the transfer function.
• Nichols Chart: Magnitude (dB) vs. phase (degrees) of the frequency response.
• Polar Plot: Magnitude and phase plotted in polar coordinates.
• Linear Magnitude and Phase Plot: Magnitude and phase plotted on linear scales.
• Spectrogram: Shows how frequency content changes over time.
AASTU [Link]
• Bode Plot: Best for general analysis and control system design.
• Nyquist Plot: Ideal for stability analysis.
• Nichols Chart: Useful for closed-loop system performance.
• Polar Plot: Simple representation for specific frequencies.
• Linear Plot: Easy to interpret for narrow ranges.
• 3D Plot: Comprehensive for multi-dimensional responses.
• Spectrogram: Best for time-varying systems.
AASTU [Link]
Note
In the Bode Plot, the magnitude (in decibels) and the phase angle (in degrees) of the
open-loop transfer function G(jω)H(jω) are plotted against frequency using a logarithmic
scale.
An open loop transfer function is composed of proportional gain, simple poles or zeros at
origin, simple poles or zeros on real axis and quadratic poles or zeros,
AASTU [Link]
p
Approximating log( τa2 ω 2 + 1)
p
τ a ω >> 1 log( τa2 ω 2 + 1) ≈ 20 log(τa ω) = 20 log(τa ) + 20 log(ω)
τ >> ω
a 20 log(τa ) + 20 log(ω) ≈ 20 log(τa )
τa << ω 20 log(τa ) + 20 log(ω) ≈ 20 log(ω)
τ ω << 1 log(pτ 2 ω 2 + 1) ≈ log(1) = 0
a a
AASTU [Link]
τa , τb , . . . τ1 , τ2 are called corner frequencies, the frequencies at which the plot change
direction.
AASTU [Link]
AASTU [Link]
Corner Frequency
For quadratic poles and zeros, the natural frequency ωn is a corner frequency of the system.
AASTU [Link]
• Time Delay: G(s) = e−T s → G(jω) = e−jT ω , the magnitude of |G(jω)| = 1 and the
angle ∠G(jω) − ωT , the phase angle increases as frequency increases.
• Non-minimum phase systems:
τ1 s − 1
G1 (s) =
τ2 s + 1
have larger phase variation than
τ1 s + 1
G2 (s) =
τ2 s + 1
AASTU [Link]
AASTU [Link]
Gain Margin
• Factor by which the gain of the system is less than the critical value |G(jω)| = 1 or how
much gain can we add to the OLTF gain when ∠G(jω) = 180o and still have stable
system.
• Mathematically: Gain Margin is the ratio of critical gain to the actual gain of the system.
Critical Gain 1
GM = =
Actual Gain |G(jω)|
in DB
GM = −20 log |G(jω)|ωpc
Where ωpc is the gain cross over frequency, the frequency at which ∠G(jω) = 180o
AASTU [Link]
Phase Margin
• Factor by which the angle of the system is less than the critical value ∠G(jω) = 180o or
how much phase can we add to the OLTF gain when|G(jω)| = 1 and still have stable
system.
• Mathematically:
P M = 180o + ∠G(jω)|ωgc
Where ωgc is the gain cross over frequency, the frequency at which |G(jω)| = 1.
AASTU [Link]
Stability
A system is stable if Both phase margin and gain margin are positive.
Note
• If ωgc < ωpc both gain margin and phase margin are positive hence the system is stable.
• If ωgc > ωpc both gain margin and phase margin are negative hence the system is
unstable.
AASTU [Link]
AASTU [Link]
• The resonance peak in the Bode plot is related to the overshoot in the time domain.
• For a second-order system:
1
Resonance Peak = p
2ζ 1 − ζ 2
• Higher resonance peak ⇒ higher overshoot.
AASTU [Link]
• Bandwidth (ωBW ):
• The frequency range where the magnitude is above −3 dB.
• For a second-order system:
q p
ωBW ≈ ωn 1 − 2ζ 2 + 4ζ 4 − 4ζ 2 + 2
AASTU [Link]
AASTU [Link]
• Time-domain specifications (overshoot, settling time, peak time) are closely related to
Bode plot characteristics.
• Key connections:
• Resonance peak ↔ Overshoot
• Bandwidth ↔ Settling time
• Phase margin ↔ Damping ratio
• Understanding these relationships helps in designing control systems with desired
performance.
AASTU [Link]
Example
• G(s) = k
s(s+1)(1+0.1s)
• G(s) = k
s(0.02s+1)(0.04s+2)
AASTU [Link]
AASTU [Link]
• To add a PM (Phase Margin) or Gain Margin (GM) to a system, additional dynamics are
required.
R(s) Y (s)
D(s) G(s)
+
−
AASTU [Link]
k(s + z)
D(s) = ⇒ modulated form
(s + p)
z s/z + 1 τs + 1
D(s) = k = kα
p s/p + 1 ατ s + 1
Condition
z
The magnitude determines whether the compensator is a lead or lag compensator
p
• Lead Compenstor → zp < 1
• Lag Compenstor → zp > 1
AASTU [Link]
Corner Frequencies
ωc1 = z and ωc2 = p since z < p → ωc1 < ωc2
AASTU [Link]
The controller reduce gain for low frequency inputs and add gain to high frequency inputs (i.e
amplification).
AASTU [Link]
AASTU [Link]
The lead compensator add phase to the system between ωc1 and ωc2 , meaning the phase of
the output leads the input, where the name comes from.
AASTU [Link]
Corner Frequencies
ωc1 = z and ωc2 = p since z > p → ωc1 > ωc2
AASTU [Link]
The controller reduce gain for high frequency inputs and add gain to low frequency inputs (i.e
amplification).
AASTU [Link]
AASTU [Link]
The Lag compensator remove phase from the system between ωc1 and ωc2 , meaning the phase
of the output lags the input, where the name comes from.
AASTU [Link]
Comparison
Parameter Lead Compensator Lag Compensator
Rise Time Decreases (↓) Increases (↑)
Gain Crossover Frequency Increases (↑) Decreases (↓)
AASTU [Link]
Note
Sometimes phase margin is may not be directly given, instead maximum percentage overshoot
will be given, then solve for ξ and use the relation ξ = 0.01P M
AASTU [Link]
AASTU [Link]
AASTU [Link]
• Step 1: Determine the DC gain kα of D(s)G(s) that meet the design specification.
• Step 2: Find the phase angle that will make the desired phase margin, with the gain kα.
AASTU [Link]
Given
10
G(s) =
s(s + 1)
1 Design a lead compensator, such that the phase margin P M ≥ 40◦ and the DC gain for a
ramp input is greater than 100.
2 Design a lead compensator that achieve a steady-state error of less than 0.1 for a ramp
input and a maximum overshoot of 25% for a step input.
3 Design a lead compensator, such that the phase margin P M ≥ 40◦ and the DC gain for a
ramp input is greater than 100 at ω = 10 rad/s.
4 Design a lag compensator, such that the phase margin P M ≥ 40◦ and the steady-state
error for a ramp input is less than 0.01.
AASTU [Link]
The controller is represented as the ratio of the signal into the plant U (s) and the error signal
E(s):
U (s)
Gc (s) =
E(s)
or
U (s) = Gc (s)E(s)
AASTU [Link]
U (s) = Gc (s)E(s)
kp
R(s) E(s) ki
U (s) Y (s)
+ G(s)
+ s
−
kd s
AASTU [Link]
Output:
u(t) = kp e(t)
Transfer Function:
Gc (s) = kp
Characteristics:
• Output is proportional to the error signal.
• Tends to cause oscillations.
AASTU [Link]
Output: Z
u(t) = ki e(t) dt
Transfer Function:
ki
Gc (s) =
s
Characteristics:
• Eliminates steady-state error.
• Can lead to slower response times.
AASTU [Link]
Output: Z t
u(t) = kp e(t) + ki e(λ) dλ
Transfer Function: τi
Gc (s) = kp 1 +
s
Alternative Form:
k(s + z)
Gc (s) =
s
Characteristics:
• Combines proportional and integral control.
• Pole at the origin, zero at −z.
AASTU [Link]
Output:
d
u(t) = kp e(t) + kd e(t)
dt
Transfer Function:
Gc (s) = kp (1 + τd s)
Alternative Form:
Gc (s) = k(s + z)
Characteristics:
• Combines proportional and derivative control.
• Zero at −z.
AASTU [Link]
Output: Z t
d
u(t) = kp e(t) + ki e(λ) dλ + kd e(t)
dt
Transfer Function: τi
Gc (s) = kp 1 + + τd s
s
Alternative Form:
k(s + z1 )(s + z2 )
Gc (s) =
s
Characteristics:
• Combines proportional, integral, and derivative control.
• Pole at the origin, zeros at −z1 and −z2 .
AASTU [Link]
80
Magnitude (dB)
60
40
Lead
20 PD
90
Phase (deg)
Lead
45 PD
0
10 -2 10 -1 10 0 10 1 10 2 10 3 10 4 10 5 10 6
Frequency (rad/s)
AASTU [Link]
• Lead Compensator:
• Improves phase margin and stability.
• Limits high-frequency gain, reducing noise sensitivity.
• PD Controller:
• Improves transient response and damping.
• Highly sensitive to noise due to unbounded high-frequency gain.
AASTU [Link]
150
100
50
0
Lag
PI
Phase (deg)
-45
-90
10-5 10-4 10-3 10-2 10-1 100 101 102
Frequency (rad/s)
• Lag Compensator:
• Used to improve steady-state accuracy without significantly affecting transient response.
• Reduces high-frequency gain, improving noise immunity.
• PI Controller:
• Used to eliminate steady-state error (e.g., for step inputs).
• Provides high gain at low frequencies, improving steady-state accuracy.
AASTU [Link]
Consider
τ1 s + 1
D1 (s) = kα
ατ1 s + 1
and
τ2 s + 1
D2 (s) = kβ
βτ2 s + 1
if α << 1 and β >> 1
If the two compensators are cascaded D(s) = D1 (s)D2 (s) the result will be,
2 1
D(s) = k α(τ1 s + 1) 1 +
τ2 s
2 1 τ1
D(s) = k α τ1 s + + 1+
τ2 s τ2
Which is a PID controller with kp = k 2 α 1 + ττ12 , τd = ττ11+τ
τ2
2
1
and τi = τ1 +τ 2
,
AASTU [Link]
150
45
0
-45 Lead Lag
PID
-90
10-4 10-2 100 102 104 106
Frequency (rad/s)
AASTU [Link]