Discrete Control System
Discrete Control System
1- Digital control system: refers to the use of digital computer or controller in the systems
so that the signals are digitally coded, such as in binary code
2-Sampled-datasystem: The signals are in the form of pulse data. The error signal can be
supplied only in the form of pulses (no digital controller in the system)
Ideal sampler: Is basically a switch that close every T Second for one instant of time.
Zero-order hold (ZOH): The sampling operation causes a loss of information since the
sampled signal is not known at all instants of time. In an effort to reduce this loss of
information, a data reconstruction device ,called a data-hold, is inserted into the system
directly following the sampling operation.
1
The T.F of zero –order hold is
L.T
Z=
2
3
Example:
4
Solution:
Example:
5
Example : consider the sampled-data system shown in
figure below . Find the closed-loop T.F ,ζ ,ωn and τ.
Solution:
6
ζ=0.25 , ω n=0.919 rad/sec , time constant τ=4.36sec
A delay in any feedback system degrades the stability and damping of the system.
The reconstructed signal e(t) lag e(Kt) by Ts /2. The effect of a delay can be
analyzed using frequency response because a time delay of T s /2 translates in to
phase decrease φ = - ω1Ts /2 ω1: gain crossover frequency
In order to reconstruct a continuous signal from the sampled sequence, the sampling
frequency must verify the condition (Nyquist theorem): fs > 2 fmax
6 f BCL f s 25 f BCL
CL
fs: sampling frequency, f B : closed loop system bandwidth
1St order system:
1
In this case the system G( s)
bandwidth is 1 T0 s
T0
f B f0
1 Ts T0
2T0 4 T0 : Time constant
2nt order system:
7
n2
G( s) 2
s 2 n s n2
0.25 1.5
Ts for 0.7 1.0
n n
8
P.M =30Deg for Ts=1sec , φ = - ω1Ts /2 = - 22Deg
For Ts =0.2 sec the bode plot close to its continuous system
9
Example: Consider the following second order
Characteristic equation
Q (z) = z2 + z + 0.25 = 0
11
Applying the conditions, we have
Q (-1) = 0.25>0
Example:
11
Example
Solution:
Condition: Q(1)>0
1 (0.368K 1.368) (0.368 0.264K ) >0
Which yields to K>0
Condition: (-1)2Q(-1)>0
1 (0.368K 1.368) (0.368 0.264K ) >0
Which yields to? K 2.736 26.3
0.104
Condition: a0 a2
(0.368 0.264K ) 1
0.632
Which yields to? K 2.39
0.264
Thus the system is stable if 0<K<2.39
Digital Implementation of the PID Controller
Unlike analog electronic (resistor , capacitor and operational amplifier)
,digital computer cannot integrate .Therefore in order to solve a
differentail equation in a computer,the equation must be
approximated by reducing it to an algebraic equation involving sums
12
and products only . These approximation techniques are often referred
to as numerical integration.
13
2- Backward Rectangular Integration
U(s) / E(s) = Ki /s ,The difference equation is
U(Z)/E(Z) = Ts / Z-1
Gi (Z)= Ki Ts /( Z-1)
14
15