Professional Documents
Culture Documents
Block Diagrams
Block Diagrams
MATLAB syntax:
T=series(G1,G2,G3)
Parallel form
MATLAB syntax:
T=parallel(G1,G2,G3)
Feedback System
MATLAB syntax:
T=feedback(G,H,feedback_type)
where feedback_type is.
-1 for -ve feedback(default)
+1 for +ve feedback
ID:4
H1
ID:5
H2
• Define all the TFs including the unity feedback TFs in the system using MATLAB
comp=tf(K,1);moco=tf(5,[1 2 0]);veh=tf(1,[1 3 0]);H1=tf(1,1);H2=tf(1,1);
Note that K is a constant gain and needs to be defined!
• Sub-systems are appended to each other while serially numbering them
sys=append(comp,moco,veh,H1,H2);
• Input and output blocks are then defined using their IDs
ip=1;op=3;
Block diagram reduction in MATLAB
ID:2
Interconnection Matrix:
ID:1 ID:3 1 −5 0 0 0
2 1 −4 0 0
𝑄= 3 2 0 0 0
4 2 0 0 0
5 3 0 0 0
• Block 1 is getting negative(-)
ID:4
H1 feedback of block 5
ID:5
• Block 2 is getting positive o/p
H2
signal from 1 and negative
feedback of 4
• How can you interpret row 3 of Q?
• Block interconnections have to be defined as well
Q=[1,-5,0,0,0;2,1,-4,0,0;3,2,0,0,0;4,2,0,0,0;5,3,0,0,0];
• Finally all the information combined and passed on for reduction process
T=connect(sys,Q,ip,op);
• This reduced state-space form of the system is converted to TF using ‘tf()’
Tf=tf(T)