SlideShare a Scribd company logo
Digital Control Systems (DCS)
Lecture-18-19-20
Introduction to Digital Control Systems
1
Lecture Outline
• Introduction
• Difference Equations
• Review of Z-Transform
• Inverse Z-transform
• Relations between s-plane and z-plane
• Solution of difference Equations
2
Introduction
• Digital control offers distinct advantages over analog
control that explain its popularity.
• Accuracy: Digital signals are more accurate than their
analogue counterparts.
• Implementation Errors: Implementation errors are
negligible.
• Flexibility: Modification of a digital controller is possible
without complete replacement.
• Speed: Digital computers may yield superior
performance at very fast speeds
• Cost: Digital controllers are more economical than
analogue controllers. 3
Structure of a Digital Control System
4
Examples of Digital control Systems
Closed-Loop Drug Delivery System
5
Examples of Digital control Systems
Aircraft Turbojet Engine
6
• A difference equation expresses the change in
some variable as a result of a finite change in
another variable.
• A differential equation expresses the change in
some variable as a result of an infinitesimal
change in another variable.
Difference Equation vs Differential Equation
7
Differential Equation
• Following figure shows a mass-spring-damper-system. Where y is
position, F is applied force D is damping constant and K is spring
constant.
• Rearranging above equation in following form
8
𝐹 𝑡 = 𝑚 𝑦 𝑡 + 𝐷 𝑦 𝑡 + 𝐾𝑦(𝑡)
𝑦 𝑡 =
1
𝑚
𝐹 𝑡 −
𝐷
𝑚
𝑦 𝑡
𝐾
𝑚
𝑦(𝑡)
Difference Equations
• Difference equations arise in problems where the
independent variable, usually time, is assumed to have
a discrete set of possible values.
• Where coefficients 𝑎 𝑛−1, 𝑎 𝑛−2,… and 𝑏 𝑛, 𝑏 𝑛−1,… are
constant.
• 𝑢(𝑘) is forcing function
𝑦 𝑘 + 𝑛 + 𝑎 𝑛−1 𝑦 𝑘 + 𝑛 − 1 + ⋯ + 𝑎1 𝑦 𝑘 + 1 + 𝑎0 𝑦 𝑘
= 𝑏 𝑛 𝑢 𝑘 + 𝑛 + 𝑏 𝑛−1 𝑢 𝑘 + 𝑛 − 1 + ⋯ + 𝑏1 𝑢 𝑘 + 1 + 𝑏0 𝑢 𝑘
9
Difference Equations
• Example-1: For each of the following difference equations,
determine the (a) order of the equation. Is the equation (b)
linear, (c) time invariant, or (d) homogeneous?
1. 𝑦 𝑘 + 2 + 0.8𝑦 𝑘 + 1 + 0.07𝑦 𝑘 = 𝑢 𝑘
2. 𝑦 𝑘 + 4 + sin(0.4𝑘)𝑦 𝑘 + 1 + 0.3𝑦 𝑘 = 0
3. 𝑦 𝑘 + 1 = −0.1𝑦2
𝑘
10
Difference Equations
• Example-1: For each of the following difference equations,
determine the (a) order of the equation. Is the equation (b)
linear, (c) time invariant, or (d) homogeneous?
1. 𝑦 𝑘 + 2 + 0.8𝑦 𝑘 + 1 + 0.07𝑦 𝑘 = 𝑢 𝑘
Solution:
a) The equation is second order.
b) All terms enter the equation linearly
c) All the terms if the equation have constant coefficients.
Therefore the equation is therefore LTI.
d) A forcing function appears in the equation, so it is
nonhomogeneous.
11
Difference Equations
• Example-1: For each of the following difference equations,
determine the (a) order of the equation. Is the equation (b)
linear, (c) time invariant, or (d) homogeneous?
2. 𝑦 𝑘 + 4 + sin(0.4𝑘)𝑦 𝑘 + 1 + 0.3𝑦 𝑘 = 0
Solution:
a) The equation is 4th order.
b) All terms are linear
c) The second coefficient is time dependent
d) There is no forcing function therefore the equation is
homogeneous.
12
Difference Equations
• Example-1: For each of the following difference equations,
determine the (a) order of the equation. Is the equation (b)
linear, (c) time invariant, or (d) homogeneous?
3. 𝑦 𝑘 + 1 = −0.1𝑦2
𝑘
Solution:
a) The equation is 1st order.
b) Nonlinear
c) Time invariant
d) Homogeneous
13
Z-Transform
• Difference equations can be solved using classical methods
analogous to those available for differential equations.
• Alternatively, z-transforms provide a convenient approach for
solving LTI equations.
• The z-transform is an important tool in the analysis and design
of discrete-time systems.
• It simplifies the solution of discrete-time problems by
converting LTI difference equations to algebraic equations and
convolution to multiplication.
• Thus, it plays a role similar to that served by Laplace
transforms in continuous-time problems. 14
Z-Transform
• Given the causal sequence {u0, u1, u2, …, uk}, its z-
transform is defined as
• The variable z −1 in the above equation can be
regarded as a time delay operator.
𝑈 𝑧 = 𝑢 𝑜 + 𝑢1 𝑧−1 + 𝑢2 𝑧−2 + 𝑢 𝑘 𝑧−𝑘
𝑈 𝑧 =
𝑘=0
∞
𝑢 𝑘 𝑧−𝑘
15
Z-Transform
• Example-2: Obtain the z-transform of the
sequence
   ,...0,0,0,4,0,2,3,1,10


