Tuesday, December 21, 2010

nterconnected Systems And Feedback

Summary: Signals normally pass through interconnections of subsystems. Feedback provides an opportunity to use and to integrate material we have learned (Laplace transform, frequency response, step response) in an important application area. Stability is an important issue with feedback systems. Unstable systems can be stabilized with feedback.


INTERCONNECTED SYSTEMS AND FEEDBACK
Motivation:
  • Signals normally pass through interconnections of subsystems.
  • Feedback is widely used in both man-made and natural systems to enhance performance.
  • Feedback provides an opportunity to use and to integrate material we have learned (Laplace transform, frequency response, step response) in an important application area.
  • Stability is an important issue with feedback systems
  • Unstable systems can be stabilized with feedback
Outline:
  • Interconnection of systems
  • Simple feedback system — Black’s formula
  • Effect of feedback on system performance
  • Review properties of feedback
  • Dynamic performance of feedback systems
  • BIBO stability
  • Roots of second-order and third-order polynomials
  • Root locus plots of position control systems
  • Stabilization of unstable systems
  • Conclusion
I. INTERCONNECTION OF SYSTEMS
Systems are interconnections of sub-systems. For example, consider the cascade of LTI systems shown below.
graphics1.png
The presumption in such a cascade is that H1(s) and H2(s) do not change when the two systems are connected.
1/ Cascade of a lowpass and a highpass filter
Suppose H1(s)and H2(s)have the following form.
Figure 1
Figure 1 (graphics2.png)
H1(s)=
Y1(s)
X1(s)
 =
1
R1C1
s+
1
R1C1
Figure 2
Figure 2 (graphics3.png)
H2(s)=
Y2(s)
X2(s)
 =
s
s+
1
R2C2
2/ Loading
Now cascade H1(s) and H2(s).
graphics4.pngl
H1(s)=
1
R1C1
 s
s2+s[
1
R1C1
 +
1
R2C2
+
1
R2C1
]+
1
R1R2C1C2
Note that
H(s)H1(s)H2(s)=[
1
R1C1
s+
1
R1C1
 ][
s
s+
1
R2C2
 
]
3/ Isolation
With the use of an op-amp, the two systems can be isolated from each other or buffered so that the system function is the product of the individual system functions.
graphics5.png
Note that
H(s)H1(s)H2(s)=[
1
R1C1
s+
1
R1C1
 ][
s
s+
1
R2C2
 
]
4/ Conclusion
When we draw block diagrams of the form
graphics6.png
we assume that the individual systems are buffered or that the loading of system 1 by system 2 is taken into account in H1(s)
II. FEEDBACK EXAMPLES
1/ Man-made system — robot car
Figure 3
Figure 3 (graphics7.png)
2/ Robot car block diagram
To drive the robot car to the target we use the camera to compare the measured target position with the desired target position. The difference is an error signal whose value is used to change the wheel position. Therefore, the output variable, the angle of the wheels, is fed back to the input to control the new output variable.
graphics8.png
3/ Wheel position controller block diagram
The wheel controller system is itself a feedback system. A voltage proportional to the angular position of the motor shaft is subtracted from the desired value and the difference signal is used to drive the motor.
Figure 4
Figure 4 (graphics9.png)
4/ Physiological control systems examples
Voluntary everyday activities
  • Driving a car
  • Filling a glass with water
Involuntary everyday occurrences
  • Pupil reflex
  • Blood glucose control
  • Spinal reflex
5/ Spinal reflex
Figure 5
Figure 5 (graphics10.png)
Tapping the patella stretches muscle receptors that, through a neural feedback system, results in muscle contraction. This reflex is used in the maintenance of posture.
III. SIMPLE LINEAR FEEDBACK SYSTEM
1/ Black’s formula
graphics11.png
K(s) is called the open loop system function, and H(s) = Y (s)/X(s) is called the closed-loop system function. Note, when β(s) = 0, H(s) = K(s)
We can find H(s) by combining
E(s)=X(s)β(s)Y(s)
and
Y(s)=K(s)E(s)
to obtain
Y(s)=K(s)X(s)β(s)Y(s)
which can be solved to obtain Black’s formula,
H(s)=
Y(s)
X(s)
 =
