LCS 6th Lab Manual
LCS 6th Lab Manual
LCS 6th Lab Manual
Objectives
The objective of this lab is the introduction to the basic principles and tools
for design and analysis of feedback systems. Some of the properties of feed-
back would be investigated along with applications in designing the control
for specific system.
Theory
Feedback is a powerful idea which is used extensively in natural and techno-
logical systems. The principle of feedback is:
Correcting actions on the difference between desired and actual
performance.
The term feedback is used to refer to a situation in which two (or more) dy-
namical systems are connected together such that each system influences the
other and their dynamics are thus strongly coupled. By dynamical system,
we refer to a system whose behavior changes over time, often in response to
external force.
When talking about control systems it is important to keep in mind that
engineers typically are given existing systems such as actuators, sensors, mo-
tors, and other devices with set parameters, and are asked to adjust the
performance of those systems. In many cases, it may not be possible to open
the system (the plant) and adjust it from the inside: modifications need to be
made external to the system to force the system response to act as desired.
34
This is performed by adding controllers, compensators, and feedback
structures to the system.
Figure 6.1 illustrates in block diagram form of feedback. We often use the
terms open loop and closed loop when referring to such systems. A system is
said to be a closed loop system if the systems are interconnected in a cycle.
as shown in Figure 6.1a. If we break the interconnection, we refer to the
configuration as an open loop system, as shown in Figure 6.1b. Feedback
Properties of Feedback
Feedback has many interesting properties that can be exploited in designing
systems. Feedback can make a system resilient towards external influences.
It can also be used to create linear behavior out of nonlinear components, a
common approach in electronics. More generally, feedback allows a system
to be insensitive both to external disturbances and to variations in its
individual elements.
36
and
U 1
= M =
e G
That is, at the control input u of the plant, the external input r acts
through an inverse of the plant G (U p) so to cancel all plant dynamics
and produce an output y, which is approximately equal to the reference input
Hence, larger amplitude of loop gain L(s) translates into smaller changes in
the tracking error (that is, reduced sensitivity to changes in fiG(s) in the
process). Also, larger L(s) implies smaller sensitivity, S(s)
Disturbance Rejection
An important effect of feedback in a control system is the control and partial
elimination of the effect of disturbance signals. A disturbance signal is an
unwanted input signal that affects the output signal. Many control systems
are subject to extraneous disturbance signals that cause the system to
provide an inaccurate output. Electronic amplifiers have inherent noise
generated within the integrated circuits or transistors; radar antennas are
subjected to wind gusts; and many systems generate unwanted distortion
signals due to nonlinear elements.
38
Lab Tasks
1. For the following transfer function with 1 K 10 and take p as your
roll number
40
Sinusoidal response
t=0:0.1:15;
ip=sin(2*pi*0.1*t)
for k=2:9
num=k;
den=[1 51]
sys=tf(num,den)
inv=tf(den,num)
series=sys*inv
hold on
lsim(series,ip,t)
end
41
2. For the system G(s), connect it in feedback with gain N = 1,
k=52
num=k;
den=[1 1]
sys=tf(num,den)
pzmap(sys)
43
3. For the system transfer function G(s)
44
∆a = +0.6
num=[1 1]
den=[1 3.6 5]
sys=tf(num,den)
step(sys)
∆a = -0.6
num=[1 1]
den=[1 2.4 5]
sys=tf(num,den)
step(sys)
45
4. Now add the disturbance with id( ) 1
= G(.s) o f Lab Task 3 us .sfiovvn tn Fi,g at the output of the system
6.3
For G(s)
clc
clear all
t=0:0.1:10;
ip=square(2*pi*1*t)
in=sin(2*pi*1*t)
num=[1 1]
den=[1 3 5]
sys=tf(num,den)
hold on
subplot(3,1,1)
step(sys)
hold on
46
subplot(3,1,2)
lsim(sys,in,t)
hold on
subplot(3,1,3)
lsim(sys,ip,t)
47
For Gd-open loop
t=0:0.1:10;
ip=square(2*pi*1*t)
in=sin(2*pi*1*t)
n=[2 11 12]
d=[1 10 26 35]
Gd=tf(n,d)
hold on
subplot(3,1,1)
step(Gd)
hold on
subplot(3,1,2)
lsim(Gd,in,t)
hold on
subplot(3,1,3)
lsim(Gd,ip,t)
48
For Gd-closed loop
H=1;
t=0:0.1:10;
ip=square(2*pi*1*t)
in=sin(2*pi*1*t)
n=[2 11 12]
d=[1 10 26 35]
Gd=tf(n,d)
F=feedback(Gd,H);
hold on
subplot(3,1,1)
step(F)
hold on
subplot(3,1,2)
lsim(F,in,t)
hold on
subplot(3,1,3)
lsim(F,ip,t)
49
50
Student's Comments
Lesson Learnt
51