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.

A <strong>Nonlinear</strong> <strong>Model</strong> <strong>Predictive</strong> Control Framework as Free S<strong>of</strong>tware 233( )p∑m∑Ψ i Y,U = e T ( ) TQuk ( )i+kQ yk e i+k + ui+k−1 − u r,i+k−1 ui+k−1 − u r,i+k−1k=1k=1where the subscript r st<strong>and</strong>s for reference [17, 18], Q uk <strong>and</strong> Q yk are weightingdiagonal matrices, <strong>and</strong> e i+k = y sp,i+k −y i+k . The penalty term is used only whenconstraint relaxation is requested, <strong>and</strong> ɛ is a measure <strong>of</strong> the original constraintviolations on the states, outputs, inputs <strong>and</strong> control move rates, defined byɛ = [ ɛ T x ɛT y ɛT u ɛT ∆u] T.The problem formulation is coded such that it can h<strong>and</strong>le either an exact ora quadratic penalty formulation. For instance, if the penalty term is definedaccording to the exact penalty formulation, it follows that P i (ɛ) =r T ɛ,wherer isthe vector <strong>of</strong> penalty parameters <strong>of</strong> appropriate size defined by: r =[ρ ···ρ] T ,ρ∈R + .Theaugmented vectors X, Y , U <strong>and</strong> ∆U are defined by⎡ ⎤⎡ ⎤ ⎡ ⎤ ⎡ ⎤∆u ix i+1 y i+1u iX = ⎢⎣⎥. ⎦ ,Y= ⎢⎣⎥. ⎦ ,U= ⎢⎣⎥. ⎦ <strong>and</strong> ∆U = ∆u i+1⎢ . ⎥⎣ . ⎦ ,x i+p y i+p u i+m−1∆u i+m−1where ∆u i+k = u i+k − u i+k−1 , k =2,...,m− 1. Vectors ∆U min <strong>and</strong> ∆U maxin (10) are defined as follows:∆U min = [ ∆u T min ··· ∆uT min] T, ∆Umax = [ ∆u T max ··· ∆uT max] T,with ∆u min ,∆u max ∈ R nm . Although in this representation it is assumed thatvectors ∆U min <strong>and</strong> ∆U max are constant over the entire input predictive horizon,the implementation <strong>of</strong> a variable pr<strong>of</strong>ile is straightforward. Equality constraints(5) result from the multiple shooting formulation <strong>and</strong> are incorporatedinto the optimization problem such that after convergence the state <strong>and</strong> outputpr<strong>of</strong>iles are continuous over the predictive horizon. Note that φ(¯x i+k−1 , ū i+k−1 ),that is, x i+k , is obtained through the integration <strong>of</strong> (1) inside the sampling intervalt ∈ [t i+k−1 ,t i+k ] only, using as initial conditions the initial nominal states<strong>and</strong> controls, ¯x i+k−1 <strong>and</strong> ū i+k−1 respectively. Equation (6) is the the outputterminal equality constraint.Finally, the actual implementation <strong>of</strong> the control formulation includes integralaction to eliminate the steady-state <strong>of</strong>fset in the process outputs resulting fromstep disturbances <strong>and</strong> to compensate to some extent the effect due to the modelplantmismatch. This is achieved by adding in the discrete linearized model thestate equations [17, 18]z i+k = z i+k−1 + K I(yi+k − y sp,i+k), k =1,...,p (12)with z i = z 0 ,wherez i ∈ R no , K I ∈ R no×no ,<strong>and</strong>z 0 is the accumulated value<strong>of</strong> steady state <strong>of</strong>fset over all the past <strong>and</strong> present time instants. The constant

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

Saved successfully!

Ooh no, something went wrong!