Lec#02 Introduction To Digital Control Systems
Lec#02 Introduction To Digital Control Systems
Oct. 2023
Course Syllabus:-
1. Introduction
2. Spectrum analysis of sampling process
3. Signal reconstruction
4. Difference equation
5. The z-transform
6. Impulse transfer function
7. Mapping between s-plan and z-plan
8. Transient and steady state response analysis
9. Design based on root-locus
10.Design based on frequency response
11.Analytical design
2 12.Controllability & observability tests
1
10/11/2023
Lecture Agenda:-
Intro Recall “Overview on DCSs”
Structure of DCS
Digital Sampling and its types
Quantization
Intro. To Computer Control.
References
4
Digital signal
2
10/11/2023
Structure of a DCS
3
10/11/2023
Sampling
Analog signal is sampled every TS secs (Ts is the sampling interval).
fs = 1/Ts is called the sampling rate or sampling frequency.
Sampling Types
4
10/11/2023
Note
Nyquist Theorem
For lossless digitization, the sampling rate should be at least twice the
maximum frequency response.
In mathematical terms:
fs > 2fmax
where fs is sampling frequency and fmax is the maximum frequency in
the signal
10
10
5
10/11/2023
11
11
12
12
6
10/11/2023
t t
13
13
14
14
7
10/11/2023
Quantizing
and
Encoding
t
Input: Analog Signal t
15
15
16
16
8
10/11/2023
x x xx
Multiple-Order Sampling
In this case the sampling instants are not
equally spaced -1 0 9 10
17
17
18
18
9
10/11/2023
Quantization
Sampling results in a series of pulses of varying amplitude values
ranging between two limits: a min and a max.
The amplitude values are infinite between the two limits.
We need to map the infinite amplitude values onto a finite set of known
values.
This is achieved by dividing the distance between min and max into L
zones, each of height
= (max - min)/L
19
19
Quantization Level
The midpoint of each zone is assigned a value from 0 to L-1
(resulting in L values)
Each sample falling in a zone is then approximated to the value
of the midpoint.
20
20
10
10/11/2023
21
22
22
11
10/11/2023
23
23
24
24
12
10/11/2023
25
25
26
26
13
10/11/2023
27
27
28
28
14
10/11/2023
29
29
30
30
15
10/11/2023
Quantizing
Leftmost bit of the natural binary code has the most weight (one half of
the FS) – called MSB
Rightmost bit has the least weight (1/2ⁿ times the full scale) and is called
the least significant bit (LSB). Thus,
FSR
LSB =
2n
The least significant bit is the quantization level Q
31
31
Quantization Error.
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 desired by making the quantization level smaller (that is, by
increasing the number of bits n)
32
16
10/11/2023
With the rapid growth in the use of digital computers to perform digital control ,
both the data-acquisition system and the distribution system have become an
important part of the entire control system. The signal conversion that takes place in
the digital control system involves the following operations:
33
33
(a)
- system
block diagram of a data acquisition
From D/A To
digital Register demultiplexer Converter Hold actuator
controller
(b)
34
34
17
10/11/2023
Computer Control
The output from the process y(t) is a continuous-time signal. The output is
converted into digital form by A/D converter. The A/D converter can be
included in the computer or regarded as a separate unit, according to one's
preference. The conversion is done at the sampling times, tk. The computer
interprets the converted signal, {y(tk)}, as a sequence of numbers, processes
the measurements using an algorithm, and gives a new sequence of
numbers, {u(tk)}.
35
35
References
TextBooks:
Katsuhiko Ogata, ‘Discrete-Time Control Systems,’ 2nd edition, 1994.
st
Digital control engineering, Analysis and design, M. Sam Fadali, 1 Edition 2009
Automatic control systems, Kuo
Lecture Notes:
Omar Salim, Ph.D. Lecture notes E 1541 (Mechatronics Since 2017)
Professor Walaa Gabr, Ph.D. Lecture Notes 2015 and 2016.
Omar Salim, Ph.D. Lecture notes for SYS674 Oakland University 2010.
Software Packages:
MATLAB Simulink, for Mathworks.
Web Sites:
https://en.wikipedia.org/wiki/Sampling_(signal_processing)
https://en.wikipedia.org/wiki/Quantization_(signal_processing)
36
36
18