Dynamic Mode Decomposition with Control

Joshua L. Proctor, Steven L. Brunton, J. Nathan KutzSIAM 2014

TL;DR

This paper introduces Dynamic Mode Decomposition with Control (DMDc), a data-driven method that extends the popular Dynamic Mode Decomposition (DMD) to accurately model complex, high-dimensional systems that are subject to external control inputs. DMDc allows for the extraction of underlying system dynamics and the quantification of control effects, enabling the creation of accurate input-output models without prior knowledge of the system's governing equations.

What Problem Does This Paper Address?

Many real-world systems, from fluid dynamics to epidemiology, are high-dimensional and complex, making them difficult to model and control. Traditional methods for extracting low-order models, like Balanced Truncation or Eigensystem Realization Algorithm (ERA), often struggle with high dimensionality or require detailed knowledge of the system's equations. Dynamic Mode Decomposition (DMD) has been successful in identifying underlying spatio-temporal coherent structures in complex systems without needing explicit equations. However, standard DMD fails when external control inputs are present, as these inputs corrupt the identified dynamics and modes, preventing the creation of an input-output model. This paper addresses the critical need for a data-driven method that can disentangle the system's intrinsic dynamics from the influence of external controls, thereby enabling accurate modeling and control design for actuated systems.

Methods

The core innovation is the development of Dynamic Mode Decomposition with Control (DMDc). DMDc builds upon the foundation of DMD by incorporating measurements of control inputs alongside state measurements.

The standard DMD approach relies on constructing two matrices, $X$ and $X'$, from sequential snapshots of the system's state. The relationship $X' = AX$ is then used to approximate the system operator $A$.

DMDc extends this by considering the system dynamics as $X_{k+1} = AX_k + BU_k$, where $U_k$ represents the control input at time step $k$, and $B$ is the input matrix. To handle this, DMDc constructs an augmented data matrix $\Omega$ that combines state and control snapshots.

The method then proceeds in two main scenarios:

  1. Known Input Matrix B: If the effect of the control input (matrix $B$) is known or can be accurately estimated, DMDc rearranges the equation to $X' - BY = AX$. This allows for the approximation of the dynamics matrix $A$ using a similar SVD-based approach as in standard DMD, but with the control influence removed.
  2. Unknown Input Matrix B: This is the more general and powerful case. DMDc augments the state snapshots with control snapshots to form a matrix $\Omega$. By performing a singular value decomposition (SVD) on $\Omega$, the method can simultaneously approximate both the dynamics matrix $A$ and the input matrix $B$. This is achieved by decomposing the resulting operator $G \approx [A, B]$ from the SVD of $\Omega$.

Crucially, DMDc, like DMD, leverages SVD for dimensionality reduction, allowing for the computation of a compact, reduced-order model even for very high-dimensional systems. The dynamic modes (eigenvectors) are then derived from the approximated dynamics matrix $A$.

Datasets

The paper demonstrates DMDc on several synthetic datasets generated to represent different types of dynamical systems:

  • Example 1: Unstable linear system with proportional controller: A 2D unstable system with a stabilizing controller is used to show how DMDc can recover the true unstable dynamics even when a controller is applied.
  • Example 2: Large-scale, stable linear systems: This example uses randomly generated discrete state-space models with a high number of measurement variables (100) but a low-dimensional underlying attractor (5D). This scenario highlights DMDc's ability to handle large-scale systems and recover the low-dimensional dynamics.
  • Example 3: A sparse linear system in the Fourier domain: This example models a system on a spatial grid (128x128) with only a few dominant Fourier modes, incorporating actuation in the spatial domain. This is motivated by epidemiological modeling.

The paper does not introduce new benchmark datasets but rather uses synthetic data to illustrate the method's capabilities.

Key Insights and Ideas

  • Disentangling Dynamics from Actuation: The most significant insight is DMDc's ability to separate the intrinsic dynamics of a system from the effects of external control inputs. This is a fundamental limitation of standard DMD that DMDc overcomes.
  • Data-Driven Input-Output Modeling: DMDc provides a powerful, equation-free approach to derive input-output models from observational data. This is invaluable for systems where the underlying physics are unknown or too complex to model explicitly.
  • Unified Framework for Control and Dynamics: The method offers a unified way to analyze both the system's inherent behavior and how external forces influence it, which is crucial for effective control design.
  • Leveraging SVD for High Dimensions: By building on DMD's reliance on SVD, DMDc effectively handles high-dimensional data, enabling the extraction of low-dimensional models that are computationally tractable.
  • Relevance to Real-World Problems: The paper highlights applications in areas like epidemiology, where understanding disease spread and the impact of interventions (like vaccinations) is critical.

Key Results

  • DMDc successfully recovers the underlying dynamics of systems even when subjected to external control inputs, as demonstrated in Example 1 where it identified unstable dynamics that would appear stable without considering the controller.
  • In large-scale systems (Example 2), DMDc accurately identified the low-dimensional attractor from high-dimensional measurements, outperforming standard DMD which would be confounded by the large state space.
  • The method accurately identified both the system dynamics ($A$) and the control input matrix ($B$) from snapshot data, even when $B$ was initially unknown.
  • The paper shows that DMDc can discover underlying eigenvalues more accurately than standard DMD, particularly in the presence of actuation.
  • The method is demonstrated to be robust to noise in the input data.

Limitations and Future Work

  • Assumption of Linearity: The current formulation of DMDc assumes linear dynamics. While DMD has connections to nonlinear systems via Koopman operator theory, the presented DMDc is primarily a linear method. The authors acknowledge that extending DMDc to nonlinear systems would be a valuable future direction.
  • Data Requirements: Like DMD, DMDc requires sufficient snapshot data to accurately capture the system's dynamics. The number of snapshots needed can vary depending on the system's complexity and linearity.
  • Computational Cost: While DMDc offers dimensionality reduction, the initial SVD computations on potentially large matrices can still be computationally intensive, though significantly less so than solving the full-dimensional system.
  • Future Work: The authors suggest applying DMDc to a wider range of complex, high-dimensional systems, including those in fluid dynamics and epidemiology. They also point to the potential for integrating DMDc with other advanced control strategies and sparsity-promoting techniques for even more efficient and robust analysis.

Summary updated

BibTeX
@inproceedings{proctor2014dynamic,
  author = {Joshua L. Proctor and Steven L. Brunton and J. Nathan Kutz},
  title = {{Dynamic Mode Decomposition with Control}},
  booktitle = {SIAM},
  year = {2014},
}
Figure