K(s)
1+β(s)K(s)
 =
forward
transmission
1
loop
gain
Two-minute miniquiz problem
Problem 8-1 Simple position control system
The objective of the position control system shown below is for the output position Y (s) to track the input signal X(s).
Figure 6
Figure 6 (graphics12.png)
a) Determine the closed-loop system function H(s) = Y (s)/X(s).
b) For x(t) = u(t), a unit step, determine the steady state value of y(t).
Solution
  1. We can use Black’s formula to find H(s) as follows
H(s)=
K
(s+1)(s+100)
1+
K
(s+1)(s+100)
 =
K
(s+1)(s+100)+K
b) The steady-state response to a unit step is simply the response to the complex exponential x(t)=1.e0.t=1 which is y(t)=1.H(0).e0.t=K/(100+K). The position error ε=K/(100+K)1=100/(100 +Κ) Hence, this position controller (with proportional feedback) has an error that diminishes as the gain increases. However, the error is never zero no matter how large the gain.
Effect of feedback on system performance
Feedback is used to enhance system performance.
  • Stabilize gain
  • Reduce the effect of an output disturbance
  • Improve dynamic characteristics — increase bandwidth, improve response time
  • Reduce noise
  • Reduce nonlinear distortion
Properties of feedback
  • Increase input impedance
  • Decrease output impedance
2/ Stabilize gain
Figure 7
Figure 7 (graphics13.png)
overall
gain=10
Overall
gain=
100×10
1+0.099×100×10
 
=10
Note that both the open-loop and the same gain which equals 10.
Figure 8
Figure 8 (graphics14.png)
But now suppose that the gain of the power amplifier is reduced to 5.
overall
gain=10
Overall
gain=
100×5
1+0.099×100×5
 
=9
.9
Note that a change in gain of the power amplifier of 50% leads to a change in gain of the feedback system of only 1%.
The stabilization of the gain resulting from feedback can be appreciated more generally from Black’s formula.
H(s)=
K(s)
1+β(s)K(s)
If K(s) is large so that |β(s)K(s)|>>1 then
H(s)
1
β(s)
So if H(s) has a gain then β(s) must have an attenuation. If the attenuation β(s) is determined precisely but the gain K(s) varies (with time, temperature, etc.), then we can make an amplifier whose gain is independent of K(s) and determined almost entirely by β(s).
But how can we make β(s) precise?
Consider the non-inverting amplifier with a non-ideal (finite gain) op-amp — network (left), block diagram (right).
Figure 9
Figure 9 (graphics15.png)
For an op-amp (model 741) the gain is typically K107. Hence, provided KR2/(R1+R2)>>1, we have
Vo
Vi
 =
107
1+107
R2
R1+R2
 
R1+R2
R2
Conclusion — the gain of the feedback amplifier depends primarily on the values of the resistors and not on the gain of the op-amp which depends on parameters of transistors which change with time, temperature, etc.
3/ Reduce the effect of an output disturbance
graphics16.png
The transfer functions for the input and the disturbance are
Y(s)
X(s)
 =
K(s)
1+β(s)K(s)
and
Y(s)
D(s)
 =
1
1+β(s)K(s)
Therefore, if β(s)K(s) is made arbitrarily large then
Y(s)/X(s)1/β(s)
and
Y(s)/D(s)0
4/ Improve dynamic characteristics
Our model of an op-amp was simplistic. A more realistic model that takes the finite bandwidth of the op-amp into account is shown below.
Figure 10
Figure 10 (graphics17.png)
The finite bandwidth of the op-amp is modeled as
K(s)=
K
s+α
Using Black’s formula we obtain
H(s)=
K(s)
1+βK(s)
 =
