System of type K: the open-loop transfer function H(s) contains sK1, i.e. H(s)=sK1H1(s) with H1(0)=∞ and H1(0)=0. The closed-loop transfer function is W(s)=1+H(s)H(s) and is assumed BIBO stable.
Steady-state error∣e(∞)∣ for a reference of order ℓ (columns: 1(t), t1(t), 21t21(t), ...):
type of H(s)
ℓ=0
ℓ=1
ℓ=2
0: H=H1(s)
∣1+H1(0)∣1
∞
∞
1: H=s1H1(s)
0
∣H1(0)∣1
∞
2: H=s21H1(s)
0
0
∣H1(0)∣1
The pattern continues for higher types. Below the "diagonal" (type larger than ℓ) the error is zero, on the diagonal (type equal to ℓ) it is a finite nonzero constant, above it (type smaller than ℓ) it is infinite.
Perfect tracking (rejection) of sr1:
perfect tracking of sr1⟺H(s) contains sr1.
Design consequence. Let the reference be R(s)=snR1 and the plant be G(s)=snG1G1(s) (the plant already has nG poles in 0). Then
C(s) such that e(t)→0⟺C(s)=snC1C1(s),nC=nR−nG, and C(s) makes W(s) BIBO stable.
Reason: we need nR poles in 0 in H=CG; the plant already provides nG, so the controller must include the remaining nR−nG poles in 0.
Definition (Hurwitz polynomial). A polynomial P(s) is Hurwitz if all its roots have strictly negative real part:
Re(λ)<0∀λ:P(λ)=0.
Theorem. Let W(s)=DW(s)NW(s) be in least terms (no common factors). Then
W(s) is BIBO stable⟺DW(s) is Hurwitz.
For the basic control scheme with H(s)=DH(s)NH(s) one has DW(s)=NH(s)+DH(s), hence
the closed-loop system is BIBO stable⟺DH(s)+NH(s) is Hurwitz.
The diagram shows the loop: the error e=r−y drives the controller C(s), whose output u drives the plant G(s); the disturbance d is added at the plant output, and y (the sum) is fed back with a minus sign.
Assume W(s) (and Wd(s)) are BIBO stable. The objective is to design C(s) such that e(t)→0 for a sinusoidal reference and a sinusoidal disturbance. The output is
Y(s)=W(s)R(s)+Yd(s)Wd(s)D(s).
The term Yd(s) is the contribution of the disturbance to the output.
Rejection of a sinusoidal disturbance
Focus on rejecting a sine disturbance, so set r(t)=0 (R(s)=0) and
Therefore the disturbance effect on the output vanishes if and only if the limiting sinusoid is identically zero. The chain of equivalences from the slides:
yd(t)→0⟺MdAsin(ω0t+θd)=0∀t⟺Md=0⟺∣Wd(jω0)∣=0⟺DH(jω0)=0⟺jω0 is a pole of H(s)⟺±jω0 are poles of H(s)⟺H(s)=s2+ω021Hs(s)(Hs(jω0)=0).
Step by step:
A sinusoid of nonzero amplitude is not identically zero, so the only way is Md=0.
Wd=DH/(NH+DH), so ∣Wd(jω0)∣=0 happens when the numerator DH vanishes at s=jω0 (the denominator is nonzero there because Wd is BIBO stable, hence has no poles on the imaginary axis).
DH(jω0)=0 says jω0 is a pole of H(s).
Since H has real coefficients, complex poles come in conjugate pairs: −jω0 is a pole too.
The pair ±jω0 corresponds to the factor (s−jω0)(s+jω0)=s2+ω02 in the denominator of H.
Result:
perfect rejection (tracking) of s2+ω021⟺H(s) contains s2+ω021.
This is the internal model principle: to perfectly reject (or track) a signal, the loop must contain a model of the generator of that signal. For a step the model is 1/s; for polynomial signals 1/sr; for a sinusoid at ω0 it is 1/(s2+ω02). Since the plant may already supply part of this model, the controller needs to add only the missing poles, exactly as in the design consequence above (the case G with no such poles gives C(s)=s2+ω021C1(s)).
Rejection of a disturbance at the input of the plant
(The common factor DG cancels, as shown by the crossed-out terms on the slide.)
Step disturbance. Focus on di(t)=1(t), Di(s)=s1. Then Ydi(s)=Wdi(s)s1 and ydi(t)=L−1[Ydi(s)]. Since W(s) is BIBO stable, Wdi(s) is BIBO stable too, so the final value theorem applies:
Note the arrow: DC(0)=0 is sufficient (the product vanishes), not necessary, because NG(0)=0 would also do (a plant zero at the origin). The design rule from the slide:
perfect rejection of a step disturbance s1 at the input of the plant⟺C(s) contains s1.
In the formula Wdi=NGDC/(DCDG+NCNG) the plant poles sit in DG, which does not appear in the numerator: an integrator in the plant therefore does not help against a disturbance entering at the plant input, while one in the controller does. (This is a reading of the formula above, not a separate statement on the slides.)
Versione ripasso
Recap
Standard signal of order ℓ: ℓ!1tℓ1(t)↔1/sℓ+1. System of type K: H(s) contains 1/sK.
Steady-state error: type <ℓ gives ∞; type =ℓ gives 1/∣H1(0)∣ (type 0, ℓ=0: 1/∣1+H1(0)∣); type >ℓ gives 0.
Perfect tracking/rejection of 1/sr⟺H(s) contains 1/sr. Controller must add nC=nR−nG poles in 0: C=snC1C1.
Hurwitz polynomial: all roots with Re<0. W=NW/DW in least terms is BIBO stable ⟺DW Hurwitz. Closed loop: DW=NH+DH.
Sinusoidal disturbance on the output
W=H/(1+H), Wd=1/(1+H)=DH/(NH+DH), Y=WR+WdD.
d=sin(ω0t), D=ω0/(s2+ω02). By the frequency response theorem yd→MdAsin(ω0t+θd), with Md=∣Wd(jω0)∣.
yd→0⟺Md=0⟺DH(jω0)=0⟺±jω0 poles of H⟺H=s2+ω021Hs, Hs(jω0)=0.
Internal model principle: perfect rejection (tracking) of 1/(s2+ω02)⟺H(s) contains 1/(s2+ω02).
Disturbance at the plant input
Y=WR+WdiDi, Wdi=1+CGG=DCDG+NCNGNGDC.
Step di: final value theorem gives ydi(∞)=Wdi(0); it is zero if DC(0)=0, i.e. C=s1C1, C1(0)=0.
Integrator must be in the controller (not just the plant) for input disturbances.
Typical mistakes
Forgetting the stability requirement: all results need W (and Wd, Wdi) BIBO stable.
Taking only +jω0 as a pole: the conjugate −jω0 is needed, giving s2+ω02.
Counting a plant integrator as protection against a disturbance at the plant input.