Abstract
Model Predictive Control (MPC) is a powerful tool for complex systems but is often limited by its high computational cost. This paper presents a hybrid controller architecture that utilizes Reinforcement Learning (RL) to dynamically determine when to update an MPC plan. By integrating a computationally inexpensive Linear Quadratic Regulator (LQR) to manage minor deviations between updates, the proposed system achieves near-optimal performance while reducing computational requirements by over 75%.
Introduction
Model Predictive Control (MPC) is widely regarded as the "gold standard" for controlling complex systems due to its ability to handle constraints and incorporate future predictions. However, the requirement to solve a complex optimization problem at every time step makes it resource-intensive, posing challenges for embedded systems with limited power and hardware capabilities. Traditional approaches often rely on fixed, arbitrary update intervals, which can be inefficient. This research addresses the problem by proposing an event-triggered mechanism where the system recomputes its plan only when the benefit of a new plan outweighs the computational cost.
Proposed Architecture
The authors introduce a three-part "event-triggered" architecture designed to balance performance and efficiency:
- The Planner (MPC): A high-level controller responsible for generating an optimal state trajectory and input sequence over a long horizon. This component represents the primary computational burden.
- The Compensator (LQR): A low-cost Linear Quadratic Regulator that adjusts the MPC’s pre-calculated plan in real-time to account for noise and prediction errors between MPC updates.
- The Trigger (RL): A reinforcement learning policy, trained using the GPOMDP policy gradient algorithm, that decides whether to trigger a new MPC update based on the current state.
The decision process is framed as a Markov Decision Process (MDP), where the RL agent is penalized for both control errors and recomputation events. The policy is implemented as a simple logistic regression model, ensuring extremely fast evaluation.
Experimental Results
The architecture was evaluated using two high-fidelity simulated environments: a nonlinear Inverted Cart-Pendulum and an economic Battery Storage System.
In the Cart-Pendulum task, the RL-triggered policy maintained stability and performance comparable to a full MPC (updating every step) while utilizing less than 25% of the computational resources. In the Battery Storage System, the agent managed stochastic price forecasts and production uncertainty, outperforming fixed-interval baselines by 5% to 7%.
The results indicate that the RL policy effectively learns the "value of computation," triggering updates only when the LQR can no longer compensate for drift or when significant forecast changes occur. Notably, evaluating the RL policy and LQR is approximately 1,000 times faster than solving the MPC optimization.
Key Insights
- LQR as a Bridge: The LQR serves to "stretch" the validity of an existing MPC plan, correcting for drift and allowing for longer intervals between expensive recomputations.
- Augmented State Space: Including the time elapsed since the last update in the RL agent's input allows the policy to account for plan "staleness," making the decision process Markovian.
- Robustness: The system's success with a simple RL function approximator suggests that the underlying hybrid architecture is fundamentally sound and robust to modeling choices.
Conclusion and Future Work
This hybrid RL-MPC approach demonstrates a significant reduction in computational overhead without sacrificing control performance. Future research may focus on "self-triggering" policies that predict the timing of the next update in advance, as well as using RL to tune the entire controller stack. Additionally, further verification is needed to ensure safety guarantees in stochastic, safety-critical environments.
Summary updated