13.07.2015 Views

Assessment and Future Directions of Nonlinear Model Predictive ...

Assessment and Future Directions of Nonlinear Model Predictive ...

Assessment and Future Directions of Nonlinear Model Predictive ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

172 H.G. Bock et al.contractivity <strong>of</strong> the real-time iterates, but that we leave this rare updating unconsideredhere for simplicity <strong>of</strong> presentation. For mildly nonlinear systems, however,the matrices A, B, C might really be kept constant without any updates,for example evaluated once for all at a reference solution.In what follows, three different variants <strong>of</strong> the real-time iteration scheme willbe shown in detail, differing in the choice <strong>of</strong> a k , b k ,<strong>and</strong>c k . While variant A isnothing else than linear MPC, variant B converges to nonlinearly feasible (butsuboptimal) MPC solutions. Variant C will even converge to the true nonlinearMPC feedback - without the need to evaluate any derivative matrix online. Butbefore we proceed, a preliminary remark on condensing <strong>of</strong> a QP is necessary.4.1 A Prerequisite: Offline CondensingIn all approaches we use fixed approximations <strong>of</strong> the Jacobians B <strong>and</strong> C, e.g.byevaluating <strong>of</strong>fline ∇ w b(¯w) T <strong>and</strong> ∇ w c(¯w) T for a reference trajectory ¯w that maybe an exact or approximate solution <strong>of</strong> an NLP P (¯x) for some state ¯x. Wealsouse a fixed approximation A <strong>of</strong> the Hessian, that may be based on the referencesolution <strong>of</strong> P (¯x) <strong>and</strong> computed as ∇ 2 w L(¯w, ¯λ, ¯µ), or be chosen otherwise. Online,we use these fixed components A, B, C to formulate a QP <strong>of</strong> the form (14),where only the vectors a k ,b k ,c k <strong>and</strong> the initial value x k are changing online.It is well known that because ∇ s b(¯w) is invertible, the online QP solution canbe prepared by a condensing <strong>of</strong> the QP [5, 8]: We divide ∆w into its state <strong>and</strong>control components ∆s <strong>and</strong> ∆u, <strong>and</strong> resolve the equality constraints (14b) toobtain ∆s as a linear function <strong>of</strong> ∆u (<strong>and</strong> x k ), such that we can substitute∆w = m(b k )+ ˜Lx k + M∆u. (15)Note that the matrices ˜L <strong>and</strong> M are independent <strong>of</strong> a k ,b k ,c k ,x k <strong>and</strong> can in allvariants be precomputed <strong>of</strong>fline, exploiting the structure <strong>of</strong> B in Eq. (10). InEq. (17) below, we show how m(b k ) can be computed efficiently online. We useexpression (15) to substitute ∆w wherever it appears in the QP, to yield thecondensed QP:1(min∆u 2 ∆uT A c ∆u +subject toTa c (a k ,b k k) )+Ãx ∆u. (16)(c c (c k ,b k )+ ˜Cx k)+ C c ∆u ≥ 0All matrices, A c := M T AM, à := M T A˜L, ˜C := C ˜L, C c := CM <strong>of</strong> this condensedQP are precomputed <strong>of</strong>fline. Online, only the vectors a c (a k ,b k )+Ãx k<strong>and</strong> c c (c k ,b k )+ ˜Cx k need to be computed, as shown in the following.4.2 Variant A: Linear MPC Based on a Reference TrajectoryIn the first approach [3, 8], we compute <strong>of</strong>fline the fixed vectors b := b 0 (¯w),c:=c(¯w)<strong>and</strong>a := ∇ w a(¯w), <strong>and</strong> set a k := a, b k := b, c k := c in all real-time iterations.We can therefore precompute m := m(b) <strong>and</strong>alsoa c := a c (a, b) =M T (Am + a)<strong>and</strong> c c := c c (c, b) =c + Cm.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!