digital-brain/public/book/skogestad07_multiv_feedb_contr/index.html
2020-06-03 22:43:54 +02:00

4976 lines
369 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Multivariable feedback control: analysis and design - My digital brain</title>
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="theme-color" content="#f8f5ec" />
<meta name="msapplication-navbutton-color" content="#f8f5ec">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec">
<meta name="author" content="
&mdash;
Thomas Dehaeze
" /><meta name="description" content="Tags Reference Books, Multivariable Control Reference (Skogestad &amp;amp; Postlethwaite, 2007) Author(s) Skogestad, S., &amp;amp; Postlethwaite, I. Year 2007 \( % H Infini \newcommand{\hinf}{\mathcal{H}_\infty} % H 2 \newcommand{\htwo}{\mathcal{H}_2} % Omega \newcommand{\w}{\omega} % H-Infinity Norm \newcommand{\hnorm}[1]{\left\|#1\right\|_{\infty}} % H-2 Norm \newcommand{\normtwo}[1]{\left\|#1\right\|_{2}} % Norm \newcommand{\norm}[1]{\left\|#1\right\|} % Absolute value \newcommand{\abs}[1]{\left\lvert#1\right\lvert} % Maximum for all omega \newcommand{\maxw}{\text{max}_{\omega}} % Maximum singular value \newcommand{\maxsv}{\overline{\sigma}} % Minimum singular value \newcommand{\minsv}{\underline{\sigma}} % Under bar \newcommand{\ubar}[1]{\text{\b{$#1$}}} % Diag keyword \newcommand{\diag}[1]{\text{diag}\{{#1}\}} % Vector \newcommand{\colvec}[1]{\begin{bmatrix}#1\end{bmatrix}} \) \( \newcommand{\tcmbox}[1]{\boxed{#1}} % Simulate SIunitx \newcommand{\SI}[2]{#1\,#2} \newcommand{\ang}[1]{#1^{\circ}} \newcommand{\degree}{^{\circ}} \newcommand{\radian}{\text{rad}} \newcommand{\percent}{\%} \newcommand{\decibel}{\text{dB}} \newcommand{\per}{/} % Bug with subequations \newcommand{\eatLabel}[2]{} \newenvironment{subequations}{\eatLabel}{} \) Introduction" />
<link rel="canonical" href="/book/skogestad07_multiv_feedb_contr/" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link href="/sass/main.min.47a894bd6354cc46903f62433747958dc936e1c95c28a76ac80319bca9708ed1.css" rel="stylesheet">
</head>
<body>
<div id="mobile-navbar" class="mobile-navbar">
<div class="mobile-header-logo">
<a href="/" class="logo">Digital Brain</a>
</div>
<div class="mobile-navbar-icon">
<span></span>
<span></span>
<span></span>
</div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
<ul class="mobile-menu-list">
<a href="/">
<li class="mobile-menu-item">Home</li>
</a><a href="/zettels/">
<li class="mobile-menu-item">Zettels</li>
</a><a href="/book/">
<li class="mobile-menu-item">Books</li>
</a><a href="/paper/">
<li class="mobile-menu-item">Papers</li>
</a><a href="/search/">
<li class="mobile-menu-item">Search</li>
</a>
</ul>
</nav>
<div class="container" id="mobile-panel">
<header id="header" class="header">
<div class="logo-wrapper">
<a href="/" class="logo">Digital Brain</a>
</div>
<nav class="site-navbar">
<ul id="menu" class="menu">
<li class="menu-item">
<a class="menu-item-link" href="/">Home</a>
</li><li class="menu-item">
<a class="menu-item-link" href="/zettels/">Zettels</a>
</li><li class="menu-item">
<a class="menu-item-link" href="/book/">Books</a>
</li><li class="menu-item">
<a class="menu-item-link" href="/paper/">Papers</a>
</li><li class="menu-item">
<a class="menu-item-link" href="/search/">Search</a>
</li>
</ul>
</nav>
</header>
<main id="main" class="main">
<div class="content-wrapper">
<div id="content" class="content">
<article class="post">
<div class="post-content">
<dl>
<dt>Tags</dt>
<dd><a href="/zettels/reference_books/">Reference Books</a>, <a href="/zettels/multivariable_control/">Multivariable Control</a></dd>
<dt>Reference</dt>
<dd><sup id="ad6f62e369b7a8d31c21671886adec1f"><a href="#skogestad07_multiv_feedb_contr" title="Skogestad \&amp; Postlethwaite, Multivariable Feedback Control: Analysis and Design, John Wiley (2007).">(Skogestad &amp; Postlethwaite, 2007)</a></sup></dd>
<dt>Author(s)</dt>
<dd>Skogestad, S., &amp; Postlethwaite, I.</dd>
<dt>Year</dt>
<dd>2007</dd>
</dl>
<div style="display: none"> \(
% H Infini
\newcommand{\hinf}{\mathcal{H}_\infty}
% H 2
\newcommand{\htwo}{\mathcal{H}_2}
% Omega
\newcommand{\w}{\omega}
% H-Infinity Norm
\newcommand{\hnorm}[1]{\left\|#1\right\|_{\infty}}
% H-2 Norm
\newcommand{\normtwo}[1]{\left\|#1\right\|_{2}}
% Norm
\newcommand{\norm}[1]{\left\|#1\right\|}
% Absolute value
\newcommand{\abs}[1]{\left\lvert#1\right\lvert}
% Maximum for all omega
\newcommand{\maxw}{\text{max}_{\omega}}
% Maximum singular value
\newcommand{\maxsv}{\overline{\sigma}}
% Minimum singular value
\newcommand{\minsv}{\underline{\sigma}}
% Under bar
\newcommand{\ubar}[1]{\text{\b{$#1$}}}
% Diag keyword
\newcommand{\diag}[1]{\text{diag}\{{#1}\}}
% Vector
\newcommand{\colvec}[1]{\begin{bmatrix}#1\end{bmatrix}}
\)</div>
<div style="display: none"> \(
\newcommand{\tcmbox}[1]{\boxed{#1}}
% Simulate SIunitx
\newcommand{\SI}[2]{#1\,#2}
\newcommand{\ang}[1]{#1^{\circ}}
\newcommand{\degree}{^{\circ}}
\newcommand{\radian}{\text{rad}}
\newcommand{\percent}{\%}
\newcommand{\decibel}{\text{dB}}
\newcommand{\per}{/}
% Bug with subequations
\newcommand{\eatLabel}[2]{}
\newenvironment{subequations}{\eatLabel}{}
\)</div>
<h2 id="introduction">Introduction</h2>
<p><a id="orga7066d6"></a></p>
<h3 id="the-process-of-control-system-design">The Process of Control System Design</h3>
<p>The process of designing a control system is a step by step design procedure as follows:</p>
<ol>
<li>Study the system (plant) to be controlled and obtain initial information about the <strong>control objectives</strong></li>
<li><strong>model the system</strong> and simplify the model, if necessary</li>
<li><strong>scale the variables</strong> and analyze the resulting model; determine its properties</li>
<li>Decide which variables are to be controlled (controlled outputs)</li>
<li>Decide on the measurements and manipulated variables: what sensors and actuators will be used and where will they be placed?</li>
<li>Select the <strong>control configuration</strong></li>
<li>Decide on the type of controller to be used</li>
<li>Decide on performance specifications, based on the overall control objectives</li>
<li>Design a controller</li>
<li>Analyze the resulting controlled system to see if the specifications are satisfied; and if they are not satisfied modify the specifications or the type of controller</li>
<li>Simulate the resulting controlled system</li>
<li>Repeat from step 2 if necessary</li>
<li>Choose hardware and software and implement the controller</li>
<li>Test and validate the control system, and tune the controller on-line, if necessary</li>
</ol>
<p>Input-output controllability analysis is studied in section <a href="#sec:perf_limit_siso">sec:perf_limit_siso</a> for SISO systems and in section <a href="#sec:perf_limit_mimo">sec:perf_limit_mimo</a> for MIMO systems.
The steps 4, 5, 6 and 7 are corresponding to the <strong>control structure design</strong>. This is treated in section <a href="#sec:controller_structure_design">sec:controller_structure_design</a>.
The design of the controller is described in section <a href="#sec:controller_design">sec:controller_design</a>.
The analysis of performance and robustness of a controlled system is studied in sections <a href="#sec:uncertainty_robustness_siso">sec:uncertainty_robustness_siso</a> and <a href="#sec:robust_perf_mimo">sec:robust_perf_mimo</a>.</p>
<h3 id="the-control-problem">The Control Problem</h3>
<p>The objective of a control system is to make the output \(y\) behave in a desired way by manipulating the plant input \(u\).
The <strong>regulator problem</strong> is to manipulate \(u\) to counteract the effect of a disturbance \(d\).
The <strong>servo problem</strong> is to manipulate \(u\) to keep the output close to a given reference input \(r\).<br /></p>
<p>In both cases, we want the control error \(e = y - r\) to be small.
The algorithm for adjusting \(u\) based on \(y\) is the <strong>controller</strong> \(K\).
To arrive at a good design for \(K\) we need information about the expected disturbances, the reference inputs, the plant model \(G\) and disturbance model \(G_d\).<br /></p>
<p>A major source of difficulty is that models may be inaccurate or may change with time.
The inaccuracy in \(G\) may cause instability problems as it is part of the feedback loop.
To deal with such a problem, the concept of <strong>model uncertainty</strong> will be used.<br /></p>
<div class="cbox">
<div></div>
<dl>
<dt><strong>Nominal Stability (NS)</strong></dt>
<dd>The system is stable with no model uncertainty</dd>
<dt><strong>Nominal Performance (NP)</strong></dt>
<dd>The system satisfies the performance specifications with no model uncertainty</dd>
<dt><strong>Robust Stability (RS)</strong></dt>
<dd>The system is stable for all perturbed plants about the nominal model up to the worst case uncertainty</dd>
<dt><strong>Robust Performance (RP)</strong></dt>
<dd>The system satisfies the performance specifications for all perturbed plants about the nominal model up to the worst-case model uncertainty</dd>
</dl>
</div>
<h3 id="transfer-functions">Transfer Functions</h3>
<p>Properties of transfer functions:</p>
<ul>
<li>A system \(G(s)\) is <strong>strictly proper</strong> if \(G(s) \rightarrow 0\) as \(\w \rightarrow \infty\)</li>
<li>A system \(G(s)\) is <strong>semi-proper</strong> if \(G(s) \rightarrow D \ne 0\) as \(\w \rightarrow \infty\)</li>
<li>A system \(G(s)\) is <strong>proper</strong> if \(G(s)\) is strictly proper or semi-proper</li>
<li>The order of the system noted \(n\) and is the order of the denominator (or pole polynomial) of its matrix transfer function</li>
</ul>
<h3 id="scaling">Scaling</h3>
<p>Scaling is very important in applications, both for model analysis (input-output controllability) and for controller design.<br /></p>
<p>The scaling is done by <strong>dividing each variable by its maximum expected or allowed change</strong>.
That way, the scaled variable should be less than one in magnitude.<br /></p>
<p>We denote variables in their unscaled units by a hat.</p>
<ul>
<li>\(d = \hat{d}/D_d\) with \(D_d = \hat{d}_{\max}\) is the largest expected change in disturbance</li>
<li>\(u = \hat{u}/D_u\) with \(D_u = \hat{u}_{\max}\) is the largest allowed input change</li>
</ul>
<p>The variables \(\hat{y}\), \(\hat{r}\) and \(\hat{e}\) are in the same unit, so we choose to scale them with respect to the maximum allowed control error:</p>
<ul>
<li>\(e = \hat{e}/D_e\) with \(D_e = \hat{e}_{\max}\) is the largest allowed control error</li>
<li>\(r = \hat{r}/D_e\)</li>
<li>\(y = \hat{y}/D_e\)</li>
</ul>
<p>For MIMO systems, each variables in the vectors \(\hat{d}\), \(\hat{r}\), \(\hat{u}\) and \(\hat{e}\) may have a different maximum value, in which case \(D_e\), \(D_u\), \(D_s\) and \(D_r\), become diagonal scaling matrices.</p>
<div class="cbox">
<div></div>
<p>\begin{align*}
G &amp;= D_e^{-1} \hat{G} D_u\\\<br>
G_d &amp;= D_e^{-1} \hat{G_d} D_d
\end{align*}</p>
</div>
<p>We then obtain the following model in terms of scaled variables:
\[ y = G u + G_d d \]
where \(u\) and \(d\) should be less than 1 in magnitude.<br /></p>
<p>It is sometimes useful to introduce a <strong>scaled reference</strong> \(\tilde{r}\) which is less than 1 in magnitude: \(\tilde{r} = \hat{r}/\hat{r}_{\max} = D_r^{-1}\hat{r}\)
Then we have \(r = R \tilde{r}\) with \(R \triangleq D_e^{-1}D_r = \hat{r}_{\max}/\hat{e}_{\max}\) is the largest expected change in reference relative to the allowed control error.<br /></p>
<p>With scaling you make initial decision regarding performance. This makes <strong>weight selection simple later</strong> (may often select identity weights if initial scaling is reasonable!).</p>
<h3 id="deriving-linear-models">Deriving Linear Models</h3>
<p>Linear models may be obtained from physical &ldquo;first-principle&rdquo; models or from analyzing input-output data (<strong>identification</strong>).<br /></p>
<p>In order to obtain a linear model from the &ldquo;first-principle&rdquo;, the following approach is used:</p>
<ol>
<li>Formulate a nonlinear state-space model based on physical knowledge</li>
<li>Determine the steady-state operating point about which to linearize</li>
<li>Introduce deviation variables and linearize the model</li>
</ol>
<h3 id="notation">Notation</h3>
<p>Notations used throughout this note are summarized in tables <a href="#table:notation_conventional">table:notation_conventional</a>, <a href="#table:notation_general">table:notation_general</a> and <a href="#table:notation_tf">table:notation_tf</a>.</p>
<p><a id="table--table:notation-conventional"></a></p>
<div class="table-caption">
<span class="table-number"><a href="#table--table:notation-conventional">Table 1</a></span>:
Notations for the conventional control configuration
</div>
<table>
<thead>
<tr>
<th>Notation</th>
<th>Meaning</th>
</tr>
</thead>
<tbody>
<tr>
<td>\(G\)</td>
<td>Plant model</td>
</tr>
<tr>
<td>\(K\)</td>
<td>Controller</td>
</tr>
<tr>
<td>\(G_d\)</td>
<td>Disturbance model</td>
</tr>
<tr>
<td>\(r\)</td>
<td>Reference inputs</td>
</tr>
<tr>
<td>\(n\)</td>
<td>Measurement noise</td>
</tr>
<tr>
<td>\(y\)</td>
<td>Plant outputs</td>
</tr>
<tr>
<td>\(y_m\)</td>
<td>Measurements</td>
</tr>
<tr>
<td>\(u\)</td>
<td>Control signals</td>
</tr>
</tbody>
</table>
<p><a id="table--table:notation-general"></a></p>
<div class="table-caption">
<span class="table-number"><a href="#table--table:notation-general">Table 2</a></span>:
Notations for the general configuration
</div>
<table>
<thead>
<tr>
<th>Notation</th>
<th>Meaning</th>
</tr>
</thead>
<tbody>
<tr>
<td>\(P\)</td>
<td>Generalized plant model</td>
</tr>
<tr>
<td>\(w\)</td>
<td>Exogenous inputs: commands, disturbances, noise</td>
</tr>
<tr>
<td>\(z\)</td>
<td>Exogenous outputs: signals to be minimized</td>
</tr>
<tr>
<td>\(v\)</td>
<td>Controller inputs: measurements</td>
</tr>
<tr>
<td>\(u\)</td>
<td>Control signals</td>
</tr>
</tbody>
</table>
<p><a id="table--table:notation-tf"></a></p>
<div class="table-caption">
<span class="table-number"><a href="#table--table:notation-tf">Table 3</a></span>:
Notations for transfer functions
</div>
<table>
<thead>
<tr>
<th>Notation</th>
<th>Meaning</th>
</tr>
</thead>
<tbody>
<tr>
<td>\(L\)</td>
<td>Loop gain: \(L = GK\)</td>
</tr>
<tr>
<td>\(S\)</td>
<td>Sensitivity function: \(S = (I + L)^{-1}\)</td>
</tr>
<tr>
<td>\(T\)</td>
<td>Complementary sensitivity function: \(T = (I + L)*(I + L)^{-1}\)</td>
</tr>
</tbody>
</table>
<h2 id="classical-feedback-control">Classical Feedback Control</h2>
<p><a id="orgaabb1e5"></a></p>
<h3 id="frequency-response">Frequency Response</h3>
<p>By replacing \(s\) by \(j\omega\) in a transfer function \(G(s)\), we get the <strong>frequency response</strong> description. It can be used to describe:</p>
<ul>
<li>A system&rsquo;s response to sinusoids of varying frequency</li>
<li>The frequency content of a <strong>deterministic signal</strong> via the <strong>Fourier transform</strong></li>
<li>The frequency distribution of a <strong>stochastic</strong> signal via the <strong>power spectral density</strong></li>
</ul>
<p>After sending a sinusoidal signal through a system \(G(s)\), the signal&rsquo;s magnitude is amplified by a factor \(\abs{G(j\omega)}\) and its phase is shifted by \(\angle{G(j\omega)}\).<br /></p>
<div class="cbox">
<div></div>
<p><strong>minimum phase systems</strong> are systems with no time delays or RHP-zeros.</p>
<p>The name minimum phase refers to the fact that such a system has the minimum possible phase lag for the given magnitude response \(|G(j\omega)|\).</p>
<p><strong>RHP-zeros</strong> and <strong>time delays</strong> contribute additional phase lag to a system when compare to that of a minimum phase system with the same gain (hence the term <strong>non-minimum phase system</strong>).</p>
</div>
<p>For minimum phase systems, there is a unique relationship between the gain and phase of the frequency response: the <strong>Bode gain-phase relationship</strong>:</p>
<p>\begin{equation}
\angle{G(j\w_0)} = \frac{1}{\pi} \int_{-\infty}^{\infty} \frac{d\ln{\abs{G(j\w)}}}{d\ln{\w}} \ln{\abs{\frac{\w+\w_0}{\w-\w_0}}} \frac{d\w}{\w}
\end{equation}</p>
<p>We note \(N(\w_0) = \left( \frac{d\ln{|G(j\w)|}}{d\ln{\w}} \right)_{\w=\w_0}\) that corresponds to the <strong>slope of the magnitude</strong> of \(G(s)\) in log-variables. We then have the following approximation of the <strong>Bode gain-phase relationship</strong>:</p>
<p>\begin{equation}
\tcmbox{\angle{G(j\w_0)} \approx \frac{\pi}{2} N(\w_0)}
\end{equation}</p>
<h3 id="feedback-control">Feedback Control</h3>
<h4 id="one-degree-of-freedom-controller">One Degree-of-Freedom Controller</h4>
<p>The simple one degree-of-freedom controller negative feedback structure is represented in Fig. <a href="#fig:classical_feedback_alt">fig:classical_feedback_alt</a>.</p>
<p>The input to the controller \(K(s)\) is \(r-y_m\) where \(y_m = y+n\) is the measured output and \(n\) is the measurement noise.
Thus, the input to the plant is \(u = K(s) (r-y-n)\).
The objective of control is to manipulate \(u\) (design \(K\)) such that the control error \(e\) remains small in spite of disturbances \(d\).
The control error is defined as \(e = y-r\).</p>
<p><a id="org3b71acb"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_classical_feedback_alt.png"
alt="Figure 1: Configuration for one degree-of-freedom control"/> <figcaption>
<p>Figure 1: Configuration for one degree-of-freedom control</p>
</figcaption>
</figure>
<h4 id="closed-loop-transfer-functions">Closed-loop Transfer Functions</h4>
<div class="cbox">
<div></div>
<p>\begin{subequations}
\begin{align}
y &amp;= T r + S G_d d + T n\\\<br>
e &amp;= -S r + S G_d d - T n\\\<br>
y &amp;= KS r - KS G_d d - KS n
\end{align}
\end{subequations}</p>
</div>
<h4 id="why-feedback">Why Feedback?</h4>
<p>We could think that we can use a &ldquo;perfect&rdquo; feedforward controller \(K_r(s) = G^{-1}(s)\) with \(r-G_d d\) as the controller input:
\[ y = G u + G_d d = G K_r (r - G_d d) + G_d d = r \]
Unfortunately, \(G\) is never an exact model and the disturbances are never known exactly.</p>
<div class="cbox">
<div></div>
<ul>
<li>Signal uncertainty</li>
<li>Unknown disturbance</li>
<li>Model uncertainty</li>
<li>An unstable plant</li>
</ul>
</div>
<h3 id="closed-loop-stability">Closed Loop Stability</h3>
<p>Two methods are commonly used to <strong>determine closed-loop stability</strong>:</p>
<ol>
<li>The system is stable if and only if <strong>all the closed-loop poles</strong> (roots of \(1 + L(s) = 0\)) <strong>are in the open LHP</strong>. The poles are also equal to the <strong>eigenvalues of the state-space \(A\) matrix</strong> (this is how the poles are computed).</li>
<li>The frequency response of \(L(j\w)\) is plotted in the complex plane and the number of encirclement it makes around the critical point \(-1\) is counted.
<ul>
<li><strong>Nyquist&rsquo;s stability criterion</strong>: Closed-loop stability is inferred by equating the number of encirclement to the number of open-loop RHP-poles</li>
<li><strong>Bode&rsquo;s stability condition</strong>: The closed loop system is stable if and only if \(\vert L(j \w_{180})\vert &lt; 1\) where \(\w_{180}\) is the phase crossover frequency defined by \(\angle L(j \w_{180})=\ang{-180}\). This is only valid for open-loop stable systems where \(\angle L(j\w)\) falls with frequency and such that \(\angle L(j\w)\) crosses \(\ang{-180}\) only once.</li>
</ul>
</li>
</ol>
<p>Method 1 is best suited for numerical calculation while method 2 has a nice graphical interpretation and may also be used for systems with time delays.
Moreover, method 2 provides useful measure of relative stability and will be used for robustness test.</p>
<h3 id="evaluating-closed-loop-performance">Evaluating Closed-Loop Performance</h3>
<h4 id="gain-margin">Gain Margin</h4>
<p>The <strong>Gain Margin</strong> is defined as:</p>
<p>\begin{equation}
\tcmbox{\text{GM} = \frac{1}{|L(j\w_{180})|}}
\end{equation}</p>
<p>with \(\w_{180}\) is the <strong>phase crossover frequency</strong> defined by \(\angle L(j \w_{180}) = \ang{-180}\).
If there is more than one crossing (\(\angle L(j \w_{180}) = \ang{-180}\)), the largest value of \(\vert L(j\w_{180})\vert\) is taken.</p>
<p>The GM is the factor by which the loop gain \(\vert L(s)\vert\) may be increased before the closed-loop system becomes unstable.</p>
<h4 id="phase-margin">Phase Margin</h4>
<p>The <strong>Phase Margin</strong> is defined as:</p>
<p>\begin{equation}
\tcmbox{\text{PM} = \angle L(j \w_c) + \ang{180}}
\end{equation}</p>
<p>with \(\w_c\) the <strong>gain crossover frequency</strong> defined by \(\vert L(j \w_c)\vert = 1\).</p>
<p>The PM tells how much negative phase (phase lag) we can add to \(L(s)\) at frequency \(\omega_c\) before closed-loop instability appears.</p>
<p>Typically, we required the PM to be larger than \(\SI{30}{\degree}\). This is a <strong>safeguard against time delay uncertainty</strong>, the system becomes unstable is we add a delay of \(\theta_{max} = PM / \w_c\).</p>
<p>Note that by decreasing the value of \(\omega_c\) (lowering the closed-loop bandwidth) the system can tolerate larger time delays.</p>
<h4 id="maximum-peak-criteria">Maximum Peak Criteria</h4>
<div class="cbox">
<div></div>
<p>\begin{subequations}
\begin{align}
M_S &amp;= \max_{\w} \abs{S(j\w)} = \hnorm{S}\\\<br>
M_T &amp;= \max_{\w} \abs{T(j\w)} = \hnorm{T}
\end{align}
\end{subequations}</p>
</div>
<p>Typically, we require \(M_S &lt; 2\ (6dB)\) and \(M_T &lt; 1.25\ (2dB)\).<br /></p>
<p><strong>Why do we want \(M_S\) small?</strong></p>
<ul>
<li>Without feedback, with have \(e = r - G_d d\) but with feedback \(e = S(r - G_d d)\). Thus feedback improves performance in terms of reducing \(|e|\) where \(|S|&lt;1\). However, we cannot avoid having \(|S|&gt;1\) at some intermediate frequency where feedback control degrades performance. The value of \(M_S\) is then a <strong>measure of the worst-case performance degradation</strong></li>
<li>\(M_S\) is also a <strong>measure of the robustness</strong> because the smallest distance between \(L(\w)\) and the critical point \(-1\) is \({M_S}^{-1}\)</li>
</ul>
<p>There is a close <strong>relationship between these maximum peaks and the gain and phase margins</strong>.
For a given value of \(M_S\), we have:</p>
<p>\begin{equation}
\tcmbox{\text{GM} \geq \frac{M_S}{M_S-1}; \quad \text{PM} \geq \frac{1}{M_S}}
\end{equation}</p>
<p>Example of guaranteed stability margins:</p>
<ul>
<li>\(M_S &lt; 2 \Rightarrow GM &gt; 2\) and \(PM &gt; \SI{29}{\degree}\)</li>
<li>\(M_T &lt; 2 \Rightarrow GM &gt; 1.5\) and \(PM &gt; \SI{29}{\degree}\)</li>
</ul>
<h4 id="bandwidth-and-crossover-frequency">Bandwidth and Crossover Frequency</h4>
<p>In general, a large bandwidth corresponds to a faster rise time, however, this also indicates an higher sensitivity to noise and to parameter variations.</p>
<div class="cbox">
<div></div>
<p>The bandwidth, is the frequency range \([\w_1, \w_2]\) over which control is <strong>effective</strong>. In most case we simple call \(\w_2 = \w_B\) the bandwidth.</p>
</div>
<p>As the word &ldquo;effective&rdquo; may be interpreted in different ways, there are <strong>multiple definitions of bandwidth</strong>:</p>
<ul>
<li>The <strong>closed-loop bandwidth</strong> \(\w_B\) is the frequency where \(\vert S(j\w)\vert\) first crosses \(1/\sqrt{2}\approx -3dB\) from below.</li>
<li>The <strong>gain crossover frequency</strong> \(\w_c\) is defined as the frequency where \(\vert L(j \w_c)\vert\) first crosses 1 from above</li>
<li>The bandwidth in terms of \(T\), \(\w_{BT}\), is the highest frequency at which \(\vert T(j \w_c)\vert\) crosses \(1/\sqrt{2}\approx -3dB\) from above.</li>
</ul>
<p>For systems with \(PM &lt; \ang{90}\), we have: \(\w_{B} &lt;\w_{c} &lt; \w_{BT}\)
Then we have the following regions:</p>
<ul>
<li>\(\w &lt; \w_B\): \(|S|&lt;0.7\) and control is effective</li>
<li>\(\w_B &lt; \w &lt; \w_{BT}\): we may have \(|S| &gt; 1\) and control degrades performance</li>
<li>\(\w_{BT} &lt; \w\): \(|S| \approx 1\) and control has no significant effect on the response</li>
</ul>
<p>The closed-loop time constant \(\tau_{\text{cl}}\) can be related to the bandwidth:</p>
<p>\begin{equation}
\tcmbox{\tau_{\text{cl}} \approx \frac{1}{\w_b}}
\end{equation}</p>
<h3 id="controller-design">Controller Design</h3>
<p>There is 3 mains approaches to controller design:</p>
<ol>
<li><strong>Shaping of transfer functions</strong>. The designer specifies the magnitude of some transfer functions as a function of frequency and then finds a controller which gives the desired shape(s)
<ol>
<li>Loop shaping of the open-loop transfer function \(L(j\w)\)</li>
<li>Shaping of closed-loop transfer functions such as \(S\), \(T\) and \(KS\)</li>
</ol>
</li>
<li><strong>The signal based approach</strong>. This involves time domain problem formulations resulting in the minimization of a norm of a transfer function. Linear Quadratic Gaussian (LQG) is an example of a signal based approach. A signal based \(\hinf\) optimal control methodology can be derived.</li>
<li><strong>Numerical optimization</strong>. This often involves multi-objective optimization where one attempts to optimize directly the true objectives such as rise times, stability margins, &hellip; This problems may be difficult to solve, especially if one does not have convexity in the control parameters. This optimization may also be performed online.</li>
</ol>
<h3 id="loop-shaping">Loop Shaping</h3>
<h4 id="trade-offs-in-terms-of--l">Trade-offs in Terms of \(L\)</h4>
<p>Let&rsquo;s consider a feedback control system with error \(e = -S r + S G_d d - T n\).
If we want perfect control:</p>
<ul>
<li>For <strong>disturbance rejection</strong> and <strong>command tracking</strong>, we obtain \(S \approx 0\), this implies that the loop transfer function \(L\) must be large in magnitude</li>
<li>For zero <strong>noise transmission</strong>, we want \(T \approx 0\) or equivalently \(S \approx I\) which is obtained with \(L \approx 0\).</li>
</ul>
<p>This illustrate the <strong>fundamental nature of feedback</strong> design which always involves a <strong>trade-off</strong> between conflicting objectives.</p>
<p>The most important design objectives are:</p>
<dl>
<dt>Performance</dt>
<dd>\(L\) large</dd>
<dt>Good dist. rejection</dt>
<dd>\(L\) large</dd>
<dt>Limitation of meas. noise on plant output</dt>
<dd>\(L\) small</dd>
<dt>Small magnitude of input signal</dt>
<dd>\(K\) and \(L\) small</dd>
<dt>Strictly proper controller</dt>
<dd>\(K\rightarrow 0\) at high frequencies</dd>
<dt>Nominal stability</dt>
<dd>\(L\) small (RHP zeros and time delays)</dd>
<dt>Robust stability</dt>
<dd>\(L\) small (neglected dynamics)</dd>
</dl>
<p>Fortunately, the conflicting design objectives are generally in different frequency ranges, and we can meet most of the objectives by using large loop gain at low frequencies and a small gain at high frequencies above crossover.</p>
<h4 id="fundamentals-of-loop-shaping-design">Fundamentals of Loop-Shaping Design</h4>
<div class="cbox">
<div></div>
<p>Design procedure that involves explicitly shaping the magnitude of the loop transfer function \(\abs{L(j\w)}\).</p>
</div>
<p>To get the benefits of feedback control, we want the loop gain \(\abs{L(j\w)}\) to be as large as possible within the bandwidth region.
However, due to time delays, RHP-zeros, unmodelled high-frequency dynamics and limitations on the allowed manipulated inputs, the loop gain has to drop below one at and above the crossover frequency \(\w_c\).</p>
<div class="cbox">
<div></div>
<p>To measure how \(\abs{L(j\w)}\) falls with frequency, we consider the <strong>logarithmic slope</strong>:</p>
<p>\begin{equation}
N = \frac{d \ln{\abs{L}}}{d \ln{\w}}
\end{equation}</p>
<p>The value of \(-N\) at high frequencies is called the <strong>roll-off rate</strong>.</p>
</div>
<p>To get a high bandwidth (fast response) we want \(\w_c\) large (thus \(\w_{180}\) large), that is we want the phase lag in \(L\) to be small. Unfortunately, that is not consistent with the desire that \(\abs{L(j\w)}\) should fall sharply (because of the approximation \(\angle{L} \approx -N * \SI{90}{\degree}\)).</p>
<p>The situation becomes even worse for cases with delays or RHP-zeros in \(L(s)\) which add undesirable phase lag without contributing to a desirable negative slope.<br /></p>
<p>We can define the <strong>desired loop transfer function in terms of the following specifications</strong>:</p>
<ol>
<li>The gain crossover frequency \(\w_c\), where \(\abs{L(j\w_c)} = 1\)</li>
<li>The shape of \(\abs{L(j\w)}\):
<ul>
<li>Slope of \(N=-1\) around crossover</li>
<li>Large roll-off at higher frequencies (\(N&gt;2\))</li>
<li>Slope at low frequencies depending on the nature of the disturbance or reference signal.
We required a slope of \(-1\) for step changes and \(-2\) for ramp changes</li>
</ul>
</li>
<li>The system type, defined as the number of pure integrators in \(L(s)\)</li>
</ol>
<h4 id="limitations-imposed-by-rhp-zeros-and-time-delays">Limitations Imposed by RHP-zeros and Time Delays</h4>
<p>We usually want the loop shape to have a slope of \(-1\) around crossover \(\w_c\), then the phase lag of \(L\) at \(\w_c\) will be at least \(\SI{-90}{\degree}\).
If we require a phase margin of \(\SI{-35}{\degree}\), then the additional phase contribution from delays and RHP zeros at \(\w_c\) cannot exceed \(\SI{-55}{\degree}\).</p>
<p>First consider a <strong>time delay</strong> \(\theta\) which adds a phase of \(-\theta \omega\).
Thus, we want \(\theta \omega_c &lt; \SI{55}{\degree} \approx \SI{1}{\radian}\).
The attainable bandwidth is limited by the time delay:</p>
<p>\begin{equation}
\tcmbox{\omega_c &lt; 1/\theta}
\end{equation}</p>
<p>Next consider a <strong>RHP-zero</strong> at \(s = z\).
To avoid an increase in slope cause by the zero, we add a pole at \(s = -z\), then \(L\) contains \(\frac{-s+z}{s+z}\) which corresponds to an all-pass filter.
The phase contribution is \(\approx \SI{-55}{\degree}\) at \(\w = z/2\).
Thus, this limits the attainable bandwidth:</p>
<p>\begin{equation}
\tcmbox{\w_c &lt; z/2}
\end{equation}</p>
<h4 id="inverse-based-controller-design">Inverse-Based Controller Design</h4>
<p>The idea is to have \(L(s) = \frac{\w_c}{s}\) with \(\w_c\) the desired gain crossover frequency.
The controller associated is then \(K(s) = \frac{\w_c}{s}G^{-1}(s)\) {the plant is inverted and an integrator is added}.
This idea is the essential part of the <strong>internal model control</strong> (IMC).
This loop shape yields a phase margin of \(\SI{90}{\degree}\) and an infinite gain margin.<br /></p>
<p>They are many reasons why the inverse-based controller may <strong>not</strong> be a good choice:</p>
<ul>
<li>The controller will not be realizable if \(G(s)\) has a pole excess of two or larger</li>
<li>The loop shape is not generally desirable, unless the references and disturbances are steps</li>
</ul>
<h4 id="loop-shaping-for-disturbance-rejection">Loop Shaping for Disturbance Rejection</h4>
<p>We have \(e = S G_d d\) with \(\abs{d(j\w)} &lt; 1\) at each frequency (thanks to scaling).
The main control objective is to achieve \(\abs{e(j\w)} &lt; 1\).
Then, we require: \(\abs{S(j\w) G_d(j\w)} &lt; 1, \forall \w\) or equivalently \(\abs{1 + L(j\w)} &gt; \abs{G_d}, \forall \w\).<br /></p>
<p>Note that we don&rsquo;t want to have larger loop gain than necessary to not increase input signals and sensitivity to noise.
A reasonable loop shape is then \(\abs{L} = \abs{G_d}\).</p>
<p>The corresponding controller satisfies</p>
<p>\begin{equation}
\abs{K} = \abs{G^{-1}G_d}
\end{equation}</p>
<p>This means that:</p>
<ul>
<li>For disturbances entering at the plant output (\(G_d = 1\)), we get \(\abs{K} = \abs{G^{-1}}\)</li>
<li>For disturbances entering at the plant input (\(G_d = G\)), we get \(\abs{K} = 1\)</li>
<li>Note that reference change may be viewed as a disturbance directly affecting the output</li>
</ul>
<p>The loop-shape \(L(s)\) may be modify as follows:</p>
<ul>
<li>Around crossover, make the slope of \(|L|\) to be about -1. This is to achieve good transient behavior with acceptable gain and phase margins</li>
<li>Improve the low frequency performance by adding integral action \(\abs{K} = \abs{\frac{s+\w_I}{s}}\abs{G^{-1}G_d}\)</li>
<li>Let \(L(s)\) roll of faster at high frequencies in order to reduce the effect of noise and the input magnitude</li>
</ul>
<h4 id="two-degrees-of-freedom-design">Two Degrees-of-freedom Design</h4>
<p>For reference tracking, we typically want the controller to look like \(\frac{1}{s} G^{-1}\), whereas for disturbance rejection we want the controller to look like \(\frac{1}{s} G^{-1}G_d\).</p>
<p>We cannot achieve both of these simultaneously with a single feedback controller.</p>
<p>The solution is to use a <strong>two degrees of freedom controller</strong> where the reference signal \(r\) and output measurement \(y_m\) are independently treated by the controller (Fig. <a href="#fig:classical_feedback_2dof_alt">fig:classical_feedback_2dof_alt</a>), rather than operating on their difference \(r - y_m\).</p>
<p><a id="org9265d45"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_classical_feedback_2dof_alt.png"
alt="Figure 2: 2 degrees-of-freedom control architecture"/> <figcaption>
<p>Figure 2: 2 degrees-of-freedom control architecture</p>
</figcaption>
</figure>
<p>The controller can be slit into two separate blocks (Fig. <a href="#fig:classical_feedback_sep">fig:classical_feedback_sep</a>):</p>
<ul>
<li>the <strong>feedback controller</strong> \(K_y\) that is used to <strong>reduce the effect of uncertainty</strong> (disturbances and model errors)</li>
<li>the <strong>prefilter</strong> \(K_r\) that <strong>shapes the commands</strong> \(r\) to improve tracking performance</li>
</ul>
<p><a id="org0e3d8d7"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_classical_feedback_sep.png"
alt="Figure 3: 2 degrees-of-freedom control architecture with two separate blocs"/> <figcaption>
<p>Figure 3: 2 degrees-of-freedom control architecture with two separate blocs</p>
</figcaption>
</figure>
<p>It is optimal to design the combined two degrees of freedom controller \(K\) in one step, however, in practice \(K_y\) is often designed first for disturbance rejection, and then \(K_r\) is designed to improve reference tracking.</p>
<h3 id="shaping-closed-loop-transfer-functions">Shaping Closed-Loop Transfer Functions</h3>
<p>Specifications on the open-loop transfer function \(L = GK\) does not consider directly the closed-loop transfer functions, such as \(S\) and \(T\) which determine the final response.
An alternative design strategy is to directly shape the magnitude of the closed loop transfer functions. This strategy can be formulated as an \(\hinf\) optimal control problem.</p>
<h4 id="the-terms--hinf--and--htwo">The Terms \(\hinf\) and \(\htwo\)</h4>
<p>The \(\hinf\) norm of a stable scalar transfer function \(f(s)\) is simply the peak value of \(\abs{f(j\w)}\) as a function of frequency:</p>
<p>\begin{equation}
\tcmbox{\hnorm{f(s)} \triangleq \max_{\w} \abs{f(j\w)}}
\end{equation}</p>
<p>Similarly, the symbol \(\htwo\) stands for the Hardy space of transfer function with bounded 2-norm:</p>
<p>\begin{equation}
\tcmbox{\normtwo{f(s)} \triangleq \left( \frac{1}{2\pi} \int_{-\infty}^{\infty} \abs{f(j\w)}^2 d\w \right)^{1/2}}
\end{equation}</p>
<h4 id="weighted-sensitivity">Weighted Sensitivity</h4>
<p>The sensitivity function \(S\) is a very good indicator of closed-loop performance. The main advantage of considering \(S\) is that we want \(S\) small and <strong>it is sufficient to consider just its magnitude</strong> \(\abs{S}\).</p>
<div class="cbox">
<div></div>
<ul>
<li>Minimum bandwidth frequency \(\w_B^*\)</li>
<li>Maximum tracking error at selected freq.</li>
<li>The maximum steady state tracking error \(A\)</li>
<li>Shape of \(S\) over selected frequency ranges</li>
<li>Maximum magnitude of \(S\): \(\hnorm{S(j\w)} \leq M\)</li>
</ul>
</div>
<p>The maximum peak specification prevents amplification of noise at high frequencies, and also introduces a margin of robustness. Typically, we select \(M = 2\).<br /></p>
<p>Mathematically, these specifications may be captured by an <strong>upper bound</strong> \(1/\abs{W_P(s)}\) on the magnitude of \(S\) where \(W_P(s)\) is a <strong>weight</strong> selected by the designer.
The subscript \(P\) stands for <strong>performance</strong> since \(S\) is mainly used as a performance indicator.</p>
<p>The performance requirement becomes
\[ S(j\w) &lt; 1/\abs{W_P(j\w)}, \forall \w \]
Which can be expressed as an \(\mathcal{H}_\infty\):</p>
<p>\begin{equation}
\tcmbox{\hnorm{W_P S} &lt; 1}
\end{equation}</p>
<div class="cbox">
<div></div>
<p>\[W_P(s) = \frac{s/M + \w_B^*}{s + \w_B^* A}\]</p>
<p>With (see Fig. <a href="#fig:performance_weigth">fig:performance_weigth</a>):</p>
<ul>
<li>\(M\): maximum magnitude of \(\abs{S}\)</li>
<li>\(\w_B\): crossover frequency</li>
<li>\(A\): steady-state offset</li>
</ul>
</div>
<p><a id="org0656ee4"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_weight_first_order.png"
alt="Figure 4: Inverse of performance weight"/> <figcaption>
<p>Figure 4: Inverse of performance weight</p>
</figcaption>
</figure>
<p>If we want a steeper slope for \(L\) below the bandwidth, an higher order weight may be selected. A weight which ask for a slope of \(-2\) for \(L\) below crossover is:
\[W_P(s) = \frac{(s/M^{1/2} + \w_B^*)^2}{(s + \w_B^* A^{1/2})^2}\]</p>
<h4 id="stacked-requirements-mixed-sensitivity">Stacked Requirements: Mixed Sensitivity</h4>
<p>The specification \(\hnorm{W_P S} &lt; 1\) puts a lower bound on the bandwidth, but not an upper one and nor does it allow us to specify the roll-off of \(L(s)\) above the bandwidth.</p>
<p>To do this, we can make demands on another closed-loop transfer function \(T\) by specifying an upper bound \(1/\abs{W_T}\) on the magnitude \(\abs{T}\) to <strong>make sure that \(L\) rolls off sufficiently fast at high frequencies</strong>.</p>
<p>Also, to achieve robustness or to restrict the magnitude of the input signal \(u\), one may place an upper bound \(1/\abs{W_U}\) on the magnitude \(KS\).<br /></p>
<p>To combined these <strong>mixed sensitivity specifications</strong>, a <strong>stacking approach</strong> is usually used, resulting in the following overall specification:
\[\maxw \maxsv(N(j\w)) &lt; 1; \quad N = \colvec{W_P S \ W_T T \ W_U KS}\]</p>
<p>After selecting the form of \(N\) and the weights, the \(\hinf\) optimal controller is obtained by solving the problem \(\min_K\hnorm{N(K)}\).</p>
<h2 id="introduction-to-multivariable-control">Introduction to Multivariable Control</h2>
<p><a id="org25e187e"></a></p>
<h3 id="introduction">Introduction</h3>
<p>The main difference between a SISO system and a MIMO system is the presence of <strong>directions</strong> in the latter.</p>
<p>However, most of the ideas and techniques used for SISO systems may be extended to MIMO systems.
This is done by considering the <strong>maximum singular value</strong> instead of the absolute value.</p>
<p>The <strong>singular value decomposition</strong> (SVD) provides a useful way of quantifying multivariable directionality.</p>
<p>For MIMO systems the gain \(\frac{\abs{Gd}}{\abs{d}}\) (where \(\abs{\cdot}\) is some norm) is independent of the magnitude \(\abs{d}\) (like for SISO systems), but it does <strong>depend on its direction</strong>.</p>
<p>A plant is said to be <strong>ill-conditioned</strong> if the gain depends strongly on the input direction. It is quantified by the <strong>condition number</strong> \(\Gamma\) (which is much larger than 1 for an ill-conditioned plant).</p>
<p>For MIMO systems the order of the transfer functions matter, so in general:</p>
<p>\begin{equation}
\tcmbox{GK \neq KG}
\end{equation}</p>
<p>even when \(G\) and \(K\) are square matrices.</p>
<h3 id="transfer-functions">Transfer Functions</h3>
<div class="cbox">
<div></div>
<p>The main rule for evaluating transfer functions is the <strong>MIMO Rule</strong>: Start from the output and write down the transfer functions as you meet them going to the input. If you exit a feedback loop then we get a term \((I-L)^{-1}\) where \(L = GK\) is the transfer function around the loop (gain going backwards).</p>
</div>
<h4 id="negative-feedback-control-systems">Negative Feedback Control Systems</h4>
<p>For negative feedback system (Fig. <a href="#fig:classical_feedback_bis">fig:classical_feedback_bis</a>), we define \(L\) to be the loop transfer function as seen when breaking the loop at the <strong>output</strong> of the plant:</p>
<ul>
<li>\(L = G K\)</li>
<li>\(S \triangleq (I + L)^{-1}\) is the transfer function from \(d_1\) to \(y\)</li>
<li>\(T \triangleq L(I + L)^{-1}\) is the transfer function from \(r\) to \(y\)</li>
</ul>
<p><a id="org10be303"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_classical_feedback_bis.png"
alt="Figure 5: Conventional negative feedback control system"/> <figcaption>
<p>Figure 5: Conventional negative feedback control system</p>
</figcaption>
</figure>
<p>We define \(L_1\) to be the loop transfer function as seen when breaking the loop at the <strong>input</strong> to the plant:</p>
<ul>
<li>\(L_1 = K G\)</li>
<li>\(S_1 \triangleq (I + L_1)^{-1}\)</li>
<li>\(T_1 \triangleq L_1(I + L_1)^{-1}\) is the transfer function from \(d_2\) to \(-u\)</li>
</ul>
<h3 id="multivariable-frequency-response-analysis">Multivariable Frequency Response Analysis</h3>
<h4 id="obtaining-the-frequency-response-from--gs">Obtaining the Frequency Response from \(G(s)\)</h4>
<p>Consider the system \(G(s)\) with input \(d(s)\) and output \(y(s)\).
The element \(g_{ij}(j\w)\) of the matrix \(G\) represents the sinusoidal response from the input \(j\) to output \(i\).</p>
<h4 id="directions-in-multivariable-systems">Directions in Multivariable Systems</h4>
<p>For a SISO system, the gain at \(\omega\) is simply:</p>
<p>\begin{equation}
\frac{|y(\w)|}{|d(\w)|} = \frac{|G(j\w)d(\w)|}{|d(\w)|} = |G(j\w)|
\end{equation}</p>
<p>The gain depends on the frequency \(\w\) but it is independent of the input magnitude \(|d(\w)|\).</p>
<p>For MIMO systems, we have to use norms to measure the amplitude of the inputs/outputs.
If we select vector 2-norm, the magnitude of the vector input signal is:
\[ \normtwo{d(\w)} = \sqrt{\sum_j |d_j(\w)|^2} \]</p>
<p>The gain of the system is then:</p>
<p>\begin{equation}
\frac{\normtwo{y(\w)}}{\normtwo{d(\w)}} = \frac{\normtwo{G(j\w)d(\w)}}{\normtwo{d(\w)}} = \frac{\sqrt{\sum_j |y_j(\w)|^2}}{\sqrt{\sum_j |d_j(\w)|^2}}
\end{equation}</p>
<p>Again the gain depends on the frequency \(\w\) and again it is independent of the input magnitude \(\normtwo{d(\w)}\). However, the gain depends also on the <strong>direction</strong> of the input \(d\).</p>
<h4 id="eigenvalues-as-a-poor-measure-of-gain">Eigenvalues as a Poor Measure of Gain</h4>
<p>The magnitudes of the eigenvalues of a transfer function matrix \(\abs{\lambda_i(G(j\w))}\) do not provide a useful means of generalizing the SISO gain.
The main problem is that the eigenvalues measure the gain for the special case when the <strong>inputs and the outputs are in the same direction</strong>, namely in the direction of the eigenvectors.</p>
<h4 id="singular-value-decomposition">Singular Value Decomposition</h4>
<p>We are interested by the physical interpretation of the SVD when applied to the frequency response of a MIMO system \(G(s)\) with \(m\) inputs and \(l\) outputs.</p>
<div class="cbox">
<div></div>
<p>\begin{equation}
G = U \Sigma V^H
\end{equation}</p>
<dl>
<dt>\(\Sigma\)</dt>
<dd>is an \(l \times m\) matrix with \(k = \min\{l, m\}\) non-negative <strong>singular values</strong> \(\sigma_i\), arranged in descending order along its main diagonal, the other entries are zero.</dd>
<dt>\(U\)</dt>
<dd>is an \(l \times l\) unitary matrix. The columns of \(U\), denoted \(u_i\), represent the <strong>output directions</strong> of the plant. They are orthonormal.</dd>
<dt>\(V\)</dt>
<dd>is an \(m \times m\) unitary matrix. The columns of \(V\), denoted \(v_i\), represent the <strong>input directions</strong> of the plant. They are orthonormal.</dd>
</dl>
</div>
<p>The input and output directions are related through the singular values:</p>
<p>\begin{equation}
\tcmbox{G v_i = \sigma_i u_i}
\end{equation}</p>
<p>So, if we consider an input in the direction \(v_i\), then the output is in the direction \(u_i\). Furthermore, since \(\normtwo{v_i}=1\) and \(\normtwo{u_i}=1\), we see that <strong>the singular value \(\sigma_i\) directly gives the gain of the matrix \(G\) in this direction</strong>.<br /></p>
<p>The <strong>largest gain</strong> for any input is equal to the <strong>maximum singular value</strong>:
\[\maxsv(G) \equiv \sigma_1(G) = \max_{d\neq 0}\frac{\normtwo{Gd}}{\normtwo{d}} = \frac{\normtwo{Gv_1}}{\normtwo{v_1}} \]
The <strong>smallest gain</strong> for any input direction is equal to the <strong>minimum singular value</strong>:
\[\minsv(G) \equiv \sigma_k(G) = \min_{d\neq 0}\frac{\normtwo{Gd}}{\normtwo{d}} = \frac{\normtwo{Gv_k}}{\normtwo{v_k}} \]</p>
<p>We define \(u_1 = \bar{u}\), \(v_1 = \bar{v}\), \(u_k=\ubar{u}\) and \(v_k = \ubar{v}\). Then is follows that:
\[ G\bar{v} = \maxsv \bar{u} ; \quad G\ubar{v} = \minsv \ubar{u} \]</p>
<h4 id="non-square-plants">Non Square Plants</h4>
<p>If the plant has more output than inputs, the outputs singular vectors \(u_i\) with \(i &gt; k\) correspond to the outputs directions that cannot be controlled.</p>
<p>Similarly, for a plant with more inputs and outputs, the additional input singular vectors tells us in which directions the input will have no effect.</p>
<h4 id="singular-values-for-performance">Singular Values for Performance</h4>
<p>The gain of the MIMO system from the vector of reference inputs \(r\) and the vector of control error \(e\) is bounded by the minimum and maximum singular values of \(S\):
\[ \minsv(S(j\w)) &lt; \frac{\normtwo{e(\w)}}{\normtwo{r(\w)}} &lt; \maxsv(S(j\w)) \]</p>
<p>In terms of performance, we require that the gain remains small for any direction of \(r(\w)\) including the &ldquo;worst-case&rdquo; direction corresponding to the gain \(\maxsv(S(j\w))\). Let \(1/\abs{W_P(j\w)}\) represent the maximum allowed magnitude of \(\frac{\normtwo{e(\w)}}{\normtwo{r(\w)}}\) at each frequency:
\[ \maxsv(S(j\w)) &lt; \frac{1}{\abs{W_P}}, \forall \w \Leftrightarrow \hnorm{W_P S} &lt; 1 \]</p>
<div class="cbox">
<div></div>
<p>The \(\hinf\) norm is defined as the peak of the maximum singular value of the frequency response:</p>
<p>\begin{equation}
\hnorm{M(s)} \triangleq \max_{\w} \maxsv(M(j\w))
\end{equation}</p>
</div>
<p>For MIMO systems <strong>the bandwidth depends on direction</strong>.
If we want to associate a single bandwidth frequency for a multivariable system, then we consider the worst-case direction, and define the bandwidth \(\w_B\) as the frequency where \(\maxsv(S)\) crosses \(\frac{1}{\sqrt{2}} = 0.7\) from below.</p>
<h3 id="control-of-multivariable-plants">Control of Multivariable Plants</h3>
<p>A conceptually simple approach to multivariable control is given by a two-step procedure:</p>
<ol>
<li><strong>Design a pre-compensator</strong> \(W_1\), which counteracts the interactions in the plant and results in a new <strong>shaped plant</strong> \(G_S(s) = G(s) W_1(s)\) which is <strong>more diagonal and easier to control</strong> than the original plant \(G(s)\).</li>
<li><strong>Design a diagonal controller</strong> \(K_S(s)\) for the shaped plant using methods similar to those for SISO systems.</li>
</ol>
<p>The overall controller is then:
\[ K(s) = W_1(s)K_s(s) \]</p>
<h4 id="decoupling">Decoupling</h4>
<p>There are mainly three different cases:</p>
<ol>
<li><strong>Dynamic decoupling</strong>: \(G_S(s)\) is diagonal at all frequencies. For that we can choose \(W_1(s) = G^{-1}(s)\) and this is an inverse-based controller.</li>
<li><strong>Steady-state decoupling</strong>: \(G_S(0)\) is diagonal. This can be obtained by selecting \(W_1(s) = G^{-1}(0)\).</li>
<li><strong>Approximate decoupling at frequency \(\w_0\)</strong>: \(G_S(j\w_0)\) is as diagonal as possible. Decoupling the system at \(\w_0\) is a good choice because the effect on performance of reducing interaction is normally greatest at this frequency.</li>
</ol>
<p>The idea of decoupling control is appealing, but there are <strong>several difficulties</strong>:</p>
<ol>
<li>It is very sensitive to modelling errors</li>
<li>It may not be required for disturbance rejection</li>
<li>If the plant has RHP-zero, the decoupling generally introduces extra RHP-zero in the closed-loop system</li>
</ol>
<h4 id="svd-controller">SVD-Controller</h4>
<p>We can also introduce a <strong>post compensator</strong> \(W_2(s)\).
The shaped plant is then:
\[G_S(s) = W_2(s)G(s)W_1(s)\]</p>
<p>A diagonal controller \(K_S\) can then be designed for the shaped plant. The overall controller is then:
\[K(s) = W_1(s)K_S(s)W_2(s)\]</p>
<p>The <strong>SVD-controller</strong> is a special case of a pre and post compensator design: \(W_1 = V_0\) and \(W_2 = U_0^T\).
\(V_0\) and \(U_0\) are obtained from a SVD of \(G_0 = U_0 \Sigma_0 V_0^T\) where \(G_0\) is a real approximation of \(G(j\w_0)\).</p>
<h4 id="decentralized-control">Decentralized Control</h4>
<p>Another approach is to use a diagonal or block-diagonal controller \(K(s)\). This works well if \(G(s)\) is close to diagonal, because then the plant to be controlled is essentially a collection of independent sub-plants, and each element in \(K(s)\) may be designed independently.
However, if off-diagonal elements in \(G(s)\) are large, the performance with decentralized diagonal control may be poor because no attempt is made to counteract the interactions.</p>
<h4 id="what-is-the-shape-of-the-best-feedback-controller">What is the Shape of the &ldquo;best&rdquo; Feedback Controller?</h4>
<p>Consider the problem of disturbance rejection: \(y = S G_d d\) where \(\normtwo{d}&lt;1\) and our performance requirement is that \(\normtwo{y}&lt;1\) which is equivalent to requiring \(\maxsv(SG_d) &lt; 1\).</p>
<p>However there is generally a trade-off between input usage and performance. The controller that minimize the input magnitude while meeting the performance requirement is the one that yields all singular values of \(SG_d\) equal to 1, i.e. \(\sigma_i(SG_d) = 1, \forall \w\). This corresponds to:
\[S_{\text{min}} G_d = U_1\]
Where \(U_1\) is some all-pass transfer function (which at each frequency has all its singular values equal to 1).</p>
<p>At frequencies where feedback is effective, we have \(S\approx L^{-1}\) and then \(L_{\text{min}} = GK_{\text{min}} \approx G_d U_1^{-1}\).
In conclusion, the controller and loop shape with the minimum gain will often look like:
\[ K_{\text{min}} \approx G^{-1} G_d U_2 \]
where \(U_2 = U_1^{-1}\) is some all-pass transfer function matrix.</p>
<p>We see that for disturbances entering at the plant inputs, \(G_d = G\), we get \(G_{\text{min}} = U_2\), so a simple constant unit gain controller yields a good trade-off between output performance and input usage.</p>
<h4 id="summary-of-mixed-sensitivity--hinf--synthesis">Summary of Mixed-Sensitivity \(\hinf\) Synthesis</h4>
<p>In the mixed-sensitivity \(S/KS\) problem, the objective is to minimize the \(\hinf\) norm of:</p>
<p>\begin{equation}
N = \colvec{W_P S \ W_U K S}
\end{equation}</p>
<p>Here are some guidelines for the choice of the weights \(W_P\) and \(W_U\):</p>
<ul>
<li>\(KS\) is the transfer function from \(r\) to \(u\), so for a system which has been scaled, a reasonable initial choice for the input weight is \(W_U = I\)</li>
<li>\(S\) is the transfer function from \(r\) to \(-e = r-y\). A common choice for the performance weight is \(W_P = \text{diag}\{w_{p_i}\}\) with:
\[ w_{p_i} = \frac{s/M_i + \w_{B_i}^*}{s + \w_{B_i}^*A_i}, \quad A_i \ll 1 \]
Selecting \(A_i \ll 1\) ensures approximate integral action.
Often we select \(M_i\) about 2 for all outputs, whereas \(\w_{B_i}^*\) may be different for each output.</li>
</ul>
<p>For disturbance rejection, we may in some cases want a steeper slope for \(w_{P_i}(s)\) at low frequencies.
However it may be better to <strong>consider the disturbances explicitly</strong> by considering the \(\hinf\) norm of:</p>
<p>\begin{equation}
N = \begin{bmatrix}
W_P S &amp; W_P S G_d \\\<br>
W_U K S &amp; W_U K S G_d
\end{bmatrix}
\end{equation}</p>
<p>We can also considerate \(T\) which is the transfer function from \(-n\) to \(y\). To reduce the sensitivity to noise and uncertainty, we want \(T\) small at high frequencies, and so we may want <strong>additional roll-off</strong> in \(L\).
This can be achieved in several ways:</p>
<ul>
<li>One approach is to add \(W_T T\) to the stack for \(N\) where \(W_T = \text{diag}\{w_{T_i}\}\) and \(\abs{w_{T_i}}\) is smaller than 1 at low frequencies and large at high frequencies</li>
<li>A more direct approach is to <strong>add high-frequency dynamics</strong> \(W_1(s)\) <strong>to the plant model</strong> to ensure that the resulting shaped plant, \(G_S=GW_1\) rolls off with the desired slope. We then obtain an \(\hinf\) optimal controller \(K_S\) for this shaped plant, and finally include \(W_1(s)\) in the controller \(K=W_1 K_S\)</li>
</ul>
<h3 id="introduction-to-mimo-rhp-zeros">Introduction to MIMO RHP-Zeros</h3>
<p>Whereas the poles \(p\) of MIMO system \(G\) are essentially poles of elements of \(G\), the zeros are generally not the zeros of elements of \(G\).
However, for square MIMO plants, the poles and zeros are in most cases the poles and zeros of \(\det G(s)\).</p>
<div class="cbox">
<div></div>
<p>The zeros \(z\) of a MIMO system \(G\) are defined as the values \(s=z\) where \(G(s)\) loses rank.</p>
</div>
<p>As for SISO systems, we find that <strong>RHP-zeros impose fundamental limitations on control</strong>.
Poles and zeros of MIMO systems have <strong>directions</strong>:</p>
<ul>
<li>We can find the <strong>direction of a zero</strong> by looking at the direction in which the matrix \(G(z)\) has zero gain</li>
<li>Pole direction is direction where \(G(p)\) is infinite</li>
</ul>
<p>It is generally possible to move the effect of RHP-zero to particular outputs.
If it is not, the zero is called a &ldquo;<strong>pinned zero</strong>&quot;.</p>
<h3 id="condition-number-and-rga">Condition Number and RGA</h3>
<h4 id="condition-number">Condition Number</h4>
<div class="cbox">
<div></div>
<p>We define the condition number of a matrix as the ratio between its maximum and minimum singular values:</p>
<p>\begin{equation}
\gamma(G) \triangleq \maxsv(G)/\minsv(G)
\end{equation}</p>
</div>
<p>A matrix with large condition number is said to be <strong>ill-conditioned</strong>.</p>
<p>For a non-singular square matrix \(\minsv(G)=1/\maxsv(G^{-1})\), so \(\gamma(G) = \maxsv(G) \maxsv(G^{-1})\).
It then follows that the condition number is large if the product of the largest element in \(G\) and \(G^{-1}\) is large.</p>
<p>Note that the condition number depends strongly on scaling. One might consider minimizing the condition number over all possible scalings.
This results in the <strong>minimized or optimal condition number</strong> which is defined by:</p>
<p>\begin{equation}
\gamma^*(G) = \min_{D_1,D_2} \gamma(D_1 G D_2)
\end{equation}</p>
<p>If the condition number is small, then the multivariable effects of uncertainty are not likely to be serious.
However if the condition number is large (say, larger than 10), then this may indicate control problems.</p>
<h4 id="relative-gain-array--rga">Relative Gain Array (RGA)</h4>
<div class="cbox">
<div></div>
<p>The relative gain array (RGA) for a non-singular square matrix \(G\) is a square matrix defined as:</p>
<p>\begin{equation}
\text{RGA}(G) = \Lambda(G) \triangleq G \times G^{-T}
\end{equation}</p>
<p>where \(\times\) is element-by-element multiplication</p>
</div>
<p>In most case, it is the value of the RGA at frequencies close to crossover which is most important.</p>
<p>The RGA has interesting algebraic properties:</p>
<ul>
<li>It is independent of input and output scaling</li>
<li>Its rows and columns sum to one</li>
<li>The sum-norm of the RGA \(\|\Lambda\|_\text{sum}\) is close to the minimized condition number \(\gamma^*\).
Plants with large RGA-elements are thus always ill-conditioned</li>
<li>The RGA is the identity matrix if \(G\) is upper of lower triangular. This follows that \(\Gamma - I\) provides a <strong>measure of two-way interactions</strong></li>
</ul>
<p>It has also a number of useful <strong>control properties</strong>:</p>
<ul>
<li>Plants with large RGA-elements around the crossover frequency are fundamentally difficult to control because of sensitivity to input uncertainty</li>
<li>If the sign of a RGA-element changes from \(s=0\) to \(s=\infty\), then there is a RHP-zero in \(G\)</li>
<li>The definition of the RGA may be generalized to non-square matrices by using the pseudo inverse</li>
<li>The <strong>RGA-number</strong> can be used as a measure of diagonal dominance: \(\|\Lambda(G)-I\|_{\text{sum}}\)</li>
<li>For decentralized control, we prefer pairing input and outputs for which the RGA-number at crossover frequencies is close to \(0\)</li>
</ul>
<h3 id="introduction-to-robustness-for-mimo-plants">Introduction to Robustness for MIMO Plants</h3>
<p>Multivariable plants can show a sensitivity to uncertainty which is fundamentally different from what is possible in SISO systems.
It is possible to have excellent stability margins (GM and PM) when considering one loop at a time, but small simultaneous input gain errors can give instability.</p>
<p>For SISO systems, we generally have that nominal performance and robust stability imply robust performance, but this is not the case for MIMO systems.</p>
<p>Although we have <strong>useful indicators of robustness problems</strong> (RGA-number, Sensitivity Peaks, etc), they provide no exact answer to whether a given source of uncertainty will yield instability or poor performance.
The <strong>structured singular value</strong> \(\mu\) is a tool for analyzing the effects of model uncertainty.</p>
<h3 id="general-control-problem-formulation">General Control Problem Formulation</h3>
<p>The general control problem formulation is represented in Fig. <a href="#fig:general_control_names">fig:general_control_names</a>.</p>
<p><a id="org410e618"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_general_control_names.png"
alt="Figure 6: General control configuration"/> <figcaption>
<p>Figure 6: General control configuration</p>
</figcaption>
</figure>
<div class="cbox">
<div></div>
<p>Find a controller \(K\) which based on the information in \(v\), generates a control signal \(u\) which counteracts the influence of \(w\) on \(z\), thereby minimizing the closed-loop norm from \(w\) to \(z\).</p>
</div>
<h4 id="obtaining-the-generalized-plant--p">Obtaining the Generalized Plant \(P\)</h4>
<p>We must first find a block diagram representation of the system and identify the signals \(w\), \(z\), \(u\) and \(v\).
Then we have to break all the &ldquo;loops&rdquo; entering and exiting the controller \(K\) to obtain \(P\) such that:</p>
<p>\begin{equation}
\colvec{z\v} = P \colvec{w\u}
\end{equation}</p>
<h4 id="controller-design-including-weights-in--p">Controller Design: Including Weights in \(P\)</h4>
<p>In order to get a meaningful controller synthesis problem, for example in terms of the \(\hinf\) norms, we generally have to include the weights \(W_z\) and \(W_w\) in the generalized plant \(P\) (Fig. <a href="#fig:general_plant_weights">fig:general_plant_weights</a>).
We consider:</p>
<ul>
<li>The weighted or normalized exogenous inputs \(w\) (where \(\tilde{w} = W_w w\) consists of the &ldquo;physical&rdquo; signals entering the system)</li>
<li>The weighted or normalized controlled outputs \(z = W_z \tilde{z}\) (where \(\tilde{z}\) often consists of the control error \(y-r\) and the manipulated input \(u\))</li>
</ul>
<p><a id="org98354a0"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_general_plant_weights.png"
alt="Figure 7: General Weighted Plant"/> <figcaption>
<p>Figure 7: General Weighted Plant</p>
</figcaption>
</figure>
<p>The weighted matrices are usually frequency dependent and typically selected such that weighted signals \(w\) and \(z\) are of magnitude 1.</p>
<h4 id="partitioning-the-generalized-plant--p">Partitioning the Generalized Plant \(P\)</h4>
<p>We often partition \(P\) as:</p>
<p>\begin{equation}
\begin{bmatrix} z \ v \end{bmatrix} = \begin{bmatrix}
P_{11} &amp; P_{12} \\\<br>
P_{21} &amp; P_{22}
\end{bmatrix} \begin{bmatrix} w \ u \end{bmatrix}
\end{equation}</p>
<p>\(P_{22}\) has dimensions compatible with the controller.</p>
<h4 id="analysis-closing-the-loop-the-get--n">Analysis: Closing the Loop the get \(N\)</h4>
<p>In the previous representations, the controller \(K\) has a separate block. This is useful when <strong>synthesizing</strong> the controller. However, for <strong>analysis</strong> of closed-loop performance the controller is given, and we may absorb \(K\) into the interconnection structure and obtain the system \(N\).</p>
<div class="cbox">
<div></div>
<p>\begin{equation}
z = N w
\end{equation}</p>
<p>\(N\) is given by:
\[N = P_{11} + P_{12}K(I-P_{22}K)^{-1}P_{12} \triangleq F_l(P, K) \]
where \(F_l(P, K)\) denotes a <strong>lower linear fractional transformation</strong> (LFT).</p>
</div>
<h4 id="a-general-control-configuration-including-model-uncertainty">A General Control Configuration Including Model Uncertainty</h4>
<p>The general control configuration may be extended to include model uncertainty as shown in Fig. <a href="#fig:general_config_model_uncertainty">fig:general_config_model_uncertainty</a>.</p>
<p><a id="orgaee1f77"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_general_control_Mdelta.png"
alt="Figure 8: General control configuration for the case with model uncertainty"/> <figcaption>
<p>Figure 8: General control configuration for the case with model uncertainty</p>
</figcaption>
</figure>
<p>The matrix \(\Delta\) is a block-diagonal matrix that includes all possible perturbations (representing uncertainty).
It is usually normalized in such a way that \(\hnorm{\Delta} \leq 1\).</p>
<h3 id="conclusion">Conclusion</h3>
<div class="cbox">
<div></div>
<p>The <strong>Singular Value Decomposition</strong> (SVD) of the plant transfer function matrix provides insight into <strong>multivariable directionality</strong>.<br /></p>
<p>Other useful tools for analyzing directionality and interactions are the <strong>condition number</strong> and the <strong>Relative Gain Array</strong> (RGA).<br /></p>
<p><strong>Closed loop performance</strong> may be analyzed in the frequency domain by evaluating the <strong>maximum singular value of the sensitivity function</strong> as the function of frequency.<br /></p>
<p><strong>Multivariable RHP-zeros</strong> impose fundamental limitations on performance, but for MIMO systems we can often direct the undesired effect of a RHP-zero to a subset of the outputs.<br /></p>
<p>MIMO systems are often <strong>more sensitive to uncertainty</strong> than SISO systems.</p>
</div>
<h2 id="elements-of-linear-system-theory">Elements of Linear System Theory</h2>
<p><a id="orgb820714"></a></p>
<h3 id="system-descriptions">System Descriptions</h3>
<p>For linear systems there are several alternative system representations:</p>
<ul>
<li><strong>state-space representation</strong> often follows directly from a physical model, and is used in most <strong>numerical calculations</strong>.</li>
<li><strong>transfer function representation</strong> is a nice compact representation which yields invaluable insights; it allows for series connections to be represented by multiplication of transfer functions. It also leads directly to the frequency response by setting \(s = j\w\).</li>
<li><strong>coprime factorization</strong> is a factorization into two stable systems, and that it is useful for representing the class of all stabilizing controllers. It forms the basis for the very useful coprime uncertainty description.</li>
</ul>
<h4 id="state-space-representation">State-Space Representation</h4>
<p>A natural way to represent many physical systems is by nonlinear state-space models of the form
\[\dot{x} \triangleq \frac{dx}{dt} = f(x, u);\quad y = g(x, u)\]</p>
<p>Linear state-space models may then be derived from the linearization of such models.</p>
<p>\begin{align*}
\dot{x}(t) &amp; = A x(t) + B u(t)\\\<br>
y(t) &amp; = C x(t) + D u(t)
\end{align*}</p>
<p>where \(A\), \(B\), \(C\) and \(D\) are real matrices.</p>
<p>These equations may be rewritten as
\[\colvec{\dot{x}\y} = \begin{bmatrix}
A &amp; B \\\<br>
C &amp; D
\end{bmatrix} \colvec{x\u}\]
which gives rise to the short-hand notation
\[G = \left[ \begin{array}{c|c}
A &amp; B \ \hline
C &amp; D \\\<br>
\end{array} \right]\]</p>
<p>The state-space representation of a system is not unique, there exist realizations with the same input-output behavior, but with additional unobservable and/or uncontrollable state.</p>
<div class="cbox">
<div></div>
<p>A minimal realization is a realization with the <strong>fewest number of states</strong> and consequently <strong>no unobservable or uncontrollable modes</strong>.</p>
</div>
<p>The state-space representation yields an internal description of the system which may be useful if the model is derived from physical principles. It is also more suitable for numerical calculations.</p>
<h4 id="impulse-response-representation">Impulse Response Representation</h4>
<p>The impulse response matrix is
\[g(t) = \begin{cases}
0 &amp; t &lt; 0 \\\<br>
C e^{At} B + D \delta(t) &amp; t \geq 0
\end{cases}\]
The \(ij\)&lsquo;th element of the impulse response matrix, \(g_{ij}(t)\), represents the response \(y_i(t)\) to an impulse \(u_j(t)=\delta(t)\) for a systems with a zero initial state.</p>
<p>With initial state \(x(0) = 0\), the dynamic response to an arbitrary input \(u(t)\) is
\[y(t) = g(t)*u(t) = \int_0^t g(t-\tau)u(\tau)d\tau\]</p>
<h4 id="transfer-function-representation-laplace-transforms">Transfer Function Representation - Laplace Transforms</h4>
<p>The transfer function representation is unique and is defined as the Laplace transform of the impulse response.</p>
<div class="cbox">
<div></div>
<p>\[ G(s) = \int_0^\infty g(t)e^{-st}dt \]</p>
</div>
<p>We can also obtain the transfer function representation from the state-space representation by taking the Laplace transform of the state-space equations
\[ s x(s) = A x(s) + B u(s) \ \Rightarrow \ x(s) = (sI-A)^{-1} B u(s) \]
\[ y(s) = C x(s) + D u(s) \ \Rightarrow \ y(s) = \underbrace{\left(C(sI-A)^{-1}B+D\right)}_{G(s)}u(s) \]</p>
<p>Time delays and improper systems can be represented by Laplace transforms, but do not have a state-space representation.</p>
<h4 id="coprime-factorization">Coprime Factorization</h4>
<div class="cbox">
<div></div>
<p>\[G(s) = N_r(s) M_r^{-1}(s)\]
where \(N_r(s)\) and \(M_r(s)\) are stable coprime transfer functions.</p>
</div>
<p>The stability implies that \(N_r(s)\) should contains all the RHP-zeros of \(G(s)\), and \(M_r(s)\) should contain as RHP-zeros all the RHP-poles of \(G(s)\).
Mathematically, coprimeness means that there exist stable \(U_r(s)\) and \(V_r(s)\) such that the Bezout identity is satisfied: \(U_r N_r + V_r M_r = I\)</p>
<h3 id="state-controllability-and-state-observability">State Controllability and State Observability</h3>
<p>There are <strong>many ways to check for state controllability and observability</strong>, e.g. with Gramians, input/output pole vectors, controllability/observability matrix, etc.</p>
<h5 id="input-and-output-pole-vectors">Input and output pole vectors</h5>
<p>The method which yields the most insight is probably to compute the input and output directions associated with each pole (mode).</p>
<p>For the case when \(A\) has distinct eigenvalues, we have the following dyadic expansion of the transfer function matrix from inputs to outputs
\[G(s) = \sum_{i=1}^{n} \frac{C t_i q_i^H B}{s - \lambda_i} + D = \sum_{i=1}^{n} \frac{y_{p_i} u_{p_i}}{s - \lambda_i} + D\]</p>
<ul>
<li>The \(i\)&lsquo;th <strong>input pole vector</strong> \(u_{p_i} \triangleq q_i^H B\) is an indication of how much the \(i\)&lsquo;th mode is excited (and thus may be &ldquo;controlled&rdquo;) by the inputs.</li>
<li>The \(i\)&lsquo;th <strong>output pole vector</strong> \(y_{p_i} \triangleq C t_i\) indicates how much the \(i\)&lsquo;th mode is observed in the outputs.</li>
</ul>
<h5 id="state-controllability">State Controllability</h5>
<p>Let \(\lambda_i\) be the \(i^{\text{th}}\) eigenvalue of \(A\), \(q_i\) the corresponding left eigenvector (\(q_i^H A = \lambda_i q_i^H\)), and \(u_{p_i} = B^H q_i\) the \(i^{\text{th}}\) input pole vector. Then the system \((A, B)\) is state controllable if and only if
\[u_{p_i} \neq 0, \forall i\]
That is if and only if all its input pole vectors are nonzero.</p>
<h5 id="state-observability">State Observability</h5>
<p>Let \(\lambda_i\) be the \(i^{\text{th}}\) eigenvalue of \(A\), \(t_i\) the corresponding right eigenvector (\(A t_i = \lambda_i t_i\)), and \(y_{p_i} = C t_i\) the \(i^{\text{th}}\) output pole vector. Then the system \((A, C)\) is state observable if and only if
\[y_{p_i} \neq 0, \forall i\]
That is if and only if all its output pole vectors are nonzero.</p>
<h5 id="minimal-realization">Minimal realization</h5>
<p>A state space realization \((A, B, C, D)\) of \(G(s)\) is said to be a minimal realization of \(G(s)\) if \(A\) has the smallest possible dimension. The smallest dimension is called the <strong>McMillan degree</strong> of \(G(s)\). A mode is hidden if it is not state controllable or observable and thus does not appear in the minimal realization.
It follows that a state-space realization is minimal if and only if \((A, B)\) is state controllable and \((A, C)\) is state observable.</p>
<h3 id="stability">Stability</h3>
<div class="cbox">
<div></div>
<p>A system is (internally) stable is none of its components contain hidden unstable modes and the injection of bounded external signals at any place in the system result in bounded output signals measured anywhere in the system.</p>
</div>
<div class="cbox">
<div></div>
<p>A system is (state) <strong>stabilizable</strong> if all unstable modes are state controllable.
A system is (state) <strong>detectable</strong> if all unstable modes are state observable.</p>
<p>A system with unstabilizable or undetectable modes is said to contain hidden unstable modes.</p>
</div>
<h3 id="poles">Poles</h3>
<div class="cbox">
<div></div>
<p>The poles \(p_i\) of a system with state-space description are the <strong>eigenvalues</strong> \(\lambda_i(A), i=1, \dotsc, n\) of the matrix \(A\).
The <strong>pole or characteristic polynomial</strong> \(\phi(s)\) is defined as \(\phi(s) \triangleq \det(sI-A) = \Pi_{i=1}^n (s-p_i)\).
Thus the poles are the roots or the characteristic equation
\[\phi(s) \triangleq \det(sI-A) = 0\]</p>
</div>
<h4 id="poles-and-stability">Poles and Stability</h4>
<p>A linear dynamic system is <strong>stable if and only if all the poles are in the LHP</strong>, that is, \(\text{Re}\{\lambda_i(A)\} &lt; 0, \forall i\)</p>
<h4 id="poles-from-transfer-functions">Poles from Transfer Functions</h4>
<p>The pole polynomial \(\phi(s)\) corresponding to a minimal realization of a system with transfer function \(G(s)\) is the <strong>least common denominator</strong> of all non-identically-zero minors of all orders of \(G(s)\).</p>
<p>The poles are essentially the sum of the poles in the elements of the transfer function, but to get the correct multiplicity a more careful analysis is needed.</p>
<h4 id="pole-vectors-and-directions">Pole Vectors and Directions</h4>
<p>In multivariable system poles have <strong>directions</strong> associated with them. To quantify this, we use the <strong>input and output pole vectors</strong>.</p>
<div class="cbox">
<div></div>
<p>\[ u_{p_i} = B^H q_i \]
With \(q_i\) the left eigenvector of \(A\) (\({q_i}^T A = \lambda_i {q_i}^T\)).
The input pole direction is \(\frac{1}{\normtwo{u_{p_i}}} u_{p_i}\)</p>
</div>
<div class="cbox">
<div></div>
<p>\[ y_{p_i} = C t_i \]
With \(t_i\) the right eigenvector of \(A\) (\(A t_i = \lambda_i t_i\)).
The output pole direction is \(\frac{1}{\normtwo{y_{p_i}}} y_{p_i}\)</p>
</div>
<p>The pole directions may be defined in terms of the transfer function matrix by evaluating \(G(s)\) at the pole \(p_i\) and considering the directions of the resulting complex matrix \(G(p_i)\). The matrix is infinite in the direction of the pole, and we may write
\[ G(p_i) u_{p_i} = \infty \cdot y_{p_i} \]
where \(u_{p_i}\) is the input pole direction and \(y_{p_i}\) is the output pole direction.</p>
<p>The pole directions may in principle be obtained from an SVD of \(G(p_i) = U\Sigma V^H\).
Then \(u_{p_i}\) is the first column in \(V\) (corresponding to the maximum singular value) and \(y_{p_i}\) the first column in \(U\).</p>
<p>The pole direction is usually very interesting because it gives information about which output (or combination of outputs) may be difficult to control.</p>
<h3 id="zeros">Zeros</h3>
<p>Zeros of a system arise when competing effects, internal to the system, are such that the output is zero even when the inputs (and the states) are not themselves identically zero.</p>
<div class="cbox">
<div></div>
<p>\(z_i\) is a zero of \(G(s)\) if the rank of \(G(z_i)\) is less than the normal rank of \(G(s)\).
The zero polynomial is defined as \(z(s) = \Pi_{i=1}^{n_z}(s-z_i)\) where \(n_z\) is the number of finite zeros of \(G(s)\)</p>
</div>
<h4 id="zeros-from-state-space-realizations">Zeros from State-Space Realizations</h4>
<p>The state-space equations of a system may be written as
\[P(s) \colvec{x\u} = \colvec{0\y}, \quad P(s) = \begin{bmatrix}
sI-A &amp; -B \\\<br>
C &amp; D \\\<br>
\end{bmatrix}\]</p>
<p>The zeros are then the values \(s=z\) for which the polynomial system matrix, \(P(s)\), loses rank, resulting in zero output for some non-zero input.</p>
<h4 id="zeros-from-transfer-functions">Zeros from Transfer Functions</h4>
<p>The zero polynomial \(z(s)\), corresponding to a minimal realization of the system, is the greatest divisor of all the numerator of all order-\(r\) minors of \(G(s)\), where \(r\) is the normal rank of \(G(s)\), provided that these minors have been adjusted in such a way as to have the pole polynomial \(\phi(s)\) as their denominator.</p>
<p>The zeros are values of \(s\) for which \(G(s)\) looses rank. In general, there is no relationship between the elements of the transfer function and its (multivariable) zeros.</p>
<h4 id="zero-directions">Zero Directions</h4>
<p>Let \(G(s)\) have a zero at \(s=z\). Then \(G(s)\) loses rank at \(s=z\), and there will exist non-zero vectors \(u_z\) and \(y_z\) such that
\[G(z) u_z = 0 \cdot y_z\]
Here \(u_z\) is defined as the <strong>input zero direction</strong> and \(y_z\) is defined as the <strong>output zero direction</strong>.</p>
<p>From a practical point of view, \(y_z\) is usually of more interest than \(u_z\) because it give information about <strong>which combination of outputs may be difficult to control</strong>.</p>
<p>Again, we may obtain input and output zero directions from an SVD of \(G(s)\): \(u_z\) is the last column of \(U\) and \(y_z\) is the last column of \(V\) (corresponding to the zero singular value of \(G(z)\)).</p>
<h3 id="some-remarks-on-poles-and-zeros">Some Remarks on Poles and Zeros</h3>
<ul>
<li>We should always find a <strong>minimal realization</strong> of the system <strong>before computing the zeros</strong>.</li>
<li>For a square system \(G(s)\), the poles and zeros are <em>essentially</em> the poles and zeros of \(\det G(s)\).</li>
<li>Poles and zeros can occurs at the same location, but their directions may be different so they do not cancel or otherwise interact with each other.</li>
<li>If \(G^{-1}(s)\) exists, then the poles of \(G(s)\) are the zeros of \(G^{-1}(s)\) and vice versa (as for SISO systems).</li>
<li>Zeros usually appear when there are fewer inputs or outputs than states or when \(D \neq 0\)</li>
<li><strong>Moving poles and zeros</strong>:
<ul>
<li><strong>Feedback</strong>: \(G(I+GK)^{-1}\). Poles (of \(G\)) are moved and zeros (of \(G\)) are unchanged (in addition we get as zeros the poles of \(K\))</li>
<li><strong>Series</strong>: \(GK\). Poles and zeros are unchanged (with the exception of possible cancellations between poles and zeros in \(G\) and \(K\))</li>
<li><strong>Parallel</strong>: \(G+K\). Poles are unchanged, zeros are moved (but note that physically a parallel interconnection requires an additional manipulated input)</li>
</ul>
</li>
<li><strong>Pinned zeros</strong>. A zero is pinned to a subset of the outputs if \(y_z\) has one or more elements equal to zero. Their effect cannot be moved freely to any output. Similarly, a zero is pinned to certain input if \(u_z\) has one or more elements equal to zero.</li>
</ul>
<div class="cbox">
<div></div>
<p>Consider a SISO negative feedback system with plant \(G(s)=\frac{z(s)}{\phi(s)}\) and a constant gain controller, \(K(s)=k\). The closed-loop response from reference \(r\) to output \(y\) is
\[T(s) = \frac{kG(s)}{1+kG(s)} = \frac{kz(s)}{\phi(s)+kz(s)} = k\frac{z_{\text{cl}}(s)}{\phi_{\text{cl}}(s)}\]</p>
<p>We note that:</p>
<ul>
<li>The zero locations are unchanged by feedback</li>
<li>The pole locations are changed by feedback</li>
</ul>
<p>\begin{align*}
\phi_{\text{cl}(s)} &amp;\underset{k \rightarrow 0}{\longrightarrow} \phi(s) \\\<br>
\phi_{\text{cl}(s)} &amp;\underset{k \rightarrow \infty}{\longrightarrow} k z(s)
\end{align*}</p>
<p>That is, as we increase the feedback gain, <strong>the closed loop poles moves from open-loop poles to the open-loop zeros</strong>.
RHP-zeros therefore imply high gain instability.</p>
</div>
<h3 id="internal-stability-of-feedback-systems">Internal Stability of Feedback Systems</h3>
<p><a id="orgb1e4209"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_classical_feedback_stability.png"
alt="Figure 9: Block diagram used to check internal stability"/> <figcaption>
<p>Figure 9: Block diagram used to check internal stability</p>
</figcaption>
</figure>
<p>Assume that the components \(G\) and \(K\) contain no unstable hidden modes. Then the feedback system in Fig. <a href="#fig:block_diagram_for_stability">fig:block_diagram_for_stability</a> is <strong>internally stable</strong> if and only if all four closed-loop transfer matrices are stable.</p>
<p>\begin{align*}
&amp;(I+KG)^{-1} &amp; -K&amp;(I+GK)^{-1} \\\<br>
G&amp;(I+KG)^{-1} &amp; &amp;(I+GK)^{-1}
\end{align*}</p>
<p>Assume there are no RHP pole-zero cancellations between \(G(s)\) and \(K(s)\), the feedback system in Fig. <a href="#fig:block_diagram_for_stability">fig:block_diagram_for_stability</a> is internally stable if and only if <strong>one</strong> of the four closed-loop transfer function matrices is stable.</p>
<h3 id="stabilizing-controllers">Stabilizing Controllers</h3>
<p>The <strong>Q-parameterization</strong> is a parameterization that generates all controllers that yield internal stability of the closed loop transfer function.</p>
<div class="cbox">
<div></div>
<p>For stable plants, a parameterization of all stabilizing negative feedback controllers for the stable plant \(G(s)\) is given by
\[K = (I-QG)^{-1} Q = Q(I-GQ)^{-1}\]
where the parameter \(Q\) is any stable transfer function matrix.</p>
</div>
<p>This may have significant advantages in controller synthesis where the objective is to a find a \(K\) which minimizes some norm of \(N(K)\).
The search over stabilizing \(K\) (which involves checking the stability of closed-loop transfer functions) is replaced by a search over stable \(Q\).
The closed-loop transfer functions turn out to be affine in \(Q\), e.g. \(S\) or \(T\) can be written \(H1 + H2 Q H3\), which may significantly simplify the optimization (e.g. compared to \(GK(I+GK)^{-1}\) which is fractional in \(K\)).</p>
<h3 id="stability-analysis-in-the-frequency-domain">Stability Analysis in the Frequency Domain</h3>
<div class="cbox">
<div></div>
<p>Let \(P_{ol}\) denote the number of unstable poles in \(L(s) = G(s)K(s)\). The closed-loop system with loop transfer \(L(s)\) and negative feedback is stable if and only if the Nyquist plot of \(\det(I+L(s))\):</p>
<ol>
<li>makes \(P_{ol}\) anti-clockwise encirclements of the origin</li>
<li>does not pass through the origin</li>
</ol>
</div>
<div class="cbox">
<div></div>
<p>The spectral radius \(\rho(L(j\w))\) is defined as the maximum eigenvalue magnitude:
\[ \rho(L(j\w)) \triangleq \max_{i} \abs{\lambda_i (L(j\w))} \]</p>
</div>
<div class="cbox">
<div></div>
<p>Consider a system with a stable loop transfer function \(L(s)\). Then the closed-loop system is stable if
\[ \rho(L(j\w)) &lt; 1 \quad \forall \w \]</p>
</div>
<div class="cbox">
<div></div>
<p>Consider a system with a stable loop transfer function \(L(s)\). Then the closed-loop system is stable if
\[ \norm{L(j\w)} &lt; 1 \quad \forall \w\]
Where \(\norm{L}\) denotes any matrix norm that satisfies the multiplicative property \(\norm{AB} \leq \norm{A}\cdot\norm{B}\)</p>
</div>
<p>The Small gain theorem for SISO system says that the system is stable if \(\abs{L(j\w)} &lt; 1\) at all frequencies \(\w\). This is clearly a <strong>very conservative condition</strong> as no phase information is taken into account.</p>
<p>This may be understood as follows: the signals which &ldquo;return&rdquo; in the same direction after &ldquo;one turn around the loop&rdquo; are magnified by the eigenvalues \(\lambda_i\) (and the directions are the eigenvectors \(x_i\)):</p>
<p>\[ L x_i = \lambda_i x_i \]</p>
<p>So if all the eigenvalues \(\lambda_i\) are less than 1 in magnitude, all signals become smaller after each round, and the closed-loop system is stable.</p>
<h3 id="system-norms">System Norms</h3>
<h4 id="htwo--norm">\(\htwo\) norm</h4>
<div class="cbox">
<div></div>
<p>Consider a strictly proper system \(G(s)\). The \(\htwo\) norm is:</p>
<p>\begin{align*}
\normtwo{G(s)} &amp;\triangleq \sqrt{\frac{1}{2\pi} \int_{-\infty}^{\infty} \text{tr}\left(G(j\w)^HG(j\w)\right) d\w} \\\<br>
&amp; = \sqrt{\frac{1}{2\pi} \int_{-\infty}^{\infty} \sum_i {\sigma_i}^2(G(j\w)) d\w}
\end{align*}</p>
</div>
<p>The \(\htwo\) norm can have a stochastic interpretation where we measure the <strong>expected root mean square value of the output in response to white noise excitation</strong>.</p>
<h4 id="hinf--norm">\(\hinf\) norm</h4>
<div class="cbox">
<div></div>
<p>Consider a proper linear stable system \(G(s)\). The \(\hinf\) norm is the peak value of its maximum singular value:
\[ \hnorm{G(s)} \triangleq \max_{\w} \maxsv(G(j\w)) \]</p>
</div>
<p>The \(\hinf\) norm has several interpretations in the time and frequency domains:</p>
<ul>
<li>it is the peak of the transfer function magnitude</li>
<li>by introducing weights, it can be interpreted as the <strong>magnitude of the some closed-loop transfer function relative to an upper bound</strong></li>
<li>it is the worst case steady-state gain for sinusoidal inputs at any frequency</li>
<li>it is equal to the 2-norm in the time domain:</li>
</ul>
<p>\[ \hnorm{G(s)} = \max_{w(t) \neq 0} \frac{\normtwo{z(t)}}{\normtwo{w(t)}} = \max_{\normtwo{w(t)} = 1} \normtwo{z(t)} \]</p>
<ul>
<li>is has an interpretation as an induced norm in terms of the expected values of stochastic signals</li>
</ul>
<h4 id="difference-between-the--htwo--and--hinf--norms">Difference Between the \(\htwo\) and \(\hinf\) norms</h4>
<p>Minimizing the \(\hinf\) norm corresponds to minimizing the peak of the largest singular value, whereas minimizing the \(\htwo\) norm corresponds to minimizing the sum of the square of all the singular values over all frequencies.</p>
<div class="cbox">
<div></div>
<p>The \(\hinf\) norm is <strong>convenient for representing unstructured model uncertainty</strong> and because if satisfies the multiplicative property \(\hnorm{A(s)B(s)} \leq \hnorm{A(s)} \cdot \hnorm{B(s)}\)
It follows that the \(\hinf\) norm is an <strong>induced norm</strong>.</p>
</div>
<p>The \(\htwo\) norm on the other hand is not and induced norm and does not satisfies the multiplicative property.
This implies that we cannot, by evaluating the \(\htwo\) norm of the individual components say anything about how their series interconnection will behave.</p>
<h4 id="hankel-norm">Hankel norm</h4>
<p>The Hankel norm of a stable system \(G(s)\) is obtained when one applies an input \(w(t)\) up to \(t=0\) and measures the output \(z(t)\) for \(t&gt;0\), and selects \(w(t)\) to maximize the ratio of the 2-norms:
\[ \left\|G(s)\right\|_H \triangleq \max_{w(t)} \frac{\sqrt{\int_{0}^{\infty} \normtwo{z(\tau)}^2 d\tau }}{\sqrt{\int_{-\infty}^0 \normtwo{w(\tau)}^2 d\tau}} \]
The Hankel norm is a kind of induced norm from past inputs to future outputs.</p>
<p>It may be shown that the Hankel norm is equal to \(\left\|G(s)\right\|_H = \sqrt{\rho(PQ)}\) where \(\rho\) is the spectral radius, \(P\) is the controllability Gramian and \(Q\) the observability Gramian.</p>
<h2 id="limitations-on-performance-in-siso-systems">Limitations on Performance in SISO Systems</h2>
<p><a id="org76a7a2f"></a></p>
<h3 id="input-output-controllability">Input-Output Controllability</h3>
<div class="cbox">
<div></div>
<p>The input-output controllability is the <strong>ability to achieve acceptable control performance</strong>; that is, to keep the outputs (\(y\)) within specified bounds from their references (\(r\)), in spite of unknown but bounded variations, such as disturbances (\(d\)) and plant changes, using available inputs (\(u\)) and available measurements (\(y_m\)).</p>
</div>
<p>A plant is controllable if there <strong>exists</strong> a controller that yields acceptable performance for all expected plant variation. Thus, <strong>controllability is independent of the controller and is a property of the plant alone</strong>.
It may be affected by changing the plant itself:</p>
<ul>
<li>changing the mechanical design</li>
<li>relocating sensors and actuators</li>
<li>adding new equipment to dampen disturbances</li>
<li>adding extra sensor or actuators</li>
<li>changing the configuration of the lower layers of control already in place</li>
</ul>
<div class="cbox">
<div></div>
<p>Input-output controllability analysis is applied to a plant to find out <strong>what control performance can be expected</strong>.</p>
<p>It is also called <strong>performance targeting</strong>.</p>
</div>
<p>If the system has been <strong>scaled</strong>, the requirement for acceptable performance is:
For any disturbance \(\abs{d} \leq 1\) and any reference \(\abs{r} \leq R\), the <strong>performance requirement</strong> is to keep the control error \(\abs{e} \leq 1\) using an input \(\abs{u} \leq 1\).</p>
<h3 id="perfect-control-and-plant-inversion">Perfect Control and Plant Inversion</h3>
<p>To obtain insight into the inherent limitations on performance, let&rsquo;s consider the <strong>input needed to achieve perfect control</strong>.
Let the plant model be: \(y = G u + G_d d\)
Since we want perfect control, \(y = r\) and we have \(u = G^{-1} r - G^{-1} G_d d\) that represents a perfect feedforward controller.</p>
<p>For a feedback control, \(u = K(r - y)\), and we have \(u = KS r - KSG_d d\) that we can rewrite \(u = G^{-1}Tr - G^{-1}TG_d d\).</p>
<p>We see that at frequency where feedback is effective (\(T \approx I\)), the input generated by feedback is the same as the perfect control input. That is, <strong>high gain feedback generates an inverse of \(G\)</strong>.</p>
<p>Perfect control requires the controller to somehow generate an inverse of \(G\). Perfect control cannot be achieved if:</p>
<ul>
<li>\(G\) contains RHP-zeros (since then \(G^{-1}\) is unstable)</li>
<li>\(G\) contains time delay (since then \(G^{-1}\) contains non-causal prediction)</li>
<li>\(G\) has more pole than zero (since then \(G^{-1}\) is unrealizable)</li>
</ul>
<p>The required input must not exceed maximum physically allowed value (\(\abs{u} \leq 1\)), therefore perfect control cannot be achieve if:</p>
<ul>
<li>\(\abs{G^{-1} G_d}\) is large (\(\geq 1\))</li>
<li>\(\abs{G^{-1} R}\) is large (\(\geq 1\))</li>
</ul>
<h3 id="constrain-of--s--and--t">Constrain of \(S\) and \(T\)</h3>
<h4 id="s--plus--t--is-one">\(S\) Plus \(T\) is One</h4>
<div class="cbox">
<div></div>
<p>From the definitions \(S = (I + L)^{-1}\) and \(T = L(I+L)^{-1}\) we derive</p>
<p>\begin{equation}
S + T = I
\end{equation}</p>
</div>
<p>Ideally, we want \(S\) small to obtain small control error for commands and disturbances, and \(T\) small to avoid sensitivity to noise. There requirements are not simultaneously possible at any frequency.</p>
<h4 id="the-waterbed-effects">The Waterbed Effects</h4>
<p>In general, a trade-off between sensitivity reduction and sensitivity increase must be performed whenever:</p>
<ol>
<li>\(L(s)\) has at least two more poles than zeros (first waterbed formula)</li>
<li>\(L(s)\) has a RHP-zero (second waterbed formula)</li>
</ol>
<div class="cbox">
<div></div>
<p>Suppose that the open-loop transfer function \(L(s)\) is rational and has at least two more poles than zeros.
Suppose also that \(L(s)\) has \(N_p\) RHP-poles at locations \(p_i\).
Then for closed-loop stability, the sensitivity function must satisfy the following <strong>Bode Sensitivity Integral</strong>:</p>
<p>\begin{equation}
\int_0^\infty \ln\abs{S(j\w)} d\w = \pi \sum_{i=1}^{N_p} \text{Re}(p_i)
\end{equation}</p>
</div>
<p>For a <strong>stable plant</strong>, we must have:</p>
<p>\begin{equation}
\int_0^\infty \ln\abs{S(j\w)} d\w = 0
\end{equation}</p>
<p>The area of sensitivity reduction (\(\ln\abs{S}\) negative) must equal the area of sensitivity increase (\(\ln\abs{S}\) positive): <strong>the benefits and costs of feedback are balanced</strong>.</p>
<p>For <strong>unstable plant</strong>, the presence of unstable poles usually increase the peak of \(\abs{S}\) as seen from the contribution \(\pi \sum_{i=1}^{N_p} \text{Re}(p_i)\). This is the price to pay for stabilizing the system.</p>
<p>From the first waterbed formula, we expect that an increase in the bandwidth must come at the expense of a large peak in \(\abs{S}\).
Although this is true in most practical cases, however this is not strictly implied by the formula.
This is because the increase in area may happen over an infinite frequency range.</p>
<div class="cbox">
<div></div>
<p>Suppose that \(L(s)\) has a single real <strong>RHP-zero</strong> \(z\) or a complex conjugate pair of zero \(z=x\pm jy\), and has \(N_p\) RHP-poles \(p_i\).
For closed-loop stability, the sensitivity function must satisfy
\[ \int_0^\infty \ln\abs{S(j\w)} w(z, \w) d\w = \pi \ln \sum_{i=1}^{N_p} \abs{\frac{p_i + z}{\bar{p_i}-z}} \]</p>
<p>where if the zero is real
\[ w(z, \w) = \frac{2z}{z^2 + \w^2} \]
and if the zero pair is complex
\[ w(z, \w) = \frac{x}{x^2 + (y-\w)^2} + \frac{x}{x^2 + (y+\w)^2} \]</p>
</div>
<p>The second waterbed formula implies that the peak of \(\abs{S}\) is even higher for plants with RHP-zeros.</p>
<p>The weight \(w(z, \w)\) effectively &ldquo;cuts off&rdquo; the contribution from \(\ln\abs{S}\) to the integral at frequencies \(\w &gt; z\).
So we have approximately:
\[ \int_0^z \ln \abs{S(j\w)} d\w \approx 0 \]</p>
<p>This is similar to the Bode sensitivity integral, except that the trade-off is done over a limited frequency range.
Thus, a large peak for \(\abs{S}\) is unavoidable if we try to push down \(\abs{S}\) at low frequencies.</p>
<h4 id="interpolation-constraints">Interpolation Constraints</h4>
<div class="cbox">
<div></div>
<p>If \(p\) is a <strong>RHP-pole</strong> of the loop transfer function \(L(s)\) then</p>
<p>\begin{equation}
T(p) = 1, \quad S(p) = 0
\end{equation}</p>
<p>If \(z\) is a <strong>RHP-zero</strong> of the loop transfer function \(L(s)\) then</p>
<p>\begin{equation}
T(z) = 0, \quad S(z) = 1
\end{equation}</p>
</div>
<h4 id="sensitivity-peaks">Sensitivity Peaks</h4>
<div class="cbox">
<div></div>
<p>Suppose \(f(s)\) is stable, then the maximum value of \(\abs{f(s)}\) for \(s\) in the RHP is attained on the region&rsquo;s boundary (somewhere along the \(j\w\)-axis):
\[ \hnorm{f(j\w)} = \max_{\omega} \abs{f(j\w)} \geq \abs{f(s_0)} \quad \forall s_0 \in \text{RHP} \]</p>
</div>
<p>We can derive the following bounds on the peaks of \(S\) and \(T\) from the maximum modulus principle:
\[ \hnorm{S} \geq \max_{j} \prod_{i=1}^{N_p} \frac{\abs{z_j + \bar{p_i}}}{\abs{z_j - p_i}} \quad \hnorm{T} \geq \max_{i} \prod_{j=1}^{N_z} \frac{\abs{\bar{z_j} + p_i}}{\abs{z_j - p_i}} \]</p>
<p>This shows that <strong>large peaks</strong> for \(\abs{S}\) and \(\abs{T}\) are unavoidable if we have a <strong>RHP-zero and RHP-pole located close to each other</strong>.</p>
<h3 id="limitation-imposed-by-time-delays">Limitation Imposed by Time Delays</h3>
<p>Consider a plant \(G(s)\) that contains a time delay \(e^{-\theta s}\). Even the &ldquo;ideal&rdquo; controller cannot remove this delay and the &ldquo;ideal&rdquo; sensitivity function is \(S = 1 - T = 1 - e^{-\theta s}\).</p>
<div class="cbox">
<div></div>
<p>\(S\) crosses 1 at a frequency of about \(1/\theta\), so we expect to have an upper bound on \(\w_c\):
\[ \w_c &lt; 1/\theta \]</p>
</div>
<h3 id="limitation-imposed-by-rhp-zeros">Limitation Imposed by RHP-Zeros</h3>
<p>RHP-zeros typically appear when we have <strong>competing effects of slow and fast dynamics</strong>. Their presence induces many limitations.</p>
<h4 id="inverse-response">Inverse Response</h4>
<p>We can show that the output of a step change in the input of a stable plant with \(n_z\) real RHP-zeros will cross zero \(n_z\) times, that is, we have <strong>inverse response</strong>.</p>
<h4 id="high-gain-instability">High Gain Instability</h4>
<p>It is well known that the closed-loop poles migrate from the open-loop poles to the open-loop zeros as the feedback gain increases. Thus <strong>the presence of RHP-zeros implies high-gain instability</strong>.</p>
<h4 id="bandwidth-limitation">Bandwidth Limitation</h4>
<p>To derive bounds for the bandwidth, we select performance weight \(w_P(s)\) and we then use the interpolation constraint \(S(z) = 1\).</p>
<p>We require \(\abs{S(j\w)} &lt; 1/\abs{w_P(j\w)} \quad \forall \w\), so we must at least require that the weight satisfies \(\abs{w_P(z)} &lt; 1\).</p>
<h5 id="performance-at-low-frequencies">Performance at low frequencies</h5>
<p>If we specify performance at low frequencies, we may use the following weight:
\[ w_P = \frac{s/M + \w_B^*}{s + \w_B^* A} \]
Where \(\w_B^*\) is the minimum wanted bandwidth, \(M\) the maximum peak of \(\abs{S}\) and \(A\) the steady-state offset.</p>
<p>If we consider a <strong>real RHP-zero</strong>:
\[ \w_B^* &lt; z \frac{1 - 1/M}{1 - A} \]
For example, with \(A=0\) and \(M=2\), we must at least require \(\w_B^* &lt; 0.5z\).</p>
<p>If we consider an <strong>imaginary RHP-zero</strong>:
\[ \w_B^* &lt; \abs{z} \sqrt{1 - \frac{1}{M^2}} \]
For example, with \(M=2\), we must at least require \(\w_B^* &lt; 0.86\abs{z}\).</p>
<div class="cbox">
<div></div>
<p>The presence of RHP-zero imposes an <strong>upper bound on the achievable bandwidth</strong> when we want tight control at low frequencies</p>
</div>
<h5 id="performance-at-high-frequencies">Performance at high frequencies</h5>
<p>We consider the case where we want <strong>tight control at high frequencies</strong>, by use of the performance weight:
\[ w_P = \frac{1}{M} + \frac{s}{\w_B^*} \]</p>
<p>If we consider a <strong>real RHP-zero</strong>:
\[ \w_B^* &gt; z \frac{1}{1-1/M} \]
For example, with \(M=2\) the requirement is \(\w_B^* &gt; 2z\), so we can only achieve tight control at frequencies beyond the frequency of the RHP-zero.</p>
<div class="cbox">
<div></div>
<p>The presence of RHP-zero imposes and <strong>lower bound on the achievable bandwidth</strong> when we want tight control at high frequencies</p>
</div>
<h3 id="limitation-imposed-by-rhp-poles">Limitation Imposed by RHP-Poles</h3>
<p>For unstable plants with a RHP-pole at \(s = p\), we <strong>need</strong> feedback for stabilization.</p>
<div class="cbox">
<div></div>
<p>In presence of a RHP-pole at \(s=p\):
\[ \hnorm{KS} \geq \abs{G_s(p)^{-1}} \]
where \(G_s\) is the &ldquo;stable version&rdquo; of \(G\) with its RHP-poles mirrored into the LHP.</p>
<p>Since \(u = -KS(G_d d + n)\) and because of the previous inequality, the presence of disturbances \(d\) and measurement noise \(n\) may require the input \(u\) to saturate.
When the inputs saturate, the system is practically open-loop and the <strong>stabilization is not possible</strong>.</p>
</div>
<div class="cbox">
<div></div>
<p>We need to react sufficiently fast.
For a real RHP-pole \(p\) we must require that the closed-loop bandwidth is larger than \(2p\).
The presence of <strong>RHP-poles generally imposes a lower bound on the bandwidth</strong>.</p>
</div>
<h3 id="combined-unstable--rhp--poles-and-zeros">Combined Unstable (RHP) Poles and Zeros</h3>
<p>A strictly proper plant with a single real RHP-zero \(z\) and a single real RHP-pole \(p\) can be stabilized by a stable proper controller if and only if \(z&gt;p\). In words &ldquo;the system may go unstable before we have time to react&rdquo;.</p>
<p>In order to achieve acceptable performance and robustness, we must approximately require \(z&gt;4p\). That is, we want to RHP-pole to be much lower than the RHP-zero.</p>
<p>The presence of RHP-zeros (or time delays) make stabilization more difficult.</p>
<h3 id="performance-requirements-imposed-by-disturbances-and-commands">Performance Requirements Imposed by Disturbances and Commands</h3>
<h5 id="disturbance-rejection">Disturbance rejection</h5>
<p>Consider a single disturbance \(d\) and a constant reference \(r=0\). Without control, we have \(e = G_d d\).
We conclude that no control is needed if \(\abs{G_d(j\w)} &lt; 1\) at all frequencies. In that case, the plant is said to be &ldquo;<strong>self-regulated</strong>&quot;.</p>
<p>If \(\abs{G_d(j\w)} &gt; 1\) at some frequency, then <strong>we need control</strong>. In case of feedback control, we have
\[ e(s) = S(s)G_d(s)d(s) \]
The performance requirement \(\abs{e(\w)} &lt; 1\) for any \(\abs{d(\w)}\) at any frequency is satisfied if and only if
\[ \abs{S G_d(j\w)} &lt; 1 \quad \forall\w \quad \Leftrightarrow \quad \abs{S(j\w)} &lt; 1/\abs{G_d(j\w)} \quad \forall\w \]</p>
<div class="cbox">
<div></div>
<p>If the plant has a RHP-zero at \(s=z\), then \(S(z) = 1\) and we have the following condition:
\[ \abs{G_d(z)} &lt; 1 \]</p>
</div>
<div class="cbox">
<div></div>
<p>We also have that
\[ \w_B &gt; \w_d \]
where \(\w_d\) is defined by \(\abs{G_d(j\w_d)} = 1\).</p>
</div>
<p>The actual bandwidth requirement imposed by disturbances may be higher than \(\w_d\) if \(\abs{G_d(j\w)}\) drops with a slope steeper than \(-1\) just before the frequency \(\w_d\). This is because we cannot let the slope of \(\abs{L(j\w)}\) around the crossover be much larger than \(-1\) due to stability margins. It is however possible to overcome this issue using local feedback loops in series.</p>
<h5 id="command-tracking">Command tracking</h5>
<p>Assume than \(d=0\) and \(r(t) = R\sin(\w t)\). For acceptable control (\(\abs{e} &lt; 1\)) we must have
\[ \abs{S(j\w)R}&lt;1 \quad \forall\w\leq\w_r \]
where \(\w_r\) is the frequency up to which performance tracking is required.</p>
<h3 id="limitation-imposed-by-input-constraints">Limitation Imposed by Input Constraints</h3>
<div class="cbox">
<div></div>
<p>To achieve acceptable control (\(\abs{e}&lt;1\)) and avoid input saturation (\(\abs{u}&lt;1\)), we must require:</p>
<p>For <strong>disturbance rejection</strong>:
\[ \abs{G} &gt; \abs{G_d} - 1 \text{ at frequencies where } \abs{G_d} &gt; 1 \]</p>
<p>For <strong>command tracking</strong>:
\[ \abs{G} &gt; \abs{R} - 1 \quad \forall \w \leq \w_r \]</p>
</div>
<h3 id="limitation-imposed-by-phase-lag">Limitation Imposed by Phase Lag</h3>
<p>Phase lag in the plant present no fundamental limitations, however is usually does on practical designs.</p>
<div class="cbox">
<div></div>
<p>Let define \(\w_u\) as the frequency where the phase lag of the plant \(G\) is \(\SI{-180}{\degree}\)</p>
<p>\begin{equation}
\angle G(j\w_u) \triangleq \SI{-180}{\degree}
\end{equation}</p>
</div>
<p>With simple controllers such as a proportional controller or a PI-controller, the phase lag does pose a fundamental limitation on the achievable bandwidth because of stability bounds:
\[ \w_c &lt; \w_u \]</p>
<p>However, if the model is exactly known and there are no RHP-zeros or time delays, one may extend \(\w_c\) to infinite frequency by placing zeros in the controller at the plant poles.</p>
<h3 id="limitation-imposed-by-uncertainty">Limitation Imposed by Uncertainty</h3>
<h5 id="uncertainty-with-feedforward-control">Uncertainty with feedforward control</h5>
<p>Perfect control is obtained using a controller which generates the control input
\[ u = G^{-1} r - G^{-1} G_d d \]
When we apply this perfect controller to the actual plant \(y&rsquo; = G&rsquo; u + G_d&rsquo; d\), we find
\[ e&rsquo; = y&rsquo; - r = \underbrace{\left( \frac{G&rsquo;}{G} - 1 \right)}_{\text{rel. error in }G} r - \underbrace{\left( \frac{G&rsquo;/G_d&rsquo;}{G/G_d} - 1 \right)}_{\text{rel. error in } G/G_d} G_d&rsquo; d \]
For feedforward control, <strong>the model error propagates directly to the control error</strong>.</p>
<p>If we want acceptable control (\(\abs{e&rsquo;}&lt;1\)), we must require that the model error in \(G/G_d\) is less than \(1/\abs{G_d&rsquo;}\). This is very difficult to satisfy at frequencies where \(\abs{G_d&rsquo;}\) is much larger than 1.</p>
<p>The presence of uncertainty then requires us to use feedback control rather than just feedforward control.</p>
<h5 id="uncertainty-with-feedback-control">Uncertainty with feedback control</h5>
<p>With feedback control, the closed-loop response is \(e = y - r = S G_d d - S r\).
With model error, we get \(y&rsquo; - r = S&rsquo;(G_d&rsquo;d - r)\) where \(S&rsquo; = (I + G&rsquo;K)^{-1}\).
\(S&rsquo;\) can be rewritten as \(S&rsquo; = S \frac{1}{1+ET}\) with \(E = \frac{G&rsquo;-G}{G}\) the relative error for \(G\).</p>
<p>We see that the <strong>control error in only weakly affected by model error at frequencies where feedback is effective</strong> (\(T \approx 1\)).</p>
<div class="cbox">
<div></div>
<p>Uncertainty in the crossover frequency region can result in poor performance and even instability:</p>
<ul>
<li>Uncertainty which keeps \(\abs{G(j\w_u)}\) approximately constant will not change the gain margin.</li>
<li>Uncertainty which increases \(\abs{G(j\w_u)}\) may yield instability.</li>
</ul>
</div>
<h3 id="summary-controllability-analysis-with-feedback-control">Summary: Controllability Analysis with Feedback Control</h3>
<p><a id="org4ab6880"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_classical_feedback_meas.png"
alt="Figure 10: Feedback control system"/> <figcaption>
<p>Figure 10: Feedback control system</p>
</figcaption>
</figure>
<p>Consider the control system in Fig. <a href="#fig:classical_feedback_meas">fig:classical_feedback_meas</a>.
Here \(G_m(s)\) denotes the measurement transfer function and we assume \(G_m(0) = 1\) (perfect steady-state measurement).</p>
<div class="cbox">
<div></div>
<ol>
<li><strong>Speed of response to reject disturbances</strong>. We approximately require \(\w_c &gt; \w_d\). With feedback control we require \(\abs{S(j\w)} \leq \abs{1/G_d(j\w)} \quad \forall\w\).</li>
<li><strong>Speed of response to track reference changes</strong>. We require \(\abs{S(j\w)} \leq 1/R\) up to the frequency \(\w_r\) where tracking is required.</li>
<li><strong>Input constraints arising from disturbances</strong>. For acceptable control we require \(\abs{G(j\w)} &gt; \abs{G_d(j\w)} - 1\) at frequencies where \(\abs{G_d(j\w)} &gt; 1\).</li>
<li><strong>Input constraints arising from setpoints</strong>. We require \(\abs{G(j\w)} &gt; R - 1\) up to the frequency \(\w_r\) where tracking is required.</li>
<li><strong>Time delay \(\theta\) in \(G(s)G_m(s)\)</strong>. We approximately require \(\w_c &lt; 1/\theta\).</li>
<li><strong>Tight control at low frequencies with a RHP-zero \(z\) in \(G(s)G_m(s)\)</strong>. For a real RHP-zero we require \(\w_c &lt; z/2\) and for an imaginary RHP-zero we approximately require \(\w_c &lt; \abs{z}\).</li>
<li><strong>Phase lag constraint</strong>. We require in most practical cases \(\w_c &lt; \w_u\). Here the ultimate frequency \(\w_u\) is where \(\angle GG_m(j\w_u) = \SI{-180}{\degree}\). Since time delays and RHP-zeros also contribute to the phase lag, it is possible to combine the corresponding rules in the single rule \(\w_c &lt; \w_u\).</li>
<li><strong>Real open-loop unstable pole in \(G(s)\) at \(s=p\)</strong>. We need high feedback gains to stabilize the system and we approximately require \(\w_c &gt; 2p\).</li>
</ol>
</div>
<p>In summary:</p>
<ul>
<li>rules 1, 2 and 8 tell us that we need high feedback gain in order to reject disturbances, to track setpoints and to stabilize the plant.</li>
<li>rules 5, 6 and 7 tell us we must use low feedback gains in the frequency range where there are RHP-zeros or delays or where the plant has a lot of phase lag.</li>
</ul>
<p>Sometimes, the disturbances are so large that we hit input saturation or the required bandwidth is not achievable. To avoid the latter problem, we must at least require that the effect of the disturbance is less than \(1\) at frequencies beyond the bandwidth:
\[ \abs{G_d(j\w)} &lt; 1 \quad \forall \w \geq \w_c \]</p>
<p><a id="orga143a9d"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_margin_requirements.png"
alt="Figure 11: Illustration of controllability requirements"/> <figcaption>
<p>Figure 11: Illustration of controllability requirements</p>
</figcaption>
</figure>
<h5 id="controllability-analysis-with-feedforward-control">Controllability analysis with feedforward control</h5>
<p>We find that essentially the same conclusions apply to feedforward control when relevant.</p>
<p>A major difference is that a delay in \(G_d(s)\) is an advantage for feedforward control (&ldquo;it gives the feedforward controller more time to make the right action&rdquo;).</p>
<h3 id="conclusion">Conclusion</h3>
<p>The controllability analysis is summarized in terms of <strong>eight controllability rules</strong>.
These rules are <strong>necessary conditions to achieve acceptable control performance</strong>.
They are not sufficient since among other things they only consider one effect at a time.
The rules may be used to <strong>determine whether or not a given plant is controllable</strong>.</p>
<h2 id="limitations-on-performance-in-mimo-systems">Limitations on Performance in MIMO Systems</h2>
<p><a id="org6b25e5b"></a></p>
<h3 id="introduction">Introduction</h3>
<p>In a MIMO system, disturbances, the plant, RHP zeros, RHP poles, delays and disturbances have each <strong>directions</strong> associated with them.</p>
<p>We quantify the directionality of the various effects in \(G\) and \(G_d\) by their output directions:</p>
<ul>
<li>\(y_z\): output dir. of RHP-zero, \(G(z) u_z = 0 \cdot y_z\)</li>
<li>\(y_p\): output dir. of RHP-pole, \(G(p_i) u_p = \infty \cdot y_p\)</li>
<li>\(y_d\): output dir. of disturbance, \(y_d(s) = \frac{1}{\normtwo{g_d(s)}} g_d(s)\)</li>
<li>\(u_i\): i&rsquo;th output dir. (singular vector) of the plant, \(G(s) v_i(s) = \sigma_i(s) u_i(s)\)</li>
</ul>
<p>We may also consider input directions, however we are primarily concerned with the performance at the output of the plant.</p>
<p>The <strong>angle between various output directions</strong> is quantified using their inner products.</p>
<p>For example, the output angle between a pole and a zero is \(\phi = \cos^{-1} \abs{y_z^H y_p}\), and:</p>
<ul>
<li>if \(\phi = \SI{90}{\degree}\), then the pole and zero are in completely different directions and there is no interaction (they may be considered separately)</li>
<li>if \(\phi = \SI{0}{\degree}\), then they interact as in a SISO system</li>
</ul>
<h3 id="constraints-on--s--and--t">Constraints on \(S\) and \(T\)</h3>
<h4 id="s--plus--t--is-the-identity-matrix">\(S\) plus \(T\) is the Identity Matrix</h4>
<p>From the identity \(S + T = I\), we get:</p>
<p>\begin{subequations}
\begin{align}
|1 - \maxsv(S)| \leq \maxsv(T) \leq 1 + \maxsv(S)\\\<br>
|1 - \maxsv(T)| \leq \maxsv(S) \leq 1 + \maxsv(T)
\end{align}
\end{subequations}</p>
<p>This shows that we cannot have \(S\) and \(T\) small simultaneously and that \(\maxsv(S)\) is large if and only if \(\maxsv(T)\) is large.</p>
<h4 id="sensitivity-intregrals">Sensitivity Intregrals</h4>
<p>The waterbed effect can be generalized for MIMO systems:</p>
<p>\begin{align*}
\int_0^{\infty} \ln{|\det{S(j\w)}|} d\w &amp;= \sum_j \int_0^\infty \ln{\sigma_j(S(j\w))} d\w \\\<br>
&amp;= \pi \cdot \sum_{i=1}^{N_p} \text{Re}(p_i)
\end{align*}</p>
<h4 id="interpolation-constraints">Interpolation Constraints</h4>
<p>The basis of many of the results in this chapter are the &ldquo;<strong>interpolation constraints</strong>&quot;.</p>
<div class="cbox">
<div></div>
<p>If \(G(s)\) has a RHP-zero at \(z\) with output direction \(y_z\), \(T(s)\) must have a RHP-zero at \(z\), i.e., \(T(z)\) has a zero gain in the direction of output direction \(y_z\) of the zero, and we get
\[ y_z^H T(z) = 0 ; \quad y_z^H S(z) = y_z^H \]</p>
</div>
<div class="cbox">
<div></div>
<p>If \(G(s)\) has a RHP-pole at \(p\) with output direction \(y_p\), \(S(s)\) must have a RHP-zero at \(p\), i.e. \(S(p)\) has a zero gain in the input direction of the output direction \(y_p\) of the RHP-pole, and we get
\[ S(p) y_p = 0 ; \quad T(p) y_p = y_p \]</p>
</div>
<h4 id="sensitivity-peaks">Sensitivity Peaks</h4>
<p>Consider a plant \(G(s)\) with RHP-poles \(p_i\) and RHP-zeros \(z_j\).
The factorization of \(G(s)\) in terms of <strong>Blaschke products</strong> is:
\[ \tcmbox{G(s) = B_p^{-1} G_s(s), \quad G(s) = B_z(s) G_m(s)} \]
where \(G_s\) is the stable and \(G_m\) the minimum-phase version of \(G\).
\(B_p\) and \(B_z\) are stable all-pass transfer matrices (all singular values are 1 for \(s=j\w\)) containing the RHP-poles and RHP-zeros respectively.<br /></p>
<h5 id="mimo-sensitivity-peaks">MIMO sensitivity peaks</h5>
<p>Suppose that \(G(s)\) has \(N_z\) RHP-zeros \(z_j\) with output directions \(y_{zj}\), and \(N_p\) RHP-poles \(p_i\) with output direction \(y_{pi}\).
We define the all-pass transfer matrices from the Blaschke factorization and compute the real constants:
\[ c_{1j} = \normtwo{y_{zj}^H B_p(z_j)} \geq 1; \quad c_{2i} = \normtwo{B_z^{-1}(p_i) y_{pi}} \geq 1 \]</p>
<p>Let \(w_P(s)\) be a stable weight. Then, for closed-loop stability the weighted sensitivity function must satisfy for each RPH-zero \(z_j\)
\[ \hnorm{w_p S} \ge c_{1j} \abs{w_p(z_j)} \]</p>
<p>Let \(w_T(s)\) be a stable weight. Then, for closed-loop stability the weighted complementary sensitivity function must satisfy for each RPH-pole \(p_i\)
\[ \hnorm{w_T T} \ge c_{2j} \abs{w_T(p_i)} \]</p>
<div class="cbox">
<div></div>
<p>By selecting \(w_P(s) = 1\) and \(w_T(s) = 1\), we get
\[ \hnorm{S} \ge \max_{\text{zeros } z_j} c_{1j}; \quad \hnorm{T} \ge \max_{\text{poles } p_i} c_{2j} \]</p>
</div>
<h3 id="functional-controllability">Functional Controllability</h3>
<div class="cbox">
<div></div>
<p>An m-input l-output system \(G(s)\) is <strong>functionally controllable</strong> is the normal rank of \(G(s)\), denoted \(r\), is equal to the number of outputs (\(r = l\)), that is, if \(G(s)\) has full row rank.
A system is functionally uncontrollable if \(r&lt;l\).</p>
</div>
<p>A square MIMO system is uncontrollable if and only if \(\det{G(s)} = 0,\ \forall s\).</p>
<p>A plant is functionally uncontrollable if and only if \(\sigma_l(G(j\omega)) = 0,\ \forall\w\).
\(\sigma_l(G(j\w))\) is then a <strong>measure of how close a plant is to being functionally uncontrollable</strong>.</p>
<div class="cbox">
<div></div>
<p>If the plant is not functionally controllable (\(r&lt;l\)), then there are \(l-r\) output directions, denoted \(y_0\) which cannot be affected. These directions will vary with frequency, and we have
\[ y_0^H(j\w) G(j\w) = 0 \]
From an SVD of \(G(j\w) = U \Sigma V^H\), the uncontrollable output directions \(y_0(j\w)\) are the last \(l-r\) columns of \(U(j\w)\).</p>
</div>
<p>By analyzing the uncontrollable output directions, an engineer can decide on whether it is acceptable to keep certain output combinations uncontrolled, or if additional actuators are needed.</p>
<h3 id="limitation-imposed-by-time-delays">Limitation Imposed by Time Delays</h3>
<p>Time delays pose limitation also in MIMO systems. Let \(\theta_{ij}\) denote the time delay in the \(ij\)&lsquo;th element of \(G(s)\). Then a <strong>lower bound on the time delay for output</strong> \(i\) is given by the smallest delay in row \(i\) of \(G(s)\), that is
\[ \theta_i^{\min} = \min_j \theta_{ij} \]</p>
<p>For MIMO systems, we have the surprising result that an increase time delay may sometimes improve the achievable performance. The time delay may indeed increase the decoupling between the outputs.</p>
<h3 id="limitations-imposed-by-rhp-zeros">Limitations Imposed by RHP-Zeros</h3>
<p>The limitations imposed by RHP-zeros on MIMO systems are similar to those for SISO system, although they only apply in particular directions.</p>
<p>The limitations of a RHP-zero located at \(z\) may be derived from the bound:
\[ \hnorm{w_P S(s)} = \max_{\w} \abs{w_P(j\w)} \maxsv(S(j\w)) \ge \abs{w_P(z)} \]</p>
<p>All the results derived for SISO systems generalize if we consider the &ldquo;worst&rdquo; direction corresponding to the maximum singular value \(\maxsv(S)\).
For instance, if we choose \(w_P(s)\) to require tight control at low frequencies, the bandwidth must satisfy \(w_B^* &lt; z/2\).<br /></p>
<p>In MIMO systems, one can often <strong>move the deteriorating effect of a RHP-zero to a given output</strong> which may be less important to control well.
This is possible because, although the interpolation constraint \(y_z^H T(z) = 0\) imposes a certain relationship between the elements within each column of \(T(s)\), the columns of \(T(s)\) may still be selected independently.<br /></p>
<p>Requiring a decoupled response from \(r\) to \(y\) generally leads to the introduction of additional RHP-zero in \(T(s)\) which are not present in \(G(s)\).
Moving the effect of the RHP-zero to a particular output generally add some interaction. Also, moving to RHP-zero in a direction where \(y_z\) is small usually introduces more interaction than in a direction where \(y_z\) is large.</p>
<p>For example, if we have a RHP-zero with \(y_z = [0.03,\ -0.04,\ 0.9,\ 0.43]^T\), then one may in theory move the bad effect of the RHP-zero to any of the outputs. However, in practice, it will be difficult to avoid the effect of the RHP-zero on output 3, because the zero direction is mainly in that output. Trying to move it somewhere else will give large interactions and poor performance.</p>
<h3 id="limitation-imposed-by-unstable--rhp--poles">Limitation Imposed by Unstable (RHP) Poles</h3>
<p>For unstable plants, feedback is needed for stabilization. More precisely, the presence of an unstable pole \(p\) requires for internal stability \(T(p) y_p = y_p\) where \(y_p\) is the output pole direction.</p>
<div class="cbox">
<div></div>
<p>The transfer function \(KS\) from plant output to plant inputs must satisfy for any RHP-pole \(p\)
\[ \hnorm{KS} \ge \normtwo{u_p^H G_s(p)^{-1}} \]
where \(u_p\) is the input pole direction, and \(G_s\) is the &ldquo;stable version&rdquo; of \(G\) with its RHP-poles mirrored in the LHP.</p>
</div>
<div class="cbox">
<div></div>
<p>From the bound \(\hnorm{w_T(s) T(s)} \ge \abs{w_T(p)}\), we find that a RHP-pole \(p\) imposes restrictions on \(\maxsv(T)\) which are identical to those derived on \(\abs{T}\) for SISO systems.
Thus, we need to react sufficiently fast and we must require that \(\maxsv(T(j\w))\) is about 1 or larger up to the frequency \(2 \abs{p}\).</p>
</div>
<h3 id="rhp-poles-combined-with-rhp-zeros">RHP-poles Combined with RHP-Zeros</h3>
<p>For a MIMO plant with single RHP-zero \(z\) and single RHP-pole \(p\), we derive</p>
<p>\[ \hnorm{S} \ge c \quad \hnorm{T} \ge c \]
\[ \text{with } c = \sqrt{\sin^2 \phi + \frac{\abs{z + p}^2}{\abs{z-p}^2} \cos^2 \phi} \]
where \(\phi = cos^{-1} \abs{y_z^H y_p}\) is the angle between the RHP-zero and the RHP-pole.</p>
<p>Thus the angle between the RHP-zero and the RHP-pole is of great importance, we usually want \(\abs{y_z^H y_p}\) close to zero so that they don&rsquo;t interact with each other.</p>
<h3 id="limitations-imposed-by-disturbances">Limitations Imposed by Disturbances</h3>
<p>For SISO systems, we found that large and &ldquo;fast&rdquo; disturbances require tight control and a large bandwidth.
The same results apply for MIMO systems, but again the issue of <strong>directions</strong> is important.</p>
<div class="cbox">
<div></div>
<p>Consider a scalar disturbance \(d\) and let the vector \(g_d\) represents its effect on the outputs (\(y = g_d d\)).
The disturbance direction is defined as</p>
<p>\begin{equation}
y_d = \frac{1}{\normtwo{g_d}} g_d
\end{equation}</p>
<p>For a plant with multiple disturbances, \(g_d\) is a column of the matrix \(G_d\).</p>
</div>
<div class="cbox">
<div></div>
<p>\begin{equation}
\gamma_d (G) = \maxsv(G) \maxsv(G^\dagger y_d)
\end{equation}</p>
<p>where \(G^\dagger\) is the pseudo inverse of \(G\)</p>
</div>
<p>The disturbance condition number provides a <strong>measure of how a disturbance is aligned with the plant</strong>. It may vary between 1 (for \(y_d = \bar{u}\)) if the disturbance is in the &ldquo;good&rdquo; direction, and the condition number \(\gamma(G) = \maxsv(G) \maxsv(G^\dagger)\) (for \(y_d = \ubar{u}\)) if it is in the &ldquo;bad&rdquo; direction.<br /></p>
<p>Let assume \(r=0\) and that the system has been scaled. With feedback control \(e = S g_d d\) and the performance objective is
\[ \normtwo{S g_d} = \maxsv(S g_d) &lt; 1 \ \forall\w \quad \Leftrightarrow \quad \hnorm{S g_d} &lt; 1 \]</p>
<p>We derive bounds in terms of the singular values of \(S\):
\[ \minsv(S) \normtwo{g_d} \le \normtwo{S g_d} \le \maxsv(S) \normtwo{g_d} \]</p>
<div class="cbox">
<div></div>
<p>For acceptable performance <strong>we must at least require that</strong>
\[ \maxsv(I+L) &gt; \normtwo{g_d} \]</p>
<p>And <strong>we may require that</strong>
\[ \minsv(I+L) &gt; \normtwo{g_d} \]</p>
</div>
<p>If \(G(s)\) has a <strong>RHP-zero</strong> at \(s = z\), then the <strong>performance may be poor if the disturbance is aligned with the output direction of this zero</strong>.
To satisfy \(\hnorm{S g_d} &lt; 1\), we must require
\[ \abs{y_z^H g_d(z)} &lt; 1 \]
where \(y_z\) is the direction of the RHP-zero.</p>
<h3 id="limitations-imposed-by-input-constraints">Limitations Imposed by Input Constraints</h3>
<h4 id="inputs-for-perfect-control">Inputs for Perfect Control</h4>
<p>We here consider the question: can the disturbances be rejected perfectly while maintaining \(\|u\|&lt;1\)?<br /></p>
<p>For a square plant, the input needed for perfect disturbance rejection is \(u = -G^{-1} G_d d\).</p>
<p>For a single disturbance, as the worst-cast disturbance is \(\abs{d(\w)} = 1\), we get that input saturation is avoided (\(\|u\|_{\text{max}} \le 1\)) if all elements in the vector \(G^{-1} g_d\) are less than 1 in magnitude:
\[ \|G^{-1} g_d\|_{\text{max}} &lt; 1, \ \forall\w \]</p>
<p>It is first recommended to <strong>consider one disturbance at a time</strong> by plotting as a function of frequency the individual elements of \(G^{-1} G_d\). This will yields more information about which particular input is most likely to saturate and which disturbance is the most problematic.</p>
<h4 id="inputs-for-acceptable-control">Inputs for Acceptable Control</h4>
<p>We here consider the question: is it possible to achieve \(\|e\|&lt;1\) while using inputs with \(\|u\| \le 1\)?</p>
<p>For SISO systems, we have to required \(\abs{G} &gt; \abs{g_d} - 1\) at frequencies where \(\abs{g_d} &gt; 1\).
We would like to generalize this result to MIMO systems.</p>
<div class="cbox">
<div></div>
<p>Each singular value \(\sigma_i\) of \(G\) must approximately satisfy:</p>
<p>\begin{equation}
\sigma_i(G) \ge \abs{u_i^H g_d} - 1 \text{ where } \abs{u_i^H g_d} &gt; 1
\end{equation}</p>
<p>with \(u_i\) the \(i\)&lsquo;th output singular vector of \(G\).</p>
<p>\(u_i^H g_d\) may be interpreted as the projection of \(g_d\) onto the \(i\)&lsquo;th output singular vector of the plant.</p>
</div>
<p>Using the previous approximation, we can find out:</p>
<ul>
<li>For which disturbances and at which frequencies input constraints may cause problems. This may give ideas on <strong>which disturbances should be reduced</strong>.</li>
<li>In which direction \(i\) the plant gain is too small. By looking at the corresponding input singular vector \(v_i\), one can determine <strong>which actuators should be redesigned</strong>. By looking at the corresponding output singular vector \(u_i\), one can determine on which outputs we may have to reduce our performance requirements.</li>
</ul>
<p>For combined disturbances, one requires the \(i\)&lsquo;th row sum of \(U^H G_d\) to be less than \(\sigma_i(G)\). However, we usually derive more insight by considering one disturbance at a time.</p>
<h4 id="unstable-plant-and-input-constraints">Unstable Plant and Input Constraints</h4>
<p>Active use of inputs are needed to stabilize an unstable plant.
We must require \(\hnorm{KS} \ge \normtwo{u_p^H G_s(p)^{-1}}\).
If the required inputs exceed the constraints, then stabilization is most likely not possible.</p>
<h3 id="limitation-imposed-by-uncertainty">Limitation Imposed by Uncertainty</h3>
<p>The presence of <strong>uncertainty requires the use of feedback</strong> rather than simply feedforward control to get acceptable performance.
Sensitivity reduction with respect to uncertainty is achieved with high-gain feedback, but for any real system, we have a crossover frequency range where the loop gain has to drop below 1. The presence of uncertainty in this frequency range may result in poor performance or even instability.</p>
<p>The issues are the same for SISO and MIMO systems, however, with MIMO systems there is an additional problem in that there is also <strong>uncertainty associated with the plant directionality</strong>.</p>
<h4 id="input-and-output-uncertainty">Input and Output Uncertainty</h4>
<p>In practice, the difference between the true perturbed plant \(G^\prime\) and the plant model \(G\) is caused by a number of different sources.
We here focus on input and output uncertainty.
In multiplicative form, the input and output uncertainties are given by (see Fig. <a href="#fig:input_output_uncertainty">fig:input_output_uncertainty</a>):
\[ G^\prime = (I + E_O) G (I + E_I) \]</p>
<p><a id="org367c804"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_input_output_uncertainty.png"
alt="Figure 12: Plant with multiplicative input and output uncertainty"/> <figcaption>
<p>Figure 12: Plant with multiplicative input and output uncertainty</p>
</figcaption>
</figure>
<p>Input and output uncertainty may seem similar, but their <strong>implications for control may be very different</strong>.<br /></p>
<p>If all the elements of \(E_O\) and \(E_I\) are non-zero, then we have <strong>full block (unstructured) uncertainty</strong>.</p>
<p>In many cases, the source of uncertainty is in the individual input or output channels, and we have that \(E_I\) and \(E_O\) are <strong>diagonal matrices</strong>. For example \(E_I = \text{diag}\{\epsilon_1, \epsilon_2, \dots\}\) where \(\epsilon_i\) is the <strong>relative uncertainty in input channel</strong> \(i\).</p>
<p>Diagonal input uncertainty is <strong>always</strong> present in real systems and the magnitude of \(\epsilon_i\) is typically \(0.1\) or larger.</p>
<h4 id="effect-of-uncertainty-on-feedforward-control">Effect of Uncertainty on Feedforward Control</h4>
<p>Consider a feedforward controller \(u = K_r r\) for the case with no disturbance (\(d = 0\)). We assume that \(G\) is inversible and we select \(K_r = G^{-1}\) to achieve perfect control (\(e = 0\)).
However, for the actual plant \(G^\prime\) (with uncertainty), the actual control error \(e^\prime = y^\prime - r = G^\prime G^{-1} r - r\) is not null and we get:</p>
<ul>
<li>For output uncertainty: \(e^\prime = E_O r\)</li>
<li>For input uncertainty: \(e^\prime = G E_I G^{-1} r\)</li>
</ul>
<p>For output uncertainty, we have an identical result as for SISO systems: the worst case relative control error \(\normtwo{e^\prime}/\normtwo{r}\) is equal to the magnitude of the relative output uncertainty \(\maxsv(E_O)\).
However, for input uncertainty, the sensitivity may be much larger because the elements in the matrix \(G E_I G^{-1}\) can be much larger than the elements in \(E_I\).</p>
<div class="cbox">
<div></div>
<p>For diagonal input uncertainty, the elements of \(G E_I G^{-1}\) are directly related to the RGA:
\[ \left[ G E_I G^{-1} \right]_{ii} = \sum_{j=1}^n \lambda_{ij}(G) \epsilon_j \]</p>
</div>
<p>Since diagonal input uncertainty is always present, we can conclude that <strong>if the plant has large RGA elements within in the frequency range where effect control is desired, then it is not possible to achieve good reference tracking with feedforward control</strong> because of strong sensitivity to diagonal input uncertainty. The reverse statement is not true.</p>
<h4 id="uncertainty-and-the-benefits-of-feedback">Uncertainty and the Benefits of Feedback</h4>
<p>To illustrate the benefits of feedback control in reducing the sensitivity to uncertainty, we consider the effect of output uncertainty on reference tracking both for feedforward and feedback.<br /></p>
<p><strong>Feedforward</strong> Let the nominal transfer function with feedforward control be \(y = T_r r\) where \(T_r = G K_r\) and \(K_r = G^{-1}\).
With model error \(T_r^\prime = G^\prime K_r\) and the change in response is \(y^\prime - y = (T_r^\prime - T_r) r = (G^\prime - G)G^{-1} T_r r = E_O T_r r\).
Thus, the control error caused by the uncertainty is equal to the relative output uncertainty.<br /></p>
<p><strong>Feedback control</strong> The output is \(y = T r\).
The change in response is \(y^\prime - y = (T^\prime - T)r = S^\prime E_O T r = S^\prime E_O y\).
With feedback control, <strong>the effect of the uncertainty is reduced</strong> by a factor \(S^\prime\) compared to that with feedforward control.</p>
<h4 id="uncertainty-and-the-sensitivity-peak">Uncertainty and the Sensitivity Peak</h4>
<p>Consider a controller \(K(s) = l(s)G^{-1}(s)\) which results in a nominally decoupled response with sensitivity \(S = s \cdot I\) and complementary sensitivity \(T = t \cdot I\) where \(t(s) = 1 - s(s)\).
Suppose the plant has diagonal input uncertainty of relative magnitude \(\abs{w_I(j\w)}\) in each input channel.
Then there exists a combination of input uncertainties such that at each frequency:
\[ \maxsv(S^\prime) \ge \maxsv(S) \left( 1 + \frac{\abs{w_I t}}{1+\abs{w_I t}} \|\Lambda(G)\|_{i\infty} \right) \]
where \(\| \Lambda(G) \|_{i\infty}\) is the maximum row sum of the RGA and \(\maxsv(S) = \abs{s}\).</p>
<p>We can see that with an inverse based controller, the worst case sensitivity will be much larger than the nominal sensitivity at frequencies where the plant has large RGA elements.</p>
<div class="cbox">
<div></div>
<p>These statements apply to the frequency range around crossover.
By &ldquo;small&rdquo;, we mean smaller than 2 and by &ldquo;large&rdquo; we mean larger than 10.</p>
<ul>
<li>Condition number \(\gamma(G)\) or \(\gamma(K)\) small: robust performance to both diagonal and full-block input uncertainty</li>
<li>Minimized condition number \(\gamma_I^* (G)\) or \(\gamma_O^*(K)\) small: robust performance to diagonal input uncertainty</li>
<li>\(\text{RGA}(G)\) has large elements: inverse based controller is not robust to diagonal input uncertainty.
Since diagonal input uncertainty is unavoidable in practice, the rule is never to use a decoupling controller for a plant with large RGA-elements.
<strong>Plant with large RGA elements are fundamentally difficult to control</strong>.</li>
</ul>
</div>
<h4 id="element-by-element-uncertainty">Element-by-element Uncertainty</h4>
<p>Consider any complex matrix \(G\) and let \(\lambda_{ij}\) denote the \(ij\)&lsquo;th element in the RGA-matrix of \(G\).</p>
<div class="cbox">
<div></div>
<p>The matrix \(G\) becomes singular if we make a relative change \(-1/\lambda_{ij}\) in its \(ij\)&lsquo;th elements, that is, if a single element in \(G\) is perturbed from \(g_{ij}\) to \(g_{pij} = g_{ij}(1-\frac{1}{\lambda_{ij}})\)</p>
</div>
<p>Thus, the RGA-matrix is a <strong>direct measure of sensitivity to element-by-element uncertainty</strong> and matrices with large RGA-values become singular for small relative errors in the elements.</p>
<p>The above result has important implications:</p>
<ul>
<li><strong>Identification</strong>. Models of multivariable plants \(G(s)\) are often obtained by identifying one element at a time, for example using step responses. This simple analysis will most likely give meaningless results if there are large RGA-elements within the bandwidth where the model is intended to be used.</li>
<li><strong>RHP-zeros</strong>. Consider a plant with transfer function matrix \(G(s)\). If the relative uncertainty in an element at a given frequency is larger than \(\abs{1/\lambda_{ij}(j\w)}\) then the plant may be singular at this frequency, implying that the uncertainty allows for a RHP-zero on the \(j\w\text{-axis}\).</li>
</ul>
<h3 id="mimo-input-output-controllability">MIMO Input-Output Controllability</h3>
<p>The following procedure assumes that we have made a decision on the plant inputs and plant outputs, and we want to analyze the model \(G\) to find out <strong>what control performance can be expected</strong>.
It can also be used to assist in control structure design.</p>
<p>A typical <strong>MIMO controllability analysis</strong> may proceed as follows:</p>
<ol>
<li><strong>Scale all variables</strong> (inputs \(u\), outputs \(y\), disturbances \(d\), references \(r\)) to obtain a scaled model \(y = G(s) u + G_d(s) d\), \(r = R \tilde{r}\)</li>
<li><strong>Obtain a minimal realization</strong></li>
<li><strong>Check functional controllability</strong>. To be able to control the outputs independently, we first need at least as many inputs \(u\) as outputs \(y\). Second, we need the rank of \(G(s)\) to be equal to the number of outputs \(l\), i.e. the minimum singular value \(G(j\w)\), \(\minsv(G) = \sigma_l(G)\), should be non-zero (except at possible \(j\w\text{-axis}\) zeros). If the plant is not functionally controllable, then compute the output direction where the plant has no gain to have insight into the source of the problem</li>
<li><strong>Compute the poles</strong>. For RHP poles, obtain their locations and associated directions. &ldquo;Fast&rdquo; RHP-poles far from the origin are bad</li>
<li><strong>Compute the zeros</strong>. For RHP zeros, obtain their locations and associated directions. Look for zeros pinned into certain outputs. &ldquo;Small&rdquo; RHP-zeros (close to the origin) are bad if tight performance is needed at low frequencies</li>
<li><strong>Obtain the frequency response</strong> \(G(j\w)\) and <strong>compute the RGA matrix</strong> \(\Gamma = G \times (G^\dagger)^{-1}\). Plants with large RGA-elements at crossover frequencies are difficult to control and should be avoided</li>
<li><strong>Compute the singular values</strong> of \(G(j\w)\) and <strong>plot them as a function of frequency</strong>. Also consider the associated input and output singular vectors</li>
<li>The <strong>minimum singular value</strong> \(\minsv(G(j\w))\) is a particularly useful <strong>controllability measure</strong>. It should generally be as large as possible at frequencies where control is needed. If \(\minsv(G(j\w)) &lt; 1\) then we cannot at frequency \(\w\) make independent output changes of unit magnitude by using inputs of unit magnitude</li>
<li>For <strong>disturbances</strong>, consider the elements of the matrix \(G_d\). At frequencies where one or more elements is larger than 1, we need control. We get more information by considering one disturbance at a time (the columns \(g_d\) of \(G_d\)). We must require for each disturbance that \(S\) is less than \(1/\normtwo{g_d}\) in the disturbance direction \(y_d\), i.e. \(\normtwo{S y_d} \le 1/\normtwo{g_d}\). Thus, we must at least require \(\minsv(S) \le 1/\normtwo{g_d}\) and we may have to require \(\maxsv(S) \le 1/\normtwo{g_d}\)</li>
<li><strong>Disturbances and input saturation</strong>:
<ul>
<li><strong>First step</strong>. Consider the input magnitudes needed for perfect control by computing the elements in the matrix \(G^\dagger G_d\). If all elements are less than 1 at all frequencies, then input saturation is not expected to be a problem. If some elements of \(G^\dagger G_d\) are larger than 1, then perfect control cannot be achieve at this frequency, but &ldquo;acceptable&rdquo; control may be possible</li>
<li><strong>Second step</strong>. Consider the elements of \(U^H G_d\) and make sure that the elements in the \(i\)&lsquo;th row are smaller than \(\sigma_i(G) + 1\) at all frequencies</li>
</ul>
</li>
<li><strong>Are the requirements compatible?</strong> Look at disturbances, RHP-poles, RHP-zeros and their associated locations and directions. For example, we must required for each disturbance and each RHP-zero that \(\abs{y_z^H g_d(z)} \le 1\). Similar relations exist for combined RHP-zero and RHP-pole.</li>
<li><strong>Uncertainty</strong>. If the condition number \(\gamma(G)\) is small then we expect no particular problems with uncertainty. If the RGA-elements are large, we expect strong sensitivity to uncertainty.</li>
</ol>
<h5 id="plant-design-changes">Plant design changes</h5>
<p>If the plant is not input-output controllable, then it must be modified.
Some possible modifications are:</p>
<ul>
<li><strong>Controlled outputs</strong>. Identify the outputs which cannot be controlled satisfactory. Can the specifications for these be relaxed?</li>
<li><strong>Manipulated inputs</strong>. If input constraints are encountered, then consider replacing or moving actuators. If there are RHP-zeros which cause control problems, then the zeros may often be eliminated by adding another input. This may not be possible if the zero is pinned to a particular output</li>
<li><strong>Extra measurements</strong>. If the effect of disturbances or uncertainty is large, and the dynamics of the plant are such that acceptable control cannot be achieved, then consider adding &ldquo;fast local loops&rdquo; based on extra measurements which are located close to the inputs and disturbances</li>
<li><strong>Disturbances</strong>. If the effect of disturbances is too large, then see whether the disturbance itself may be reduced. This may involve adding extra equipment to dampen the disturbances. In other cases, this may involve improving or changing the control of another part of the system: we may have a disturbance which is actually the manipulated input for another part of the system</li>
<li><strong>Plant dynamics and time delays</strong>. In most cases, controllability is improved by making the plant dynamics faster and by reducing time delays. An exception to this is a strongly interactive plant, where an increased dynamic lag or time delay may be helpful if it somehow &ldquo;delays&rdquo; the effect of the interactions</li>
</ul>
<h3 id="conclusion">Conclusion</h3>
<p>We have found that most of the insights into the performance limitation of SISO systems carry over to MIMO systems.
For RHP-zeros, RHP-poles and disturbances, the issue of directions usually makes the limitation <strong>less severe</strong> for MIMO than for SISO systems.
However, the situation is usually the opposite with model uncertainty because for MIMO systems, there is also uncertainty associated with plant directionality.</p>
<h2 id="uncertainty-and-robustness-for-siso-systems">Uncertainty and Robustness for SISO Systems</h2>
<p><a id="org80d55a0"></a></p>
<h3 id="introduction-to-robustness">Introduction to Robustness</h3>
<p>A control system is robust if it is insensitive to differences between the actual system and the model of the system which was used to design the controller.
The key idea in the \(\hinf\) robust control paradigm is to check whether the design specifications are satisfied even for the <strong>&ldquo;worst-case&rdquo; uncertainty</strong>.</p>
<p>Our approach is then as follows:</p>
<ol>
<li><strong>Determine the uncertainty set</strong>. Find a mathematical representation of the model uncertainty</li>
<li><strong>Check Robust Stability (RS)</strong>. Determine whether the system remains stable for all plants in the uncertainty set</li>
<li><strong>Check Robust Performance (RP)</strong>. If RS is satisfied, determine whether the performance specifications are met for all plants in the uncertainty set</li>
</ol>
<p>This approach may not always achieve optimal performance. In particular, if the worst case plant rarely occurs, other approaches, such as optimizing some average performance or using adaptive control may yield better performance.<br /></p>
<p>To account for model uncertainty, we will assume that the dynamic behavior of a plant is described not by a single linear time invariant model but by a <strong>set \(\Pi\) of possible linear time invariant models</strong>, sometimes denoted the &ldquo;<strong>uncertainty set</strong>&quot;.<br /></p>
<p>We adopt the following notation:</p>
<ul>
<li>\(\Pi\) - a set of possible perturbed plant models</li>
<li>\(G(s) \in \Pi\) - nominal plant model</li>
<li>\(G_p(s) \in \Pi\) - particular perturbed plant models</li>
</ul>
<p>We will use a &ldquo;<strong>norm-bounded uncertainty description</strong>&rdquo; where the set \(\Pi\) is generated by allowing \(\hinf\) norm-bounded stable perturbations to the nominal plant \(G(s)\).
We let \(E\) denote a perturbation which is not normalized, and let \(\Delta\) denote a normalized perturbation with its \(\hinf\) norm less than 1.</p>
<h3 id="representing-uncertainty">Representing Uncertainty</h3>
<p>Uncertainty in the plant model may have <strong>several origins</strong>:</p>
<ol>
<li>There are always parameters in the linear model which are only known approximatively</li>
<li>Parameters in the model may vary due to <strong>non-linearities</strong> or changes in the operating conditions</li>
<li>Measurement devices have imperfections</li>
<li>At high frequencies, even the structure and the model order is unknown, and the uncertainty will always exceed \(\SI{100}{\percent}\) at some frequency</li>
<li>Even when a very detailed model is available, we may choose to work with a simpler nominal model and <strong>represent the neglected dynamics as &ldquo;uncertainty&rdquo;</strong></li>
<li>The controller implemented may differ from the one obtained by solving the synthesis problem.
One may include uncertainty to allow for controller order reduction and implementation inaccuracies</li>
</ol>
<p>The various sources of model uncertainty may be grouped into two main classes:</p>
<ol>
<li><strong>Parametric uncertainty</strong>. The structure of the model is known, but some parameters are uncertain</li>
<li><strong>Neglected and unmodelled dynamics uncertainty</strong>. The model is in error because of missing dynamics, usually at high frequencies</li>
</ol>
<div class="cbox">
<div></div>
<p>Parametric uncertainty will be quantified by assuming that <strong>each uncertain parameters is bounded within some region</strong> \([\alpha_{\min}, \alpha_{\text{max}}]\). That is, we have parameter sets of the form</p>
<p>\begin{equation}
\alpha_p = \bar{\alpha}(1 + r_\alpha \Delta); \quad r_\alpha = \frac{\alpha_{\text{max}} - \alpha_{\min}}{\alpha_{\text{max}} + \alpha_{\min}}
\end{equation}</p>
<p>where \(\bar{\alpha}\) is the mean parameter value, \(r_\alpha\) is the relative uncertainty in the parameter, and \(\Delta\) is any real scalar satisfying \(\abs{\Delta} \le 1\).</p>
</div>
<p>Neglected and unmodelled dynamics uncertainty is somewhat less precise and thus more difficult to quantify, but it appears that frequency domain is particularly well suited for this class.
This leads to <strong>complex perturbations</strong> which we normalize such that \(\hnorm{\Delta} \le 1\).<br /></p>
<p>There is also a third class of uncertainty (which is a combination of the other two) called <strong>Lumped uncertainty</strong>.
Here the uncertainty description represents one or several sources of parametric and/or unmodelled dynamics uncertainty combined into a single lumped perturbation of a chosen structure.
The frequency domain is also well suited for describing lumped uncertainty.</p>
<div class="cbox">
<div></div>
<p>In most cases, we prefer to lump the uncertainty into a multiplicative uncertainty of the form
\[ G_p(s) = G(s)(1 + w_I(s)\Delta_I(s)); \quad \abs{\Delta_I(j\w)} \le 1 , \forall\w \]
which may be represented by the diagram in Fig. <a href="#fig:input_uncertainty_set">fig:input_uncertainty_set</a>.</p>
</div>
<p><a id="org865770b"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_input_uncertainty_set.png"
alt="Figure 13: Plant with multiplicative uncertainty"/> <figcaption>
<p>Figure 13: Plant with multiplicative uncertainty</p>
</figcaption>
</figure>
<h3 id="parametric-uncertainty">Parametric Uncertainty</h3>
<p>Parametric uncertainty may also be represented in the \(\hinf\) framework if we restrict \(\Delta\) to be real.</p>
<div class="cbox">
<div></div>
<p>\[ G_p(s) = k_p G_0(s); \quad k_{\min} \le k_p \le k_{\text{max}} \]
where \(k_p\) is an uncertain gain and \(G_0(s)\) is a transfer function with no uncertainty.
By writing \(k_p = \bar{k}(1 + r_k \Delta)\) where \(r_k\) is the relative magnitude of the gain uncertainty and \(\bar{k}\) is the average gain, be may write
\[ G_p = \underbrace{\bar{k}G_0(s)}_{G(s)} (1 + r_k \Delta), \quad \abs{\Delta} \le 1 \]
where \(\Delta\) is a real scalar and \(G(s)\) is the nominal plant.</p>
</div>
<div class="cbox">
<div></div>
<p>\[ G_p(s) = \frac{1}{\tau_p s + 1}G_0(s); \quad \tau_{\min} \le \tau_p \le \tau_{\text{max}} \]
By writing \(\tau_p = \bar{\tau}(1 + r_\tau \Delta)\), with \(\abs{\Delta} \le 1\), the model set can be rewritten as
\[ G_p(s) = \frac{G_0}{1+\bar{\tau} s + r_\tau \bar{\tau} s \Delta} = \underbrace{\frac{G_0}{1+\bar{\tau}s}}_{G(s)} \frac{1}{1 + w_{iI}(s) \Delta} \]
with \(\displaystyle w_{iI}(s) = \frac{r_\tau \bar{\tau} s}{1 + \bar{\tau} s}\).</p>
</div>
<p>As shown in the two examples, one can represent parametric uncertainty in the \(\hinf\) framework.
However, <strong>parametric uncertainty is often avoided</strong> for the following reasons:</p>
<ol>
<li>It usually requires a <strong>large effort</strong> to model parametric uncertainty</li>
<li>A parametric uncertainty model is somewhat deceiving in the sense that it provides a very detailed and accurate description, even though the underlying assumptions about the model and the parameters may be much less exact</li>
<li>The <strong>exact model structure is required</strong> and so unmodelled dynamics cannot be dealt with</li>
<li>Real perturbations are required, which are more difficult to deal with mathematically and numerically, especially when it comes to controller synthesis</li>
</ol>
<p>Therefore, parametric uncertainty is often represented by <strong>complex perturbations</strong>. For example, we may simply replace the real perturbation, \(-1 \le \Delta \le 1\) by a complex perturbation with \(\abs{\Delta(j\w)} \le 1\).
This is of course conservative as it introduces possible plants that are not present in the original set. However, if there are several real perturbations, then the conservatism if often reduced by lumping these perturbations into a single complex perturbation.</p>
<h3 id="representing-uncertainty-in-the-frequency-domain">Representing Uncertainty in the Frequency Domain</h3>
<h4 id="uncertain-regions">Uncertain Regions</h4>
<p>To illustrate how parametric uncertainty translate into frequency domain uncertainty, consider in Fig. <a href="#fig:uncertainty_region">fig:uncertainty_region</a> the Nyquist plots generated by the following set of plants
\[ G_p(s) = \frac{k}{\tau s + 1} e^{-\theta s}, \quad 2 \le k, \theta, \tau \le 3 \]</p>
<ul>
<li><strong>Step 1</strong>. At each frequency, a region of complex numbers \(G_p(j\w)\) is generated by varying the parameters.
In general, these uncertain regions have complicated shapes and complex mathematical descriptions</li>
<li><strong>Step 2</strong>. We therefore approximate such complex regions as discs, resulting in a <strong>complex additive uncertainty description</strong></li>
</ul>
<p><a id="org168b9ff"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_uncertainty_region.png"
alt="Figure 14: Uncertainty regions of the Nyquist plot at given frequencies"/> <figcaption>
<p>Figure 14: Uncertainty regions of the Nyquist plot at given frequencies</p>
</figcaption>
</figure>
<h4 id="representing-uncertainty-regions-by-complex-perturbations">Representing Uncertainty Regions by Complex Perturbations</h4>
<div class="cbox">
<div></div>
<p>The disc-shaped regions may be generated by additive complex norm-bounded perturbations around a nominal plant \(G\)</p>
<p>\begin{equation}
\begin{aligned}
\Pi_A: \ G_p(s) &amp;= G(s) + w_A(s) \Delta_A(s) \\\<br>
&amp; \text{with }\abs{\Delta_A(j\w)} \le 1 , \forall\w
\end{aligned}
\end{equation}</p>
<p>At each frequency, all possible \(\Delta(j\w)\) &ldquo;generates&rdquo; a disc-shaped region with radius 1 centered at 0, so \(G(j\w) + w_A(j\w)\Delta_A(j\w)\) generates at each frequency a disc-shapes region of radius \(\abs{w_A(j\w)}\) centered at \(G(j\w)\) as shown in Fig. <a href="#fig:uncertainty_disc_generated">fig:uncertainty_disc_generated</a>.</p>
</div>
<p><a id="org46ced8b"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_uncertainty_disc_generated.png"
alt="Figure 15: Disc-shaped uncertainty regions generated by complex additive uncertainty"/> <figcaption>
<p>Figure 15: Disc-shaped uncertainty regions generated by complex additive uncertainty</p>
</figcaption>
</figure>
<div class="cbox">
<div></div>
<p>The disc-shaped region may alternatively be represented by a <strong>multiplicative uncertainty</strong></p>
<p>\begin{equation}
\begin{aligned}
\Pi_I: \ G_p(s) &amp;= G(s)(1 + w_I(s)\Delta_I(s)); \\\<br>
&amp; \text{with }\abs{\Delta_I(j\w)} \le 1 , \forall\w
\end{aligned}
\end{equation}</p>
</div>
<p>And we see that for SISO systems, additive and multiplicative uncertainty are equivalent if at each frequency:
\[ \abs{w_I(j\w)} = \abs{w_A(j\w)}/\abs{G(j\w)} \]</p>
<p>However, <strong>multiplicative weights are often preferred because their numerical value is more informative</strong>. At frequencies where \(\abs{w_I(j\w)} &gt; 1\) the uncertainty exceeds \(\SI{100}{\percent}\) and the Nyquist curve may pass through the origin.
Then, at these frequencies, we do not know the phase of the plant, and we allow for zeros crossing from the left to the right-half plane. <strong>Tight control is then not possible</strong> at frequencies where \(\abs{w_I(j\w)} \ge 1\).</p>
<h4 id="obtaining-the-weight-for-complex-uncertainty">Obtaining the Weight for Complex Uncertainty</h4>
<p>Consider a set \(\Pi\) of possible plants resulting, for example, from parametric uncertainty. We now want to describe this set of plants by a single complex perturbation \(\Delta_A\) or \(\Delta_I\).</p>
<p>This complex disc-shaped uncertainty description may be generated as follows:</p>
<ol>
<li>Select a nominal \(G(s)\)</li>
<li><strong>Additive uncertainty</strong>.
At each frequency, find the smallest radius \(l_A(\w)\) which includes all the possible plants \(\Pi\)
\[ l_A(\w) = \max_{G_p\in\Pi} \abs{G_p(j\w) - G(j\w)} \]
If we want a rational transfer function weight, \(w_A(s)\), then it must be chosen to cover the set, so
\[ \abs{w_A(j\w)} \ge l_A(\w) \quad \forall\w \]
Usually \(w_A(s)\) is of low order to simplify the controller design.</li>
<li><strong>Multiplicative uncertainty</strong>.
This is often the preferred uncertainty form, and we have
\[ l_I(\w) = \max_{G_p\in\Pi} \abs{\frac{G_p(j\w) - G(j\w)}{G(j\w)}} \]
and with a rational weight \(\abs{w_I(j\w)} \ge l_I(\w), , \forall\w\)</li>
</ol>
<div class="cbox">
<div></div>
<p>We want to represent the following set using multiplicative uncertainty with a rational weight \(w_I(s)\)
\[ \Pi: \quad G_p(s) = \frac{k}{\tau s + 1} e^{-\theta s}, \quad 2 \le k, \theta, \tau \le 3 \]
To simplify subsequent controller design, we select a delay-free nominal model
\[ G(s) = \frac{\bar{k}}{\bar{\tau} s + 1} = \frac{2.5}{2.5 s + 1} \]</p>
<p>To obtain \(l_I(\w)\), we consider three values (2, 2.5 and 3) for each of the three parameters (\(k, \theta, \tau\)).
The corresponding relative errors \(\abs{\frac{G_p-G}{G}}\) are shown as functions of frequency for the \(3^3 = 27\) resulting \(G_p\) (Fig. <a href="#fig:uncertainty_weight">fig:uncertainty_weight</a>).
To derive \(w_I(s)\), we then try to find a simple weight so that \(\abs{w_I(j\w)}\) lies above all the dotted lines.</p>
</div>
<p><a id="org797da76"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_uncertainty_weight.png"
alt="Figure 16: Relative error for 27 combinations of \(k,\ \tau\) and \(\theta\). Solid and dashed lines: two weights \(\abs{w_I}\)"/> <figcaption>
<p>Figure 16: Relative error for 27 combinations of \(k,\ \tau\) and \(\theta\). Solid and dashed lines: two weights \(\abs{w_I}\)</p>
</figcaption>
</figure>
<h4 id="choice-of-nominal-model">Choice of Nominal Model</h4>
<p>With parametric uncertainty represented as complex perturbations, there are three main options for the choice of nominal model:</p>
<ol>
<li><strong>A simplified model</strong>, for instance a low order, delay free model.
It usually yields the largest uncertainty region, but the model is simple and this facilitates controller design in later stages.</li>
<li><strong>A model of mean parameter values</strong>, \(G(s) = \bar{G}(s)\).
It is probably the most straightforward choice.</li>
<li><strong>The central plant obtained from a Nyquist plot</strong>.
It yields the smallest region, but in this case a significant effort may be required to obtain the nominal model which is usually not a rational transfer function.</li>
</ol>
<p>For SISO systems, we find that for plants with an uncertain time delay, it is simplest and sometimes best to use a delay-free nominal model, and to represent the nominal delay as additional uncertainty.</p>
<p>If we use a parametric uncertainty description, based on multiple real perturbations, then we should always use the mean parameter values in the nominal model.</p>
<h4 id="neglected-dynamics-represented-as-uncertainty">Neglected Dynamics Represented as Uncertainty</h4>
<p>We saw that one advantage of frequency domain uncertainty description is that one can choose to work with a simple nominal model, and <strong>represent neglected dynamics as uncertainty</strong>.</p>
<p>Consider a set of plants
\[ G_p(s) = G_0(s) f(s) \]
where \(G_0(s)\) is fixed.
We want to neglect the term \(f(s) \in \Pi_f\), and represent \(G_p\) by multiplicative uncertainty with a nominal model \(G = G_0\).</p>
<p>The magnitude of the relative uncertainty caused by neglecting the dynamics in \(f(s)\) is
\[ l_I(\w) = \max_{G_p} \abs{\frac{G_p - G}{G}} = \max_{f(s) \in \Pi_f} \abs{f(j\w) - 1} \]</p>
<h5 id="neglected-delay">Neglected delay</h5>
<p>Let \(f(s) = e^{-\theta_p s}\), where \(0 \le \theta_p \le \theta_{\text{max}}\). We want to represent \(G_p(s) = G_0(s)e^{-\theta_p s}\) by a delay-free plant \(G_0(s)\) and multiplicative uncertainty. Let first consider the maximum delay, for which the relative error \(\abs{1 - e^{-j \w \theta_{\text{max}}}}\) is shown as a function of frequency (Fig. <a href="#fig:neglected_time_delay">fig:neglected_time_delay</a>). If we consider all \(\theta \in [0, \theta_{\text{max}}]\) then:
\[ l_I(\w) = \begin{cases} \abs{1 - e^{-j\w\theta_{\text{max}}}} &amp; \w &lt; \pi/\theta_{\text{max}} \ 2 &amp; \w \ge \pi/\theta_{\text{max}} \end{cases} \]</p>
<p><a id="org8ddf130"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_neglected_time_delay.png"
alt="Figure 17: Neglected time delay"/> <figcaption>
<p>Figure 17: Neglected time delay</p>
</figcaption>
</figure>
<h5 id="neglected-lag">Neglected lag</h5>
<p>Let \(f(s) = 1/(\tau_p s + 1)\), where \(0 \le \tau_p \le \tau_{\text{max}}\). In this case the resulting \(l_I(\w)\) (Fig. <a href="#fig:neglected_first_order_lag">fig:neglected_first_order_lag</a>) can be represented by a rational transfer function with \(\abs{w_I(j\w)} = l_I(\w)\) where
\[ w_I(s) = \frac{\tau_{\text{max}} s}{\tau_{\text{max}} s + 1} \]</p>
<p><a id="orge3ddb3c"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_neglected_first_order_lag.png"
alt="Figure 18: Neglected first-order lag uncertainty"/> <figcaption>
<p>Figure 18: Neglected first-order lag uncertainty</p>
</figcaption>
</figure>
<h5 id="multiplicative-weight-for-gain-and-delay-uncertainty">Multiplicative weight for gain and delay uncertainty</h5>
<p>Consider the following set of plants
\[ G_p = k_p e^{-\theta_p s} G_0(s); \quad k_p \in [k_{\min}, k_{\text{max}}], \ \theta_p \in [\theta_{\min}, \theta_{\text{max}}] \]
which we want to represent by multiplicative uncertainty and a delay-free nominal model \(G(s) = \bar{k} G_0(s)\).
There is an exact expression, its first order approximation is
\[ w_I(s) = \frac{(1+\frac{r_k}{2})\theta_{\text{max}} s + r_k}{\frac{\theta_{\text{max}}}{2} s + 1} \]
However, as shown in Fig. <a href="#fig:lag_delay_uncertainty">fig:lag_delay_uncertainty</a>, the weight \(w_I\) is optimistic, especially around frequencies \(1/\theta_{\text{max}}\). To make sure that \(\abs{w_I(j\w)} \le l_I(\w)\), we can apply a correction factor:
\[ w_I^\prime(s) = w_I \cdot \frac{(\frac{\theta_{\text{max}}}{2.363})^2 s^2 + 2\cdot 0.838 \cdot \frac{\theta_{\text{max}}}{2.363} s + 1}{(\frac{\theta_{\text{max}}}{2.363})^2 s^2 + 2\cdot 0.685 \cdot \frac{\theta_{\text{max}}}{2.363} s + 1} \]</p>
<p>It is suggested to start with the simple weight and then if needed, to try the higher order weight.</p>
<p><a id="orgb652b95"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_lag_delay_uncertainty.png"
alt="Figure 19: Multiplicative weight for gain and delay uncertainty"/> <figcaption>
<p>Figure 19: Multiplicative weight for gain and delay uncertainty</p>
</figcaption>
</figure>
<h4 id="unmodelled-dynamics-uncertainty">Unmodelled Dynamics Uncertainty</h4>
<p>The most important reason for using frequency domain (\(\hinf\)) uncertainty description and complex perturbations, is the <strong>incorporation of unmodelled dynamics</strong>.
Unmodelled dynamics, while being close to neglected dynamics, also include unknown dynamics of unknown or even infinite order.</p>
<div class="cbox">
<div></div>
<p>To represent unmodelled dynamics, we usually use a simple <strong>multiplicative weight</strong> of the form</p>
<p>\begin{equation}
w_I(s) = \frac{\tau s + r_0}{(\tau/r_\infty) s + 1}
\end{equation}</p>
<p>where \(r_0\) is the relative uncertainty at steady-state, \(1/\tau\) is the frequency at which the relative uncertainty reaches \(\SI{100}{\percent}\), and \(r_\infty\) is the magnitude of the weight at high frequency.</p>
</div>
<h3 id="siso-robust-stability">SISO Robust Stability</h3>
<h4 id="rs-with-multiplicative-uncertainty">RS with Multiplicative Uncertainty</h4>
<p>We want to determine the stability of the uncertain feedback system in Fig. <a href="#fig:feedback_multiplicative_uncertainty">fig:feedback_multiplicative_uncertainty</a> where there is multiplicative uncertainty of magnitude \(\abs{w_I(j\w)}\).
The loop transfer function becomes
\[ L_P = G_p K = G K (1 + w_I \Delta_I) = L + w_I L \Delta_I \]
We assume (by design) the stability of the nominal closed-loop system (with \(\Delta_I = 0\)).
We use the Nyquist stability condition to test for robust stability of the closed loop system:</p>
<p>\begin{align*}
\text{RS} \quad &amp;\stackrel{\text{def}}{\Longleftrightarrow} \quad \text{System stable} \ \forall L_p \\\<br>
&amp;\Longleftrightarrow \quad L_p \ \text{should not encircle -1}, \ \forall L_p
\end{align*}</p>
<p><a id="org0fda45b"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_input_uncertainty_set_feedback.png"
alt="Figure 20: Feedback system with multiplicative uncertainty"/> <figcaption>
<p>Figure 20: Feedback system with multiplicative uncertainty</p>
</figcaption>
</figure>
<h5 id="graphical-derivation-of-rs-condition">Graphical derivation of RS-condition</h5>
<p>Consider the Nyquist plot of \(L_p\) as shown in Fig. <a href="#fig:nyquist_uncertainty">fig:nyquist_uncertainty</a>. \(\abs{1+L}\) is the distance from the point \(-1\) to the center of the disc representing \(L_p\) and \(\abs{w_I L}\) is the radius of the disc.
Encirclements are avoided if none of the discs cover \(-1\), and we get:</p>
<p>\begin{align*}
\text{RS} \quad &amp;\Leftrightarrow \quad \abs{w_I L} &lt; \abs{1 + L}, \ \forall\w \\\<br>
&amp;\Leftrightarrow \quad \abs{\frac{w_I L}{1 + L}} &lt; 1, \ \forall\w \\\<br>
&amp;\Leftrightarrow \quad \abs{w_I T} &lt; 1, \ \forall\w \\\<br>
\end{align*}</p>
<p><a id="org4ead586"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_nyquist_uncertainty.png"
alt="Figure 21: Nyquist plot of \(L_p\) for robust stability"/> <figcaption>
<p>Figure 21: Nyquist plot of \(L_p\) for robust stability</p>
</figcaption>
</figure>
<div class="cbox">
<div></div>
<p>The requirement of robust stability for the case with multiplicative uncertainty gives an <strong>upper bound on the complementary sensitivity</strong></p>
<p>\begin{equation}
\text{RS} \quad \Leftrightarrow \quad \abs{T} &lt; 1/\abs{w_I}, \ \forall\w
\end{equation}</p>
</div>
<p>We see that we have to make \(T\) small at frequencies where the relative uncertainty \(\abs{w_I}\) exceeds 1 in magnitude.</p>
<h5 id="algebraic-derivation-of-rs-condition">Algebraic derivation of RS-condition</h5>
<p>Since \(L_p\) is assumed stable, and the nominal closed-loop is stable, the nominal loop transfer function \(L(j\w)\) does not encircle -1. Therefore, since the set of plants is norm-bounded, it then follows that if some \(L_{p1}\) in the uncertainty set encircles -1, then there must be another \(L_{p2}\) in the uncertainty set which goes exactly through -1 at some frequency. Thus</p>
<p>\begin{align*}
\text{RS} \quad &amp; \Leftrightarrow \abs{1 + L_p} \ne 0,\ \forall L_p,,\forall \w\\\<br>
&amp; \Leftrightarrow \abs{1 + L_p} &gt; 0,\ \forall L_p,,\forall \w\\\<br>
&amp; \Leftrightarrow \abs{1 + L + w_I L \Delta_I} &gt; 0,\ \forall \abs{\Delta_I} \le 1,,\forall \w\\\<br>
\end{align*}</p>
<p>At each frequency, the last condition is most easily violated when the complex number \(\Delta_I(j\w)\) is selected with \(\abs{\Delta(j\w)} = 1\) and with phase such that \(1+L\) and \(w_I L \Delta_I\) point in the opposite direction. Thus
\[ \text{RS} \ \Leftrightarrow \ \abs{1 + L} - \abs{w_I L} &gt; 0, \ \forall\w \ \Leftrightarrow \ \abs{w_I T} &lt; 1, \ \forall\w \]
And we obtain the same condition as before.</p>
<h4 id="rs-with-inverse-multiplicative-uncertainty">RS with Inverse Multiplicative Uncertainty</h4>
<p>We will derive a corresponding RS-condition for feedback system with inverse multiplicative uncertainty (Fig. <a href="#fig:inverse_uncertainty_set">fig:inverse_uncertainty_set</a>) in which
\[ G_p = G(1 + w_{iI}(s) \Delta_{iI})^{-1} \]</p>
<p><a id="orgaad9987"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_inverse_uncertainty_set.png"
alt="Figure 22: Feedback system with inverse multiplicative uncertainty"/> <figcaption>
<p>Figure 22: Feedback system with inverse multiplicative uncertainty</p>
</figcaption>
</figure>
<p>We assume that \(L_p\) and the nominal closed-loop systems are stable. Robust stability is guaranteed if \(L_p(j\w)\) does not encircles the point -1:</p>
<p>\begin{align*}
\text{RS} \quad &amp;\Leftrightarrow \quad \abs{1 + L_p} &gt; 0, \ \forall L_p, , \forall\w\\\<br>
&amp;\Leftrightarrow \quad \abs{1 + L (1 + w_{iI} \Delta_{iI})^{-1}} &gt; 0, \ \forall \abs{\Delta_{iI}} &lt; 1, , \forall\w\\\<br>
&amp;\Leftrightarrow \quad \abs{1 + w_{iI} \Delta_{iI} + L} &gt; 0, \ \forall \abs{\Delta_{iI}} &lt; 1, , \forall\w\\\<br>
&amp;\Leftrightarrow \quad \abs{1 + L} - \abs{w_{iI} \Delta_{iI}} &gt; 0, \ \forall\w\\\<br>
&amp;\Leftrightarrow \quad \abs{w_{iI} S} &lt; 1, \ \forall\w\\\<br>
\end{align*}</p>
<div class="cbox">
<div></div>
<p>The requirement for robust stability for the case with inverse multiplicative uncertainty gives an <strong>upper bound on the sensitivity</strong></p>
<p>\begin{equation}
\text{RS} \quad \Leftrightarrow \quad \abs{S} &lt; 1/\abs{w_{iI}}, \ \forall\w
\end{equation}</p>
<p>We see that we need tight control and have to make \(S\) small at frequencies where the uncertainty is large and \(w_{iI}\) exceeds 1 in magnitude.</p>
</div>
<p>The reason is that the uncertainty represents pole uncertainty, and at frequencies where \(\abs{w_{iI}}\) exceeds 1, we allow for poles crossing from the left to the right-half plant, and we then need feedback (\(\abs{S} &lt; 1\)) in order to stabilize the system.</p>
<h3 id="siso-robust-performance">SISO Robust Performance</h3>
<h4 id="siso-nominal-performance">SISO Nominal Performance</h4>
<div class="cbox">
<div></div>
<p>The condition for nominal performance when considering performance in terms of the <strong>weighted sensitivity</strong> function is</p>
<p>\begin{equation}
\begin{aligned}
\text{NP} &amp;\Leftrightarrow \abs{w_P S} &lt; 1 \ \forall\omega \\\<br>
&amp;\Leftrightarrow \abs{w_P} &lt; \abs{1 + L} \ \forall\omega
\end{aligned}
\end{equation}</p>
</div>
<p>Now \(\abs{1 + L}\) represents at each frequency the distance of \(L(j\omega)\) from the point \(-1\) in the Nyquist plot, so \(L(j\omega)\) must be at least a distance of \(\abs{w_P(j\omega)}\) from \(-1\).
This is illustrated graphically in Fig. <a href="#fig:nyquist_performance_condition">fig:nyquist_performance_condition</a>.</p>
<p><a id="org8e66342"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_nyquist_performance_condition.png"
alt="Figure 23: Nyquist plot illustration of the nominal performance condition \(\abs{w_P} &amp;lt; \abs{1 &#43; L}\)"/> <figcaption>
<p>Figure 23: Nyquist plot illustration of the nominal performance condition \(\abs{w_P} &lt; \abs{1 + L}\)</p>
</figcaption>
</figure>
<h4 id="robust-performance">Robust Performance</h4>
<div class="cbox">
<div></div>
<p>For robust performance, we require the performance condition to be satisfied for <strong>all</strong> possible plants:</p>
<p>\begin{equation}
\begin{aligned}
\text{RP}\ &amp;\overset{\text{def}}{\Leftrightarrow}\ \abs{w_P S} &lt; 1 \quad \forall S_p, \forall \omega\\\<br>
\ &amp;\Leftrightarrow\ \abs{w_P} &lt; \abs{1 + L_p} \quad \forall L_p, \forall \omega
\end{aligned}
\end{equation}</p>
</div>
<p>Let&rsquo;s consider the case of multiplicative uncertainty as shown on Fig. <a href="#fig:input_uncertainty_set_feedback_weight_bis">fig:input_uncertainty_set_feedback_weight_bis</a>.
The robust performance corresponds to requiring \(\abs{\hat{y}/d}&lt;1\ \forall \Delta_I\) and the set of possible loop transfer functions is
\[ L_p = G_p K = L (1 + w_I \Delta_I) = L + w_I L \Delta_I \]</p>
<p><a id="org3ca06cf"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_input_uncertainty_set_feedback_weight_bis.png"
alt="Figure 24: Diagram for robust performance with multiplicative uncertainty"/> <figcaption>
<p>Figure 24: Diagram for robust performance with multiplicative uncertainty</p>
</figcaption>
</figure>
<h5 id="graphical-derivation-of-rp-condition">Graphical derivation of RP-condition</h5>
<p>As illustrated on Fig. <a href="#fig:nyquist_performance_condition">fig:nyquist_performance_condition</a>, we must required that all possible \(L_p(j\omega)\) stay outside a disk of radius \(\abs{w_P(j\omega)}\) centered on \(-1\).
Since \(L_p\) at each frequency stays within a disk of radius \(|w_I(j\omega) L(j\omega)|\) centered on \(L(j\omega)\), the condition for RP becomes:</p>
<p>\begin{align*}
\text{RP}\ &amp;\Leftrightarrow\ \abs{w_P} + \abs{w_I L} &lt; \abs{1+L} \quad \forall\omega\\\<br>
&amp;\Leftrightarrow\ \abs{w_P(1 + L)^{-1}} + \abs{w_I L(1 + L)^{-1}} &lt; 1 \quad \forall\omega\\\<br>
\end{align*}</p>
<div class="cbox">
<div></div>
<p>Finally, we obtain the following condition for Robust Performance:</p>
<p>\begin{equation}
\text{RP} \ \Leftrightarrow\ \max_{\omega} \left(\abs{w_P S} + \abs{w_I T} \right) &lt; 1
\end{equation}</p>
</div>
<h5 id="algebraic-derivation-of-rp-condition">Algebraic derivation of RP-condition</h5>
<p>RP is satisfied if the worst-case weighted sensitivity at each frequency is less than \(1\):
\[ \text{RP} \ \Leftrightarrow\ \max_{S_p} \abs{w_P S_p} &lt; 1, \quad \forall\omega \]</p>
<p>The perturbed sensitivity \(S_p\) is
\[ S_p = \frac{1}{1 + L_p} = \frac{1}{1 + L + w_I L \Delta_I} \]
Thus:
\[ \max_{S_p} \abs{w_P S_p} = \frac{\abs{w_P}}{\abs{1 + L} - \abs{w_I L}} = \frac{\abs{w_P S}}{1 - \abs{w_I T}} \]
And we obtain the same RP-condition as the graphically derived one.</p>
<h5 id="remarks-on-rp-condition">Remarks on RP-condition</h5>
<ol>
<li>
<p>The RP-condition for this problem is closely approximated by the mixed sensitivity \(\hinf\) condition:
\[ \tcmbox{\hnorm{\begin{matrix}w_P S \ w_I T\end{matrix}} = \max_{\omega} \sqrt{\abs{w_P S}^2 + \abs{w_I T}^2} &lt;1} \]
This condition is within a factor at most \(\sqrt{2}\) of the true RP-condition.
This means that <strong>for SISO systems, we can closely approximate the RP-condition in terms of an \(\hinf\) problem</strong>, so there is no need to make use of the structured singular value.
However, we will see that the situation can be very different for MIMO systems.</p>
</li>
<li>
<p>The RP-condition can be used to derive bounds on the loop shape \(\abs{L}\):</p>
<p>\begin{align*}
\abs{L} &amp;&gt; \frac{1 + \abs{w_P}}{1 - \abs{w_I}}, \text{ at frequencies where } \abs{w_I} &lt; 1\\\<br>
\abs{L} &amp;&lt; \frac{1 - \abs{w_P}}{1 + \abs{w_I}}, \text{ at frequencies where } \abs{w_P} &lt; 1\\\<br>
\end{align*}</p>
</li>
</ol>
<h4 id="the-relationship-between-np-rs-and-rp">The Relationship Between NP, RS and RP</h4>
<p>Consider a SISO system with multiplicative input uncertainty, and assume that the closed-loop is nominally stable (NS).
The conditions for nominal performance (NP), robust stability (RS) and robust performance (RP) as summarized as follows:</p>
<div class="cbox">
<div></div>
<p>\begin{subequations}
\begin{align}
\text{NP} &amp; \Leftrightarrow |w_P S| &lt; 1,\ \forall \omega \\\<br>
\text{RS} &amp; \Leftrightarrow |w_I T| &lt; 1,\ \forall \omega \\\<br>
\text{RP} &amp; \Leftrightarrow |w_P S| + |w_I T| &lt; 1,\ \forall \omega
\end{align}
\end{subequations}</p>
</div>
<p>From this we see that <strong>a prerequisite for RP is that we satisfy both NP and RS</strong>.
This applies in general, both for SISO and MIMO systems and for any uncertainty.<br /></p>
<p>In addition, for SISO systems, if we satisfy both RS and NP, then we have at each frequency:
\[ |w_P S| + |w_I T| &lt; 2 \cdot \max \{|w_P S|, |w_I T|\} &lt; 2 \]
It then follows that, within a factor at most 2, we will automatically get RP when NP and RS are satisfied.
This, RP is not a &ldquo;big issue&rdquo; for SISO systems.<br /></p>
<p>To satisfy RS we generally want \(T\) small, whereas to satisfy \(NP\) we generally want \(S\) small.
However, we cannot make both \(S\) and \(T\) small at the same frequency because of the identity \(S + T = 1\).
This has implications for RP:</p>
<p>\begin{align*}
|w_P S| + |w_I T| &amp;\ge \text{min}\{|w_P|, |w_I|\}(|S| + |T|) \\\<br>
&amp;\ge \text{min}\{|w_P|, |w_I|\}(|S + T|) \\\<br>
&amp;\ge \text{min}\{|w_P|, |w_I|\}
\end{align*}</p>
<p>This means that we cannot have both \(|w_P|&gt;1\) (i.e. good performance) and \(|w_I|&gt;1\) (i.e. more than \(\si{100}{%}\) uncertainty) at the same frequency.</p>
<h3 id="examples-of-parametric-uncertainty">Examples of Parametric Uncertainty</h3>
<h4 id="parametric-pole-uncertainty">Parametric Pole Uncertainty</h4>
<p>Consider the following set of plants:
\[ G_p(s) = \frac{1}{s - a_p} G_0(s); \quad a_\text{min} \le a_p \le a_{\text{max}} \]</p>
<p>If \(a_\text{min}\) and \(a_\text{max}\) have different signs, then this means that the plant can change from stable to unstable with the pole crossing through the origin.</p>
<p>This set of plants can be written as
\[ G_p(s) = \frac{G_0(s)}{s - \bar{a}(1 + r_a \Delta)}; \quad -1 \le \Delta \le 1 \]
which can be exactly described by inverse multiplicative uncertainty:
\[ G(s) = \frac{G_0(s)}{(s - \bar{a})}; \quad w_{iI}(s) = \frac{r_a \bar{a}}{s - \bar{a}} \]</p>
<p>The magnitude of \(w_{iI}(s)\) is equal to \(r_a\) at low frequency and goes to \(0\) at high frequencies.</p>
<h5 id="time-constant-form">Time constant form</h5>
<p>It is also interesting to consider another form of pole uncertainty, namely that associated with the time constant:
\[ G_p(s) = \frac{1}{\tau_p s + 1} G_0(s); \quad \tau_\text{min} \le \tau_p \le \tau_\text{max} \]</p>
<p>The corresponding uncertainty weight is
\[ w_{iI}(s) = \frac{r_\tau \bar{\tau} s}{1 + \bar{\tau} s} \]</p>
<p>This results in uncertainty in the pole location, but here the uncertainty affects the model at high frequency.</p>
<h4 id="parametric-zero-uncertainty">Parametric Zero Uncertainty</h4>
<p>Consider zero uncertainty in the &ldquo;time constant&rdquo; form as in:
\[ G_p(s) = (1 + \tau_p s)G_0(s); \quad \tau_\text{min} \le \tau_p \le \tau_\text{max} \]</p>
<p>This set of plants may be written as multiplicative uncertainty with:
\[ w_I(s) = \frac{r_\tau \bar{\tau} s}{1 + \bar{\tau} s} \]
The magnitude \(|w_I(j\omega)|\) is small at low frequencies and approaches \(r_\tau\) at high frequencies.
For cases with \(r_\tau &gt; 1\) we allow the zero to cross from the LHP to the RHP.</p>
<h4 id="parametric-state-space-uncertainty">Parametric State-Space Uncertainty</h4>
<p>A general procedure for handling parametric uncertainty which is more suited for numerical calculations, is parametric state-space uncertainty.
Consider an uncertain state-space model:</p>
<p>\begin{align*}
\dot{x} &amp;= A_p x + B_p u \\\<br>
y &amp;= C_p x + D_p u
\end{align*}</p>
<p>Assume that the underlying cause for the uncertainty is uncertainty in some real parameters \(\delta_1, \delta_2, \dots\) and assume that the state space matrices depends linearly on these parameters:</p>
<p>\begin{align*}
A_p = A + \sum \delta_i A_i; \quad &amp; B_p = B + \sum \delta_i B_i \\\<br>
C_p = C + \sum \delta_i C_i; \quad &amp; D_p = D + \sum \delta_i D_i
\end{align*}</p>
<p>where \(A\), \(B\), \(C\) and \(D\) model the nominal system.</p>
<p>We can collect the perturbations \(\delta_i\) in a large diagonal matrix \(\Delta\) with the real \(\delta_i\)&lsquo;s along its diagonal:
\[ A_p = A + \sum \delta_i A_i = A + W_2 \Delta W_1 \]</p>
<p>In the transfer function form:</p>
<p>\begin{align*}
(s I - A_p)^{-1} &amp;= (sI - A - W_2 \Delta W_1)^{-1} \\\<br>
&amp;= (I - \Phi(s) W_2 \Delta W_1)^{-1} \Phi(s)
\end{align*}</p>
<p>with \(\Phi(s) \triangleq (sI - A)^{-1}\).</p>
<p>This is illustrated in the block diagram of Fig. <a href="#fig:uncertainty_state_a_matrix">fig:uncertainty_state_a_matrix</a>, which is in the form of an inverse additive perturbation.</p>
<p><a id="orgd286b2a"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_uncertainty_state_a_matrix.png"
alt="Figure 25: Uncertainty in state space A-matrix"/> <figcaption>
<p>Figure 25: Uncertainty in state space A-matrix</p>
</figcaption>
</figure>
<h3 id="conclusion">Conclusion</h3>
<p>Model uncertainty for SISO systems can be represented in the frequency domain using complex norm-bounded perturbations \(\hnorm{\Delta} \le 1\).<br /></p>
<p>Requirements of robust stability for the case of multiplicative complex uncertainty imposes an upper bound on the allowed complementary sensitivity, \(\abs{w_I T} &lt; 1, \ \forall\w\).<br /></p>
<p>Similarly, the inverse multiplicative uncertainty imposes an upper bound on the sensitivity, \(\abs{w_{iI} S} &lt; 1, \ \forall\w\).<br /></p>
<p>We also derived a condition for robust performance with multiplicative uncertainty, \(\abs{w_P S} + \abs{w_I T} &lt; 1, \ \forall\w\).</p>
<h2 id="robust-stability-and-performance-analysis">Robust Stability and Performance Analysis</h2>
<p><a id="orgb076a9b"></a></p>
<h3 id="general-control-configuration-with-uncertainty">General Control Configuration with Uncertainty</h3>
<p>The starting point for our robustness analysis is a system representation in which the uncertain perturbations are &ldquo;pulled out&rdquo; into a <strong>block diagonal matrix</strong>
\[ \Delta = \text{diag} \{\Delta_i\} = \begin{bmatrix}\Delta_1 \ &amp; \ddots \ &amp; &amp; \Delta_i \ &amp; &amp; &amp; \ddots \end{bmatrix} \]
where each \(\Delta_i\) represents a <strong>specific source of uncertainty</strong>, e.g. input uncertainty \(\Delta_I\) or parametric uncertainty \(\delta_i\).</p>
<p>If we also pull out the controller \(K\), we get the generalized plant \(P\) as shown in Fig. <a href="#fig:general_control_delta">fig:general_control_delta</a>. This form is useful for controller synthesis.</p>
<p><a id="org0853688"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_general_control_delta.png"
alt="Figure 26: General control configuration used for controller synthesis"/> <figcaption>
<p>Figure 26: General control configuration used for controller synthesis</p>
</figcaption>
</figure>
<p>If the controller is given and we want to analyze the uncertain system, we use the \(N\Delta\text{-structure}\) in Fig. <a href="#fig:general_control_Ndelta">fig:general_control_Ndelta</a>.</p>
<p><a id="orgc524251"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_general_control_Ndelta.png"
alt="Figure 27: \(N\Delta\text{-structure}\) for robust performance analysis"/> <figcaption>
<p>Figure 27: \(N\Delta\text{-structure}\) for robust performance analysis</p>
</figcaption>
</figure>
<p>\(N\) is related to \(P\) and \(K\) by a <strong>lower LFT</strong></p>
<p>\begin{align*}
N &amp;= F_l(P, K) \\\<br>
&amp;\triangleq P_{11} + P_{12} K (I - P_{22}K)^{-1} P_{21}
\end{align*}</p>
<p>Similarly, the uncertain closed-loop transfer function from \(w\) to \(z\), is related to \(N\) and \(\Delta\) by an <strong>upper LFT</strong></p>
<p>\begin{align*}
F &amp;= F_u(N, \Delta) \\\<br>
&amp;\triangleq N_{22} + N_{21} \Delta (I - N_{11} \Delta)^{-1} N_{12}
\end{align*}</p>
<p>To analyze robust stability of \(F\), we can rearrange the system into the \(M\Delta\text{-structure}\) shown in Fig. <a href="#fig:general_control_Mdelta_bis">fig:general_control_Mdelta_bis</a> where \(M = N_{11}\) is the transfer function from the output to the input of the perturbations.</p>
<p><a id="orge0e68f2"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_general_control_Mdelta_bis.png"
alt="Figure 28: \(M\Delta\text{-structure}\) for robust stability analysis"/> <figcaption>
<p>Figure 28: \(M\Delta\text{-structure}\) for robust stability analysis</p>
</figcaption>
</figure>
<h3 id="representing-uncertainty">Representing Uncertainty</h3>
<p>Each individual perturbation is assumed to be <strong>stable and normalized</strong>:
\[ \maxsv(\Delta_i(j\w)) \le 1 \quad \forall\w \]</p>
<p>As the maximum singular value of a block diagonal matrix is equal to the largest of the maximum singular values of the individual blocks, it then follows for \(\Delta = \text{diag}\{\Delta_i\}\) that
\[ \maxsv(\Delta_i(j\w)) \le 1 \quad \forall\w, \forall i \quad \Leftrightarrow \quad \tcmbox{\hnorm{\Delta} \le 1} \]</p>
<h4 id="differences-between-siso-and-mimo-systems">Differences Between SISO and MIMO Systems</h4>
<p>The main difference between SISO and MIMO systems is the concept of directions which is only relevant in the latter.
As a consequence, MIMO systems may experience <strong>much larger sensitivity to uncertainty</strong> than SISO systems.</p>
<h4 id="parametric-uncertainty">Parametric Uncertainty</h4>
<p>The representation of parametric uncertainty for MIMO systems is the same as for SISO systems.
However, the inclusion of parametric uncertainty may be more significant for MIMO plants because it offers a simple method of representing uncertain transfer function elements.</p>
<h4 id="unstructured-uncertainty">Unstructured Uncertainty</h4>
<p>Unstructured perturbations are often used to get a simple uncertainty model.
We here define unstructured uncertainty as the use of a &ldquo;full&rdquo; complex perturbation matrix \(\Delta\), usually with dimensions compatible with those of the plant, where at each frequency any \(\Delta(j\w)\) satisfying \(\maxsv(\Delta(j\w)) &lt; 1\) is allowed.</p>
<p>Three common forms of <strong>feedforward unstructured uncertainty</strong> are shown Fig. <a href="#fig:feedforward_uncertainty">fig:feedforward_uncertainty</a>: additive uncertainty, multiplicative input uncertainty and multiplicative output uncertainty.</p>
<div class="cbox">
<div></div>
<p>\begin{alignat*}{3}
&amp;\Pi_A: \quad &amp;&amp;G_p = G + E_A; \quad&amp; &amp;E_a = w_A \Delta_a \\\<br>
&amp;\Pi_I: \quad &amp;&amp;G_p = G(I + E_I); \quad&amp; &amp;E_I = w_I \Delta_I \\\<br>
&amp;\Pi_O: \quad &amp;&amp;G_p = (I + E_O)G; \quad&amp; &amp;E_O = w_O \Delta_O
\end{alignat*}</p>
</div>
<p><a id="table--fig:feedforward-uncertainty"></a></p>
<div class="table-caption">
<span class="table-number"><a href="#table--fig:feedforward-uncertainty">Table 4</a></span>:
Common feedforward unstructured uncertainty
</div>
<table>
<thead>
<tr>
<th><img src="/ox-hugo/skogestad07_additive_uncertainty.png" alt=""></th>
<th><img src="/ox-hugo/skogestad07_input_uncertainty.png" alt=""></th>
<th><img src="/ox-hugo/skogestad07_output_uncertainty.png" alt=""></th>
</tr>
</thead>
<tbody>
<tr>
<td><a id="org94556ee"></a> Additive uncertainty</td>
<td><a id="org205e138"></a> Multiplicative input uncertainty</td>
<td><a id="org884d99b"></a> Multiplicative output uncertainty</td>
</tr>
</tbody>
</table>
<p>In Fig. <a href="#fig:feedback_uncertainty">fig:feedback_uncertainty</a>, three <strong>feedback or inverse unstructured uncertainty</strong> forms are shown: inverse additive uncertainty, inverse multiplicative input uncertainty and inverse multiplicative output uncertainty.</p>
<div class="cbox">
<div></div>
<p>\begin{alignat*}{3}
&amp;\Pi_{iA}: \quad &amp;&amp;G_p = G(I - E_{iA} G)^{-1}; &amp; &amp; \quad E_{ia} = w_{iA} \Delta_{ia} \\\<br>
&amp;\Pi_{iI}: \quad &amp;&amp;G_p = G(I - E_{iI})^{-1}; &amp; &amp; \quad E_{iI} = w_{iI} \Delta_{iI} \\\<br>
&amp;\Pi_{iO}: \quad &amp;&amp;G_p = (I - E_{iO})^{-1}G; &amp; &amp; \quad E_{iO} = w_{iO} \Delta_{iO}
\end{alignat*}</p>
</div>
<p><a id="table--fig:feedback-uncertainty"></a></p>
<div class="table-caption">
<span class="table-number"><a href="#table--fig:feedback-uncertainty">Table 5</a></span>:
Common feedback unstructured uncertainty
</div>
<table>
<thead>
<tr>
<th><img src="/ox-hugo/skogestad07_inv_additive_uncertainty.png" alt=""></th>
<th><img src="/ox-hugo/skogestad07_inv_input_uncertainty.png" alt=""></th>
<th><img src="/ox-hugo/skogestad07_inv_output_uncertainty.png" alt=""></th>
</tr>
</thead>
<tbody>
<tr>
<td><a id="org17a4e6d"></a> Inverse additive uncertainty</td>
<td><a id="org2765e1d"></a> Inverse multiplicative input uncertainty</td>
<td><a id="org33356e1"></a> Inverse multiplicative output uncertainty</td>
</tr>
</tbody>
</table>
<h5 id="lumping-uncertainty-into-a-single-perturbation">Lumping uncertainty into a single perturbation</h5>
<p>For SISO systems, we usually lump multiple sources of uncertainty into a single complex perturbation; often in the multiplicative form.
This may be also done for MIMO systems, but then it makes a difference whether the perturbation is at the input or the output.<br /></p>
<p>Since <strong>output uncertainty is frequently less restrictive than input uncertainty in terms of control performance</strong>, we first attempt to lump the uncertainty at the output. For example, a set of plant \(\Pi\) may be represented by multiplicative output uncertainty with a scalar weight \(w_O(s)\) using
\[ G_p = (I + w_O \Delta_O) G, \quad \hnorm{\Delta_O} \le 1 \]
where
\[ l_O(\w) = \max_{G_p \in \Pi} \maxsv\left( (G_p - G)G^{-1} \right); \ \abs{w_O(j\w)} \ge l_O(\w), , \forall\w \]</p>
<p>If the resulting uncertainty weight is reasonable and the analysis shows that robust stability and performance may be achieve, then this lumping of uncertainty at the output is fine.
If this is not the case, then one may try to lump the uncertainty at the input instead, using multiplicative input uncertainty with a scalar weight,
\[ G_p = G(I + w_I \Delta_I), \quad \hnorm{\Delta_I} \le 1 \]
where
\[ l_I(\w) = \max_{G_p \in \Pi} \maxsv\left( G^{-1}(G_p - G) \right); \ \abs{w_I(j\w)} \ge l_I(\w), , \forall\w \]</p>
<p>However, in many cases, this approach of lumping uncertainty either at the output or the input does <strong>not</strong> work well because <strong>it usually introduces additional plants</strong> that were not present in the original set.</p>
<h5 id="conclusion">Conclusion</h5>
<p>Ideally, we would like to lump several sources of uncertainty into a single perturbation to get a simple uncertainty description.
Often an unstructured multiplicative output perturbation is used.
However, we should be careful about doing this, at least for plants with a large condition number.
In such cases we may have to represent the uncertainty as it occurs physically (at the input, in the elements, etc.) thereby generating several perturbations.</p>
<h4 id="diagonal-uncertainty">Diagonal Uncertainty</h4>
<p>By &ldquo;diagonal uncertainty&rdquo; we mean that the perturbation is a complex diagonal matrix
\[ \Delta(s) = \text{diag}\{\delta_i(s)\}; \quad \abs{\delta_i(j\w)} \le 1, \ \forall\w, , \forall i \]</p>
<p>Diagonal uncertainty usually arises from a consideration of uncertainty or neglected dynamics in the <strong>individual input or output channels</strong>.
This type of diagonal uncertainty is <strong>always present</strong>.</p>
<div class="cbox">
<div></div>
<p>Let us consider uncertainty in the input channels. With each input \(u_i\), there is a physical system (amplifier, actuator, etc.) which based on the controller output signal \(u_i\), generates a physical plant input \(m_i\)
\[ m_i = h_i(s) u_i \]
The scalar transfer function \(h_i(s)\) is often absorbed into the plant model \(G(s)\).
We can represent its uncertainty as multiplicative uncertainty
\[ h_{pi}(s) = h_i(s)(1 + w_{Ii}(s)\delta_i(s)); \quad \abs{\delta_i(j\w)} \le 1, , \forall\w \]
which after combining all input channels results in diagonal input uncertainty for the plant</p>
<p>\begin{align*}
G_p(s) = G(I + W_I \Delta_I) \text{ with } &amp;\Delta_I = \diag{\delta_i} \\\<br>
&amp;W_I = \diag{w_{Ii}}
\end{align*}</p>
</div>
<p>Normally, we would represent the uncertainty in each input or output channel using a simple weight in the form
\[ w(s) = \frac{\tau s + r_0}{(\tau/r_\infty)s + 1} \]
where \(r_0\) is the relative uncertainty at steady-state, \(1/\tau\) is the frequency where the relative uncertainty reaches \(\SI{100}{\percent}\), and \(r_\infty\) is the magnitude of the weight at high frequencies.<br /></p>
<p><strong>Diagonal input uncertainty should always be considered because</strong>:</p>
<ul>
<li>it is <strong>always</strong> present and a system which is sensitive to this uncertainty will not work in practice</li>
<li>it often <strong>restrict achievable performance</strong> with multivariable control</li>
</ul>
<h3 id="obtaining--p----n--and--m">Obtaining \(P\), \(N\) and \(M\)</h3>
<p>Let&rsquo;s consider the feedback system with multiplicative input uncertainty \(\Delta_I\) shown Fig. <a href="#fig:input_uncertainty_set_feedback_weight">fig:input_uncertainty_set_feedback_weight</a>.
\(W_I\) is a normalization weight for the uncertainty and \(W_P\) is a performance weight.</p>
<p><a id="org2ebb26f"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_input_uncertainty_set_feedback_weight.png"
alt="Figure 29: System with multiplicative input uncertainty and performance measured at the output"/> <figcaption>
<p>Figure 29: System with multiplicative input uncertainty and performance measured at the output</p>
</figcaption>
</figure>
<p>We want to derive the generalized plant \(P\) which has inputs \([u_\Delta,\ w,\ u]^T\) and outputs \([y_\Delta,\ z,\ v]^T\).</p>
<p>By breaking the loop before and after \(K\) and \(\Delta_I\), we get
\[ P = \begin{bmatrix}
0 &amp; 0 &amp; W_I \\\<br>
W_P G &amp; W_P &amp; W_P G \\\<br>
-G &amp; -I &amp; -G
\end{bmatrix} \]</p>
<p>Next, we want to derive the matrix \(N\). We fist partition \(P\) to be compatible with \(K\):</p>
<p>\begin{align*}
P_{11} = \begin{bmatrix}0&amp;0\GW_P&amp;W_P\end{bmatrix},\quad &amp; P_{12} = \begin{bmatrix}W_I\GW_P\end{bmatrix} \\\<br>
P_{21} = \begin{bmatrix}G&amp;-1\end{bmatrix}, \quad &amp; P_{22} = -G \\\<br>
\end{align*}</p>
<p>and then we find \(N\) using \(N = F_l(P, K)\).</p>
<h3 id="definitions-of-robust-stability-and-robust-performance">Definitions of Robust Stability and Robust Performance</h3>
<p>The next step is to check whether we have stability and acceptable performance for all plant in the set:</p>
<ol>
<li><strong>Robust stability analysis</strong>: with a given controller \(K\) we determine whether the system remains stable for all plants in the uncertainty set</li>
<li><strong>Robust performance analysis</strong>: is RS is satisfied, we determine how &ldquo;large&rdquo; the transfer function from exogenous inputs \(w\) to outputs \(z\) may be for all plants in the uncertainty set</li>
</ol>
<p>We have \(z = F(\Delta) \cdot w\) with</p>
<p>\begin{align*}
F &amp;= F_u(N, \Delta) \\\<br>
&amp;\triangleq N_{22} + N_{21}\Delta(I - N_{11}\Delta)^{-1} N_{12}
\end{align*}</p>
<p>We here use \(\hinf\) norm to define performance and require for RP that \(\hnorm{F(\Delta)} \le 1\) for all allowed \(\Delta\).
A typical choice is \(F = w_P S_P\) where \(w_P\) is the performance weight and \(S_P\) represents the set of perturbed sensitivity functions.</p>
<div class="cbox">
<div></div>
<p>In terms of the \(N\Delta\text{-structure}\), our requirements for stability and performance can be summarized as follows:</p>
<p>\begin{align*}
\text{NS} &amp;\ \stackrel{\text{def}}{\Longleftrightarrow} \ N \text{ is internally stable} \\\<br>
\text{NP} &amp;\ \stackrel{\text{def}}{\Longleftrightarrow} \ \text{NS and } \hnorm{N_{22}} &lt; 1 \\\<br>
\text{RS} &amp;\ \stackrel{\text{def}}{\Longleftrightarrow} \ \text{NS and } F = F_u(N, \Delta) \text{ is stable } \forall\Delta \\\<br>
\text{RP} &amp;\ \stackrel{\text{def}}{\Longleftrightarrow} \ \text{NS and } \hnorm{F} &lt; 1, \quad \forall \Delta, ,\hnorm{\Delta} \le 1 \\\<br>
\end{align*}</p>
</div>
<h3 id="robust-stability-for-the--m-delta-text-structure">Robust Stability for the \(M\Delta\text{-structure}\)</h3>
<p>Consider the uncertain \(N\Delta\text{-system}\) for which the transfer function from \(w\) to \(z\) is
\[ F_u(N, \Delta) = N_{22} + N_{21}\Delta(I - N_{11}\Delta)^{-1} N_{12} \]
Suppose that the system is nominally stable (with \(\Delta = 0\)) that is \(N\) is stable. We also assume that \(\Delta\) is stable.
We then see from the above equation that the <strong>only possible source of instability</strong> is the feedback term \((I - N_{11}\Delta)^{-1}\).
Thus, when we have nominal stability, the stability of the \(N\Delta\text{-structure}\) is equivalent to the stability of the \(M\Delta\text{-structure}\) where \(M = N_{11}\).</p>
<p>We thus need to derive conditions for checking the stability of the \(M\Delta\text{-structure}\).</p>
<div class="cbox">
<div></div>
<p>Assume that the nominal system \(M(s)\) and the perturbations \(\Delta(s)\) are stable.
Consider the convex set of perturbations \(\Delta\), such that if \(\Delta^\prime\) is an allowed perturbation then so is \(c\Delta^\prime\) where c is any <strong>real</strong> scalar such that \(\abs{c} \le 1\).
Then the \(M\Delta\text{-structure}\) is stable for all allowed perturbations <strong>if and only if</strong> the Nyquist plot of \(\det\left( I - M\Delta(s) \right)\) does not encircle the origin, \(\forall\Delta\):</p>
<p>\begin{equation}
\det( I - M\Delta(j\w)) \ne 0, \quad \forall\w, , \forall\Delta
\end{equation}</p>
</div>
<div class="cbox">
<div></div>
<p>Assume that the nominal system \(M(s)\) and the perturbations \(\Delta(s)\) are stable.
Consider the class of perturbations, \(\Delta\), such that if \(\Delta^\prime\) is an allowed perturbation, then so is \(c\Delta^\prime\) where c is any <strong>complex</strong> scalar such that \(\abs{c} \le 1\).
Then the \(M\Delta\text{-structure}\) is stable for all allowed perturbations <strong>if and only if</strong>:</p>
<p>\begin{equation}
\begin{aligned}
&amp;\rho(M\Delta(j\w)) &lt; 1, \quad \forall\w, , \forall\Delta\\\<br>
\Leftrightarrow \quad &amp;\max_{\Delta} \rho(M\Delta(j\w)) &lt; 1, \quad \forall\w
\end{aligned}
\end{equation}</p>
</div>
<h3 id="rs-for-complex-unstructured-uncertainty">RS for Complex Unstructured Uncertainty</h3>
<p>Let \(\Delta\) be the set of all complex matrices such that \(\maxsv(\Delta) \le 1\) (\(\|\Delta\|_\infty \le 1\)).
This is often referred to as <strong>unstructured uncertainty</strong> or as full-block complex perturbation uncertainty.
Then we have</p>
<p>\begin{align*}
\max_\Delta \rho(M\Delta) &amp;= \max_\Delta \maxsv(M\Delta) \\\<br>
&amp;= \max_\Delta \maxsv(\Delta) \maxsv(M) \\\<br>
&amp;= \maxsv(M)
\end{align*}</p>
<div class="cbox">
<div></div>
<p>Assume that the nominal system \(M(s)\) is stable and that the perturbations \(\Delta(s)\) are stable.
Then the \(M\Delta\text{-system}\) is stable for all perturbations \(\Delta\) satisfying \(\hnorm{\Delta} \le 1\) if and only if</p>
<p>\begin{equation}
\maxsv(M(j\w)) &lt; 1 \ \forall\w \quad \Leftrightarrow \quad \hnorm{M} &lt; 1
\end{equation}</p>
</div>
<h4 id="application-of-the-unstructured-rs-condition">Application of the Unstructured RS-condition</h4>
<p>We will now present necessary and sufficient conditions for robust stability for each of the six single unstructured perturbations in Figs <a href="#fig:feedforward_uncertainty">fig:feedforward_uncertainty</a> and <a href="#fig:feedback_uncertainty">fig:feedback_uncertainty</a> with
\[ E = W_2 \Delta W_1, \quad \hnorm{\Delta} \le 1 \]</p>
<p>To derive the matrix \(M\) we simply &ldquo;isolate&rdquo; the perturbation, and determine the transfer function matrix
\[ M = W_1 M_0 W_2 \]
from the output to the input of the perturbation, where \(M_0\) for each of the six cases is given by</p>
<p>\begin{alignat*}{2}
G_p &amp;= G + E_A: \quad &amp;&amp; M_0 = K (I + GK)^{-1} = KS\\\<br>
G_p &amp;= G(I + E_I): \quad &amp;&amp; M_0 = K (I + GK)^{-1}G = T_I\\\<br>
G_p &amp;= (I + E_O)G: \quad &amp;&amp; M_0 = G K (I + GK)^{-1} = T\\\<br>
G_p &amp;= G(I - E_{iA}G)^{-1}: \quad &amp;&amp; M_0 = (I + GK)^{-1} G = SG\\\<br>
G_p &amp;= G(I - E_{iI})^{-1}: \quad &amp;&amp; M_0 = (I + KG)^{-1} = S_I\\\<br>
G_p &amp;= (I - E_{iO})^{-1} G: \quad &amp;&amp; M_0 = (I + GK)^{-1} = S
\end{alignat*}</p>
<p>Using the theorem to check RS for unstructured perturbations
\[ \text{RS} \quad \Leftrightarrow \quad \hnorm{W_1 M_0 W_2(j\w)} &lt; 1, \ \forall\w \]</p>
<p>For instance, for feedforward input uncertainty, we get
\[ \text{RS}\ \forall G_p = G(I + w_I \Delta_I), \hnorm{\Delta_I} \le 1 \Leftrightarrow \hnorm{w_I T_I} &lt; 1 \]</p>
<p>In general, <strong>the unstructured uncertainty descriptions in terms of a single perturbation are not &ldquo;tight&rdquo;</strong> (in the sense that at each frequency all complex perturbations satisfying \(\maxsv(\Delta(j\w)) \le 1\) may not be possible in practice).
Thus, the above RS-conditions are often <strong>conservative</strong>.
In order to get tighter condition we must use a tighter uncertainty description in terms of a block-diagonal \(\Delta\).</p>
<h4 id="rs-for-coprime-factor-uncertainty">RS for Coprime Factor Uncertainty</h4>
<p>Robust stability bound in terms of the \(\hinf\) norm (\(\text{RS}\Leftrightarrow\hnorm{M}&lt;1\)) are in general only tight when there is a single full perturbation block.
An &ldquo;exception&rdquo; to this is when the uncertainty blocks enter or exit from the same location in the block diagram, because they can then be stacked on top of each other or side-by-side, in an overall \(\Delta\) which is then full matrix.</p>
<p>One important uncertainty description that falls into this category is the <strong>coprime uncertainty description</strong> shown in Fig. <a href="#fig:coprime_uncertainty">fig:coprime_uncertainty</a>, for which the set of plants is
\[ G_p = (M_l + \Delta_M)^{-1}(Nl + \Delta_N), \quad \hnorm{[\Delta_N, \ \Delta_N]} \le \epsilon \]
Where \(G = M_l^{-1} N_l\) is a left coprime factorization of the nominal plant.</p>
<p>This uncertainty description is surprisingly <strong>general</strong>, it allows both zeros and poles to cross into the right-half plane, and has proven to be very useful in applications.</p>
<p><a id="org71a706b"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_coprime_uncertainty.png"
alt="Figure 30: Coprime Uncertainty"/> <figcaption>
<p>Figure 30: Coprime Uncertainty</p>
</figcaption>
</figure>
<p>Since we have no weights on the perturbations, it is reasonable to use a normalized coprime factorization of the nominal plant.
In any case, to test for RS we can rearrange the block diagram to match the \(M\Delta\text{-structure}\) with
\[ \Delta = [\Delta_N, \ \Delta_M]; \quad M = -\begin{bmatrix}K\I\end{bmatrix} (I + GK)^{-1} M_l^{-1} \]
And we get
\[ \text{RS}\ \forall\ \hnorm{\Delta_N, \ \Delta_M} \le \epsilon \quad \Leftrightarrow \quad \hnorm{M} &lt; 1/\epsilon \]</p>
<p>The coprime uncertainty description provides a good <strong>generic uncertainty description</strong> for cases where we do not use any specific a priori uncertainty information.
Note that the uncertainty magnitude is \(\epsilon\), so it is not normalized to be less than 1 in this case.
This is because this uncertainty description is most often used in a controller design procedure where the objective is to maximize the magnitude of the uncertainty \(\epsilon\) such that RS is maintained.</p>
<h3 id="rs-with-structured-uncertainty-motivation">RS with Structured Uncertainty: Motivation</h3>
<p>Consider now the presence of structured uncertainty, where \(\Delta = \text{diag}\{\Delta_i\}\) is block-diagonal.
To test for robust stability, we rearrange the system into the \(M\Delta\text{-structure}\) and we have
\[ \text{RS if } \maxsv(M(j\w)) &lt; 1, \ \forall\w \]</p>
<p>We have here written &ldquo;if&rdquo; rather than &ldquo;if and only if&rdquo; since this condition is only sufficient for RS when \(\Delta\) has &ldquo;no structure&rdquo;.
The question is whether we can take advantage of the fact that \(\Delta = \text{diag}\{\Delta_i\}\) is structured to obtain an RS-condition which is tighter.
On idea is to make use of the fact that stability must be independent of scaling.</p>
<p>To this effect, introduce the block-diagonal scaling matrix
\[ D = \diag{d_i I_i} \]
where \(d_i\) is a scalar and \(I_i\) is an identity matrix of the same dimension as the \(i\)&lsquo;th perturbation block \(\Delta_i\).</p>
<p>Now rescale the inputs and outputs of \(M\) and \(\Delta\) by inserting the matrices \(D\) and \(D^{-1}\) on both sides as shown in Fig. <a href="#fig:block_diagonal_scalings">fig:block_diagonal_scalings</a>.
This clearly has no effect on stability.</p>
<p><a id="org949fb62"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_block_diagonal_scalings.png"
alt="Figure 31: Use of block-diagonal scalings, \(\Delta D = D \Delta\)"/> <figcaption>
<p>Figure 31: Use of block-diagonal scalings, \(\Delta D = D \Delta\)</p>
</figcaption>
</figure>
<p>Note that with the chosen form for the scalings we have for each perturbation block \(\Delta_i = d_i \Delta_i d_i^{-1}\), that is we have \(\Delta = D \Delta D^{-1}\).</p>
<p>This means that we have
\[ \text{RS if } \maxsv(DM(j\w)D^{-1}) &lt; 1, \ \forall\w \]</p>
<div class="cbox">
<div></div>
<p>This applies for any \(D\), and therefore the &ldquo;most improved&rdquo; (least conservative) RS-condition is obtained by minimizing at each frequency the scaled singular value and we have
\[ \text{RS if } \min_{D(\w) \in \mathcal{D}} \maxsv(D(\w)M(j\w)D(\w)^{-1}) &lt; 1, \ \forall\w \]
where \(\mathcal{D}\) is the set of block-diagonal matrices whose structure is compatible to that of \(\Delta\), i.e, \(\Delta D = D \Delta\).</p>
</div>
<p>When \(\Delta\) is a full matrix, we must select \(D = dI\) and we have \(\maxsv(D M D^{-1}) = \maxsv(M)\), and we cannot improve the RS-condition.
However, when \(\Delta\) has structure, we get more degrees of freedom in \(D\) and \(\maxsv(D M D^{-1})\) may be significantly smaller than \(\maxsv(M)\).</p>
<h3 id="the-structured-singular-value">The Structured Singular Value</h3>
<h4 id="definition">Definition</h4>
<p>The structured singular value \(\mu\) is a function which provides a <strong>generalization of the singular value</strong> \(\maxsv\) and the <strong>spectral radius</strong> \(\rho\).
We will use \(\mu\) to get necessary and sufficient conditions for robust stability and also for robust performance.</p>
<p>\(\mu\) can be explained as follow:</p>
<blockquote>
<p>Find the smallest structured \(\Delta\) (measured in terms of \(\maxsv(\Delta)\)) which makes the matrix \(I - M \Delta\) singular; then \(\mu(M) = 1/\maxsv(\Delta)\).</p>
</blockquote>
<p>Mathematically
\[ \mu(M)^{-1} \triangleq \min_{\Delta}\{\maxsv(\Delta) | \det(I-M\Delta) = 0 \text{ for struct. }\Delta\} \]
Clearly, \(\mu(M)\) depends not only on \(M\) but also on the <strong>allowed structure</strong> for \(\Delta\). This is sometimes shown explicitly by using the notation \(\mu_\Delta (M)\).<br /></p>
<p>The above definition of \(\mu\) involves varying \(\maxsv(\Delta)\). However, we prefer to normalize \(\Delta\) such that \(\maxsv(\Delta)\le1\). We can do that by scaling \(\Delta\) by a factor \(k_m\), and looking for the smallest \(k_m\) which makes the matrix \(I - k_m M \Delta\) singular. \(\mu\) is then the reciprocal of this small \(k_m\): \(\mu = 1/k_m\). This results in the following alternative definition of \(\mu\).</p>
<div class="cbox">
<div></div>
<p>Let \(M\) be a given complex matrix and let \(\Delta = \diag{\Delta_i}\) denote a set of complex matrices with \(\maxsv(\Delta) \le 1\) and with a given block-diagonal structure.
The real non-negative function \(\mu(M)\), called the structured singular value, is defined by</p>
<p>\begin{align*}
\mu(M) \triangleq &amp;(\min\{ k_m | \det(I - k_m M \Delta) = 0\\\<br>
&amp;\text{for structured } \Delta, \maxsv(\Delta) \le 1 \} )^{-1}
\end{align*}</p>
<p>If no such structured \(\Delta\) exists then \(\mu(M) = 0\)</p>
</div>
<p>A value of \(\mu = 1\) means that there exists a perturbation with \(\maxsv(\Delta) = 1\) which is just large enough to make \(I - M\Delta\) singular.</p>
<p>A larger value of \(\mu\) is &ldquo;bad&rdquo; as it means that a smaller perturbation makes \(I - M\Delta\) singular, whereas a smaller value of \(\mu\) is &ldquo;good&rdquo;.</p>
<h4 id="remarks-on-the-definition-of--mu">Remarks on the Definition of \(\mu\)</h4>
<ol>
<li>The structured singular value was introduced by Doyle while at the same time, Safonov introduced the <strong>Multivariable Stability Margin</strong> \(k_m\) for a diagonally perturbed system as the inverse of \(\mu\), that is \(k_m(M) = \mu(M)^{-1}\).</li>
<li>Note that with \(k_m = 0\) we obtain \(I - k_m M \Delta = I\) which is clearly non-singular.
Thus, one possible way to obtain \(\mu\) numerically, is to start with \(k_m = 0\), and gradually increase \(k_m\) until we first find an allowed \(\Delta\) with \(\maxsv(\Delta) = 1\) such that \(I-k_mM\Delta\) is singular.</li>
</ol>
<h4 id="properties-of--mu--for-real-and-complex--delta">Properties of \(\mu\) for Real and Complex \(\Delta\)</h4>
<ol>
<li>\(\mu(\alpha M) = \abs{\alpha} \mu(M)\) for any real scalar \(\alpha\)</li>
<li>Let \(\Delta = \diag{\Delta_1, \Delta_2}\) be a block-diagonal perturbation and let \(M\) be partitioned accordingly.
Then \[ \mu_\Delta \ge \text{max} \{\mu_{\Delta_1} (M_{11}), \mu_{\Delta_2}(M_{22}) \} \]</li>
</ol>
<h4 id="properties-of--mu--for-complex-perturbations--delta">Properties of \(\mu\) for Complex Perturbations \(\Delta\)</h4>
<ol>
<li>
<p>For complex perturbations \(\Delta\) with \(\maxsv(\Delta) \le 1\)</p>
<p>\begin{equation}
\tcmbox{\mu(M) = \max_{\Delta, \maxsv(\Delta) \le 1} \rho(M\Delta)}
\end{equation}</p>
</li>
<li>
<p>\(\mu(\alpha M) = \abs{\alpha} \mu(M)\) for any (complex) scalar \(\alpha\)</p>
</li>
<li>
<p>For a full block complex perturbation \(\Delta\)
\[ \mu(M) = \maxsv(M) \]</p>
</li>
<li>
<p>\(\mu\) for complex perturbations is bounded by the spectral radius and the singular value</p>
<p>\begin{equation}
\tcmbox{\rho(M) \le \mu(M) \le \maxsv(M)}
\end{equation}</p>
</li>
<li>
<p><strong>Improved lower bound</strong>.
Defined \(\mathcal{U}\) as the set of all unitary matrices \(U\) with the same block diagonal structure as \(\Delta\).
Then for complex \(\Delta\)</p>
<p>\begin{equation}
\tcmbox{\mu(M) = \max_{U\in\mathcal{U}} \rho(MU)}
\end{equation}</p>
</li>
<li>
<p><strong>Improved upper bound</strong>.
Defined \(\mathcal{D}\) as the set of all unitary matrices \(D\) that commute with \(\Delta\).
Then</p>
<p>\begin{equation}
\tcmbox{\mu(M) = \min_{D\in\mathcal{D}} \maxsv(DMD^{-1})}
\end{equation}</p>
</li>
</ol>
<h3 id="robust-stability-with-structured-uncertainty">Robust Stability with Structured Uncertainty</h3>
<p>Consider stability of the \(M\Delta\text{-structure}\) for the case where \(\Delta\) is a set of norm-bounded block-diagonal perturbations.
From the determinant stability condition which applies to both complex and real perturbations, we get
\[ \text{RS} \ \Leftrightarrow \ \det(I-M\Delta(j\w)) \ne 0, \ \forall\w,, \forall\Delta, , \|\Delta\|_\infty \le 1 \]
The problem is that this is only a &ldquo;yes/no&rdquo; condition. To find the factor \(k_m\) by which the system is robustly stable, we scale the uncertainty \(\Delta\) by \(k_m\), and look for the smallest \(k_m\) which yields &ldquo;borderline instability&rdquo;, namely
\[ \det(I - k_m M \Delta) = 0 \]
From the definition of \(\mu\), this value is \(k_m = 1/\mu(M)\), and we obtain the following necessary and sufficient condition for robust stability.</p>
<div class="cbox">
<div></div>
<p>Assume that the nominal system \(M\) and the perturbations \(\Delta\) are stable.
Then the \(M\Delta\text{-system}\) is stable for all allowed perturbations with \(\maxsv(\Delta)\le 1, \ \forall\w\) if on only if</p>
<p>\begin{equation}
\mu(M(j\w)) &lt; 1, \ \forall \omega
\end{equation}</p>
</div>
<h5 id="what-do--mu-ne-1--and-skewed--mu--mean">What do \(\mu \ne 1\) and skewed-\(\mu\) mean?</h5>
<p>A value of \(\mu = 1.1\) for robust stability means that <strong>all</strong> the uncertainty blocks must be decreased in magnitude by a factor 1.1 in order to guarantee stability.</p>
<p>But if we want to keep some of the uncertainty blocks fixed, how large can one particular source of uncertainty be before we get instability?
We define this value as \(1/\mu^s\), where \(\mu^s\) is called skewed-\(\mu\). We may view \(\mu^s(M)\) as a generalization of \(\mu(M)\).</p>
<div class="cbox">
<div></div>
<p>Let \(\Delta = \diag{\Delta_1, \Delta_2}\) and assume we have fixed \(\norm{\Delta_1} \le 1\) and we want to find how large \(\Delta_2\) can be before we get instability.
The solution is to select
\[ K_m = \begin{bmatrix}I &amp; 0 \ 0 &amp; k_m I\end{bmatrix} \]
and look at each frequency for the smallest value of \(k_m\) which makes \(\det(I - K_m M \Delta) = 0\) and we have that skewed-\(\mu\) is
\[ \mu^s(M) \triangleq 1/k_m \]</p>
</div>
<p>Note that to compute skewed-\(\mu\) we must first define which part of the perturbations is to be constant.</p>
<h3 id="robust-performance">Robust Performance</h3>
<h4 id="testing-rp-using--mu">Testing RP using \(\mu\)</h4>
<p>To test for RP, we first &ldquo;pull out&rdquo; the uncertain perturbations and rearrange the uncertain system into the \(N\Delta\text{-form}\).
Our RP-requirement, is that the \(\hinf\) norm of the transfer function \(F = F_u(N, \Delta)\) remains less than \(1\) for all allowed perturbations.
This may be tested exactly by computing \(\mu(N)\).</p>
<div class="cbox">
<div></div>
<p>Rearrange the uncertain system into the \(N\Delta\text{-structure}\). Assume nominal stability such that \(N\) is stable.
Then</p>
<p>\begin{align*}
\text{RP} \ &amp;\stackrel{\text{def}}{\Longleftrightarrow} \ \hnorm{F} = \hnorm{F_u(N, \Delta)} &lt; 1, \ \forall \hnorm{\Delta} &lt; 1 \\\<br>
&amp;\Longleftrightarrow \ \mu_{\hat{\Delta}}(N(j\w)) &lt; 1, \ \forall\w
\end{align*}</p>
<p>where \(\mu\) is computed with respect to the structure
\[ \hat{\Delta} = \begin{bmatrix}\Delta &amp; 0 \ 0 &amp; \Delta_P\end{bmatrix} \]
and \(\Delta_P\) is a full complex perturbation with the same dimensions as \(F^T\).</p>
</div>
<p>Some remarks on the theorem:</p>
<ol>
<li>Condition \(\mu_{\hat{\Delta}}(N(j\w)) &lt; 1, \ \forall\w\) allows us to test if \(\hnorm{F} &lt; 1\) for all possible \(\Delta\) without having to test each \(\Delta\) individually. Essential, \(\mu\) is defined such that it directly addresses the worst case</li>
<li>The \(\mu\text{-condition}\) for RP involves the enlarged perturbation \(\hat{\Delta} = \diag{\Delta, \Delta_P}\).
Here \(\Delta\), which itself may be a block diagonal matrix, represents the true uncertainty, whereas \(\Delta_P\) is a full complex matrix stemming from the \(\hinf\) norm performance specification</li>
<li>Since \(\hat{\Delta}\) always has structure, the use of \(\hinf\) norm, \(\hnorm{N} &lt; 1\), is generally conservative for robust performance</li>
</ol>
<h4 id="summary-of--mu-text-conditions--for-np-rs-and-rp">Summary of \(\mu\text{-conditions}\) for NP, RS and RP</h4>
<div class="cbox">
<div></div>
<p>Rearrange the uncertain system into the \(N\Delta\text{-structure}\) where the block-diagonal perturbation satisfy \(\hnorm{\Delta} \le 1\).
Introduce
\[ F = F_u(N, \Delta) = N_{22} + N_{21}\Delta(I - N_{11} \Delta)^{-1} N_{12} \]
Let the performance requirement be \(\hnorm{F} \le 1\).</p>
<p>\begin{align*}
\text{NS} \ &amp;\Leftrightarrow \ N \text{ (internally) stable} \\\<br>
\text{NP} \ &amp;\Leftrightarrow \ \text{NS and } \maxsv(N_{22}) = \mu_{\Delta_P} &lt; 1, \ \forall\w \\\<br>
\text{RS} \ &amp;\Leftrightarrow \ \text{NS and } \mu_\Delta(N_{11}) &lt; 1, \ \forall\w \\\<br>
\text{RP} \ &amp;\Leftrightarrow \ \text{NS and } \mu_{\tilde{\Delta}}(N) &lt; 1, \ \forall\w, \ \tilde{\Delta} = \begin{bmatrix}\Delta &amp; 0 \ 0 &amp; \Delta_P\end{bmatrix}
\end{align*}</p>
</div>
<p>Here \(\Delta\) is a block-diagonal matrix, whereas \(\Delta_P\) is always a full complex matrix.</p>
<p>Although the structured singular value is not a norm, it is sometimes convenient to refer to the peak \(\mu\text{-value}\) as the &ldquo;\(\Delta\text{-norm}\)&quot;.
For a stable rational transfer matrix \(H(s)\), with an associated block structure \(\Delta\), we therefore define</p>
<p>\begin{equation}
\tcmbox{\left\|H(s)\right\|_\Delta \triangleq \max_{\w} \mu_\Delta (H(j\w))}
\end{equation}</p>
<p>For a nominal stable system, we then have</p>
<p>\begin{align*}
\text{NP} \ &amp;\Leftrightarrow \ \hnorm{N_{22}} &lt; 1 \\\<br>
\text{RS} \ &amp;\Leftrightarrow \ \left\|N_{11}\right\|_\Delta &lt; 1 \\\<br>
\text{RP} \ &amp;\Leftrightarrow \ \left\|N\right\|_{\tilde{\Delta}} &lt; 1
\end{align*}</p>
<h4 id="worst-case-performance-and-skewed--mu">Worst-case Performance and Skewed-\(\mu\)</h4>
<p>Assume we have a system for which the peak \(\mu\text{-value}\) for RP is \(1.1\). What does this mean?
The definition of \(\mu\) tells us that our RP-requirement would be satisfied exactly if we reduced <strong>both</strong> the performance requirement and the uncertainty by a factor of \(1.1\).
So \(\mu\) does not directly give us the worst-case performance \(\max_{\Delta} \maxsv(F(\Delta))\).</p>
<p>To find the worst-case weighted performance for a given uncertainty, one needs to keep the magnitude of the perturbation fixed (\(\maxsv(\Delta) \le 1\)), that is, <strong>we must compute the skewed-\(\mu\)</strong> of \(N\).
We have, in this case
\[ \max_{\maxsv(\Delta) \le 1} \maxsv(F_l(N, \Delta)(j\w)) = \mu^s (N(j\w)) \]</p>
<p>To find \(\mu^s\) numerically, we scale the performance part of \(N\) by a factor \(k_m = 1/\mu^s\) and iterate on \(k_m\) until \(\mu = 1\).
That is, at each frequency skewed-\(\mu\) is the value \(\mu^s(N)\) which solves
\[ \mu(K_mN) = 1, \quad K_m = \begin{bmatrix}I &amp; 0 \ 0 &amp; 1/\mu^s\end{bmatrix} \]
Note that \(\mu\) underestimate how bad or good the actual worst case performance is. This follows because \(\mu^s(N)\) is always further from 1 than \(\mu(N)\).</p>
<h3 id="application-rp-with-input-uncertainty">Application: RP with Input Uncertainty</h3>
<p>We will now consider in some detail the case of multiplicative input uncertainty with performance defined in terms of weighted sensitivity (Fig. <a href="#fig:input_uncertainty_set_feedback_weight">fig:input_uncertainty_set_feedback_weight</a>).</p>
<p>The performance requirement is then
\[ \text{RP} \quad \stackrel{\text{def}}{\Longleftrightarrow} \quad \hnorm{w_P (I + G_p K)^{-1}} &lt; 1, \quad \forall G_p \]
where the set of plant is given by
\[ G_p = G (I + w_I \Delta_I), \quad \hnorm{\Delta_I} \le 1 \]</p>
<p>Here \(w_p(s)\) and \(w_I(s)\) are scalar weights, so the performance objective is the same for all the outputs, and the uncertainty is the same for all the inputs.</p>
<p>In this section, we will:</p>
<ol>
<li>Find the interconnection matrix \(N\) for this problem</li>
<li>Consider the SISO case, so that useful connections can be made with results for SISO systems</li>
<li>Consider a multivariable distillation process</li>
<li>Find some simple bounds on \(\mu\) and discuss the role of the condition number</li>
<li>Make comparisons with the case where the uncertainty is located at the output</li>
</ol>
<h4 id="interconnection-matrix">Interconnection Matrix</h4>
<p>On rearranging the system into the \(N\Delta\text{-structure}\), we get</p>
<p>\begin{equation}
N = \begin{bmatrix} - w_I T_I &amp; - w_I K S \ w_p S G &amp; w_p S \end{bmatrix}
\end{equation}</p>
<p>where \(T_I = KG(I + KG)^{-1}\), \(S = (I + GK)^{-1}\).
For simplicity, we can omit the negative signs.</p>
<p>For a given controller \(K\) we can now test for NS, NP, RS and RP.</p>
<h4 id="rp-with-input-uncertainty-for-siso-system">RP with Input Uncertainty for SISO System</h4>
<p>For a SISO system with \(N\) as described above:</p>
<p>\begin{align*}
\text{NS} &amp;\Leftrightarrow S,\ SG,\ KS, \text{ and } T_I \text{ are stable} \\\<br>
\text{NP} &amp;\Leftrightarrow |w_P S| &lt; 1, \quad \forall \omega \\\<br>
\text{RS} &amp;\Leftrightarrow |w_I T_I| &lt; 1, \quad \forall \omega \\\<br>
\text{RP} &amp;\Leftrightarrow |w_P S| + |w_I T_I| &lt; 1, \quad \forall \omega
\end{align*}</p>
<p>Robust performance optimization, in terms of weighted sensitivity with multiplicative uncertainty for a SISO system, thus involves minimizing the peak value of \(\mu(N) = |w_I T| + |w_P S|\).
This may be solved using DK-iteration.
A closely related problem, which is easier to solve is to minimize the peak value (\(\mathcal{H}_\infty\) norm) of the mixed sensitivity matrix:
\[ N_\text{mix} = \begin{bmatrix} w_P S \ w_I T \end{bmatrix} \]</p>
<p>At each frequency, \(\mu(N)\) differs from and \(\bar{\sigma}(N_\text{mix})\) by at most a factor \(\sqrt{2}\).
Thus, minimizing \(\| N_\text{mix} \|_\infty\) is close to optimizing robust performance in terms of \(\mu(N)\).</p>
<h4 id="robust-performance-for--2-times-2--distillation-process">Robust Performance for \(2 \times 2\) Distillation Process</h4>
<p>Consider a distillation process and a corresponding inverse-based controller:
\[ G(s) = \frac{1}{75s + 1} \begin{bmatrix} 87.8 &amp; -86.4 \ 108.2 &amp; -109.6 \end{bmatrix} ; \quad K(s) = \frac{0.7}{s} G(s)^{-1} \]</p>
<p>The controller provides a nominally decoupled system:
\[ L = l I,\ S = \epsilon I \text{ and } T = t I \]
where
\[ l = \frac{0.7}{s}, \ \epsilon = \frac{s}{s + 0.7}, \ t = \frac{0.7}{s + 0.7} \]</p>
<p>The following weights for uncertainty and performance are used:
\[ w_I(s) = \frac{s + 0.2}{0.5s + 1}; \quad w_P(s) = \frac{s/2 + 0.05}{s} \]</p>
<p>We now test for NS, NP, RS and RP.</p>
<h5 id="ns">NS</h5>
<p>with \(G\) and \(K\) as defined, we find that \(S\), \(SG\), \(KS\) and \(T_I\) are stable, so the system is nominally stable.</p>
<h5 id="np">NP</h5>
<p>with the decoupling controller we have:
\[ \bar{\sigma}(N_{22}) = \bar{\sigma}(w_P S) = \left|\frac{s/2 + 0.05}{s + 0.7}\right| \]
and we see from Fig. <a href="#fig:mu_plots_distillation">fig:mu_plots_distillation</a> that the NP-condition is satisfied.</p>
<p><a id="orga318a7a"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_mu_plots_distillation.png"
alt="Figure 32: \(\mu\text{-plots}\) for distillation process with decoupling controller"/> <figcaption>
<p>Figure 32: \(\mu\text{-plots}\) for distillation process with decoupling controller</p>
</figcaption>
</figure>
<h5 id="rs">RS</h5>
<p>In this case \(w_I T_I = w_I T\) is a scalar times the identity matrix:
\[ \mu_{\Delta_I}(w_I T_I) = |w_I t| = \left|0.2 \frac{5s + 1}{(0.5s + 1)(1.43s + 1)}\right| \]
and we see from Fig. <a href="#fig:mu_plots_distillation">fig:mu_plots_distillation</a> that RS is satisfied.</p>
<p>The peak value of \(\mu_{\Delta_I}(M)\) is \(0.53\) meaning that we may increase the uncertainty by a factor of \(1/0.53 = 1.89\) before the worst case uncertainty yields instability.</p>
<h5 id="rp">RP</h5>
<p>Although the system has good robustness margins and excellent nominal performance, the robust performance is poor.
This is shown in Fig. <a href="#fig:mu_plots_distillation">fig:mu_plots_distillation</a> where the \(\mu\text{-curve}\) for RP was computed numerically using \(\mu_{\hat{\Delta}}(N)\), with \(\hat{\Delta} = \text{diag}\{\Delta_I, \Delta_P\}\) and \(\Delta_I = \text{diag}\{\delta_1, \delta_2\}\).
The peak value is close to 6, meaning that even with 6 times less uncertainty, the weighted sensitivity will be about 6 times larger than what we require.</p>
<h4 id="robust-performance-and-the-condition-number">Robust Performance and the Condition Number</h4>
<p>We here consider the relationship between \(\mu\) for RP and the condition number of the plant or of the controller.
We consider unstructured multiplicative uncertainty (i.e. \(\Delta_I\) is a full matrix) and performance is measured in terms of the weighted sensitivity.
With \(N\) given by \eqref{eq:n_delta_structure_clasic}, we have:
\[ \overbrace{\mu_{\tilde{\Delta}}(N)}^{\text{RP}} \le [ \overbrace{\bar{\sigma}(w_I T_I)}^{\text{RS}} + \overbrace{\bar{\sigma}(w_P S)}^{\text{NP}} ] (1 + \sqrt{k}) \]
where \(k\) is taken as the smallest value between the condition number of the plant and of the controller:
\[ k = \text{min}(\gamma(G), \gamma(K)) \]</p>
<p>We see that with a &ldquo;round&rdquo; controller (i.e. one with \(\gamma(K) = 1\)), there is less sensitivity to uncertainty.
On the other hand, we would expect \(\mu\) for RP to be large if we used an inverse-based controller for a plant with large condition number, since then \(\gamma(K) = \gamma(G)\) is large.</p>
<h4 id="comparison-with-output-uncertainty">Comparison with Output Uncertainty</h4>
<p>Consider output multiplicative uncertainty of magnitude \(w_O(j\omega)\).
In this case, we get the interconnection matrix
\[ N = \begin{bmatrix} w_O T &amp; w_O T \ w_P S &amp; w_P S \end{bmatrix} \]
and for any structure of the uncertainty, \(\mu(N)\) is bounded as follows:
\[ \bar{\sigma}\begin{bmatrix} w_O T \ w_P S\end{bmatrix} \le \overbrace{\mu(N)}^{\text{RP}} \le \sqrt{2}\ \bar{\sigma} \overbrace{\underbrace{\begin{bmatrix} w_O T \ w_P S \end{bmatrix}}_{\text{NP}}}^{\text{RS}} \]
This follows since the uncertainty and performance blocks both enter at the output and that the difference between bounding the combined perturbations \(\bar{\sigma}[\Delta_O \ \Delta_P]\) and the individual perturbations \(\bar{\sigma}(\Delta_O)\) and \(\bar{\sigma}(\Delta_P)\) is at most a factor \(\sqrt{2}\).
Thus, we &ldquo;automatically&rdquo; achieve RP if we satisfy separately NP and RS.
Multiplicative output uncertainty then poses no particular problem for performance.</p>
<h3 id="mu-text-synthesis--and-dk-iteration">\(\mu\text{-synthesis}\) and DK-iteration</h3>
<p>The structured singular value \(\mu\) is a very powerful tool for the analysis of robust performance with a given controller. However, one may also seek to <strong>find the controller that minimizes</strong> a given \(\mu\text{-condition}\): this is the \(\mu\text{-synthesis}\) problem.</p>
<h4 id="dk-iteration">DK-iteration</h4>
<p>At present, there is no direct method to synthesize a \(\mu\text{-optimal}\) controller.
However, for complex perturbations, a method known as <strong>DK-iteration</strong> is available.
It combines \(\hinf\) synthesis and \(\mu\text{-analysis}\) and often yields good results.<br /></p>
<p>The starting point is the upper bound on \(\mu\) in terms of the scaled singular value</p>
<p>\begin{equation}
\mu(N) \le \min_{D \in \mathcal{D}} \maxsv(D N D^{-1})
\end{equation}</p>
<p>The idea is to find the controller that minimizes the peak value over frequency of this upper bound, namely</p>
<p>\begin{equation}
\min_{K} \left( \min_{D \in \mathcal{D}} \hnorm{D N(K) D^{-1} } \right)
\end{equation}</p>
<p>by alternating between minimizing \(\hnorm{DN(K)D^{-1}}\) with respect to either \(K\) or \(D\) (while holding the other fixed).<br /></p>
<p>To start the iterations, one selects an initial stable rational transfer matrix \(D(s)\) with appropriate structure.
The identity matrix is often a good initial choice for \(D\) provided the system has been reasonably scaled for performance.<br /></p>
<div class="cbox">
<div></div>
<ol>
<li><strong>K-step</strong>. Synthesize an \(\hinf\) controller for the scaled problem, \(\min_{K} \hnorm{DN(K)D^{-1}}\) with fixed \(D(s)\)</li>
<li><strong>D-step</strong>. Find \(D(j\w)\) to minimize at each frequency \(\maxsv(DND^{-1}(j\w))\) with fixed \(N\)</li>
<li>Fit the magnitude of each element of \(D(j\w)\) to a stable and minimum phase transfer function \(D(s)\) and go to step 1</li>
</ol>
</div>
<p>The iteration may continue until satisfactory performance is achieve, \(\hnorm{DND^{-1}} &lt; 1\) or until the \(\hinf\) norm no longer decreases.
One fundamental problem with this approach is that although each of the minimization steps are convex, <strong>joint convexity is not guaranteed</strong>.
Therefore, the iterations may converge to a <strong>local minimum</strong>.<br /></p>
<p>The order of the controller resulting from each iteration is equal to the number of the states in the plant \(G(s)\) plus the number of states in the weights plus twice the number of state in \(D(s)\).
The obtain \(\mu\text{-optimal}\) controller will usually be of <strong>high order</strong> and will have a flat \(\mu\text{-curve}\) until some high frequency.<br /></p>
<p>The DK-iteration depends heavily on optimal solutions for steps 1 and 2, and also on good fits in step 3.
We usually <strong>prefers to have a low-order fit</strong> in step 3 as it will reduces the order of the \(\hinf\) problem which usually improves the numerical properties of the optimization.
In some cases, the iterations converge slowly, the \(\mu\text{-value}\) can even increase. This may be caused by numerical problems and one may consider going back to the initial problem and <strong>rescaling the inputs and outputs</strong>.</p>
<h4 id="adjusting-the-performance-weight">Adjusting the Performance Weight</h4>
<p>If \(\mu\) at a given frequency is different from 1, then the interpretation is that at this frequency we can tolerate \(1/\mu\) times more uncertainty and still satisfy our performance objective with a margin of \(1/\mu\).
In \(\mu\text{-synthesis}\), the designer will usually adjust some parameter in the performance or uncertainty weights until the weight of the peak \(\mu\text{-value}\) is close to 1.<br /></p>
<p>Sometimes, uncertainty is fixed and we effectively optimize worst-cast performance by adjusting a parameter in the performance weight.
Consider the performance weight
\[ w_p(s) = \frac{s/M + \w_B^*}{s + \w_B^* A} \]
where we want to keep \(M\) constant and find the high achievable bandwidth frequency \(\w_B^*\).
The optimization problem becomes
\[ \text{max} \abs{\w_B^*} \quad \text{such that} \quad \mu(N) &lt; 1, \ \forall\w \]
where \(N\), the interconnection matrix for the RP-problem, depends on \(\w_B^*\). This may be implemented as an <strong>outer loop around the DK-iteration</strong>.</p>
<h4 id="fixed-structure-controller">Fixed Structure Controller</h4>
<p>Sometimes it is desirable to find a low-order controller with a given structure.
This may be achievable by numerical optimization where \(\mu\) is minimized with respect to the controller parameters.
This problem here is that the optimization is not generally convex in the parameters.
Sometimes it helps to switch the optimization between minimizing the peak of \(\mu\) and minimizing the integral square deviation of \(\mu\) away from \(k\) (i.e. \(\normtwo{\mu(j\w) - k}\)) where \(k\) is usually close to 1.
The latter is an attempt to &ldquo;flatten out&rdquo; \(\mu\).</p>
<h4 id="example--mu-text-synthesis--with-dk-iteration">Example: \(\mu\text{-synthesis}\) with DK-iteration</h4>
<p>For simplicity, we will consider again the case of multiplicative uncertainty and performance defined in terms of weighted sensitivity.
The uncertainty weight \(w_I I\) and performance weight \(w_P I\) are shown graphically in Fig. <a href="#fig:weights_distillation">fig:weights_distillation</a>.</p>
<p><a id="orgd273607"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_weights_distillation.png"
alt="Figure 33: Uncertainty and performance weights"/> <figcaption>
<p>Figure 33: Uncertainty and performance weights</p>
</figcaption>
</figure>
<p>The objective is to minimize the peak value of \(\mu_{\tilde{\Delta}}(N)\), \(\tilde{\Delta} = \text{diag}\{\Delta_I, \Delta_P\}\).
\(\Delta_I\) is a diagonal \(2 \times 2\) matrix representing the diagonal input uncertainty and \(\Delta_P\) is a full \(2 \times 2\) matrix representing the performance specifications.</p>
<p>First, the generalized plant \(P\) is constructed which includes the plant model, the uncertainty weight and the performance weight.
Then the block structure is defined, it consists of two \(1 \times 1\) blocks to represent \(\Delta_I\) and a \(2 \times 2\) block to represent \(\Delta_P\).
The scaling matrix \(D\) for \(DND^{-1}\) then has the structure \(D = \text{diag}\{d_1, d_2, d_3I_2\}\). We select \(d_3 = 1\) and as initial scalings we select \(d_1^0 = d_2^0 = 1\).
\(P\) is then scaled with the matrix \(\text{diag}\{D, I_2\}\) where \(I_2\) is associated with the inputs and outputs from the controller (we do not want to scale the controller).</p>
<ul>
<li>Iteration No. 1.
Step 1: with the initial scalings, the \(\mathcal{H}_\infty\) synthesis produced a 6 state controller (2 states from the plant model and 2 from each of the weights).
Step 2: the upper \(\mu\text{-bound}\) is shown in Fig. <a href="#fig:dk_iter_mu">fig:dk_iter_mu</a>.
Step 3: the frequency dependent \(d_1(\omega)\) and \(d_2(\omega)\) from step 2 are fitted using a 4th order transfer function shown in Fig. <a href="#fig:dk_iter_d_scale">fig:dk_iter_d_scale</a></li>
<li>Iteration No. 2.
Step 1: with the 8 state scalings \(D^1(s)\), the \(\mathcal{H}_\infty\) synthesis gives a 22 state controller.
Step 2: This controller gives a peak value of \(\mu\) of \(1.02\).
Step 3: the scalings are only slightly changed</li>
<li>Iteration No. 3.
Step 1: The \(\mathcal{H}_\infty\) norm is only slightly reduced. We thus decide the stop the iterations.</li>
</ul>
<p><a id="org10a3970"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_dk_iter_mu.png"
alt="Figure 34: Change in \(\mu\) during DK-iteration"/> <figcaption>
<p>Figure 34: Change in \(\mu\) during DK-iteration</p>
</figcaption>
</figure>
<p><a id="org400285f"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_dk_iter_d_scale.png"
alt="Figure 35: Change in D-scale \(d_1\) during DK-iteration"/> <figcaption>
<p>Figure 35: Change in D-scale \(d_1\) during DK-iteration</p>
</figcaption>
</figure>
<p>The final \(\mu\text{-curves}\) for NP, RS and RP with the controller \(K_3\) are shown in Fig. <a href="#fig:mu_plot_optimal_k3">fig:mu_plot_optimal_k3</a>.
The objectives of RS and NP are easily satisfied.
The peak value of \(\mu\) is just slightly over 1, so the performance specification \(\bar{\sigma}(w_P S_p) &lt; 1\) is almost satisfied for all possible plants.</p>
<p><a id="org519a9ca"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_mu_plot_optimal_k3.png"
alt="Figure 36: (mutext{-plots}) with (mu) &amp;ldquo;optimal&amp;rdquo; controller (K_3)"/> <figcaption>
<p>Figure 36: (mutext{-plots}) with (mu) &ldquo;optimal&rdquo; controller (K_3)</p>
</figcaption>
</figure>
<p>To confirm that, 6 perturbed plants are used to compute the perturbed sensitivity functions shown in Fig. <a href="#fig:perturb_s_k3">fig:perturb_s_k3</a>.</p>
<p><a id="orgfcb21f2"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_perturb_s_k3.png"
alt="Figure 37: Perturbed sensitivity functions (bar{sigma}(S^prime)) using (mu) &amp;ldquo;optimal&amp;rdquo; controller (K_3). Lower solid line: nominal plant. Upper solid line: worst-case plant"/> <figcaption>
<p>Figure 37: Perturbed sensitivity functions (bar{sigma}(S^prime)) using (mu) &ldquo;optimal&rdquo; controller (K_3). Lower solid line: nominal plant. Upper solid line: worst-case plant</p>
</figcaption>
</figure>
<h3 id="further-remarks-on--mu">Further Remarks on \(\mu\)</h3>
<p>For complex perturbations, the scaled singular value \(\maxsv(DND^{-1})\) is a tight upper bound on \(\mu(N)\) in most cases, and minimizing the upper bound \(\hnorm{DND^{-1}}\) form the basis for the DK-iteration.</p>
<p>The use of constant D-scales (\(D\) is not allowed to vary with frequency), provides a necessary and sufficient condition for robustness to arbitrary fast time varying linear uncertainty. While such perturbations are unlikely in a practical situation, we know that this controller will work very well even for rapid changes in the plant. Moreover, the use of constant D-scales make the computation of \(\mu\) straightforward and solvable using LMIs.</p>
<h3 id="conclusion">Conclusion</h3>
<p>We have discussed how to represent uncertainty and how to analyze its effect on stability (RS) and performance (RP) using the <strong>structured singular value</strong> \(\mu\).<br /></p>
<p>To analyze robust stability of an uncertain system, we make use of the \(M\Delta\text{-structure}\) where \(M\) represents the transfer function for the &ldquo;new&rdquo; feedback part generated by the uncertainty.
From the small gain theorem
\[ \tcmbox{RS \quad \Leftarrow \quad \maxsv(M) &lt; 1, \ \forall\w} \]
which is tight (necessary and sufficient) for the special case where at each frequency any complex \(\Delta\) satisfying \(\maxsv(\Delta) \le 1\) is allowed.
More generally, the <strong>tight condition is</strong>
\[ \tcmbox{RP \quad \Leftrightarrow \quad \mu(M) &lt; 1, \ \forall\w} \]
where \(\mu(M)\) is the <strong>structured singular value</strong>. The calculation of \(\mu\) makes use of the fact that \(\Delta\) has a given block-diagonal structure, where certain blocks may also be real (e.g. to handle parametric uncertainty).<br /></p>
<p>We defined robust performance as \(\hnorm{F_l(N, \Delta)} &lt; 1\) for all allowed \(\Delta\).
Since we used the \(\hinf\) norm in both the representation of uncertainty and the definition of performance, we found that RP could be viewed as a special case of RS, and we derived
\[ \tcmbox{RS \quad \Leftrightarrow \quad \mu(N) &lt; 1, \ \forall\w} \]
where \(\mu\) is computed with respect to the <strong>block-diagonal structure</strong> \(\diag{\Delta, \Delta_P}\).
Here \(\Delta\) represents the uncertainty and \(\Delta_P\) is a fictitious full uncertainty block representing the \(\hinf\) performance bound.<br /></p>
<p>There are <strong>two main approaches to getting a robust design</strong>:</p>
<ol>
<li>We aim to make the system robust to some <strong>&ldquo;general&rdquo; class of uncertainty</strong> which we do not explicitly model.
For SISO systems, the classical gain and phase margins and the peaks of \(S\) and \(T\) provide useful robustness measures.
For MIMO systems, normalized coprime factor uncertainty provides a good general class of uncertainty, and the associated Glover-McFlarlane \(\hinf\) loop-shaping design procedure has proved itself very useful in applications</li>
<li>We <strong>explicitly model and quantify the uncertainty</strong> in the plant and aim to make the system robust to this specific uncertainty.
Potentially, it yields better designs, but it may require a much larger effort in terms of uncertainty modelling, especially if parametric uncertainty is consider.
Analysis and in particular, synthesis using \(\mu\) can be very involved</li>
</ol>
<p>In applications, it is therefore recommended to <strong>start with the first approach</strong>, at least for design.
The robust stability and performance is then analyzed in simulations and using the structured singular value, for example, by considering first simple sources of uncertainty such as multiplicative input uncertainty.
One then iterates between design and analysis until a satisfactory solution is obtained.
If resulting control performance is not satisfactory, one may switch to the second approach.</p>
<h5 id="practical--mu-text-synthesis--in-practice">Practical \(\mu\text{-synthesis}\) in practice:</h5>
<ol>
<li>Because of the effort involved in deriving detailed uncertainty descriptions, and the subsequent complexity in synthesizing controllers, the rule is to <strong>start simple</strong> with a crude uncertainty description, and then to see whether the performance specifications can be met. Only if they can&rsquo;t, one should consider more detailed uncertainty descriptions such as parametric uncertainty</li>
<li>The use of \(\mu\) implies a worst-case analysis, so one should be <strong>careful about including too many sources of uncertainty</strong>, noise and disturbances - otherwise it becomes very unlikely for the worst case to occur, and the resulting analysis and design may be <strong>unnecessarily conservative</strong></li>
<li>There is always uncertainty with respect to the inputs and outputs, so <strong>it is generally sage to include diagonal input and output uncertainty</strong>. The relative multiplicative form is very convenient in this case</li>
<li>\(\mu\) is most commonly used for analysis. If \(\mu\) is used for synthesis, then we recommend that you keep the uncertainty fixed and adjust the parameters in the performance weight until \(\mu\) is close to 1</li>
</ol>
<h2 id="controller-design">Controller Design</h2>
<p><a id="orga616dec"></a></p>
<h3 id="trade-offs-in-mimo-feedback-design">Trade-offs in MIMO Feedback Design</h3>
<p>The shaping of multivariable transfer functions is based on the idea that a satisfactory definition of gain for a matrix transfer function is given by the <strong>singular values</strong>.
By multivariable transfer function shaping, therefore, we mean the shaping of the singular values of appropriate specified transfer functions such as the loop transfer function of one or more closed-loop transfer functions.<br /></p>
<p>The classical loop-shaping ideas can be further generalized to MIMO systems by considering the singular values.</p>
<p>Consider the one degree-of-freedom system as shown in Fig. <a href="#fig:classical_feedback_small">fig:classical_feedback_small</a>.
We have the following important relationships:</p>
<p>\begin{subequations}
\begin{align}
y(s) &amp;= T(s) r(s) + S(s) d(s) - T(s) n(s) \\\<br>
u(s) &amp;= K(s) S(s) \big(r(s) - n(s) - d(s) \big)
\end{align}
\end{subequations}</p>
<p><a id="org8d4f22a"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_classical_feedback_small.png"
alt="Figure 38: One degree-of-freedom feedback configuration"/> <figcaption>
<p>Figure 38: One degree-of-freedom feedback configuration</p>
</figcaption>
</figure>
<div class="cbox">
<div></div>
<ol>
<li>For disturbance rejection make \(\maxsv(S)\) small</li>
<li>For noise attenuation make \(\maxsv(T)\) small</li>
<li>For reference tracking make \(\maxsv(T) \approx \minsv(T) \approx 1\)</li>
<li>For control energy reduction make \(\maxsv(KS)\) small</li>
<li>For robust stability in presence of an additive perturbation (\(G_p = G + \Delta\)) make \(\maxsv(KS)\) small</li>
<li>For robust stability in presence of a multiplicative output perturbation (\(G_p = (I + \Delta) G\)) make \(\maxsv(T)\) small</li>
</ol>
</div>
<p>The closed-loop requirements cannot all be satisfied simultaneously.
Feedback design is therefore a <strong>trade-off over frequency of conflicting objectives</strong>.
This is not always as difficult as it sounds because the frequency range over which the objectives are important can be quite different.<br /></p>
<p>In classical loop shaping, it is the magnitude of the open-loop transfer function \(L = GK\) which is shaped, whereas the above requirements are all in terms of closed-loop transfer functions.
However, we have that
\[ \minsv(L) - 1 \le \frac{1}{\maxsv(S)} \le \minsv(L) + 1 \]
from which we see that \(\maxsv(S) \approx 1/\minsv(L)\) at frequencies where \(\minsv(L)\) is much larger than \(1\).
Furthermore, from \(T = L(I+L)^{-1}\) it follows that \(\maxsv(T) \approx \maxsv(L)\) at frequencies where \(\maxsv(L)\) is much smaller than \(1\).</p>
<p>Thus, over specified frequency ranges, it is relatively easy to approximate the closed-loop requirements by open-loop objectives.</p>
<div class="cbox">
<div></div>
<ol>
<li>For disturbance rejection make \(\minsv(GK)\) large</li>
<li>For noise attenuation make \(\maxsv(GK)\) small</li>
<li>For reference tracking make \(\minsv(GK)\) large</li>
<li>For control energy reduction make \(\maxsv(K)\) small</li>
<li>For robust stability in presence of an additive perturbation make \(\maxsv(K)\) small</li>
<li>For robust stability in presence of an multiplicative output perturbation make \(\maxsv(GK)\) small</li>
</ol>
</div>
<p>Typically, the open-loop requirements 1 and 3 are valid and important at low frequencies \(0 \le \omega \le \omega_l \le \omega_B\), while conditions 2, 4, 5 and 6 are conditions which are valid and important at high frequencies \(\omega_B \le \omega_h \le \omega \le \infty\), as illustrated in Fig. <a href="#fig:design_trade_off_mimo_gk">fig:design_trade_off_mimo_gk</a>.</p>
<p><a id="org6e3f117"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_design_trade_off_mimo_gk.png"
alt="Figure 39: Design trade-offs for the multivariable loop transfer function \(GK\)"/> <figcaption>
<p>Figure 39: Design trade-offs for the multivariable loop transfer function \(GK\)</p>
</figcaption>
</figure>
<p>The control engineer must design \(K\) such that \(\minsv(GK)\) lies above a performance boundary for all \(\omega\) up to \(\omega_l\), and such that \(\maxsv(GK)\) lies below a robustness boundary for all \(\omega\) above \(\omega_h\).<br /></p>
<p>Shaping the singular values of \(GK\) by selecting \(K\) is relatively easy task, but to do this in a way which also guarantees closed-loop stability is in general difficult as <strong>closed-loop stability cannot be determined from open-loop singular values</strong>.<br /></p>
<p>For SISO systems, closed-loop stability is closely related to the open-loop roll-off rate from high to low gain at the crossover (which is in practice less than \(\SI{40}{\decibel\per dec}\)).
An immediate consequence of this is that there is a lower limit to the difference between \(\omega_h\) and \(\omega_l\).</p>
<p>For MIMO systems, a similar gain/phase relationship holds in the crossover frequency region, but this is in terms of roll-off rate of the magnitude of the eigenvalues of \(GK\) and not the singular values.
The stability constraint is therefore more difficult to handle.</p>
<h3 id="lqg-control">LQG Control</h3>
<p>LQG control was developed and successfully applied for aerospace problems where accurate plants are available.
For other control problems, it was not easy, and the <strong>assumption of white noise disturbance</strong> is not always relevant.
As a result, LQG designs were sometimes not robust enough to be used in practice.<br /></p>
<p>It is assumed that the plant dynamics are linear and known, and that the measurement noise and disturbance signals are stochastic with known statistical properties:</p>
<p>\begin{align*}
\dot{x} &amp;= A x + B u + w_d \\\<br>
y &amp;= C x + D u + w_n
\end{align*}</p>
<p>with \(w_d\) and \(w_n\) are the disturbance and measurement noise which are assumed to be uncorrelated zero-mean Gaussian stochastic processes with constant power spectral density matrices \(W\) and \(V\) respectively.</p>
<div class="cbox">
<div></div>
<p>The LQG control problem is to find the optimal control \(u(t)\) that minimize:
\[J = E \bigg\{ \lim_{T\rightarrow \infty} \frac{1}{T} \int_0^T \big[ x^T Q x + u^T R u \big] dt \bigg\} \]
Where \(Q\) and \(R\) are appropriately chosen constant <strong>weighting matrices</strong> (design parameters) such that \(Q = Q^T \ge 0\) and \(R = R^T &gt; 0\).</p>
</div>
<p>The solution to the LQG problem, known as the <strong>Separation Theorem</strong>, is separated into <strong>two problems</strong>.</p>
<p>It consists of first determining the <strong>optimal control</strong> to a deterministic <strong>LQR problem</strong> (LQG without \(w_d\) and \(w_n\)).
The solution to this problem is a state feedback law</p>
<p>\begin{equation}
\tcmbox{u(t) = -K_r x(t)}
\end{equation}</p>
<p>where \(K_r\) is a <strong>constant matrix</strong> that can be easily computed.<br /></p>
<p>The next step is to find an <strong>optimal estimate</strong> \(\hat{x}\) of the state \(x\) so that \(E \big\{ [x-\hat{x}]^T [x-\hat{x}] \big\}\) is minimized.
The optimal state estimate is given by a <strong>Kalman filter</strong>.</p>
<p>The solution to the LQG problem is then found by replacing \(x\) by \(\hat{x}\) to give \(u(t) = -K_r \hat{x}\).</p>
<p>We therefore see that the LQG problem and its solution can be separated into two distinct parts as illustrated in Fig. <a href="#fig:lqg_separation">fig:lqg_separation</a>: the optimal state feedback and the optimal state estimator (the Kalman filter).</p>
<p><a id="org6f521b9"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_lqg_separation.png"
alt="Figure 40: The separation theorem"/> <figcaption>
<p>Figure 40: The separation theorem</p>
</figcaption>
</figure>
<div class="cbox">
<div></div>
<p>The LQR problem, where all the states are known is to find the input signal \(u(t)\) that takes the system \(\dot{x} = Ax+Bu\) to the zero state (\(x=0\)) by minimizing the deterministic cost</p>
<p>\begin{equation}
J_r = \int_0^\infty \big( x(t)^T Q x(t) + u(t)^T R u(t) \big) dt
\end{equation}</p>
<p>The optimal solution is \(u=-K_r x(t)\) with</p>
<p>\begin{equation}
K_r = R^{-1} B^T X
\end{equation}</p>
<p>and \(X\) is the unique positive-semi definite solution of the algebraic Riccati equation:</p>
<p>\begin{equation}
A^T X + X A - XBR^{-1}B^TX + Q = 0
\end{equation}</p>
</div>
<div class="cbox">
<div></div>
<p>The Kalman filter has the structure of an ordinary state-estimator, as shown on Fig. <a href="#fig:lqg_kalman_filter">fig:lqg_kalman_filter</a>, with:</p>
<p>\begin{equation}
\dot{\hat{x}} = A\hat{x} + Bu + K_f(y-C\hat{x})
\end{equation}</p>
<p>The optimal choice of \(K_f\), which minimize \(E \big\{ [x-\hat{x}]^T [x-\hat{x}] \big\}\) is given by</p>
<p>\begin{equation}
K_f = Y C^T V^{-1}
\end{equation}</p>
<p>Where \(Y\) is the unique positive-semi definite solution of the algebraic Riccati equation</p>
<p>\begin{equation}
YA^T + AY - YC^TV^{-1}CY + W = 0
\end{equation}</p>
</div>
<p><a id="orgf0f14d9"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_lqg_kalman_filter.png"
alt="Figure 41: The LQG controller and noisy plant"/> <figcaption>
<p>Figure 41: The LQG controller and noisy plant</p>
</figcaption>
</figure>
<p>The structure of the LQG controller is illustrated in Fig. <a href="#fig:lqg_kalman_filter">fig:lqg_kalman_filter</a>, its transfer function from \(y\) to \(u\) is given by</p>
<p>\begin{align*}
L_{\text{LQG}}(s) &amp;= \left[ \begin{array}{c|c}
A - B K_r - K_f C &amp; K_f \ \hline
-K_r &amp; 0
\end{array} \right] \\\<br>
&amp;= \left[ \begin{array}{c|c}
A - B R^{-1} B^T X - Y C^T V^{-1} C &amp; Y C^T V^{-1} \ \hline
-R^{-1} B^T X &amp; 0
\end{array} \right]
\end{align*}</p>
<p>It has the same degree (number of poles) as the plant.<br /></p>
<p>For the LQG-controller, as shown on Fig. <a href="#fig:lqg_kalman_filter">fig:lqg_kalman_filter</a>, it is not easy to see where to position the reference input \(r\) and how integral action may be included, if desired. Indeed, the standard LQG design procedure does not give a controller with integral action. One strategy is illustrated in Fig. <a href="#fig:lqg_integral">fig:lqg_integral</a>. Here, the control error \(r-y\) is integrated and the regulator \(K_r\) is designed for the plant augmented with these integral states.</p>
<p><a id="orgb7cfb99"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_lqg_integral.png"
alt="Figure 42: LQG controller with integral action and reference input"/> <figcaption>
<p>Figure 42: LQG controller with integral action and reference input</p>
</figcaption>
</figure>
<p>For an LQG-controller system with a combined Kalman filter and LQR control law, there are <strong>no guaranteed stability margins</strong>, and there exist LQG combinations with arbitrary small gain margins.
However, there are procedures for improving robustness properties of LQG control such as <strong>Loop Transfer Recovery</strong> (LTR).</p>
<p>These procedure are somehow difficult to use in practice.
Their main limitation is that they can only be applied to minimum phase plants.</p>
<h3 id="htwo--and--hinf--control">\(\htwo\) and \(\hinf\) Control</h3>
<p><a id="org6da7635"></a></p>
<h4 id="general-control-problem-formulation">General Control Problem Formulation</h4>
<p><a id="org1448cec"></a>
There are many ways in which feedback design problems can be cast as \(\htwo\) and \(\hinf\) optimization problems.
It is very useful therefore to have a <strong>standard problem formulation</strong> into which any particular problem may be manipulated.</p>
<p>Such a general formulation is afforded by the general configuration shown in Fig. <a href="#fig:general_control">fig:general_control</a>.</p>
<p><a id="org3b91a51"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_general_control.png"
alt="Figure 43: General control configuration"/> <figcaption>
<p>Figure 43: General control configuration</p>
</figcaption>
</figure>
<p>The system is described by</p>
<p>\begin{subequations}
\begin{align}
\colvec{z\v} &amp;= P(s) \colvec{w\u} = \begin{bmatrix}P_{11}(s) &amp; P_{12}(s)\ P_{21}(s) &amp; P_{22}(s) \end{bmatrix} \colvec{w\u}\\\<br>
u &amp;= K(s) v
\end{align}
\end{subequations}</p>
<p>With a state space realization of the generalized plant \(P\) given by</p>
<p>\begin{equation}
P = \left[
\begin{array}{c|cc}
A &amp; B_1 &amp; B_2 \\\<br>
\hline
C_1 &amp; D_{11} &amp; D_{12} \\\<br>
C_2 &amp; D_{21} &amp; D_{22}
\end{array}
\right]
\end{equation}</p>
<p>The closed loop transfer function from \(w\) to \(z\) is given by the linear fractional transformation:</p>
<p>\begin{align*}
z &amp;= F_l(P, K) w \\\<br>
&amp;= [P_{11} + P_{12}K(I-P_{22}K)^{-1} P_{21}] w
\end{align*}</p>
<p>\(\htwo\) and \(\hinf\) control involve the minimization of the \(\htwo\) and \(\hinf\) norms of \(F_l(P, K)\).<br /></p>
<p>The most general and widely used algorithms for \(\htwo\) and \(\hinf\) control problems are based on the state space formulation and requires the solution of two Riccati equations.</p>
<p>The following <strong>assumptions</strong> are typically made in \(\htwo\) and \(\hinf\) problems:</p>
<ol>
<li>\((A, B_2, C_2)\) is stabilizable and detectable.
This is required for the existence of stabilizing controllers</li>
<li>\(D_{12}\) and \(D_{21}\) have full rank.
This is sufficient to ensure that the controllers are proper</li>
<li>\(\begin{bmatrix} A-j\w I &amp; B_2 \ C_1 &amp; D_{12} \end{bmatrix}\) and \(\begin{bmatrix} A-j\w I &amp; B_1 \ C_2 &amp; D_{21} \end{bmatrix}\) have respectively full column and full row rank for all \(\w\).
This ensures that the controller does not cancel poles or zeros in the imaginary axis which would result in closed-loop instability</li>
<li>\(D_{11} = 0\) and \(D_{22} = 0\) is a conventional requirement for \(\htwo\) control.
This is not required for \(\hinf\) control but this significantly simplify algorithm formulas</li>
<li>\(D_{12}^T C_1 = 0\) and \(B_1 D_{12}^T = 0\) is common in \(\htwo\) control.
\(D_{12}^T C_1 = 0\) means that there is no cross terms in the cost function and \(B_1 D_{12}^T = 0\) that the process noise and measurement noise are uncorrelated</li>
<li>\((A, B_1)\) is stabilizable and \((A, C_1)\) is detectable</li>
</ol>
<p>If the Matlab Robust Control Toolbox complains, then it probably means that the control problem is not well formulated and that some assumptions are not met.<br /></p>
<p>\(\hinf\) algorithms, in general, find a <strong>sub-optimal controller</strong>. That is, for a specified \(\gamma\) a stabilizing controller is found for which \(\hnorm{F_l(P,K)}&lt;\gamma\).
This contrasts with \(\htwo\) theory, in which the optimal controller is <strong>unique</strong> and can be found from the solution of two Riccati equations.</p>
<h4 id="htwo--optimal-control">\(\htwo\) Optimal Control</h4>
<div class="cbox">
<div></div>
<p>The standard \(\htwo\) optimal control problem is to find a stabilizing controller \(K\) which minimizes
\[\normtwo{F(s)} = \sqrt{\frac{1}{2\pi}\int_{-\infty}^{\infty} tr[F(j\w)F(j\w)^H]d\w }\]
With \(F = F_l(P, K)\).</p>
</div>
<p>For a particular problem, the generalized plant \(P\) will include the plant model, the interconnection structure, and the designer specified weighting functions.<br /></p>
<p>The \(\htwo\) norm can be given different <strong>deterministic interpretations</strong>.
It also has the following <strong>stochastic interpretation</strong>.</p>
<p>Suppose in the general control configuration that the exogenous input \(w\) is white noise of unit density. That is
\[ E\{w(t)w(\tau)^T\} = I \delta(t-\tau) \]</p>
<p>Expected power in the error signal \(z\) is then given by</p>
<p>\begin{align*}
P_z &amp;= E\bigg\{ \lim_{T\rightarrow\infty} \frac{1}{2T} \int_{-T}^{T} z(t)^T z(t) dt \bigg\} \\\<br>
&amp;= \text{tr}\ E\{z(t)z(t)^H\}\\\<br>
&amp;= \frac{1}{2\pi} \int_{-\infty}^{\infty}\text{tr}\left[F(j\omega)F(j\omega)^H\right]d\omega\\\<br>
&amp;= \normtwo{F}^2 = \normtwo{F_l(P,K)}^2
\end{align*}</p>
<div class="cbox">
<div></div>
<p>Thus, by minimizing the \(\htwo\) norm, the error power of the generalized system, due to a unit intensity white noise input, is minimized.
We are <strong>minimizing the Root Mean Square value</strong> of \(z\).</p>
</div>
<h4 id="lqg-a-special--htwo--optimal-controller">LQG: a Special \(\htwo\) Optimal Controller</h4>
<p>An important special case of \(\htwo\) optimal control is the LQG problem.
For the stochastic system</p>
<p>\begin{align*}
\dot{x} &amp;= A x + B u + w_d \\\<br>
y &amp;= Cx + w_n
\end{align*}</p>
<p>where
\[ E \left\{ \begin{bmatrix} w_d(t)\w_n(t) \end{bmatrix} \begin{bmatrix} w_d(\tau)^T &amp; w_n(\tau)^T \end{bmatrix} \right\} = \begin{bmatrix} W &amp; 0 \ 0 &amp; V \end{bmatrix} \delta (t - \tau) \]</p>
<p>The LQG problem is to find \(u = K(s) y\) such that
\[ J = E \left\{ \lim_{T\to \infty} \frac{1}{T} \int_0^T [x^T Q x + u^T R u] dt \right\} \]
is minimized with \(Q = Q^T \ge 0\) and \(R = R^T &gt; 0\).</p>
<p>This problem can be cast as an \(\htwo\) optimization in the general framework in the following manner.</p>
<p>Define the error signal \(z\) as
\[ z = \begin{bmatrix}
Q^{\frac{1}{2}} &amp; 0 \\\<br>
0 &amp; R^{\frac{1}{2}}
\end{bmatrix} \begin{bmatrix}
x \ u
\end{bmatrix} \]</p>
<p>Represent the stochastic inputs as
\[ \begin{bmatrix}
w_d \ w_n
\end{bmatrix} = \begin{bmatrix}
W^{\frac{1}{2}} &amp; 0 \\\<br>
0 &amp; V^{\frac{1}{2}}
\end{bmatrix} w \]
where \(w\) is a white noise process of unit density.</p>
<p>Then the LQG cost function is
\[ K = E \left\{ \lim_{T\to \infty} \frac{1}{T} \int_0^T z(t)^T z(t) dt \right\} = \normtwo{F_l(P,K)}^2 \]</p>
<h4 id="hinf--optimal-control">\(\hinf\) Optimal Control</h4>
<p>With reference to the general control configuration on Fig. <a href="#fig:general_control">fig:general_control</a>, the standard \(\hinf\) optimal control problem is to find all stabilizing controllers \(K\) which minimize
\[ \hnorm{F_l(P, K)} = \max_{\omega} \maxsv\big(F_l(P, K)(j\omega)\big) \]</p>
<p>The \(\hinf\) norm has <strong>several interpretations</strong> in terms of performance.
One is that it minimizes the peak of the maximum singular value of \(F_l(P(j\omega), K(j\omega))\).</p>
<p>It also has a time domain interpretation as the worst-cast 2-norm:</p>
<p>\begin{equation}
\hnorm{F_l(P,K)} = \max_{w(t)\ne0} \frac{\normtwo{z(t)}}{\normtwo{w(t)}}
\end{equation}</p>
<p>where \(\normtwo{z(t)} = \sqrt{\int_0^\infty \sum_i \abs{z_i}^2 dt}\) is the 2-norm of the vector signal.<br /></p>
<p>In practice, it is usually not necessary to obtain an optimal controller for the \(\hinf\) problem, and it is simpler to design a <strong>sub-optimal</strong> one.</p>
<p>Let \(\gamma_\text{min}\) be the minimum value of \(\hnorm{F_l(P,K)}\) over all stabilizing controllers \(K\).
Then the \(\hinf\) <strong>sub-optimal control problem</strong> is: given a \(\gamma &gt; \gamma_\text{min}\), find all stabilizing controllers \(K\) such that</p>
<p>\begin{equation}
\hnorm{F_l(P, K)} &lt; \gamma
\end{equation}</p>
<p>By reducing \(\gamma\) in an iterative way, an optimal solution is approached.<br /></p>
<p><strong>General \(\hinf\) algorithm</strong>.
For the general control configuration and with assumptions described above, there exists a stabilizing controller \(K(s)\) such that \(\hnorm{F_l(P,K)}&lt;\gamma\) if and only if</p>
<ol>
<li>\(X_\infty \ge 0\) is a solution to the algebraic Riccati equation \(A^T X_\infty + X_\infty A + C_1^T C_1 + X_\infty (\gamma^{-2} B_1 B_1^T - B_2 B_2^T)X_\infty = 0\) such that \(\text{Re } \lambda_i \left[ A + (\gamma^{-2}B_1B_1^T - B_2B_2^T)X_\infty \right] &lt; 0, \ \forall i\)</li>
<li>\(Y_\infty \ge 0\) is a solution to the algebraic Riccati equation \(A Y_\infty + Y_\infty A^T + B_1 B_1^T + Y_\infty (\gamma^{-2} C_1^T C_1 - C_2^T C_2)Y_\infty = 0\) such that \(\text{Re } \lambda_i \left[ A + Y_\infty(\gamma^{-2}C_1^TC_1 - C_2^TC_2)Y_\infty \right] &lt; 0, \ \forall i\)</li>
<li>\(\rho(X_\infty Y_\infty) &lt; \gamma^2\)</li>
</ol>
<p>All such controllers are then given by \(K = F_l(K_c, Q)\) where</p>
<p>\begin{align*}
K_c(s) &amp;= \left[ \begin{array}{c|cc}
A_\infty &amp; -Z_\infty L_\infty &amp; Z_\infty B_2 \ \hline
F_\infty &amp; 0 &amp; I \\\<br>
-C_2 &amp; I &amp; 0
\end{array} \right], \ L_\infty = -Y_\infty C_2^T \\\<br>
F_\infty &amp;= -B_2^T X_\infty, \ Z_\infty = (I - \gamma^2 Y_\infty X_\infty)^{-1} \\\<br>
A_\infty &amp;= A + \gamma^{-2} B_1 B_1^T X_\infty + B_2F_\infty + Z_\infty L_\infty C_2
\end{align*}</p>
<p>and \(Q(s)\) is any stable proper transfer function such that \(\hnorm{Q} &lt; \gamma\).<br /></p>
<p>For \(Q(s) = 0\), we get</p>
<p>\begin{equation}
K(s) = K_{c11}(s) = -Z_\infty L_\infty (s I - A_\infty)^{-1} F_\infty
\end{equation}</p>
<p>This is called the <strong>central controller</strong> and has the same number of states as the generalized plant \(P(s)\).</p>
<p>The central controller can be separated into a state estimator (observer) of the form
\[ \dot{\hat{x}} = A\hat{x} + B_1 \gamma^{-2} B_1^T X_\infty \hat{x} + B_2 u + Z_\infty L_\infty (C_2 \hat{x} - y) \]
and a state feedback \(u = F_\infty \hat{x}\).</p>
<div class="cbox">
<div></div>
<p>If we desire a controller that achieves \(\gamma_\text{min}\), to within specified tolerance, then we can perform a <strong>bisection</strong> on \(\gamma\) until its value is sufficiently accurate.
The above conditions provide a test for each value of \(\gamma\) to determine if \(\gamma&lt;\gamma_\text{min}\) or \(\gamma&gt;\gamma_\text{min}\).</p>
</div>
<p>There are mainly two methodologies for \(\hinf\) controller design: the <strong>transfer function shaping approach</strong> and the <strong>signal-based approach</strong>.<br /></p>
<p>In the <strong>shaping approach</strong>, \(\hinf\) optimization is used to shape the singular values of specified transfer functions over frequency.
The maximum singular values are relatively easy to shape by forcing them to lie below user defined bounds, thereby ensuring desirable bandwidth and roll-off rates.<br /></p>
<p>In the <strong>signal-based approach</strong>, we seek to minimize the energy in certain error signal given a set of exogenous input signals.<br /></p>
<p>A difficulty that sometimes arises with \(\hinf\) control is the <strong>selection of weights</strong> such that the \(\hinf\) optimal controller provides a good trade-off between conflicting objectives in various frequency ranges.
Thus, for practical designs it is sometimes recommended to perform only a few iterations of the \(\hinf\) algorithm.
The justification for this is that the initial design, after one iteration, is similar to an \(\htwo\) design which does trade-off over various frequency ranges.
Therefore stopping the iterations before the optimal value is achieved gives the design an \(\htwo\) flavor which may be desirable.</p>
<h4 id="mixed-sensitivity--hinf--control">Mixed-Sensitivity \(\hinf\) Control</h4>
<p>Mixed-sensitivity is the name given to transfer function shaping problems in which the sensitivity function \(S = (I + GK)^{-1}\) is shaped along with one or more other closed-loop transfer functions such as \(KS\) or \(T = I - S\).<br /></p>
<p>Suppose that we have a regulation problem in which we want to reject a disturbance \(d\) entering at the plant output and it is assumed that the measurement noise is relatively insignificant.
It makes sense to shape the closed-loop transfer functions \(S\) and \(KS\).
Recall that \(S\) is the transfer function between \(d\) and the output, and \(KS\) the transfer function from \(d\) and the control signal.
It is important to include \(KS\) as a mechanism for <strong>limiting the size and bandwidth of the controller</strong>, and hence the energy used.
The size of \(KS\) is also important for robust stability with respect to uncertainty modeled as additive plant perturbations.<br /></p>
<p>The disturbance \(d\) is typically a low frequency signal, and therefore it will be successfully rejected if the maximum singular value of \(S\) is made small over the same low frequency range.
To do this, we could select a scalar low pass filter \(w_1(s)\) with a bandwidth equal to that of the disturbance, and then find a stabilizing controller that minimizes \(\hnorm{w_1 S}\).
This cost function alone is not very practical, it focuses on just one closed-loop transfer function and the controller may have infinite gain.
It is far more useful in practice to minimize</p>
<p>\begin{equation}
\hnorm{\begin{matrix} w_1 S \ w_2 KS \end{matrix}}
\end{equation}</p>
<p>where \(w_2(s)\) is a scalar high pass filter with a crossover frequency approximately equal to that of the desired closed-loop bandwidth.<br /></p>
<p>In general, the scalar weighting functions \(w_1(s)\) and \(w_2(s)\) can be replaced by matrices \(W_1(s)\) and \(W_2(s)\).
This can be useful for <strong>systems with channels of quite different bandwidths</strong>.
In that case, <strong>diagonal weights are recommended</strong> as anything more complicated is usually not worth the effort.<br /></p>
<p>To see how this mixed sensitivity problem can be formulated in the general setting, we can imagine the disturbance \(d\) as a single exogenous input and define and error signal \(z = [z_1^T\ z_2^T]^T\), where \(z_1 = W_1 y\) and \(z_2 = -W_2 u\) as illustrated in Fig. <a href="#fig:mixed_sensitivity_dist_rejection">fig:mixed_sensitivity_dist_rejection</a>.
We can then see that \(z_1 = W_1 S w\) and \(z_2 = W_2 KS w\) as required.
The elements of the generalized plant are</p>
<p>\begin{equation*}
\begin{array}{ll}
P_{11} = \begin{bmatrix}W_1\0\end{bmatrix} &amp; P_{12} = \begin{bmatrix}W_1G\-W_2\end{bmatrix} \\\<br>
P_{21} = -I &amp; P_{22} = -G
\end{array}
\end{equation*}</p>
<p><a id="org35551f8"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_mixed_sensitivity_dist_rejection.png"
alt="Figure 44: \(S/KS\) mixed-sensitivity optimization in standard form (regulation)"/> <figcaption>
<p>Figure 44: \(S/KS\) mixed-sensitivity optimization in standard form (regulation)</p>
</figcaption>
</figure>
<p>Another interpretation can be put on the \(S/KS\) mixed-sensitivity optimization as shown in the standard control configuration of Fig. <a href="#fig:mixed_sensitivity_ref_tracking">fig:mixed_sensitivity_ref_tracking</a>.
Here we consider a tracking problem.
The exogenous input is a reference command \(r\), and the error signals are \(z_1 = -W_1 e = W_1 (r-y)\) and \(z_2 = W_2 u\).
As the regulation problem of Fig. <a href="#fig:mixed_sensitivity_dist_rejection">fig:mixed_sensitivity_dist_rejection</a>, we have that \(z_1 = W_1 S w\) and \(z_2 = W_2 KS w\).</p>
<p><a id="org55460a0"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_mixed_sensitivity_ref_tracking.png"
alt="Figure 45: \(S/KS\) mixed-sensitivity optimization in standard form (tracking)"/> <figcaption>
<p>Figure 45: \(S/KS\) mixed-sensitivity optimization in standard form (tracking)</p>
</figcaption>
</figure>
<p>Another useful mixed sensitivity optimization problem, is to find a stabilizing controller which minimizes</p>
<p>\begin{equation}
\hnorm{\begin{matrix} W_1 S \ W_2 T \end{matrix}}
\end{equation}</p>
<p>The ability to shape \(T\) is desirable for tracking problems and noise attenuation.
It is also important for robust stability with respect to multiplicative perturbations at the plant output.</p>
<p>The \(S/T\) mixed-sensitivity minimization problem can be put into the standard control configuration as shown in Fig. <a href="#fig:mixed_sensitivity_s_t">fig:mixed_sensitivity_s_t</a>.</p>
<p>The elements of the generalized plant are</p>
<p>\begin{equation*}
\begin{array}{ll}
P_{11} = \begin{bmatrix}W_1\0\end{bmatrix} &amp; P_{12} = \begin{bmatrix}-W_1G\W_2G\end{bmatrix} \\\<br>
P_{21} = -I &amp; P_{22} = -G \\\<br>
\end{array}
\end{equation*}</p>
<p><a id="org007c976"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_mixed_sensitivity_s_t.png"
alt="Figure 46: \(S/T\) mixed-sensitivity optimization in standard form"/> <figcaption>
<p>Figure 46: \(S/T\) mixed-sensitivity optimization in standard form</p>
</figcaption>
</figure>
<p>The shaping of closed-loop transfer functions as described above with the stacked cost functions becomes difficult with more than two functions whereas with two, the process is relatively easy.
The bandwidth requirements on each are usually complementary and simple, stable low-pass and high-pass filters are sufficient to carry out the required shaping and trade-offs.<br /></p>
<p>The weights \(W_i\) in mixed-sensitivity \(\hinf\) optimal control must all be stable.
Therefore, if we wish, for example, to emphasize the minimization of \(S\) at low frequency by weighting with a term including integral action, we would have to approximate \(\frac{1}{s}\) by \(\frac{1}{s + \epsilon}\) where \(\epsilon \ll 1\).
Similarly, one might be interested in weighting \(KS\) with a non-proper weight to ensure that \(K\) is small outside of the system bandwidth.
The trick is to replace a non proper term such as \((1 + \tau_1 s)\) by \(\frac{1 + \tau_1 s}{1 + \tau_2 s}\) where \(\tau_2 \ll \tau_1\).</p>
<h4 id="signal-based--hinf--control">Signal-Based \(\hinf\) Control</h4>
<p>The signal-based approach to controller design is very general and is appropriate for multivariable problems in which several objectives must be taken into account simultaneously.
In this approach, we define the plant, possibly the model uncertainty, the <strong>class of external signals affecting the system</strong> and the <strong>norm of the error signals we want to keep small</strong>.</p>
<div class="cbox">
<div></div>
<p>The focus of attention has moved to the size of signals and away from the size and bandwidth of selected closed-loop transfer functions.</p>
</div>
<p>Weights are used to describe the expected or known frequency content of exogenous signals and the desired frequency content of error signals.
Weights are also used if a perturbation is used to model uncertainty, as in Fig. <a href="#fig:input_uncertainty_hinf">fig:input_uncertainty_hinf</a>, where \(G\) represents the nominal model, \(W\) is a weighting function that captures the relative model fidelity over frequency, and \(\Delta\) represents unmodelled dynamics usually normalized such that \(\hnorm{\Delta} &lt; 1\).</p>
<p><a id="orgabff04a"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_input_uncertainty_hinf.png"
alt="Figure 47: Multiplicative dynamic uncertainty model"/> <figcaption>
<p>Figure 47: Multiplicative dynamic uncertainty model</p>
</figcaption>
</figure>
<p>LQG control is a simple example of the signal based approach, in which the exogenous signals are assumed to be stochastic and the error signals are measured in terms of the 2-norm.
As we have seen, the weights \(Q\) and \(R\) are constant, but LQG can be generalized to include frequency dependent weights on the signals leading to what is called Wiener-Hopf design or \(\htwo\) control.<br /></p>
<p>When we consider a system&rsquo;s response to persistent sinusoidal signals of varying frequency, or when we consider the induced 2-norm between the exogenous input signals and the error signals, we are required to minimize the \(\hinf\) norm.
In the absence of model uncertainty, there does not appear to be an overwhelming case for using the \(\hinf\) norm rather than the more traditional \(\htwo\) norm.
However, when uncertainty is addressed, as it always should be, \(\hinf\) is clearly the more <strong>natural approach</strong> using component uncertainty models as in Fig. <a href="#fig:input_uncertainty_hinf">fig:input_uncertainty_hinf</a>.<br /></p>
<p>A typical problem using the signal-based approach to \(\hinf\) control is illustrated in the interconnection diagram of Fig. <a href="#fig:hinf_signal_based">fig:hinf_signal_based</a>.
\(G\) and \(G_d\) are nominal models of the plant and disturbance dynamics, and \(K\) is the controller to be designed.
The weights \(W_d\), \(W_r\), and \(W_n\) may be constant or dynamic and describe the relative importance and/or the frequency content of the disturbance, set points and noise signals.
The weight \(W_\text{ref}\) is a desired closed-loop transfer function between the weighted set point \(r_s\) and the actual output \(y\).
The weights \(W_e\) and \(W_u\) reflect the desired frequency content of the error \((y-y_\text{ref})\) and the control signals \(u\), respectively.
The problem can be cast as a standard \(\hinf\) optimization in the general control configuration by defining</p>
<p>\begin{equation*}
w = \begin{bmatrix}d\r\n\end{bmatrix},\ z = \begin{bmatrix}z_1\z_2\end{bmatrix}, \ v = \begin{bmatrix}r_s\y_m\end{bmatrix},\ u = u
\end{equation*}</p>
<p><a id="org5056f35"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_hinf_signal_based.png"
alt="Figure 48: A signal-based \(\hinf\) control problem"/> <figcaption>
<p>Figure 48: A signal-based \(\hinf\) control problem</p>
</figcaption>
</figure>
<p>Suppose we now introduce a multiplicative dynamic uncertainty model at the input to the plant as shown in Fig. <a href="#fig:hinf_signal_based_uncertainty">fig:hinf_signal_based_uncertainty</a>.
The problem we now want to solve is: find a stabilizing controller \(K\) such that the \(\hinf\) norm of the transfer function between \(w\) and \(z\) is less that 1 for all \(\Delta\) where \(\hnorm{\Delta} &lt; 1\).
We have assumed in this statement that the <strong>signal weights have normalized the 2-norm of the exogenous input signals to unity</strong>.
This problem is a non-standard \(\hinf\) optimization.
It is a robust performance problem for which the \(\mu\text{-synthesis}\) procedure can be applied where we require the structured singular value:
\[ \mu(M(j\omega)) &lt; 1, \quad \forall\omega \]</p>
<p><a id="org7befd92"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_hinf_signal_based_uncertainty.png"
alt="Figure 49: A signal-based \(\hinf\) control problem with input multiplicative uncertainty"/> <figcaption>
<p>Figure 49: A signal-based \(\hinf\) control problem with input multiplicative uncertainty</p>
</figcaption>
</figure>
<p>However, whilst the structured singular value is a useful analysis tool for assessing designs, \(\mu\text{-synthesis}\) is sometimes difficult to use and often too complex for the practical problems.</p>
<h3 id="hinf--loop-shaping-design">\(\hinf\) Loop-Shaping Design</h3>
<p>The loop-shaping design procedure described in this section is based on \(\hinf\) robust stabilization combined with classical loop shaping.
It is essentially a <strong>two stage design process</strong>:</p>
<ul>
<li>First the open-loop plant is augmented by pre and post compensators to give a desired shape to the singular values of the open-loop frequency response</li>
<li>Then the resulting shaped plant is robustly stabilized with respect to coprime factor uncertainty using \(\hinf\) optimization</li>
</ul>
<p>An important advantage is that no problem-dependent uncertainty modelling, or weight selection, is required in this second step.</p>
<h4 id="robust-stabilization">Robust Stabilization</h4>
<p>For multivariable systems, <strong>classical gain and phase margins are unreliable indicators of robust stability</strong> when defined for each channel (or loop), taken one at a time, because simultaneous perturbations in more than one loop are not then catered for.<br /></p>
<p>It is now common practice to model uncertainty by stable <strong>norm-bounded</strong> dynamic (complex) <strong>matrix perturbations</strong>.
With a single perturbation, the associated robustness tests is in terms of the maximum singular values of various closed-loop transfer functions.
Use of a single stable perturbation restricts the plant and perturbed plant models to either have the same number of unstable poles or the same number of RHP zeros.<br /></p>
<p>To overcome this, <strong>two stable perturbations</strong> can be used, one on each of the factors in a <strong>coprime factorization</strong> of the plant.
Although this uncertainty description seems unrealistic and less intuitive than the others, it is in fact quite general, and for our purposes it leads to a very useful \(\hinf\) robust stabilization problem.<br /></p>
<p>Let&rsquo;s consider the stabilization of a plant \(G\) which has a normalized left coprime factorization</p>
<p>\begin{equation}
G = M^{-1} N
\end{equation}</p>
<p>where we have dropped the subscripts from \(M\) and \(N\) for simplicity.</p>
<p>A perturbed plant model \(G_p\) can then we written has</p>
<p>\begin{equation}
G_p = (M + \Delta_M)^{-1} (N + \Delta_N)
\end{equation}</p>
<p>where \(\Delta_M\), \(\Delta_N\) are stable unknown transfer functions which represent the uncertainty in the nominal plant \(G\).<br /></p>
<p>The objective of robust stabilization is to stabilize not only the nominal model \(G\), but a family of perturbed plants defined by</p>
<p>\begin{equation}
G_p = \{ (M + \Delta_M)^{-1} (N + \Delta_N) \ :\ \hnorm{\Delta_N\ \Delta_M} &lt; \epsilon \}
\end{equation}</p>
<p>where \(\epsilon &gt; 0\) is then the <strong>stability margin</strong>.<br /></p>
<p>For the perturbed feedback system of Fig. <a href="#fig:coprime_uncertainty_bis">fig:coprime_uncertainty_bis</a>, the stability property is robust if and only if the nominal feedback system is stable and
\[ \gamma \triangleq \hnorm{\begin{bmatrix}K \ I\end{bmatrix} (I - GK)^{-1} M^{-1}} \le \frac{1}{\epsilon} \]</p>
<p>Notice that \(\gamma\) is the \(\hinf\) norm from \(\phi\) to \(\begin{bmatrix}u\y\end{bmatrix}\) and \((I-GK)^{-1}\) is the sensitivity function for this positive feedback arrangement.</p>
<p><a id="org4f3b2f4"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_coprime_uncertainty_bis.png"
alt="Figure 50: \(\hinf\) robust stabilization problem"/> <figcaption>
<p>Figure 50: \(\hinf\) robust stabilization problem</p>
</figcaption>
</figure>
<p>The lowest achievable value of \(\gamma\) and the corresponding maximum stability margin \(\epsilon\) are given as</p>
<p>\begin{equation}
\gamma_\text{min} = \epsilon_{\text{max}}^{-1} = \left\{ 1 - \|N \ M\|_H^2 \right\}^{-\frac{1}{2}} = (1 + \rho(XZ))^{\frac{1}{2}}
\end{equation}</p>
<p>where \(\|\ \cdot\ \|_H\) denotes Hankel norm, \(\rho\) denotes the spectral radius (maximum eigenvalue), and for a minimal state space realization of G, Z is the unique positive definite solution of the algebraic Riccati equation</p>
<p>\begin{align*}
(A - BS^{-1} D^TC)Z &amp;+ Z(A - BS^{-1}D^TC)^T \\\<br>
&amp;- ZC^TR^{-1}CZ + BS^{-1}B^T = 0
\end{align*}</p>
<p>where
\[ R = I + D D^T, \quad S = I + D^T D \]
\(X\) is the unique positive definite solution of the following algebraic Riccati equation</p>
<p>\begin{align*}
(A - BS^{-1} D^T C)X &amp;+ X(A - BS^{-1}D^TC)^T \\\<br>
&amp;- XBS^{-1} B^T X + C^TR^{-1}C = 0
\end{align*}</p>
<p>A controller which guarantees that
\[ \hnorm{ \begin{bmatrix}K\I\end{bmatrix} (I-GK)^{-1} M^{-1} } \le \gamma \]
for a specified \(\gamma &gt; \gamma_\text{min}\), is given by</p>
<p>\begin{subequations}
\begin{align}
K &amp;\triangleq \left[ \begin{array}{c|c}
{\scriptstyle A + BF + \gamma^2L^{-T} Z C^T(C + DF)} &amp; {\scriptstyle \gamma^2L^{-T} Z C^T} \ \hline
{\scriptstyle B^T X} &amp; {\scriptstyle -D^T}
\end{array} \right] \label{eq:control_coprime_factor} \\\<br>
F &amp;= -S^{-1}(D^T C + B^T X)\\\<br>
L &amp;= (1-\gamma^2) I + XZ
\end{align}
\end{subequations}</p>
<p>The Matlab function <code>coprimeunc</code> can be used to generate the controller in \eqref{eq:control_coprime_factor}.
It is important to emphasize that since we can compute \(\gamma_\text{min}\) from \eqref{eq:gamma_min_coprime} we get an explicit solution by solving just two Riccati equations and avoid the \(\gamma\text{-iteration}\) needed to solve the general \(\mathcal{H}_\infty\) problem.</p>
<h4 id="a-systematic--hinf--loop-shaping-design-procedure">A Systematic \(\hinf\) Loop-Shaping Design Procedure</h4>
<p><a id="org929fa3b"></a>
Robust stabilization alone is not much used in practice because the designer is not able to specify any performance requirements.</p>
<p>To do so, <strong>pre and post compensators</strong> are used to <strong>shape the open-loop singular values</strong> prior to robust stabilization of the &ldquo;shaped&rdquo; plant.</p>
<p>If \(W_1\) and \(W_2\) are the pre and post compensators respectively, then the shaped plant \(G_s\) is given by</p>
<p>\begin{equation}
G_s = W_2 G W_1
\end{equation}</p>
<p>as shown in Fig. <a href="#fig:shaped_plant">fig:shaped_plant</a>.</p>
<p><a id="orgbc1e59e"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_shaped_plant.png"
alt="Figure 51: The shaped plant and controller"/> <figcaption>
<p>Figure 51: The shaped plant and controller</p>
</figcaption>
</figure>
<p>The controller \(K_s\) is synthesized by solving the robust stabilization problem for the shaped plant \(G_s\) with a normalized left coprime factorization \(G_s = M_s^{-1}N_s\).
The feedback controller for the plant \(G\) is then \(K = W_1 K_s W_2\).<br /></p>
<p>Systematic procedure for \(\hinf\) loop-shaping design:</p>
<ol>
<li><strong>Scale the plant outputs and inputs</strong>.
This is very important for most design procedures.
In general, scaling improves the conditioning of the design problem, it enables meaningful analysis to be made of the robustness properties of the feedback system in the frequency domain, and for loop shaping it can simplify the selection of weights:
<ul>
<li>The outputs are scaled such that equal magnitudes of cross-coupling into each of the outputs is equally undesirable</li>
<li>Each input is scaled by a given percentage (say \(\SI{10}{%}\)) of its expected range of operation.
That is, the inputs are scaled to reflect the relative actuator capabilities.</li>
</ul>
</li>
<li><strong>Order the inputs and outputs</strong> so that the plant is as diagonal as possible.
The relative gain array can be useful here.
The purpose of this pseudo-diagonalization is to ease the design of the pre and post compensators which, for simplicity, will be chosen to be diagonal.
Next, we discuss the selection of weights to obtain the shaped plant \(G_s = W_2 G W_1\) where \(W_1 = W_p W_a W_g\)</li>
<li><strong>Select the elements of diagonal pre and post compensators</strong> \(W_p\) and \(W_2\) so that the singular values of \(W_2 G W_p\) are desirable.
This would normally mean high gain at low frequencies, a slope of about \(-1\) at the desired bandwidth(s), with higher rates at high frequencies.
The weights should be chosen so that no unstable hidden modes are created in \(G_s\)
<ul>
<li>\(W_2\) is usually chosen as a constant, reflecting the relative importance of the outputs to be controlled and the other measurements being fed back to the controller</li>
<li>\(W_p\) contains the dynamic shaping. Integral action, for low frequency performance; phase-advance for reducing the roll-off rates at crossover; and phase-lag to increase the roll-off rates at high frequencies should all be places in \(W_p\) is desired</li>
</ul>
</li>
<li><em>Optional</em>: Align the singular values at a desired bandwidth using a further constant weight \(W_a\) cascaded with \(W_p\)</li>
<li><em>Optional</em>: Introduce an additional gain matrix \(W_g\) cascaded with \(W_a\) to provide control over actuator range. \(W_g\) is diagonal and is adjusted so that actuator rate limits are not exceeded for reference demands and typical disturbances on the scaled plant outputs</li>
<li><strong>Robustly stabilize the shaped plant</strong> \(G_s = W_2 G W_1\) where \(W_1 = W_p W_a W_g\)
<ul>
<li>First, calculate the maximum stability margin \(\epsilon_{\text{max}} = 1/\gamma_\text{min}\)</li>
<li>If the margin is too small, \(\epsilon_{\text{max}} &lt; 0.25\), then go back to step 4 and modify the weights. Otherwise, select \(\gamma &gt; \gamma_\text{min}\), by about \(\SI{10}{%}\), and synthesize a sub-optimal controller. There is usually no advantage to be gained by using the optimal controller</li>
<li>When \(\epsilon_{\text{max}} &gt; 0.25\) (respectively \(\gamma_\text{min} &lt; 4\)) the design is usually successful. In this case, at least \(\SI{25}{%}\) coprime factor uncertainty is allowed, and we also find that the shape of the open-loop singular values will not have changed much after robust stabilization</li>
<li>A small value of \(\epsilon_{\text{max}}\) indicates that the chosen singular value loop-shapes are incompatible with robust stability requirements</li>
</ul>
</li>
<li><strong>Analyze the design</strong> and if not all the specification are met, make further modifications to the weights</li>
<li><strong>Implement the controller</strong>.
The configuration shown in Fig. <a href="#fig:shapping_practical_implementation">fig:shapping_practical_implementation</a> has been found useful when compared with the conventional setup in Fig. <a href="#fig:classical_feedback_small">fig:classical_feedback_small</a>.
This is because the references do not directly excite the dynamics of \(K_s\), which can result in large amounts of overshoot.
The constant prefilter ensure a steady-state gain of \(1\) between \(r\) and \(y\), assuming integral action in \(W_1\) or \(G\)</li>
</ol>
<p><a id="org83cf8d8"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_shapping_practical_implementation.png"
alt="Figure 52: A practical implementation of the loop-shaping controller"/> <figcaption>
<p>Figure 52: A practical implementation of the loop-shaping controller</p>
</figcaption>
</figure>
<p>We will conclude this section with a summary of the <strong>advantages</strong> offered by the above \(\hinf\) loop-shaping design procedure:</p>
<ul>
<li>It is relatively easy to use, being based on classical loop-shaping ideas</li>
<li>There exists a closed formula for the \(\hinf\) optimal cost \(\gamma_\text{min}\), which in turn corresponds to a maximum stability margin \(\epsilon_{\text{max}} = 1/\gamma_\text{min}\)</li>
<li>No \(\gamma\text{-iteration}\) is required in the solution</li>
<li>Except for special systems, ones with all-pass factors, there are no pole-zero cancellations between the plant and controller.
Pole-zeros cancellations are common in many \(\hinf\) control problems and are a problem when the plant has lightly damped modes</li>
</ul>
<h4 id="two-degrees-of-freedom-controllers">Two Degrees-of-freedom Controllers</h4>
<p>Many control design problems possess two degrees-of-freedom:</p>
<ul>
<li>on one hand, <strong>measurement of feedback signals</strong></li>
<li>and on the other hand, <strong>commands and reference</strong></li>
</ul>
<p>Sometimes, one degree-of-freedom is left out of the design, and the controller is driven by an error signal i.e. the difference between a command and the output.
But in cases where stringent time-domain specifications are set on the output response, a one degree-of-freedom structure may not be sufficient.<br /></p>
<p>A general two degrees-of-freedom feedback control scheme is depicted in Fig. <a href="#fig:classical_feedback_2dof_simple">fig:classical_feedback_2dof_simple</a>.
The commands and feedbacks enter the controller separately and are independently processed.</p>
<p><a id="org8f1d974"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_classical_feedback_2dof_simple.png"
alt="Figure 53: General two degrees-of-freedom feedback control scheme"/> <figcaption>
<p>Figure 53: General two degrees-of-freedom feedback control scheme</p>
</figcaption>
</figure>
<p>The presented \(\mathcal{H}_\infty\) loop-shaping design procedure in section <a href="#sec:hinf_loop_shaping_procedure">sec:hinf_loop_shaping_procedure</a> is a one-degree-of-freedom design, although a <strong>constant</strong> pre-filter can be easily implemented for steady-state accuracy.
However, this may not be sufficient and a dynamic two degrees-of-freedom design is required.<br /></p>
<p>The design problem is illustrated in Fig. <a href="#fig:coprime_uncertainty_hinf">fig:coprime_uncertainty_hinf</a>.
The feedback part of the controller \(K_2\) is designed to meet robust stability and disturbance rejection requirements.
A prefilter is introduced to force the response of the closed-loop system to follow that of a specified model \(T_{\text{ref}}\), often called the <strong>reference model</strong>.</p>
<p><a id="orgd00d786"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_coprime_uncertainty_hinf.png"
alt="Figure 54: Two degrees-of-freedom \(\mathcal{H}_\infty\) loop-shaping design problem"/> <figcaption>
<p>Figure 54: Two degrees-of-freedom \(\mathcal{H}_\infty\) loop-shaping design problem</p>
</figcaption>
</figure>
<p>The design problem is to find the stabilizing controller \(K = [K_1,\ K_2]\) for the shaped plant \(G_s = G W_1\), with a normalized coprime factorization \(G_s = M_s^{-1} N_s\), which minimizes the \(\mathcal{H}_\infty\) norm of the transfer function between the signals \([r^T\ \phi^T]^T\) and \([u_s^T\ y^T\ e^T]^T\) as defined in Fig. <a href="#fig:coprime_uncertainty_hinf">fig:coprime_uncertainty_hinf</a>.
This problem is easily cast into the general configuration.</p>
<p>The control signal to the shaped plant \(u_s\) is given by:
\[ u_s = \begin{bmatrix} K_1 &amp; K_2 \end{bmatrix} \begin{bmatrix} \beta \ y \end{bmatrix} \]
where \(K_1\) is the prefilter, \(K_2\) is the feedback controller, \(\beta\) is the scaled reference and \(y\) is the measured output.
The purpose of the prefilter is to ensure that:
\[ \left\| (I - G_s K_2)^{-1} G_s K_1 - T_{\text{ref}} \right\|_\infty &lt; \gamma \rho^2 \]
\(T_{\text{ref}}\) is the desired closed-loop transfer function and \(\rho\) is a scalar parameter that the designer can increase to place more emphasis on model matching in the optimization at the expense of robustness.<br /></p>
<p>The main steps required to synthesize a two degrees-of-freedom \(\mathcal{H}_\infty\) loop-shaping controller are:</p>
<ol>
<li>Design a one degree-of-freedom \(\mathcal{H}_\infty\) loop-shaping controller (section <a href="#sec:hinf_loop_shaping_procedure">sec:hinf_loop_shaping_procedure</a>) but without a post-compensator \(W_2\)</li>
<li>Select a desired closed-loop transfer function \(T_{\text{ref}}\) between the commands and controller outputs</li>
<li>Set the scalar parameter \(\rho\) to a small value greater than \(1\); something in the range \(1\) to \(3\) will usually suffice</li>
<li>For the shaped \(G_s = G W_1\), the desired response \(T_{\text{ref}}\), and the scalar parameter \(\rho\), solve the standard \(\mathcal{H}_\infty\) optimization problem to a specified tolerance to get \(K = [K_1,\ K_2]\)</li>
<li>Replace the prefilter \(K_1\) by \(K_1 W_i\) to give exact model-matching at steady-state.</li>
<li>Analyze and, if required, redesign making adjustments to \(\rho\) and possibly \(W_1\) and \(T_{\text{ref}}\)</li>
</ol>
<p>The final two degrees-of-freedom \(\mathcal{H}_\infty\) loop-shaping controller is illustrated in Fig. <a href="#fig:hinf_synthesis_2dof">fig:hinf_synthesis_2dof</a>.</p>
<p><a id="org3d681ec"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_hinf_synthesis_2dof.png"
alt="Figure 55: Two degrees-of-freedom \(\mathcal{H}_\infty\) loop-shaping controller"/> <figcaption>
<p>Figure 55: Two degrees-of-freedom \(\mathcal{H}_\infty\) loop-shaping controller</p>
</figcaption>
</figure>
<h4 id="observer-based-structure-for--hinf--loop-shaping-controllers">Observer-Based Structure for \(\hinf\) Loop-Shaping Controllers</h4>
<p>\(\mathcal{H}_\infty\) designs exhibit an observer/state feedback structure in the controller.
The clear structure of the \(\mathcal{H}_\infty\) loop-shaping controllers has several advantages:</p>
<ul>
<li>It is helpful in describing a controller&rsquo;s function</li>
<li>It lends itself to implementation in a gain-schedule scheme</li>
<li>If offers computational savings in digital implementations</li>
</ul>
<p>Let&rsquo;s assume that the shaped plant is strictly proper, with a stabilizable and detectable state space realization
\[ G_s \triangleq \left[ \begin{array}{c|c}
A_s &amp; B_s \ \hline
C_s &amp; 0
\end{array} \right] \]</p>
<p>The single degree-of-freedom \(\mathcal{H}_\infty\) loop-shaping controller can be realized as an observer for the shaped plant plus a state feedback control law:</p>
<p>\begin{align*}
\dot{\hat{x}}_s &amp;= A_s \hat{x}_s + H_s(C_s \hat{x}_s - y_s) + B_s u_s \\\<br>
u_s &amp;= K_s \hat{x}_s
\end{align*}</p>
<p>where \(\hat{x}_s\) is the observer state, \(u_s\) and \(y_s\) are respectively the input and output of the shaped plant, and</p>
<p>\begin{align*}
H_s &amp;= -Z_s C_s^T \\\<br>
K_s &amp;= -B_s^T [I - \gamma^{-2}I - \gamma^{-2} X_s Z_s]^{-1} X_s
\end{align*}</p>
<p>where \(Z_s\) and \(X_s\) are the appropriate solutions to the generalized algebraic Riccati equations for \(G_s\).</p>
<p>The same can be done for two degrees-of-freedom controllers.</p>
<h4 id="implementation-issues">Implementation Issues</h4>
<h5 id="discrete-time-controllers">Discrete-time controllers</h5>
<p>For implementation purposes, discrete-time controllers are usually required.
These can be obtained from a continuous-time design using a <strong>bilinear transformation</strong> from the \(s\text{-domain}\) to the \(z\text{-domain}\), but there can be advantages in being able to design directly in discrete time.</p>
<h5 id="anti-windup">Anti-windup</h5>
<p>In \(\hinf\) loop-shaping the pre compensator weight \(W_1\) would normally include integral action in order to reject low frequency disturbances acting on the system.
However, in the case of actuator saturation, the integrators continue to integrate their input and hence cause <strong>windup</strong> problems.
An anti-windup scheme is therefore required on the weighting function \(W_1\).
The approach we recommend is to implement the weight \(W_1\) in its self-conditioned or Hanus form.
Let the weight \(W_1\) have a realization
\[ W_1 \triangleq \left[ \begin{array}{c|c}
A_w &amp; B_w \ \hline
C_w &amp; D_w
\end{array} \right] \]
and let \(u\) be the input to the plant actuators and \(u_s\) the input to the shaped plant.
Then \(u = W_1 u_s\).
When implemented in Hanus form, the expression for \(u\) becomes
\[ u = \left[ \begin{array}{c|cc}
A_w - B_wD_w^{-1}C_w &amp; 0 &amp; B_wD_w^{-1} \ \hline
C_w &amp; D_w &amp; 0
\end{array} \right] \begin{bmatrix}
u_s \ u_a
\end{bmatrix} \]
where \(u_a\) is the <strong>actual plant input</strong>, that is the measurement at the <strong>output of the actuators</strong> which therefore contains information about possible actuator saturation.</p>
<p>The situation is illustrated in Fig. <a href="#fig:weight_anti_windup">fig:weight_anti_windup</a>, where the actuators are each modeled by a unit gain and a saturation.</p>
<p><a id="org3867b27"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_weight_anti_windup.png"
alt="Figure 56: Self-conditioned weight \(W_1\)"/> <figcaption>
<p>Figure 56: Self-conditioned weight \(W_1\)</p>
</figcaption>
</figure>
<p>The Hanus form prevents windup by keeping the states of \(W_1\) consistent with the actual plant input at all times.
When there is no saturation, \(u_a=u\), the dynamics of \(W_1\) remains unaffected.
But when \(u_a\neq u\), the dynamics are inverted and driven by \(u_a\) so that the states remain consistent with the actual plant input \(u_a\).
Notice that such an implementation requires \(W_1\) to be invertible and minimum phase.</p>
<h5 id="bumpless-transfer">Bumpless transfer</h5>
<p>When multi-mode switched controller is designed, one should ensure <strong>smooth transition from one controller to the other</strong> (bumpless transfer).
It was found useful to condition the reference models and the observers in each of the controllers.
When on-line, the observer state evolves according to
\[ \dot{\hat{x}}_s = A_s \hat{x}_s + H_s (C_s \hat{x}_s - y_s) + B_s u_s \]
but when off-line, the state equation becomes
\[ \dot{\hat{x}}_s = A_s \hat{x}_s + H_s (C_s \hat{x}_s - y_s) + B_s u_{as} \]
where \(u_{as}\) is the actual input to the shaped plant governed by the on-line controller.</p>
<p>Doing so ensure that the inputs to the shaped plant for the off-line controller follows the actual shaped plant input \(u_{as}\) given by the on-line controller.
The observer based structure of the \(\mathcal{H}_\infty\) loop-shaping controller is then helpful for such technique.</p>
<h3 id="conclusion">Conclusion</h3>
<p>Several methods and techniques for controller design have been described.
The emphasis has been on \(\hinf\) loop shaping which is easy to apply and works well in practice.
It combines classical loop-shaping ideas with an effective method for robustly stabilizing the feedback loop.<br /></p>
<p>For complex problems, such as unstable plants with multiple gain crossover frequencies, it may not be easy to decide on a desired loop shape.
In which case, we would suggest doing an initial LQG design (with simple weights) and using the resulting loop shape as the desired one for the \(\hinf\) loop shaping.<br /></p>
<p>And alternative to \(\hinf\) loop shaping is a standard \(\hinf\) design with a stacked cost function such as in \(S/KS\) mixed-sensitivity optimization.
In this approach, \(\hinf\) optimization is used to shape two or sometimes three closed-loop transfer functions.
However, with more functions, the shaping becomes increasingly difficult for the designer.<br /></p>
<p>In other design situations where there are several performance objectives, it may be more appropriate to follow a signal-based \(\htwo\) or \(\hinf\) approach.
But again, the problem formulations become so complex that the designer has little direct influence on the design.<br /></p>
<p>After a design, the resulting controller should be analyzed with respect to robustness and tested using nonlinear simulations.
For the study of robustness, we recommend \(\mu\text{-analysis}\). If the design is not robust, then the weights should be modified.
Sometimes, one might consider synthesizing a \(\mu\text{-optimal}\) controller, but this complexity is rarely necessary in practice.
Moreover, one should be careful about combining controller synthesis and analysis into a single step.</p>
<h2 id="controller-structure-design">Controller Structure Design</h2>
<p><a id="org6fc0469"></a></p>
<h3 id="introduction">Introduction</h3>
<p>In previous sections, we considered the general problem formulation in Fig. <a href="#fig:general_control_names_bis">fig:general_control_names_bis</a> and stated that the controller design problem is to find a controller \(K\) which based on the information in \(v\), generates a control signal \(u\) which counteracts the influence of \(w\) on \(z\), thereby minimizing the closed loop norm from \(w\) to \(z\).</p>
<p><a id="org366605e"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_general_control_names_bis.png"
alt="Figure 57: General Control Configuration"/> <figcaption>
<p>Figure 57: General Control Configuration</p>
</figcaption>
</figure>
<p>In this chapter we are concerned with the <strong>structural decisions</strong> associated with the following selection tasks of control structure design:</p>
<ul>
<li><strong>Controlled outputs</strong>: What are the variables \(z\)?</li>
<li><strong>Manipulations and measurements</strong>: What are the variable set \(u\) and \(v\)?</li>
<li><strong>Control configuration</strong>: What is the structure of \(K\)?</li>
<li><strong>Controller type</strong>: What algorithm is used for \(K\)?</li>
</ul>
<p>The distinction between the words under control <em>structure</em> and control <em>configuration</em> are significant.
The <em>control structure</em> refers to all structural decisions included in the design of a control system.
On the other hand, the <em>control configuration</em> refers only to the structuring of the controller \(K\) itself.<br /></p>
<p>Ideally, the tasks involved in designing a complete control system are performed sequentially; first a &ldquo;top down&rdquo; selection of controller outputs, measurements and inputs, and then a &ldquo;bottom up&rdquo; design of the control system in which the selection of the control configuration is the most important decision.
However, in practice the tasks are closely related so the procedure may involve iteration.<br /></p>
<p>One important reason for decomposing the control system into a specific <em>control configuration</em> is that it may <strong>allow for simple tuning</strong> of the sub-controllers <strong>without the need for a detailed plant model</strong> describing the dynamics and interactions in the process.
Multivariable centralized controllers may always outperform decomposed (decentralized) controllers, bus this performance gain must be traded off against the cost of obtaining and maintaining a sufficiently detailed plant model.<br /></p>
<p>The number of possible control structure is usually very large.
Fortunately, we can often from physical insight obtain a reasonable choice of controlled outputs, measurements and manipulated inputs.</p>
<h3 id="optimization-and-control">Optimization and Control</h3>
<p>The selection of controlled outputs involves selecting the variables \(y\) to be controlled at given reference values \(y \approx r\).
The reference value \(r\) is usually set at some higher layer in the control hierarchy which is often divided into two layers:</p>
<ul>
<li><strong>Optimization layer</strong>: computes the desired reference commands \(r\)</li>
<li><strong>Control layer</strong>: implements these commands to achieve \(y \approx r\)</li>
</ul>
<p>Additional layers are possible, as is illustrated in Fig. <a href="#fig:control_system_hierarchy">fig:control_system_hierarchy</a> which shows a typical control hierarchy for a chemical plant.</p>
<p><a id="org42e952b"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_system_hierarchy.png"
alt="Figure 58: Typical control system hierarchy in a chemical plant"/> <figcaption>
<p>Figure 58: Typical control system hierarchy in a chemical plant</p>
</figcaption>
</figure>
<p>In general, the information flow in such a control hierarchy is based on the higher layer sending reference values (setpoints) to the layer below reporting back any problems achieving this (see Fig. <a href="#fig:optimize_control_b">fig:optimize_control_b</a>).
There is usually a time scale separation between the layers which means that the <strong>setpoints</strong>, as viewed from a given layer, are <strong>updated only periodically</strong>.<br /></p>
<p>The optimization tends to be performed open-loop with limited use of feedback. On the other hand, the control layer is mainly based on feedback information.
The <strong>optimization is often based on nonlinear steady-state models</strong>, whereas we often use <strong>linear dynamic models in the control layer</strong>.<br /></p>
<p>From a theoretical point of view, the optimal performance is obtained with a <strong>centralized optimizing controller</strong>, which combines the two layers of optimizing and control (see Fig. <a href="#fig:optimize_control_c">fig:optimize_control_c</a>).
All control actions in such an ideal control system would be perfectly coordinated and the control system would use on-line dynamic optimization based on nonlinear dynamic model of the complete plant.
However, this solution is normally not used for a number a reasons, included the cost of modeling, the difficulty of controller design, maintenance, robustness problems and the lack of computing power.</p>
<p><a id="table--fig:optimize-control"></a></p>
<div class="table-caption">
<span class="table-number"><a href="#table--fig:optimize-control">Table 6</a></span>:
Alternative structures for optimization and control
</div>
<table>
<thead>
<tr>
<th><img src="/ox-hugo/skogestad07_optimize_control_a.png" alt=""></th>
<th><img src="/ox-hugo/skogestad07_optimize_control_b.png" alt=""></th>
<th><img src="/ox-hugo/skogestad07_optimize_control_c.png" alt=""></th>
</tr>
</thead>
<tbody>
<tr>
<td><a id="org6986695"></a> Open loop optimization</td>
<td><a id="orgaae7402"></a> Closed-loop implementation with separate control layer</td>
<td><a id="orge8ee4d7"></a> Integrated optimization and control</td>
</tr>
</tbody>
</table>
<h3 id="selection-of-controlled-outputs">Selection of Controlled Outputs</h3>
<p>A <strong>controlled output</strong> is an output variable (usually measured) with an associated control objective (usually a reference value).
In many cases, it is clear from a physical understanding of the process what the controlled outputs should be.
In other cases, it is less obvious because each control objective may not be associated with a measured output variable.<br /></p>
<p>In the following, we let \(y\) denote the selected controller outputs in the control layer.
Two distinct questions arise:</p>
<ol>
<li>What variables \(y\) should be selected?</li>
<li>What is the optimal reference value \(y_\text{opt}\)?</li>
</ol>
<p>For the first problem, we make the following assumptions:</p>
<ol>
<li>The overall goal can be quantified in terms of a <strong>scalar cost function</strong> \(J\) which we want to minimize</li>
<li>For a given disturbance \(d\), there exists an optimal value \(u_\text{opt}(d)\) and corresponding value \(y_\text{opt}(d)\) which minimizes the cost function \(J\)</li>
<li>The reference values \(r\) for the controlled outputs \(y\) should be constant, i.e. \(r\) should be independent of the disturbances \(d\)</li>
</ol>
<p>The system behavior is a function of the independent variables \(u\) and \(d\): \(J = J(u, d)\).
For a given disturbance \(d\) the optimal value of the cost function is</p>
<p>\begin{equation}
J_\text{opt}(d) \triangleq J(u_\text{opt}, d) = \min_u J(u, d)
\end{equation}</p>
<p>In practice \(u \neq u_\text{opt}\), and we have a loss which can be quantified by \(L = J - J_\text{opt}\).
A reasonable objective for selecting controlled outputs \(y\) is to minimize some norm of the loss, for instance the worst-case loss:</p>
<p>\begin{equation}
\Phi \triangleq \max_{d \in \mathcal{D}} |\underbrace{J(u, d) - J(u_\text{opt}, d)}_{L}|
\end{equation}</p>
<p>where \(\mathcal{D}\) is the set of possible disturbances.</p>
<h4 id="direct-evaluation-of-cost">Direct Evaluation of Cost</h4>
<p>The &ldquo;brute force&rdquo; approach for selecting controlled variables is to evaluate the loss for alternative sets of controlled variable.
By solving the non linear equations, we evaluate directly the cost function \(J\) for various disturbances \(d\).
The set of controlled outputs with smallest worst case or average value of \(J\) is then preferred.
This approach may be time consuming because the solution of the nonlinear equations must be repeated for each candidate set of controlled outputs.</p>
<h4 id="linear-analysis">Linear Analysis</h4>
<p>Consider the loss \(L = J(u,d) - J_\text{opt}(d)\) where \(d\) is a fixed disturbance.
We make the following additional assumptions:</p>
<ol class="org-ol">
<li value="4">The cost function \\(J\\) is smooth (twice differentiable)</li>
<li>The optimization problem is unconstrained.
If it is optimal to keep some variable at a constant, then we assume that this is implemented and consider the remaining unconstrained problem</li>
<li>The dynamics of the problem can be neglected, that is, **we consider the steady-state control and optimization**</li>
</ol>
<p>For a fixed \(d\) we may express \(J(u, d)\) in terms of a Taylor series expansion in \(u\) around the optimal point.
By neglecting terms of third order and higher, we obtain:
\[ J(u, d) = J_\text{opt}(d) + \frac{1}{2} (u - u_\text{opt}(d))^T \left(\frac{\partial^2 J}{\partial u^2}\right)_\text{opt} (u - u_\text{opt}(d)) \]
This quantifies how \(u-u_\text{opt}\) affects the cost function.
For a fixed \(d\), we have: \(y - y_\text{opt} = G (u - u_\text{opt})\) where \(G\) is the steady state gain matrix.
Thus, we get:
\[ J - J_\text{opt} \approx \frac{1}{2} \big(G^{-1}(y-y_\text{opt})\big)^T \left(\frac{\partial^2 J}{\partial u^2}\right)_\text{opt} G^{-1} (y - y_\text{opt}) \]</p>
<p>We conclude that we should select \(y\) such that:</p>
<ol>
<li>\(G^{-1}\) is small: the inputs have a large effect on \(y\)</li>
<li>\(e_\text{opt} = r - y_\text{opt}(d)\) is small: its optimal value \(y_\text{opt}(d)\) depends only weakly on the disturbances and other changes</li>
<li>\(e = y - r\) is small: it is easy to keep the control error \(e\) small</li>
</ol>
<p>Note that \(\bar{\sigma}(G^{-1}) = 1/\underline{\sigma}(G)\) and so <strong>we want the smallest singular value of the steady state gain matrix to be large</strong>.</p>
<p>As this depends of scaling, we should first <strong>scale the outputs</strong> such that the expected magnitude of \(y_i - y_{i_\text{opt}}\) is similar in magnitude for each output, and <strong>scale the inputs</strong> such that the effect of a given deviation \(u_j - u_{j_\text{opt}}\) on the cost function \(J\) is similar for each input.<br /></p>
<div class="cbox">
<div></div>
<p>The use of the minimum singular value to select controlled outputs may be summarized in the following procedure:</p>
<ol>
<li>From a (nonlinear) model compute the optimal parameters (inputs and outputs) for various conditions (disturbances, operating points).
This yields a &ldquo;look-up&rdquo; table for optimal parameter values as a function of the operating conditions</li>
<li>From this data, obtain for each candidate output the variation in its optimal value
\[ v_i = \frac{(y_{i_{\text{opt,max}}} - y_{i_{\text{opt,min}}})}{2} \]</li>
<li>Scale the candidate outputs such that for each output the sum of the magnitudes of \(v_i\) and the control error (\(e_i\), including measurement noise \(n_i\)) is similar (e.g. \(|v_i| + |e_i| = 1\))</li>
<li>Scale the inputs such that a unit deviation in each input from its optimal value has the same effect on the cost function \(J\)</li>
<li>Select as candidates those sets of controlled outputs which corresponds to a large value of \(\underline{\sigma}(G)\).
\(G\) is the transfer function for the effect of the scaled inputs on the scaled outputs</li>
</ol>
</div>
<h4 id="summary">Summary</h4>
<p>Generally, the optimal values of all variables will change with time during operation.
If the loss imposed by keeping constant setpoints is acceptable, then we have self-optimizing control.
The objective of the control layer is then to keep the controlled outputs at their reference values (which are computed by the optimization layer).<br /></p>
<p>The controlled outputs are often measured, but we may also estimated their values based on other measured variables.
We may also use other measurements to improve the control of the controlled outputs, for example, by use of cascade control.
Thus, the selection of controlled and measured outputs are two separate issues.</p>
<h3 id="selection-of-manipulations-and-measurements">Selection of Manipulations and Measurements</h3>
<p>We are here concerned with the variable sets \(u\) and \(v\) in Fig. <a href="#fig:general_control_names_bis">fig:general_control_names_bis</a>.
Note that <strong>the measurements</strong> \(v\) used by the controller <strong>are in general different from the controlled variables</strong> \(z\) because we may not be able to measure all the controlled variables and we may want to measure and control additional variables in order to:</p>
<ul>
<li>Stabilize the plant, or more generally change its dynamics</li>
<li>Improve local disturbance rejection</li>
</ul>
<h5 id="stabilization">Stabilization</h5>
<p>We usually start of controller design by designing a lower-layer controller to stabilize the plant.
The issue is then: which outputs and inputs should be used for stabilization?
A reasonable objective is to minimize the required input usage of the stabilizing control system.</p>
<h5 id="local-disturbance-rejection">Local disturbance rejection</h5>
<p>For measurements, the rule is generally to select those which have a <strong>strong relationship with the controlled outputs</strong>, or which may <strong>quickly detect a major disturbance</strong>.</p>
<p>The selected manipulations should have a <strong>large effect on the controlled outputs</strong> and should be located &ldquo;close&rdquo; (in terms of dynamic response) to the outputs and measurements.<br /></p>
<p>To evaluate the combinations of manipulations and measurements, one may perform an <strong>input-output controllability analysis</strong> for each combination (e.g. consider the minimum singular values, RHP-zeros, interactions, etc).
A more involved approach would be to perform a achievable robust performance analysis.
An even more involved (and exact) approach would be to synthesize controllers for optimal robust performance for each candidate combination.
However, the number of combination has a combinatorial growth and the analysis may become very time-consuming.</p>
<h3 id="rga-for-non-square-plant">RGA for Non-Square Plant</h3>
<p>A simple but effective tool for selecting inputs and outputs, which avoids to combinatorial problem is the <strong>Relative Gain Array</strong> (RGA) of the &ldquo;big&rdquo; transfer matrix \(G_\text{all}\) with all candidates inputs and outputs included:</p>
<p>\begin{equation}
\tcmbox{\Lambda = G_{\text{all}} \times G_{\text{all}}^{\dagger^T}}
\end{equation}</p>
<p>Essentially, one may consider not using those manipulations \(u\) corresponding to columns in the RGA where the sum of the elements is much smaller than 1.</p>
<p>Similarly, one may consider not using those outputs \(v\) corresponding to rows in the RGA where the sum of the elements is much small than 1.</p>
<h3 id="control-configuration-elements">Control Configuration Elements</h3>
<p>We now assume that the measurements, manipulations and controlled outputs are fixed.
The available synthesis theories presented in this book result in a <em>multivariable controller</em> \(K\) which connects all available measurements \(v\) with all available manipulations \(u\):
\[ u = K v \]
However, such a &ldquo;big&rdquo; controller may not be desirable.</p>
<div class="cbox">
<div></div>
<p>We define the <strong>control configuration</strong> to be the restrictions imposed on the overall controller \(K\) by decomposing it into a set of <strong>local controllers</strong> with predetermined links and with a possibly predetermined design sequence where subcontrollers are designed locally.</p>
</div>
<p>Some elements used to build up a specific control configuration are:</p>
<ul>
<li><strong>Cascade controllers</strong>. The output from one controller is the input to another</li>
<li><strong>Decentralized controllers</strong>. The control system consists of independent feedback controllers which interconnect a subset of the output measurements with a subset of the manipulated inputs.
These subsets should not be used by any other controller</li>
<li><strong>Feedforward elements</strong>. Link measured disturbances and manipulated inputs</li>
<li><strong>Decoupling elements</strong>. Link one set of manipulated inputs with another set of manipulated inputs.
They are used to improve the performance of decentralized control systems.</li>
<li><strong>Selectors</strong>: used to select for control, depending on the conditions of the system, a subset of the manipulated inputs or a subset of the outputs</li>
</ul>
<p>In addition to restrictions on the structure of \(K\), we may impose restrictions on <strong>in which sequence the subcontrollers are designed</strong>.
For most decomposed control systems, we design the controllers sequentially, starting with the &ldquo;fast&rdquo; or &ldquo;inner&rdquo; or &ldquo;lower-layer&rdquo; control loops.<br /></p>
<p>The choice of control configuration leads to two different ways of partitioning the control system:</p>
<ul>
<li><strong>Vertical decomposition</strong>. This usually results from a sequential design of the control system</li>
<li><strong>Horizontal decomposition</strong>. This usually involves a set of independent decentralized controllers</li>
</ul>
<p>Of course, a <strong>performance loss</strong> is inevitable if we decompose the control system.
For example, if we select a poor configuration at the lower control layer, then this may pose fundamental limitations on the achievable performance (RHP zeros, strong interactions, etc).</p>
<h4 id="cascade-control-systems">Cascade Control Systems</h4>
<p>We here use SISO controllers of the form</p>
<p>\begin{equation}
u_i = K_i(s) (r_i - y_i)
\end{equation}</p>
<p>where \(K_i(s)\) is a scalar.
Then when a SISO control loop is closed, we lose the input \(u_i\) as a degree-of-freedom but the reference \(r_i\) becomes a new degree-of-freedom.<br /></p>
<p>A cascade control structure results when either of the following two situations arise:</p>
<ul>
<li>The reference \(r_i\) is an output from another controller.
This is the <strong>conventional cascade control</strong> (Fig. <a href="#fig:cascade_extra_meas">fig:cascade_extra_meas</a>)</li>
<li>The &ldquo;measurement&rdquo; \(y_i\) is an output from another controller.
This is referred to as <strong>input resetting</strong> (Fig. <a href="#fig:cascade_extra_input">fig:cascade_extra_input</a>)</li>
</ul>
<p><a id="table--fig:cascade-implementation"></a></p>
<div class="table-caption">
<span class="table-number"><a href="#table--fig:cascade-implementation">Table 7</a></span>:
Cascade Implementations
</div>
<table>
<thead>
<tr>
<th><img src="/ox-hugo/skogestad07_cascade_extra_meas.png" alt=""></th>
<th><img src="/ox-hugo/skogestad07_cascade_extra_input.png" alt=""></th>
</tr>
</thead>
<tbody>
<tr>
<td><a id="org4e7be08"></a> Extra measurements \(y_2\)</td>
<td><a id="org1a947e7"></a> Extra inputs \(u_2\)</td>
</tr>
</tbody>
</table>
<h4 id="cascade-control-extra-measurements">Cascade Control: Extra Measurements</h4>
<p>Let \(u\) be the manipulated input, \(y_1\) the controlled outputs and \(y_2\) the extra measurement.
In many cases, we may use \(y_2\) to provide <strong>local disturbance rejection</strong>, <strong>linearization</strong>, or to <strong>reduce the effect of measurement noise</strong>.
For example, velocity feedback is frequently used in mechanical systems.</p>
<h5 id="centralized--parallel--implementation">Centralized (parallel) implementation</h5>
<p>A centralized implementation where \(K\) is a 2-inputs-1-output controller may be written</p>
<p>\begin{align*}
u &amp;= K(s)(r - y) \\\<br>
u &amp;= K_{11}(s)(r_1 - y_1) + K_{12}(s)(r_2 - y_2)
\end{align*}</p>
<p>where in most cases \(r_2 = 0\) since we do not have a degree-of-freedom to control \(y_2\).</p>
<h5 id="cascade-implementation">Cascade implementation</h5>
<p>To obtain an implementation with two SISO controllers, we may cascade the controllers as illustrated in Fig. <a href="#fig:cascade_extra_meas">fig:cascade_extra_meas</a>:</p>
<p>\begin{align*}
r_2 &amp;= K_1(s)(r_1 - y_1) \\\<br>
u_2 &amp;= K_2(s)(r_2 - y_2),\ r_2 = \hat{u}_1
\end{align*}</p>
<p>Note that the output \(r_2\) from the slower primary controller \(K_1\) is not a manipulated plant input, but rather the reference input to the faster secondary controller \(K_2\).
Cascades based on measuring the actual manipulated variable (\(y_2 = u_m\)) are commonly used to <strong>reduce uncertainty and non-linearity at the plant input</strong>.</p>
<p>In the general case (Fig. <a href="#fig:cascade_extra_meas">fig:cascade_extra_meas</a>) \(y_1\) and \(y_2\) are not directly related to each other, and this is sometimes referred to as <em>parallel cascade control</em>.
However, it is common to encounter the situation in Fig. <a href="#fig:cascade_control">fig:cascade_control</a> where the primary output \(y_1\) depends directly on \(y_2\) which is a special case of Fig. <a href="#fig:cascade_extra_meas">fig:cascade_extra_meas</a>.</p>
<div class="cbox">
<div></div>
<p>With reference to the special (but common) case of cascade control shown in Fig. <a href="#fig:cascade_control">fig:cascade_control</a>, the use of extra measurements is useful under the following circumstances:</p>
<ul>
<li>The disturbance \(d_2\) is significant and \(G_1\) is non-minimum phase.
If \(G_1\) is minimum phase, the input-output controllability of \(G_2\) and \(G_1 G_2\) are the same and there is no fundamental advantage in measuring \(y_2\)</li>
<li>The plant \(G_2\) has considerable uncertainty associated with it and the inner loop serves to remove the uncertainty.
The inner loop \(L_2 = G_2 K_2\) removes the uncertainty if it is sufficiently fast and yields a transfer function \((I + L_2)^{-1} L_2\) close to \(I\) at frequencies where \(K_1\) is active.</li>
</ul>
</div>
<p><a id="org664489f"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_cascade_control.png"
alt="Figure 59: Common case of cascade control where the primary output \(y_1\) depends directly on the extra measurement \(y_2\)"/> <figcaption>
<p>Figure 59: Common case of cascade control where the primary output \(y_1\) depends directly on the extra measurement \(y_2\)</p>
</figcaption>
</figure>
<p>In terms of design, it is recommended to first design \(K_2\) to minimize the effect of \(d_2\) on \(y_1\) and then to design \(K_1\) to minimize the effect of \(d_1\) on \(y_1\).</p>
<h4 id="cascade-control-extra-inputs">Cascade Control: Extra Inputs</h4>
<p>In some cases we have more manipulated inputs than controlled outputs.
These may be used to improve control performance.</p>
<h5 id="centralized-implementation">Centralized implementation</h5>
<p>A centralized implementation where \(K\) is a 1-input-2-outputs controller may be written
\[ u_1 = K_{11}(s)(r-y); \quad u_2 = K_{21}(s)(r-y) \]
Here two inputs are used to control one output.
We usually let \(K_{11}\) have integral control whereas \(K_{21}\) does not.
Then \(u_2(t)\) will only be used for <strong>transient control</strong> and will return to \(0\) as \(t \to \infty\).</p>
<h5 id="cascade-implementation">Cascade implementation</h5>
<p>To obtain an implementation with two SISO controllers we may cascade the controllers as shown in Fig. <a href="#fig:cascade_extra_input">fig:cascade_extra_input</a>.
We again let input \(u_2\) take care of the <strong>fast control</strong> and \(u_1\) of the <strong>long-term control</strong>.
The fast control loop is then
\[ u_2 = K_2(s)(r - y) \]
The objective of the other slower controller is then to use input \(u_1\) to reset input \(u_2\) to its desired value \(r_{u_2}\):
\[ u_1 = K_1(s)(r_{u_2} - y_1), \ y_1 = u_2 \]
and we see that the output from the fast controller \(K_2\) is the &ldquo;measurement&rdquo; for the slow controller \(K_1\).</p>
<p>The cascade implementation again has the <strong>advantage of decoupling the design of the two controllers</strong>.
It also shows more clearly that \(r_{u_2}\), the reference for \(u_2\), may be used as a degree-of-freedom at higher layers in the control system.</p>
<div class="cbox">
<div></div>
<p>Consider the system in Fig. <a href="#fig:cascade_control_two_layers">fig:cascade_control_two_layers</a> with two manipulated inputs (\(u_2\) and \(u_3\)), one controlled output (\(y_1\) which should be close to \(r_1\)) and two measured variables (\(y_1\) and \(y_2\)).
Input \(u_2\) has a more direct effect on \(y_1\) than does input \(u_3\) (there is a large delay in \(G_3(s)\)).
Input \(u_2\) should only be used for transient control as it is desirable that it remains close to \(r_3 = r_{u_2}\).
The extra measurement \(y_2\) is closer than \(y_1\) to the input \(u_2\) and may be useful for detecting disturbances affecting \(G_1\).</p>
<p>Controller \(K_1\) controls the primary output \(y_1\) at its reference \(r_1\) by adjusting the &ldquo;input&rdquo; \(\hat{u}_1\), which is the reference value for \(y_2\).
Controller \(K_2\) controls the secondary output \(y_2\) using input \(u_2\).
Finally, controller \(K_3\) manipulates \(u_3\) slowly in order to reset input \(u_2\) to its desired value \(r_3\).
We would probably tune the three controllers in the order \(K_2\), \(K_3\), and \(K_1\).</p>
</div>
<p><a id="org12e1e27"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_cascade_control_two_layers.png"
alt="Figure 60: Control configuration with two layers of cascade control"/> <figcaption>
<p>Figure 60: Control configuration with two layers of cascade control</p>
</figcaption>
</figure>
<h4 id="selectors">Selectors</h4>
<h5 id="slip-range-control-for-extra-input">Slip-range control for extra input</h5>
<p>Sometimes the input constraints make it necessary to add a manipulated input.
In this case the control range is often split such that, for example, \(u_1\) is used for control when \(y \in [y_\text{min}, y_1]\) and \(u_2\) is used when \(y \in [y_1, y_\text{max}]\).</p>
<h5 id="selector-for-too-few-inputs">Selector for too few inputs</h5>
<p>A completely different situation occurs if there are fewer inputs than outputs.
In such case, we cannot control all the outputs independently, so we either need to control all the outputs in some average manner, or we need to make a choice about which outputs are the most important to control.
Selectors are often used for the latter option.</p>
<h4 id="why-use-cascade-and-decentralized-control">Why use Cascade and Decentralized Control?</h4>
<p>Decomposed control configuration can easily become quite complex and difficult to maintain and understand.
It may therefore be both simpler and better in terms of control performance to set up the controller design problem as an optimization problem and let the computer do the job, resulting in a <strong>centralized multivariable controller</strong>.<br /></p>
<p>However, there are a <strong>number of reason why cascade and decentralized control are used in practice</strong>.
The most important one is the <strong>cost associated with obtaining good plant models</strong>, which are a prerequisite for applying multivariable control.
Since cascade and decentralized control systems depend more strongly on feedback rather than models as their source of information, it is usually more important (relative to centralized multivariable control) that the fast control loops be tuned to respond quickly.</p>
<p>The cascade and decentralized control are often easier to understand, their tuning parameters have a direct and &ldquo;localized&rdquo; effect, and they tend to be <strong>less sensitive to uncertainty</strong>.<br /></p>
<p>The <strong>main challenge</strong> is then to find a control configuration which allows the controllers to be tuned independently based on a minimum of model information.
To be able to tune the controllers independently, we must require that the loops interact only to a limited extent.
For example, one desirable property is that the steady-state gain from \(u_i\) to \(y_i\) in an &ldquo;inner&rdquo; loop does not change too much as outer loops are closed.</p>
<h3 id="hierarchical-and-partial-control">Hierarchical and Partial Control</h3>
<h4 id="partial-control">Partial Control</h4>
<div class="cbox">
<div></div>
<p>Partial control involves controlling only a subset of the outputs for which there is a control objective.</p>
</div>
<p>We divide the outputs \(y\) into two classes:</p>
<ul>
<li>\(y_1\) - (temporarily) uncontrolled output</li>
<li>\(y_2\) - (locally) measured and controlled output</li>
</ul>
<p>We also subdivide the available manipulated inputs \(u\):</p>
<ul>
<li>\(u_2\) - inputs used for controlling \(y_2\)</li>
<li>\(u_1\) - remaining inputs</li>
</ul>
<p>Four applications of partial control are:</p>
<ol>
<li><strong>Sequential design on decentralized controllers.</strong>
Both \(y_1\) and \(y_2\) have an associated control objective.
First, a controller \(K_2\) is designed to control \(y_2\).
Then, a controlled \(K_1\) may be designed for the remaining outputs.</li>
<li><strong>Sequential design of conventional cascade control.</strong>
The outputs \(y_2\) are additional measured variables which are not important variables in themselves.
The reason for controlling \(y_2\) is to improve the control of \(y_1\).
The references \(r_2\) are used as degrees-of-freedom for controlling \(y_1\).</li>
<li><strong>&ldquo;true&rdquo; partial control.</strong>
Both \(y_1\) and \(y_2\) have an associated control objective.
We consider whether by controlling only the subset \(y_2\) we can indirectly achieve acceptable control of \(y_1\).</li>
<li><strong>Indirect control.</strong>
The outputs \(y_1\) have an associated control objective but are not measured.
Instead, we aim at indirectly controlling \(y_1\) by controlling the secondary measured variables \(y_2\).</li>
</ol>
<p>The table <a href="#tab:partial_control">tab:partial_control</a> shows clearly the differences between the four applications of partial control.
In all cases, there is a control objective associated with \(y_1\) and a feedback involving measurement and control of \(y_2\) and we want:</p>
<ul>
<li>The effect of disturbances on \(y_1\) to be small (when \(y_2\) is controlled)</li>
<li>The control of \(y_2\) using \(u_2\) to be (dynamically) easy</li>
</ul>
<p><a id="table--tab:partial-control"></a></p>
<div class="table-caption">
<span class="table-number"><a href="#table--tab:partial-control">Table 8</a></span>:
Applications of partial control
</div>
<table>
<thead>
<tr>
<th>Control</th>
<th>Meas. and control of \(y_1\)?</th>
<th>Control objective for \(y_2\)?</th>
</tr>
</thead>
<tbody>
<tr>
<td>Sequ. decentralized</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>Sequ. cascade</td>
<td>Yes</td>
<td>No</td>
</tr>
<tr>
<td>&ldquo;True&rdquo; partial</td>
<td>No</td>
<td>Yes</td>
</tr>
<tr>
<td>Indirect</td>
<td>No</td>
<td>No</td>
</tr>
</tbody>
</table>
<p>By partitioning the inputs and outputs, the overall model \(y = G u\) can be written</p>
<p>\begin{equation}
\begin{aligned}
y_1 &amp;= G_{11} u_1 + G_{12} u_2 + G_{d1} d\\\<br>
y_2 &amp;= G_{21} u_1 + G_{22} u_2 + G_{d2} d
\end{aligned}
\end{equation}</p>
<p>Assume now that feedback control \(u_2 = K_2(r_2 - y_2 - n_2)\) is used for the &ldquo;secondary&rdquo; subsystem involving \(u_2\) and \(y_2\) (Fig. <a href="#fig:partial_control">fig:partial_control</a>).
We get:</p>
<p>\begin{equation}
\begin{aligned}
y_1 = &amp;(G_{11} - G_{12}K_2(I + G_{22}K_2)^{-1}G_{21})u_1 \\\<br>
&amp; + (G_{d1} - G_{12}K_2(I + G_{22}K_2)^{-1}G_{d2})d \\\<br>
&amp; + G_{12} K_2 (I + G_{22}K_2)^{-1}(r_2 - n_2)
\end{aligned}
\end{equation}</p>
<p><a id="orgffa343f"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_partial_control.png"
alt="Figure 61: Partial Control"/> <figcaption>
<p>Figure 61: Partial Control</p>
</figcaption>
</figure>
<h5 id="tight-control-of--y-2">Tight control of \(y_2\)</h5>
<p>In some cases, we can assume that the control of \(y_2\) is fast compared to the control of \(y_1\) so we may let \(K_2 \to \infty\) to get:
\[ u_2 = -G_{22}^{-1} G_{d2} d - G_{22}^{-1} G_{21} u_1 + G_{22}^{-1} y_2 \]</p>
<p>The dynamics of the system becomes:</p>
<p>\begin{equation}
\begin{aligned}
y_1 = &amp;\underbrace{(G_{11} - G_{12} G_{22}^{-1} G_{21})}_{\triangleq P_u} u_1 \\\<br>
&amp; + \underbrace{(G_{d1} - G_{12} G_{22}^{-1} G_{d2})}_{\triangleq P_d} d + \underbrace{G_{12} G_{22}^{-1}}_{\triangleq P_r} \underbrace{(r_2 - e_2)}_{y_2}
\end{aligned}
\end{equation}</p>
<p>where</p>
<ul>
<li>\(P_d\) is called the <strong>partial disturbance gain</strong>, which is the disturbance gain for a system under perfect partial control</li>
<li>\(P_u\) is the effect of \(u_1\) on \(y_1\) with \(y_2\) perfectly controlled</li>
</ul>
<p>The obtained dynamics is independent of \(K_2\), but this only applies at frequencies where \(y_2\) is tightly controlled.</p>
<h4 id="hierarchical-control-and-sequential-design">Hierarchical Control and Sequential Design</h4>
<p>A <strong>hierarchical control system</strong> results when we design the subcontrollers in a <strong>sequential manner</strong>, usually <strong>starting with the fast loops</strong>.
This means that the controller at some higher layer in the hierarchy is designed based on a partially controlled plant.</p>
<p>The idea is to first implement a local lower-layer control system for controlling the outputs \(y_2\).
Next, with this lower-layer in place, we design a controller \(K_1\) to control \(y_1\).<br /></p>
<p>The objectives for this hierarchical decomposition are:</p>
<ul>
<li>to allow for simple or even on-line tuning of \(K_2\)</li>
<li>to allow the use of longer sampling intervals for \(K_1\)</li>
<li>to allow simple models when designing \(K_1\)</li>
<li>to &ldquo;stabilize&rdquo; the plant using \(K_2\) such that it is amenable to manual control</li>
</ul>
<div class="cbox">
<div></div>
<p>The selection of \(u_2\) and \(y_2\) for use in the lower-layer control system can be done with the following criteria:</p>
<ul>
<li>The lower-layer must quickly implement the setpoints computed by the higher layers, that is, the input-output controllability of the subsystem involving the use of \(u_2\) to control \(y_2\) should be good (consider \(G_{22}\) and \(G_{d2}\))</li>
<li>The control of \(y_2\) using \(u_2\) should provide local disturbance rejection, that is, it should minimize the effect of disturbances on \(y_1\)</li>
<li>The control of \(y_2\) using \(u_2\) should not impose unnecessary control limitations (RHP-zero, ill-conditioning, etc.) on the remaining control problem which involves using \(u_1\) to control \(y_1\)</li>
</ul>
</div>
<h5 id="sequential-design-of-cascade-control-systems">Sequential design of cascade control systems</h5>
<p>Consider the conventional cascade control system in Fig. <a href="#fig:cascade_extra_meas">fig:cascade_extra_meas</a> where we have additional &ldquo;secondary&rdquo; measurements \(y_2\) with no associated control objective, and the objective is to improve the control of \(y_1\) by locally controlling \(y_2\).
The idea is that this should reduce the effect of disturbances and uncertainty on \(y_1\).</p>
<p>From \eqref{eq:partial_control}, it follows that we should select \(y_2\) and \(u_2\) such that \(\|P_d\|\) is small and at least smaller than \(\|G_{d1}\|\).
These arguments particularly apply at high frequencies.
More precisely, we want the input-output controllability of \([P_u\ P_r]\) with disturbance model \(P_d\) to be better that of the plant \([G_{11}\ G_{12}]\) with disturbance model \(G_{d1}\).</p>
<h4 id="true-partial-control">&ldquo;True&rdquo; Partial Control</h4>
<p>We here consider the case where we attempt to leave a set of primary outputs \(y_1\) uncontrolled.
This may be possible in cases where the outputs are correlated such that controlling the outputs \(y_2\) indirectly gives acceptable control of \(y_1\).</p>
<div class="cbox">
<div></div>
<p>A set of outputs \(y_1\) may be left uncontrolled only if the effects of all disturbances (including \(r_2\)) on \(y_1\), as expressed by the elements in the corresponding partial disturbance gain matrix \(P_d\) are less than \(1\) in magnitude at all frequencies.</p>
</div>
<p>To evaluate the feasibility of partial control, one must for each choice of \(y_2\) and \(u_2\), rearrange the system as in \eqref{eq:partial_control_partitioning} and \eqref{eq:partial_control}, and compute \(P_d\) using \eqref{eq:tight_control_y2}.</p>
<h4 id="measurement-selection-for-indirect-control">Measurement Selection for Indirect Control</h4>
<p>Assume the overall goal is to keep some variable \(y_1\) at a given value \(r_1\), e.g. our objective is to minimize \(J = \|y_1 - r_1\|\).
We assume that we cannot measure \(y_1\), and instead we attempt to achieve our goal by controlling \(y_2\) at a constant value \(r_2\).
For small changes, we may assume linearity and write:</p>
<p>\begin{align*}
y_1 &amp;= G_1 u + G_{d1} d\\\<br>
y_2 &amp;= G_2 u + G_{d2} d
\end{align*}</p>
<p>With feedback control of \(y_2\) we get \(y_2 = r_2 + e_2\) where \(e_2\) is the control error.
From the above two equations, we obtain
\[ y_1 = (G_{d1} - G_1 G_2^{-1} G_{d2})d + G_1 G_2^{-1} (r_2 + e_2) \]</p>
<p>With \(e_2 = 0\) and \(d = 0\) this gives \(y_1 = G_1 G_2^{-1} r_2\), so \(r_2\) must be chosen such that
\[ r_1 = G_1 G_2^{-1} r_2 \]</p>
<p>The control error in the primary output is then</p>
<p>\begin{equation}
y_1 - r_1 = \underbrace{(G_{d1} - G_1 G_2^{-1} G_{d2})}_{P_d} d + \underbrace{G_1 G_2^{-1}}_{P_r} e_2
\end{equation}</p>
<p>To minimize \(J\), we should therefore select controlled outputs such that \(\|P_d d\|\) and \(\|P_r e_2\|\) are small.
Note that \(P_d\) depends on the scaling of \(d\) and \(y_1\).
Also the magnitude of \(e_2\) depends on the choice of outputs \(y_2\).</p>
<div class="cbox">
<div></div>
<p>Scale the disturbances \(d\) to be of magnitude 1, and scale the outputs \(y_2\) so that the expected control error \(e_2\) (measurement noise) is of magnitude 1 for each outputs.
Then to minimize the control error for the primary output, \(J = \|y_1 - r_1\|\), we should select sets of controlled outputs which minimizes \(\|[ P_d \ P_r]\|\).</p>
</div>
<h3 id="decentralized-feedback-control">Decentralized Feedback Control</h3>
<p>In this section, \(G(s)\) is a square plant which is to be controlled using a diagonal controller (Fig. <a href="#fig:decentralized_diagonal_control">fig:decentralized_diagonal_control</a>).</p>
<p><a id="org301990a"></a></p>
<figure>
<img src="/ox-hugo/skogestad07_decentralized_diagonal_control.png"
alt="Figure 62: Decentralized diagonal control of a \(2 \times 2\) plant"/> <figcaption>
<p>Figure 62: Decentralized diagonal control of a \(2 \times 2\) plant</p>
</figcaption>
</figure>
<p>The design of <strong>decentralized diagonal control systems</strong> involves two steps:</p>
<ol>
<li>The choice of pairing (control configuration selection)</li>
<li>The design of each controller \(k_i(s)\)</li>
</ol>
<p>\[ K(s) = \text{diag}\{k_i(s)\} = \begin{bmatrix}
k_1(s) &amp; &amp; &amp; \\\<br>
&amp; k_2(s) &amp; &amp; \\\<br>
&amp; &amp; \ddots &amp; \\\<br>
&amp; &amp; &amp; k_m(s)
\end{bmatrix} \]</p>
<h4 id="notations-for-decentralized-diagonal-control">Notations for decentralized diagonal control</h4>
<p>\(G(s)\) denotes a square \(m \times m\) plant with elements \(g_{ij}\).
\(G^{ij}(s)\) denotes the remaining \((m-1) \times (m-1)\) plant obtained by removing row \(i\) and column \(j\) in \(G(s)\).
We introduce:
\[ \tilde{G} \triangleq \text{diag}\{g_{ii}\} = \begin{bmatrix}
g_{11} &amp; &amp; &amp; \\\<br>
&amp; g_{22} &amp; &amp; \\\<br>
&amp; &amp; \ddots &amp; \\\<br>
&amp; &amp; &amp; g_{mm} \\\<br>
\end{bmatrix} \]
The loop transfer function in loop \(i\) is denoted \(L_i = g_{ii} k_i\).</p>
<h4 id="rga-as-a-measure-of-the-interaction-for-decentralized-control">RGA as a Measure of the Interaction for Decentralized Control</h4>
<p>Let \(u_j\) and \(y_i\) denote a particular input and output for the multivariable plant \(G(s)\) and assume that our task is to use \(u_j\) to control \(y_i\).
There are two extreme cases:</p>
<ul>
<li><strong>Other loops open</strong>: \(u_k = 0, \forall k \neq j\)</li>
<li><strong>Other loops closed</strong>: \(y_k = 0, \forall k \neq i\).
It is assumed that the other loop are closed with perfect control which is a good approximation at frequencies within the bandwidth of each loop</li>
</ul>
<p>We now evaluate the effect \(\partial y_i / \partial u_j\) for the two cases:</p>
<p>\begin{subequations}
\begin{align}
&amp; \left( \frac{\partial y_i}{\partial u_j} \right)_{u_k = 0, k \neq j} = g_{ij} = [G]_{ij}\\\<br>
&amp; \left( \frac{\partial y_i}{\partial u_j} \right)_{y_k = 0, k \neq i} \triangleq \hat{g}_{ij} = 1/[G^{-1}]_{ji}
\end{align}
\end{subequations}</p>
<p>The ratio between the gains corresponding the two extreme cases is a useful <strong>measure of interactions</strong> and is defined as the \(ij\text{&lsquo;th}\) <strong>relative gain</strong>:</p>
<p>\begin{equation}
\tcmbox{\lambda_{ij} \triangleq \frac{g_{ij}}{\hat{g}_{ij}} = [G]_{ij}[G^{-1}]_{ji}}
\end{equation}</p>
<p>The <strong>Relative Gain Array</strong> (RGA) is the corresponding matrix of relative gains:</p>
<p>\begin{equation}
\tcmbox{\Lambda(G) = G \times (G^{-1})^T}
\end{equation}</p>
<p>where \(\times\) denotes element-by-element multiplication.</p>
<div class="cbox">
<div></div>
<p>Intuitively, we would like to pair variables \(u_j\) and \(y_i\) so that \(\lambda_{ij}\) is close to \(1\), because this means that the gain from \(u_j\) to \(y_i\) is unaffected by closing the other loops.
More precisely, we would like to pair such that the rearranged system, with the pairings along the diagonal, has a RGA matrix close to identity.</p>
</div>
<h4 id="factorization-of-sensitivity-function">Factorization of Sensitivity Function</h4>
<p>The magnitude of the off-diagonal elements in \(G\) (the interactions) relative to its diagonal elements are given by the matrix</p>
<p>\begin{equation}
E \triangleq (G - \tilde{G})\tilde{G}^{-1}
\end{equation}</p>
<p>An important relationship for decentralized control is:</p>
<p>\begin{equation}
\tcmbox{\underbrace{(I + G K)}_{\text{overall}} = \underbrace{(I + E \tilde{T})}_{\text{interactions}} \quad \underbrace{(I + \tilde{G} K)}_{\text{individual loops}}}
\end{equation}</p>
<p>or equivalently in terms of the sensitivity function:</p>
<p>\begin{equation}
\tcmbox{S = \tilde{S} (I + E \tilde{T})^{-1}}
\end{equation}</p>
<p>with</p>
<p>\begin{align*}
\tilde{S} &amp;\triangleq (I + \tilde{G}K)^{-1} = \text{diag}\left\{\frac{1}{1 + g_{ii} k_i}\right\} \\\<br>
\tilde{T} &amp;= I - \tilde{S}
\end{align*}</p>
<p>which contain the sensitivity and complementary sensitivity functions for the individual loops.
Note that \(\tilde{S}\) is not equal to the matrix of diagonal elements of \(S\).</p>
<h4 id="stability-of-decentralized-control-systems">Stability of Decentralized Control Systems</h4>
<p>Consider a \(m \times m\) plant with single-loop controllers.
There are \(m!\) alternative pairings possible.
Thus tools are needed for quickly evaluating alternative pairings.
In this section, we first derive <strong>sufficient conditions for stability</strong> which may be used to select promising pairings.
We then derive <strong>necessary conditions for stability</strong> which may be used to eliminate undesirable pairings.</p>
<h5 id="sufficient-conditions-for-stability">Sufficient conditions for stability</h5>
<p>For decentralized diagonal control, it is desirable that the system can be tuned and operated one loop at a time.
Assume therefore that \(G\) is stable and each individual loop is stable by itself (\(\tilde{S}\) and \(\tilde{T}\) are stable).
Using the <strong>spectral radius condition</strong> on the factorized \(S\) in \eqref{eq:S_factorization}, we have that the overall system is stable (\(S\) is stable) if</p>
<p>\begin{equation}
\rho(E\tilde{T}(j\omega)) &lt; 1, \forall\omega
\end{equation}</p>
<p><strong>Sufficient conditions in terms of \(E\)</strong>.
Assume \(G\) is stable and that the individual loops are stable (\(\tilde{T}\) is stable).
The least conservative approach is to use \(\rho(E\tilde{T}) \leq \mu(E) \maxsv(\tilde{T})\).
Then the entire system is closed-loop stable (\(T\) is stable) if</p>
<p>\begin{equation}
\tcmbox{\maxsv(\tilde{T}) = \max_i |\tilde{t}_i| &lt; 1 / \mu(E) \quad \forall\omega}
\end{equation}</p>
<p>\(\mu(E)\) is called the <strong>structured singular value interaction measure</strong>, and is computed with respect to the diagonal structure of \(\tilde{T}\) where we may view \(\tilde{T}\) as the &ldquo;design uncertainty&rdquo;.</p>
<p>We usually would like to use integral action in the loops, that is we want \(\tilde{T} \approx I\) at low frequencies, i.e. \(\maxsv(\tilde{T}) \approx 1\).
Thus, we prefer pairings for which we have \(\mu(E) &lt; 1\) at low frequencies where we have tight control.
This ensures a &ldquo;generalized diagonal dominance&rdquo;.<br /></p>
<p><strong>Sufficient conditions in terms of RGA</strong>.
Suppose the plant \(G(s)\) is stable. If the RGA-matrix \(\Lambda(G) = I\ \forall\omega\) (which can only arise for a triangular plant \(G(s)\)), then stability of each of the individual loops implies stability of the entire system.</p>
<p>In most cases, it is sufficient for overall stability to require that \(G(j\omega)\) is close to triangular (or \(\Lambda(G) \approx I\)) at crossover frequencies.
This gives the &ldquo;first pairing rule&rdquo;.</p>
<div class="cbox">
<div></div>
<p>To achieve stability with decentralized control, prefer pairings such that at frequencies \(\omega\) around crossover, the rearranged matrix \(G(j\omega)\) (with the paired elements along the diagonal) is close to triangular.
This is equivalent to requiring \(\Lambda(G(j\omega)) \approx I\), i.e. the RGA-number \(\|\Lambda(G(j\omega)) - I\|_\text{sum}\) should be small.</p>
</div>
<h5 id="necessary-steady-state-conditions-for-stability">Necessary steady-state conditions for stability</h5>
<p>A desirable property of a decentralized control system is that it has <strong>integrity</strong>, i.e. the closed loop system should remain stable as subsystem controllers are brought in and out of service.
Mathematically, the system possesses integrity if it remains stable when the controller \(K\) is replace by \(\mathbb{E}K\) where \(\mathbb{E} = \text{diag}\{\epsilon_i\}, \ \epsilon_i=0,1\).<br /></p>
<p>An even stronger requirement is that the system remains stable as the gain in various loops are reduced: \(0 \le \epsilon_i \le 1\).</p>
<div class="cbox">
<div></div>
<p>The plant \(G(s)\) (corresponding to a given pairing with the paired elements along its diagonal) is <strong>Decentralized Integral Controllability</strong> (DIC) if there exists a stabilizing decentralized controller with <strong>integral action in each loop</strong> such that each individual loop may be detuned independently by a factor \(\epsilon_1\) (\(0 \le \epsilon_i \le 1\)) without introducing instability.</p>
</div>
<p><strong>Steady-State RGA and DIC</strong>.
Consider a stable square plant \(G\) and a diagonal controller \(K\) with integral action in all elements, and assume that the loop transfer function \(GK\) is strictly proper.
If a pairing of outputs and manipulated inputs corresponds to a <strong>negative steady-state relative gain</strong>, then the closed-loop system has at least one of the following properties:</p>
<ul>
<li>The overall closed-loop system is unstable</li>
<li>The loop with the negative relative gain is unstable by itself</li>
<li>The closed-loop system is unstable if the loop with the negative relative gain is opened</li>
</ul>
<p>This can be summarized as follows:</p>
<div class="cbox">
<div></div>
<p>\begin{equation}
\begin{aligned}
&amp;\text{A stable (reordered) plant } G(s)\\\<br>
&amp;\text{is DIC only if } \lambda_{ii}(0) \ge 0 \text{ for all } i
\end{aligned}
\end{equation}</p>
</div>
<h4 id="the-rga-and-rhp-zeros-further-reasons-for-not-pairing-on-negative-rga-elements">The RGA and RHP-zeros: Further reasons for not pairing on negative RGA elements</h4>
<p>With decentralized control, we usually design and implement the controller by tuning and closing one loop at a time in a sequential manner.
Assume that we pair on a negative steady-state RGA-element, \(\lambda_{ij}(0) &lt; 0\), assume that \(\lambda_{ij}(\infty)\) is positive, and assume that the element \(g_{ij}\) has no RHP-zero.
We have the following implications:</p>
<ul>
<li>If we start by closing the loop involving input \(u_i\) and \(y_j\), then we will get a RHP-zero in \(G^{ij}(s)\) which will limit the performance in the other outputs</li>
<li>If we end by closing this loop, then we will get a RHP-zero in \(\hat{g}_{ij}(s)\) which will limit the performance in output \(y_i\)</li>
</ul>
<div class="cbox">
<div></div>
<p>For a stable plant, avoid pairings that corresponds to negative steady-state RGA-elements \(\lambda_{ij}(0) &lt; 0\)</p>
</div>
<div class="cbox">
<div></div>
<p>\begin{align*}
G(0) &amp;= \begin{bmatrix}
10.2 &amp; 5.6 &amp; 1.4 \\\<br>
15.5 &amp; -8.4 &amp; -0.7 \\\<br>
18.1 &amp; 0.4 &amp; 1.8
\end{bmatrix} \\\<br>
\Lambda(0) &amp;= \begin{bmatrix}
0.96 &amp; 1.45 &amp; -1.41 \\\<br>
0.94 &amp; -0.37 &amp; 0.43 \\\<br>
-0.90 &amp; -0.07 &amp; 1.98
\end{bmatrix}
\end{align*}</p>
<p>For a \(3 \times 3\) plant there are 6 alternative pairings.
From the steady state RGA, we see that there is only one positive element in columns 2, and only positive element in row 3, and therefore there is only on possible pairing if we require DIC:
\[ u_1 \leftrightarrow y_2,\ u_2 \leftrightarrow y_1,\ u_3 \leftrightarrow y_3 \]</p>
</div>
<div class="cbox">
<div></div>
<p>\begin{align*}
G(s) &amp;= \frac{-s + 1}{(5 s + 1)^2} \begin{bmatrix}
1 &amp; 4 &amp; -26 \\\<br>
6.2 &amp; 1 &amp; -26 \\\<br>
1 &amp; 1 &amp; 1
\end{bmatrix}\\\<br>
\Lambda(G) &amp;= \begin{bmatrix}
1 &amp; 5 &amp; -5 \\\<br>
-5 &amp; 1 &amp; 5 \\\<br>
5 &amp; -5 &amp; 1
\end{bmatrix}
\end{align*}</p>
<p>Only two of the six possible pairings gives positive steady-state RGA-elements: the diagonal pairing on all \(\lambda_{ii} = 1\) or the pairing on all \(\lambda_{ii} = 5\).
Intuitively, one may expect pairing with \(\lambda_{ii} = 1\) since it corresponds to pairing on RGA-elements equal to \(1\).
However, the RGA matrix is far from identify, and the RGA-number \(\| \Lambda - I \|_\text{sum} = 30\) for both alternative.
Thus none of the two alternatives satisfy <em>Pairing Rule 1</em>, and decentralized control should not be used for this plant.</p>
</div>
<h4 id="performance-of-decentralized-control-systems">Performance of Decentralized Control Systems</h4>
<p>To study performance, we use the following factorization</p>
<p>\begin{equation}
S = (I + \tilde{S}(\Gamma - I)^{-1}) \tilde{S} \Gamma
\end{equation}</p>
<p>where \(\Gamma\) is the <strong>Performance Relative Gain Array</strong> (PRGA)</p>
<p>\begin{equation}
\tcmbox{\Gamma(s) \triangleq \tilde{G}(s) G^{-1}(s)}
\end{equation}</p>
<p>which is a scaled inverse of the plant.<br /></p>
<p>At frequencies where feedback is effective (\(\tilde{S} \approx 0\)), \(S \approx \tilde{S} \Gamma\) which shows that \(\Gamma\) is important when evaluating performance with decentralized control.<br /></p>
<p>Note that the diagonal elements of the PRGA-matrix are equal to the diagonal elements of the RGA and that the off-diagonal elements of the PRGA depend on the relative scaling on the outputs which is not the case for the RGA.<br /></p>
<p>We will also use the related <strong>Closed-Loop Disturbance Gain</strong> (CLDG) matrix:</p>
<p>\begin{equation}
\tcmbox{\tilde{G}_d(s) \triangleq \Gamma(s)G_d(s) = \tilde{G}(s) G^{-1}(s) G_d(s)}
\end{equation}</p>
<p>which depends on both output and disturbance scaling.<br /></p>
<p>Suppose the system has been scaled such that:</p>
<ul>
<li>Each disturbance magnitude is less than \(1\), \(|d_k| &lt; 1\)</li>
<li>Each reference change is less than the corresponding diagonal element in \(R\), \(|r_j| &lt; R_j\)</li>
<li>For each output the acceptable control error is less than \(1\), \(|e_i| &lt; 1\)</li>
</ul>
<h5 id="single-disturbance">Single disturbance</h5>
<p>Consider a single disturbance, in which case \(G_d\) is a vector, and let \(g_{di}\) denote the \(i\text{&lsquo;th}\) element of \(G_d\).
Let \(L_i = g_{ii} k_i\) denote the loop transfer function in loop \(i\).
Consider frequencies where feedback is effective so \(\tilde{S}\Gamma\) is small.
Then for <strong>acceptable disturbance rejection</strong> (\(|e_i| &lt; 1\)) we must with decentralized control required for each loop \(i\)</p>
<p>\begin{equation}
\tcmbox{|1 + L_i| &gt; |\tilde{g}_{di}| \quad \forall i}
\end{equation}</p>
<p>which is the same as the SISO-condition except that \(G_d\) is replaced by the CLDG.
In words, \(\tilde{g}_{di}\) gives the &ldquo;apparent&rdquo; disturbance gain as seen from the loop \(i\) when the system is controlled using decentralized control.</p>
<h5 id="single-reference-change">Single reference change</h5>
<p>Consider a change in reference for output \(j\) of magnitude \(R_j\).
Consider frequencies where feedback is effective.
Then for <strong>acceptable reference tracking</strong> (\(|e_i|&lt;1\)) we must require for each loop \(i\)</p>
<p>\begin{equation}
\tcmbox{|1 + L_i| &gt; |\gamma_{ij}| \cdot |R_j| \quad \forall i}
\end{equation}</p>
<p>which is the same as the SISO-condition except for the PRGA-factor \(|\gamma_{ij}|\).</p>
<p>Consequently, for performance it is desirable to have small elements in \(\Gamma\), at least at frequencies where feedback is effective.
However, at frequencies close to crossover, stability is the main issue and since the diagonal elements of the PRGA and RGA are equal, we usually prefer to have \(\gamma_{ii}\) close to \(1\).</p>
<h4 id="summary-controllability-analysis-for-decentralized-control">Summary: Controllability Analysis for Decentralized Control</h4>
<p>When considering decentralized diagonal control of a plant, one should first check that the plant is controllable with any controller.
The next step is to compute the RGA matrix as a function of frequency, and to determine if one can find a good set of input-output pairs bearing in mind the following:</p>
<ol>
<li>Prefer pairings which have the <strong>RGA-matrix close to identity at frequencies around crossover</strong>, i.e. the RGA-number \(\|\Lambda(j\omega)-I\|\) should be small</li>
<li>Avoid a pairing \(ij\) with negative steady-state RGA elements \(\lambda_{ij}(G(0)\)</li>
<li>Prefer a pairing \(ij\) where \(g_{ij}(s)\) puts minimal restrictions on the achievable bandwidth.
Specifically, the frequency \(\omega_{uij}\) where \(\angle g_{ij}(j\omega_{uij}) = \SI{-180}{\degree}\) should be as large as possible
This rule favors parings on variables &ldquo;close to each other&rdquo;</li>
</ol>
<p>When a reasonable choice of pairings have been made, one should rearrange \(G\) to have the <strong>paired elements along the diagonal</strong> and perform a <strong>controllability analysis</strong>:</p>
<ol class="org-ol">
<li value="4">Compute the CLDG and PRGA, and plot these as a function of frequency</li>
<li>For systems with many loops, it is best to perform the analysis one loop at the time, that is, for each loop \\(i\\), plot \\(|\tilde{g}\_{dik}|\\) for each disturbance \\(k\\) and plot \\(|\gamma\_{ij}|\\) for each reference \\(j\\).
For performance, we need \\(|1 + L\_i|\\) to be larger than each of these:
<p>\begin{equation}
|1 + L_i| &gt; \max_{k,j}\{|\tilde{g}_{dik}|, |\gamma_{ij}|\}
\end{equation}</p>
<p>To achieve stability of the individual loops, one must analyze \(g_{ii}(s)\) to ensure that the bandwidth required by \eqref{eq:decent_contr_one_loop} is achievable.
Note that RHP-zeros in the diagonal elements may limit achievable decentralized control, whereas they may not pose any problems for a multivariable controller.
Since with decentralized control, we usually want to use simple controllers, the achievable bandwidth in each loop will be limited by the frequency where \(\angle g_{ii}\) is \(\SI{-180}{\degree}\)</li></p>
<li>Check for constraints by considering the elements of \\(G^{-1} G\_d\\) and make sure that they do not exceed one in magnitude within the frequency range where control is needed.
Equivalently, one may for each loop \\(i\\), plot \\(|g\_{ii}|\\) and the requirement is then that
<p>\begin{equation}
|g_{ii}| &gt; |\tilde{g}_{dik}| \quad \forall k
\end{equation}</p>
<p>at frequencies where \(|\tilde{g}_{dik}|\) is larger than \(1\).
This provides a direct generalization of the requirement \(|G| &gt; |G_d|\) for SISO systems.</li></p>
</ol>
<p>If the plant is not controllable, then one may consider another choice of pairing and go back to Step 4.
If one still cannot find any pairing which are controllable, then one should consider multivariable control.</p>
<ol class="org-ol">
<li value="7">If the chosen pairing is controllable, then \eqref{eq:decent_contr_one_loop} tells us how large \\(|L\_i| = |g\_{ii} k\_i|\\) must be.
This can be used as a basis for designing the controller \\(k\_i(s)\\) for loop \\(i\\)</li>
</ol>
<h4 id="sequential-design-of-decentralized-controllers">Sequential Design of Decentralized Controllers</h4>
<p>Usually the local controllers \(k_i(s)\) are designed locally and then all the loops are closed.
One problem with this is that the <strong>interactions</strong> may cause the overall system \(T\) so be unstable, even though the local loops \(\tilde{T}\) are stable.
This will not happen if the plant is <strong>diagonally dominant</strong>, such that we satisfy, for example \(\maxsv(\tilde{T}) &lt; 1/\mu(E)\).<br /></p>
<p>The stability problem is avoided if the controllers are <strong>designed sequentially</strong> when, for example, the bandwidths of the loops are quite different.
In this case, the outer loops are tuned with the inner loops in place, and each step may be considered as a SISO control problem.
In particular, overall stability is determined by \(m\) SISO stability conditions.
However, the issue of performance is more complicated because the closing of a loop may cause &ldquo;disturbances&rdquo; (interactions) into a previously designed loop.
The engineer must then go back and redesign a loop that has been designed earlier.
Thus sequential design may involve many iterations.</p>
<h4 id="conclusion-on-decentralized-control">Conclusion on Decentralized Control</h4>
<p>A number of <strong>conditions for the stability</strong>, e.g. \eqref{eq:decent_contr_cond_stability} and \eqref{eq:decent_contr_necessary_cond_stability}, and <strong>performance</strong>, e.g. \eqref{eq:decent_contr_cond_perf_dist} and \eqref{eq:decent_contr_cond_perf_ref}, of decentralized control systems have been derived.</p>
<p>The conditions may be useful in <strong>determining appropriate pairings of inputs and outputs</strong> and the <strong>sequence in which the decentralized controllers should be designed</strong>.</p>
<p>The conditions are also useful in an <strong>input-output controllability analysis</strong> for determining the viability of decentralized control.</p>
<h2 id="model-reduction">Model Reduction</h2>
<p><a id="org7648c32"></a></p>
<h3 id="introduction">Introduction</h3>
<p>Modern controller design methods such as \(\mathcal{H}_\infty\) and LQG, produce controllers of order at least equal to that of the plant, and usually higher because of the inclusion of weights.
These control laws may be <strong>too complex</strong> with regards to <strong>practical implementation</strong> and simpler designs are then sought.
For this purpose, one can <strong>either reduce the order of the plant model prior to controller design, or reduce the controller in the final stage</strong>.<br /></p>
<div class="cbox">
<div></div>
<p>Given a high-order linear time-invariant stable model \(G\), find a low-order approximation \(G_a\) such that the infinity (\(\mathcal{H}_\infty\) or \(\mathcal{L}_\infty\)) norm of the difference \(\|G - G_a\|_\infty\) is small.</p>
</div>
<p>By model order, we mean the dimension of the state vector in a minimal realization.
This is sometimes called the <strong>McMillan degree</strong>.<br /></p>
<p>So far we have only been interested in the infinity (\(\mathcal{H}_\infty\)) norm of stable systems.
But the error \(G-G_a\) may be unstable and <strong>the definition of the infinity norm needs to be extended to unstable systems</strong>.</p>
<div class="cbox">
<div></div>
<p>\(\mathcal{L}_\infty\) defines the set of rational functions which have no poles on the imaginary axis, it includes \(\mathcal{H}_\infty\), and its norm (like \(\mathcal{H}_\infty\)) is given by</p>
<p>\begin{equation}
\|G\|_\infty = \sup_\omega \maxsv(G(j\omega))
\end{equation}</p>
</div>
<p>We will describe three main methods for this problem:</p>
<ul>
<li><strong>Balanced truncation</strong></li>
<li><strong>Balanced residualization</strong></li>
<li><strong>Optimal Hankel norm approximation</strong></li>
</ul>
<p>Each method gives a <strong>stable approximation</strong> and a <strong>guaranteed bound on the error in the approximation</strong>.
We will further show how the methods can be employed to reduce the order of an <strong>unstable</strong> model \(G\).</p>
<p>All these methods start from a special state-space realization of \(G\) referred to as <strong>balanced</strong>.
We will describe this realization, but first we will show how the techniques of truncation and residualization can be used to remove the high frequency or fast modes of a state-space realization.</p>
<h3 id="truncation-and-residualization">Truncation and Residualization</h3>
<p>Let \((A,B,C,D)\) be a minimal realization of a stable system \(G(s)\), and partition the state vector \(x\), of dimension \(n\), into \(\colvec{x_1 \ x_2}\) where \(x_2\) is the vector of \(n-k\) states we wish to remove.
With approximate partitioning of \(A\), \(B\) and \(C\), the state space equations become</p>
<p>\begin{equation}
\begin{aligned}
\dot{x}_1 &amp;= A_{11} x_1 + A_{12} x_2 + B_1 u \\\<br>
\dot{x}_2 &amp;= A_{21} x_1 + A_{22} x_2 + B_2 u \\\<br>
y &amp;= C_1 x_1 + C_2 x_2 + D u
\end{aligned}
\end{equation}</p>
<h4 id="truncation">Truncation</h4>
<p>A k-th order truncation of the realization \(G \triangleq (A, B, C, D)\) is given by \(G_a \triangleq (A_{11}, B_1, C_1, D)\).
The truncated model \(G_a\) is equal to \(G\) at infinite frequency \(G(\infty) = G_a(\infty) = D\), but apart from this, we cannot say anything for the general case about the relationship between \(G\) and \(G_a\).<br /></p>
<p>If however, \(A\) is in <strong>Jordan form</strong>, then it is easy to <strong>order the states</strong> so that \(x_2\) corresponds to <strong>high frequency or fast modes</strong>.</p>
<h5 id="modal-truncation">Modal Truncation</h5>
<p>For simplicity, assume that \(A\) has been diagonalized so that</p>
<p>\begin{align*}
A &amp;= \begin{bmatrix}
\lambda_1 &amp; 0 &amp; \dots &amp; 0 \\\<br>
0 &amp; \lambda_2 &amp; \dots &amp; 0 \\\<br>
\vdots &amp; \vdots &amp; \ddots &amp; \vdots \\\<br>
0 &amp; 0 &amp; \dots &amp; \lambda_n \\\<br>
\end{bmatrix},\quad B = \begin{bmatrix}
b_1^T \ b_2^T \ \vdots \ b_n^T
\end{bmatrix} \\\<br>
C &amp;= \begin{bmatrix}
c_1, c_2, \dots, c_n
\end{bmatrix}
\end{align*}</p>
<p>Then, if the \(\lambda_i\) are ordered so that \(|\lambda_1| &lt; |\lambda_2| &lt; \dots\), the fastest modes are removed from the model after truncation.
The difference between \(G\) and \(G_a\) following a k-th order model truncation is given by
\[ G - G_a = \sum_{i = k+1}^n \frac{c_i b_i^T}{s - \lambda_i} \]
and therefore</p>
<p>\begin{equation}
\| G - G_a \|_\infty \le \sum_{i = k+1}^n \frac{\maxsv(c_i b_i^t)}{|\text{Re}(\lambda_i)|}
\end{equation}</p>
<p>It is interesting to note that the error depends on the residues \(c_i b_i^T\) as well as the \(\lambda_i\).
The distance of \(\lambda_i\) from the imaginary axis is therefore not a reliable indicator of whether the associated mode should be included in the reduced order model or not.<br /></p>
<p>An advantage of modal truncation is that the poles of the truncated model are a subset of the poles of the original model and therefore <strong>retain any physical interpretation</strong> they might have.</p>
<h4 id="residualization">Residualization</h4>
<p>In truncation, we discard all the states and dynamics associated with \(x_2\).
Suppose that instead of this, we simply set \(\dot{x}_2 = 0\), i.e. we residualize \(x_2\), in the state-space equations.
One can then solve for \(x_2\) in terms of \(x_1\) and \(u\), and back substitution of \(x_2\), then gives</p>
<p>\begin{align*}
\dot{x}_1 &amp;= (A_{11} - A_{12} A_{22}^{-1} A_{21}) x_1 + (B_1 - A_{12} A_{22}^{-1} B_2) u \\\<br>
y &amp;= (C_1 - C_2 A_{22}^{-1} A_{21}) x_1 + (D - C_2 A_{22}^{-1} B_2) u
\end{align*}</p>
<p>And let assume \(A_{22}\) is invertible and define</p>
<p>\begin{alignat*}{3}
&amp;A_r \triangleq A_{11} - A_{12}A_{22}^{-1}A_{21} &amp; &amp; \quad B_r \triangleq B_1 - A_{12}A_{22}^{-1}B_2\\\<br>
&amp;C_r \triangleq C_1 - C_2A_{22}^{-1}A_{21} &amp; &amp; \quad D_r \triangleq D - C_2A_{22}^{-1}B_2
\end{alignat*}</p>
<p>The reduced order model \(G_a(s) = (A_r, B_r, C_r, D_r)\) is called a <strong>residualization</strong> of \(G(s) = (A, B, C, D)\).
Usually \((A, B, C, D)\) will have been put into <strong>Jordan form</strong>, with the eigenvalues ordered so that \(x_2\) contains the fast modes.<br /></p>
<p>Model reduction by residualization is then equivalent to singular perturbation approximation, where <strong>the derivatives of the fastest states are allowed to approach zero</strong> with some parameter \(\epsilon\).<br /></p>
<p>An important property of residualization is that <strong>it preserves the steady-state gain of the system</strong>:</p>
<p>\begin{equation}
\tcmbox{G_a(0) = G(0)}
\end{equation}</p>
<p>This should be no surprise since the residualization process sets derivatives to zero, which are zero anyway at steady-state.
But it is in stark contrast to truncation which retains the system behavior at infinite frequency.
This contrast between truncation and residualization follows from the simple bilinear relationship \(s \to \frac{1}{s}\) which relates the two.<br /></p>
<p>It is clear that <strong>truncation is to be preferred when accuracy is required at high frequencies</strong>, whereas <strong>residualization is better for low frequency modelling</strong>.<br /></p>
<p>Both methods depend to a large extent on the original realization and we have suggested to use of the Jordan form.
A better realization, with many useful properties, is the <strong>balanced realization</strong>.</p>
<h3 id="balanced-realization">Balanced Realization</h3>
<p>A balanced realization is an asymptotically stable minimal realization in which the <strong>controllability and observability Gramiams are equal and diagonal</strong>.<br /></p>
<p>Let \((A,B,C,D)\) be a minimal realization of a stable, rational transfer function \(G(s)\), then \((A,B,C,D)\) is called <strong>balanced</strong> if the solutions to be following Lyapunov equations</p>
<p>\begin{subequations}
\begin{align}
AP + PA^T + BB^T &amp;= 0 \\\<br>
A^TQ + QA + C^TC &amp;= 0
\end{align}
\end{subequations}</p>
<p>are \(P = Q = \text{diag}(\sigma_1, \sigma_2, \dots, \sigma_n) \triangleq \Sigma\), where \(\sigma_1 \ge \sigma_2 \ge \dots \ge \sigma_n &gt; 0\).
\(P\) and \(Q\) are the <strong>controllability and observability Gramiams</strong>, also defined by</p>
<p>\begin{subequations}
\begin{align}
P &amp;\triangleq \int_0^\infty e^{At} B B^T e^{A^Tt} dt \\\<br>
Q &amp;\triangleq \int_0^\infty e^{A^Tt} C^T C e^{At} dt
\end{align}
\end{subequations}</p>
<p>\(\Sigma\) is therefore simply referred to as the Gramiam of \(G(s)\).
The \(\sigma_i\) are the <strong>ordered Hankel singular values</strong> of \(G(s)\), more generally defined as \(\sigma_i \triangleq \lambda_i^{\frac{1}{2}}(PQ)\), \(i = 1, \dots, n\).
Notice that \(\sigma_1 = \|G\|_H\) is the Hankel norm of \(G(s)\).<br /></p>
<p>In balanced realization the value of each \(\sigma_i\) is associated with a state \(x_i\) of the balanced system.</p>
<div class="cbox">
<div></div>
<p>The size of \(\sigma_i\) is a relative measure of the contribution that \(x_i\) makes to the input-output behavior of the system.</p>
</div>
<p>Therefore if \(\sigma_1 \gg \sigma_2\), then the state \(x_1\) affects the input-output behavior much more than \(x_2\), or indeed any other state because of the ordering of the \(\sigma_i\).<br /></p>
<p>After balancing a system, each state is just as controllable as it is observable, and a measure of a state&rsquo;s joint observability and controllability is given by its associated Hankel singular value.
This property is fundamental to the model reduction methods in the remainder of this chapter which work by removing states having little effect on the system&rsquo;s input-output behavior.</p>
<h3 id="balanced-truncation-and-balanced-residualization">Balanced Truncation and Balanced Residualization</h3>
<p>Let the balanced realization \((A,B,C,D)\) of \(G(s)\) and the corresponding \(\Sigma\) be partitioned compatibly as</p>
<p>\begin{equation}
\begin{aligned}
A &amp;= \begin{bmatrix}
A_{11} &amp; A_{12} \\\<br>
A_{21} &amp; A_{22}
\end{bmatrix}, \quad B = \begin{bmatrix}
B_1 \ B_2
\end{bmatrix} \\\<br>
C &amp;= \begin{bmatrix}
C_1 &amp; C_2
\end{bmatrix}, \quad \Sigma = \begin{bmatrix}
\Sigma_1 &amp; 0 \\\<br>
0 &amp; \Sigma_2
\end{bmatrix}
\end{aligned}
\end{equation}</p>
<p>where</p>
<p>\begin{align*}
\Sigma_1 &amp;= \text{diag}(\sigma_1, \sigma_2, \dots, \sigma_k)\\\<br>
\Sigma_2 &amp;= \text{diag}(\sigma_{k+1}, \sigma_{k+2}, \dots, \sigma_n),\ \sigma_k &gt; \sigma_{k+1}
\end{align*}</p>
<h5 id="balanced-truncation">Balanced Truncation</h5>
<p>The reduced order model given by \((A_{11},B_1,C_1,D)\) is called a <strong>balanced truncation</strong> of the full order system \(G(s)\).
The idea of balancing truncation is thus to first make a balanced realization of the system and then to discard the states corresponding to small Hankel singular values.</p>
<p>A balanced truncation is also a balanced realization, and the infinity norm of the error between \(G(s)\) and the reduced order system \(G_a(s)\) is bounded by twice the sum of the last \(n-k\) Hankel singular values, i.e. twice the trace of \(\Sigma_2\):</p>
<p>\begin{equation}
\|G(s) - G_a(s)\|_\infty \le 2 \cdot \text{Tr}\big( \Sigma_2 \big)
\end{equation}</p>
<p>For the case of repeated Hankel singular values, each repeated Hankel singular value is to be counted only once in calculating the sum.</p>
<p>Useful algorithms that compute balanced truncations without first computing a balanced realization still require the computation of the observability and controllability Gramiam, which can be a problem if the system to be reduced is of very high order.</p>
<h5 id="balanced-residualization">Balanced Residualization</h5>
<p>In balanced truncation above, we discarded the least controllable and observable states corresponding to \(\Sigma_2\).
In balanced residualization, we simply set to zero the derivatives of all these states.</p>
<h5 id="theorem">Theorem</h5>
<p>Let \(G(s)\) be a stable rational transfer function with Hankel singular values \(\sigma_1 &gt; \sigma_2 &gt; \dots &gt; \sigma_N\) where each \(\sigma_i\) has multiplicity \(r_i\) and let \(G_a^k(s)\) be obtained by truncating or residualizing the balanced realization of \(G(s)\) to the first \((r_1 + r_2 + \dots + r_k)\) states.
Then</p>
<p>\begin{equation}
\|G(s) - G_a^k(s)\|_\infty \le 2(\sigma_{k+1} + \sigma_{k+2} + \dots + \sigma_N)
\end{equation}</p>
<h3 id="optimal-hankel-norm-approximation">Optimal Hankel Norm Approximation</h3>
<p>In this approach to model reduction, the problem that is directly addressed is the following: given a stable model \(G(s)\) of order \(n\), find a reduced order model \(G_h^k(s)\) of degree \(k\) such that the Hankel norm of the approximation error, \(\| G(s) - G_h^k(s) \|_H\), is minimized.</p>
<div class="cbox">
<div></div>
<p>The Hankel norm of any stable transfer function \(E(s)\) is defined as</p>
<p>\begin{equation}
\| E(s) \|_H \triangleq \rho^{\frac{1}{2}} (PQ)
\end{equation}</p>
<p>where \(P\) and \(Q\) are the controllability and observability Gramiams of \(E(s)\).</p>
</div>
<p>So in the optimization we seek an error which is in some sense closest to being completely unobservable and completely uncontrollable.</p>
<p>The infinity norm bound on the approximate error for the optimal Hankel norm approximation is better than for balanced truncation and residualization. This is shown with the following theorem.</p>
<h5 id="theorem">Theorem</h5>
<p>Let \(G(s)\) be a stable, square, transfer function \(G(s)\) with Hankel singular values \(\sigma_1 \ge \sigma_2 \ge \dots \ge \sigma_k \ge \sigma_{k+1} = \sigma_{k+2} = \dots = \sigma_{k+l} &gt; \sigma_{k+l+1} \ge \dots \ge \sigma_n &gt; 0\).
An optimal Hankel norm approximation of order \(k\), \(G_h^k(s)\), can be constructed as follows.</p>
<p>Let \((A,B,C,D)\) be a balanced realization of \(G(s)\) with the Hankel singular values reordered so that the Gramiam matrix is</p>
<p>\begin{align*}
\Sigma &amp;= \text{diag}(\sigma_1,\dots,\sigma_k,\sigma_{k+l+1},\dots,\sigma_n,\sigma_{k+1},\dots,\sigma_{k+l})\\\<br>
&amp;\triangleq \text{diag}(\Sigma_l, \sigma_{k+1}I)
\end{align*}</p>
<p>Partition \((A,B,C,D)\) to conform with \(\Sigma\)
\[ A = \begin{bmatrix} A_{11} &amp; A_{12} \ A_{21} &amp; A_{22} \end{bmatrix},\ B = \begin{bmatrix} B_1 \ B_2 \end{bmatrix},\ C = \begin{bmatrix} C_1 &amp; C_2 \end{bmatrix} \]
Define \((\hat{A},\hat{B},\hat{C},\hat{D})\) by</p>
<p>\begin{subequations}
\begin{align}
\hat{A} &amp;\triangleq \Gamma^{-1} \left( \sigma_{k+1}^2 A_{11}^T + \sigma_1 A_{11} \Sigma_1 - \sigma_{k+1} C_{1}^T U B_{1}^T \right) \\\<br>
\hat{B} &amp;\triangleq \Gamma^{-1} \left( \sigma_1 B_1 + \sigma_{k+1} C_1^T U \right) \\\<br>
\hat{C} &amp;\triangleq C_1 \Sigma_1 + \sigma_{k+1} U B_1^T \\\<br>
\hat{D} &amp;\triangleq D - \sigma_{k+1} U
\end{align}
\end{subequations}</p>
<p>where \(U\) is a unitary matrix satisfying
\[ B_2 = - C_2^T U \ \text{ and } \ \Gamma \triangleq \Sigma_1^2 - \sigma_{k+1}^2 I \]</p>
<p>The matrix \(\hat{A}\) has \(k\) &ldquo;stable&rdquo; eigenvalues; the remaining ones are in the open right-half plane.
Then
\[ G_h^k(s) + F(s) = \left[ \begin{array}{c|cc}
\hat{A} &amp; \hat{B} \ \hline
\hat{C} &amp; \hat{D}
\end{array} \right] \]
where \(G_h^k(s)\) is a stable optimal Hankel norm approximation of order \(k\), and \(F(s)\) is an anti-stable (all poles in the open right-half plane) transfer function of order \(n-k-l\).
The Hankel norm of the error between \(G\) and the optimal approximation \(G_h^k\) is equal to the \((k+1)\text{&lsquo;th}\) Hankel singular value of \(G\):</p>
<p>\begin{equation}
\tcmbox{\| G - G_h^k \|_H = \sigma_{k+1}(G)}
\end{equation}</p>
<h3 id="model-reduction-practical-summary">Model Reduction - Practical Summary</h3>
<h4 id="reduction-of-model">Reduction of model</h4>
<p>Three reduction techniques have been discussed here: balanced residualization, balance truncation and optimal Hankel norm approximation.</p>
<p>It is sometimes desirable to have the steady-state gain of the reduced plant model the same as the full order model.
For instance, this is the case if we want to use feedforward control.
The truncated and optimal Hankel norm approximated systems do not preserve the steady-state gain and they have to be <strong>scaled</strong>, i.e. the model approximation \(G_a\) is replaced by \(G_a W_s\) where \(W_a = G_a(0)^{-1} G(0)\), \(G(s)\) being the full order model.</p>
<p>However, this scaling generally introduced <strong>large model errors at other frequencies</strong>.</p>
<div class="cbox">
<div></div>
<p>Hence <strong>residualization</strong> is to be preferred whenever low frequency matching is desired.</p>
</div>
<h4 id="reduction-of-a-2-degrees-of-freedom-controller">Reduction of a 2 degrees-of-freedom controller</h4>
<p>Let&rsquo;s consider a 2 degrees-of-freedom controller \(K = [K_1\ K_2]\).
In order ensure perfect steady-state tracking, i.e. to match \(T_{\text{ref}}\) at steady-state, a prefilter \(W_i\) is added to scale the controller: \(K = [K_1 W_i\ K_2]\).</p>
<p>There are two approaches for order reduction:</p>
<ol>
<li>the scaled controller \([K_1 W_i\ K_2]\) is reduced.
A balanced residualization of the controller preserves the controller&rsquo;s steady state gain and would not need to be scaled again.
Reductions via truncation and optimal Hankel norm approximation techniques, however, lose the steady-state gain and reduced controllers would need to be re-scaled to match \(T_{\text{ref}}(0)\)</li>
<li>the full order controller \([K_1\ K_2]\) is reduced without first scaling the prefilter.
In which case, scaling is done after reduction.
A larger scaling is generally required for the truncated and optimal Hankel norm approximated controllers and this gives poorer model matching at other frequencies.</li>
</ol>
<p>In both cases, the balanced residualization is preferred.</p>
<h3 id="reduction-of-unstable-models">Reduction of Unstable Models</h3>
<p>Balanced truncation, balanced residualization and optimal Hankel norm approximation only apply to stable models.
In this section we briefly present two approaches for reducing the order of an unstable model.</p>
<h4 id="stable-part-model-reduction">Stable Part Model Reduction</h4>
<p>The unstable model can be first decomposed into its stable and anti-stable parts:</p>
<p>\begin{equation}
G(s) = G_u(s) + G_s(s)
\end{equation}</p>
<p>where \(G_u(s)\) has all its poles in the closed right-half plane and \(G_s(s)\) has all its poles in the open left-half plane.
Balanced truncation, balanced residualization or optimal Hankel norm approximation can then be applied to the stable part \(G_s(s)\) to find a reduced order approximation \(G_{sa}(s)\).
This is then added to the anti-stable part to give</p>
<p>\begin{equation}
G_a(s) = G_u(s) + G_{sa}(s)
\end{equation}</p>
<p>as an approximation to the full order model \(G(s)\).</p>
<h4 id="coprime-factor-model-reduction">Coprime Factor Model Reduction</h4>
<p>The coprime factors of a transfer function \(G(s)\) are stable, and therefore we could reduce the order of these factors using balanced truncation, balanced residualization or optimal Hankel norm approximation:</p>
<ul>
<li>Let \(G(s) = M^{-1}(s) N(s)\), where \(M(s)\) and \(N(s)\) are stable left-coprime factors of \(G(s)\)</li>
<li>Approximate \([N\ M]\) of degree \(n\) by \([N_a \ M_a]\) of degree \(k&lt;n\), using balanced truncation, balanced residualization or optimal Hankel norm approximation</li>
<li>Realize the reduced order transfer function \(G_a(s)\), or degree \(k\), by \(G_a(s) = M_a^{-1}(s) N_a(s)\)</li>
</ul>
<h5 id="theorem">Theorem</h5>
<p>Let \((N,M)\) be a normalized left-coprime factorization of \(G(s)\) of degree \(n\).
Let \([N_a,\ M_a]\) be a degree \(k\) <strong>balanced truncation</strong> of \([N\ M]\) which has Hankel singular values \(\sigma_1 \ge \sigma_2 \ge \dots \ge \sigma_k \ge \sigma_{k+1} \ge \dots \ge \sigma_n &gt; 0\).
Then \((N_a, M_a)\) is a normalized left-coprime factorization of \(G_a = M_a^{-1} N_a\), and \([N_a,\ M_a]\) has Hankel singular values \(\sigma_1, \sigma_2, \dots, \sigma_k\).</p>
<h3 id="conclusion">Conclusion</h3>
<p>We have presented and compared three main methods for model reduction based on balanced realizations: <strong>balanced truncation</strong>, <strong>balanced residualization</strong> and <strong>optimal Hankel norm approximation</strong>.<br /></p>
<p>Residualization, unlike truncation and optimal Hankel norm approximation, preserves the steady-state gain of the system, and like truncation, it is simple and computationally inexpensive.
It is observed that truncation and optimal Hankel norm approximation perform better at high frequencies, where residualization performs better at low and medium frequencies, i.e. up to the critical frequencies.<br /></p>
<p>Thus <strong>for plant model reduction</strong>, where models are not accurate at high frequencies to start with, <strong>residualization would seem to be a better option</strong>.
Further, if the steady state gains are to be kept unchanged, truncated and optimal Hankel norm approximated systems require scaling, which may result in large errors.
In such a case, too, residualization would be preferred choice.<br /></p>
<p>For <strong>controller reduction</strong>, we have shown in a two degrees-of-freedom example, the importance of scaling and steady-state gain matching.</p>
<p>In general, steady-state gain matching may not be crucial, but the matching should usually be good near the desired closed-loop bandwidth.
Balanced residualization has been seen to perform close to the full order system in this frequency range.
Good approximation at high frequencies may also sometimes be desired.
In such a case, using truncation or optimal Hankel norm approximation with appropriate frequency weightings may yield better results.</p>
<h1 id="bibliography">Bibliography</h1>
<p><a id="skogestad07_multiv_feedb_contr"></a>Skogestad, S., &amp; Postlethwaite, I., <em>Multivariable feedback control: analysis and design</em> (2007), : John Wiley. <a href="#ad6f62e369b7a8d31c21671886adec1f"></a></p>
</div>
</article>
</div>
</div>
</main>
<footer id="footer" class="footer">
<div class="social-links">
<a href="mailto:dehaeze.thomas@gmail.com" class="iconfont icon-email" title="email"></a>
<a href="https://github.com/tdehaeze/" class="iconfont icon-github" title="github"></a>
<a href="/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
</div>
<div class="copyright">
<span class="power-by">
Powered by <a class="hexo-link" href="https://gohugo.io">Hugo</a>
</span>
<span class="copyright-year">
&copy;
2020
<span class="heart">
<i class="iconfont icon-heart"></i>
</span>
<span class="author">Thomas Dehaeze</span>
</span>
</div>
</footer>
<div class="back-to-top" id="back-to-top">
<i class="iconfont icon-up"></i>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>
<script type="text/javascript" src="/js/main.4bada4f824623eea2eb7cfd5cf8c1d99c3dd797297e7e8cbc59a41da450bb334.js"></script>
<script type="text/javascript">
window.MathJax = {
loader: {
load: ['[tex]/ams']
},
tex: {
inlineMath: [
['$','$'], ['\\(','\\)']
],
tags: 'ams',
packages: {'[+]': ['ams']},
}
};
</script>
<script async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.2.0/fuse.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js"></script>
<script type="text/javascript" src="/lib/search/search.js"></script>
</body>
</html>