Download Code

In this work, we address the optimal control of parameter-dependent systems. We introduce the notion of averaged control in which the quantity of interest is the average of the states with respect to the parameter family

More precisely, we are interested in solving the next minimization problem:

Where $\mathcal{U}_{ad}$ is the space of admissible controls and $\bar{x}$ the average state target. The optimization problem (\ref{eq:costFunctional}) is subject to the finite dimensional linear control system

In (\ref{eq:primalODE}), the vector valued function $ x \left( t, \nu \right) \in \mathbb{R}^N$ is the state of the system, $A \left( \nu \right)$ is a $N \times N$-matrix governing its free dynamics and $u=u\left( t \right) \in \mathbb{R}^M $ is a $M$-component control, with $M \leq N$, entering and acting on the system through the control operator $B\left( \nu \right)$, a $N \times M$ parameter-dependent matrix. Moreover, the initial datum $x^0 \in \mathbb{R}^N$ to be controlled is independent of the parameter $\nu$, but the state of the system itself $x \left( t, \nu \right)$ depends on $\nu$. The effective value of the parameter $\nu$ being unknown, we aim at choosing a control that would perform optimally in an averaged sense, this is, rather than controlling specific realizations of the state, the average with respect to $\nu$ is controlled. This allows building a control independent of the parameter and making a robust compromise of all the possible realizations of the system for the various possible values of the unknown parameter $\nu$

We use the classical gradient descent method based on the adjoint methodology, and obtain the corresponding adjoint system for (\ref{eq:primalODE}),

To minimize the functional in (\ref{eq:costFunctional}), we take the steepest descent direction given by

Hence, the new control reads as

for some $\gamma$ small enough.

We have also used the conjugate gradient method in order to reach faster the optimal control. In order to be able to apply this method the state vector has been split as

where $z_u$ is the solution to the controlled system with zero initial condition,

and $y$ solves the free dynamics problem,

The functional in \ref{eq:costFunctional} can be expressed as

We introduce the linear operator

and its dual counterpart,

where $p\left(t, \nu\right)$ is solution to

By doing this we can write the functional gradient as

After having defined $A_{cg}$ and $b_{cg}$ we can apply the conjugate gradient method to solve the control problem.

Algorithm 1 Optimal control with Conjugate Gradient Method

Require: $A\left( \nu \right)$, $B\left( \nu \right)$, $x^0$, $u^{\left(0\right)}$, $\beta$, $T$, $\bar{x}$, $tol$

  1. $n \gets 0 $
  2. compute $\bar{y} \left( T \right)$
  3. $b \gets \Lambda^*\left( \bar{x} - \bar{y} \left( T \right) \right)$
  4. $z \gets \Lambda u$
  5. $g \gets \Lambda^*z + \beta u - b$
  6. $h \gets ||g||^2_{L^2\left(\left[0,T\right]\right)}$
  7. $h_a \gets h$
  8. $r \gets -g$
  9. While $||r||_{L^2\left(\left[0,T\right]\right)} > tol $ do
  10.     $z \gets \Lambda r$
  11.     $w \gets \Lambda^*z + \beta r$
  12.     $\alpha \gets \frac{h}{\left(r,w\right)_{L^2\left(\left[0,T\right]\right)}}$
  13.     $u \gets u + \alpha r$
  14.     $g \gets g + \alpha w$
  15.     $h_a \gets h$
  16.     $h \gets ||g||^2_{L^2\left(\left[0,T\right]\right)}$
  17.     $\gamma \gets \frac{h}{h_a}$
  18.     $r \gets -g + \gamma r$
  19.     $n \gets n + 1$

figure1aFigure 1.a: Control system with $N=3$, $M=1$ and target average state $\bar{x}=[0,0,0]^t$. Average state vector components.

figure1bFigure 1.b: Control system with $N=3$, $M=1$ and target average state $\bar{x}=[0,0,0]^t$. Control.

figure1bFigure 2: State vector components for every parameter $\nu_i$. One can observe that the final state $x\left(T, \nu_i \right)$ is not close to $\bar{x}=[0,0,0]^t$ in general.

Bibliography

[1] E. Zuazua (2014) Averaged Control. Automatica, 50 (12), p. 3077-3087.