Transfer-Function Realization Techniques
Transfer-Function Realization Techniques
Transfer-Function Realizations
231
232 Transfer-Function Realizations
Thus for a given set of system matrices A, B, C, and D, the transfer func-
tion matrix G(s) may be uniquely determined. The realization problem is
the inverse problem where the system matrices A, B, C, and D are to be
evaluated for a given G(s). A realization is said to be minimal if the dimen-
sion of the square matrix A [or the state vector x(t)] is minimal. It can be
shown that every rational proper G(s) has minimal realizations, and all
minimal realizations are equivalent. The example below outlines the signif-
icance of minimal realization [1].
Example 4.1: Realization concept —one-input/ one-output system
#(s)i =).6(sl=A)s'b
s Siy b;
S-a, b,
= [0,c,,0,c,] S-a,
S-a, 0
2 eee 2 (4.2)
The signal flow graph of the state-space representation Fig. 4.1 shows that
the state-controllable and state-observable (= output controllable) part of
the system may be represented by
y(t) = ¢2x,(b) ae
and this defines the passage of control signal from the input terminal to the
output terminal, and has a transfer function c,b,/(s - a,). It can therefore
be concluded that (4.3) is an ''adequate" realization of g(s) in (4.2), and
this is the minimal realization of g(s). The description is (4.1) is a non-
minimal realization of g(s).
Realization Problem 233
Theorem 4.1
of G(s) exists with dimension of x(t) less than the dimension of x(t), the
minimal order of realization being nmin = 6 {G(s)}-
With Theorem 4.1 and the derivations in Sec. 3.2, it is apparent that
a minimal realization of G(s) can easily be obtained through the derivation
of the controllable and observable canonical forms of (4.4). This procedure,
although conceptually simple, requires a significant amount of numerical
computation. Before considering the various realization procedures for
multivariable systems, some basic results for single-input systems are
stated below without detailed derivations [2,3,7].
n-1 n-2
NG) i eee ee
8(s) A(s)
= n n-1
+ a
Ss 1a 's he + Sas
a (4.7)
= g(s) “a
are given here; these are based on the results in Sec. 3.2.
Realization Problem 235
x,(b) 0 1 0 0
x, 1 0 0 1
x0 ale aeise eo ae ad
(4.8)
x, (4)
x, (t)
y(t) = [p> acne eo +» Bo, By] : ae du(t)
x1
x ie)
i @ 0 FOG, x, (t)
OO 0 mos x1
0 0 1 —a, x (t)
(4.9)
y(t) = [0 0 *++ 0
236 Transfer-Function Realizations
(b)
fie 0
x(t)= | 0° 0 1{x(t)+] 0] u(t); y(t) =[1 2.5 0.5]x(t)
+ 2u(t) (4.11)
Sseeel 0-6 1
Observable form:
0 0 -8 1
x(t) = }]1 O -10) x(t) + | 2.5 Ju(t)s y(t) =[0 0 1)x(t) + 2u(t) (4.12)
OF a6 0.5
The forms above, also known as companion form representations, are con-
venient in that they can be derived directly from the transfer function g(s).
Another method, derived by partial fraction expansion of g(s), is given
below.
g(s) = Y -
k=1 ©*
+d
Sot Aerino a
g(s) aa g3 + 682 + lls ae 5 (A es -1, -2, -3)
aS ee (4.16)
-1 0 S
z(t) = -2 z(t) +/-1] u(t)s y(t) =[2 1 2]z(t) (4.17)
0 -3 S
e Co e e e
is (emer
Sai ee See 4° (al (4.18)
where g(s) has poles at A,, A,, A,, Az, and A3.-
By using the transformation x(t) = Jx(t) it can be shown (Sec. 1.4)
that the derivations above would yield the following realization for (4.18):
The representation of g(s) above is called the Jordan canonical form. This
is shown in Fig. 4.3a. An alternative form of representation (changes in
b and c) is shown in Fig. 4.3b. Realization in Jordan canonical form has
two difficulties. First, the denominator of the transfer function must be
factored, or the poles of g(s) must be computed. Second, if g(s) has com-
plex poles, A, b, c will have complex elements, and some equivalent trans-
formation with complex-conjugate elements may have to be introduced [3].
Realization Problem 239
g(s)
E
= e(sI - A)~b+d
pe eN(G) eA) +d= — N(s)
qeuisr ,
A(s) +d (4.21)
then (4.20) is irreducible only if the polynomials N(s) and A(s) do not have
nontrivial common factor (i.e., if they are relatively prime). This leads
to the following theorem.
Let a(s) be the monic least common multiple (lem) of the denominators of
the elements of the proper rational matrix G(s) of order £ xX m; then, from
(4.4),
eae ue
Gis) = {6,,(s)} su = aigy
G
7 OST - ANB
=
+D (4.22)
where G(s ) ={ei,(s)}, Bij(s) = gi(s), Fie 1, al a ean tec aa
If p=d{a(s)}, ion p<n=eae, G(s) }, with G(s) expressed as
Nonminimal Realizations QA1
uo}te wo
Gs) ll Q n a Q 0)
Me} + + Q> n ae Q (4.23)
where
x, () 0 Te 0 OGn 0 x,(t) 0
= (t)
Xp 0 0 In sralie 0 Xo (t) 0 :1 (t)
: he may:
0 0 0 rn 0 us)
. -a -a -a -a t
*, pon ellen p-2 m 1m Sa ) an
(4.24)
y,© x, (t)
y p(t) x(t)
where
D = lim G(s)
s—oo
Pp “~
p-k
2 Gs
=0
This form of realization (called direct realization [6]), however, is not
minimal since the order of the A matrix is p X m, which, in most cases,
is likely to be greater than n [the degree of G(s)], where p< n. If the
observable form in (4.9) were used, the resulting multivariable observable
realization would be as follows:
242 Transfer-Function Realizations
OL Oe LOU Eea al G 0
p £ p
UR ee G 0
(wel ° . .
pty,
.
p-| x
Pl; cle=| e
|; D= time)
g—-0o
s 1
(So esa?
G(s) = (4.27)
ast1 i
aia i) Garal
3
@ ee1 a p-k I esas WE mee a
(s) PY) 2 G KS i= fee
ie [Gs ats G,s + G.] (4. 28)
aos An OLeneL 0 0
= g* + st
my ih 3 1 i 8
G, G, G,
lim G(s) = [0]
sS—co
Nonminimal Realizations 243
0 IL, 0
A = 0 0 I.|, 2, =
-2 31, I, -a,1,
One Ge ot 0 0
oa 0 0 0
OR ea 0 0
Aa
Or a0 71 0 1 QO @ @ teali
(4.29a)
Oh Oye J Te =O)
OPS:
eo 0 On,
O° 1, rsagly
i
aS
SS S&
TSS)
SerSy
OS
SSeS
SS)
SS
=
0
1
G, F
B= Q, alee (4.29b)
G, oA
2 oO
Oo
FEF
FP
PrP
the m columns (for controllable form) and the £ rows (for observable form)
of the (£ x m) transfer-function matrix G(s), rather than a single lcm for
all the (2 X m) elements of G(s). The derivations of controllable and observ-
able forms are considered separately [1,11, 14].
pisOia ees ee
g..(s) = SL (4.30)
= leo! so) ard
1 6j
0j 0j
es ij
Par aj
pli =| 6j-1 :
O° }@ixs a!j = j-
Pie? 3
(5) <4) (4.31)
Byij aj
0 1 0: 0 0
0 0 iis 0 0
ley »
c, = [8 (a x 69)
ij ij ij
= (p60. nee eve By
Defining a vector e, as the kth column of an identity matrix (i.e., the kth
element of e, is unity while all others are zero), the matrices above may
be expressed in compact form as
et
2
' sey
A=
tsé
alte [e,)3
b, =[e..J3 c..
{jek
¢, ==[85]4 (4.32)
A3Z
e
6j : Ew Jlgtesh peas
a (i e., C14 7 (B.] ’ O41 el [Pe 4] ’ etc.)
0 0 0
a
0 0 0
A»
A, = ie =diag {A,}, je 1, +--+, m
0
nal A, (4.33a)
ov 0 0 A_|(N xN )
c (6)
0
by
be
Bee che b.. jie 4, . 1m
=diag?
Cc » J
j (4.33b)
0 b |(N xm)
m Cc
246 Transfer-Function Realizations
hig ee 1j 1m
2 Akuma 2\poteak vx nmap er
Gaal: je (4.338c)
§ it 1512 ij im
eke asi xN
“or oe ©3 earns)
uoT
where any ore = (65) is a (1 X 6j) row vector and N. = aH ee This reali-
zation may be proved to be controllable by extending (4.8) to multi-input/
multioutput systems; the method is illustrated below [6].
ms as Bes
(s-1)2 (8s-1)(s+3)
G(s) = (4.34)
4. 6 s-2
(s -1)(s + 3)? (s+3)2
il
(sje ; (s+ 3)?
£,(s) = DPE
a ERE
7 6 Be cian)
(s -1)(s+3)?
1 (s? +6s+9)
3 SE ; Ge, = Z!
4 a ies, td 1
s#+4s3-2s 12st+9 Dgeems
O-- a OP 0 0 9 6
Of) Ov aereeth Rs
ee nscale eo een
1 Or. OF “20h, at a of? F541 Ciesi.
\n.0
=9 412.) of 24 1 0 0
Thus
tier 218%
={9 6 1 OJ; Co, ~ (Be3] =(6 -6 0 0]
Nonminimal Realizations 247
1
SS +
(s -1)(s+3) ee
g3(s) = ees
ae (s - 1)(s +3)?
(s +3)? (s -2)(s - 1)
' st3
eee
$3+ 582 +3s-9 ;
62 i:=3
S3812
0 iL 0 0 3 2
ar, 22
Porefe, OF 0s als) ey 2 0 i Bso = 1 ;
? Bso =| - 3
9 -3 -5 1 0 1
Fa Sd : e220:
C19 [Bo] = [3 1 0); Coo [B59] = (20-3 1}
Om 104 On
1
fe ae gers
0! (4.35)
|
01
0 |
bi ae Ci "ers 9 126 [Link]
04 20
a 20 Perches col |6ece On.) 2 ort
= aL ! hs (el oS =
0” b;
1
1
1
1
I
!
g,(s)
G(s) = g (Ss)
g(9)
Let d'(s) be the monic lcm of the denominators of all the elements of any
ith row, and 6i be the degree of d4(s). Then any element 8ij(S) may be ex-
pressed as
eo nae ie
vs : +38 Te aes bays
g,,(8) = ey ic tnirtees (4.36)
1 OL
ij Fe
Y6i éi
vl at
a ae
y=] loixys at =| "| eixy (4.37)
ij i
v, a
000 90 io
6i
pa ere i ; P
A, = 10 0 a] (i X 6i)
ip er 3
1
Sey. GA PQS -a }
Nonminimal Realizations 249
ij : ial 12
b ij = fy aloe3 ices.
-@. bi ta Lys] ’ b 12 ae Ys] ? etc
te.
where, as before, es; is the unit column vector of dimension 6i for any i.
Therefore, if the realization above were extended to allic 1, ..., 2,
the observable realization of G(s) is obtained, which is given by
S(A, By Cy):
A, G- © ¢ 0
0 Ay 0 O 0
eae te, A, 0 = diag {A,}, i Gl 1 jens, 0 (40885)
0 0 0 0 Ay (Ny x N))
Py Die re Daan
Bai. [OC Way Oo Woy (4.38b)
fe) il i2 ij im
x
a Poe 0 Pini oe
a
“2
C, = 7 c, = diag
di te} ; Cc;ge
Ons diced
ic es Oate
: (4.38c)
cy (LX N))
ek
where each bi; = Ly] is a (6i X 1) column vector,
e, and N,
Be:ay [Link] The
£1 (S)
G(s) = (4.39)
82 (Ss)
250 Transfer-Function Realizations
of 1 if ic1 real
£1(s) ie-1)? (s aril (s =1)7('F3) [s ]
PS pS ate eZ
Ew moa cia a
3
ats
=
eg aie 3 “1
A, 1 0 5 Tha 1
|;° UG at 51
= Pere 3 =) es PY c [
=[0 0 a]
ed Wilgten! 0 6
a 6 s-2 = 1 a a hs
B2(s) = E(s -1)(s+3)° cane SSG? sg te ae.
al
Wesmneraeetg lO s*S3s+2]3 “62=93
On 50) 9 -6 2
21 vy)
A, a 1 O = -83 > Y59 ae 0 ’ Y59 Sat 3 f) co = i © 1 al,
Oa iee Ss 0 1
0 0 -3!
1
Ol oa 0
|
AG 0 Ondeet
IN Bin (ale oem ea eee
) @. A> OF 02 39
1
0 i eR O2=3
1
10 tf 95
3 -1
he, Vi 19 te Pe
ik | 12 Vet Net Oro
B
co)
—
b 5
=
yt ve
=
“6 8 (4.40)
%
Zee 22 62 62 aes
0 1
(which have orders Ze ONgOr = 6i) are unlikely to be minimal. If, however,
the unobservable modes in the controllable realization Sc(Ag, Be, Ce) [or the
uncontrollable modes in the observable realization Sg(Ag, By, Co)] are iden-
tified and removed, the resulting system can be made completely control-
lable and observable, and hence irreducible. This can be achieved by
applying the canonical transformations of Sec. 3.2 on either S,(Ag, Be, Ce)
or So(Ag, Bp, Co). Thus by using this two-stage procedure, an irreducible
realization of any rational G(s) may be obtained. This is illustrated below
[15].
Example 4.7: Irreducible realization of G(s)
Sel seissmale ab
ae s* %s
G(s) = 4 (4.41)
0 0 =
s
ii aba
, (e+ F role baloacs
= eo ; = 2
81 (8) = 32 . eo ais oe, gel gre 1
61 61-1
12 12
1 Sica! 1 Poo P5o-1
eck =) a ; =2
82(8) = & s*+a%s+ a3 22 | gee 2
62 62-1
13
1 P53
es : staj ge? ee
63
0 1a OD ertt
I 1
Ay 0 sal at | 0 0 01
eee ahem gn
Aas Ay = ano tal = 'O 11
I ! I 1
0 A; 0 | -a% -a7 10 0}
See ne pene es || ee ee eee ae ses
1-9} 0
0;
I
Di
b, 0 ao
AO = 0 0 0 5 B, = il 1 0 ; a = OIRO: i
ORO O Oy al
of order ngog < n. Detailed derivations (using Sec. 3.2) are left
to the reader.
where Cy and By are the normal forms of C and B, and A = diag {rx}
k=1, .-., n, are the roots of A; (4.44) may thus be expressed as
n G n
G(s) — Nis)
ats} _ k +D; :
L Tay d(s) & I (s - A) (4.45)
where
¥ T
GrEIG be (4.46)
Cnk is the kth column of cy, bar is the kth row of B,, and G, is of dimension
2 xm [same as G(s)]. The residue matrix G, in (4.46), being a vector outer
product, has rank 1 and can be derived by
G = lim (s - A,)G(s)
k s—),
with (4.47)
D= lim Gs)
s—oo
Once G,, ke 1, ..., n, are computed, cy, may be derived for an arbitrary
il 2 il
Shar Ab Jena st+4
& 1 iL
G(s) = 0 Per ad. (4.48)
1 2(st3
stl (st+1)(s+2)(s+3)
a
* An alternative method of deriving b ie and c Ae is given in Refs. 3 and 16.
254 Transfer-Function Realizations
2 iy 1
Similarly,
0 0 il
ih 0)
ono ik © @O- 2
IN = diag
7 = =o)
= = -3.-4 g BL = Me ad ike & Cc = OFT AOL (4549)
-
Fig. 4.4 Signal flow graph of full-order realization of (4.48); x,(t) does not
appear at the output.
Nonminimal Realizations 255
tO) 1
ya = di jag{~— =1,-2,-4}
= = 3 B=)= 06 1 6 ; Ch = 0
Ov: 1 1
1 1
(s+3)(st+4) st1
G(s) = (4.51)
: 0
st+3
The system has three poles at -1, -3, and -4. The residue matrices are
therefore
10
G,=G = lim (s + 3)G(s) 3
A= -3
s—-3 17 40
-1 0
Gz G._ = lim (s+ 4)G(s) =
Therefore,
al iL i at, if
al iT
Goes be = [O, ds. (G2 = ce be. = = i200
1 nl nl 0 0 0 2 n2 n2 1 0 1
-1 0 i!
Le
= — = =i) 0
CE kes !
256 Transfer-Function Realizations
x,(t)
Out
: ; Bey a ee A
ea diag {-1,-38,-4)3 Bobs bos uate {1.05.0 Fale aan Car
=) 0
linia?
oa ipa a
(4.52)
It has been shown earlier that for any m-input/-output nth-order system
S(A, B, C) with repeated eigenvalues, there exists a similarity transforma-
tion which yields the irreducible* form S(A, B, C) defined by
Thus if A has q distinct eigenvalues A1, A2, ..., Ak, .-., AQ, with any Ak
Bl
= =k anager ak ad
B=|B : PECL [ C : J px) ;
(4.54)
ad
(nXm)
where a (Ak, nk) is the Jordan block associated with the eigenvalue Ak in A,
kel, ..-, q, and has the form
J ak,nk) = |: (4.58)
Y OY O & Bebe
nk
SS ee
=k
jth column of C :
an £-column vector
and
q
n= y, nk (4. 56c)
k=1
q
G(s) = C(sI = A) 'B = Gis (ee G_( s) (4.57)
iXe
iia k=1
where G(s) is the transfer-function matrix of the kth subsystem 5.(J*- re cy
with 6{G,(s)} =nk. The derivations above show that the vector space x” is
the direct sum* of the q vectors xnl tenegs xnk o.+, x» 4. Thus the com=—
posite state vector
nq
x
according to the definition in Sec. 1.1.4, is the state vector of the composite
system S( - ) formed by the parallel connection of the subsystems Si.( =)
that is,
u(t) = u,(t)
q (4.58)
10) = AO!
al
*In the general definition, neither the subsystems Sk ( *) nor their direct
sum S(- ) need be in Jordan form. The transformation is used for compu-
tional convenience.
Irreducible Realizations 259
Jordan Block
(b)
we g (ai, n1) ae
xfeed hs aa nk) = +
Eyre
(oie Cre on on kee (4.59)
Thus once the transfer function G(s) for any subsystem and the associated
repeated pole Ak are identified, their state-space representations may be
derived independently. Another consequence of the above is that the direct
sum S(°) is controllable (observable) only if each of its constituent sub-
systems Sic( - ) is controllable (observable).
where L(s) and R(s) are unimodular matrices of dimensions £ X £ and m Xm,
respectively, and M(s) is the Smith-McMillan form of G(s) given by
(8) |
diag 3,8) | 0 |} a, 619, (s)}=nk
!
A(s) T(s)
Thus if LCi(s) denotes the jth column of L(s) and R's) the jth row of R(s) for
any jcl,..., £, for L(s) andj =1, ..., m for R(s), then (4.61) becomes
G(s) = L(s)[A(S)]IF(s)]"
Rls) = {Ls }[diag {y, (s) Hldiag{ o, (8) 7 {Rs}
1
= 1L aca (5),(8)> <(5)
Sh) R rj “(s) (4.62)
where
Op tiore is GI Ae oe al
k
o, (s)
J a ore Tp (Cle ID Goo, sail
Consequently,
and since there is only one pole Ak associated with any o;x(s), ke 1, 2,.-.,q,
nk
(3) 9, (8) = (S - Ak) (4.64)
L(s)y,,
(8) (s)
G(s) = d eee |
qd Ly (s)R'(s)
= ey Swed, (ey0 (4.65)
. , L1(syR™(s)
ee ne)
where
=—Cj Yj
L ‘(s)R_ “(s)
G(s) = fork=j=1, 2, --., q (4.66
i! ) $,,(8) J )
ee: 0 (s - ARE s - Ak
$,.(8)
0 0 (eile
1
s -Ak
= mC [ia oak >-:-g-ak 1] | een
(s - Ak)
Since
Ss -Ak
k
L(syR"(s) = $,,(8)G,(s) = C eae a eek
eae
row matrix
nk-1
(S - Ak) (4.69)
Se Nai a
column matrix
7L“(s)=C
Cj 2 . img ‘
(Aah ey eeae (4. 70a)
and
since Si (Ik, By, GC.) kel, 2, ..., q, are assumed to be controllable and
observable, the derivation above provides a procedure for irreducible reali-
zation of a given G(s). A few illustrative examples are given below to high-
light the main features of this procedure [15, 18].
s?-s4+1 il Streea9)
i
G(s) = a 1.5s+1 sal -1.5s-2 (4.71)
The degree of G(s) can be seen to be 8, and hence the order of irreducible
realization (nyjn) is 8-
1
a4 0 0
Mis)=| 0 G1 0
GaaGr pie
s
iL 0 0
L(s) = }1+s il 0
f t
Therefore,
iL
s
Ciel
J ee oe 52 [s? s* sel] = BE
a3
=3 1
34 isz 3 s2 a2 4s) 68Al (4.72)
i RB 4s)
p01 (gy P28)
1 1
where Phe (s) and Ro (s) are the first column and the first row of L(s) and
R(s), respectively, and
Aloe
C {eis}
(4.73)
BPl — 1
tb;
Irreducible Realizations 265
1 1 1 1 1
Ci, C2 «C3 Cg 1
1 1 1 1 SH) cls ks
Ca C22 23 S2ay | i} ~ L (s)=|1*s
1 1 1 1 Ss : 2
Cay Co2 mecosmences 1-s
1t0°
TIO: REO
Chena
hh. 0" 0
Similarly,
bh bi, bi;
Bere: bau bee bes —[s7—se
3 2 tl 3 2
[SwtSacSeel
‘bh bh bls 1 st s45= 2]
bar Ba bg
which yields
ib Oy il
= -l oO 1
S oO, OQ, @
ed ey
at
= _ = r2
([O4le | =i (s) and [s? | 1B¢] = R -()
a2
giving
ch Ch, Chs a a8
Coe Weee mec C5.) le 90 40
Cone eeaChs ET)
266 Transfer-Function Realizations
Sh eee on aolting
Bai=| bee beibsa ha L 20 eek
be bs cbs; 0.5550" 7005
Ca 0
C3 =| c3,|= |] 0} and 5 = [b3, bj, b7,) = [9 0 -9]
ea; 1
OS —1e O20
|
(ete oe1 5
Oer0e On ele
i
‘ 02) 0» 20.7 8047
A = diag {J"(ak,nk)} = |~-tono Whe aie tod (4.74a)
| I
|i I
; |0 0 .
eee ei
a ee calcao
1 0
1 OF a1
1 0 i
<3 0 0 0
B!
ae he iL do Wee
B =| B2]= (4.74b)
:
B
0 0 0
1 Oe H1
=(.5) 1 Omen OLD
9 0 -9
Irreducible Realizations 267
i (s+ 1)(s+3)
(s+ 1)? (s +1)?
G(s) = (4.75)
s(s+3) s(st3) Ss
(s+1)3 (s+1)2 ~ (s+2)2
st3
eo (s+ 1p 0 ibe» Baral+
G(s)=
s
ye Gh 0 (s+ 2)2
Sa 0 =
1
1
ei| cal Bak eee non BEDS eB ee
(s+ 1)? Gt, + Ohj(sit 1) cp,(8+ 1)7 s(s+8)
and
rl
[(s+1)? s+1 1]B! = R (s)
= [6*1)*bint (8 ti)by + bi. 1(6+ 1)7bi, > (8+ 1b, + biol = (hi Sail
As can be seen, solutions for the elements of C! and B! may not be easy to
obtain without the aid of any numerical algorithm. The solutions for this
case are
: Zwei "0 a
Coe eile ee | aes
0
Block 2: The input/output matrices are derived as above:
Seis? (et
Ons Ali 0
Deiat Ole nye = 0 0 ani (4. 76a)
Bass;TL eete i
1
10 22
0 0
re Ome
ge Lo pe ee (4. 76b)
Be ihoa
0 0
oe Oo Ops OneekO
C.=afes Cs] '= (4. 76c)
—2 1
Irreducible Realizations 269
For the given system 6{G(s)} = 5 =6{I(s)} =myjin, and therefore the
realization above is minimal.
The realization procedure in the preceding section, while simple and fairly
convenient for hard calculations, has the limitation that any denominator
polynomial ¢;(s) should contain only one root. The concept of this special
case is extended below to remove any structural constraint on the Smith-
McMillan form of a proper rational G(s). The derivation of a generalized
irreducible algorithm uses the rather complex modulo theory of modern
algebra.* For the sake of brevity, only the definition of modulo and the
basic equations for realization are given, without any detailed derivation
of the abstract theory.
Definition 4.2: Modulo Two polynomials @ = a(s) and B = f(s) are
said to be congruent modulo the polynomial ¢ = ¢(s) [written as
a@ = £ (mod ¢)] if a and 8 have the same remainder after division by ¢.
0 il 0
: 0 iors yO
aan hae ae (4.77)
-a ~a a
ni-1
ni i ni-1 i ni-2 i
@(8)
"= 8) Oe s ae i ge eae
i ni-1 ni-2
It can then be easily shown that for any ni < n (= the order of A) [18]
il
s me = Ss eee
adj [sI-A,] f [Y9(s) 7,(S) Vane
° See
ni-1 (aie)
Ss
0 0 0 oO
al 0 Q ©
- $; (8) 2 1 pen (ni - 1) (4.78)
(ni - 1)
ni-1-k ni-2-k
7,8) = s + Ce eee f as + we : eSE Wy dbp eee, ,ni-1
DI-
a
The transfer function G;(s) of the ith subsystem 8(A;, B C.) may therefore
be expressed as
Irreducible Realizations PU(AL
or
v,(s)
G(s) = L.(8) R,(s)5 iel,...,q [qas in (4.61)] (4.80)
x)
where Iss is a column matrix and Rj (s) is a row matrix. By the definition
of modulo, then from (4.80),
be
o,G, = L. 1 (=) Re (mod $,) (4.81)
1
ip
A g c
C.\>, = L, (s)¥,(s) (mod ¢,) (4.83 a)
ni-1
Ss
= (¢ ae
{¢G.+ = 1L,(s)}Ho,M, HR, (s)} (mod ¢.)
or
oG = L{pM]R (mod ¢)
Il L[{M']R (mod ¢) Reels
which is consistent, since M is the Smith-Mc Millan form of G if ¢ is
assumed to be the least common multiplier of all the denominators of M
[i-e., if d(s) is the pole polynomial of G(s) or the minimal polynomial of A].
The significance of (4.83) is that while G is equivalent to its Smith-
McMillan form M, $G is equivalent to 6M, where $M is obtained by replac-
ing the numerator of each element of M by its remainder after division by
the corresponding denominator. This follows from the definition of modulo,
a further interpretation of which is as follows: If a/f is any quotient of
polynomials with 6 dividing $, then the remainder after dividing $(a/£)
by ¢ is just ¢(a@'/f), where a' is the remainder after dividing a by B.
A comparison of the results above and the derivation of the repeated-
eigenvalue case would suggest that the use of (4.83) stems from the need of
establishing a conceptually simple mechanism of obtaining the inverse of
(sI - A), where A = diag {A;}, A; being in companion form. As a consequence,
the resulting realization represents ¢(s)M(s), which by Definition 4.3 is
equivalent to M(s) and hence is equivalent to a realization of G(s). This
method of realization is illustrated below [18]. The order of minimal reali-
zation in this case is
q q
= ); 6{¢,(s)} = 2, ni
eal =a
it 2s-1 s-l
s(st 2) S(st 2) s(s+ 2)
G(s) = 1 Pa 1 (4. 84)
G(s) = 0 2 1 (4.85)
ae 0 Ae ear hh 0
—— | 94 Sst 2
a
eS ee
L(s) M(s) R(s)
From (4.83),
where
il
s*+2s :
[¢(s)M(s)] = (4.87)
0 -3s -2
s*+3s+2
(It can be seen that (4.87) represents the proper part of M(s)—which provides
another way of deriving [¢(s)M(s)])-
and as the ) System in (4.84) has three inputs and two outputs, the corre-
sponding B! and C! may be assumed to be
re eal 3 1
= L,%,(s) (mod ¢,) = [1]
1 1 :
ale Mardi 5
274 Transfer-Function Realizations
Also,
where
bh biz bis]
[s3n2) ly =o 2s si1}
ba bz. bag
which gives
B, =
1 -5 -3
0 1
oy =
-2 -3
and let
Gh Pes id. 0
c
(1) = L2%2(s) (mod $2) = [-3s ) =2]
Con Cec hs sf
which gives
OO
C, =]
-2 -3
=
n2-1-k +
2) n2-2-k + e058 4
2
Yas Snteick: etd
Therefore, for n2=2, andk=0, ... n2-1=0, 1
bf, bi, by
[s+3 1] = | 2. aly
ba bg be
giving
® @
B, =
Omer Ze el!
This completes the computation since the third column of [p(s)M(s)] is null.
The complete irreducible realization of G(s) in (4.84) is therefore S(A, B,C),
where
I
1
;
A= | eee 4-------
|
!
(4. 89a)
:
|
!
!
276 Transfer-Function Realizations
Od 2a
B, 1) =a <3
B an (Onn +0 fee)
tr = = e 89b
B,
ie ea
where u(s) is the m-input control, y(s) is the £-output variable, and N(s)
and D(s) are polynomial matrices of appropriate dimensions, respectively.
Furthermore, a realization procedure for (4.90a) provides an alternative
method when the available system description is in one of the two forms*
N(s)[D_ (s)]7u(s)
y(s) = (4.90b)
[D {s)]'N (s)als)
where N(s) and D(s) are relatively prime and 6{N(s)} 4 6{D(s)} in each
case. The realization methods from this matrix-fraction description of
multivariable systems are based on some basic relationships that may be
derived from the results of rational matrices outlined in Sec. 1.5; these
are considered in the following section. The subsequent sections use these
results to develop methods of obtaining canonical-form realizations from a
given description of the form in (4.90).
dri-1
(1) Ty diag ALOE ASO IESmee i L..
1
dei s
where the constant square matrices I and L have the following dimensions:
Ty, Fe: (m X m) and nonsingular; Ly: (2 dri x = dri); and Le(z dej x 2 dej)—
dri and dej being the highest degrees in any ith row (i € 1,.-.,m) and jth
column (j € 1,...,m) of D(s). The structure of the various diagonal matrices
is
dri
s
d dri
diag{s"" } = ae
drm
Ss
tne se
del
s
. e d .
digeteuunh = gd
dem
s
1 I
|
!
Ss !
1
1
1
1
I
!
del :
ehbes
— 1
ea
1 1
I1
over
diag/s \ = ai = ¥,(8)
ee asl
:
er
1 dej |
Seo (eae |
sie as
11
1
1
|s
es
1
1
i}
1
|
l
| dem
is
Proof: Since any given N(s) may be made to be row or column proper
through elementary row or column operation:
where U;(s) and U,(s) are unimodular matrices; proof of the theorem then
follows directly if the matrices L,.(s) in (1.107) and L,(s) in (1.105) are
expressed as
dri-1 =
(1)iDY 1GL(s) ==diag
di {1,s,...,
ene }L, ==$,(s)L,, (4.93)
C
i
where L and L are
" s x 18 €
(2) L,() = L, diag : = L¥,8) constant matrices
ct (4.94)
Since L,(s) and L,(s) consists of lower-order terms (i-e., terms of power
less than dri and dcj, respectively, for any i,j), it is only necessary to
show that they can be broken into forms as in (4.93) and (4.94). Since the
rows or columns of N(s) can be rearranged such that dci> +++ > dcj > +:
> dem, or dri>-°:: > dri> drm, this follows directly from (1.104) and the
structure of ¢,(s) and y;(s)-.
An example of this representation is given below.
(s+2)*(st1) s*1
D(s) = (4.95)
0 (s+ 1)?
Ae ad,
8
tS LO 18° 2 OUD Ve ase Bele 340 :
<> (peasnea Bae A Se Uo ee pa a eae 5 00 (4.96)
Os babe Os tn. oat 0000. OMT se puree
—— NY oi Le an
SS ee
a 0 2
iP diag {s} p(s) bia
ig
ea)
1
s_i0
s° 1 0 re) Ams! Mapalele ht a2 ie
Si esac teae --+-- + (4.97)
0 «| gt{lo t1 0M 0 1 2ifo ja
—~ —~ <<
a a s
igo ngCc L Cc :
p (s)
280 Transfer-Function Realizations
s m
p(s) = diag ( . — dimension » nj Xm
: a
nj-l
£ £ : m m
12R yy) nix 23 Q: >) nix ms iP ims nj; Q: ox) nj
i=1 i=1 j=1 j=l
Proof: Part (1). Let g;(s) be the monic least common multiple of the
denominators of all the elements in the ith row of Ggp(s)- Then
Realization from Matrix Fractions 281
G =
g._il (Ss) ;
g..(s)
ij
[Link] (s) ;
sp) ~| 8.6) Bg 88) oe
Since ni is the degree of g;(s), then 6 {g;(s)} = ni > 6{8,;(s)} for any
ici, ..., £2. Let A(s) be the diagonal matrix defined as
mi. i ni-1 i
g.(s) =
=s +
+*p,s8 + eee +
Pai (4.102)
°
G(s) == [A(s)]7!G(s)
-14 (4.103)
where G(s) = {8;;(s)}- Bovianyie 1 se ee lee jl sla, cys LOL 8i(S) have
the form
a ij_ni-1 ij_ni-2 : ij
8,,(8) = a, a qd, 8 ae zip qi (4.104 )
From (4.102) and (4.104), the denominator and the numerators of the ele-
ments of Gep(S) may be expressed as
282 Transfer-Function Realizations
Phi
i
gis) Sse
ni se PlLasiere Ss
niet, ] |Bit (nix1) =s
ni ay
+ Y (S)P
ei (4.105)
— eT
(1 X ni) i
Py
eeA ao ogy, UB aIKe
aly coGcy ial
ij
thi
ij
»
gj) =[Ls8,--.8
ni-n| ]] it ee
(niX 1) = v(s)a” (4.106)
— .
(1 X ni) ij
1
where ve is a row vector and p and q’ are column vectors of dimensions
as indicated. Combining (4.102) and (4.103), we have
v(8) = , 2 rows
Realization from Matrix Fractions 283
2 columns
1
Pai
1
0
Entci
il
Pi
i
Phi
i
a Pp. ;
Ns ni-1 > ni rows
i
Py
2g
Pre
g
0
Pro-1
g
Py
igs Rat i
a diag (Pap Paiv tt Pyh Le iE Cis aT g
G = d(s)@ (4.108)
id Bare
1) oo5 GG
1m
nl 1
11 1j 1m
ay 1 rey
il ij im
Sai os Gi
ij ; ; :
Q={q'}=| : : > ni rows
il ij im
qy creas aie kal
or Qj gm
n Te 7°" Ine
21 Qj fm
G49 eee qa, 1
m columns
G.(6) = Gis){Ats)17
where
i eS perlnees
(s+ 1)?(s+ 2)? (s+ 2)?
G(s)= (4.110)
1 1
~ (s* 2)? ~ (8*2)?
(1) Left matrix-fraction description (4.98):
s*+6s3+ 138s?+12s+4 0
D ,(s) =
0 s*+4s+4
s# 0 6s? +13s2+12s+4 0
= +
0 s2 0 4s+4
Therefore,
3? 0
P(e) <=
0 s?
and, consequently,
ml 6 BF ee og ©
yw (s)= (4.111a)
le ie 0-00-10
t -8
giving
286 Transfer-Function Realizations
Ae x)
12 0
0 4
SS’
P
and
i a
-1 -1
0 @
ed
Q
(2) Right matrix-fraction description (4.99):
ee 0 0 (s+1)*(s+2)
G(s) = N (s)[D_(s)I"? =
-1 s|\(s+2)? st2
0 s? +452+5s+2
DAs) =
s*+4s+4 Sar
s? 0 0 1 0 4s2+5s+2
= +
0 s4ii 1 0 4s+4 s+2
—_—_—
Te
where
and
Realization from Matrix Fractions 287
TOO
s 0
wy (s) =| s? 0 (4.112a)
Ont
0 s
giving
ae 0)
and
10 70
1” 30 LONG .0) wl oe =
N (8) = et = pe a BC s* 0 (4.112c)
il
SE Setel ee
Q 0 s
which represent the same system with different numbering of the input/
output terminals. The derivations above and the results in Secs. 4.2.2 and
4.2.3 are used in the following sections to develop observable and control-
lable canonical-form realization methods.
By extending the results in Sec. 3.2, it can be shown that if the output matrix
of a purely dynamic m-input/£-output nth-order system S(A, B, a has full
rank, it can be transformed into an observable canonical form §0 (AG, 1g Co)
288 Transfer-Function Realizations
Aoad Ajo0 ae
A, = || o n rows (4.118a)
ofl A599 : ol
a
te
n columns
ni
i
ee ae estes
a 0 1 Susie 0 i
A...
Oll
= 5
Pri-g ni rows (4.113b)
0 0 eee 1 “Pi
See age Oe
ni columns
Se eee
nj columns
The observable companion matrix Aoi has 1's occupying positions below
the diagonal elements and the last (ni)th column equal to some nonzero
column vector. Elements of this column vector constitute the characteristic
Realization from Matrix Fractions 289
k
a0 =03; . ak = >; Td ee KenPl 2 move ore
i=1
that is,
Q@L=nlt+n2+-++- +nl=n
|
Oven 0 x 0 0 x
it 0 0 x 0 0 x
0 8 1 XxX 0 0 x
eS — ee
ni nj
290 Transfer-Function Realizations
O20 0 0 PW 0
0 0 -:- 0 0 @) goo i, ooo |)
Cris e Q (4.115)
(0) °
0 0 oe 0 0 0 eee 0 0 eee 1
SS eee Se
By direct multiplication and using Theorem 4.5, the right-hand side of the
equation above becomes
Realization from Matrix Fractions 291
»_(s)Ist-
A] = diag {1,s,.. onan
~An ot “Aa 00 Be ra
8, (s) 0 0
le
=) % g,(s) 0 = A(s) (4.119)
0 0 8 ,(s)
x Sarees x
: ; x Pal el x
died cee enGlag 1-3) sneee ieblh. }C, (4.120)
Sk apo
Sg
2 nonzero columns of Ay
ae ini-l i ni-2 i
= diag {s™cles diag {-p,s - p,s Sete (4.121)
= diag {8,(s) } ree eee
=9/s(8)
D(s) N(s)
is 89(Ao, Bos Ce); where the columns of the = ni x £ matrix P form the £
nonzero columns of the > ni-square matrix Agi Bo = Q and On consists of
292 Transfer-Function Realizations
k :
£ rows with 1's in any (ak)th element (ak = Zay Timp, Iu, Ba ooo, L2) hae!
all other elements in Cs are 0. The order of realization is 2 ni, ic l,..., &,
where ni is the degree of the least common multiplier of the elements of the
ith row of the polynomial matrix D(s)
U ,(s)D(s)y(s) = U,(s)N(s)u(s) —
D,(s) N,(s)
-s 1
Ue) =
1 0
giving
0 s*+6 i gs
D,(s) = and N,(s) = (4.125)
s*+3st1 2s+3 il 0
Step 2—Transformation of (4.125) into a form such that the elements
with highest degrees are in the principal diagonal positions: This is
*A system with strictly proper G(s) [6{D(s)} > 6{N(s)}] is considered here
to demonstrate the applicability of (4.117). Although Theorem 4.6 may be
extended to proper G(s) [24], such an extension is not essential, since in
any numerical algorithm the strictly proper part of G(s) may be easily iso-
lated from any given form. A method of checking the strict properness of
[D(s)]~*N(s) is given in step 9.
Realization from Matrix Fractions 293
D,(s) No(s)
0 1
kKe=
es 0
giving
s2+6 0 C3} il
DS 7) |Ngis)= (4.127)
28s+3 s?+3st+1 0 1
-6 0
s2 0 1 s 0 0 0 0
0 s? Gene ieee Ea
—\— -2 -3
I(s) (8) 5 p a
Gui == yonth = 74
a2 =nltn2 =4
first second
column element
a1=2
|
" 0 il 0 0 f 1 0
C. = = C, =
0 0 0 1 0 i
t
=o.
a2=4
second fourth
column element
Step 7—Formulation of Bi
1
: 3 0
Poe a
0 0
Step 8—Formulation of A
1
=s o|fs+3s 1 0 0
oe = 4.129
shew | ok 0 0
S—co 1 ( . )
Cie KC | = (4.1380)
(4.131)
A
Set Poond cmm
ee
n columns
tt 9 0 0 O > 0
— |X x x ° Xx — |X x oS
nj ni
where X denotes a nonzero element. That is, Aci is a (nj X nj) companion
matrix with 1's occupying positions above the diagonal elements, and the
last [i-e., (nj)th] row equal to some nonzero row vector. For i # j, Koi is
an (nj X ni) matrix whose last row is nonzero and all of whose other rows
are null. As earlier, let
k
Be) bj, Ke 12, een (4.135)
jet
The input matrix here has the form
i) coo
O «++ Q
O err 0
a 0 4
oe 2 nj =n (4.136)
1 - 0
Om 0
WU). Dw sal
eta
Realization from Matrix Fractions 297
C(sI - A)-!B = G.
(8) = 6 vy(SIF) isA? (SB, (4.137)
—_— °
N(s)
a
[D(s)]™
in 8BAe Bo cy where the columns of the m Xx - nj matrix P form the m
nonzero Eeturats of the 2 nj-square matrix As; 78), B. consists of the
m rows with 1's in any Bkth element (Bk = fsiMjy Is @ ily boop aM), eitoel gull
a0 0 -(¢+48%+5s+2) {7}
N(s)[D(s)]~? = (4.139)
-s s7||s*+4s+4 st+2
N,(s) D,(s)
Oe
L= [D,(s) = D(s) in this case]
-1 O
Su
0 s||s?+4s2+5s+2 0
N,(s)L[D,(s)L]7* = (4.140)
ee soo Ss -(S+2) s*+45+4
N,(s D,(s — NS ee
o(S) o(S) N,(s) D,(s)
i 2.0
ae 0 3? 2A 80 eed ; .
—\ —_~
I(s) P 0 s
S_Sm’
Realization from Matrix Fractions 299
1 0
OL kM Ol cde all on ae
N,(s) = Sse 0
Onno te Oe Cee
Q 0 s
SS’
v(Ss)
Step 6—Computation of 8k, k € 1, 2, and formulation of B
BY =e= 6
pg2 =nl+n2
=5
0 0
& ait if
Bors Md vO C103 Sine Bie
Cc m 0
second fifth
column row
1 0 0 | — **
!
i]
Obs
On gO Omer OUhistae
A Sala EE I x x | ——first row ofP
A = if
i] (4.141a)
CGC 3 | ---------- SaaS
C= 00 708 Lola
i
a Ce | x x |+——<second row of P
BE Se
Oo Oo Ff OO fC
=|-2 -5 -4 0 0
0 OO @ —© al
2 1 0-4 +
0 s ||s3 0 0
eee ~ (4.141b)
s—oo 32 -Ss 1 0 0
UE ar}
s
0
0
B =BL=|0 -1 (4.141¢)
0
1
Clery = |. (4.141d)
VON
min
5{G(s)}
2 614,(s)}
Realization from Matrix Fractions 301
De = p(M)
p(M
CB CAB CA2B
|CAB CA2B CA3B
SS 1 ayCave ewevista Maral Kas moe
REFERENCES
22. Wolovich, W. A., "On the numerators and zeros of rational transfer
matrices," Trans. IEEE, AC-18: 544-546 (1978).
23. Wolovich, W. A., "The determination of state-space representation of
linear multivariable systems,'' Automatica, 9: 97-106 (1973).
24. Wolovich, W. A., Linear Multivariable Systems, Springer-Verlag,
New York, 1974.
25. Silverman, L. M., "Realization of linear dynamical systems," Trans.
IEEE, AC-16: 554-567 (1971).
oa
»<
<i ’
a aua .
ij Hh 7
~~
?
-_ 7
: — ye ‘4 7 “ =a “ oceania! 11 oreaeniay! nye |
7 — -
s ta ,
> © ' . iL’ i
- r at ay PEL ET? 1
é
He ely
{ j me Te? ¢ Ret. S
® ’
v ‘ =|
- ry % b, 7 . = co]
itt '
j a) A Sim an |
ul ) be ° irs “mi! “A ’ of iy 6 @ip toi wal ~
A s iP Ls M
ne : ia? Wicreli exclauy ooruedliae
‘ > OTS (i nee
} 5 i ai f ares Liisa
, ‘a LP ig en
Pe, | —
ae
re