Abstract
Control of linear time-varying (LTV) systems remains a fundamental challenge in robotics and infrastructure management due to the inherent unpredictability of system dynamics. While Linear Quadratic Regulator (LQR) frameworks are well-understood for time-invariant systems, they often lack stability guarantees when applied online to LTV systems. This paper presents COCO-LQ (COvariance Constrained Online Linear Quadratic control), an optimization-based approach that introduces a state covariance constraint to ensure stability. We evaluate the algorithm across synthetic systems, power grid frequency control, and nonlinear pendulum tasks, demonstrating its ability to maintain stability where traditional methods fail, while remaining cost-effective.
1. Introduction
Classical control theory has largely mastered Linear Time-Invariant (LTI) systems, where system dynamics remain constant. However, many modern engineering challenges involve Linear Time-Varying (LTV) dynamics. Examples include power grids integrated with volatile renewable energy sources and autonomous vehicles navigating changing environments. In these scenarios, the system matrices change at each time step, often in ways that cannot be predicted.
The primary difficulty in online LTV control is balancing performance (cost) with safety (stability). A controller optimized for current dynamics may become unstable if the system shifts abruptly. Conversely, overly conservative controllers may ensure stability at the expense of prohibitive operational costs. This paper introduces COCO-LQ to bridge this gap, providing the first provable stability guarantees for online LTV control.
2. The COCO-LQ Framework
The core of the COCO-LQ algorithm is a reformulation of the standard LQR problem into a Semi-Definite Program (SDP). While traditional LQR minimizes a quadratic cost function, COCO-LQ introduces a critical safety mechanism: a state covariance constraint.
2.1 Covariance Constrained Optimization
The algorithm constrains the "spread" of the system's state relative to the process noise. By bounding the state covariance matrix, the controller is forced to maintain the system within a safe region of the state space. This constraint is governed by a hyperparameter $\alpha \in [0, 1)$.
The parameter $\alpha$ serves as a tunable trade-off between stability and cost:
- Low $\alpha$: Prioritizes stability, resulting in a more conservative controller.
- High $\alpha$: Prioritizes cost reduction, allowing the controller to behave more like a standard LTI-optimal solution.
2.2 Sequential Strong Stability
The mathematical foundation of COCO-LQ lies in "sequential strong stability." The authors demonstrate that by enforcing the covariance constraint at each step, the system implicitly satisfies conditions required for Input-to-State Stability (ISS). This ensures that as long as the external disturbances are bounded, the system state remains bounded. Theoretically, setting $\alpha < 0.5$ provides a "safe zone" that guarantees stability for a wide class of systems.
3. Handling Volatility and Model Error
In cases where the system dynamics change so rapidly that a single-step controller cannot find a feasible solution, the authors propose COCO-LQ-Prediction. This variant utilizes a short-term look-ahead (receding horizon) to identify a stable control sequence.
Furthermore, the framework is robust to modeling inaccuracies. The paper establishes that COCO-LQ maintains stability even when the controller operates on an estimated model, provided the estimation error remains within a defined threshold. This makes the algorithm applicable to real-world scenarios where perfect system identification is impossible.
4. Experimental Results
The authors validated COCO-LQ across three distinct domains:
4.1 Synthetic LTV Systems
In tests involving systems that switch between different stable modes, "naive" controllers (which simply apply the best LTI controller for the current moment) frequently led to divergence. In contrast, COCO-LQ remained stable and achieved costs within 30% of the offline optimal controller—a theoretical benchmark that requires full knowledge of future dynamics.
4.2 Power System Frequency Control
Using the IEEE WECC 3-machine 9-bus system, the authors simulated a power grid with high renewable penetration. COCO-LQ successfully maintained frequency fluctuations within the strict $\pm 0.05$ Hz safety margin. Standard predictive controllers failed in this environment, leading to grid frequency divergence.
4.3 Nonlinear Pendulum
To test the algorithm's versatility, it was applied to an inverted pendulum swing-up task. By linearizing the nonlinear dynamics at each time step, COCO-LQ was able to stabilize the pendulum, demonstrating that the algorithm's robustness to model error allows it to handle the "noise" introduced by local linear approximations of nonlinear systems.
5. Conclusion and Future Work
COCO-LQ represents a significant step forward in the online control of unpredictable systems. By shifting the focus from objective-based stability to constraint-based stability, the authors provide a practical tool for high-stakes LTV applications.
Future research directions include tightening the theoretical bounds for $\alpha$, establishing formal regret bounds to compare against offline optimal strategies, and optimizing the computational load of solving SDPs for high-frequency robotic applications.
Summary updated