Comparison of analysis and design methods for control systems s-domain method system representation system that can be handled transfer function linear time-invariant system t-domain method differential equation nonlinear, time-varying, multivariable system
# skip . .
, y
. u , y .
(input:
u , output: y )
y= x 1
k b 1 x1 = x 2 , x2 = - M x 1 - M x 2 + M u
# . .
input:
u , output: v o
C 1 p 2+ C u
1u
where
x x 21 x= x n
u u 21 , u= u m
y y 21 y= y r
# y size .
Ex. Find SE and OE in matrix form for the previous mass-spring-damper system
sol)
k b 1 x1 = x 2 , x2 = - M x 1 - M x 2 + M u OE: y = x 1 x1 = x x ) x 21 + ( ) u x 21 + u , y = ( x2
SE:
()
( )( ) ( )
()
# .
* Solution of
x = ax + bu , x(0)= x 0
# SE + IC
sX ( s)- x(0)= aX ( s)+ bU( s) x b X ( s) = s-0a + s- a U( s) x( t)= e atx 0 + 0te a ( t - )bu ()d
* Solution of
x = Ax + B u ,
x(0)= x 0
t) = ( t) x(0)+ 0t ( t- ) B u ( ) d
( t) I + A + A + s s2 s3
2 2
( s)=( s I - A ) - 1 = ( t) = - 1 ( ( s)) A t 2 + ( t) = e A t = I + A t + 2!
when
x1( t) = xn ( t)
ij
u(
t)= 0
11 n1
( t) ( t)
( t) x1 (0) nn ( t) xn (0)
1n
( t) = response of xi( t)
due to
xj(0)
u(
t)= 0
Ex. Find
( t) for 0 1 A = -2 -3 s sI - A = 0 0 s
I A -1 =
()
x1 = 0 1 x1 x2 -2 -3 x2
)( )
. skip
( t) = e At = -1{ ( s I - A ) -1} s+3 1 = -1 ( s+1)( s+2) ( s+1)( s+2) -2 s ( s+1)( s+2) ( s+1)( s+2) 2e t t -2 = -2--- ee-2t t -ee- tt- e -2t 2t - +2e e +
( (
)
6
* Main idea - make all feedback loops touch each other - make all forward path touch feedback loops - then in Mason's gain formula:
# 2.7
3) make denominator part of Mason's formula 4) make numerator part of Mason's formula
# n
2)
3)
4)
Figure 3.11(a)
Ex. Find SE and OE from above SFG sol) 1) define state variable at every right node of 2) derive equation at every left node of
s
# .
* Notes about the method above - no factorization needed - # of integrators in SFG = order of system -
s exists only as 1 s
(not like
s+1 , ...)
# . 1/(s+1) 1/s .
- SE can be easily obtained from SE-version of SFG Q: What if we want DE (not SE) from TF? A: Conversion b/w DE and TF is very easy.
and
are scalar)
x = Ax + B =Cx
... ...
{} : s X = A X + B U {} : Y =
C X
( sI - A ) X = B U X = ( sI - A ) - 1 B U Y = C ( sI - A ) -1 B U
G ( S ) = Y (( s)) = C ( sI - A ) -1 B Us
10
s t
s t
( t)
or
( s) : STM)
( t) = exp( A t ) = k0 Akk!t k =
or
( t)= - 1 { ( s) }
u(
where
( s)=( s I - A ) - 1
# STM
If we assume
Now, we will learn how to find ij 's using signal flow graph
11
OE:
1 1 1 x1 = - C x2 + C u ( t) , x2 = L x1 - R x2 L where x1 = vC , x2 = i L vo = R x2
R =3 , L =1 , C =1/2 , -->
= 0 -2 1 -3
( )
12
1) method by using
s sI - A = 0 0 s 1 ( s I - A ) -1 =
X(
-1
13
14
xj(0) to X i ( s)
X 1 ( s) = 1((ss)) x1s(0) 1 ( s) = 1+3s-1 , ( s) = 1+3s- 1 +2s-2 (1+3s -1 )(1/-2) = 2 s+3 s - 1 +2s 1+3s s +3s+2 u ( t)=0, x(0) = 1 1
()
( ) (
t) = ( t) x(0) x1 ( t ) = 11 12 1 x2 ( t ) 1 21 22
x(
)( ) ( )
=
e - 22tt e-
Figure 3.25
15