Skip to main content
. 2022 Aug 26;22(17):6438. doi: 10.3390/s22176438
Algorithm 9: Functional Flow of Physics-Based Model Predictive Control
1. Calculate next state for the state vector based on current state from EKF
2. Calculate change increment for the state vector and control signals
3. Compute E and F from the cost optimization forms
4. Compute the unconstrained solutionDU=E1F
5. Build M and γ based onGφseandΦφsefrom Equation (18)
6. If M (DU) ≤ γ is true, END MPC, do nothing.
7. Else execute Hildreth QP to provide constrained solution incrementΔUk[0]
8. Update control signal,igref=igref+ΔUk[0]
9. Final constraint check onigrefto insure it stays within operating bounds
10. Update SOCmpc with SOC from EKF