⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 models.tex

📁 由matlab开发的hybrid系统的描述语言
💻 TEX
📖 第 1 页 / 共 2 页
字号:
\chapter{From DHA to Computational Models}\section{DHA and Piecewise Affine Systems}\index{Piecewise Affine Systems}%\index{PWA|see{Piecewise Affine Systems}} This section highlightsthe relationships between the DHA introduced above and the classof Piecewise Affine (PWA) systems~\cite{Son81}.\label{sect:PWA} PWA systems~\cite{HDB01} are defined by partitioningthe state space into polyhedral regions, and associating with eachregion a different linear state-update equation\begin{subequations}\begin{eqnarray}    x'(k)&=&A_{i(k)}x(k)+B_{i(k)}u(k)+f_{i(k)}, \label{PWAa}\\    y(k)&=&C_{i(k)}x(k)+D_{i(k)}u(k)+g_{i(k)}, \label{PWAb}\\           &&i(k)~\mbox{such that}~~H_{i(k)}x(k) + J_{i(k)}u(k)\leq K_{i(k)}, \label{PWAc}\end{eqnarray}%\label{PWA}%\end{subequations}%where $x\in \XX\subseteq\rr^{n}$, $u\in \UU\subseteq\rr^{m}$,$y\in \YY\subseteq\rr^{p}$, $\{H_{i}x + J_{i}u \leq K_{i}\}_{i=1}^{s}$,is a polyhedral partition\footnote{The double definition of thestate-update function over common boundaries of the partition (theboundaries will also be referred to as {\em guardlines}) is atechnical issue that can be resolved by allowing a part of theinequalities in (\ref{PWA}) to be strict. However, from anumerical point of view, this issue is not relevant.} of the set$\XX\times\UU$, the matrices $A_{i}$, $B_{i}$, $f_{i}$, $C_{i}$,$D_{i}$, $g_{i}$, $H_i$, $J_i$, $K_i$ are constant and havesuitable dimensions, the inequality in~(\ref{PWAc}) should beinterpreted componentwise. For PWA systems, well-posedness isdefined similarly to Definition~\ref{def:well-posed}.\begin{definition}Let $\Sigma_1$, $\Sigma_2$ be hybrid models, whose inputs are$u_1(k), u_2(k)\in\UU$, and outputs $y_1(k),y_2(k)\in\YY$,$k\in\Z_{\geq 0}$. Let $x_1(k)\in\XX_1$ be the state of $\Sigma_1$and $x_2(k)\in\XX_2$ the state of $\Sigma_2$, $k\in\Z_{\geq 0}$.The hybrid model $\Sigma_2$ is {\em equivalent} to $\Sigma_1$ on$\XX_1,\UU,\YY$,$\Sigma_{2}\stackrel{\XX_1,\UU,\YY}{\rightsquigarrow}\Sigma_{1}$,if there exists a mapping $T:\XX_1\mapsto \XX_2$ such that for allinitial conditions $x_1(0)\in\XX_1$, and for all$u_1(k)=u_2(k)=u(k)\in\UU$, the output trajectories $y_1(k)$ and$y_2(k)$ coincide and $x_2(k)=Tx_1(k)$ at all steps $k\in\Z_{\geq0}$.\end{definition}\begin{lemma}Let $\Sigma_{\rm PWA}$ be a well-posed PWA model defined on a setof states $\XX\subseteq\rr^n$, a set of inputs$\UU\subseteq\rr^m$, and a set of outputs $\YY\subseteq\rr^p$.Then there exists a well-posed DHA model $\Sigma_{\rm DHA}$ suchthat $\Sigma_{\rm DHA}\stackrel{\XX,\UU,\YY}{\rightsquigarrow}\Sigma_{\rm PWA}$ under the identity statetransformation $T(x)=x$. \label{lemma:DHAPWA}\end{lemma}\noindent\proof Equations~(\ref{PWAa})--(\ref{PWAb}) are the modesof the SAS, the constraints $H_ix + J_iu \le K_i$, $i =1,\ldots,s$ are the defining hyperplanes $f_{\rm H}(\cdot)$ of theEG, and the MS is defined by Equation~(\ref{PWAc}), namely if allthe events associated to the hyperplanes of $H_{j}x + J_{j}u \leK_{j}$ are satisfied then $i(k) = j$. \cvdPWA systems can model a large number of physical processes, suchas systems with static nonlinearities, and can approximatenonlinear dynamics via multiple linearizations at differentoperating points.\section{DHA and Mixed Logical Dynamical Systems}\index{Mixed Logical Dynamical Systems} \index{MLD|see{MixedLogical Dynamical Systems}} This section describes how totransform a DHA into linear mixed integer equations andinequalities, by generalizing several results already appeared inthe literature~\cite{RaGr91,Will93,MLM94,BM99,BTM01a,Hurl01}, andthe equivalence between DHA and Mixed Logical Dynamical (MLD)systems~\cite{BM99}.\subsection{Logical Functions}\label{sec.purelylogic} Boolean functions can be equivalentlyexpressed by inequalities. This technique allows us to translateboth the \hs{LOGIC} and \hs{AUTOMATA} sections of a \hysdel{}model into inequalities.In order to introduce our notation, we recall here some basicdefinitions of Boolean algebra. A variable $X$ is a \emph{Booleanvariable} if $X \in \{0,1\}$. A \emph{Boolean expression} isinductively defined\footnote{In the sake of simplicity we areneglecting precedence.} by the grammar\begin{equation}    \phi ::= X | \lnot \phi_1 | \phi_1 \OR \phi_2 | \phi_1 \oplus \phi_2 | \phi_1 \ANd \phi_2 |    \phi_1 \leftarrow \phi_2 | \phi_1 \rightarrow \phi_2    |\phi_1 \leftrightarrow \phi_2 | (\phi_1)    \label{eq:bf}\end{equation}where $X$ is a Boolean variable, and the logic operators $\lnot$(not), $\OR$ (or), $\ANd$ (and), $\leftarrow$ (implied by),$\rightarrow$ (implies), $\leftrightarrow$ (iff) have the usualsemantics. A Boolean expression is a \emph{conjunctive normalform} (CNF) or \emph{product of sums} if it can be writtenaccording to the following grammar:\begin{eqnarray}    \phi &::=& \psi | \phi \land \psi \\    \psi &::=& \psi_1 \lor \psi_2 | \lnot X | X\end{eqnarray}where $\psi$ are called \emph{terms of the product}, and $X$ arethe \emph{terms of the sum} $\psi$. A CNF is minimal if it has theminimum number of terms of product and each term has the minimumnumber of terms of sum. Every Boolean expression can be rewrittenas a minimal CNF.A Boolean expression $f$ will be also called {\em Booleanfunction} when is used to define a literal $X_n$ as a function of$X_1,\ldots,X_{n-1}$:\begin{equation}    X_n = f(X_1, X_2, \ldots, X_{n-1}){\rm .} \label{eq.ff}\end{equation}More in general, we can define relations among Boolean variables$X_1,\ldots,X_{n}$ through a \emph{Boolean formula}\begin{equation}    F(X_1, \ldots, X_n) = 1{\rm ,} \label{eq.F}\end{equation}where $X_i \in \{0,1\}$, $i=1,\dots,n$. Note that each Booleanfunction is also a Boolean formula, but not vice versa. Booleanformulas can be equivalently translated into a set of integerlinear inequalities. For instance, $X_1\lor X_2=1$ is equivalentto $X_1+X_2\geq 1$~\cite{Will93}. The translation can be performedeither using an {\em symbolical} method or a {\em geometrical}method.\subsubsection{Symbolical Method}The symbolical method consists of first converting (\ref{eq.ff})or (\ref{eq.F}) into CNF, a task that can be performedautomatically by using one of the several techniques available,see e.g. \cite{Mill65,Sasa99}. Let the CNF have the form$\bigwedge_{j=1}^m\left(\bigvee_{i\in P_j}X_i \bigvee\bigvee_{i\inN_j}\NOT X_i\right)$, $N_j,P_j \subseteq \{1,\ldots,n\}~\forallj=1,\ldots,m$. Then, the corresponding set of integer linearinequalities is\begin{equation}  \left\{\ba{l}    1\leq \sum_{i\in P_1}X_i+\sum_{i\in N_1}(1-X_i), \\     \vdots\\    1\leq \sum_{i\in P_m}X_i+\sum_{i\in N_m}(1-X_i){\rm . } \\  \ea\right.    \label{eq:CNFineq}\end{equation}With these inequalities we can define the set $P_{CNF}$ for anyBoolean formula $F$ as:\begin{equation}P_{CNF} = \{ x \in [0,1]^n : (\ref{eq:CNFineq}) \mathrm{ ~ are ~satisfied  ~ with} ~ x = [X_1,\ldots,X_n]^T \}{\rm .}\end{equation}\subsubsection{Geometrical Method} The geometrical methodconsists of two steps (see e.g.~\cite{MiBM99b}). First, the set ofpoints satisfying (\ref{eq.ff}) or (\ref{eq.F}) is computed (forthis reason, the method was also called {\em truth table} methodin~\cite{MiBM99b}). Each row of the truth table is associated witha vertex of the hypercube $\{0,1\}^n$. The vertices are collectedin a set $V$ of {\em valid} points, all the other points$\{0,1\}^n \setminus V$ are called {\em invalid}. The inequalitiesrepresenting the Boolean formula are obtained by computing theconvex hull of $V$, for which several tools are available (seee.g.~\cite{Fuk97}). We therefore define\begin{equation}P_{CH} = \{ x \in [0,1]^n : x \in {\rm conv}(V) \}\end{equation}In general it holds that $P_{CH} \subseteq P_{CNF}$, since ${\rmconv}(V)$ is the smallest set containing all integer feasiblepoints. However, there exist Boolean formulas, for which $P_{CH}\neq P_{CNF}$\footnote{For example $(X_1 \vee X_2) \wedge (X_1\vee X_3) \wedge (X_2 \vee X_3)$.}. Conditions for which$P_{CH}=P_{CNF}$ are currently a topic of research.\subsection{Continuous-Logic Interfaces}\label{sect.cli} Events of the form~(\ref{eq::eventgenerator}) canbe equivalently expressed as\begin{subequations}\beqar        f^i_{\rm H}(x_r(k),u_r(k),k)&\leq& M^i(1-\delta_e^i),\label{eq:ti1}\\

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -