Académique Documents
Professionnel Documents
Culture Documents
2005/FC-MCE-02
WAJID PERVAIZ
2005/FC-MCE-09
FAISALABAD CAMPUS
UNIVERSITY OF ENGINEERING AND TECHNOLOGY, LAHORE
MATLAB
MATLAB and Toolboxes
MATLAB and Control
Control System Toolbox
Solution to some problems
where
p1 , p 2 ... p n 1 numerator coefficients
q1 , q1 ... q m 1 denominator coefficients
where
p1 , p 2 ... p n 1 the zeros of H(s)
q1 , q1 ... q m 1 the poles of H(s)
Y (s) 4s 3 4( s 0.75)
G(s) 2
U ( s ) s 6 s 5 ( s 1)( s 5)
10/23/08 MATLAB Control Toolbox 14
Control System Toolbox
Zero-pole-gain model (ZPK)
where
x state vector
u and y input and output vectors
A , B ,C and D state-space matrices
x1 ' 0 1 x1 0 x1 (0) 0
x ' 5 6 x 1 u x (0) 0
2
2 2
x1
y 3 4
x2
b= d=
u1
u1
y1 0
x1 0
x2 1
ss2tf
zp2tf ss2zp
tf2zp zp2ss
Zero-pole-gain
3s + 2
G( s ) =
2 s 3 + 4s 2 + 5 s + 1
The values of gain and phase margin and corresponding frequencies are