Professional Documents
Culture Documents
Gebremichael Teame
Mekelle University
Ethiopian Institute of Technology-Mekelle
Electrical and Computer Engineering
gtesfa@mu.edu.et/ gtesfa@spg.tu-darmstadt.de
www.mu.edu.et/ www.eitm.edu.et
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 1
ECE: MU
Table of Contents
◮ course Objective: Students taking this course will revise the basic
mathematical background of control systems and computational methods.
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 2
ECE: MU
Course Description
◮ The course includes, Linear spaces and linear operators. Bases, subspaces,
eigenvalues and eigen vectors, canonical forms.
◮ Linear differential and difference equations. Mathematical representations:
◮ state equations, state variable modeling, linearization of state equations,
transfer functions, impulse response, matrix fraction and polynomial
descriptions.
◮ System-theoretic concepts: causality, controllability, observability, realizations,
canonical decomposition, stability theory for linear dynamical system
◮ Minimal realization of linear systems and canonical forms
◮ Introduction to Advanced Control systems; Optimal, Robust, Intelligent and
Adaptive Control systems
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 3
ECE: MU
Course Contents
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 4
ECE: MU
1. Introduction to linear control systems
1.1 Empirical and Analytical Methods
◮ Examples are such as the task of sending Astronauts to the moon and
bringing them back safely or the design of fusion control in nuclear plant
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 6
ECE: MU
1. Introduction to linear control systems
1.2. Control Systems
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 7
ECE: MU
1. Introduction to linear control systems
1.1 Empirical and Analytical Methods
◮ The desired speed is set using a potentiometer and the error is amplified
using a differential amplifier.
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 8
ECE: MU
1. Introduction to linear control systems
1.1 Empirical and Analytical Methods
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 9
ECE: MU
1. Introduction to linear control systems
1.1 Empirical and Analytical Methods
3. Level control
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 10
ECE: MU
1. Introduction to linear control systems
1.1 Empirical and Analytical Methods
4. Cloth Drier
◮ A schematic diagram of the control of a clothes drier is shown below
◮ In a manual clothes drier, depending on the amount of clothes and depending
on experience, we set the timer to say, 40 minutes.
◮ At the end of 40 minutes, the drier will automatically turn off even if the
clothes are still wet.
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 11
ECE: MU
1. Introduction to linear control systems
1.1 Empirical and Analytical Methods
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 12
ECE: MU
1. Introduction to linear control systems
1.2 Problem Formulation and Terminology
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 13
ECE: MU
1. Introduction to linear control systems
1.2 Problem Formulation and Terminology
3. Power Amplification: The antenna used to receive signals have diameter over
70 m and weighs several tons, which is difficult to rotate by hand.
* However, using control systems, we can control them by tuning a knob.
Conclusion
◮ Control systems are widely used in practice since they can be designed to
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 14
ECE: MU
1. Introduction to linear control systems
1.2 Problem Formulation and Terminology
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 17
ECE: MU
1. Introduction to linear control systems
1.4 Linear Time-invariant Systems
RLC Networks: The input output of RLC networks are related as:
Resistor: v (t) = ri(t)
Capacitor: i(t) = C dvdt(t)
Inductor: v (t) = L di(t)
dt
Determine the differential equations relating the input out variables of the
following LTI electrical systems.
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 20
ECE: MU
1. Introduction to linear control systems
1.4 Linear Time-invariant Systems
Industrial Process
◮ In chemical plants it is often necessary to maintain the levels of liquids. A
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 21
ECE: MU
1. Introduction to linear control systems
1.4 Linear Time-invariant Systems
Industrial Process
qi , q1 , q2 are flow rates of the fluid
A1 , A2 areas of the cross section of the tanks
h1 , h2 are liquid levels
R1 , R2 are flow resistances, controlled by valves
It is assumed that q1 and q2 are governed by
h1 − h2 h2
q1 = and q2 =
R1 R2
◮ There are proportional and relative liquid levels and inversely proportional to
the flow resistance.
◮ The changes in liquid levels are governed by:
dh1
A1 dh1 = (qi − q1 )dt ⇒ A1 = qi − q1
dt
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 22
ECE: MU
1. Introduction to linear control systems
1.4 Linear Time-invariant Systems
Industrial Process
dh2
A2 dh2 = (q1 − q2 )dt ⇒ A2 = q1 − q2
dt
◮ The equations are linearized and we can relate the input-output variables
using linear differential equations.
◮ Let qi is the input and q2 be the output of the system
d 2 q2 dq2
A1 A2 R1 R2 + (A1 (R1 + R2 ) + A2 R2 ) + q2 (t) = qi (t) (5)
dt 2 dt
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 23
ECE: MU
1. Introduction to Digital Control
1.5 Basic Elements of Discrete Control System
◮ Loops containing both analog and digital signals must provide a means for
conversion from one form to other as require by each subsystem
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 24
ECE: MU
1. Introduction to Digital Control
1.5 Basic Elements of Discrete Control System
◮ In ADC, the analog signal is first converted to a sampled signal and then
converted to a sequence of binary numbers, the digital signal.
◮ The sampling rate must be at least twice of the bandwidth of the signal, else
there will be a deterioration.
◮ This minimum sampling frequency is called the Nyquist sampling rate
◮ An analog signal is sampled at periodic intervals and hold over the sampling
interval by ZOH, that yields staircase approximation to analog signal
◮ Higher order holds such as first order, second order, generate more complex
and more accurate wave shapes between samples
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 25
ECE: MU
1. Introduction to Digital Control
1.5 Basic Elements of Discrete Control System
◮ After sampling, the ADC converts sample to a digital number by the process
of quantization and encoding.
◮ A three-bit digital number can represent each of 23 = 8, eight levels.
◮ Thus, the difference between quantization levels is M/8, where M is the
maximum analog value.
◮ In general, for any system, this difference is M/2n , where n is the number of
binary bits use for the conversion of A/D.
◮ There is an associated error for each digitized analog value except at the
boundaries such as M/8 and 2M/8
◮ We called this error the quantization error and in general for any system
using roundoff, the quantization error will be M/2n+1
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 26
ECE: MU
1. Introduction to Digital Control
1.5 Basic Elements of Discrete Control System
◮ Properly weighted values are assumed together to yield the analog output
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 27
ECE: MU
1. Introduction to Digital Control
1.5 Examples of Digital Control
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 28
ECE: MU
1. Introduction to Digital Control
1.6 Examples of Digital Control
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 29
ECE: MU
1. Introduction to Digital Control
1.6 Examples of Digital Control
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 30
ECE: MU
1. Introduction to Digital Control
1.6 Examples of Digital Control
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 31
ECE: MU
1. Introduction to Digital Control
1.6 Examples of Digital Control
◮ The computer also provides an interface between the robot and the operator
that allows programming the lower level controllers and directing their
actions.
◮ The controller algorithms are downloaded from the supervisory computer to
the control computers, which are typically specialized microprocessors called
Digital signal processors
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 32
ECE: MU
1. Introduction to linear control systems
1.7 Zero-input and Zero-state responses
◮ The response of a LTI system can be always decomposed into the zero-input
and zero-state responses.
◮ Consider a simple example
s 2 Y (s)−sy (0− )− ẏ (0− )+3[sY (s)−y (0− )]+2Y (s) = 3[sU(s)−u(0− )]−U(s)
dy (t)
where ẏ = dt and the capital letters denote the Laplace transforms
◮ The grouping of the inputs and outputs yields
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 33
ECE: MU
1. Introduction to linear control systems
1.7 Zero-input and Zero-state responses
which implies
◮ The equation shows that the system is partly excited by the input and partly
by the initial states
The initial state is excited by the input at t = 0
◮
d 2 y (t) dy (t)
2
+3 + 2y (t) = 0
dt dt
This is called homogenous equation, and the Laplace transform gives
which implies
(s + 3)y (0− ) + ẏ (0− ) (s + 3)y (0− ) + ẏ (0− )
Y (s) = 2
=
s + 3s + 2 (s + 1)(s + 2)
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 35
ECE: MU
1. Introduction to linear control systems
1.7 Zero-input and Zero-state responses
where
k1 = 2y (0− ) + ẏ (0− ) and k2 = −[y (0− ) + ẏ (0− )]
Thus the zero input response is
y (t) = k1 e −t + k2 e −2t
The modes, roots of the denominator, governs the form of the zero input response.
◮ When we extend to the general case, we have a transfer function which
relates the input and output variables
D(p)y (t) = 0
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 36
ECE: MU
1. Introduction to linear control systems
1.7 Zero-input and Zero-state responses
I (s)
Y (s) =
D(s)
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 37
ECE: MU
1. Introduction to linear control systems
1.7 Zero-input and Zero-state responses
◮ If all the initial conditions are equal to zero, the response is excited
exclusively by the input and is called zero-state response.
3s − 1
Y (s) = U(s) := G (s)U(s)
s 2 + 3s + 2
◮ The rational function on s is called the transfer function, which is the ratio of
the Laplace transform of the output to the input.
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 38
ECE: MU
1. Introduction to linear control systems
1.7 Zero-input and Zero-state responses
N(s)
G (s) =
D(s)
◮ Where N(s) and D(s) are two polynomials with real coefficients
◮ If deg (N(s)) > deg (D(s)), G (s) is an improper rational function
◮ Otherwise G (s) is called a proper rational function, and strictly proper if
deg (N(s)) < deg (D(s))
◮ Most LTI control systems have proper transfer functions.
◮ Improper rational functions are difficult to realize and amplify high frequency
signals
March 31, 2017 | ECEG 6171: Ch–1 | Year I, Sem I | Ac. Yr.: 2016/17 | ECE: EiT-M | Gebremichael T. | 39
ECE: MU