Professional Documents
Culture Documents
EP-5511
4-3-3-1
By
Belaynesh Belachew (capt.)
Defence Engineering College
Apr. . 2022
General Content
Discrete Time Control System
Z-Transformation
Z-Plane Analysis
Design of Discrete Time Control System
State Space Analysis
Pole Placement
Observer Design
2
INTRODUCTION TO DISCRETE-TIME
CONTROL SYSTEM
Lecture-1
Introduction
3
Introduction
Signals can be classified as continuous-time and
discrete-time. A continuous time signal is defined for
all time, where as a discrete time signal is defined
only at discrete instant of time.
Similarly, systems are classified as analog and digital.
Analog systems are exited by continuous time
signals and generate continuous time signals as
output. The input and output of digital systems are
discrete time signals, or sequences of numbers.
A system with analog input & digital output or vice
versa can be modeled as either analog or digital
system, depending on convenience of analysis and
design.
4
Continued
Continuous Controller
Digital Controller
5
Continued
Signal categories for identifying control system types
Continuous-time signal is defined continuously in the
time domain, represented by x(t).
Quantized signal is a signal
whose amplitudes are
discrete and limited.
Analog signal or continuous
signal is continuous in time
and in amplitude. The real
word consists of analog
signals.
6
Continued
Sampled-data signal is a discrete-time signal resulting
by sampling a continuous-time signal, represented
by x∗(t).
Discrete-time signal is
defined only at certain time
instants. For a discrete-
time signal, the amplitude
between two consecutive y(k)
time instants is just not
defined, represented by
y(kh), or simply y(k),
where k is an integer and h
7 is the time interval.
Continued
Digital signal or a binary coded data signal is a
sequence of binary numbers. In or out from a
microprocessor, a semiconductor memory, or a shift
register.
16
Continued
Digital Analog Converter(DAC): A device that
converts digital signals to analog signals.
From the binary number each bit is properly weighted
voltages and are summed together to yield analogue
output.
17
Applications of Digital Control System
Closed-Loop
Drug Delivery
System
19
Continued
Turbojet Engine
Aircraft
20
Quantizing and Quantization error
The main functions involved in analog-to-digital conversion
are sampling, amplitude quantizing, and coding.
The process of representing a continuous or analog signal by
a finite number of discrete state is called amplitude
quantization.
That is, “quantizing” means transforming a continuous or
analog signal into a set of discrete states.
The output state of each quantized sample is then described
by a numerical code.
The process of representing a sample value by a numerical
code is called encoding or coding.
Thus, encoding is the process of assigning a digital word or
code to each discrete state.
21
Continued
The sampling period and quantizing levels affect the
performance of digital control systems.
Quantizing: the standard number system used for
processing digital signal is the binary number system.
In this system the code group consists of n pulses each
indicating either “on” (1) or “off” (0).
In the case of quantizing, n “on-off” pulses can represent 2n
amplitude levels or output states.
The quantization level Q is defined as the range between
two adjacent decision points and is given by
Where the FSR is full-scale range
The least significant bit is the quantization level Q.
22
Continued
Quantization Error: since the number of bits in the
digital word is finite, A/D conversion results in a
finite resolution.
That is, the digital output can assume only a finite
number of levels, and therefore must be rounded off
to the nearest digital level.
Hence, any A/D conversion involves quantization error.
Such quantization error varies between 0 and ±½Q.
This error depends on the fineness of the quantization
level and can be made as small as described by
making the quantization level smaller.
The uncertainty present in the quantization process is
23 called quantization noise.
Continued
Block diagram of a quantizer and its
input-output characteristics, and
analog input x(t) and discrete output
y(t)
24
Continued
To determine the desired size of the quantization level
in a given digital control system, the engineer must
have a good understanding of the relationship
between the size of the quantization level and
resulting error.
Since the quantizing process is an approximating
process in that the analog quantity is approximated
by a finite digital number, the quantization error is a
round-off error.
The quantization error e(t) is the difference between the
analog input signal x(t) and the discrete output y(t).
e(t)=x(t)-y(t)
The magnitude of the quantized error is 25
Sampler and Impulse Train
Sample-and-Hold Circuit: A sampler in a digital
system converts an analog signal in to a train of
amplitude-modulated pulses.
The hold circuit holds the value of the sampled pulse
signal over a specified period of time.
The sample-and-hold is necessary in the A/D converter
to produce a number that accurately represents the
input signal at the sampling instant.
Mathematically, the sampling operation and holding
operation are modeled separately.
The sample-and-hold operation is controlled by a
periodic clock.
26
Differential vs Difference Equations
A differential equation expresses the change in some
variable as a result of an infinitesimal change in
another variable.
A difference equation expresses the change in some
variable as a result of a finite change in another
variable.
Differential Equation: for the mass-spring-damper-
system below,
Where y is position, F is applied force
D is damping constant and K is spring
constant.
𝐹 𝑡 = 𝑚𝑦 𝑡 + 𝐷𝑦 𝑡 + 𝐾𝑦(𝑡)
1 𝐷 𝐾
𝑦 𝑡 = 𝐹 𝑡 − 𝑦 𝑡 27
𝑦(𝑡)
𝑚 𝑚 𝑚
Continued
Difference equations arise in problems where the
independent variable, usually time, is assumed to
have a discrete set of possible values.
𝑦 𝑘 + 𝑛 + 𝑎𝑛−1 𝑦 𝑘 + 𝑛 − 1 + ⋯ + 𝑎1 𝑦 𝑘 + 1 + 𝑎0 𝑦 𝑘
= 𝑏𝑛 𝑢 𝑘 + 𝑛 + 𝑏𝑛−1 𝑢 𝑘 + 𝑛 − 1 + ⋯ + 𝑏1 𝑢 𝑘 + 1 + 𝑏0 𝑢 𝑘
Where coefficients 𝑎𝑛−1, 𝑎𝑛−2,… and 𝑏𝑛, 𝑏𝑛−1,… are
constant.
𝑢(𝑘) is forcing function
Examples
1. 𝑦 𝑘 + 2 + 0.8𝑦 𝑘 + 1 + 0.07𝑦 𝑘 = 𝑢 𝑘
2. 𝑦 𝑘 + 4 + sin(0.4𝑘)𝑦 𝑘 + 1 + 0.3𝑦 𝑘 = 0
3. 𝑦 𝑘 + 1 = −0.1𝑦 2 𝑘
28
29