control lectures 1_5
control lectures 1_5
OUTLINE
• Overview
• Microprocessor
• Shannon’s Sampling Theorem
2
Overview
• Digital Control Engineering is a branch of control
theory that uses digital computers to act as system
controllers.
• It is easy to configure and reconfigure through software, can
scale to the limits of the memory or storage space without
extra cost, parameters of the program can change with time.
• It has a more accuracy and high speed prosses.
• Since a digital computer is a discrete system, the Laplace
transform is replaced with the Z-transform.
• It requires analog-to-digital conversion, digital-to-analog
conversion.
• Depending on the requirements, a digital control system can
take the form of a microcontroller .
3
Microprocessor
• As a result of developments in microprocessor technology, the
implementation of control algorithms is now invariably using
embedded microcontrollers rather than employing analogue
devices. A typical system using microprocessor control is shown
in Figure below.
4
• Shannon’s Sampling Theorem
• It states that 'A function f (t) that has a bandwidth wb is uniquely
determined by a discrete set of sample values provided that the
sampling frequency is greater than 2wb’.
6
Digital to Analog converter (D/A)
As shown in Figure below, a zero-order hold converts a series of impulses
into a series of pulses of width T. Hence a unit impulse at time t is converted
into a pulse of width T, which may be created by a positive unit step at time
t, followed by a negative unit step at time (t — T), i.e. delayed by T.
z -transform
• The z-transform is the principal analytical tool for single-input-single-
output discrete-time systems and is analogous to the Laplace transform for
continuous systems.
• Conceptually, the symbol z can be associated with discrete time shifting in a
difference equation in the same way that s can be associated with
differentiation in a differential equation.
• Taking Laplace transforms of equation (1), which is the ideal sampled
signal, gives:
• Defined Z as:
8
Example: find Z transform of unit step function f(t)=1?
Solution:
1- linearity
10
Common Laplace and Z transform
11
12
Inverse z-transformation
(a) Infinite power series method
Example: A sampled-data system has a transfer function
If the sampling time is one second and the system is subject to a unit step
input function, determine the discrete time response. (N.B. normally, a
zero-order hold would be included, but, in the interest of simplicity, has
been omitted.) Now
3
(b) Difference equation method
In Example
5
The pulse transfer function
Blocks in cascaded
7
• Example: Figure below shows a digital control system.
When the controller gain K is unity, and the sampling time
is 0.5 seconds, determine:
a) The open-loop pulse transfer function.
b) The closed-loop pulse transfer function.
c) the difference equation for the discrete time response
d) a sketch of the unit step response assuming zero initial
conditions
e) The steady state value of output system.
If the plant equation is 1/s(s+1).
Solution:
9
• The block diagram of the system is shown in figure below:
10
11
12
13
b) The close loop transfer function is calculated by:
14
15
(e) We can get the steady state value of an output system by using
final value theorem:
• Now:
17