K
s+α
1+β
K
s+α
 =
K
s+(α+βK)
Therefore, the frequency response is
H()=
K/(α+βK)
/(α+βK)+1
the impulse response is
h(t)=Ke(α+βK)tu(t)
and the step response is
s(t)=
K
α+βK
 (1e(α+βK)t)u(t)
We compare the open-loop with the closed-loop characteristics. We use typical parameters of a model 741 op-amp, K=8×106 and α = 40 rad/sec.
Figure 11
Figure 11 (graphics18.png)
Effect on pole-zero diagram
graphics19.png
As the loop gain is increased from 0 the pole moves out along the negative real axis from −40 rad/s and when β = 0.1 the pole reaches 8×105rad/s. This type of diagram which shows the trajectory of the closed loop poles in the complex s-plane as the gain is changed is called a root locus plot.
Effect of feedback on frequency response.
graphics20.png
Effect of feedback on step response.
graphics21.png
As the loop gain is increased from 0 the time constant of the step response decreases, i.e., the system responds faster.
Summary of effect of feedback on dynamic characteristics.
Figure 12
Figure 12 (graphics22.png)
5/ Reduce the effect of nonlinear distortion
A common power amplifier configuration found in many electronic systems (e.g., stereo amplifiers) is the push-pull emitter follower amplifier.
Figure 13
Figure 13 (graphics23.png)
This configuration has an inherent nonlinearity. When vi>0.6 V, T1 conducts and when vi<0.6 V, T2 conducts. Thus, there is a dead zone between −0.6 and +0.6 V where neither transistor conducts.
The transfer characteristic, which contains an idealized dead zone, is shown below.
Figure 14
Figure 14 (graphics24.png)
In an audio amplifier, the type of distortion caused by the dead zone is called crossover distortion.
We examine the use of feedback to reduce cross-over distortion with the aid of MATLAB’s block diagram language SIMULINK.
graphics25.png
6/ Effect of cross-over distortion on simple signals and on music
Figure 15
Figure 15 (graphics26.png)
The figure shows the effect of crossover distortion on a sinusoid obtained with Simulink. A demo will show the effect of cross-over distortion in an audio amplifier on simple signals and on music and the role of feedback to minimize this distortion.
IV. DYNAMIC PERFORMANCE OF FEEDBACK SYSTEMS
1/ Simple position control system with proportional controller
The objective of the position control system shown below is for the output position Y (s) to track the input signal X(s).
Figure 16
Figure 16 (graphics27.png)
We can use Black’s formula to find H(s) as follows
H(s)=
K
(s+1)(s+100)
1+
K
(s+1)(s+100)
 =
K
(s+1)(s+100)+K
How good is this system at controlling the motor position?
Let us examine the steady-state step response first. The system function is
H(s)=
K
(s+1)(s+100)+K
The steady-state response to a unit step is simply the response to the complex exponential x(t)=1.e0.t=1 which is y(t) = 1.H(0) e0.t=K/(100+K). The position error ε=K/(100+K)−1=−100/(100+K). Hence, this position control system (with proportional controller) has an error that can be made arbitrarily small, although not zero, as the gain is made arbitrarily large.
Two-minute miniquiz problem
Problem 9-1
For K = 1000 determine the unit step response y(t) of the position control system.
[Hint:
the
polynomial
s2+101s+1100(s+88.5)(s+12.5)]
Solution
Substituting K = 1000 into the system function yields
Y(s)=X(s)H(s)=[
1
s
 ][
1000
(s+1)(s+100)+1000
 
]
The denominator polynomial can be factored and expanded in a partial fraction expansion as follows
Y(s)=
1000
s(s+88.5)(s+12.5)
=
1000/(88.5)(12.5)
s
 +
100/(88.5)(76)
s+88.5
 
+
1000/(12.5)(76)
s+12.5
=
0.9
s
 +
0.15
s+88.5
 
