ECE 486 Control Systems
Lecture 8
Open-Loop and Closed-Loop Control
Recall from last time, we talked about effects of extra zeros and stable poles of system transfer functions. We further introduce the concept of input-output stability and how to test system stability with Routh-Hurwitz criterion.
Today we will explore some basic properties and benefits of feedback control. We will see the difference between open-loop and closed-loop (feedback) control; examine the benefits of feedback in reference tracking and disturbance rejection; reduction of sensitivity to parameter variations; improvement of time response etc.
Two Basic Control Architectures
In general, we want a good control system to have the following three features,
- tracking a given reference;
- rejecting disturbances;
- meeting performance specs.
If we are going to consider two types of control schemes,
- the open-loop control as in Figure 1 and
Figure 1: Open-loop control
- the feedback (closed-loop) control as in Figure 2.
Figure 2: Closed-loop control
Correction: In both Figures 1 and 2, disturbance W shall be interpreted as input disturbance as we shall see below in the case study of a DC motor. On other occasions, we might have output disturbances. This subtlety was noted by D1 and D2 in Figure 9 of Lecture 1.
we shall see intuitively they differ by a feedback path. (Think of this difference as in cruise control.)
Note in both Figures 1 and 2, W is a disturbance; K is not necessarily a static gain.
When it comes to the three features, tracking, disturbance rejection and meeting specs, more specifically, in Figure 1, the open-loop control scheme is
- cheaper and easier to implement since no sensor is required for the feedback path and
- open-loop set-up does not destabilize the system.
For example, if both K and P have stable poles in the Open Left Half Plane, then YR=KP is also stable since {poles of KP}={poles of K}∪{poles of P}.
On the other hand, the feedback control scheme in Figure 2 is
- more difficult or expensive to implement since it requires a sensor and an information path from controller to actuator on the feedback path and
- it may destabilize the system since
YR=KP1+KP has new poles, which may not be necessarily stable poles.
However, feedback control is the only way to stabilize an unstable plant. (This was the Wright brothers’ key insight.) Some of the benefits of feedback control include
- reducing steady-state error to disturbances;
- reducing steady-state sensitivity to model uncertainty (parameter variations);
- improving time response.
Case Study: DC Motor
Consider a DC motor assembly with input voltage va(t), input load/disturbance torque τe(t). Denote angular speed of the motor ωm(t) as the system output, then we have the system input output relationship,
Ωm=Aτs+1Va+Bτs+1Te, where τ is the time constant of a first order transfer function and A,B are some system gains.
Figure 3 shows the diagram for Equation (1).
Figure 3: DC motor
Our objective is to have Ωm approach and track a given reference Ωref in spite of disturbance Te. To this end, we may consider both open-loop control and feedback (closed-loop ) control.
Figure 4: Open-loop control for DC motor
Figure 5: Feedback control for DC motor
Open-Loop Set-Up
If we use open-loop control as in Figure 4, first let’s investigate what happens to disturbance rejection.
Bear in mind our goal is to maintain ωm=ωref in steady state in the presence of a constant disturbance. By open-loop, the controller receives no information about the disturbance τe since it gets no feedback signal from anywhere else. Therefore, the only input in open-loop set-up is reference ωref.
A naïve attempt is that we can design for no disturbance, i.e., let τe=0, then see how the system works in general. With zero disturbance, the set-up in Figure 4 will be reduced to a simpler set-up as in Figure 6.
Figure 6: Open-loop control for DC motor (Te=0, no disturbance)
The motor transfer function in Figure 6 Aτs+1, has a stable pole at s=−1τ. In order to have DC gain =1 (tracking) for transfer function ΩmΩref, by
Ωm=Aτs+1Va=KolAτs+1Ωref,its numerator KolA=1, i.e., Kol=1A. It follows we have perfect tracking when there is no disturbance by using such an open-loop controller Kol=1A,
ωm(∞)=1A⋅A⋅ωref=ωref.(for Te=0)Now, if nonzero disturbance Te is present, then the output speed
Ωm=Aτs+11A⏟DC gain=1Ωref+Bτs+1⏟DC gain=BTe,⟹ωm(∞)=ωref⏟step input+Bτe⏟step input.Equation (2) says steady-state motor speed for an open-loop set-up with constant reference and constant disturbance is, the reference input with an offset determined by weighted disturbance input,
ωm(∞)=ωref+Bτe.
In the absence of disturbances, reference tracking is good; but disturbance rejection is pretty poor when disturbance kicks in. Steady-state error is determined by scaling factor B when nonzero disturbance contributes to system output, and we have no control over B. Indeed, we cannot change the weight B of contribution to output by disturbance τe through any choice of controller Kol, no matter how clever.
Feedback Control Set-Up
If we use closed-loop control as in Figure 5, let’s repeat the analysis what we did to open-loop set-up and see what happens to disturbance rejection in the case of feedback control.
Clear the denominator and solve for Ωm,
(τs+1)Ωm=AKcl(Ωref−Ωm)+BTe(τs+1+AKcl)Ωm=AKclΩref+BTe,⟹Ωm=AKclτs+1+AKclΩref+Bτs+1+AKclTe.Question: All we want in Equation (3) is writing output speed Ωm in terms of reference input Ωref and disturbance (if any) Te; can we apply our formula (forward gain)/(1 + loop gain) to simplify the above process?
Hint: Since this is a linear system, and there are two different inputs Ωref and Te, we can consider the contribution by one of them to the output at a time. Ωm=[ΩmΩref]Ωref+[ΩmTe]Te. To compute the first transfer function ΩmΩref, set Te=0 in Figure 5, simplify the diagram and reshape the loop if necessary, figure out which signal is input and which signal is output. Apply the formula (forward gain)/(1 + loop gain) to the standard feedback connection after reshaping.
Similar computation can be carried out when the second transfer function ΩmTe is concerned.
Provided all transfer functions are strictly stable, we have
Ωm=AKclτs+1+AKcl⏟DC gain=AKcl1+AKclΩref+Bτs+1+AKcl⏟DC gain=B1+AKclTe.Assuming that the reference ωref and the disturbance τe are constant inputs, if we apply Final Value Theorem, we get
ωm(∞)=AKcl1+AKclωref+B1+AKclτe.In conclusion,
- even AKcl1+AKcl≠1, meaning tracking cannot be “perfect”, but this number can be brought arbitrarily close to 1 when Kcl→∞. Thus, steady-state tracking is good with high control gain Kcl, but never quite as good as in open-loop case, where tracking is perfect when there is no disturbance;
- weight of contribution of disturbance input B1+AKcl is small (arbitrarily close to 0) when Kcl is large. Thus, feedback control set-up is much better than open-loop control when it comes to disturbance rejection.
Sensitivity to Parameter Variations
The sensitivity analysis we are talking about here is due to H. Bode. Consider again our DC motor model with no disturbance
In the “nominal” situation, we have the motor with DC gain=A, and the overall transfer function, either open- or closed-loop, has some other DC gain (call it T).
Now suppose that, due to modeling error, changes happen in operating conditions, etc., accordingly the motor gain changes,
A↦A+δA⏟smallperturbation.
This will cause a perturbation in the overall DC gain, T↦T+δT. From calculus, we know to the first order, δT≈dTdAδA if we treat overall gain T as a function of A.
A↦A+δA⟹T↦T+δT. It says a small perturbation in system gain A has been propagated, resulting in a perturbation in overall DC gain T.
Figure 10: Hendrik Wade Bode, 1905–1982
To characterize this parameter variation, Bode introduced sensitivity
S≜δT/TδA/A=relative error=normalized (percentage) error in Tnormalized (percentage) error in A.Let’s compute sensitivity S for our DC motor control example, both open- and closed-loop.
Sensitivity for open-loop set-up: The nominal overall gain
Tol=KolA=1AA=1.When perturbation in A happens,
A↦A+δA,⟹Tol↦Kol(A+δA)=1A⏟designchoice(A+δA)=1⏟Tol+δAA⏟δTol.Therefore sensitivity in the case of open-loop control is
Sol=δTol/TolδAol/Aol=δA/AδA/A=1.Since sensitivity Sol is 1, as a quick example, a 5% error in A will cause a 5% error in Tol.
Sensitivity for closed-loop set-up: The nominal overall gain
Tcl=AKcl1+AKcl.
When perturbation in A happens,
A↦A+δA,⟹Tcl↦Tcl+δTcl,By Taylor expansion,
T(A+δA)=T(A)+dTdA(A)δA+higher-order terms,Abuse of Notation: T(A+δA) above is not multiplication of T and A+δA; the parentheses were meant to denote T as a function evaluated at A+δA. Similarly in dTdA(A), the derivative dTdA was evaluated at A.
therefore substitute
dTcldA=Kcl1+AKcl−AK2cl(1+AKcl)2=Kcl(1+AKcl)2,into Equation (4), we get δTcl=Kcl(1+AKcl)2δA.
Finally, the sensitivity
Scl=δTcl/TclδA/A=Kcl(1+AKcl)2δAAKcl1+AKclδA/A=11+AKclδA/AδA/A=11+AKcl.With high control gain Kcl in closed-loop, we get smaller relative error due to parameter variations in the plant model since Scl≪1 for large Kcl.
Time Response
For the rest of this lecture, we assume no disturbance τe=0.
So far, we have focused on DC gain only (steady-state response). What about transient response?
In the case of open-loop control,
ΩmΩref=AKolτs+1.
The transfer function ΩmΩref has a pole at s=−1τ, i.e., in time domain, its transient response is associated with exponential e−t/τ.
Here τ is the time constant: the time it takes the system response to decay to 1/e of its starting value.
In the open-loop case, larger time constant means faster convergence to steady state. This is not affected by the choice of Kol in any way!
In the case of closed-loop control,
ΩmΩref=AKclτs+1+AKcl.
The transfer function ΩmΩref has a closed-loop pole at s=−1τ(1+AKcl). So the closed-loop pole can be moved around via feedback control Kcl.
The transient response is associated with e−1+AKclτt, with time constant=τ1+AKcl.
If closed-loop control gain Kcl is large, we have a much smaller time constant, i.e., time response converges faster to steady-state.
Summary: Feedback control can
- reduce steady-state error to disturbances;
- reduce steady-state sensitivity to model uncertainty (parameter variations);
- improve time response.
But note high-gain feedback only works well for first order systems in general; for higher-order systems, it will typically cause underdamping and instability.