-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmultiphysicsL20.tex
More file actions
128 lines (125 loc) · 4.6 KB
/
multiphysicsL20.tex
File metadata and controls
128 lines (125 loc) · 4.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
%
% Copyright © 2014 Peeter Joot. All Rights Reserved.
% Licenced as described in the file LICENSE under the root directory of this GIT repository.
%
%\input{../blogpost.tex}
%\renewcommand{\basename}{multiphysicsL20}
%\renewcommand{\dirname}{notes/ece1254/}
%\newcommand{\keywords}{ECE1254H}
%\input{../peeter_prologue_print2.tex}
%
%%\usepackage{macros_bm}
%
%\beginArtNoToc
%\generatetitle{ECE1254H Modeling of Multiphysics Systems. Lecture 20: Observability and controllability. Taught by Prof.\ Piero Triverio}
%%\chapter{Observability and controllability}
\label{chap:multiphysicsL20}
%\section{Disclaimer}
%
%Peeter's lecture notes from class. These may be incoherent and rough.
%
\section{Truncated Balanced Realization (1000 ft overview).}
\index{truncated balanced realization}
\index{TBR|see {truncated balanced realization}}
Consider a model in state space form
\begin{equation}\label{eqn:multiphysicsLecture20:20}
\begin{aligned}
\dot{\Bx} &= \BA \Bx(t) + \BB \Bu(t) \\
\By &= \BC \Bx(t) + \BD \Bu(t).
\end{aligned}
\end{equation}
The system has the form
\begin{equation}\label{eqn:multiphysicsLecture20:40}
\Bu(t)
\mathLabelBox
%[
% labelstyle={xshift=2cm},
% linestyle={out=270,in=90, latex-}
%]
{
\rightarrow
}
{controllability}
\Bx(t)
\mathLabelBox
[
labelstyle={xshift=2cm},
linestyle={out=270,in=90, latex-}
]
{
\rightarrow
}
{observability}
\By(t).
\end{equation}
\index{controlability}
\index{observability}
\makedefinition{Observability.}{dfn:multiphysicsL20:60}{
The system is observable if \( \forall t \), the initial state \( \Bx(t_0) \) can be determined knowing \( \Bu(t), \By(t), \qquad t \in [t_0, t_1] \).
\paragraph{Equivalent condition (if A stable)}
\index{A stable}
If A stable, the observability Gramian \( \BW_0 > 0 \)
\begin{equation}\label{eqn:multiphysicsLecture20:80}
\BW_0 = \int_0^\infty e^{\BA^\T \tau} \BC^\T \BC e^{\BA \tau} d\tau
\end{equation}
}
This \textAndIndex{Gramian} expression results from a calculation of the ``energy'' of the homogeneous system (no input \( \Bu(t) \) ), for which the system is in an initial state \( \Bx_0 \) at \( t = 0 \), with output
\begin{equation}\label{eqn:multiphysicsLecture20:100}
\By(t) = \BC e^{\BA t} \Bx_0.
\end{equation}
The output energy is
\begin{equation}\label{eqn:multiphysicsLecture20:120}
\begin{aligned}
\int_0^\infty \By^\T \By dt
&=
\int_0^\infty \Bx_0^\T
e^{\BA^\T t} \BC^\T \BC e^{\BA t} \Bx_0 dt
\\ &=
\Bx_0^\T \BW_0 \Bx_0
\\ &= \calE_0
\end{aligned}
\end{equation}
Consider the eigenvalues and vectors of \( \BW_0 \)
\begin{equation}\label{eqn:multiphysicsLecture20:140}
\BW_0 \Bx_{0, i} = \lambda_{0, i} \Bx_{0, i}.
\end{equation}
If \( \Bx_0 = \Bx_{0,i} \) this implies
\begin{equation}\label{eqn:multiphysicsLecture20:160}
\calE_0
=
\Bx_{0,i}^\T
\lambda_{0, i}
\Bx_{0,i}
\end{equation}
The eigenvalues of the observability Gramian can provide some useful information about what states are observable.
\makedefinition{Controllability.}{dfn:multiphysicsL20:180}{
If for any initial state \( \Bx(t_0) \) , there is a final time \( t_1 > t_0 \), and a final state \( \Bx_1 \) such that there exists an input \( \Bu^\conj(t) \) such that \( \Bx(t_1) = \Bx_1 \).
}
\index{Gramian}
\maketheorem{Controllability Gramian.}{dfn:multiphysicsL20:200}{
The system is controllable if and only if the controllability Gramian \( \BW_c > 0 \).
}
What is the energy of the input \( \Bu^\conj(t) \) that is needed to set up \( \Bx_1 \)? On the slides it is shown that this is
\begin{equation}\label{eqn:multiphysicsLecture20:200}
\calE_1
= \Bx_1^\T \BW_c^{-1} \Bx_1.
\end{equation}
if \( \Bx_1 \) is an eigenvector of \( \BW_c \) with eigenvalue \( \lambda_1 \), then this reduces to
\begin{equation}\label{eqn:multiphysicsLecture20:220}
\begin{aligned}
\calE_1
&= \inv{\lambda_1} \Bx_1^\T \Bx_1
\\ &= \inv{\lambda_1}.
\end{aligned}
\end{equation}
These eigenvalues provide information about how much energy is required to achieve any given state.
The purpose of considering observability and controllability is to help determine what modes can be safely discarded to reduce the model order. A state that cannot be achieved without excessive energy cost is not likely to be of interest.
While the explicit form of the controllability Gramian has not been given, it becomes of less interest since it is possible to make a change of variables, such that the controllability and observability Gramians become equal and diagonal.
\begin{equation}\label{eqn:multiphysicsLecture20:240}
\begin{aligned}
\mytilde{\BW_c} &= T \BW_c T^\T \\
\mytilde{\BW_o} &= T^{-\T} \BW_o T^{-1}
\end{aligned}
\end{equation}
Using these provides a balanced method to determine the most important modes to retain.
%\EndNoBibArticle