+
1.05
s+12.5
The step response is
y(t)=(0.9+0.15e88.5t1.05e12.5t)u(t)
Note that y(∞) = 0.9 which fits with the result obtained from the steady-state analysis which gives 1000/1100 ≈ 0.9.
A plot of the step response for K = 1000 along with those for several values of K are shown next.
How does the step response change as K is increased?
Figure 17
Figure 17 (graphics28.png)
  • As the gain is increased, the steady-state error in position decreases.
  • As the gain is increased, the step response becomes a damped oscillation. This could be disastrous in a position control system. Suppose we designed a system for doing microsurgery on the brain or the eye!
Thus, we cannot achieve an arbitrarily small position error without causing damped oscillations with this controller design.
2/ Simple position control system with zero position error
Consider a new design in which the error is integrated.
Figure 18
Figure 18 (graphics29.png)
We can use Black’s formula to find H(s) as follows
H(s)=
K
s(s+1)(s+100)
1+
K
s(s+1)(s+100)
 =
K
s(s+1)(s+100)+K
The steady-state response to a unit step is simply the response to the complex exponential x(t)=1.e0.t=1 which is y(t)=1.H(0).e0.t=1. The position error ε = 1− 1 = 0. Hence, it appears that this position control system (with integral controller) has no position error for any value of K. So how do we pick K?
3/ Simple position control system with zero position error — step response
The step response is shown for several values of K.
Figure 19
Figure 19 (graphics30.png)
  • The steady-state error is zero for K < 10100 (we will see how this value is determined later).
  • The step response shows oscillations that are damped for K < 10100 but shows oscillations whose amplitude grows exponentially for K >10100. Such a system is called unstable. When the system becomes unstable, the steady-state position error is not zero! Furthermore, a position control system that is unstable is even more disastrous than one that exhibits damped oscillations in response to a unit step.
4/ BIBO stability
There are many ways one can define stability of a system. We shall use the following. A system for which every bounded input yields a bounded output is called BIBO stable. A feedback system with closed loop system function
H(s)=
K(s)
1+β(s)K(s)
is BIBO stable if its poles (the natural frequencies of the closed loop system) are in the left half of the s-plane. Thus, determining the conditions for which a system is stable reduces to finding whether the zeros of 1+β(s)K(s) = 0 are in the left-half s-plane. When β(s)K(s) is a rational function, this condition is tested by determining whether the roots of the numerator polynomial of 1+β(s)K(s) are located in the left-half s-plane.
V. ROOTS OF SECOND-ORDER AND THIRD-ORDER POLYNOMIALS
We consider conditions that second- and third-order polynomials have roots in the left half of the complex s-plane.
1/ Second-order polynomials
Second-order polynomials with real coefficients have either real or complex roots of the form
(s+a)(s+b)=0
or
(s+a+jc)(s+a - jc)= 0
where a > 0 and b > 0. The polynomials can be expressed as
s2+(a+b)s+ab
or
s2+2as+a2+c2=0
Thus, both polynomials have the form
s2+αs+β=0
where α > 0 and β > 0. These conditions are both necessary and sufficient.
2/ Third-order polynomials
Third-order polynomials must have one real root and either a pair of real or complex roots of the form
(s+a)(s+b)(s+c)=0
or
(s+b)(s+a+jd)(s+a - jd)= 0
where a > 0, b > 0, and c > 0. The polynomials can be expressed as
s3+(a+b+c)s2+(ab+ac+bc)s+abc=0
or
s3+(2a+b)s2+(a2+d2+2ab)s+(a2+d2)b=0
Thus, both can be put in the form
s3+αs2+βs+γ=0
Note that α > 0, β > 0, and γ > 0. But in addition, β > γ/α. These conditions are both necessary and sufficient.
VI. ROOT LOCUS PLOTS FOR POSITION CONTROL SYSTEMS
1/ Proportional controller
Figure 20
Figure 20 (graphics31.png)
H(s)=
K
s2+101s+100+K
Recall the step response of the position control system with proportional controller.
Figure 21
Figure 21 (graphics32.png)
The poles of the closed-loop system function are at
s1,2=
101
2
 ±[[
101
2
 
]
2100
K
]
1/2
The root locus plot is
graphics33.png
2/ Integral controller
Figure 22
Figure 22 (graphics34.png)
H(s)=
K
s3+101s2+100s+K
Recall the step response of the position control system with integral controller.
Figure 23
Figure 23 (graphics35.png)
The poles are the roots of the polynomial
s3+101s2+100s+K=0
The root locus plot is
Figure 24
Figure 24 (graphics36.png)
Note that all the poles are in the lhp for K >0 and 100 > K/101 or 0 < K < 10100. For K>10100 two poles move into the rhp and the system is unstable.
VII. STABILIZATION OF UNSTABLE SYSTEMS
1/ Many common systems are unstable
graphics37.png
Some common systems are annoyingly unstable (adapted from Figure 11.7 in Oppenheim & Willsky, 1983).
We can model the audio feedback system with SIMULINK as follows.
Figure 25
Figure 25 (graphics38.png)
Another example of an unstable system is an inverted pendulum. For example, balancing a broomstick in your hand is an example of an inherently unstable system that is stabilized by your motor control system.
Figure 26
Figure 26 (graphics39.png)
Figure adapted from Figure 11.2 in Oppenheim & Willsky, 1983.
2/ Inverted pendulum
We will analyze an inverted pendulum attached to a cart. A schematic diagram is shown on the left and a free-body diagram showing the forces on the pendulum is shown on the right.
Figure 27
Figure 27 (graphics40.png)
The forces of attachment of the cart and pendulum on the pendulum are obtained from the equations of rectilinear motion.
The equation of rotational motion about the center of mass is
J
d2θ(t)
dt2
 =mglsinθ(t)mlcosθ(t)
