Description
Problem 1. Consider the following block diagram of a coupled two-input two-output control system:
(a) Find the Transfer Function T(s) = Y2(s)
R1(s)
R2(s)=0
(b) Find G5(s) in terms of the other transfer functions in order to make T(s) = 0 and thus decouple
Y2(s) from R1(s).
Problem 2. Operational Amplifiers (OpAmps): OpAmps are key active building blocks in electrical circuits, and are commonly used in many applications such as amplifying sensor signals, or
implementing various filters and compensators in electronic controllers. Due to very high open-loop
gain, OpAmps are typically used with negative feedback, and with proper characteristics, the closedloop gain of the amplifier can be controlled primarily by the relatively stable and accurate passive
elements in the feedback path.
(a) Consider the following configuration. We typically assume an ideal OpAmp. This means that the
input impedance is assumed to be infinity and the output can essentially act like a voltage source
with zero impedance.
Using the superposition rule, and the voltage division, show that:
Va =
Z2
Z1 + Z2
Vi +
Z1
Z1 + Z2
Vo
These homework problems are compiled using the different textbooks listed on the course syllabus
1
ECE141 – Principles of Feedback Control Homework 2 2
(b) Given the polarity of the input connection in the above configuration, we have Vo = −aVa where a
is the open-loop gain of the OpAmp. Substitude in the above equation and show that the transfer
function Vo
Vi
can be obtained as:
Vo
Vi
=
−aZ2/(Z1 + Z2)
1 + aZ1/(Z1 + Z2)
Remember that both the open loop gain a, as well as the impedances Zi
, can be frequencydependent complex quantites. The quantity L(jω) shown below is called the Loop Transfer
Function and, as we shall see in future lectures, it is generally a very critical quanitity in any
feedback system and can virtually impact all the performance aspects of the closed-loop system.
L(jω) ,
a(jω)Z1(jω)
Z1(jω) + Z2(jω)
(c) With OpAmps, we typically assume ideal closed-loop gain by assuming very large open loop gain
leading to |L(jω)| 1, which will reduce our closed-loop transfer function for the above configuration to the following:
Vo(s)
Vi(s)
= −
Z2(s)
Z1(s)
Notice how our ideal closed-loop gain no longer depends on the open-loop gain of the OpAmp and
can be controlled by the passive Zi elements. This is a key advantage of using feedback with large
loop gain. Show how you could have obtained this transfer function by simply writing a KCL
node equation at the negative input terminal while assuming that negligible current flows into the
OpAmp terminals and also that the differential voltage at the input to the OpAmp is negligible
(i.e., in the above configuration, the negative terminal can be considered as a virtual ground with
zero voltage).
(d) The configuration we studied above is called an inverting amplifier due to the opposite sign relationship between input and output voltages. Now, consider the following configuration:
Using similar analysis and under the assumption of an ideal OpAmp along with an ideal closed-loop
gain, show how the transfer function Vo(s)
Vi(s)
can be obtained as:
Vo(s)
Vi(s)
=
Z1(s) + Z2(s)
Z1(s)
This configuration is called a non-inverting amplifier.
ECE141 – Principles of Feedback Control Homework 2 3
(e) Now that we have seen the basic OpAmp configurations, let’s place a parallel RC for Z1 and a
series RC for Z2, as shown below:
Again assume ideal OpAmp with very high open loop gain so that both the current flowing into the
OpAmp terminals as well as the differential voltage at the input to the OpAmp may be neglected.
Show that the Transfer Function Vo(s)
Vi(s) may be written in the following form, and find the constants
KP , KD, and KI in terms of R’s and C’s:
Vo(s)
Vi(s)
= KP + KDs +
KI
s
As we will see in future lectures, this is a simple basic ciruit realization of a so-called ProportionalIntegral-Derivative (PID) controller.
(f) Finally, let’s look at another configuration where a bit more complicated passive network forms
the feedback around our OpAmp, and see how the dynamics of the network may be represented
in State-Space form.
Under the same ideal assumptions as before, show that the dynamics of this circuit network may
be written in the State-Space form as:
dx
dt =
”
−
1
R1C1
−
1
RaC1
0
−
Rb
Ra
1
R2C2
−
1
R2C2
#
x +
1
R1C1
0
u, y =
0 1
x, (1)
where u = v1 is the input voltage, and y = v3 is the output voltage. (Hint: Use v2, i.e., the voltage
across the capacitor C1, and the output voltage v3 as your two state variables).
Problem 3. Mechanical System Modeling: The hanging crane structure supporting the Space
Shuttle Atlantis, along with its simple schematic representation are shown below, where M is the mass
of the cart, m is the mass of the payload, L is the length of the massless rigid connector, x(t) is the
cart displacement, Fb(t) = −bx˙(t) is the friction force, φ(t) is the connector angle with respect to the
vertical, and u(t) is the force applied to the cart.
ECE141 – Principles of Feedback Control Homework 2 4
(a) Write the equations of motion describing the motion of the cart and the payload. (Hint: Consider
the reaction force between the cart and the payload along the connector. Write separate equations
of motion for the cart and the payload, and eliminate the reaction force from your equations in
order to obtain your final equations of motion).
(b) Assume φ ≈ 0, to linearize your equations. Also assume no friction (i.e., b = 0). Find the transfer
function from cart velocity v(t) = ˙x(t) to the connector angle φ(t), i.e., Φ(s)
V (s)
(c) Assume the cart starts moving at a constant speed, i.e., v(t) is a unit step function. Using the
above transfer function, find the resulting connector angle φ(t). Show that in this case, the payload
will oscillate with a frequency ω0 =
q g
L where g is gravity.
(d) Find the transfer function from the applied force to the cart position, i.e., X(s)
U(s)
.
(e) Show that if a constant force is applied to the cart (i.e., if u(t) a unit step function), its velocity
will increase without bound as t → ∞.
Problem 4. Linearization: Consider the following nonlinear system:
˙x = f(x, u) =⇒
x˙ 1
x˙ 2
x˙ 3
x˙ 4
=
u ln x2
cos(π(u + x4))
sin(π(u + x2))
x
2
3 + x
2
1
(2)
Linearize the system around x1 = x2 = 1, x3 = 2, x4 =
−1
2
, and u = 1, and express the linearized
system in the State Space form: δ ˙x = Aδx + Bδu
Problem 5. Transfer Function to State-Space: A missile in flight, as shown below, is subject to
four forces: thrust, lift, drag, and gravity.
ECE141 – Principles of Feedback Control Homework 2 5
The missile flies at an angle of attack, α, from its longitudinal axis, creating lift. For steering,
the body angle from vertical, φ, is controlled by rotating the engine at the tail. The transfer function
relating the body angle, φ, to the angular displacement of the engine, δ, is in the following form:
H(s) = Φ(s)
δ(s)
=
Kas + Kb
K3s
3 + K2s
2 + K1s + K0
Represent the missile steering control system in the State-Space form. (Hint: Use the controllercanonical, a.k.a. phase-variable, form)
Problem 6. State Space to Transfer Function: In the past, Type-1 diabetes patients had to
inject themselves with insulin three to four times a day. New delayed-action and long-lasting insulin
analogues such as insulin glargine require a single daily dose. Dynamic models can be developed for
the drug flow rate and absorbtion within the body. One such model for the time evolution of plasma
concentration of glargine for a specific patient is represented by the following State-Space form:
˙x(t) = Ax + Bu =
−0.435 0.209 0.02
0.268 −0.394 0
0.227 0 −0.02
x(t) +
1
0
0
u(t)
y(t) = Cx =
0.0003 0 0
x
where the state variables x =
x1 x2 x3
T
and the input u and output y are defined as:
x1 = insulin amount in plasma compartment
x2 = insulin amount in liver compartment
x3 = insulin amount in body tissue compartment
u = external insulin flow
y = plasma insulin concentration
(a) Write the transfer function H(s) = Y (s)
U(s)
parametrically in terms of the matrices A, B, and C.
(b) Use ss2zp function in MATLAB and obtain the transfer function in the form:
H(s) = Y (s)
U(s)
= K
Q
i
(s − zi)
Q
j
(s − pj )
ECE141 – Principles of Feedback Control Homework 2 6
Problem 7. State Feedback: Consider a linear SISO system represented in the following State-Space
form:
˙x(t) = Ax(t) + Bu(t)
y(t) = Cx(t)
If all the states are accessible and can be measured by sensors, and if the system is controllable (i.e.,
the states in x can be moved from any initial state to any desired final state by the input u in a finite
time), then a common feedback control strategy is the so-called state feedback control where the control
input is formed by a linear combination of the states and possibly the external reference input r(t):
u(t) = −Kx(t) + Krr(t)
where K is called the feedback gain matrix. The concept is shown in the following block diagram
where v is added to model any noise at the input.
Substituting for u(t), ignoring the noise input v, and assuming kr = 1, we can write the State-Space
equations for the closed-loop feedback system as:
˙x(t) = (A − BK)x(t) + Br(t)
y(t) = Cx(t)
Remember that the open-loop pole locations for the system are given by the open-loop characteristic
equation det(sI − A) = 0, i.e., the eigenvalues of matrix A. So, by using state feedback, we have
moved the poles of the closed-loop system to the eignevalues of the matrix A − BK. Therefore, by
proper selection of the gain matrix K, we can place the closed-loop poles in our desired locations on the
complex left-half plane (LHP) in order to ensure stability and hopefully meet our target performance
specifications. As a simple example, let’s consider the following system:
˙x(t) = Ax + Bu =
1 1
1 2
x(t) +
1
0
u(t)
y(t) = Cx =
2 1
x
(a) Find the open-loop poles. Is the open-loop system stable?
(b) Now, design a state feedback controller u(t) = −Kx(t) = −
k1 k2
x(t). Find the gain values k1
and k2 in order to stabilize the closed-loop system and move its poles to s1,2 = −2.0 ± j1.0
(c) Now, assume the system has a slightly different model:
˙x(t) = Ax + Bu =
1 1
0 2
x(t) +
1
0
u(t)
y(t) = Cx =
2 1
x
Can you still stabilize the closed-loop system with full-state feedback in this case? Please discuss.

