You are on page 1of 7

Exercise 1:

For the following multi-loop feedback system, get closed loop transfer function and
the corresponding pole-zero map of the system.
Given
G1=1/s+10;
G2=1/s+1;
G3=s^2+1/s^2+4s+4;
G4=s+1/s+6;
H1=s+1/s+6;
H2=2;
H3=1;
Solution:
Code:
numg1=[1];
deng1=[1 10];
sysg1=tf(numg1,deng1)
z=zero(sysg1)
p=pole(sysg1)
pzmap(sysg1)
numg2=[1];
deng2=[1 1];
sysg2=tf(numg2,deng2)
p=pole(sysg2)
z=zero(sysg2)
pzmap(sysg2)
numg3=[1 0 1];
deng3=[1 4 4];
sysg3=tf(numg3,deng3)
z=zero(sysg3)
p=pole(sysg3)
pzmap(sysg3)
numg4=[1 1];
deng4=[1 6];
sysg4=tf(numg4,deng4)
z=zero(sysg4)
p=pole(sysg4)
pzmap(sysg4)
numh1=[1 1];
denh1=[1 6];
sysh1=tf(numh1,denh1)
z=zero(sysh1)
p=pole(sysh1)
pzmap(sysh1)
numh2=[2];
sysh2=tf(numh2)
z=zero(sysh2)
p=pole(sysh2)
pzmap(sysh2)
numh3=[1];
sysh3=tf(numh3)
z=zero(sysh3)
p=pole(sysh3)
pzmap(sysh3)

Transfer Function And Pole-Zero Map of G1,G2,G3,G4,H1,H2,H3


Exercise 2:
Consider the feedback system depicted in the figure below.

a. Compute the closed-loop transfer function using the ‘series’


and ‘feedback’ functions.

b. Obtain the closed-loop system unit step response with the ‘step’ function and verify that final
value of the output is 2/5.

Part a & b:
Solution:
Code:
num1=[1];
den1=[1 1];
sys1=tf(num1,den1)
num2=[1 2];
den2=[1 3];
sys2=tf(num2,den2)
sys3=series(sys1,sys2)
sys=feedback(sys3,1)
step(sys)

Result:

Exercise 3:
Consider the feedback control system given in figure, where 𝐺(𝑠) = 𝑠+1 /𝑠+2 and 𝐻(𝑠) = 1 /𝑠+1

a. Using an m-file script, determine the close-loop transfer function.

b. Obtain the pole-zero map using the ‘pzmap’ function. Where are the closed-loop system poles
and zeros?

Part a & b:
Solution:
Code:
numg=[1 1];
deng=[1 2];
sysg=tf(numg,deng)
numh=[1];
denh=[1 1];
sysh=tf(numh,denh)
sys=feedback(sysg,sysh)
p=pole(sys)
z=zero(sys)
pzmap(sys)

Result:

You might also like