d2x(t)
dt2
where J is the moment of inertia of the mass about the mass, m is the mass, and g is acceleration of gravity. For small θ, this differential equation is linearized by noting that sinθ≈θ and cos θ ≈ 1. Therefore,
J
d2θ(t)
dt2
 mglsinθ(t)=ml
d2x(t)
dt2
The system function is
H(s)=
θ(s)
X(s)
 =
(ml/J)s2
s2(mgl/J)
Therefore, the poles occur at
s1,2=±[
mgl
J
 ]1/2
Hence, the system is inherently unstable since one of its poles (natural frequencies) is in the rhp.
3/ Stabilization of the inverted pendulum
To stabilize the inverted pendulum, a rotary potentiometer is used to measure θ(t). A current proportional to θ(t) − θo, where θo is the desired angle, drives a motor so as to increase x(t) (adapted from Figure 6.4-1, Siebert, 1986).
Figure 28
Figure 28 (graphics41.png)
This inverted pendulum is connected in a feedback configuration as follows.
Figure 29
Figure 29 (graphics42.png)
M(s) represents the system function of the motor dynamics, 1 + (a/s) is the system function of the proportional plus integral controller for θ(t), and c + bs is the system function of the proportional plus derivative controller for x(t).
Demo of stabilization of an inverted pendulum.
4/ Stabilize by pole cancellation?
Why not cascade an unstable system with another system that cancels the unstable pole?
Figure 30
Figure 30 (graphics43.png)
  • Perfect cancellation is very difficult.
  • The unstable pole can be excited by other inputs.
VIII. CONCLUSIONS
  • Interconnection of systems requires attention to their interactions.
  • Feedback is a powerful method to improve the performance of systems. However, feedback systems have the capacity to become unstable.
  • Instability can be determined by examining the poles of the closed-loop transfer function. It may also be important to examine the stability of components of the closed-loop system. Inherently unstable systems can be stabilized with feedback.

Content actions

GIVE FEEDBACK:

No comments:

Post a Comment