Professional Documents
Culture Documents
PROBLEM 2: A Unity Feedback System Has The Forward Transfer Function
PROBLEM 2: A Unity Feedback System Has The Forward Transfer Function
G(s)
Use MATLAB
>> zeroG=[1;2];
>> poleG=[-1;-1+i;-1-i];
>> sysG=zpk(zeroG,poleG,1)
sysG =
(s-1) (s-2)
-------------------(s+1) (s^2 + 2s + 2)
K (s1)(s2)
( s+1 ) ( s +2 s +2 )
>> rlocus(sysG)
>> z=0.2:0.05:0.7;
>> Wn=0:1:5;
>> sgrid(z,Wn)
>> axis([-3 4 -4.5 4.5])
>> z=0.5
z=
0.5000
>> Wn=0
Wn =
e) Find the point where the locus crosses the 0.5 damping ratio line.
f) Find the gain at the point where the locus crosses the damping ratio line.
h) Find root locus using s-grid command with damping ratio 0.2 to 0.5 step and natural
frequency 0 to 5 r/s in 1 r/s step.