You are on page 1of 6

1.

The transfer function of a system is given below: G(S) = 8(s+3)(s+4)/s(s+2)(s^2+2s+5) Determine the poles and zeros and show the pole zero configurations in s-plane. Solution: The numerator and denominator polynomials in s for the given transfer function are as: P1=8s2+56s+96 Q1=s4+4s3+9s2+10s
The numerator is assigned a variable name num and the coefficients of s are arranged in descending order, same procedure is followed for denominator polynomial. >> p1= [8 56 96]; >> Q1= [1 4 9 10 0]

Q1 =

10

>> sys4= tf (p1, Q1)

Transfer function: 8 s2 + 56 s + 96 -------------------------s4 + 4 s3 + 9 s2 + 10 s

>> pzmap(sys4) Here pzmap is a function name. It describes the ploe-zero plot of a linear system.

The pole-Zero map is obtained as shown in fig.1.


Pole-Zero Map 2.5 2 1.5 1 0.5 0 -0.5 -1 -1.5 -2 -2.5 -4

Imaginary Axis

-3.5

-3

-2.5

-2 Real Axis

-1.5

-1

-0.5

Fig:1
From the pole-zero map of the transfer function, poles and zeros are indicated as: Poles: s=0; s=-2; s=-1+j1; s=-1-j1 Zeros: s=-3; s=-4.

2. The impulse response of a system is given by : g(t)=e-t(1-cos2t) Determine the transfer function of the system Solution:
>> syms t >> f= exp(-t)*(1-cos(2*t)) f=

(cos(2*t) - 1)/exp(t)

>> F=laplace(f)

F= 1/(s + 1) - (s + 1)/ ((s + 1)^2 + 4) The first command is symst constructs a symbolic object for time variable t. The laplace transform of f[time function f(t)]is thus obtained using command Laplace(f).

3.A control system is shown in fig:2. Determine the transfer function.

R(s)

+ -

+ -

4/s(s+4)

C(s)

(S+1.2) + +

(s+0.8) Fig:2

Solution: The numerator and denominator of the transfer function in the forward path of block diagram
are found in the first step. The numerator polynomial is considered as n1 and denominator polynomial as d1. The MATLAB function printsyn is used to display the transfer function in the forward path. Similarly the transfer function in the second and third feedback path of the block diagram are displayed. In the successive step the closed loop transfer function is obtained using the cloop function. The sign in the paranthesis for the cloop indicates the ive feedback. Next the parallel function is used to obtain the resultant transfer function in the feedback path. Following commands are used to obtain the transfer function: n1 = 4 >> d1= [1 4 0] d1 = 1 4 0

>> printsys(n1,d1)

num/den = 4 --------s^2 + 4 s >> n2= [1 1.2] n2 = 1.0000 1.2000

>> d2= [0 1] d2 = 0 1

>> printsys(n2,d2) num/den =

s + 1.2 ------1 >> n3= [1 0.8] n3 = 1.0000 0.8000

>> d3= [0 1] d3 = 0 1

>> printsys (n3,d3)

num/den =

s + 0.8 ------1 >> [n4,d4]=cloop(n1,d1,-1) n4 = 0 d4 = 1 4 4 0 4

>> printsys(n4,d4) num/den =

4 ------------s^2 + 4 s + 4 >> [n5,d5]=parallel(n2,d2,n3,d3) n5 = 0 2 2

d5 = 0 0 1

>> printsys(n5,d5)

num/den = 2s+2 ------1 >> [n6,d6]=feedback(n4,d4,n5,d5,-1) n6 = 0 0 0 0 4

d6 = 0 0 1 12 12

>> printsys(n6,d6) num/den =

4 --------------s^2 + 12 s + 12

You might also like