State-Space Formulation



State-Space Realization

Equivalent state equations

• For the system below:

x’(t) = A x(t) + B u(t)

y(t) = C x(t) + D u(t)

x1’ = -4x1 + x2 – 4u(t)

x2’ = -3x1 + 2u(t)

y = x1 + 3u(t)

[pic]

• If we switch the state variables we have:

x1’ = -3x2 + 2u(t)

x2’ = x1 – 4x2 – 4u(t)

y = x2 + 3u(t)

[pic]

• Since the two sets of equations describe the same system, they must be both mathematically equivalent (algebraic equivalence).

• The following transformation is equivalent if P is a nonsingular matrix and

x(t) = P x(t):

[pic]

• Example:

[pic]

x1’ = - x1 + 6u(t)

x2’ = - 3 x2 – 14 u(t)

y = 0.5 x1 + 0.5 x2 + 3 u(t)

##: This is a simpler system, but how can we find P

• Matrix diagonalization (Chapter 3, p. 55):

o If the columns of a matrix Q (= P-1) are the eigenvectors of A, the following transformation will result a diagonal matrix. Namely,

[pic]

o Q-1A Q is called similarity transformation if Q is formed by a set of basis (text p. 53).

o Find the eigenvalues:

[pic]

o Find the eigenvector matrix and perform the transformation:

[pic]

o As a result, a much simpler equivalent can be obtained using the eigenvector matrix.

o If the system has repeated eigenvalues, the resulting transformation will have the Jordan form—upper triangular and block diagonal (text p. 59-61).

o If the system has complex eigenvalues, the resulting transformation will have imaginary numbers on the diagonal. To avoid imaginary entries another transformation can be performed:

[pic]

[pic]

o This is called the modal form of the matrix.

o The two transforms can be combined to: P-1 = [q1 Re(q2) Im(q2)]

[pic]

• All properties of a state equation are preserved under any equivalence transformation.

• Two state equations are zero-state equivalent if they have the same transfer matrix:

• Or:

• Algebraic equivalence implies zero-state equivalence but the reverse is not necessarily true.

• Algebraic equivalence requires the state equations to be the same dimension but zero-state equivalence does not.

• Magnitude scaling: For real circuits we need to consider the maximum signal levels, which are in general limited by the DC supplies.

• To avoid overdriving the circuits we need an equivalence transformation so that:

o |xi(t)| ( |yi(t)| ( M where M is the signal limit.

o Use the original equation to find the range of the input to achieve |yi(t)| ( M

o The same transformation can also be used to amplify some state variables that are too small to observe.

• Example 4.5 (p. 99)

Realization: To find a state-space equation from a transfer matrix

• Proper rational functions: g(s) = N(s) / D(s) where N(s) and D(s) are polynomials of s. g(s) is proper if the degree of D(s) is greater than or equal to the degree of N(s). g(s) is strictly proper if the degree of D(s) is greater than the degree of N(s).

• G(s) is a proper matrix if every entry of G(s) is proper or if G(() is a zero or constant matrix. It is a strictly proper matrix if every entry of G(s) is strictly proper or if G(() is a zero matrix.

• A transfer matrix G(s) is realizable if it is a proper rational matrix.

• Controllable canonical form realization:

o For a transfer matrix G(s) with order (q ( p), decompose it into a constant matrix G(() = D and a strictly proper matrix Gsp(s): G(s) = G(() + Gsp(s)

Example: q = p = 2

[pic]

o Find the d(s) = LCD of Gsp(s) and make sure that d(s) is a monic polynomial (leading coefficient = 1): d(s) = sr + (1sr-1 + … + (r-1s + (r

Example:

d(s) = (s + 1) (s + 2) = s2 + 3s + 2

( (1= 3, (2= 2, and r = 2.

o Factor the LCD: Gsp(s) = [1/ d(s)] [N1sr-1 + N2sr-2 + … + Nr-1s + Nr]

Example:

[pic]

o The state matrices are:

[pic]

Example:

[pic]

o Special case: p = 1

For r = 4 and q = 2.

[pic]

Example: q = 2, p = 1, and r = 1

[pic]

o Realization by columns: Realize each column using the above steps and combine the columns to form a complete realization.

Example: From previous example:

[pic]

First column:

[pic]

[pic]

Second column:

[pic]

[pic]

Combine the columns: (Simpler realization)

[pic]

• Observable canonical form realization:

o For a transfer matrix G(s) with order (q ( p), decompose it into a constant matrix G(() = D and a strictly proper matrix Gsp(s): G(s) = G(() + Gsp(s)

Example: q = p = 2

[pic]

o Find the d(s) = LCD of Gsp(s)and make sure that d(s) is a monic polynomial (leading coefficient = 1): d(s) = sr + (1sr-1 + … + (r-1s + (r

Example:

d(s) = (s + 1) (s + 2) = s2 + 3s + 2

( (1= 3, (2= 2, and r = 2.

o Gsp(s) = [1/ d(s)] [N1sr-1 + N2sr-2 + … + Nr-1s + Nr]

Example:

[pic]The state matrices are:

[pic]

Example:

[pic]

o Special case: q = 1

For r = 4 and p = 2.

[pic]Example: q = 1, p = 2, and r = 1

[pic]

o Realization by rows: Realize each row using the above steps and combine the columns to form a complete realization.

Example:

From previous example:

[pic]

First row:

[pic]

[pic]

Second row:

[pic]

[pic]

o Combine the rows: (Simpler realization)

[pic]

MatLab Tutorials:



Please print out the following two parts:

1) Matlab basic tutorial

2) State space tutorial

-----------------------

x2’

x2

x1’

x1

2

-3

-4

u(t)

y(t)

(

(

(

(

(

3

-4

[pic]

[pic]

1/2







(

(

(

(

(

3

y(t)

1/2

14

u(t)

3

x1

x1’

x2

x2’

6

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download