|
Algorithm 1. Algorithm for a nonlinear MHE |
| Set
and set
|
|
while (brake==false) do
|
| Fill ring buffer with measurements and system inputs:
|
| if
then
|
| append to and to
|
| else
|
| left shift one entry of and
|
| and append respectively
|
| end if
|
| Optimize over stored measurement window (Equation (8)):
|
| if
then
|
| Propagate
via a Kalman Filter step (e.g., EKF or UKF cf. 2):
|
| xKF(
|
| Project states on the constrained area (c.f. Appendix B)
|
|
|
| end if |
|
| end while |