0% found this document useful (0 votes)
18 views

Zerog (2 6 ) Poleg (0 - 3+4I - 3-4I) Sysg ZPK (Zerog, Poleg, 1)

1) The document describes analyzing a transfer function using root locus analysis by varying the gain K from 0 to 100. 2) It allows selecting a point on the root locus plot to determine the corresponding gain and closed loop pole locations. 3) The closed loop transfer function is obtained using feedback control and its step response and pole locations are examined.

Uploaded by

nnb2686
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Zerog (2 6 ) Poleg (0 - 3+4I - 3-4I) Sysg ZPK (Zerog, Poleg, 1)

1) The document describes analyzing a transfer function using root locus analysis by varying the gain K from 0 to 100. 2) It allows selecting a point on the root locus plot to determine the corresponding gain and closed loop pole locations. 3) The closed loop transfer function is obtained using feedback control and its step response and pole locations are examined.

Uploaded by

nnb2686
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

>> zeroG = [ 2; 6;];

>> poleG = [ 0; -3+4i; -3-4i];


>> sysG = zpk(zeroG, poleG, 1)

Zero/pole/gain:
(s-2) (s-6)
----------------s (s^2 + 6s + 25)

>> rlocus( sysG )

>> K = linspace(0, 100, 101 );


>> rlocus( sysG, K )

>> K = linspace(0, 100, 1001 );


>> rlocus( sysG, K )
>> r = rlocus ( sysG, K );
>> plot( r, '.' )

>> zeroG = [ 2; 6; ];
>> poleG = [ 0; -3+4i; -3-4i] ;
>> sysG = zpk( zeroG, poleG, 1 )

Zero/pole/gain:
(s-2) (s-6)
----------------s (s^2 + 6s + 25)
>> rlocus( sysG )
>> [ Gain CLpole ] = rlocfind( sysG )
Select a point in the graphics window

selected_point =

-2.8878 + 1.3095i

Gain =

0.9975

CLpole =

-2.9102 + 1.3037i
-2.9102 - 1.3037i
-1.1771
>> sysCL = feedback( Gain*sysG, 1 )

Zero/pole/gain:
0.99749 (s-6) (s-2)
------------------------------(s+1.177) (s^2 + 5.82s + 10.17)

>> step( sysCL )


>> pole( sysCL )

ans =

-1.1771
-2.9102 + 1.3037i
-2.9102 - 1.3037i

You might also like