Docsity

Digital Control Homework 3 for ECE 147b at University of California, Santa Barbara, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
University of California, Santa Barbara
Department of Electrical & Computer Engineering
ECE 147b: Digital Control
Winter 2009
Homework 3. Due 5.00pm Friday, 20th February, 2009 in the homework boxes on the 3rd. floor of Harold
Frank Hall.
If you use Matlab to solve any part of the homework, you must attach a copy of the Matlab script to
your homework to get any credit for the problem.
Problem 1. Consider two discrete-time state-space systems,
P1(z) = ๎˜”A1B1
C1D1๎˜•,and P2(z) = ๎˜”A2B2
C2D2๎˜•.
Each of these systems has more than one input and output. The number of poles in P1(z) is n1and the
number of poles in P2(z) is n2. Calculate a state-space realization for each of the following interconnections.
The โ€œAโ€ matrix of your realization must not have dimension greater than n1+n2.
a) P1(z) + P2(z). Also sketch this as a block diagram with two blocks (P1(z) and P2(z)). What are the
relationships between the numbers of inputs and outputs of P1(z) and P2(z) for this interconnection
to make sense.
b) P1(z)P2(z). Again sketch the block diagram. Again state any constraints on the numbers of inputs
and outputs in each system.
c) Consider the system illustrated here.
P2(z)
P1(z)
j
+
j
+๎˜›r1
๎˜›t
6
z2
?
-
r2- - z1
t
6
Also, calculate the transfer function from
๎˜”r1
r2๎˜•to ๎˜”z1
z2๎˜•.
Note that this is a MIMO system; division does not make sense.
1
pf2

Partial preview of the text

Download Digital Control Homework 3 for ECE 147b at University of California, Santa Barbara and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

University of California, Santa Barbara

Department of Electrical & Computer Engineering

ECE 147b: Digital Control

Winter 2009

Homework 3. Due 5.00pm Friday, 20th February, 2009 in the homework boxes on the 3rd. floor of Harold Frank Hall.

If you use Matlab to solve any part of the homework, you must attach a copy of the Matlab script to your homework to get any credit for the problem.

Problem 1. Consider two discrete-time state-space systems,

P 1 (z) =

[

A 1 B 1

C 1 D 1

]

, and P 2 (z) =

[

A 2 B 2

C 2 D 2

]

Each of these systems has more than one input and output. The number of poles in P 1 (z) is n 1 and the number of poles in P 2 (z) is n 2. Calculate a state-space realization for each of the following interconnections. The โ€œAโ€ matrix of your realization must not have dimension greater than n 1 + n 2.

a) P 1 (z) + P 2 (z). Also sketch this as a block diagram with two blocks (P 1 (z) and P 2 (z)). What are the relationships between the numbers of inputs and outputs of P 1 (z) and P 2 (z) for this interconnection to make sense.

b) P 1 (z)P 2 (z). Again sketch the block diagram. Again state any constraints on the numbers of inputs and outputs in each system.

c) Consider the system illustrated here.

P 2 (z)

P 1 (z)

+^ j

 t + j  (^) r 1

z 2

-^?

r 2 -^ t -^ z 1

Also, calculate the transfer function from [ r 1 r 2

]

to

[

z 1 z 2

]

Note that this is a MIMO system; division does not make sense.

Problem 2. Calculate, by hand, eAt, where,

a. A =

[

]

b. A =

๏ฃป (^) c. A =

[

]

Do not leave any of these expressions as an infinite sum. You can use Matlab to check your answers.

Problem 3. Calculate the eigenvalues and eigenvectors of the matrix,

M =

[

x y 0 z

]

In general there are two eigenvectors for M. Under what algebraic condition is there only eigenvector?

Problem 4. For each of the following state-space systems determine: the transfer function (assume discrete systems); the poles of the system; whether or not the system is controllable; and whether or not the system is observable. Assume that D = 0. You should do your calculations as a function of the variables x and y (if applicable).

a. A =

[

]

, B =

[

]

, C =

[

x y

]

Identify any values of x and y where the realization loses observability.

b. A =

[

]

, B =

[

]

, C =

[

1 x

]

Identify any value of x where the realization loses observability.

Problem 5. Consider the following discrete-time state space system,

A =

[

1 โˆ’a 1 0

]

, B =

[

b 0

]

, C =

[

b

]

, D = 0, where a, b > 0.

a. For what range of values of a and b is the open-loop system stable?

b. Determine any values of a and b for which the system is not controllable or not observable.

c. Take the nominal value of a to be a = 0.5 and the nominal value of b to be 10. For this value of a, calculate a state feedback control gain matrix that would speed up our system by a factor of 2. Using this controller, calculate the range of values of a for which the closed-loop system is stable.

d. Suppose that our discrete-time system, given by (A, B, C, D) above, was obtained by sampling a continuous time system, P (s), at a sampling period of T = 0.1 seconds. For what range of noise or disturbance frequencies would you expect to see the effects of aliasing in the control system?

e. Again, take a = 0.5. Describe the discrete-time open loop pole locations if P (s) had instead been sampled at T = 0.05 seconds.