Introduction
Many real-world systems—from HVAC units in large buildings to field-controlled DC motors—exhibit bilinear dynamics. In these systems, the evolution of the state depends on the product of inputs and states (e.g., the effect of a cooling valve's position on temperature is dependent on the current temperature). Controlling these systems optimally requires solving a Nonlinear Model Predictive Control (NMPC) problem at every time step.
Because bilinear terms are non-convex, the resulting optimization is computationally intensive and prone to local minima. For high-speed applications or deployment on low-power hardware, standard solvers are often too slow or fail to provide a control signal if the system starts in an "infeasible" state. This paper introduces a novel parallelizable solver designed to overcome these hurdles.
Methodology: Interlacing and mpQPs
The researchers propose a two-pronged strategy to make bilinear MPC viable for real-time industrial microcontrollers.
Interlacing Horizon Splitting
Standard decomposition methods split a long control horizon into smaller chunks by adding auxiliary variables to link them, which increases the overall problem size. This paper introduces an "interlacing" scheme that binds the $k$-th input ($u_k$) directly with the $(k+1)$-th state ($x_{k+1}$).
This clever grouping keeps the number of decision variables identical to the original problem while allowing it to be broken down into smaller, parallelizable subproblems.
Proximal-Point Lagrangian & mpQPs
The non-convex problem is decomposed into a set of small-scale multi-parametric Quadratic Programs (mpQPs). The core innovation lies in the offline-online synergy:
- Offline Phase: Because the subproblems are small and structured, their solutions are pre-computed and stored in a binary search tree.
- Online Execution: When the controller runs, it avoids expensive "active set detection" (deciding which constraints are active). Instead, it performs a simple lookup and solves a sparse linear system, drastically reducing latency.
Experimental Validation
The algorithm was validated using several dynamic models and hardware setups:
- HVAC Simulation: A 15-dimensional model of a multi-zone building with 2 control inputs, tested via 100 Monte-Carlo simulations using real-world weather data.
- DC Motor Hardware: A physical field-controlled DC motor setup.
- Microcontroller Deployment: The algorithm was deployed on a TI LaunchPad XL F28379D, a standard industrial microcontroller, to prove real-time viability.
Key Results
- Real-Time Performance: On the TI microcontroller, the solver achieved a 10 ms update rate, with an average solve time of 1.764 ms and a maximum of 2.088 ms.
- Efficiency: In building control simulations, the proposed solver was 71% faster than
acados(a leading NMPC solver) in "cold-start" scenarios where no initial guess was available. - Robustness and Feasibility: Unlike traditional solvers that may return "NaN" (Not a Number) failures when a system is pushed into an infeasible region (e.g., a sudden temperature drop from an open window), the proximal-point approach ensures the solver always returns a solution that moves the system back toward the feasible region.
Limitations and Future Work
While the solver demonstrates significant speedups, it currently requires that stage costs and constraints are decoupled between states and inputs. Future research will focus on relaxing this requirement and explicitly accounting for stochastic uncertainty in forecasts (such as weather) within the optimization framework. Additionally, the performance relies on the tuning of two penalty parameters ($\rho$ and $\mu$), the optimal selection of which remains an open area for investigation.
Summary updated