SSL Exp3
SSL Exp3
Student Name
Roll Number
Grade and Subject
Teacher’s Signature
The block diagram of a control system consists of four components, namely signal,
block (with transfer function), and summing point and take off point. The basic block diagram
algebra involves algebra with regard to series/cascaded blocks, parallel blocks and a general
feedback loop. Series blocks combine with each other by multiplication and parallel blocks
combine with each other by algebraic addition. Understanding of the properties of summing
junction in series is crucial in the simplification of some block diagrams. Summing points in
series can be interchanged, combined and separated algebraically.
P age |1
Step 1- Reduce the blocks connected in series.
Step 2- Reduce the blocks connected in parallel.
Step 3- Reduce the minor internal feedback loops.
Step 4- As far as possible try to shift take off point towards right and summing points to the
left.
Step 5- Repeat steps 1 to 4 till simple form is obtained.
Step 6- Using standard transfer function (T.F.) of simple closed loop system obtain the closed
loop
C( s )
T.F. R( s ) of the overall system.
Create a MATLAB file to write the code to reduce the given block diagram.
Given:
s = tf('s');
G1 = 1/(s+1);
G2 = 2/((s^2) + (5*s) + 100);
G3 = 10/((2*s) +1);
G4 = 100/(s+1);
Now we are required to define all the blocks input and output. As shown below. Using these
defined input output we will be using sumblk
G1.InputName = 'r';
G1.OutputName = 'ug1';
G2.InputName = 'e';
G2.OutputName = 'ug2';
P age |2
G3.InputName = 'ym';
G3.OutputName = 'y';
G4.InputName = 'u';
G4.OutputName = 'ym';
Note: Now we are required to relate all these inputs and outputs. Why??
Because there are two summing points in our block diagram. This way MATLAB will be able
to relate the transfer function with each other.
You can notice ‘ym’ is our output and it is not attached to any summing point hence it is not
included in the summing.
sum1 = sumblk('e','r','y','+-'); % e = r - y
sum2 = sumblk('u','ug1','ug2'); % u = ug1 + ug2
We have to find the relationship between r and ym for our output transfer function.
Output TF = connect (G1,G2,G4,G3,sum1,sum2,'r','ym')
Output:
Output TF =
ALGORITHM:
FLOWCHART:
P age |3
CODE:
clc;
clear all;
close all;
G1.InputName='r';
G1.OutputName='ug1';
G2.InputName='e';
G2.OutputName='ug2'; Declaration of input and output of all transfer function
G3.InputName='ym';
G3.OutputName='y';
G4.InputName='u';
G4.OutputName='ym';
P age |4
RESULTS:
CONCLUSION:
P age |5
P age |6