Control System Engineering Lab Journal
Control System Engineering Lab Journal
Control System
Engineering
(3BEE03)
Semester III
Sigma University
Department of Electrical
Engineering
CERTIFICATE
DATE:
SR DATE PAGE
NAME OF EXPERIMENTS MARKS SIGN
NO. NO.
EXPERIMENT NO. 1
Control systems are widely used in both domestic and industrial applications. Below are two
common examples to illustrate the use of open and closed loop systems.
A typical fully automatic washing machine allows the user to select a washing program. Once
started, the machine performs all functions (water intake, washing, rinsing, spinning) based
on preset time intervals. It does not check whether the clothes are actually clean or whether
the washing is sufficient. Therefore, this system operates without feedback and is considered
an open loop control system.
An air conditioner is equipped with a temperature sensor that continuously monitors the room
temperature. When the actual temperature deviates from the set temperature, the controller
activates or deactivates the compressor accordingly. This regulation is achieved using
feedback, making the air conditioner a closed loop control system.
Advantages:
Limitations:
Advantages:
Limitations:
Higher cost
Complex design and maintenance
Requires sensors and additional components
Conclusion:
ontrol
Control System Engineering (3BEE03)
CONCLUSION:
EXPERIMENT NO. 2
BLOCK DIAGRAM REDUCTION TECHNIQUE
THEORY & A block diagram system is representation of the functional performed by each
APPLICATION component and flow of the signal.
:
Advantages:
It gives info about dynamic performance of system.
It can easily formed by connected i/p and o/p respectively.
Functional operation can be observed of the system.
Overall and individual performance can be studied.
Disadvantages:
include info about physical construction of system.
Source of energy
Assumption include systems surround condition effect.
Reduction Rules
Parallel (tandem) connection: The equivalent transfer function for such a connection
representing a summation of signals, given in Figure as G(s) = G1(s) +G2
Gn(s)
Y(s) = X(s)
X(s) =X(s)
Y(s) =G(s) X(s)
X(s) =Y(s)/G(s) =X(s)
X(s) =X(s)/G(s)
Shifting a summing point before of the block: An adder or subtracted may be moved
from one side of a block to another as figure above illustrates. It is easy to show that
the diagrams on the left-hand and right-hand sides are equivalent.
Z(s) =G(s) X(s) +/-Y(s)
Z(s) =G(s) [X(s) +/-Y(s)/G(s)]
CONCLUSION
:
EXPERIMENT NO. 3
AIM: Find out transfer function through the mat lab using numerator denominator
technique using MATLAB.
THEORY &
APPLICATION: 1)
Program: num= [1 1];
den= [1 2 5];
tf(num, den)
Result:-Transferfunction:
2)
Program: num= [1 -1];
den= [1 0 -4];
tf(num, den)
Result:-Transferfunction:
3)
Program: num=[2 0 5];
den=[1 0 3 1];
tf(num,den)
Result: -Transferfunction:
4)
Program: num=[5];
den=[6 0 2];
tf(num,den)
Result: - Transferfunction:
5)
Program: num=[1 -3];
den=[1 -2 1];
tf(num,den)
Result: - Transferfunction:
6)
Program: num=[4.524 1];
den=[0.128 0.256 1 0];
tf(num,den)
Result: - Transferfunction:
CONCLUSION:
EXPERIMENT NO. 4
AIM: Find out transfer function through the mat lab using pole zero method using
MATLAB.
THEORY & 1)
APPLICATION:
Program: z=[-1];
p=[0 -2];
k=[1];
tf=zpk(z,p,k)
Result:- Polefunction:
2)
Program: z=[0];
p=[2];
k=[1];
tf=zpk(z,p,k)
Result:- Polefunction:
3)
Program: z=[-3];
p=[-1 1];
k=[12];
tf=zpk(z,p,k)
Result:- Polefunction:
4)
Program: z=[-2 -3];
p=[0 2];
k=[1];
tf=zpk(z,p,k)
Result:- Polefunction:
5)
Program: z=[3];
p=[1 1];
k=[1];
tf=zpk(z,p,k)
Result:- Polefunction:
6)
Program: z=[-1/0.377];
p=[0 -1 -1/0.128];
k=[12];
tf=zpk(z,p,k)
Result:- Polefunction:
7)
Program: z=[-1];
p=[-5];
k=[25];
tf=zpk(z,p,k)
Result:- Polefunction:
8)
Program: z=[-0.1];
p=[-10];
k=[1];
tf=zpk(z,p,k)
Result:- Polefunction:
CONCLUSION:
EXPERIMENT NO. 5
AIM: Find out the overall transfer function using block diagram reduction technique using
MATLAB.
Program: num1=[1]
den1=[1 0 500]
num2=[1 1]
den2=[1 2 1]
[num3,den3]=series(num1,den1,num2,den2)
t=tf(num3,den3)
Ans:
2) Parallel:
Program: num1=[1 2 1]
den1=[1 3 2]
num2=[1 1]
den2=[1 3 4]
[num3,den3]=parallel(num1,den1,num2,den2)
t=tf(num3,den3)
Ans:
3) Series-Parallel:
Program: num1=[1 1]
den1=[1 2]
num2=[1 10 9]
den2=[2 0 45]
[num3,den3]=series(num1,den1,num2,den2)
num4=[1 3 1]
den4=[2 0 0 0 9 ]
[num5,den5]=parallel(num3,den3,num4,den4)
t=tf(num5,den5)
Ans:
4) Sub Loop:
Program: num1=[1 0]
den1=[1 2]
num2=[1 10]
den2=[1 20]
[num3,den3]=series(num1,den1,num2,den2)
num4=[1 0]
den4=[1 1 ]
[num5,den5]=parallel(num3,den3,num4,den4)
num6=[1 0 2 1]
den6=[1 0 9 3]
[num7,den7]=series(num5,den5,num6,den6)
num8=[1]
den8=[1 ]
[num10,den10]=parallel(num7,den7,num8,den8)
t=tf(num10,den10)
Ans:
5) Feedback:
CONCLUSION:
EXPERIMENT NO. 6
AIM: To obtain the poles and zeros of a system, given the transfer function,
and plot them on real & imaginary axis using MATLAB.
p= -1.2500 + 1.3919i
-1.2500 - 1.3919i
k= 0.5000
Output:
2) 7s2-7
4s2+4s+1
Output: z = -1
1
p = -0.5000
-0.5000
k= 1.7500
CONCLUSION:
EXPERIMENT NO. 7
To represent graphically time response of 1st order control system subjected to step,
AIM: ramp, and parabolic, impulse input function for different time period using
MATLAB.
Program: num=[1]
den=[1 1]
sys=tf(num,den)
figure(1)
step(sys)
grid
Program: num1=[1]
den1=[10 1]
sys1=tf(num1,den1)
figure(2)
step(sys1)
grid
Program: num2=[1]
den2=[100 1]
sys2=tf(num1,den1)
figure(3)
step(sys2)
grid
Program: num=[1]
den=[1 1 0]
sys=tf(num,den)
figure(1)
step(sys)
grid
Program: num1=[1]
den1=[10 1 0]
sys1=tf(num1,den1)
figure(2)
step(sys1)
grid
Program: num2=[1]
den2=[100 1 0]
sys2=tf(num1,den1)
figure(3)
step(sys2)
grid
Program: num=[1]
den=[1 1 0 0]
sys=tf(num,den)
figure(1)
step(sys)
grid
Program: num1=[1]
den1=[10 1 0 0]
sys1=tf(num1,den1)
figure(2)
step(sys1)
grid
Program: num1=[1]
den1=[10]
sys1=tf(num1,den1)
figure(2)
impulse(sys1)
grid
CONCLUSION:
EXPERIMENT NO. 8
AIM: To obtain the poles and zeros of a system, given the transfer function, and plot them
on real & imaginary axis using MATLAB.
Output:
n=[1 3];
Output:
%obtain the roots of the characteristics equation for given values of k for
%the following transfer function (2s+9)k/s(s^2+6s+13) for k=10;5:50
k= 10 15 20 25 30 35 40 45 50
n=1.5
%plot the root locus and draw grid lines corresponding to zeta=0.5 and
%wn=1.5 for the given open loop transfer function
Program: clc;clearall
n=[0 0 0 1];
d=[1 5 2 0];
rlocus(n,d)
v=[-6 2 -5 5];
axis(v);
sgrid(0.5,1.5)
Output:
CONCLUSION:
EXPERIMENT NO. 9
AIM: To obtain the BODE-PLOTs for the given systems by using MATLAB.
Program: z=[]
p=[0 -3 -1]
k=[1]
T=zpk(z,p,k)
bode(T)
margin(T)
Output: z =[]
p =0 -3 -1
k =1
Zero/Pole/Gain:
2) G(S).H(S) =
Program: z=[]
p=[0 -1 -10]
k=[10]
T=zpk(z,p,k)
bode(T)
margin(T)
Output: z = []
p = 0 -1 -10
k = 10
Zero/Pole/Gain:
3) G(S).H(S) =
Program: z=[]
p=[0 -1 -5]
k=[10]
T=zpk(z,p,k)
bode(T)
margin(T)
Output: z= []
p =0 -1 -5
k =10
Zero/Pole/Gain:
4) G(S).H(S) =
Program: z=[]
p=[-10 -100]
k=[1000000]
T=zpk(z,p,k)
bode(T)
margin(T)
Output:
z =[]
p = -10 -100
k =1000000
Zero/Pole/Gain :
5) G(S).H(S) =
Program: z=[-10]
p=[0 -1000]
k=[10000]
T=zpk(z,p,k)
bode(T)
margin(T)
Output:
z =-10
p =0 -1000
k =10000
Zero/Pole/Gain:
CONCLUSION:
EXPERIMENT NO. 10
AIM: To plot the Nyquist plot for the given set of systems using MATLAB.
THEORY & 1) Plot the Nyquist response for the given system
APPLICATION:
H(s) =
%Plot the Nyquist response of the system
nyquist(H)
Output:
G(s) =
Program: clc
s = tf('s');
G = 1/(s^2+0.8*s+1);
nyquist(G);
axis equal;
Output:
Note: Axis used should be ' equal', otherwise circles appear squashed.
Program: s = tf('s');
G=1/((s)*(s+1));
nyquist(G)
Output:
CONCLUSION: