A8 Linear Quadratic Output Tracking and Disturbance
A8 Linear Quadratic Output Tracking and Disturbance
To cite this article: Masoud Karimi-Ghartemani , S. Ali Khajehoddin , Praveen Jain & Alireza Bakhshai (2011)
Linear quadratic output tracking and disturbance rejection, International Journal of Control, 84:8, 1442-1449, DOI:
10.1080/00207179.2011.605908
Taylor & Francis makes every effort to ensure the accuracy of all the information (the “Content”) contained
in the publications on our platform. However, Taylor & Francis, our agents, and our licensors make no
representations or warranties whatsoever as to the accuracy, completeness, or suitability for any purpose of the
Content. Any opinions and views expressed in this publication are the opinions and views of the authors, and
are not the views of or endorsed by Taylor & Francis. The accuracy of the Content should not be relied upon and
should be independently verified with primary sources of information. Taylor and Francis shall not be liable for
any losses, actions, claims, proceedings, demands, costs, expenses, damages, and other liabilities whatsoever
or howsoever caused arising directly or indirectly in connection with, in relation to or arising out of the use of
the Content.
This article may be used for research, teaching, and private study purposes. Any substantial or systematic
reproduction, redistribution, reselling, loan, sub-licensing, systematic supply, or distribution in any
form to anyone is expressly forbidden. Terms & Conditions of access and use can be found at http://
www.tandfonline.com/page/terms-and-conditions
International Journal of Control
Vol. 84, No. 8, August 2011, 1442–1449
This article introduces the problem of linear quadratic tracking (LQT) where the objective is to design a
closed-loop control scheme such that the output signal of the system optimally tracks a given reference signal and
rejects a given disturbance. Different performance indices that have been used to address the tracking problem
are discussed and an appropriate new form is introduced. It is shown that a solution to the proposed optimality
index exists under very mild conditions of stabilisability and detectability of the plant state-space equations. The
solution is formulated based on converting the LQT problem to a standard linear quadratic regulation problem.
The method is applied to two examples, a first-order plant and a third-order plant, and their simulation results
are presented and discussed.
Downloaded by [Universite Laval] at 01:17 16 July 2014
Keywords: LQR; linear quadratic output tracking; linear quadratic disturbance rejection; optimal tracking
Assuming that the SFC and the OFC gain vectors are
Kp and Kc, the control law will be
x
u ¼ Kp xp Kc xc ¼ ðKp , Kc Þ p ¼ Kx ð8Þ
xc
Figure 2. The proposed closed-loop structure. where K is the overall controller gain vector.
Theorem 1: The pair (A, B) is stabilisable.
We assume that r and d are generated from
Proof of Theorem 1: It is sufficient to prove that the
finite-dimensional linear models given by
following matrix is full rank for all 2 Cþ (where Cþ is
x_ r ¼ Ar xr , xr ð0Þ ¼ xr0 , r ¼ Cr xr , the closed right half of the complex plane.)
ð3Þ
x_ d ¼ Ad xd , xd ð0Þ ¼ xd0 , d ¼ Cd xd :
I Ap 0 Bp
ðI A, BÞ ¼ : ð9Þ
Assumption I: The state-space representation of (2) is Bc Cp I Ac 0
stabilisable and detectable.
Based on Assumption I, the matrix (I Ap, Bp) has
full rank for all 2 Cþ. This fact together with the
specific block structure of matrix (9) means that
4. Proposed method (I A, B) has full rank for all 2 Cþexcept possibly
Downloaded by [Universite Laval] at 01:17 16 July 2014
4.1 Proposed closed-loop structure for eigenvalues of Ac. Now, assume that for a
The proposed closed-loop structure is shown in 2 Cþbelonging to the set of eigenvalues of Ac, the
Figure 2. It consists of a state-feedback controller matrix (I A, B) is not full rank. This implies that
(SFC) plus an output feedback controller (OFC). there exists a non-zero vector v such that
Structure of the OFC is specified based on the IM vT(I A, B) ¼ 0. Partitioning v into vT ¼ ðvT1 , vT2 Þ,
principle to ensure that the reference signal r is tracked we obtain
and the disturbance d is rejected (Francis and Wonham vT1 ðI Ap Þ þ vT2 Bc Cp ¼ 0,
1976). Assume that the OFC representation is ð10Þ
vT1 Bp ¼ 0, vT2 ðI Ac Þ ¼ 0:
x_ c ¼ Ac xc þ Bc e, ð4Þ
Now, we consider the proof in the two following cases.
where xc is the m-dimensional state vector. The . Case 1: is not an eigenvalue of Ap. Then the
characteristic polynomial of the OFC is first equation in (10) results in vT1 ¼
Dc ðsÞ ¼ detðsI Ac Þ, ð5Þ vT2 Bc Cp ðI Ap Þ1 . Substituting this into
the second equation of (10) results in
and to satisfy the IM principle, Dc(s) must (at least) vT2 Bc ½Cp ðI Ap Þ1 Bp ¼ 0. Now, based on
contain Dr(s) ¼ det(sI Ar) and Dd(s) ¼ det(sI Ad). Assumption III, Cp(I Ap)1Bp6¼0.
Two more assumptions are made as follows. Therefore vT2 Bc ¼ 0. This fact together with
Assumption II: The pair (Ac, Bc) in (4) is controllable. the third equation of (10) results in
vT2 ðI Ac , Bc Þ ¼ 0. But this contradicts
Assumption III: None of the poles of OFC (eigenva- Assumption II.
lues of Ac) is equal to a zero of the plant. . Case 2: is an eigenvalue of Ap. Then there
It will be shown shortly that, given the stated exist a non-zero vector v3 such that
assumptions, there exists a set of solutions for OFC (I Ap)v3 ¼ 0. This equation and the first
and SFC gains to make the closed-loop stable. The equation of (10) results in that vT2 Bc Cp v3 ¼ 0:
optimal solution is obtained among the stabilising set Now, vT2 Bc 6¼ 0, because vT2 Bc ¼ 0 with the
of gains. third equation in (10), this will contradict
If we define x ¼ ½xTp , xTc T , then the closed-loop Assumption II. Therefore, Cpv3 ¼ 0, contra-
system is dicting the detectability condition in
Assumption I.
x_ ¼ Ax þ Bu þ Br r þ Bd d, y ¼ Cx, ð6Þ
Ap 0 Bp T CTp
A¼ B¼ , , C ¼ , 4.2 Proposed solution
Bc Cp Ac 0 0
Define the operator Dc(D) ¼ det(DI Ac) ¼
0 Bpd
Br ¼ , Bd ¼ : ð7Þ Dm þ a1Dm1 þ þ am1D þ am where D is the differ-
Bc 0 entiating operator, and I is the identity matrix.
International Journal of Control 1445
Obviously, Dc(D)r ¼ Dc (D) d ¼ 0. Apply the operator If Cpv1 ¼ 0, then this along with the first equation
to both sides of (6) and (8) to arrive at of (15) contradicts the detectability in Assumption I.
On the other hand, Cpv1 6¼ 0 with the second equation
z_ ¼ Az þ Bv, v ¼ Kz, ð11Þ
of (15) mean that is a zero of the system x_ c ¼ Ac xc þ
where the transformed (or pseudo) state vector z and Bc e, yc ¼ Cc xc . But such a system has no zero because
the transformed (or pseudo) input v are its transfer function is Cc ðsI Ac Þ1 Bc ¼ Dc1ðsÞ (given
the controllable form).
z ¼ Dc ðDÞx, v ¼ Dc ðDÞu: ð12Þ
Remark 2: The proposed method also offers the
And z ¼ ½zTp , zTc T , zp ¼ Dc(D)xp and zc ¼ Dc(D)xc. possibility of including time-derivatives of the tracking
Remark 1: The equations in (11) show a standard error up to order m 1 in the cost function.
state-feedback law with no reference signal. Moreover, Considering the controllable canonical form for Ac
the pair (A, B) is stabilisable. Therefore, for any and Bc, it can be shown that zc(m) ¼ e, zc(m 1) ¼
Q ¼ HTH that makes (H, A) detectable, there exists a e_ , . . . , zc(1) ¼ e(m 1). By selecting Q ¼ diag{0, 0, . . . , 0,
solution to the following LQR problem: qm, qm1, . . . , q1}, the cost index will be extended to
Z1 Z1
2
J¼ ðzT Qz þ v2 Þdt ð13Þ J¼ ðq1 e2 þ q2 e_2 þ þ qm eðm1Þ þ v2 Þdt: ð16Þ
0 0
Downloaded by [Universite Laval] at 01:17 16 July 2014
that makes the closed-loop asymptotically stable. This index can be used to reduce undesired oscillations
Theorem 2: The matrices Ac and Bc can be properly (Example 2 in Section 5).
selected to ensure that z(m þ n) ¼ zc(m) ¼ e, where Remark 3: For Q ¼ diag{qmþn, . . . , qmþ1, qm, . . . , q1},
z(m þ n) is the last element of z. (16) further extends to
Proof of Theorem 2: The OFC state vector xc Z1
2
satisfies (DI Ac)xc ¼ Bce. Therefore, zc ¼ Dc(D)xc ¼ J¼ ðq1 e2 þ q2 e_2 þ þ qm eðm1Þ
adj(DI Ac)Bce, where adj() denotes the matrix 0
adjugate satisfying adj(X )X ¼ det(X ). Now consider þ qmþ1 zp ðnÞ2 þ þ qmþn zp ð1Þ2 þ v2 Þdt: ð17Þ
the controllable canonical form representation of
(Ac, Bc). The last element of zc, i.e. zc(m) will be equal The transformed state zp ¼ Dc(D)xc reflects the tran-
to the (m, 1) element of the adjugate matrix multiplied sient of the original state xc. Therefore, this extended
by e. The (m, 1) element of the adjugate matrix will be functional can be used to improve those transient
equal to the determinant of the submatrix that is behaviours (Example 2 in Section 5).
obtained by removing (1, m) element, and it is equal to Remark 4: When the OFC is a simple first-order
(1)(m1)(1)(mþ1) ¼ 1. Therefore, zc(m) ¼ e. integrator (I), i.e. Dc(s) ¼ s, then the index can only
The result of Theorem 2 is that, for the selection of contain the tracking error and higher order derivatives
Q ¼ diag{0, 0, . . . , 0, q}, (13) becomes of error are excluded. The OFC can be extended to a PI
Z1 Z1 structure to include the first-order derivative of the
J¼ ðzT Qz þ v2 Þdt ¼ ðqe2 þ v2 Þdt, ð14Þ error function. Assume that the OFC’s structure is 1þs
0 0 s
where is a known positive scalar. Thus, (1)
that is, exactly equal to the desired cost function (1). changes to
The following Theorem proves that for such a selection Z1
of matrix Q, a solution exists such that the closed-loop
J¼ _ 2 þ v2 dt:
½qðe þ eÞ ð18Þ
system is asymptotically stable. 0
Theorem 3: Define the m-dimensional row vector If we define x_ c ¼ e þ e_ ¼ r Cp xp Cp ðAp xp þ
Cc ¼ (0, . . . , 0, 1) and the n þ m dimensional row vector Bp u þ Bpd d Þ, then A and B in (7) change to
H ¼ (0, Cc). Then, the pair (H, A) is detectable.
! !
Proof of Theorem 3: If (H, A) is not detectable, then Ap 0 Bp
A¼ , B¼ : ð19Þ
there exists a scalar 2 Cþ and a non-zero vector Cp Cp Ap 0 Cp Bp
v ¼ ½vT1 , vT2 T such that
It is straightforward to prove that the associated LQR
I Ac Bc v2
ðI Ap Þv1 ¼ 0, ¼ 0: problem has a stabilising solution for all 40. The
Cc 0 C p v1
same procedure that has been previously formulated
ð15Þ can then be followed to obtain the solution.
1446 M. Karimi-Ghartemani et al.
Increasing will improve the behaviour of the tracking The control law (25) comprises the term Kx þ u
error derivative at the expense of degrading the that is generally unknown as it depends on the
behaviour of the tracking error itself. This manifests disturbance signal. Such a term acts as a second
itself mainly in terms of slower transient response as disturbance signal if we consider the modified control
shown by an example in Section 5. law as u ¼ Kx. It is, however, noticed that the
minimum cost function value is Jmin ¼ xð0Þ ~ T Fxð0Þ,
~
which is independent of the disturbance signal.
Therefore, the minimal solution does not depend on
4.3 Importance of pseudo-input variable v the value of this term and we can remove it. Such a
The above derivations show that the cost function of solution makes the closed-loop stable as long as (Q, A)
(1) has a well-defined form for the proposed control is detectable.
structure of Figure 2. This is in the sense that it avoids In order to examine the index (20), we notice that
being unbounded and it offers a feedback solution that the tracking error is equal to e ¼ y. ~ Thus,
makes the loop asymptotically stable. One may think e2 ¼ ðCxÞ~ T ðCxÞ ~ Therefore, qe2 ¼ x~ T Qx~
~ ¼ x~ T CT Cx:
of other forms for a cost function such as where Q ¼ qCTC. With such selection for Q, the
index (24) coincides with (20). The most significant
Z 1 question now is whether the closed-loop system
J¼ ½qe2 þ ðu u Þ2 dt, ð20Þ becomes asymptotically stable with such a selection.
0
Downloaded by [Universite Laval] at 01:17 16 July 2014
Figure 3. Response of system of Example 1 to unit step disturbance: (a) output signal and (b) control signal.
command: (a) output signal and (b) control signal.
Table 1. Index data for Example 1 (step command). Table 2. Index data for Example 1 (step disturbance).
(b)
−0.5
0 0.1 0.2 0.3 0.4 0.5
Tracking error to unit sinusoidal reference (q1= 10,000)
(b) 1
−0.5
0 0.1 0.2 0.3 0.4 0.5
Time (s) Figure 7. Response of system of Example 2 to unit sinusoi-
dal disturbance when q1 ¼ 10,000 and (a) q2 ¼ 0, (b) q2 ¼ 100
Downloaded by [Universite Laval] at 01:17 16 July 2014
R
(a)
converters (Wu and Lehn 2006; Huerta, Bueno,
Cobreces, Rodriguez, and Giron 2008). The objective
is to design an optimal controller for tracking
sinusoidal references and rejecting sinusoidal distur-
bances both at frequency !o ¼ 20. To this end, the
(b)
OFC matrices are selected as
0 !2o 1
Ac ¼ , Bc ¼ :
1 0 0
The overall closed-loop system matrices A and B are (c)
calculated from (7) and the LQR problem is solved for
three different values of q ¼ 100, 1000 and 10,000. The
closed-loop response to the unit sinusoidal reference is
shown in Figure 6(a) for all three values of q. It is
observed that the tracking features improve by
Figure 8. Response of system of Example 2 to unit sinusoi-
increasing q. Response of the system to a unit dal disturbance when q1 ¼ 10,000, q2 ¼ 1000 and (a) q3 ¼ 0
sinusoidal disturbance is shown in Figure 7(a) for (b) q3 ¼ 0.1 and (c)q3 ¼ 1.
q ¼ 10,000. The response to the disturbance has some
oscillations with very low damping. This behaviour
originates from the two undamped poles of the plant function of (17). Figure 8 shows the impact of three
on the imaginary axis. Such behaviour can be values of q3 ¼ 0, 0.1 and 1 when q1 and q2 are fixed at
10,000 and 1000 respectively. This shows that unde-
improved by incorporating the time-derivative of the
sired resonances can greatly be reduced by q3. Notice
tracking error in the cost function, as shown in
that q3 is the weight applied to zp(3) that is the
Remark 3, Equation (16). By increasing q2 from 0 to
transformed output. Increasing q3 thus improves the
100 and then to 1000, the undesired oscillations on the
transient behaviour of the output.
tracking error are reduced. Figure 6(b) shows the
tracking error when the unit sinusoidal reference is
applied. Figure 7(b) and (c) show the tracking error to
unit sinusoidal disturbance. 6. Conclusion
It is possible to make the output signal behave The LQT problem over infinite-time interval was
more smoothly by considering the extended cost addressed in this note. The cost function is based on
International Journal of Control 1449
using a transformation on the state variables and Gale, D. (1967), ‘On Optimal Development in
control signal such that the steady-state response of the Multi-sector Economy’, Review of Economic Studies, 37,
system is eliminated and components of the transient 1–19.
Huerta, F., Bueno, E., Cobreces, S., Rodriguez, F., and
response penalised proportional to their ‘distance’
Giron, C. (2008), Control of grid-connected voltage source
from the steady-state response. This article derived
converters with LCL filter using a Linear
necessary and sufficient conditions for existence of the Quadratic servocontroller with state estimator, IEEE
solution. It is also shown that the direct extension of Power Electronics Specialists Conference PESC,
the regulation functional (LQR) does not guarantee pp. 3794–3800.
stability of the closed-loop system. Results confirmed Kalman, R. (1960), ‘Contributions to the Theory of Optimal
that the solution for the LQT problem (as formulated Control’, Bol. Sot. Matem. Mex., 5(2), 102–119.
here) is actually obtained from the same Riccati Krikelis, N., and Papadopoulos, E. (1982), ‘An Optimal
equation associated with the LQR problem. This is Approach for Tracking Problems and its Assessment
not unexpected due to the close relationship between Against Classical Controllers’, International Journal of
Control, 36, 249–265.
the two problems. However, the LQR formulation
Lin, F. (2000), ‘An Optimal Control Approach to Robust
does not provide an adequate guideline as to how to Control Design’, International Journal of Control, 73,
choose matrix Q to obtain good tracking properties. 177–186.
Our proposed method offers such an advantage. Lin, F. (2007), Robust Control Design: an Optimal Control
Approach, West Sussex, England: Wiley & Sons.
Downloaded by [Universite Laval] at 01:17 16 July 2014