Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Module 7
Lecture 2
In this lecture we will discuss about the relation between transfer function and state space
model for a discrete time system and various standard or canonical state variable models.
(1)
Y (z)
= C(zI A)1 B + D
U (z)
(2)
I. Kar
Digital Control
Module 7
Lecture 2
We have seen that transform domain analysis of a digital control system yields a transfer function
of the following form.
G(z) =
Y (z)
0 z m + 1 z m1 + . . . + m
=
U (z)
z n + 1 z n1 + . . . + n
mn
(3)
Various canonical state variable models can be derived from the above transfer function model.
2.1
Consider the transfer function as given in Eqn. (3). Without loss of generality, let us consider
the case when m = n. Let
1
X(z)
= n
n1
U (z)
z + 1 z
+ . . . + n
In time domain, the above equation may be written as
x(k + n) + 1 x(k + n 1) + . . . + n x(k) = u(k)
Y (z) = 0 z n + 1 z n1 + . . . + n X(z)
or in time domain as
= x2 (k)
= x3 (k)
.
= ..
= n x1 (k) n1 x2 (k) . . . 1 xn (k) + u(k)
I. Kar
(4)
Digital Control
Module 7
0
u(k)
...
...
xn
Lecture 2
xn1
...
y(k)
+
n1
x2
z
x1 = x(k)
z
...
n1
...
0
0
..
.
1
0
..
.
0
1
..
.
...
...
0
0
..
.
A=
.
.
.
0
0
0
... 1
n n1 n2 . . . 1
C = [n n 0 n1 n1 0 . . . 1 1 0 ]
2.2
0
0
B = 0
..
.
1
D = 0
or,
or,
z n + 1 z n1 + . . . + n Y (z) = 0 z n + 1 z n1 + . . . + n U (z)
z n [Y (z) 0 U (z)] + z n1 [1 Y (z) 1 U (z)] + . . . + [n Y (z) n U (z)] = 0
Y (z) = 0 U (z) z 1 [1 Y (z) 1 U (z)] . . . z n [n Y (z) n U (z)]
The corresponding block diagram is shown in Figure 2. Choosing the outputs of the delay blocks
I. Kar
Digital Control
Module 7
Lecture 2
u(k)
n1
n
x1
+
-
...
n1
...
1
x2
...
0
xn
+
-
y(k)
0 0 0 . . . 0 n
n
n 0
1 0 0 . . . 0 n1
n1 n1 0
0 1 0 . . . 0 n2
A=
B=
..
.. .. ..
..
.
. . . . . . .
1 1 0
0 0 0 . . . 1 1
2.3
C = [0 0 . . . 1] D = 0
Duality
In previous two sections we observed that the system matrix A in observable canonical form is
transpose of the system matrix in controllable canonical form. Similarly, control matrix B in
observable canonical form is transpose of output matrix C in controllable canonical form. So also
output matrix C in observable canonical form is transpose of control matrix B in controllable
canonical form.
I. Kar
Digital Control
2.4
Module 7
Lecture 2
In Jordan canonical form, the system matrix A represents a diagonal matrix for distinct poles
which basically form the diagonal elements of A.
Assume that z = i , i = 1, 2, . . . , n are the distinct poles of the given transfer function
(3). Then partial fraction expansion of the transfer function yields
1 z n1 + 2 z n2 + . . . + n
Y (z)
= 0 +
U (z)
z n + 1 z n1 + . . . + n
1 z n1 + 2 z n2 + . . . + n
= 0 +
(z 1 )(z 2 ) . . . (z n )
r1
r2
rn
= 0 +
+
+ ... +
z 1 z 2
z n
(5)
u(k)
Z 1
x1 (k)
y(k)
r1
+
Z 1
x2 (k)
r2
+
Z 1
xn (k)
rn
I. Kar
Digital Control
Module 7
1 0 0
0 2 0
A = 0 0 3
..
..
..
.
.
.
0 0 0
0
0
..
... .
. . . n
...
...
...
1
1
B = ..
.
1
Lecture 2
C = [r1 r2 . . . rn ] D = 0
When the matrix A has repeated eigenvalues, it cannot be expressed in a proper diagonal form.
However, it can be expressed in a Jordan canonical form which is nearly a diagonal matrix. Let
us consider that the system has eigenvalues, 1 , 1 , 2 and 3 . In that case, A matrix in Jordan
canonical form will be
1 1 0 0
0 1 0 0
A=
0 0 2 0
0 0 0 3
1. The diagonal elements of the matrix A are eigenvalues of the same.
2. The elements below the principal diagonal are zero.
3. Some of the elements just above the principal diagonal are one.
4. The matrix can be divided into a number of blocks, called Jordan blocks, along the
diagonal. Each block depends on the multiplicity of the eigenvalue associated with it. For
example Jordan block associated with a eigenvalue z1 of multiplicity 4 can be written as
z1 1 0 0
0 z1 1 0
A=
0 0 z1 1
0 0 0 z1
Example: Consider the following discrete transfer function.
0.17z + 0.04
z 2 1.1z + 0.24
Find out the state variable model in 3 different canonical forms.
G(z) =
Solution:
The state variable model in controllable canonical form can directly be derived from the
transfer function, where the A, B, C and D matrices are as follows:
0
0
1
, C = 0.04 0.17 , D = 0
, B=
A=
1
0.24 1.1
The matrices in state model corresponding to observable canonical form are obtained as,
0.04
0 0.24
, C= 0 1 , D=0
, B=
A=
0.17
1 1.1
I. Kar
Digital Control
Module 7
Lecture 2
To find out the state model in Jordan canonical form, we need to fact expand the transfer
function using partial fraction, as
0.352
0.182
0.17z + 0.04
=
+
1.1z + 0.24
z 0.8 z 0.3
Thus the A, B, C and D matrices will be:
1
0.8 0
, C = 0.352 0.182 , D = 0
, B=
A=
1
0 0.3
G(z) =
I. Kar
z2