File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -74,12 +74,15 @@ in which `Hp` and `Hc` keyword arguments are respectively the predictive and con
7474horizons, and ` Mwt ` and ` Nwt ` , the output setpoint tracking and move suppression weights. By
7575default, [ ` LinMPC ` ] ( @ref ) controllers use [ ` OSQP ` ] ( https://osqp.org/ ) to solve the problem,
7676soft constraints on output predictions `` \mathbf{ŷ} `` to ensure feasibility, and a
77- [ ` SteadyKalmanFilter ` ] ( @ref ) to estimate the plant states. An attentive reader will also
77+ [ ` SteadyKalmanFilter ` ] ( @ref ) to estimate the plant states[ ^ 1 ] . An attentive reader will also
7878notice that the Kalman filter estimates two additional states compared to the plant model.
7979These are the integrators for the unmeasured plant disturbances, and they are automatically
8080added to the model outputs by default if feasible (see [ ` SteadyKalmanFilter ` ] ( @ref )
8181for details).
8282
83+ [ ^ 1 ] : We could have use an [ ` InternalModel ` ] ( @ref ) structure to avoid state estimator design.
84+ It was tested on the example of this page and it gives similar results.
85+
8386Before closing the loop, we call [ ` initstate! ` ] ( @ref ) with the actual plant inputs and
8487measurements to ensure a bumpless transfer. Since ` model ` simulates our plant here, its
8588output will initialize the states. [ ` LinModel ` ] ( @ref ) objects are callable for this purpose
You can’t perform that action at this time.
0 commit comments