kku
16
Relation between Laplace Transform and Z-Transform
• The Laplace Transform of above equation is
• And the Z-transform of 𝑢∗
𝑡 is given as
• Comparing (A) and (B) yields
𝑢∗ 𝑡 = 𝑢 𝑜 𝛿 𝑡 + 𝑢1 𝛿 𝑡 − 𝑇 + 𝑢2 𝛿 𝑡 − 2𝑇 + ⋯ + 𝑢 𝑘 𝛿 𝑡 − 𝑘𝑇
𝑈∗
𝑠 = 𝑢 𝑜 + 𝑢1 𝑒−𝑠𝑇
+ 𝑢2 𝑒−2𝑠𝑇
+ ⋯ + 𝑢 𝑘 𝑒−𝑘𝑠𝑇
𝑈∗ 𝑠 =
𝑘=0
∞
𝑢 𝑘 𝑒−𝑘𝑠𝑇 (𝐴)
𝑧 = 𝑒 𝑠𝑇
17
𝑈 𝑧 =
𝑘=0
∞
𝑢 𝑘 𝑧−𝑘
(𝐵)
Conformal Mapping between s-plane to z-plane
• Where 𝑠 = 𝜎 + 𝑗𝜔.
• Then 𝑧 in polar coordinates is given by
𝑧 = 𝑒(𝜎+𝑗𝜔)𝑇
18
𝑧 = 𝑒 𝜎 𝑇 𝑒 𝑗𝜔 𝑇
∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇
𝑧 = 𝑒 𝑠𝑇
Conformal Mapping between s-plane to z-plane
• We will discuss following cases to map given points on s-plane
to z-plane.
– Case-1: Real pole in s-plane (𝑠 = 𝜎)
– Case-2: Imaginary Pole in s-plane (𝑠 = 𝑗𝜔)
– Case-3:Complex Poles (𝑠 = 𝜎 + 𝑗𝜔)
19
𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒
Conformal Mapping between s-plane to z-plane
• Case-1: Real pole in s-plane (𝑠 = 𝜎)
• We know
• Therefore
20
∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇
𝑧 = 𝑒 𝜎 𝑇 ∠𝑧 = 0
Conformal Mapping between s-plane to z-plane
When 𝑠 = 0
21
∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇
𝑧 = 𝑒0 𝑇 = 1
∠𝑧 = 0𝑇 = 0
𝑠 = 0
𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒
1
Case-1: Real pole in s-plane (𝑠 = 𝜎)
Conformal Mapping between s-plane to z-plane
When 𝑠 = −∞
22
∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇
𝑧 = 𝑒−∞ 𝑇
= 0
∠𝑧 = 0
−∞
𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒
0
Case-1: Real pole in s-plane (𝑠 = 𝜎)
Conformal Mapping between s-plane to z-plane
Consider 𝑠 = −𝑎
23
∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇
𝑧 = 𝑒−𝑎 𝑇
∠𝑧 = 0
−𝑎
𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒
1
Case-1: Real pole in s-plane (𝑠 = 𝜎)
0
Conformal Mapping between s-plane to z-plane
• Case-2: Imaginary pole in s-plane (𝑠 = ±𝑗𝜔)
• We know
• Therefore
24
∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇
𝑧 = 1 ∠𝑧 = ±𝜔𝑇
Conformal Mapping between s-plane to z-plane
Consider 𝑠 = 𝑗𝜔
25
∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇
𝑧 = 𝑒0 𝑇 = 1
∠𝑧 = 𝜔𝑇
𝑠 = 𝑗𝜔
𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒
1
−1
−1
1
𝜔𝑇
Case-2: Imaginary pole in s-plane (𝑠 = ±𝑗𝜔)
Conformal Mapping between s-plane to z-plane
When 𝑠 = −𝑗𝜔
26
∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇
𝑧 = 𝑒0 𝑇 = 1
∠𝑧 = −𝜔𝑇
𝑠 = −𝑗𝜔
𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒
1
−1
−1
1
−𝜔𝑇
Case-2: Imaginary pole in s-plane (𝑠 = ±𝑗𝜔)
Conformal Mapping between s-plane to z-plane
When 𝑠 = ±𝑗
𝜔
𝑇
27
∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇
𝑧 = 𝑒0 𝑇 = 1
∠𝑧 = ±𝜋
−𝑗
𝜔
𝑇
𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒
1
−1
−1
1
𝜋
𝝎𝑻 = 𝝅
𝑗
𝜔
𝑇
Case-2: Imaginary pole in s-plane (𝑠 = ±𝑗𝜔)
Conformal Mapping between s-plane to z-plane
• Anything in the Alias/Overlay region in the S-Plane will be
overlaid on the Z-Plane along with the contents of the strip
between ±𝑗
𝜋
𝑇
.
28
Conformal Mapping between s-plane to z-plane
• In order to avoid aliasing, there must be nothing in this region, i.e. there
must be no signals present with radian frequencies higher than w  p/T,
or cyclic frequencies higher than f = 1/2T.
• Stated another way, the sampling frequency must be at least twice the
highest frequency present (Nyquist rate).
29
Conformal Mapping between s-plane to z-plane
30
∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇
𝑧 = 𝑒 𝜎 𝑇
∠𝑧 = ±𝜔𝑇
𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒
1
−1
−1
1
Case-3: Complex pole in s-plane (𝑠 = 𝜎 ± 𝑗𝜔)
Mapping regions of the s-plane onto
the z-plane
31
Mapping regions of the s-plane onto
the z-plane
32
Mapping regions of the s-plane onto
the z-plane
33
34
35
Example-3
• Map following s-plane poles onto z-plane assume
(T=1). Also comment on the nature of step
response in each case.
1. 𝑠 = −3
2. 𝑠 = ±4𝑗
3. 𝑠 = ±𝜋𝑗
4. 𝑠 = ±2𝜋𝑗
5. 𝑠 = −10 ± 5𝑗
36
z-Transforms of Standard Discrete-Time Signals
• The following identities are used repeatedly to derive several
important results.
37
𝑘=0
𝑛
𝑎 𝑘
=
1 − 𝑎 𝑛+1
1 − 𝑎
, 𝑎 ≠ 1
𝑘=0
∞
𝑎 𝑘
=
1
1 − 𝑎
, 𝑎 ≠ 1
z-Transforms of Standard Discrete-Time Signals
• Unit Impulse
• Z-transform of the signal
38
𝛿 𝑘 =
1,
0,
𝑘 = 0
𝑘 ≠ 0
𝛿 𝑧 = 1
z-Transforms of Standard Discrete-Time Signals
• Sampled Step
• or
• Z-transform of the signal
39
𝑢 𝑘 =
1,
0,
𝑘 ≥ 0
𝑘 < 0
𝑈 𝑧 = 1 + 𝑧−1
+ 𝑧−2
+ 𝑧−3
+ ⋯ + 𝑧−𝑘
=
𝑘=0
𝑛
𝑧−𝑘
𝑢 𝑘 = 1, 1, 1,1, … 𝑘 ≥ 0
𝑈 𝑧 =
1
1 − 𝑧−1
=
𝑧
𝑧 − 1
𝑧 < 1
z-Transforms of Standard Discrete-Time Signals
• Sampled Ramp
• Z-transform of the signal
40
𝑟 𝑘 =
𝑘,
0,
𝑘 ≥ 0
𝑘 < 0
𝑈 𝑧 =
𝑧
𝑧 − 1 2
𝑟 𝑘
𝑘
0 1 2 3
… …
z-Transforms of Standard Discrete-Time Signals
• Sampled Parabolic Signal
• Then
41
𝑢 𝑘 =
𝑎 𝑘,
0,
𝑘 ≥ 0
𝑘 < 0
𝑈 𝑧 = 1 + 𝑎𝑧−1
+ 𝑎2
𝑧−2
+ 𝑎3
𝑧−3
+ ⋯ + 𝑎 𝑘
𝑧−𝑘
=
𝑘=0
𝑛
(𝑎𝑧)−𝑘
𝑈 𝑧 =
1
1 − 𝑎𝑧−1
=
𝑧
𝑧 − 𝑎
𝑧 < 1
Exercise
• Find the z-transform of following causal sequences.
42
1. 𝑓 𝑘 = 2 × 1 𝑘 + 4 × 𝛿 𝑘 , 𝑘 = 0,1,2, …
2. 𝑓 𝑘 =
4, 𝑘 = 2,3, …
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Exercise
• Find the z-transform of following causal sequences.
43
𝑓 𝑘 = 2 × 1 𝑘 + 4 × 𝛿 𝑘 , 𝑘 = 0,1,2, …
Solution: Using Linearity Property
𝐹 𝑧 = 𝒵{2 × 1 𝑘 + 4 × 𝛿 𝑘 }
𝐹 𝑧 = 2 × 𝒵 1 𝑘 + 4 × 𝒵{𝛿 𝑘 }
𝐹 𝑧 = 2 ×
𝑧
𝑧 − 1
+ 4
𝐹 𝑧 =
6𝑧 − 4
𝑧 − 1
Exercise
• Find the z-transform of following causal sequences.
44
𝑓 𝑘 =
4, 𝑘 = 2,3, …
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Solution: The given sequence is a sampled step starting at k-2 rather than
k=0 (i.e. it is delayed by two sampling periods). Using the delay property,
we have
𝐹 𝑧 = 𝒵{4 × 1 𝑘 − 2 }
𝐹 𝑧 = 4𝑧−2
𝒵{1 𝑘 − 2 }
𝐹 𝑧 = 4𝑧−2
𝑧
𝑧 − 1
=
4
𝑧(𝑧 − 1)
Inverse Z-transform
1. Long Division: We first use long division to
obtain as many terms as desired of the z-
transform expansion.
2. Partial Fraction: This method is almost identical
to that used in inverting Laplace transforms.
However, because most z-functions have the
term z in their numerator, it is often convenient
to expand F(z)/z rather than F(z).
45
Inverse Z-transform
• Example-4: Obtain the inverse z-transform of
the function
• Solution
• 1. Long Division
𝐹 𝑧 =
𝑧 + 1
𝑧2 + 0.2𝑧 + 0.1
46
Inverse Z-transform
• 1. Long Division
• Thus
• Inverse z-transform
𝐹 𝑧 =
𝑧 + 1
𝑧2 + 0.2𝑧 + 0.1
𝐹 𝑧 = 0 + 𝑧−1 + 0.8𝑧−2 − 0.26𝑧−3 + ⋯
𝑓 𝑘 = 0, 1, 0.8, −0.26, …
47
Inverse Z-transform
• Example-5: Obtain the inverse z-transform of
the function
• Solution
• 2. Partial Fractions
𝐹 𝑧 =
𝑧 + 1
𝑧2 + 0.3𝑧 + 0.02
𝐹 𝑧
𝑧
=
𝑧 + 1
𝑧(𝑧2 + 0.3𝑧 + 0.02)
𝐹 𝑧
𝑧
=
𝑧 + 1
𝑧(𝑧2 + 0.1𝑧 + 0.2𝑧 + 0.02) 48
Inverse Z-transform
𝐹 𝑧
𝑧
=
𝑧 + 1
𝑧(𝑧 + 0.1)(𝑧 + 0.2)
𝐹 𝑧
𝑧
=
𝐴
𝑧
+
𝐵
𝑧 + 0.1
+
𝐶
𝑧 + 0.2
50
02.0
1
2.01.0
1
)0(
)(
0




F
z
zF
zA
z
90
)2.01.0)(1.0(
11.0
)2.0)(1.0(
11
)1.0(
)(
)1.0(
1.01.0







 zz zz
z
z
z
z
zF
zB
40
)1.02.0)(2.0(
12.0
)2.0)(1.0(
11
)2.0(
)(
)2.0(
2.02.0







 zz zz
z
z
z
z
zF
zC
49
Inverse Z-transform
𝐹 𝑧
𝑧
=
50
𝑧
−
90
𝑧 + 0.1
+
40
𝑧 + 0.2
𝐹 𝑧 = 50 −
90𝑧
𝑧 + 0.1
+
40𝑧
𝑧 + 0.2
• Taking inverse z-transform (using z-transform table)
𝑓 𝑘 = 50𝛿 𝑘 − 90 −0.1 𝑘
+ 40 −0.2 𝑘
50
Inverse Z-transform
• Example-6: Obtain the inverse z-transform of
the function
• Solution
• 2. Partial Fractions
𝐹 𝑧 =
𝑧
(𝑧 + 0.1)(𝑧 + 0.2)(𝑧 + 0.3)
51
Inverse Z-transform
• Example-6: Obtain the inverse z-transform of the
function
• Solution
• The most convenient method to obtain the partial fraction expansion
of a function with simple real roots is the method of residues.
• The residue of a complex function F(z) at a simple pole zi is given by
• This is the partial fraction coefficient of the ith term of the expansion
𝐹 𝑧 =
𝑧
(𝑧 + 0.1)(𝑧 + 0.2)(𝑧 + 0.3)
52
𝐴𝑖 = 𝑧 − 𝑧𝑖 𝐹(𝑧)
𝑧→𝑧 𝑖
F z =
𝑖=1
𝑛
𝐴𝑖
𝑧 − 𝑧𝑖
Z-transform solution of Difference Equations
• By a process analogous to Laplace transform solution of
differential equations, one can easily solve linear
difference equations.
1. The equations are first transformed to the z-domain (i.e., both
the right- and left-hand side of the equation are z-
transformed) .
2. Then the variable of interest is solved.
3. Finally inverse z-transformed is computed.
53
Z-transform solution of Difference Equations
• Example-7: Solve the linear difference equation
• With initial conditions 𝑥 0 = 1, 𝑥 1 =
5
2
• 1. Taking z-transform of given equation
• 2. Solve for X(z)
54
𝑥 𝑘 + 2 −
3
2
𝑥 𝑘 + 1 +
1
2
𝑥 𝑘 = 1(𝑘)
Solution
𝑧2
𝑋 𝑧 − 𝑧2
𝑥 0 − 𝑧𝑥 1 −
3
2
𝑧𝑋 𝑧 +
1
2
𝑋 𝑧 =
𝑧
𝑧 − 1
[𝑧2
−
3
2
𝑧 +
1
2
]𝑋 𝑧 =
𝑧
𝑧 − 1
+ 𝑧2
+ (
5
2
−
3
2
)𝑧
Z-transform solution of Difference Equations
• Then
• 3. Inverse z-transform
55
[𝑧2
−
3
2
𝑧 +
1
2
]𝑋 𝑧 =
𝑧
𝑧 − 1
+ 𝑧2
+ (
5
2
−
3
2
)𝑧
𝑋 𝑧 =
𝑧[1 + (𝑧 + 1)(𝑧 − 1)]
(𝑧 − 1)(𝑧 − 1)(𝑧 − 0.5)
=
𝑧3
𝑧 − 1 2(𝑧 − 0.5)
𝑋 𝑧
𝑧
=
𝑧2
𝑧 − 1 2(𝑧 − 0.5)
=
𝐴
𝑧 − 1 2 +
𝐵
𝑧 − 1
+
𝐶
𝑧 − 0.5
𝑋(𝑧) =
2𝑧
𝑧 − 1 2
+
𝑧
𝑧 − 0.5
𝑥(𝑘) = 2𝑘 + (0.5) 𝑘

More Related Content

What's hot

Frequency Response Analysis
Frequency Response AnalysisFrequency Response Analysis
Frequency Response Analysis
Hussain K
 
digital control Chapter1 slide
digital control Chapter1 slidedigital control Chapter1 slide
digital control Chapter1 slide
asyrafjpk
 
Applications of Z transform
Applications of Z transformApplications of Z transform
Applications of Z transform
AakankshaR
 
Lecture 2 transfer-function
Lecture 2 transfer-functionLecture 2 transfer-function
Lecture 2 transfer-functionSaifullah Memon
 
Dcs lec02 - z-transform
Dcs   lec02 - z-transformDcs   lec02 - z-transform
Dcs lec02 - z-transform
Amr E. Mohamed
 
Polar Plot
Polar PlotPolar Plot
Polar Plot
Hussain K
 
Controllability and observability
Controllability and observabilityControllability and observability
Controllability and observability
jawaharramaya
 
state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...
Waqas Afzal
 
Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI Systems
Amr E. Mohamed
 
Time response of discrete systems 4th lecture
Time response of discrete systems 4th lectureTime response of discrete systems 4th lecture
Time response of discrete systems 4th lecture
khalaf Gaeid
 
State space analysis.pptx
State space analysis.pptxState space analysis.pptx
State space analysis.pptx
RaviMuthamala1
 
Region of Convergence (ROC) in the z-plane
Region of Convergence (ROC) in the z-planeRegion of Convergence (ROC) in the z-plane
Region of Convergence (ROC) in the z-plane
venkatasuman1983
 
State space models
State space modelsState space models
Pole Placement in Digital Control
Pole Placement in Digital ControlPole Placement in Digital Control
Pole Placement in Digital Control
Mahesh Vadhavaniya profmjv
 
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
Niraj Solanki
 
3. Concept of pole and zero.pptx
3. Concept of pole and zero.pptx3. Concept of pole and zero.pptx
3. Concept of pole and zero.pptx
AMSuryawanshi
 
Conversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable modelsConversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable models
Jyoti Singh
 
Dcs lec03 - z-analysis of discrete time control systems
Dcs   lec03 - z-analysis of discrete time control systemsDcs   lec03 - z-analysis of discrete time control systems
Dcs lec03 - z-analysis of discrete time control systems
Amr E. Mohamed
 
SINGULAR POINT IN NON-LINEAR SYSTEM
SINGULAR POINT IN NON-LINEAR SYSTEM SINGULAR POINT IN NON-LINEAR SYSTEM
SINGULAR POINT IN NON-LINEAR SYSTEM
ANISH PATHAK
 

What's hot (20)

Frequency Response Analysis
Frequency Response AnalysisFrequency Response Analysis
Frequency Response Analysis
 
digital control Chapter1 slide
digital control Chapter1 slidedigital control Chapter1 slide
digital control Chapter1 slide
 
Applications of Z transform
Applications of Z transformApplications of Z transform
Applications of Z transform
 
Lecture 2 transfer-function
Lecture 2 transfer-functionLecture 2 transfer-function
Lecture 2 transfer-function
 
Dcs lec02 - z-transform
Dcs   lec02 - z-transformDcs   lec02 - z-transform
Dcs lec02 - z-transform
 
Polar Plot
Polar PlotPolar Plot
Polar Plot
 
Controllability and observability
Controllability and observabilityControllability and observability
Controllability and observability
 
state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...
 
Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI Systems
 
Time response of discrete systems 4th lecture
Time response of discrete systems 4th lectureTime response of discrete systems 4th lecture
Time response of discrete systems 4th lecture
 
Z transform
Z transformZ transform
Z transform
 
State space analysis.pptx
State space analysis.pptxState space analysis.pptx
State space analysis.pptx
 
Region of Convergence (ROC) in the z-plane
Region of Convergence (ROC) in the z-planeRegion of Convergence (ROC) in the z-plane
Region of Convergence (ROC) in the z-plane
 
State space models
State space modelsState space models
State space models
 
Pole Placement in Digital Control
Pole Placement in Digital ControlPole Placement in Digital Control
Pole Placement in Digital Control
 
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
 
3. Concept of pole and zero.pptx
3. Concept of pole and zero.pptx3. Concept of pole and zero.pptx
3. Concept of pole and zero.pptx
 
Conversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable modelsConversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable models
 
Dcs lec03 - z-analysis of discrete time control systems
Dcs   lec03 - z-analysis of discrete time control systemsDcs   lec03 - z-analysis of discrete time control systems
Dcs lec03 - z-analysis of discrete time control systems
 
SINGULAR POINT IN NON-LINEAR SYSTEM
SINGULAR POINT IN NON-LINEAR SYSTEM SINGULAR POINT IN NON-LINEAR SYSTEM
SINGULAR POINT IN NON-LINEAR SYSTEM
 

Similar to Digital control systems (dcs) lecture 18-19-20

Engineering Analysis -Third Class.ppsx
Engineering Analysis -Third Class.ppsxEngineering Analysis -Third Class.ppsx
Engineering Analysis -Third Class.ppsx
HebaEng
 
Lecture Notes: EEEC4340318 Instrumentation and Control Systems - System Models
Lecture Notes:  EEEC4340318 Instrumentation and Control Systems - System ModelsLecture Notes:  EEEC4340318 Instrumentation and Control Systems - System Models
Lecture Notes: EEEC4340318 Instrumentation and Control Systems - System Models
AIMST University
 
DSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformDSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-Transform
Amr E. Mohamed
 
Math For Physics
Math For PhysicsMath For Physics
Math For Physics
walt sautter
 
Av 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background MaterialAv 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background Material
Dr. Bilal Siddiqui, C.Eng., MIMechE, FRAeS
 
UNIT I_5.pdf
UNIT I_5.pdfUNIT I_5.pdf
UNIT I_5.pdf
Muthukumar P
 
Direct solution of sparse network equations by optimally ordered triangular f...
Direct solution of sparse network equations by optimally ordered triangular f...Direct solution of sparse network equations by optimally ordered triangular f...
Direct solution of sparse network equations by optimally ordered triangular f...
Dimas Ruliandi
 
about power system operation and control13197214.ppt
about power system operation and control13197214.pptabout power system operation and control13197214.ppt
about power system operation and control13197214.ppt
MohammedAhmed66819
 
Z transform
Z transformZ transform
Z transform
nirav34
 
Unit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxUnit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptx
ssuser01e301
 
controllability-and-observability.pdf
controllability-and-observability.pdfcontrollability-and-observability.pdf
controllability-and-observability.pdf
LAbiba16
 
21 2 ztransform
21 2 ztransform21 2 ztransform
21 2 ztransform
Mahyar Alzobaidy
 
How to design a linear control system
How to design a linear control systemHow to design a linear control system
How to design a linear control system
Alireza Mirzaei
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
Tigabu Yaya
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
tayyaba19799
 
Lecture 23 24-time_response
Lecture 23 24-time_responseLecture 23 24-time_response
Lecture 23 24-time_response
Syed Ali Raza Rizvi
 
Stability and pole location
Stability and pole locationStability and pole location
Stability and pole location
ssuser5d64bb
 
Chapter 1 - What is a Function.pdf
Chapter 1 - What is a Function.pdfChapter 1 - What is a Function.pdf
Chapter 1 - What is a Function.pdf
ManarKareem1
 
Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05
Charlton Inao
 

Similar to Digital control systems (dcs) lecture 18-19-20 (20)

Engineering Analysis -Third Class.ppsx
Engineering Analysis -Third Class.ppsxEngineering Analysis -Third Class.ppsx
Engineering Analysis -Third Class.ppsx
 
Lecture Notes: EEEC4340318 Instrumentation and Control Systems - System Models
Lecture Notes:  EEEC4340318 Instrumentation and Control Systems - System ModelsLecture Notes:  EEEC4340318 Instrumentation and Control Systems - System Models
Lecture Notes: EEEC4340318 Instrumentation and Control Systems - System Models
 
DSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformDSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-Transform
 
Math For Physics
Math For PhysicsMath For Physics
Math For Physics
 
Av 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background MaterialAv 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background Material
 
UNIT I_5.pdf
UNIT I_5.pdfUNIT I_5.pdf
UNIT I_5.pdf
 
Direct solution of sparse network equations by optimally ordered triangular f...
Direct solution of sparse network equations by optimally ordered triangular f...Direct solution of sparse network equations by optimally ordered triangular f...
Direct solution of sparse network equations by optimally ordered triangular f...
 
about power system operation and control13197214.ppt
about power system operation and control13197214.pptabout power system operation and control13197214.ppt
about power system operation and control13197214.ppt
 
Z transform
Z transformZ transform
Z transform
 
Unit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxUnit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptx
 
controllability-and-observability.pdf
controllability-and-observability.pdfcontrollability-and-observability.pdf
controllability-and-observability.pdf
 
21 2 ztransform
21 2 ztransform21 2 ztransform
21 2 ztransform
 
How to design a linear control system
How to design a linear control systemHow to design a linear control system
How to design a linear control system
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
 
Lecture 23 24-time_response
Lecture 23 24-time_responseLecture 23 24-time_response
Lecture 23 24-time_response
 
Lifting 1
Lifting 1Lifting 1
Lifting 1
 
Stability and pole location
Stability and pole locationStability and pole location
Stability and pole location
 
Chapter 1 - What is a Function.pdf
Chapter 1 - What is a Function.pdfChapter 1 - What is a Function.pdf
Chapter 1 - What is a Function.pdf
 
Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05
 

Recently uploaded

Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 

Digital control systems (dcs) lecture 18-19-20

  • 1. Digital Control Systems (DCS) Lecture-18-19-20 Introduction to Digital Control Systems 1
  • 2. Lecture Outline • Introduction • Difference Equations • Review of Z-Transform • Inverse Z-transform • Relations between s-plane and z-plane • Solution of difference Equations 2
  • 3. Introduction • Digital control offers distinct advantages over analog control that explain its popularity. • Accuracy: Digital signals are more accurate than their analogue counterparts. • Implementation Errors: Implementation errors are negligible. • Flexibility: Modification of a digital controller is possible without complete replacement. • Speed: Digital computers may yield superior performance at very fast speeds • Cost: Digital controllers are more economical than analogue controllers. 3
  • 4. Structure of a Digital Control System 4
  • 5. Examples of Digital control Systems Closed-Loop Drug Delivery System 5
  • 6. Examples of Digital control Systems Aircraft Turbojet Engine 6
  • 7. • A difference equation expresses the change in some variable as a result of a finite change in another variable. • A differential equation expresses the change in some variable as a result of an infinitesimal change in another variable. Difference Equation vs Differential Equation 7
  • 8. Differential Equation • Following figure shows a mass-spring-damper-system. Where y is position, F is applied force D is damping constant and K is spring constant. • Rearranging above equation in following form 8 𝐹 𝑡 = 𝑚 𝑦 𝑡 + 𝐷 𝑦 𝑡 + 𝐾𝑦(𝑡) 𝑦 𝑡 = 1 𝑚 𝐹 𝑡 − 𝐷 𝑚 𝑦 𝑡 𝐾 𝑚 𝑦(𝑡)
  • 9. Difference Equations • Difference equations arise in problems where the independent variable, usually time, is assumed to have a discrete set of possible values. • Where coefficients 𝑎 𝑛−1, 𝑎 𝑛−2,… and 𝑏 𝑛, 𝑏 𝑛−1,… are constant. • 𝑢(𝑘) is forcing function 𝑦 𝑘 + 𝑛 + 𝑎 𝑛−1 𝑦 𝑘 + 𝑛 − 1 + ⋯ + 𝑎1 𝑦 𝑘 + 1 + 𝑎0 𝑦 𝑘 = 𝑏 𝑛 𝑢 𝑘 + 𝑛 + 𝑏 𝑛−1 𝑢 𝑘 + 𝑛 − 1 + ⋯ + 𝑏1 𝑢 𝑘 + 1 + 𝑏0 𝑢 𝑘 9
  • 10. Difference Equations • Example-1: For each of the following difference equations, determine the (a) order of the equation. Is the equation (b) linear, (c) time invariant, or (d) homogeneous? 1. 𝑦 𝑘 + 2 + 0.8𝑦 𝑘 + 1 + 0.07𝑦 𝑘 = 𝑢 𝑘 2. 𝑦 𝑘 + 4 + sin(0.4𝑘)𝑦 𝑘 + 1 + 0.3𝑦 𝑘 = 0 3. 𝑦 𝑘 + 1 = −0.1𝑦2 𝑘 10
  • 11. Difference Equations • Example-1: For each of the following difference equations, determine the (a) order of the equation. Is the equation (b) linear, (c) time invariant, or (d) homogeneous? 1. 𝑦 𝑘 + 2 + 0.8𝑦 𝑘 + 1 + 0.07𝑦 𝑘 = 𝑢 𝑘 Solution: a) The equation is second order. b) All terms enter the equation linearly c) All the terms if the equation have constant coefficients. Therefore the equation is therefore LTI. d) A forcing function appears in the equation, so it is nonhomogeneous. 11
  • 12. Difference Equations • Example-1: For each of the following difference equations, determine the (a) order of the equation. Is the equation (b) linear, (c) time invariant, or (d) homogeneous? 2. 𝑦 𝑘 + 4 + sin(0.4𝑘)𝑦 𝑘 + 1 + 0.3𝑦 𝑘 = 0 Solution: a) The equation is 4th order. b) All terms are linear c) The second coefficient is time dependent d) There is no forcing function therefore the equation is homogeneous. 12
  • 13. Difference Equations • Example-1: For each of the following difference equations, determine the (a) order of the equation. Is the equation (b) linear, (c) time invariant, or (d) homogeneous? 3. 𝑦 𝑘 + 1 = −0.1𝑦2 𝑘 Solution: a) The equation is 1st order. b) Nonlinear c) Time invariant d) Homogeneous 13
  • 14. Z-Transform • Difference equations can be solved using classical methods analogous to those available for differential equations. • Alternatively, z-transforms provide a convenient approach for solving LTI equations. • The z-transform is an important tool in the analysis and design of discrete-time systems. • It simplifies the solution of discrete-time problems by converting LTI difference equations to algebraic equations and convolution to multiplication. • Thus, it plays a role similar to that served by Laplace transforms in continuous-time problems. 14
  • 15. Z-Transform • Given the causal sequence {u0, u1, u2, …, uk}, its z- transform is defined as • The variable z −1 in the above equation can be regarded as a time delay operator. 𝑈 𝑧 = 𝑢 𝑜 + 𝑢1 𝑧−1 + 𝑢2 𝑧−2 + 𝑢 𝑘 𝑧−𝑘 𝑈 𝑧 = 𝑘=0 ∞ 𝑢 𝑘 𝑧−𝑘 15
  • 16. Z-Transform • Example-2: Obtain the z-transform of the sequence    ,...0,0,0,4,0,2,3,1,10   kku 16
  • 17. Relation between Laplace Transform and Z-Transform • The Laplace Transform of above equation is • And the Z-transform of 𝑢∗ 𝑡 is given as • Comparing (A) and (B) yields 𝑢∗ 𝑡 = 𝑢 𝑜 𝛿 𝑡 + 𝑢1 𝛿 𝑡 − 𝑇 + 𝑢2 𝛿 𝑡 − 2𝑇 + ⋯ + 𝑢 𝑘 𝛿 𝑡 − 𝑘𝑇 𝑈∗ 𝑠 = 𝑢 𝑜 + 𝑢1 𝑒−𝑠𝑇 + 𝑢2 𝑒−2𝑠𝑇 + ⋯ + 𝑢 𝑘 𝑒−𝑘𝑠𝑇 𝑈∗ 𝑠 = 𝑘=0 ∞ 𝑢 𝑘 𝑒−𝑘𝑠𝑇 (𝐴) 𝑧 = 𝑒 𝑠𝑇 17 𝑈 𝑧 = 𝑘=0 ∞ 𝑢 𝑘 𝑧−𝑘 (𝐵)
  • 18. Conformal Mapping between s-plane to z-plane • Where 𝑠 = 𝜎 + 𝑗𝜔. • Then 𝑧 in polar coordinates is given by 𝑧 = 𝑒(𝜎+𝑗𝜔)𝑇 18 𝑧 = 𝑒 𝜎 𝑇 𝑒 𝑗𝜔 𝑇 ∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇 𝑧 = 𝑒 𝑠𝑇
  • 19. Conformal Mapping between s-plane to z-plane • We will discuss following cases to map given points on s-plane to z-plane. – Case-1: Real pole in s-plane (𝑠 = 𝜎) – Case-2: Imaginary Pole in s-plane (𝑠 = 𝑗𝜔) – Case-3:Complex Poles (𝑠 = 𝜎 + 𝑗𝜔) 19 𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒
  • 20. Conformal Mapping between s-plane to z-plane • Case-1: Real pole in s-plane (𝑠 = 𝜎) • We know • Therefore 20 ∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇 𝑧 = 𝑒 𝜎 𝑇 ∠𝑧 = 0
  • 21. Conformal Mapping between s-plane to z-plane When 𝑠 = 0 21 ∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇 𝑧 = 𝑒0 𝑇 = 1 ∠𝑧 = 0𝑇 = 0 𝑠 = 0 𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒 1 Case-1: Real pole in s-plane (𝑠 = 𝜎)
  • 22. Conformal Mapping between s-plane to z-plane When 𝑠 = −∞ 22 ∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇 𝑧 = 𝑒−∞ 𝑇 = 0 ∠𝑧 = 0 −∞ 𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒 0 Case-1: Real pole in s-plane (𝑠 = 𝜎)
  • 23. Conformal Mapping between s-plane to z-plane Consider 𝑠 = −𝑎 23 ∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇 𝑧 = 𝑒−𝑎 𝑇 ∠𝑧 = 0 −𝑎 𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒 1 Case-1: Real pole in s-plane (𝑠 = 𝜎) 0
  • 24. Conformal Mapping between s-plane to z-plane • Case-2: Imaginary pole in s-plane (𝑠 = ±𝑗𝜔) • We know • Therefore 24 ∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇 𝑧 = 1 ∠𝑧 = ±𝜔𝑇
  • 25. Conformal Mapping between s-plane to z-plane Consider 𝑠 = 𝑗𝜔 25 ∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇 𝑧 = 𝑒0 𝑇 = 1 ∠𝑧 = 𝜔𝑇 𝑠 = 𝑗𝜔 𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒 1 −1 −1 1 𝜔𝑇 Case-2: Imaginary pole in s-plane (𝑠 = ±𝑗𝜔)
  • 26. Conformal Mapping between s-plane to z-plane When 𝑠 = −𝑗𝜔 26 ∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇 𝑧 = 𝑒0 𝑇 = 1 ∠𝑧 = −𝜔𝑇 𝑠 = −𝑗𝜔 𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒 1 −1 −1 1 −𝜔𝑇 Case-2: Imaginary pole in s-plane (𝑠 = ±𝑗𝜔)
  • 27. Conformal Mapping between s-plane to z-plane When 𝑠 = ±𝑗 𝜔 𝑇 27 ∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇 𝑧 = 𝑒0 𝑇 = 1 ∠𝑧 = ±𝜋 −𝑗 𝜔 𝑇 𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒 1 −1 −1 1 𝜋 𝝎𝑻 = 𝝅 𝑗 𝜔 𝑇 Case-2: Imaginary pole in s-plane (𝑠 = ±𝑗𝜔)
  • 28. Conformal Mapping between s-plane to z-plane • Anything in the Alias/Overlay region in the S-Plane will be overlaid on the Z-Plane along with the contents of the strip between ±𝑗 𝜋 𝑇 . 28
  • 29. Conformal Mapping between s-plane to z-plane • In order to avoid aliasing, there must be nothing in this region, i.e. there must be no signals present with radian frequencies higher than w  p/T, or cyclic frequencies higher than f = 1/2T. • Stated another way, the sampling frequency must be at least twice the highest frequency present (Nyquist rate). 29
  • 30. Conformal Mapping between s-plane to z-plane 30 ∠𝑧 = 𝜔𝑇𝑧 = 𝑒 𝜎 𝑇 𝑧 = 𝑒 𝜎 𝑇 ∠𝑧 = ±𝜔𝑇 𝑠 − 𝑝𝑙𝑎𝑛𝑒 𝑧 − 𝑝𝑙𝑎𝑛𝑒 1 −1 −1 1 Case-3: Complex pole in s-plane (𝑠 = 𝜎 ± 𝑗𝜔)
  • 31. Mapping regions of the s-plane onto the z-plane 31
  • 32. Mapping regions of the s-plane onto the z-plane 32
  • 33. Mapping regions of the s-plane onto the z-plane 33
  • 34. 34
  • 35. 35
  • 36. Example-3 • Map following s-plane poles onto z-plane assume (T=1). Also comment on the nature of step response in each case. 1. 𝑠 = −3 2. 𝑠 = ±4𝑗 3. 𝑠 = ±𝜋𝑗 4. 𝑠 = ±2𝜋𝑗 5. 𝑠 = −10 ± 5𝑗 36
  • 37. z-Transforms of Standard Discrete-Time Signals • The following identities are used repeatedly to derive several important results. 37 𝑘=0 𝑛 𝑎 𝑘 = 1 − 𝑎 𝑛+1 1 − 𝑎 , 𝑎 ≠ 1 𝑘=0 ∞ 𝑎 𝑘 = 1 1 − 𝑎 , 𝑎 ≠ 1
  • 38. z-Transforms of Standard Discrete-Time Signals • Unit Impulse • Z-transform of the signal 38 𝛿 𝑘 = 1, 0, 𝑘 = 0 𝑘 ≠ 0 𝛿 𝑧 = 1
  • 39. z-Transforms of Standard Discrete-Time Signals • Sampled Step • or • Z-transform of the signal 39 𝑢 𝑘 = 1, 0, 𝑘 ≥ 0 𝑘 < 0 𝑈 𝑧 = 1 + 𝑧−1 + 𝑧−2 + 𝑧−3 + ⋯ + 𝑧−𝑘 = 𝑘=0 𝑛 𝑧−𝑘 𝑢 𝑘 = 1, 1, 1,1, … 𝑘 ≥ 0 𝑈 𝑧 = 1 1 − 𝑧−1 = 𝑧 𝑧 − 1 𝑧 < 1
  • 40. z-Transforms of Standard Discrete-Time Signals • Sampled Ramp • Z-transform of the signal 40 𝑟 𝑘 = 𝑘, 0, 𝑘 ≥ 0 𝑘 < 0 𝑈 𝑧 = 𝑧 𝑧 − 1 2 𝑟 𝑘 𝑘 0 1 2 3 … …
  • 41. z-Transforms of Standard Discrete-Time Signals • Sampled Parabolic Signal • Then 41 𝑢 𝑘 = 𝑎 𝑘, 0, 𝑘 ≥ 0 𝑘 < 0 𝑈 𝑧 = 1 + 𝑎𝑧−1 + 𝑎2 𝑧−2 + 𝑎3 𝑧−3 + ⋯ + 𝑎 𝑘 𝑧−𝑘 = 𝑘=0 𝑛 (𝑎𝑧)−𝑘 𝑈 𝑧 = 1 1 − 𝑎𝑧−1 = 𝑧 𝑧 − 𝑎 𝑧 < 1
  • 42. Exercise • Find the z-transform of following causal sequences. 42 1. 𝑓 𝑘 = 2 × 1 𝑘 + 4 × 𝛿 𝑘 , 𝑘 = 0,1,2, … 2. 𝑓 𝑘 = 4, 𝑘 = 2,3, … 0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
  • 43. Exercise • Find the z-transform of following causal sequences. 43 𝑓 𝑘 = 2 × 1 𝑘 + 4 × 𝛿 𝑘 , 𝑘 = 0,1,2, … Solution: Using Linearity Property 𝐹 𝑧 = 𝒵{2 × 1 𝑘 + 4 × 𝛿 𝑘 } 𝐹 𝑧 = 2 × 𝒵 1 𝑘 + 4 × 𝒵{𝛿 𝑘 } 𝐹 𝑧 = 2 × 𝑧 𝑧 − 1 + 4 𝐹 𝑧 = 6𝑧 − 4 𝑧 − 1
  • 44. Exercise • Find the z-transform of following causal sequences. 44 𝑓 𝑘 = 4, 𝑘 = 2,3, … 0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒 Solution: The given sequence is a sampled step starting at k-2 rather than k=0 (i.e. it is delayed by two sampling periods). Using the delay property, we have 𝐹 𝑧 = 𝒵{4 × 1 𝑘 − 2 } 𝐹 𝑧 = 4𝑧−2 𝒵{1 𝑘 − 2 } 𝐹 𝑧 = 4𝑧−2 𝑧 𝑧 − 1 = 4 𝑧(𝑧 − 1)
  • 45. Inverse Z-transform 1. Long Division: We first use long division to obtain as many terms as desired of the z- transform expansion. 2. Partial Fraction: This method is almost identical to that used in inverting Laplace transforms. However, because most z-functions have the term z in their numerator, it is often convenient to expand F(z)/z rather than F(z). 45
  • 46. Inverse Z-transform • Example-4: Obtain the inverse z-transform of the function • Solution • 1. Long Division 𝐹 𝑧 = 𝑧 + 1 𝑧2 + 0.2𝑧 + 0.1 46
  • 47. Inverse Z-transform • 1. Long Division • Thus • Inverse z-transform 𝐹 𝑧 = 𝑧 + 1 𝑧2 + 0.2𝑧 + 0.1 𝐹 𝑧 = 0 + 𝑧−1 + 0.8𝑧−2 − 0.26𝑧−3 + ⋯ 𝑓 𝑘 = 0, 1, 0.8, −0.26, … 47
  • 48. Inverse Z-transform • Example-5: Obtain the inverse z-transform of the function • Solution • 2. Partial Fractions 𝐹 𝑧 = 𝑧 + 1 𝑧2 + 0.3𝑧 + 0.02 𝐹 𝑧 𝑧 = 𝑧 + 1 𝑧(𝑧2 + 0.3𝑧 + 0.02) 𝐹 𝑧 𝑧 = 𝑧 + 1 𝑧(𝑧2 + 0.1𝑧 + 0.2𝑧 + 0.02) 48
  • 49. Inverse Z-transform 𝐹 𝑧 𝑧 = 𝑧 + 1 𝑧(𝑧 + 0.1)(𝑧 + 0.2) 𝐹 𝑧 𝑧 = 𝐴 𝑧 + 𝐵 𝑧 + 0.1 + 𝐶 𝑧 + 0.2 50 02.0 1 2.01.0 1 )0( )( 0     F z zF zA z 90 )2.01.0)(1.0( 11.0 )2.0)(1.0( 11 )1.0( )( )1.0( 1.01.0         zz zz z z z z zF zB 40 )1.02.0)(2.0( 12.0 )2.0)(1.0( 11 )2.0( )( )2.0( 2.02.0         zz zz z z z z zF zC 49
  • 50. Inverse Z-transform 𝐹 𝑧 𝑧 = 50 𝑧 − 90 𝑧 + 0.1 + 40 𝑧 + 0.2 𝐹 𝑧 = 50 − 90𝑧 𝑧 + 0.1 + 40𝑧 𝑧 + 0.2 • Taking inverse z-transform (using z-transform table) 𝑓 𝑘 = 50𝛿 𝑘 − 90 −0.1 𝑘 + 40 −0.2 𝑘 50
  • 51. Inverse Z-transform • Example-6: Obtain the inverse z-transform of the function • Solution • 2. Partial Fractions 𝐹 𝑧 = 𝑧 (𝑧 + 0.1)(𝑧 + 0.2)(𝑧 + 0.3) 51
  • 52. Inverse Z-transform • Example-6: Obtain the inverse z-transform of the function • Solution • The most convenient method to obtain the partial fraction expansion of a function with simple real roots is the method of residues. • The residue of a complex function F(z) at a simple pole zi is given by • This is the partial fraction coefficient of the ith term of the expansion 𝐹 𝑧 = 𝑧 (𝑧 + 0.1)(𝑧 + 0.2)(𝑧 + 0.3) 52 𝐴𝑖 = 𝑧 − 𝑧𝑖 𝐹(𝑧) 𝑧→𝑧 𝑖 F z = 𝑖=1 𝑛 𝐴𝑖 𝑧 − 𝑧𝑖
  • 53. Z-transform solution of Difference Equations • By a process analogous to Laplace transform solution of differential equations, one can easily solve linear difference equations. 1. The equations are first transformed to the z-domain (i.e., both the right- and left-hand side of the equation are z- transformed) . 2. Then the variable of interest is solved. 3. Finally inverse z-transformed is computed. 53
  • 54. Z-transform solution of Difference Equations • Example-7: Solve the linear difference equation • With initial conditions 𝑥 0 = 1, 𝑥 1 = 5 2 • 1. Taking z-transform of given equation • 2. Solve for X(z) 54 𝑥 𝑘 + 2 − 3 2 𝑥 𝑘 + 1 + 1 2 𝑥 𝑘 = 1(𝑘) Solution 𝑧2 𝑋 𝑧 − 𝑧2 𝑥 0 − 𝑧𝑥 1 − 3 2 𝑧𝑋 𝑧 + 1 2 𝑋 𝑧 = 𝑧 𝑧 − 1 [𝑧2 − 3 2 𝑧 + 1 2 ]𝑋 𝑧 = 𝑧 𝑧 − 1 + 𝑧2 + ( 5 2 − 3 2 )𝑧
  • 55. Z-transform solution of Difference Equations • Then • 3. Inverse z-transform 55 [𝑧2 − 3 2 𝑧 + 1 2 ]𝑋 𝑧 = 𝑧 𝑧 − 1 + 𝑧2 + ( 5 2 − 3 2 )𝑧 𝑋 𝑧 = 𝑧[1 + (𝑧 + 1)(𝑧 − 1)] (𝑧 − 1)(𝑧 − 1)(𝑧 − 0.5) = 𝑧3 𝑧 − 1 2(𝑧 − 0.5) 𝑋 𝑧 𝑧 = 𝑧2 𝑧 − 1 2(𝑧 − 0.5) = 𝐴 𝑧 − 1 2 + 𝐵 𝑧 − 1 + 𝐶 𝑧 − 0.5 𝑋(𝑧) = 2𝑧 𝑧 − 1 2 + 𝑧 𝑧 − 0.5 𝑥(𝑘) = 2𝑘 + (0.5) 𝑘