| 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 solution 5. Build M and γ based onandfrom Equation (18) 6. If M (DU) ≤ γ is true, END MPC, do nothing. 7. Else execute Hildreth QP to provide constrained solution increment 8. Update control signal, 9. Final constraint check onto insure it stays within operating bounds 10. Update SOCmpc with SOC from EKF |