arXiv is now an independent nonprofit! Learn more
License: arXiv.org perpetual non-exclusive license
arXiv:1809.01808v3 [eess.SY] 03 Jun 2019

Security Metrics of Networked Control Systemsfootnoteinfo
(extended preprint)

Carlos Murguia Email: carlos.murguia@unimelb.edu.au    Iman Shames Email: iman.shames@unimelb.edu.au    Justin Ruths Email: jruths@utdallas.edu    Dragan Nešić Email: dnesic@unimelb.edu.au
Abstract

As more attention is paid to security in the context of control systems and as attacks occur to real control systems throughout the world, it has become clear that some of the most nefarious attacks are those that evade detection. The term stealthy has come to encompass a variety of techniques that attackers can employ to avoid being detected. In this manuscript, for a class of perturbed linear time-invariant systems, we propose two security metrics to quantify the potential impact that stealthy attacks could have on the system dynamics by tampering with sensor measurements. We provide analysis mathematical tools (in terms of linear matrix inequalities) to quantify these metrics for given system dynamics, control structure, system monitor, and set of sensors being attacked. Then, we provide synthesis tools (in terms of semidefinite programs) to redesign controllers and monitors such that the impact of stealthy attacks is minimized and the required attack-free system performance is guaranteed.

keywords
Network Control Systems; Model-based fault/attack monitors, Security Metrics, Secure Control, Attacker Capabilities.
thanks: [address: Department of Electrical and Electronic Engineering, University of Melbourne, Australiaaddress: Departments of Mechanical and Systems Engineering, University of Texas at Dallas, USA

footnoteinfo]This paper was not presented at any IFAC meeting. Corresponding author Carlos Murguia.

, , ,

1 Introduction

Recently, there has been significant interest and work in the broad area of security of Networked Control Systems (NCSs), see, e.g., [1, 2, 7, 21, 23, 26, 28, 29, 30, 32, 38]. This topic investigates properties of conventional control systems in the presence of adversarial disturbances. Control theory has shown great ability to robustly deal with disturbances and uncertainties. However, adversarial attacks raise all-new issues due to the aggressive and strategic nature of the disturbances that attackers might inject into the system.
This paper focuses on quantifying and minimizing attacker capabilities in NCSs. A majority of the work on attack detection leverages the established literature of fault detection [7, 9, 22, 32]. A fault detection approach uses an estimator to forecast the evolution of the system dynamics. When the residual (the difference between measurements and their estimates) is larger than a predetermined threshold, an alarm is raised. Arguably the most insidious attacks are those that occur without our knowledge. Fault detectors impose limits on attacks if the attacker aims at avoiding being identified. Beyond retooling these existing methods for the new attack detection context, a fundamental question is: given a chosen fault detection approach, how does this method constrain the influence of an attacker? More specifically, what is an attacker able to accomplish when a system employs certain fault detection procedure?
Different methodologies exist for evaluating the impact of attacks. Most of the existing work uses some measure of state deviation. A number of groups have studied the system response when attacks are constrained by the detector, i.e., they investigate the system trajectories that can be induced due to stealthy attacks – attacks such that the detector threshold is never crossed [8, 12, 14, 16, 28, 31, 32]. In this manuscript, for given system dynamics, we provide mathematical tools for quantifying and minimizing the potential impact of sensor stealthy attacks on the system dynamics. We consider the set of states that stealthy attacks can induce in the system (the attacker’s stealthy reachable set) and use the “size” of this set as a security metric for the NCS. Stealthy reachable sets provide a metric of the system performance degradation induced by stealthy attacks. Because it is not mathematically tractable to compute these sets exactly, we provide analysis tools – in terms of Linear Matrix Inequalities (LMIs) – for computing ellipsoidal outer approximations of the attacker’s reachable sets. The obtained approximations quantify the attacker’s potential impact when it is constrained to stay hidden from the detector. We use the size (in terms of volume) of these ellipsoidal approximations to approximate the proposed security metric. As a second security metric, we propose the minimum distance from the attacker’s reachable set to a possible set of critical states – states that, if reached, compromise the integrity or safe operation of the system. We approximate this distance by the minimum distance between the ellipsoidal approximations and the critical states. This distance gives us intuition on how far the actual attacker’s reachable set is from the critical states. Once we have provided a complete set of analysis tools to approximate the aforementioned security metrics, we use these tools to derive synthesis tools (in terms of semidefinite programs) to redesign controllers and fault detectors such that the impact of stealthy attacks is minimized and the required attack-free system performance is guaranteed.
There are a few results in this direction already; chiefly the work in [27] (and the preliminary paper [26]), where the authors provide a recursive algorithm to compute ellipsoidal approximations of attacker’s reachable sets for Linear Time Invariant (LTI) systems subjected to Gaussian noise. The authors in [27] give analysis-only results for a very particular structure of controllers and fault-detectors. They consider Kalman-filter based fault detectors and use the state of the filter to construct output feedback controllers. Although this results in compact designs of controllers and fault detectors, the flexibility of having dedicated controllers and detectors (mainly for synthesis of secure control systems) is limited. We remark that, in the stochastic setting considered in [27], the detector threshold is always crossed even when there are no attacks. This is due to the infinite support of the Gaussian noise they consider. Thus, they do not consider stealthy attacks in the sense described above. Instead, they consider attacks that increase the alarm rate of the detector by a small amount only. Then, they approximate the attacker’s reachable set corresponding to this small increase.
The main contributions of this manuscript (in contrast to the work in [27]) are the following: 1) we provide a set of mathematical tools in terms of semidefinite programs to approximate reachable sets induced by stealthy attacks for LTI systems driven by peak bounded deterministic perturbations; 2) we provide both analysis and synthesis results for dedicated general dynamic output feedback controllers and observer-based fault detectors; 3) we propose two security metrics to assess the vulnerability of systems to attacks, and optimize these metrics (enhancing thus the system resilience to attacks) by synthesizing optimal controllers and detectors; 4) the synthesis part considers the attack-free performance of the closed-loop dynamics, i.e., we optimize the security metrics subject to certain prescribed attack-free system performance. In our preliminary work [31], we also approximate reachable sets of false-data-injection attacks but we consider the same stochastic framework as the one proposed in [27], i.e., Gaussian noise, joint Kalman-filter based fault detectors and controllers, and attacks increasing the alarm rate of the detector. Thus, the problems considered in this manuscript (and the obtained results) and the ones addressed in [31] are fundamentally different; and the set of results (and the tools used to obtain them) are different too. Moreover, in [31], we consider attacks to all the sensors. Although the latter case provides a worse-case scenario, we lose the capability of quantifying the sensitivity of the system dynamics to attacks on specific sensors. As in [27], the results in [31] mainly focus on analysis (although they hint how to address synthesis for joint Kalman-filter based detectors and controllers).
There are a few other results that considers different security metrics for control systems. All of them are fundamentally different to the work presented here. For instance, in [2, 3], for arbitrary detection procedures, the authors quantify how much the attacker can increase the asymptotic covariance (their security metric) of state estimates while remaining stealthy. They characterize stealthiness using the Kullback-Leibler Divergence [33] between the attack-free and the attacked estimates. In [37, 39], the authors use the notion of security index for LTI systems. This index refers to the smallest number of sensors and actuators that have to be compromised for successfully launching stealthy attacks. For linear stochastic systems, the authors is [24] propose two security metrics: the probability that some of the critical states leave a safety region; and the expected value of the infinity norm of the critical states. Finally, in [25], tools from finance risk theory are used to quantify security of LTI systems.
The remainder of the paper is organized as follows. In Section 2, we present some preliminaries results needed for the subsequent sections. We provide tools for computing outer time-varying bounds on the trajectories of a class of perturbed nonlinear discrete-time systems. Then, we use these tools to obtain outer ellipsoidal approximations of reachable sets of LTI systems driven by multiple peak bounded perturbations. The system dynamics, monitor, and controller descriptions are given in Section 3. Our proposed security metrics and analysis tools, together with some numerical results, are given in Section 4; and the corresponding synthesis results are given in Section 5. Finally, conclusions and recommendations are stated in Section 6.

2 Preliminaries

In this section, we present some preliminary results needed for the subsequent sections. First, in Lemma 1, we present a preliminary tool used to compute outer time-varying bounds on the trajectories of perturbed discrete-time systems. Next, in Proposition 1, we use this lemma to compute outer ellipsoidal approximations of reachable sets of LTI systems driven by multiple peak bounded perturbations.

Lemma 1.

For a given a(0,1)a\in(0,1), if there exist functions aki:(0,1)a^{i}_{k}:{\mathbb{N}}\rightarrow(0,1), i=1,,Ni=1,\ldots,N, and V:nξ0V:{\mathbb{R}}^{n_{\xi}}\rightarrow{\mathbb{R}}_{\geq 0} satisfying i=1Nakia\sum_{i=1}^{N}a^{i}_{k}\geq a and, for all kk\in{\mathbb{N}}, the inequality:

V(ξk+1)aV(ξk)i=1N(1aki)(ωki)TWkiωki0;V(\xi_{k+1})-aV(\xi_{k})-\sum_{i=1}^{N}(1-a^{i}_{k})(\omega^{i}_{k})^{T}W^{i}_{k}\hskip 1.42262pt\omega^{i}_{k}\leq 0; (1)

then, V(ξk)αkV(\xi_{k})\leq\alpha_{k}, where αk:=ak1V(ξ1)+(Na)(1ak1)1a\alpha_{k}:=a^{k-1}V(\xi_{1})+\frac{(N-a)(1-a^{k-1})}{1-a}, and limkV(ζk)Na1a\lim_{k\rightarrow\infty}V(\zeta_{k})\leq\frac{N-a}{1-a}.
Proof: By assumption, (ωki)TWkiωki1(\omega^{i}_{k})^{T}W^{i}_{k}\hskip 1.42262pt\omega^{i}_{k}\leq 1, for i=1,,Ni=1,\ldots,N; then, from (1), we have

V(ξk+1)\displaystyle V(\xi_{k+1}) aV(ξk)+i=1N(1aki)(ωki)TWkiωki1\displaystyle\leq aV(\xi_{k})+\sum_{i=1}^{N}(1-a^{i}_{k})\underbrace{(\omega^{i}_{k})^{T}W^{i}_{k}\hskip 1.42262pt\omega^{i}_{k}}_{\leq 1}
aV(ξk)+(Na),\displaystyle\leq aV(\xi_{k})+(N-a), (2)

because i=1Nakia\sum_{i=1}^{N}a^{i}_{k}\geq a. It follows that

V(ξk)aV(ξk1)+(Na),\displaystyle V(\xi_{k})\leq aV(\xi_{k-1})+(N-a), (3)
V(ξk1)aV(ξk2)+(Na).\displaystyle V(\xi_{k-1})\leq aV(\xi_{k-2})+(N-a). (4)

Using (4) to upper bound (3) and continuing the recursion yields

V(ξk)ak1V(ξ1)+(Na)(1ak1)1a.\displaystyle V(\xi_{k})\leq a^{k-1}V(\xi_{1})+\dfrac{(N-a)(1-a^{k-1})}{1-a}.

Therefore, limkV(ζk)(Na)/(1a)\lim_{k\rightarrow\infty}V(\zeta_{k})\leq(N-a)/(1-a) because a(0,1)a\in(0,1). \blacksquare
Next, we present a tool to identify outer ellipsoidal approximations of reachable sets of LTI systems driven by multiple peak bounded perturbations.
Consider the perturbed LTI system

ξk+1=Aξk+i=1NBiωki,\xi_{k+1}=A\xi_{k}+\sum_{i=1}^{N}B^{i}\omega_{k}^{i}, (5)

with kk\in{\mathbb{N}}, state ξknξ\xi_{k}\in{\mathbb{R}}^{n_{\xi}}, initial condition ξ1nξ\xi_{1}\in{\mathbb{R}}^{n_{\xi}}, perturbation ωkipi\omega_{k}^{i}\in{\mathbb{R}}^{p_{i}} satisfying (ωki)TWiωki1(\omega^{i}_{k})^{T}W_{i}\hskip 1.42262pt\omega^{i}_{k}\leq 1 for some positive definite matrix Wipi×piW_{i}\in{\mathbb{R}}^{p_{i}\times p_{i}}, i=1,,Ni=1,\ldots,N, NN\in{\mathbb{N}}, and matrices Anξ×nξA\in\mathbb{R}^{{n_{\xi}}\times{n_{\xi}}} and Binξ×piB^{i}\in\mathbb{R}^{{n_{\xi}}\times p_{i}}. Denote by ψξ(k,ξ1,ω1(),,ωN()):=Ak1ξ1+i=1Nj=0k2AjBiωk1ji\psi^{\xi}(k,\xi_{1},\omega^{1}(\cdot),\cdots,\omega^{N}(\cdot)):=A^{k-1}\xi_{1}+\sum_{i=1}^{N}\sum_{j=0}^{k-2}A^{j}B^{i}\omega_{k-1-j}^{i} the solution of (5) at time instant k>1k>1 given the initial condition ξ1\xi_{1} and the infinite disturbance sequence ωi():={ω1i,ω2i,}\omega^{i}(\cdot):=\{\omega^{i}_{1},\omega^{i}_{2},\ldots\}.

Definition 1.

The reachable set kξ\mathcal{R}^{\xi}_{k} at time instant k>1k>1 from the initial condition ξ1\xi_{1} is the set of states ψξ(k,ξ1,ω1(),,ωN())\psi^{\xi}(k,\xi_{1},\omega^{1}(\cdot),\cdots,\omega^{N}(\cdot)) reachable in kk steps by system (5) through all possible perturbations satisfying (ωki)TWiωki1(\omega^{i}_{k})^{T}W_{i}\hskip 0.7113pt\omega^{i}_{k}\leq 1, i.e.,

kξ:={ξnξ|ξ=ψξ(k,ξ1,ω1(),,ωN()),ξ1nξ, and (ωik)TWiωik1.}.\mathcal{R}^{\xi}_{k}:=\left\{\xi\in{\mathbb{R}}^{n_{\xi}}\Bigg|\begin{array}[]{l}\xi=\psi^{\xi}(k,\xi_{1},\omega^{1}(\cdot),\cdots,\omega^{N}(\cdot)),\\[2.84526pt] \xi_{1}\in{\mathbb{R}}^{n_{\xi}},\text{ \emph{and} }(\omega^{i}_{k})^{T}W_{i}\hskip 0.7113pt\omega^{i}_{k}\leq 1.\end{array}\right\}.

Proposition 1.

Consider the LTI system (5) and the reachable set kξ\mathcal{R}^{\xi}_{k} introduced in Definition 1. For a given a(0,1)a\in(0,1), if there exist constants a1=a~1,,aN=a~Na_{1}=\tilde{a}_{1},\ldots,a_{N}=\tilde{a}_{N} and matrix 𝒫=𝒫~nξ×nξ\mathcal{P}=\tilde{\mathcal{P}}\in\mathbb{R}^{{n_{\xi}}\times{n_{\xi}}} satisfying:

{a1,,aN(0,1),a1++aNa,𝒫>0, [a𝒫AT𝒫𝟎𝒫A𝒫𝒫B𝟎BT𝒫Wai]0;\left\{\begin{aligned} &a_{1},\ldots,a_{N}\in(0,1),\hskip 2.84526pta_{1}+\dots+a_{N}\geq a,\\ &\mathcal{P}>0,\text{\hskip 2.84526pt}\begin{bmatrix}a\mathcal{P}&A^{T}\mathcal{P}&\mathbf{0}\\ \mathcal{P}A&\mathcal{P}&\mathcal{P}B\\ \mathbf{0}&B^{T}\mathcal{P}&W_{a_{i}}\end{bmatrix}\geq 0;\end{aligned}\right. (6)

with Wai:=diag[(1a1)W1,,(1aN)WN]p¯×p¯W_{a_{i}}:=\text{\emph{diag}}[(1-a_{1})W_{1},\ldots,(1-a_{N})W_{N}]\in\mathbb{R}^{\bar{p}\times\bar{p}}, B:=(B1,,BN)nξ×p¯B:=(B^{1},\ldots,B^{N})\in{\mathbb{R}}^{{n_{\xi}}\times\bar{p}}, and p¯=i=1Npi\bar{p}=\sum_{i=1}^{N}p_{i}; then, kξ~kξ:={ξnξ|ξT𝒫~ξα~kξ}\mathcal{R}^{\xi}_{k}\subseteq\tilde{\mathcal{E}}^{\xi}_{k}:=\{\xi\in\mathbb{R}^{n_{\xi}}\ |\ \xi^{T}\tilde{\mathcal{P}}\xi\leq\tilde{\alpha}_{k}^{\xi}\}, where α~kξ:=ak1ξ1T𝒫~ξ1+((Na)(1ak1))/(1a)\tilde{\alpha}_{k}^{\xi}:=a^{k-1}\xi_{1}^{T}\tilde{\mathcal{P}}\xi_{1}+\big((N-a)(1-a^{k-1})\big)/(1-a).
Proof: For a positive definite matrix 𝒫nξ×nξ\mathcal{P}\in\mathbb{R}^{{n_{\xi}}\times{n_{\xi}}}, let Vk=ξkT𝒫ξkV_{k}=\xi_{k}^{T}\mathcal{P}\xi_{k} in Lemma 1. Substituting this VkV_{k}, the dynamics ξk+1=Aξk+Bωk\xi_{k+1}=A\xi_{k}+B\omega_{k}, with stacked vector of perturbations ωk:=((ωk1)T,,(ωkN)T)T\omega_{k}:=((\omega^{1}_{k})^{T},\ldots,(\omega^{N}_{k})^{T})^{T}, and the inequality a1++aNaa_{1}+\dots+a_{N}\geq a in (1) yields

νkT[𝒫AT𝒫AAT𝒫BBT𝒫AWaiBT𝒫B]Qνk0,\nu_{k}^{T}\underbrace{\begin{bmatrix}\mathcal{P}-A^{T}\mathcal{P}A&-A^{T}\mathcal{P}B\\ -B^{T}\mathcal{P}A&W_{a_{i}}-B^{T}\mathcal{P}B\end{bmatrix}}_{Q}\nu_{k}\geq 0,

with νk:=(ξkT,ωkT)T\nu_{k}:=\left(\xi_{k}^{T},\omega_{k}^{T}\right)^{T}. This inequality is satisfied if and only if QQ is positive semidefinite. This QQ can be written as the Schur complement of a higher dimensional matrix QQ^{\prime}; it follows that Q𝟎Q0Q\geq\mathbf{0}\leftrightarrow Q^{\prime}\geq 0 where

Q:=[𝒫𝟎AT𝒫𝟎WaiBT𝒫𝒫A𝒫B𝒫].Q^{\prime}:=\begin{bmatrix}\mathcal{P}&\mathbf{0}&A^{T}\mathcal{P}\\ \mathbf{0}&W_{a_{i}}&B^{T}\mathcal{P}\\ \mathcal{P}A&\mathcal{P}B&\mathcal{P}\end{bmatrix}.

Consider the congruence transformation Q𝒯TQ𝒯Q^{\prime}\rightarrow\mathcal{T}^{T}Q^{\prime}\mathcal{T},

𝒯:=[I𝟎𝟎𝟎𝟎I𝟎I𝟎].\mathcal{T}:=\begin{bmatrix}I&\mathbf{0}&\mathbf{0}\\ \mathbf{0}&\mathbf{0}&I\\ \mathbf{0}&I&\mathbf{0}\end{bmatrix}.

Hence, Q𝟎Q𝟎𝒯TQ𝒯𝟎Q\geq\mathbf{0}\leftrightarrow Q^{\prime}\geq\mathbf{0}\leftrightarrow\mathcal{T}^{T}Q^{\prime}\mathcal{T}\geq\mathbf{0}, see [5] for details. Inequality 𝒯TQ𝒯𝟎\mathcal{T}^{T}Q^{\prime}\mathcal{T}\geq\mathbf{0} equals the last inequality in (6). Then, by Lemma 1, we have ξkT𝒫~ξkak1ξ1T𝒫~ξ1+((Na)(1ak1))/(1a)=α~kξ\xi_{k}^{T}\tilde{\mathcal{P}}\xi_{k}\leq a^{k-1}\xi_{1}^{T}\tilde{\mathcal{P}}\xi_{1}+\big((N-a)(1-a^{k-1})\big)/(1-a)=\tilde{\alpha}_{k}^{\xi} for any ai=a~ia_{i}=\tilde{a}_{i}, i=1,,mi=1,\ldots,m, and 𝒫=𝒫~\mathcal{P}=\tilde{\mathcal{P}} satisfying (6). It follows that the trajectories ξk\xi_{k} generated by ξk+1=Aξk+i=1NBiωki\xi_{k+1}=A\xi_{k}+\sum_{i=1}^{N}B^{i}\omega_{k}^{i}, the initial condition ξ1\xi_{1}, and the perturbation ωk\omega_{k}, are always contained in the time-varying ellipsoid ~kξ\tilde{\mathcal{E}}^{\xi}_{k}, i.e., kξ~kξ\mathcal{R}^{\xi}_{k}\subseteq\tilde{\mathcal{E}}^{\xi}_{k}. \blacksquare

Figure 1: Tightness of the ellipsoidal outer approximations of reachable sets obtained by Corollary 1.
Remark 1.

Note that the contribution of the initial condition ξ1\xi_{1} to the sequence α~kξ\tilde{\alpha}_{k}^{\xi} vanishes exponentially. We have that limkα~kξ=(Na)/(1a)\lim_{k\rightarrow\infty}\tilde{\alpha}_{k}^{\xi}=(N-a)/(1-a); therefore

limk~kξ={ξnξ|ξT𝒫~ξ(Na)/(1a)}=:~ξ.\lim_{k\rightarrow\infty}\tilde{\mathcal{E}}^{\xi}_{k}=\{\xi\in\mathbb{R}^{n_{\xi}}\ |\ \xi^{T}\tilde{\mathcal{P}}\xi\leq(N-a)/(1-a)\}=:\tilde{\mathcal{E}}^{\xi}_{\infty}. (7)

That is, ~ξ\tilde{\mathcal{E}}^{\xi}_{\infty} provides an ultimate bound [17] for the time-varying ellipsoidal approximation ~kξ\tilde{\mathcal{E}}^{\xi}_{k}.

Proposition 1 provides a tool for computing time-varying ellipsoidal outer approximations ~kξ{\tilde{\mathcal{E}}}^{\xi}_{k} of kξ\mathcal{R}^{\xi}_{k}. Note that ~kξ{\tilde{\mathcal{E}}}^{\xi}_{k} could be an arbitrarily conservative approximation of kξ\mathcal{R}^{\xi}_{k} as long as kξ~kξ\mathcal{R}^{\xi}_{k}\subseteq\tilde{\mathcal{E}}^{\xi}_{k}. Then, to make ~kξ{\tilde{\mathcal{E}}}^{\xi}_{k} less conservative, we aim at obtaining ellipsoids with minimal volume, i.e., the tightest possible ellipsoid bounding kξ\mathcal{R}^{\xi}_{k} among all the ellipsoids generated by Proposition 1. To find such an ellipsoid, we look to minimize (det[𝒫])1/2(\det[\mathcal{P}])^{-1/2} subject to (6) because (det[𝒫])1/2(\det[\mathcal{P}])^{-1/2} is proportional to the volume of the asymptotic ellipsoid ξT𝒫ξ=(Na)/(1a)\xi^{T}\mathcal{P}\xi=(N-a)/(1-a) for any NN\in{\mathbb{N}} and a(0,1)a\in(0,1) [5]. We minimize logdet[𝒫1]\log\det[\mathcal{P}^{-1}] instead as it shares the same minimizer with (det[𝒫])1/2(\det[\mathcal{P}])^{-1/2} and because for positive definite 𝒫\mathcal{P} this objective is convex [5]. This is stated in the following corollary of Proposition 1.

Corollary 1.

Consider the perturbed LTI system (5) and the reachable set kξ\mathcal{R}^{\xi}_{k} introduced in Definition 1. For a given a(0,1)a\in(0,1), if there exist constants a1=a1,,aN=aNa_{1}=a_{1}^{*},\ldots,a_{N}=a_{N}^{*} and matrix 𝒫=𝒫\mathcal{P}=\mathcal{P}^{*} solution of the convex optimization:

{min𝒫,a1,,aNlogdet[𝒫], s.t. (6);\left\{\begin{aligned} &\min_{\mathcal{P},a_{1},\ldots,a_{N}}\ -\log\det[\mathcal{P}],\\ &\text{ \ \ \ }\text{\emph{s.t.} \eqref{eq:convex_optimizationa}};\end{aligned}\right. (8)

then, kξkξ:={ξnξ|ξT𝒫ξαkξ}\mathcal{R}^{\xi}_{k}\subseteq\mathcal{E}^{\xi}_{k}:=\{\xi\in\mathbb{R}^{n_{\xi}}\ |\ \xi^{T}\mathcal{P}^{*}\xi\leq\alpha_{k}^{\xi}\}, where αkξ:=ak1ξ1T𝒫ξ1+((Na)(1ak1))/(1a)\alpha_{k}^{\xi}:=a^{k-1}\xi_{1}^{T}\mathcal{P}^{*}\xi_{1}+\big((N-a)(1-a^{k-1})\big)/(1-a). Moreover, for any ai=a~iaia_{i}=\tilde{a}_{i}\neq a_{i}^{*} and 𝒫=𝒫~𝒫\mathcal{P}=\tilde{\mathcal{P}}\neq\mathcal{P}^{*} satisfying the constraints in (6) and corresponding ellipsoidal approximation ~kξ\tilde{\mathcal{E}}^{\xi}_{k}, the volume of ξ\mathcal{E}^{\xi}_{\infty} (see (7)) is strictly less than the volume of ~ξ\tilde{\mathcal{E}}^{\xi}_{\infty}, i.e., kξ\mathcal{E}^{\xi}_{k} has the minimum asymptotic volume among all the outer ellipsoidal approximations ~kξ\tilde{\mathcal{E}}^{\xi}_{k} generated by Proposition 1.
Proof: The solution space of the objective function is convex because the constraints are linear [6]. Moreover, the function logdet[𝒫1]\log\det[\mathcal{P}^{-1}] is convex for any positive definite matrix 𝒫\mathcal{P} [5]. Hence, Corollary 1 follows from Proposition 1, convexity of the solution space, and convexity of the objective function. \blacksquare

Remark 2.

Note that the constant a(0,1)a\in(0,1) in Corollary 1 must be fixed before solving (8). This constant is, in fact, a variable of the optimization problem. However, to convexify the cost and linearize some of the constraints, we fix its value before solving (8) and search over a(0,1)a\in(0,1) to find the optimal 𝒫\mathcal{P}^{*}. The latter increases the computations needed to find 𝒫\mathcal{P}^{*}; however, because a(0,1)a\in(0,1) (a bounded set), the required grid is of reasonable size. Indeed, we are interested in selecting the a(0,1)a\in(0,1) that leads to the asymptotic ellipsoid with minimum volume.

In Figure 1, we illustrate the potential tightness of the ellipsoidal outer approximations obtained using Corollary 1. The solid gray area is the actual reachable set obtained by extensive Monte Carlo simulations, and the ellipsoidal approximation is depicted with dashed lines. This figure corresponds to an LTI system driven by two peak bounded perturbation. The exact numerical values of the system matrices and the perturbations’ bounds can be found in [16, Section 4].

Figure 2: Cyber-physical system under sensor attacks.

3 System & Monitor Description

In this section, we introduce the system dynamics that we consider, the monitor that we use to pinpoint attacks, and the control scheme.

3.1 System Dynamics

Consider the LTI perturbed system

{xp(tk+1)=Apxp(tk)+Bpu(tk)+Ev(tk),y(tk)=Cpxp(tk)+Fη(tk),\left\{\begin{array}[]{ll}{x}^{p}(t_{k+1})=A^{p}x^{p}(t_{k})+B^{p}{u}(t_{k})+Ev(t_{k}),\\[2.84526pt] \hskip 15.649pty(t_{k})=C^{p}x^{p}(t_{k})+F\eta(t_{k}),\end{array}\right. (9)

with sampling time-instants tk,kt_{k},k\in{\mathbb{N}}, state xpnx^{p}\in{\mathbb{R}}^{n}, output ymy\in{\mathbb{R}}^{m}, control input ulu\in{\mathbb{R}}^{l}, matrices ApA^{p}, BpB^{p}, CpC^{p}, EE, and FF of appropriate dimensions, and unknown system and sensor perturbations vqv\in{\mathbb{R}}^{q} and ηm\eta\in{\mathbb{R}}^{m}, respectively. The perturbations are assumed to be peak bounded, i.e., vkTvkv¯v_{k}^{T}v_{k}\leq\bar{v} and ηkTηkη¯\eta_{k}^{T}\eta_{k}\leq\bar{\eta} for some known v¯,η¯>0\bar{v},\bar{\eta}\in{\mathbb{R}}_{>0} and all kk\in{\mathbb{N}}. The pair (Ap,Bp)(A^{p},B^{p}) is stabilizable and (Ap,Cp)(A^{p},C^{p}) is detectable. At the time-instants tk,kt_{k},k\in{\mathbb{N}}, the output of the process y(tk)y(t_{k}) is sampled and transmitted over a communication network. The received output y¯(tk)\bar{y}(t_{k}) is used to compute control actions u(tk)u(t_{k}) which are sent back to the actuators. The complete control-loop is assumed to be performed instantaneously, i.e., sampling, transmission, and arrival time-instants are equal. In this manuscript, we focus on false data injection attacks on sensor measurements. That is, in between transmission and reception of sensor data, an attacker may inject data to the signals coming from sensors to the controller, see Fig. 6. The opponent compromises up to ss sensors, s{1,,m}s\in\{1,\ldots,m\} of the system. Denote the attacker’s sensor selection matrix Γm×s\Gamma\in{\mathbb{R}}^{m\times s}, Γ{γ1,,γm}\Gamma\subseteq\{\gamma_{1},\ldots,\gamma_{m}\} where γim×1\gamma_{i}\in{\mathbb{R}}^{m\times 1} denotes the ii-th vector of the canonical basis of m{\mathbb{R}}^{m}. After each transmission and reception, the networked output y¯\bar{y} takes the form:

y¯(tk):=y(tk)+Γδ(tk),\bar{y}(t_{k}):=y(t_{k})+\Gamma\delta(t_{k}), (10)

where δ(tk)s\delta(t_{k})\in{\mathbb{R}}^{s} denotes additive sensor attacks/faults. Denote xk:=x(tk)x_{k}:=x(t_{k}), uk:=u(tk)u_{k}:=u(t_{k}), vk:=v(tk)v_{k}:=v(t_{k}), y¯k:=y¯(tk)\bar{y}_{k}:=\bar{y}(t_{k}), ηk:=η(tk)\eta_{k}:=\eta(t_{k}), and δk:=δ(tk)\delta_{k}:=\delta(t_{k}). Using this new notation, the attacked system is written in the following compact form:

{xk+1p=Apxkp+Bpuk+Evk, y¯k=Cpxpk+Fηk+Γδk.\left\{\begin{array}[]{ll}{x}^{p}_{k+1}=A^{p}x^{p}_{k}+B^{p}u_{k}+Ev_{k},\\[2.84526pt] \text{ \ \ }\hskip 1.42262pt\bar{y}_{k}=C^{p}x^{p}_{k}+F\eta_{k}+\Gamma\delta_{k}.\end{array}\right. (11)

3.2 Filter and Residual

In this manuscript, we aim at characterizing the effect that false data injection attacks can induce in the system without being detected by standard fault-detectors. The main idea behind fault detection is the use of an estimator to forecast the evolution of the system state. If the difference between what it is measured and the output estimation is larger than expected, there may be a fault in or an attack on the system. Here, to estimate the state of the process, we use the filter:

x^k+1=Apx^k+Bpuk+L(y¯kCpx^k),\hat{x}_{k+1}=A^{p}\hat{x}_{k}+B^{p}u_{k}+L\big(\bar{y}_{k}-C^{p}\hat{x}_{k}\big), (12)

with estimated state x^n\hat{x}\in{\mathbb{R}}^{n}, x^1=(Cp)+y1\hat{x}_{1}=(C^{p})^{+}y_{1}, where (Cp)+(C^{p})^{+} denotes the Moore-Penrose inverse of CpC^{p}, and filter gain matrix Ln×mL\in{\mathbb{R}}^{n\times m}. Define the estimation error ek:=xkpx^ke_{k}:=x^{p}_{k}-\hat{x}_{k}. Given the system dynamics (11) and the filter (12), the estimation error is governed by the following difference equation

ek+1=(ApLCp)ekLΓδkLFηk+Evk.\displaystyle e_{k+1}=\big(A^{p}-LC^{p}\big)e_{k}-L\Gamma\delta_{k}-LF\eta_{k}+Ev_{k}.\vskip 2.84526pt (13)

The pair (Ap,Cp)(A^{p},C^{p}) is detectable; hence, the observer gain LL can be selected such that (ApLCp)(A^{p}-LC^{p}) is Schur. We assume that LL is such that (ApLCp)(A^{p}-LC^{p}) is Schur. Define the residual rkmr_{k}\in{\mathbb{R}}^{m}

rk:=y¯kCpx^k=Cpek+Γδk+Fηk,\displaystyle r_{k}:=\bar{y}_{k}-C^{p}\hat{x}_{k}=C^{p}e_{k}+\Gamma\delta_{k}+F\eta_{k}, (14)

which evolves according to the difference equation:

{ek+1=(ApLCp)ekLΓδkLFηk+Evk,rk=Cpek+Γδk+Fηk.\left\{\begin{array}[]{ll}e_{k+1}=\big(A^{p}-LC^{p}\big)e_{k}-L\Gamma\delta_{k}-LF\eta_{k}+Ev_{k},\\[1.42262pt] \hskip 10.66977ptr_{k}=C^{p}e_{k}+\Gamma\delta_{k}+F\eta_{k}.\end{array}\right. (15)

3.3 Distance Measure, Anomaly Detection, and System Monitor

The input to any detection procedure is a distance measure zkz_{k}\in{\mathbb{R}}, i.e., a measure of how deviated the estimator is from the attack-free system dynamics [13]. Here, we use a quadratic form of the residual as distance measure. Consider the residual sequence rkr_{k} and some positive definite matrix Πm×m\Pi\in{\mathbb{R}}^{m\times m}. Define the distance measure zk:=rkTΠrkz_{k}:=r_{k}^{T}\Pi r_{k} and consider the following monitor.

 

System Monitor:

If zk=rkTΠrk>1,k~=k.\text{If \ }z_{k}=r_{k}^{T}\Pi r_{k}>1,\hskip 5.69054pt\tilde{k}=k. (16)

Design parameter: positive semidefinite matrix Πm×m\Pi\in{\mathbb{R}}^{m\times m}.
Output: alarm time(s) k~\tilde{k}.

 

Thus, the monitor is designed so that alarms are triggered if zkz_{k} exceeds one. The matrix Π\Pi must be selected such that, after sufficiently large number of time-steps (enough to allow transients to settle down), zk1z_{k}\leq 1 in the attack-free case. That is, after transients due to initial conditions have decreased to a desired level, the ellipsoid rkTΠrk=1r_{k}^{T}\Pi r_{k}=1 must contain all the possible trajectories that the perturbations vkv_{k} and ηk\eta_{k} can induce in the residual given Eq. (15) and the inequalities vkTvkv¯v_{k}^{T}v_{k}\leq\bar{v} and ηkTηkη¯\eta_{k}^{T}\eta_{k}\leq\bar{\eta}. Note that the tighter the ellipsoidal bound, the less opportunity the attacker has to manipulate the system without being detected. Here, we use Corollary 1 to design an optimal matrix Π\Pi (in terms of tightness of the ellipsoidal bound). In particular, using Corollary 1, we obtain an outer time-varying ellipsoidal approximation of the reachable set of the estimation error (13) driven by vkv_{k} and ηk\eta_{k} in the attack-free case (δk=𝟎\delta_{k}=\mathbf{0}). Once we have this ellipsoid, using the 𝒮\mathcal{S}-procedure [5], we project it onto the residual hyperplane to get the ellipsoid rkTΠrk=1r_{k}^{T}\Pi r_{k}=1 of the monitor. For transparency, these results are presented in the appendix. We need, however, the following assumption for the subsequent sections.

Assumption 1.

In the attack-free case (δk=𝟎\delta_{k}=\mathbf{0}), there exists some kk^{*}\in{\mathbb{N}} such that the matrix Π\Pi of the monitor satisfies rkTΠrk1r_{k}^{T}\Pi r_{k}\leq 1 \forall kkk\geq k^{*} and rkr_{k} solution of (15).
In the appendix, we give tools for obtaining a matrix Π\Pi satisfying Assumption 1 for a desired kk^{*} as a function of the initial estimation error e1e_{1} and a desired tightness level of the ellipsoidal bound.

Refer to caption
Figure 3: (a) Stealthy reachable set Γ,kx\mathcal{R}_{\Gamma,k}^{x}; (b) ellipsoidal outer approximation Γ,kx\mathcal{E}_{\Gamma,k}^{x} of Γ,kx\mathcal{R}_{\Gamma,k}^{x}; and (c) the volume of Γ,kx\mathcal{E}_{\Gamma,k}^{x} as an approximation of the security metric (the volume of Γ,kx\mathcal{R}_{\Gamma,k}^{x}).

3.4 Dynamic Output Feedback Controller

We consider general dynamic output feedback controllers of the form:

{xk+1c=Acxkc+Bcy¯k,uk=Ccxkc+Dcy¯k,\left\{\begin{array}[]{ll}{x}_{k+1}^{c}=A^{c}x_{k}^{c}+B^{c}\bar{y}_{k},\\[1.42262pt] \hskip 10.38522ptu_{k}=C^{c}x_{k}^{c}+D^{c}\bar{y}_{k},\end{array}\right. (17)

with controller state xcnx^{c}\in{\mathbb{R}}^{n}, networked output y¯\bar{y}, control input uu, and controller matrices (Ac,Bc,Cc,Dc)(A^{c},B^{c},C^{c},D^{c}) of appropriate dimensions. For simplicity, we only consider controllers with the same order as the plant. This is particulary important in the synthesis section of the manuscript (however, results for general order controllers can be derived following the same approach). The closed-loop system (11),(12),(17) can be written in terms of the estimation error ek=xkx^ke_{k}=x_{k}-\hat{x}_{k} as follows:

{xk+1p=(Ap+BpDcCp)xkp+BpCcxkc+BpDcFηk+Evk+BpDcΓδk,xk+1c=Acxkc+BcCpxkp+BcFηk+BcΓδk,ek+1=(ApLCp)ekLFηk+EvkLΓδk.\left\{\begin{array}[]{ll}{x}^{p}_{k+1}=(A^{p}+B^{p}D^{c}C^{p})x^{p}_{k}+B^{p}C^{c}x_{k}^{c}\\[2.84526pt] \hskip 36.98857pt+B^{p}D^{c}F\eta_{k}+Ev_{k}+B^{p}D^{c}\Gamma\delta_{k},\\[4.2679pt] {x}_{k+1}^{c}=A^{c}x_{k}^{c}+B^{c}C^{p}x^{p}_{k}+B^{c}F\eta_{k}+B^{c}\Gamma\delta_{k},\\[4.2679pt] e_{k+1}=(A^{p}-LC^{p})e_{k}-LF\eta_{k}+Ev_{k}-L\Gamma\delta_{k}.\end{array}\right. (18)

4 Analysis Tools: Attacker’s Reachable Sets

In this section, we provide tools for quantifying (for given (L,Ac,Bc,Cc,Dc)(L,A^{c},B^{c},C^{c},D^{c})) and minimizing (by redesigning (L,Ac,Bc,Cc,Dc)(L,A^{c},B^{c},C^{c},D^{c})) the impact of the attack δk\delta_{k} on the state of the system when the monitor (16) is used for attack detection. We are interested in attacks that keep the monitor from raising alarms. This class of attacks is what we refer to as stealthy attacks. Here, we characterize ellipsoidal bounds on the set of states that stealthy attacks can induce in the system. In particular, we provide tools based on Linear Matrix Inequalities (LMIs) for computing ellipsoidal bounds on the reachable set of the attack sequence given the system dynamics, the control strategy, the system monitor, and the set of sensors being attacked.

Assumption 2.

We assume that the attack to system (11),(12),(17) starts at k=kk=k^{*} (the monitor convergence time), i.e., the system has been operating without attacks for sufficiently long time so that the residual trajectories rkr_{k}, for kkk\geq k^{*}, are contained in the monitor ellipsoid {rm|rTΠr1}\{r\in{\mathbb{R}}^{m}|r^{T}\Pi r\leq 1\} before an attack occurs.

The attacker can compromise up to ss sensors, s{1,,m}s\in\{1,\ldots,m\}, of the system. Consider the monitor (16) and write zkz_{k} in terms of the estimation error eke_{k} and δk\delta_{k}:

zk=rkTΠrk=Π12(Cpek+Fηk+Γδk)2,z_{k}=r_{k}^{T}\Pi r_{k}=\left\lVert\Pi^{\frac{1}{2}}(C^{p}e_{k}+F\eta_{k}+\Gamma\delta_{k})\right\rVert^{2}, (19)

where Π12\Pi^{\frac{1}{2}} is the symmetric square root matrix of Π\Pi and \left\lVert\cdot\right\rVert denotes Euclidian norm. The set of feasible attack sequences that the attacker can launch while satisfying zk1z_{k}\leq 1 (i.e., without raising alarms by the monitor) can be written as the constrained control problem on δk\delta_{k}:

{δkm|Π12(Cpek+Fηk+Γδk)21,and Eq. (18), kk,}.\left\{\delta_{k}\in{\mathbb{R}}^{m}\left|\begin{array}[]{ll}\left\lVert\Pi^{\frac{1}{2}}(C^{p}e_{k}+F\eta_{k}+\Gamma\delta_{k})\right\rVert^{2}\leq 1,\\ \text{and Eq. \eqref{75}, }\forall\hskip 2.84526ptk\geq k^{*},\end{array}\right.\right\}. (20)

Define the extended state ζk:=((xkp)T,(xkc)T,ekT)T\zeta_{k}:=((x_{k}^{p})^{T},(x_{k}^{c})^{T},e_{k}^{T})^{T} and denote by ψδζ(k,ζk,η(),v(),δ())\psi^{\zeta}_{\delta}(k,\zeta_{k^{*}},\eta(\cdot),v(\cdot),\delta(\cdot)) the solution of (18) at time instant kkk\geq k^{*} given the extended state at the starting attack instant ζk\zeta_{k^{*}} and the infinite disturbance and attack sequences η():={η1,η2,}\eta(\cdot):=\{\eta_{1},\eta_{2},\ldots\}, v():={v1,v2,}v(\cdot):=\{v_{1},v_{2},\ldots\}, and δ():={δ1,δ2,}\delta(\cdot):=\{\delta_{1},\delta_{2},\ldots\}. Let ψδx(k,ζk,η(),v(),δ())\psi^{x}_{\delta}(k,\zeta_{k^{*}},\eta(\cdot),v(\cdot),\delta(\cdot)) be the partition of ψδζ(k,ζk,η(),v(),δ())\psi^{\zeta}_{\delta}(k,\zeta_{k^{*}},\eta(\cdot),v(\cdot),\delta(\cdot)) corresponding to the plant trajectories, i.e., the solution xkpx^{p}_{k} of (18). We are interested in the state trajectories that the attacker can induce in the system restricted to satisfy (20). To this end, we introduce the notion of stealthy reachable set:

Γ,kx:={xpn|xp=ψδx(k,ζk,η(),v(),δ()),ζk3n,δk,ζk satisfy (20),vkTvkv¯,ηkTηkη¯,kk}.\mathcal{R}_{\Gamma,k}^{x}:=\left\{x^{p}\in{\mathbb{R}}^{n}\left|\begin{array}[]{ll}&x^{p}=\psi^{x}_{\delta}(k,\zeta_{k^{*}},\eta(\cdot),v(\cdot),\delta(\cdot)),\\[2.84526pt] &\zeta_{k^{*}}\in{\mathbb{R}}^{3n},\delta_{k},\zeta_{k}\text{ satisfy }(\ref{constrained_control}),\\[2.84526pt] &v_{k}^{T}v_{k}\leq\bar{v},\eta_{k}^{T}\eta_{k}\leq\bar{\eta},\forall\hskip 2.84526ptk\geq k^{*}\\ \end{array}\right.\right\}. (21)

In this manuscript, we propose to use the volume of the set Γ,kx\mathcal{R}_{\Gamma,k}^{x} as a security metric. However, in general, it is not tractable to compute Γ,kx\mathcal{R}_{\Gamma,k}^{x} exactly. Instead, we look for an outer approximation Γ,kx\mathcal{E}^{x}_{\Gamma,k} satisfying Γ,kxΓ,kx\mathcal{R}^{x}_{\Gamma,k}\subseteq\mathcal{E}^{x}_{\Gamma,k} for all kkk\geq k^{*}. In particular, for some positive definite 𝒫Γxn×n\mathcal{P}_{\Gamma}^{x}\in{\mathbb{R}}^{n\times n} and nonnegative function αkx\alpha_{k}^{x}, we look for outer ellipsoidal approximations of the form Γ,kx={xpn|(xp)T𝒫Γxxpαkx}\mathcal{E}_{\Gamma,k}^{x}=\{x^{p}\in{\mathbb{R}}^{n}|(x^{p})^{T}\mathcal{P}_{\Gamma}^{x}x^{p}\leq\alpha_{k}^{x}\} such that Γ,kxΓ,kx\mathcal{R}_{\Gamma,k}^{x}\subseteq\mathcal{E}_{\Gamma,k}^{x}. That is, the ellipsoid (xp)T𝒫Γxxp=αkx(x^{p})^{T}\mathcal{P}_{\Gamma}^{x}x^{p}=\alpha_{k}^{x} contains all the possible trajectories that stealthy attacks of the form (20) can induce in the system. Because, for LTI systems Γ,kx\mathcal{E}_{\Gamma,k}^{x} is a good approximation of Γ,kx\mathcal{R}_{\Gamma,k}^{x}, and because Γ,kx\mathcal{E}_{\Gamma,k}^{x} can be computed efficiently using LMIs, we use the volume of Γ,kx\mathcal{E}_{\Gamma,k}^{x} as an approximation of the proposed security metric. This approximation allows us to quantify the potential “damage” that sensor attacks can induce to the system in terms of the set of sensors being compromised (the attacker’s sensor selection matrix Γ\Gamma). In Figure 3, we depict a schematic representation of the proposed ideas.

4.1 Analysis Tools

In (15), the residual is given by rk=Cpek+Γδk+Fηkr_{k}=C^{p}e_{k}+\Gamma\delta_{k}+F\eta_{k}. Because Γ\Gamma has full column rank by construction, we can write the attack sequence as δk=Γ+(rkCpekFηk)\delta_{k}=\Gamma^{+}(r_{k}-C^{p}e_{k}-F\eta_{k}), where Γ+\Gamma^{+} denotes the Moore-Penrose inverse of Γ\Gamma, and the closed-loop dynamics (18) as

xk+1p=(Ap+BpDcCp)xkp+BpCcxkcBpDcΓΓ+Cpek\displaystyle{x}^{p}_{k+1}=(A^{p}+B^{p}{\color[rgb]{0,0.6,0}D^{c}}C^{p})x^{p}_{k}+B^{p}{\color[rgb]{0,0.6,0}C^{c}}x_{k}^{c}-B^{p}{\color[rgb]{0,0.6,0}D^{c}}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}C^{p}e_{k}
+BpDc(ImΓΓ+)Fηk+Evk+BpDcΓΓ+rk,\displaystyle\hskip 13.1594pt+B^{p}{\color[rgb]{0,0.6,0}D^{c}}(I_{m}-{\color[rgb]{1,0,0}\Gamma\Gamma^{+}})F\eta_{k}+Ev_{k}+B^{p}{\color[rgb]{0,0.6,0}D^{c}}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}r_{k}, (22)
xk+1c=Acxkc+BcCpxkpBcΓΓ+Cpek\displaystyle{x}_{k+1}^{c}={\color[rgb]{0,0.6,0}A^{c}}x_{k}^{c}+{\color[rgb]{0,0.6,0}B^{c}}C^{p}x^{p}_{k}-{\color[rgb]{0,0.6,0}B^{c}}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}C^{p}e_{k}
+Bc(ImΓΓ+)Fηk+BcΓΓ+rk,\displaystyle\hskip 13.1594pt+{\color[rgb]{0,0.6,0}B^{c}}(I_{m}-{\color[rgb]{1,0,0}\Gamma\Gamma^{+}})F\eta_{k}+{\color[rgb]{0,0.6,0}B^{c}}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}r_{k}, (23)
ek+1=(ApL(ImΓΓ+)Cp)ek\displaystyle e_{k+1}=\big(A^{p}-{\color[rgb]{0,0.6,0}L}(I_{m}-{\color[rgb]{1,0,0}\Gamma\Gamma^{+}})C^{p}\big)e_{k}
L(ImΓΓ+)Fηk+EvkLΓΓ+rk.\displaystyle\hskip 13.1594pt-{\color[rgb]{0,0.6,0}L}(I_{m}-{\color[rgb]{1,0,0}\Gamma\Gamma^{+}})F\eta_{k}+Ev_{k}-{\color[rgb]{0,0.6,0}L}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}r_{k}. (24)

Define the matrices:

{𝒜:=[Ap+BpDcCpBpCcBpDcΓΓ+CpBcCpAcBcΓΓ+Cp𝟎𝟎ApL(ImΓΓ+)Cp],1:=[BpDc(ImΓΓ+)FBc(ImΓΓ+)FL(ImΓΓ+)F],2:=[E𝟎E],3:=[BpDcΓΓ+BcΓΓ+LΓΓ+],:=[123].\left\{\begin{array}[]{l}\mathcal{A}:=\begin{bmatrix}A^{p}+B^{p}{\color[rgb]{0,0.6,0}D^{c}}C^{p}&B^{p}{\color[rgb]{0,0.6,0}C^{c}}&-B^{p}{\color[rgb]{0,0.6,0}D^{c}}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}C^{p}\\ {\color[rgb]{0,0.6,0}B^{c}}C^{p}&{\color[rgb]{0,0.6,0}A^{c}}&-{\color[rgb]{0,0.6,0}B^{c}}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}C^{p}\\ \mathbf{0}&\mathbf{0}&A^{p}-{\color[rgb]{0,0.6,0}L}(I_{m}-{\color[rgb]{1,0,0}\Gamma\Gamma^{+}})C^{p}\end{bmatrix},\\[19.91692pt] \mathcal{B}^{1}:=\begin{bmatrix}B^{p}{\color[rgb]{0,0.6,0}D^{c}}(I_{m}-{\color[rgb]{1,0,0}\Gamma\Gamma^{+}})F\\ {\color[rgb]{0,0.6,0}B^{c}}(I_{m}-{\color[rgb]{1,0,0}\Gamma\Gamma^{+}})F\\ -{\color[rgb]{0,0.6,0}L}(I_{m}-{\color[rgb]{1,0,0}\Gamma\Gamma^{+}})F\end{bmatrix},\mathcal{B}^{2}:=\begin{bmatrix}E\\ \mathbf{0}\\ E\end{bmatrix},\\[19.91692pt] \mathcal{B}^{3}:=\begin{bmatrix}B^{p}{\color[rgb]{0,0.6,0}D^{c}}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}\\ {\color[rgb]{0,0.6,0}B^{c}}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}\\ -{\color[rgb]{0,0.6,0}L}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}\end{bmatrix},\mathcal{B}:=\begin{bmatrix}\mathcal{B}^{1}&\mathcal{B}^{2}&\mathcal{B}^{3}\end{bmatrix}.\end{array}\right. (25)

Then, the closed-loop dynamics can be written in terms of the extended state ζk=((xkp)T,(xkc)T,ekT)T\zeta_{k}=((x_{k}^{p})^{T},(x_{k}^{c})^{T},e_{k}^{T})^{T}:

ζk+1=𝒜ζk+1ηk+2vk+3rk,kk.\zeta_{k+1}=\mathcal{A}\zeta_{k}+\mathcal{B}^{1}\eta_{k}+\mathcal{B}^{2}v_{k}+\mathcal{B}^{3}r_{k},\hskip 2.84526ptk\geq k^{*}. (26)

Denote by ψrζ(k,ζk,η(),v(),r())\psi^{\zeta}_{r}(k,\zeta_{k^{*}},\eta(\cdot),v(\cdot),r(\cdot)) the solution of (26) at time instant kkk\geq k^{*} given the extended state at the starting attack instant ζk\zeta_{k^{*}} and the infinite residual and disturbance sequences r():={r1,r2,}r(\cdot):=\{r_{1},r_{2},\ldots\}, η()\eta(\cdot), and v()v(\cdot). Define the reachable set:

Γ,kζ:={ζ3n|ζ=ψrζ(k,ζk,η(),v(),r()),ζk3n,rkTΠrk1,vkTvkv¯,ηkTηkη¯,kk.}.\mathcal{R}_{\Gamma,k}^{\zeta}:=\left\{\zeta\in{\mathbb{R}}^{3n}\left|\begin{array}[]{ll}\zeta=\psi^{\zeta}_{r}(k,\zeta_{k^{*}},\eta(\cdot),v(\cdot),r(\cdot)),\\[2.84526pt] \zeta_{k^{*}}\in{\mathbb{R}}^{3n},r_{k}^{T}\Pi r_{k}\leq 1,\\[2.84526pt] v_{k}^{T}v_{k}\leq\bar{v},\eta_{k}^{T}\eta_{k}\leq\bar{\eta},\forall\hskip 1.42262ptk\geq k^{*}.\end{array}\right.\right\}. (27)

The set Γ,kζ\mathcal{R}_{\Gamma,k}^{\zeta} is the reachable set of an LTI system driven by peak-bounded perturbations. Therefore, we can use Corollary 1 to obtain outer approximations of the form Γ,kζ={ζ3n|ζT𝒫Γζζαkζ}\mathcal{E}_{\Gamma,k}^{\zeta}=\{\zeta\in{\mathbb{R}}^{3n}|\zeta^{T}\mathcal{P}_{\Gamma}^{\zeta}\zeta\leq\alpha_{k}^{\zeta}\} such that Γ,kζΓ,kζ\mathcal{R}_{\Gamma,k}^{\zeta}\subseteq\mathcal{E}_{\Gamma,k}^{\zeta}.

Remark 3.

We are ultimately interested in the stealthy reachable set of the plant states Γ,kx\mathcal{R}_{\Gamma,k}^{x} introduced in (21). Note that Γ,kx\mathcal{R}_{\Gamma,k}^{x} is the projection of Γ,kζ\mathcal{R}_{\Gamma,k}^{\zeta} onto the xpx^{p}-hyperplane. Hence, if Γ,kζΓ,kζ\mathcal{R}_{\Gamma,k}^{\zeta}\subseteq\mathcal{E}_{\Gamma,k}^{\zeta}, then Γ,kxΓ,kζ||xp=:Γ,kx\mathcal{R}_{\Gamma,k}^{x}\subseteq\mathcal{E}_{\Gamma,k}^{\zeta}||_{x^{p}}=:\mathcal{E}_{\Gamma,k}^{x}, where Γ,kζ||xp\mathcal{E}_{\Gamma,k}^{\zeta}||_{x^{p}} denotes the projection of Γ,kζ\mathcal{E}_{\Gamma,k}^{\zeta} onto the xpx^{p}-hyperplane. Therefore, to obtain the ellipsoid Γ,kx\mathcal{E}_{\Gamma,k}^{x} containing Γ,kx\mathcal{R}_{\Gamma,k}^{x}, we can first obtain Γ,kζ\mathcal{E}_{\Gamma,k}^{\zeta} containing Γ,kζ\mathcal{R}_{\Gamma,k}^{\zeta} and then take Γ,kζ||xp\mathcal{E}_{\Gamma,k}^{\zeta}||_{x^{p}} to obtain Γ,kx\mathcal{E}_{\Gamma,k}^{x}.

Theorem 1.

Consider the closed-loop dynamics (22)-(24) with system matrices (Ap,Bp,Cp)(A^{p},B^{p},C^{p}), observer gain LL, controller matrices (Ac,Bc,Cc,Dc)(A^{c},B^{c},C^{c},D^{c}), monitor matrix Π\Pi, perturbations bounds v¯,η¯>0\bar{v},\bar{\eta}\in{\mathbb{R}}_{>0}, and attack selection matrix Γ\Gamma. For a given a(0,1)a\in(0,1), if there exist constants a1=a1,,aN=aNa_{1}=a_{1}^{*},\ldots,a_{N}=a_{N}^{*} and matrix 𝒫=𝒫\mathcal{P}=\mathcal{P}^{*} solution of (8) with A=𝒜A=\mathcal{A}, N=3N=3, B1=1B^{1}=\mathcal{B}^{1}, B2=2B^{2}=\mathcal{B}^{2}, B3=3B^{3}=\mathcal{B}^{3}, (𝒜,)(\mathcal{A},\mathcal{B}) as defined in (25), W1=(1/η¯)ImW_{1}=(1/\bar{\eta})I_{m}, W2=(1/v¯)InW_{2}=(1/\bar{v})I_{n}, W3=ΠW_{3}=\Pi, p1=mp_{1}=m, p2=np_{2}=n, and p3=mp_{3}=m; then, for all kkk\geq k^{*}, Γ,kζΓ,kζ:={ζ3n|ζT𝒫Γζζαkζ}\mathcal{R}_{\Gamma,k}^{\zeta}\subseteq\mathcal{E}_{\Gamma,k}^{\zeta}:=\{\zeta\in{\mathbb{R}}^{3n}|\zeta^{T}\mathcal{P}_{\Gamma}^{\zeta}\zeta\leq\alpha_{k}^{\zeta}\}, with 𝒫Γζ:=𝒫\mathcal{P}_{\Gamma}^{\zeta}:=\mathcal{P}^{*} and αkζ:=ak1ζkT𝒫ζk+((3a)(1ak1))/(1a)\alpha_{k}^{\zeta}:=a^{k-1}\zeta_{k^{*}}^{T}\mathcal{P}^{*}\zeta_{k^{*}}+\big((3-a)(1-a^{k-1})\big)/(1-a), and the ellipsoid Γ,kζ\mathcal{E}_{\Gamma,k}^{\zeta} has minimum volume in the sense of Corollary 1.
Proof: Consider the reachable set Γ,kζ\mathcal{R}_{\Gamma,k}^{\zeta} in (27). The set Γ,kζ\mathcal{R}_{\Gamma,k}^{\zeta} is the reachable set of system (26), which is a LTI system driven by peak-bounded perturbations. It follows that, under the conditions stated in Theorem 1,Corollary 1 can be used to obtain outer ellipsoidal approximations of the form Γ,kζ={ζ3n|ζT𝒫Γζζαkζ}\mathcal{E}_{\Gamma,k}^{\zeta}=\{\zeta\in{\mathbb{R}}^{3n}|\zeta^{T}\mathcal{P}_{\Gamma}^{\zeta}\zeta\leq\alpha_{k}^{\zeta}\} such that Γ,kζΓ,kζ\mathcal{R}_{\Gamma,k}^{\zeta}\subseteq\mathcal{E}_{\Gamma,k}^{\zeta}, where the sequence αkζ\alpha_{k}^{\zeta} is given by αkζ=ak1ζkT𝒫ζk+(3a)(1ak1)/(1a)\alpha_{k}^{\zeta}=a^{k-1}\zeta_{k^{*}}^{T}\mathcal{P}^{*}\zeta_{k^{*}}+(3-a)(1-a^{k-1})/(1-a), 𝒫Γζ=𝒫\mathcal{P}_{\Gamma}^{\zeta}=\mathcal{P}^{*}, and 𝒫\mathcal{P}^{*} is the solution of the optimization problem (8). The volume of Γ,kζ\mathcal{E}_{\Gamma,k}^{\zeta} is minimal in the sense of Corollary 1because we solve (8) to obtain 𝒫\mathcal{P}^{*}. \blacksquare
If the conditions of Theorem 1 are satisfied, for every kkk\geq k^{*}, the trajectories of the extended dynamics (26) are contained in Γ,kζ\mathcal{E}_{\Gamma,k}^{\zeta}. Having this ellipsoid, we look for the projection Γ,kζ||xp\mathcal{E}_{\Gamma,k}^{\zeta}||_{x^{p}} to obtain the ellipsoidal approximation Γ,kx={xpn|(xp)T𝒫Γxxpαkx}\mathcal{E}_{\Gamma,k}^{x}=\{x^{p}\in{\mathbb{R}}^{n}|(x^{p})^{T}\mathcal{P}_{\Gamma}^{x}x^{p}\leq\alpha_{k}^{x}\} such that Γ,kxΓ,kx\mathcal{R}_{\Gamma,k}^{x}\subseteq\mathcal{E}_{\Gamma,k}^{x}. We use Lemma 10 in the Appendix to obtain this projection.

Corollary 2.

Let the conditions of Theorem 1 be satisfied and consider the corresponding matrix 𝒫Γζ\mathcal{P}_{\Gamma}^{\zeta} and function αkζ\alpha_{k}^{\zeta}. Let 𝒫Γζ\mathcal{P}_{\Gamma}^{\zeta} be partitioned as

𝒫Γζ=:[𝒫1ζ𝒫2ζ(𝒫2ζ)T𝒫3ζ],\mathcal{P}_{\Gamma}^{\zeta}=:\begin{bmatrix}\mathcal{P}_{1}^{\zeta}&\mathcal{P}_{2}^{\zeta}\\ (\mathcal{P}_{2}^{\zeta})^{T}&\mathcal{P}_{3}^{\zeta}\hskip 2.84526pt\end{bmatrix},

with 𝒫1ζn×n\mathcal{P}_{1}^{\zeta}\in{\mathbb{R}}^{n\times n}, 𝒫2ζn×2n\mathcal{P}_{2}^{\zeta}\in{\mathbb{R}}^{n\times 2n}, and 𝒫3ζ2n×2n\mathcal{P}_{3}^{\zeta}\in{\mathbb{R}}^{2n\times 2n}. Then, for kkk\geq k^{*}, Γ,kxΓ,kx:={xpn|(xp)T𝒫Γxxpαkx}\mathcal{R}_{\Gamma,k}^{x}\subseteq\mathcal{E}_{\Gamma,k}^{x}:=\{x^{p}\in{\mathbb{R}}^{n}|(x^{p})^{T}\mathcal{P}_{\Gamma}^{x}x^{p}\leq\alpha^{x}_{k}\} with 𝒫Γx:=𝒫1ζ𝒫2ζ(𝒫3ζ)1(𝒫2ζ)T\mathcal{P}_{\Gamma}^{x}:=\mathcal{P}_{1}^{\zeta}-\mathcal{P}_{2}^{\zeta}(\mathcal{P}_{3}^{\zeta})^{-1}(\mathcal{P}_{2}^{\zeta})^{T} and αkx:=αkζ\alpha^{x}_{k}:=\alpha^{\zeta}_{k}.
Proof: By Theorem 1, the trajectories of (26) satisfy ζkT𝒫Γζζkαkζ\zeta_{k}^{T}\mathcal{P}^{\zeta}_{\Gamma}\zeta_{k}\leq\alpha^{\zeta}_{k} for kkk\geq k^{*}. By Lemma 10 in the Appendix, the projection of ζkT𝒫Γζζkαkζ\zeta_{k}^{T}\mathcal{P}^{\zeta}_{\Gamma}\zeta_{k}\leq\alpha^{\zeta}_{k} onto the xpx^{p}-hyperplane is given by Γ,kx\mathcal{E}_{\Gamma,k}^{x} defined above. Thus, in light of Remark 3, the trajectories of the plant dynamics are contained in Γ,kx\mathcal{E}_{\Gamma,k}^{x}, i.e., Γ,kxΓ,kx\mathcal{R}_{\Gamma,k}^{x}\subseteq\mathcal{E}_{\Gamma,k}^{x} for all kkk\geq k^{*}. \blacksquare

Refer to caption
Figure 4: (a) Stealthy reachable set Γ,kx\mathcal{R}_{\Gamma,k}^{x} and ellipsoidal outer approximation Γ,kx\mathcal{E}_{\Gamma,k}^{x} of Γ,kx\mathcal{R}_{\Gamma,k}^{x}; and (b)-(d) minimum distance dΓ,kxd_{\Gamma,k}^{x} between Γ,kx\mathcal{E}_{\Gamma,k}^{x} and critical states 𝒞x\mathcal{C}^{x}.

4.2 Distance to Critical States: Analysis

As a second security metric, we propose to use the minimum distance between Γ,kx\mathcal{R}_{\Gamma,k}^{x} and a possible set of critical states 𝒞x\mathcal{C}^{x} – states that, if reached, compromise the integrity or safe operation of the system. Such a region might represent states in which, for example, the pressure of a holding vessel exceeds its pressure rating or the level of a liquid in a tank exceeds its capacity. However, because Γ,kx\mathcal{R}_{\Gamma,k}^{x} is not known exactly, this distance cannot be directly computed. Instead, once the ellipsoidal bound Γ,kx\mathcal{E}_{\Gamma,k}^{x} on Γ,kx\mathcal{R}_{\Gamma,k}^{x} is obtained, we compute the minimum distance dΓ,kxd_{\Gamma,k}^{x} from Γ,kx\mathcal{E}_{\Gamma,k}^{x} to 𝒞x\mathcal{C}^{x} and use this dΓ,kxd_{\Gamma,k}^{x} as an approximation of the distance between Γ,kx\mathcal{R}_{\Gamma,k}^{x} and 𝒞x\mathcal{C}^{x} in terms of the set of sensors being compromised (the attacker’s sensor selection matrix Γ\Gamma). The distance dΓ,kxd_{\Gamma,k}^{x} gives us intuition of how far the actual reachable set Γ,kx\mathcal{R}_{\Gamma,k}^{x} is from 𝒞x\mathcal{C}^{x}.
The set of critical states in many practical applications can be captured through the union of half-spaces defined by their boundary hyperplanes:

𝒞x:={xpn|i=1NciTxpbi},\mathcal{C}^{x}:=\left\{x^{p}\in\mathbb{R}^{n}\ \Bigg|\ \bigcup_{i=1}^{N}c_{i}^{T}x^{p}\geq b_{i}\right\}, (28)

where each pair (ci,bi)(c_{i},b_{i}), cinc_{i}\in\mathbb{R}^{n}, bib_{i}\in\mathbb{R}, i=1,,Ni=1,\dots,N quantifies a hyperplane that defines a single half-space.

Corollary 3.

Consider the set of critical states 𝒞x\mathcal{C}^{x} defined in (28) and the matrix 𝒫Γx\mathcal{P}_{\Gamma}^{x} and the function αkx\alpha^{x}_{k} obtained in Theorem 1. The minimum distance, dΓ,kxd_{\Gamma,k}^{x}, between the outer ellipsoidal approximation of Γ,kx\mathcal{R}_{\Gamma,k}^{x}, Γ,kx={xpn|(xp)T𝒫Γxxpαkx}\mathcal{E}_{\Gamma,k}^{x}=\{x^{p}\in{\mathbb{R}}^{n}|(x^{p})^{T}\mathcal{P}_{\Gamma}^{x}x^{p}\leq\alpha_{k}^{x}\}, and 𝒞x\mathcal{C}^{x} is given by

dΓ,kx=min(|bi|ciT(𝒫Γx)1ci/αkxciTci),i=1,,N.d_{\Gamma,k}^{x}=\min\Bigg(\frac{|b_{i}|-\sqrt{c_{i}^{T}(\mathcal{P}_{\Gamma}^{x})^{-1}c_{i}/\alpha_{k}^{x}}}{c_{i}^{T}c_{i}}\Bigg),\hskip 1.42262pti=1,\ldots,N. (29)

Proof: The minimum distance between an ellipsoid centered at the origin {xn|xT𝒫x=1}\{x\in{\mathbb{R}}^{n}|x^{T}\mathcal{P}x=1\}, 𝒫n×n\mathcal{P}\in{\mathbb{R}}^{n\times n}, 𝒫>0\mathcal{P}>0 and a hyperplane {xn|cTx=b}\{x\in{\mathbb{R}}^{n}|c^{T}x=b\}, cnc\in{\mathbb{R}}^{n}, bb\in{\mathbb{R}} is given by the formula (|b|cT𝒫1c)/cTc(|b|-\sqrt{c^{T}\mathcal{P}^{-1}c})/c^{T}c, [19, 20]. It follows that the minimum distance between 𝒟x\mathcal{D}^{x}, conformed by the NN hyperplanes in (28), and Γ,kx\mathcal{E}_{\Gamma,k}^{x} is simply given by dΓ,kxd_{\Gamma,k}^{x} in (29). \blacksquare

Remark 4.

If dΓ,kx>0d_{\Gamma,k}^{x}>0, the ellipsoid Γ,kx\mathcal{E}_{\Gamma,k}^{x} bounding Γ,kx\mathcal{R}_{\Gamma,k}^{x} and the set of critical states 𝒞x\mathcal{C}^{x} do not intersect; if dΓ,kx=0d_{\Gamma,k}^{x}=0, they touch at a point only; and dΓ,kx<0d_{\Gamma,k}^{x}<0 implies that they intersect. In Figure 4, we depict a schematic representation of these ideas. Note that, due to potential conservatism of the ellipsoidal bounds, dΓ,kx<0d_{\Gamma,k}^{x}<0 does not necessarily imply that Γ,kx\mathcal{R}_{\Gamma,k}^{x} and 𝒞x\mathcal{C}^{x} intersect (see Figure 4 (d)). However, dΓ,kx0d_{\Gamma,k}^{x}\geq 0 does imply that they do not intersect, which is advantageous from the security perspective. Then, if we secure sensors leading to dΓ,kx<0d_{\Gamma,k}^{x}<0 or redesign controllers and monitors such that dΓ,kx0d_{\Gamma,k}^{x}\geq 0, we ensure that Γ,kx\mathcal{R}_{\Gamma,k}^{x} and 𝒞x\mathcal{C}^{x} does not intersect.

Attacked
Sensors
Volume of Γ,x\mathcal{E}^{x}_{\Gamma,\infty}
Distance to Critical
States dΓ,xd^{x}_{\Gamma,\infty}
(1) 150.72 8.07
(2) 453.51 4.20
(3) 219.43 8.60
(1,2) 952.95 -2.38
(1,3) 279.50 6.85
(2,3) 2063.46 -6.67
(1,2,3) 4300.32 -23.01
Table 1: Volume of the approximation Γ,x\mathcal{E}^{x}_{\Gamma,\infty} of Γ,x\mathcal{R}^{x}_{\Gamma,\infty} and distance dΓ,xd^{x}_{\Gamma,\infty} to the critical states 𝒞x\mathcal{C}^{x} for different attacked sensors.

4.3 Simulation Results

Consider the closed-loop system (18) with matrices as in (4.3), η¯=π\bar{\eta}=\sqrt{\pi}, and v¯=1\bar{v}=1. The controller matrices (Ac,Bc,Cc,Dc)(A^{c},B^{c},C^{c},D^{c}) are designed to guarantee that the 2\mathcal{L}_{2}-gain [40] from the vector of perturbations (vkT,ηkT)T(v_{k}^{T},\eta_{k}^{T})^{T} to the performance output sk=0.25xkp,3+ηk3s_{k}=0.25x_{k}^{p,3}+\eta^{3}_{k} is upper bounded by γ=3\gamma=3. We use the results in the appendix to design the monitor matrix Π\Pi so that, for k>k=10k>k^{*}=10, rkΠrk1r_{k}\Pi r_{k}\leq 1. Using Theorem 1, we obtain Γ,kζ\mathcal{E}_{\Gamma,k}^{\zeta} for all the possible combinations of the sensor attack selection matrix Γ\Gamma. Once we have Γ,kζ\mathcal{E}_{\Gamma,k}^{\zeta}, using Corollary 2, we project Γ,kζ\mathcal{E}_{\Gamma,k}^{\zeta} onto the xpx^{p}-hyperplane to obtain Γ,kx\mathcal{E}_{\Gamma,k}^{x}. Note that we have kk-dependent approximations Γ,kx\mathcal{E}_{\Gamma,k}^{x} of Γ,kx\mathcal{R}_{\Gamma,k}^{x}; however, because a<1a<1, the function αkx\alpha_{k}^{x} conforming Γ,kx\mathcal{E}_{\Gamma,k}^{x} converge exponentially to (3a)/(1a)(3-a)/(1-a). It follows that, in a few time steps, Γ,kxΓ,x={xn|xT𝒫Γxx(3a)/(1a)}\mathcal{E}_{\Gamma,k}^{x}\approx\mathcal{E}_{\Gamma,\infty}^{x}=\{x\in{\mathbb{R}}^{n}|x^{T}\mathcal{P}_{\Gamma}^{x}x\leq(3-a)/(1-a)\}, and thus, Γ,kxΓ,x\mathcal{E}_{\Gamma,k}^{x}\approx\mathcal{E}_{\Gamma,\infty}^{x}. We present Γ,x\mathcal{E}_{\Gamma,\infty}^{x} instead of the time-dependent Γ,kx\mathcal{E}_{\Gamma,k}^{x}. In Figure 5, we show the projection of Γ,x\mathcal{E}_{\Gamma,\infty}^{x} onto the (xp,2,xp,3)(x^{p,2},x^{p,3})-hyperplane for different sets of sensor being attacked. Figure 6 depicts the projection of Γ,x\mathcal{E}_{\Gamma,\infty}^{x} onto the (xp,1,xp,2)(x^{p,1},x^{p,2})-hyperplane and the distance to the set of critical states 𝒞x={xp3|xp,115}\mathcal{C}^{x}=\{x^{p}\in{\mathbb{R}}^{3}|x^{p,1}\leq-15\}. In Table 1, we give the numerical values of the volume of Γ,x\mathcal{E}_{\Gamma,\infty}^{x} and the distance to the critical states depicted in Figure 6 for different sensors being attacked. Note that some distances are negative, as explained in Remark 4, negative distances imply that there is a nonempty intersection between the critical states and the stealthy reachable set. That is, there exist attack sequences that can drive the system to the unsafe region without being detected by the system monitor. Assume, for instance, that two out of the three sensors can be completely secured, i.e., attacks to these sensors are impossible. From Table 1, we note that attacks to sensor two leads to the largest volume of Γ,x\mathcal{E}^{x}_{\Gamma,\infty} and the smallest distance to critical states dΓ,xd^{x}_{\Gamma,\infty}. Therefore, if only two sensors can be secured, they should be sensors two and three. Following the same logic, if only one sensor can be secured, then sensor two must be selected because attacks to the remaining sensors, one and three, lead to the smallest Γ,x\mathcal{E}^{x}_{\Gamma,\infty} and the largest dΓ,xd^{x}_{\Gamma,\infty}. Thereby, our tools can be used to allocate security equipment to sensors when limited resources are available.

 
{([c|c]ApBpCpDp)=([ccc|cc]0.620.210.030.071.00.080.720.540.230.50.020.020.6501.0100000100000100),([c|c]AcBcCcDc)=([ccc|ccc]0.100.090.160.240.100.240.060.060.090.060.060.060.080.070.080.120.070.150.081.380.850.511.740.010.090.080.120.140.090.27),L=(0.520.210.030.080.520.540.020.020.35),Π=(9.500.760.050.767.690.950.050.958.14)×102,E=In,F=Im.\displaystyle\left\{\begin{array}[]{ll}\begin{pmatrix}[c|c]A^{p}&B^{p}\\ \hline\cr C^{p}&D^{p}\end{pmatrix}=\begin{pmatrix}[ccc|cc]0.62&0.21&0.03&0.07&1.0\\ 0.08&0.72&0.54&0.23&0.5\\ 0.02&0.02&0.65&0&1.0\\ \hline\cr 1&0&0&0&0\\ 0&1&0&0&0\\ 0&0&1&0&0\end{pmatrix},\begin{pmatrix}[c|c]A^{c}&B^{c}\\ \hline\cr C^{c}&D^{c}\end{pmatrix}=\begin{pmatrix}[ccc|ccc]\hskip 7.11317pt0.10&\hskip 7.11317pt0.09&-0.16&-0.24&\hskip 7.11317pt0.10&\hskip 7.11317pt0.24\\ -0.06&-0.06&\hskip 7.11317pt0.09&\hskip 7.11317pt0.06&-0.06&-0.06\\ -0.08&-0.07&\hskip 7.11317pt0.08&\hskip 7.11317pt0.12&-0.07&-0.15\\ \hline\cr-0.08&\hskip 7.11317pt1.38&\hskip 7.11317pt0.85&-0.51&-1.74&\hskip 7.11317pt0.01\\ \hskip 7.11317pt0.09&-0.08&\hskip 7.11317pt0.12&-0.14&-0.09&-0.27\end{pmatrix},\\ L=\begin{pmatrix}0.52&0.21&0.03\\ 0.08&0.52&0.54\\ 0.02&0.02&0.35\end{pmatrix},\Pi=\begin{pmatrix}\hskip 7.11317pt9.50&-0.76&-0.05\\ -0.76&\hskip 7.11317pt7.69&-0.95\\ -0.05&-0.95&\hskip 7.11317pt8.14\end{pmatrix}\times 10^{-2},E=I_{n},F=I_{m}.\end{array}\right.
 
Figure 5: Projection of Γ,x\mathcal{E}_{\Gamma,\infty}^{x} onto the (xp,2,xp,3)(x^{p,2},x^{p,3})-hyperplane for different sets of sensor being attacked.
Figure 6: Projection of Γ,x\mathcal{E}_{\Gamma,\infty}^{x} onto the (xp,1,xp,2)(x^{p,1},x^{p,2})-hyperplane for different sets of sensor being attacked and distance to critical states.

5 Synthesis Tools: Attacker’s Reachable Sets

Next, we derive tools for designing the monitor and controller matrices κ:=(L,Π,Ac,Bc,Cc,Dc)\kappa:=(L,\Pi,A^{c},B^{c},C^{c},D^{c}) such that the impact of stealthy attacks on the system dynamics is minimized. In particular, we design κ\kappa to minimize the volume of Γ,kx\mathcal{E}_{\Gamma,k}^{x} (thus decreasing the size of Γ,kx\mathcal{R}_{\Gamma,k}^{x}) while guaranteeing some attack-free prescribed performance of the closed-loop system.

Remark 5.

We present synthesis results in terms of the sensor attack selection matrix Γ\Gamma. That is, for given Γ\Gamma, we provide synthesis tools to design optimal controllers and monitors – optimal in terms of minimal volume Γ,x\mathcal{E}_{\Gamma,\infty}^{x} for a desired attack-free closed-loop system performance. Note, however, that we do not have access to Γ\Gamma in practice, i.e., because we assume stealthy attacks, the set of sensors being attacked is unknown to the system designer. Nevertheless, once we have derived synthesis results for given Γ\Gamma, we provide general guidelines for using these results to synthesize controllers/monitors for unknown matrix Γ\Gamma. In particular, we propose techniques from sensor protection placement in power systems [10, 18]; and game-theoretic techniques [4].
Consider the extended attacker’s reachable set Γ,kζ\mathcal{R}_{\Gamma,k}^{\zeta} defined in (27) with matrices (𝒜,)(\mathcal{A},\mathcal{B}) as in (25). Note that, for every realization of κ=(L,Π,Ac,Bc,Cc,Dc)\kappa=(L,\Pi,A^{c},B^{c},C^{c},D^{c}), using Theorem 1 and Corollary 2, we can obtain Γ,kx\mathcal{E}_{\Gamma,k}^{x} containing Γ,kx\mathcal{R}_{\Gamma,k}^{x}. Here, we aim at finding the κ=κ\kappa=\kappa^{*} leading to the smallest possible volume of Γ,x\mathcal{E}_{\Gamma,\infty}^{x} (see (7)) among all realizations of (L,Π,Ac,Bc,Cc,Dc)(L,\Pi,A^{c},B^{c},C^{c},D^{c}). If we let κ\kappa be optimization variables rather than given parameters, by Proposition 1, to find κ\kappa^{*}, we have to find (L,Ac,Bc,Cc,Dc)(L,A^{c},B^{c},C^{c},D^{c}) conforming the matrices (𝒜,)(\mathcal{A},\mathcal{B}), the constants (a1,a2,b)(a_{1},a_{2},b), and the matrices 𝒫\mathcal{P} and Π\Pi solution of the optimization problem:

{minκ,𝒫,a1,a2,blogdet[𝒫], s.t.a1,a2,b(0,1),a1+a2+ba,𝒫>0,and :=[a𝒫𝒜T𝒫𝟎𝒫𝒜𝒫𝒫𝟎T𝒫Wai]𝟎;\left\{\begin{aligned} &\min_{\kappa,\mathcal{P},a_{1},a_{2},b}\ -\log\det[\mathcal{P}],\\ &\text{ \ \ \ }\text{s.t.}\ a_{1},a_{2},b\in(0,1),\hskip 2.84526pta_{1}+a_{2}+b\geq a,\hskip 2.84526pt\mathcal{P}>0,\hskip 2.84526pt\text{and}\\ &\text{\hskip 5.69054pt}\mathcal{L}:=\begin{bmatrix}a\mathcal{P}&\mathcal{A}^{T}\mathcal{P}&\mathbf{0}\\ \mathcal{P}\mathcal{A}&\mathcal{P}&\mathcal{P}\mathcal{B}\\ \mathbf{0}&\mathcal{B}^{T}\mathcal{P}&W_{a_{i}}\end{bmatrix}\geq\mathbf{0};\end{aligned}\right. (32)

with Wai:=diag[1a1η¯Im,1a2v¯In,(1b)Π]W_{a_{i}}:=\text{diag}[\frac{1-a_{1}}{\bar{\eta}}I_{m},\frac{1-a_{2}}{\bar{v}}I_{n},(1-b)\Pi]. However, because (L,Π,Ac,Bc,Cc,Dc)(L,\Pi,A^{c},B^{c},C^{c},D^{c}) are now variables, the blocks 𝒫𝒜\mathcal{P}\mathcal{A}, 𝒫\mathcal{P}\mathcal{B}, and bΠb\Pi in (32) are nonlinear in (κ,𝒫)(\kappa,\mathcal{P}). Following the results in [34], we propose an invertible linearizing change of variables:

(𝒫,κ)ν:=((X,Y,S),(R,G),(K,O,M,N)),\left(\mathcal{P},\kappa\right)\rightarrow\nu:=\left((X,Y,S),(R,G),(K,O,M,N)\right), (33)

such that, in the new variables ν\nu, the objective in (32) is convex and the restrictions are affine. In particular, for 𝒫>0\mathcal{P}>0 and the nonlinear matrix inequality 0\mathcal{L}\geq 0 defined in (32), we aim at finding two invertible matrices 𝒯1\mathcal{T}_{1} and 𝒯2\mathcal{T}_{2} such that the congruence transformations 𝒫𝒯1T𝒫𝒯1\mathcal{P}\rightarrow\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1} and 𝒯2T𝒯2\mathcal{L}\rightarrow\mathcal{T}_{2}^{T}\mathcal{L}\mathcal{T}_{2} lead to new linear matrix inequalities 𝒯1T𝒫𝒯1>𝟎\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1}>\mathbf{0} and 𝒯2T𝒯2𝟎\mathcal{T}_{2}^{T}\mathcal{L}\mathcal{T}_{2}\geq\mathbf{0} in ν\nu.

5.1 Change of Variables, Constraints, and Objective Function

To address the synthesis problem, we impose some structure on the matrix 𝒫\mathcal{P}. Let 𝒫\mathcal{P} be positive definite and of the form

𝒫:=[XU𝟎UTX~𝟎𝟎𝟎S],\mathcal{P}:=\begin{bmatrix}X\hskip 5.69054pt&U\hskip 5.69054pt&\mathbf{0}\\ U^{T}&\tilde{X}\hskip 5.69054pt&\mathbf{0}\\ \mathbf{0}\hskip 5.69054pt&\mathbf{0}\hskip 5.69054pt&S\end{bmatrix}, (34)

with X,U,X~,Sn×nX,U,\tilde{X},S\in{\mathbb{R}}^{n\times n} and positive definite XX, X~\tilde{X}, and SS. Define the matrices:

𝒳:=[XUUTX~],𝒳1=:[YVVTY~],𝒴:=[YIVT𝟎],𝒵:=[I𝟎XU].\mathcal{X}:=\begin{bmatrix}X\hskip 5.69054pt&U\\ U^{T}&\tilde{X}\end{bmatrix},\mathcal{X}^{-1}=:\begin{bmatrix}Y&V\\ V^{T}&\tilde{Y}\end{bmatrix},\mathcal{Y}:=\begin{bmatrix}Y&I\\ V^{T}&\mathbf{0}\end{bmatrix},\mathcal{Z}:=\begin{bmatrix}I&\mathbf{0}\\ X&U\end{bmatrix}. (35)

Using block matrix inversion formulas, it is easy to verify that YX+VUT=IYX+VU^{T}=I and YU+VX~=𝟎YU+V\tilde{X}=\mathbf{0}, which leads to 𝒴T𝒳=𝒵\mathcal{Y}^{T}\mathcal{X}=\mathcal{Z}. Define the matrices 𝒯13n×3n\mathcal{T}_{1}\in{\mathbb{R}}^{3n\times 3n} and 𝒯29n×9n\mathcal{T}_{2}\in{\mathbb{R}}^{9n\times 9n} as

𝒯1:=[𝒴𝟎𝟎I]=[YI𝟎VT𝟎𝟎𝟎𝟎I],\displaystyle\mathcal{T}_{1}:=\begin{bmatrix}\mathcal{Y}&\mathbf{0}\\ \mathbf{0}&I\end{bmatrix}=\begin{bmatrix}Y\hskip 5.69054pt&I\hskip 5.69054pt&\mathbf{0}\\ V^{T}&\mathbf{0}\hskip 5.69054pt&\mathbf{0}\\ \mathbf{0}\hskip 5.69054pt&\mathbf{0}\hskip 5.69054pt&I\end{bmatrix}, (36)
𝒯2:=[𝒯1𝟎𝟎𝟎𝒯1𝟎𝟎𝟎I].\displaystyle\mathcal{T}_{2}:=\begin{bmatrix}\mathcal{T}_{1}&\mathbf{0}&\mathbf{0}\\ \mathbf{0}&\mathcal{T}_{1}&\mathbf{0}\\ \mathbf{0}&\mathbf{0}&I\end{bmatrix}. (37)

Then, 𝒫𝒯1T𝒫𝒯1\mathcal{P}\rightarrow\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1} and 𝒯2T𝒯2\mathcal{L}\rightarrow\mathcal{T}_{2}^{T}\mathcal{L}\mathcal{T}_{2} take the form:

𝒯1T𝒫𝒯1=[YI𝟎IX𝟎𝟎𝟎S]=:𝐏(ν),\displaystyle\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1}=\begin{bmatrix}{\color[rgb]{0,0.5,1}Y}&I&\mathbf{0}\\ I&{\color[rgb]{0,0.5,1}X}&\mathbf{0}\\ \mathbf{0}&\mathbf{0}&{\color[rgb]{0,0.5,1}S}\end{bmatrix}=:\mathbf{P}(\nu), (38)
𝒯2T𝒯2=[a𝒯1T𝒫𝒯1𝒯1T𝒜T𝒫𝒯1𝟎𝒯1T𝒫𝒜𝒯1𝒯1T𝒫𝒯1𝒯1T𝒫𝟎T𝒫𝒯1Wai].\displaystyle\mathcal{T}_{2}^{T}\mathcal{L}\mathcal{T}_{2}=\begin{bmatrix}a\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1}&\mathcal{T}_{1}^{T}\mathcal{A}^{T}\mathcal{P}\mathcal{T}_{1}&\mathbf{0}\\[2.84526pt] \mathcal{T}_{1}^{T}\mathcal{P}\mathcal{A}\mathcal{T}_{1}&\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1}&\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{B}\\[2.84526pt] \mathbf{0}&\mathcal{B}^{T}\mathcal{P}\mathcal{T}_{1}&W_{a_{i}}\end{bmatrix}. (39)

The structure of 𝐏(ν)\mathbf{P}(\nu) follows from symmetry of 𝒫\mathcal{P}, which implies symmetric XX and YY and XY+UVT=IXY+UV^{T}=I. Note that the block 𝒯1T𝒫𝒯1\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1} is linear in XX, YY, and SS. Next, using the definition of (𝒜,)(\mathcal{A},\mathcal{B}) in (25), we expand the blocks 𝒯1T𝒫𝒜𝒯1\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{A}\mathcal{T}_{1} and 𝒯1T𝒫\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{B}. Note that the matrix 𝒜\mathcal{A} is upper triangular. Let 𝒜\mathcal{A} be partitioned as

𝒜=:[𝒜1𝒜2𝟎𝒜3];\displaystyle\mathcal{A}=:\begin{bmatrix}\mathcal{A}_{1}&\mathcal{A}_{2}\\ \mathbf{0}&\mathcal{A}_{3}\end{bmatrix}; (40)

and define the change of controller, observer, and monitor variables:

(KXApYOMN)\displaystyle\begin{pmatrix}{\color[rgb]{0,0.5,1}K}-{\color[rgb]{0,0.5,1}X}A^{p}{\color[rgb]{0,0.5,1}Y}&{\color[rgb]{0,0.5,1}O}\\ {\color[rgb]{0,0.5,1}M}&{\color[rgb]{0,0.5,1}N}\end{pmatrix} :=(UXBp𝟎Il)(AcBcCcDc)\displaystyle:=\begin{pmatrix}U&{\color[rgb]{0,0.5,1}X}B^{p}\\ \mathbf{0}&I_{l}\end{pmatrix}\begin{pmatrix}{\color[rgb]{0,0.6,0}A^{c}}&{\color[rgb]{0,0.6,0}B^{c}}\\ {\color[rgb]{0,0.6,0}C^{c}}&{\color[rgb]{0,0.6,0}D^{c}}\end{pmatrix}
×(VT𝟎CpYIm),\displaystyle\hskip 56.9055pt\times\begin{pmatrix}V^{T}&\mathbf{0}\\ C^{p}{\color[rgb]{0,0.5,1}Y}&I_{m}\end{pmatrix}, (41a)
R\displaystyle{\color[rgb]{0,0.5,1}R} :=SL,\displaystyle:={\color[rgb]{0,0.5,1}S}{\color[rgb]{0,0.6,0}L}, (41b)
G\displaystyle{\color[rgb]{0,0.5,1}G} :=Π.\displaystyle:={\color[rgb]{0,0.6,0}\Pi}. (41c)

Then, 𝒯1T𝒫𝒜𝒯1\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{A}\mathcal{T}_{1} can be written as

𝐀(ν):=𝒯1T𝒫𝒜𝒯1=[𝒴T𝒳𝒜1𝒴𝒵𝒜2𝟎S𝒜3]\displaystyle\mathbf{A}(\nu):=\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{A}\mathcal{T}_{1}=\begin{bmatrix}\mathcal{Y}^{T}\mathcal{X}\mathcal{A}_{1}\mathcal{Y}&\mathcal{Z}\mathcal{A}_{2}\\ \mathbf{0}&S\mathcal{A}_{3}\end{bmatrix} (42)
=[ApY+BpMAp+BpNCpBpNΓΓ+CpKXAp+OCpOΓΓ+Cp𝟎𝟎SApR(ImΓΓ+)Cp],\displaystyle=\begin{bmatrix}A^{p}{\color[rgb]{0,0.5,1}Y}+B^{p}{\color[rgb]{0,0.5,1}M}&A^{p}+B^{p}{\color[rgb]{0,0.5,1}N}C^{p}&-B^{p}{\color[rgb]{0,0.5,1}N}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}C^{p}\\ {\color[rgb]{0,0.5,1}K}&{\color[rgb]{0,0.5,1}X}A^{p}+{\color[rgb]{0,0.5,1}O}C^{p}&-{\color[rgb]{0,0.5,1}O}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}C^{p}\\ \mathbf{0}&\mathbf{0}&{\color[rgb]{0,0.5,1}S}A^{p}-{\color[rgb]{0,0.5,1}R}(I_{m}-{\color[rgb]{1,0,0}\Gamma\Gamma^{+}})C^{p}\end{bmatrix},

the block 𝒯1T𝒫\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{B} as

𝐁(ν):=𝒯1T𝒫=[𝒵𝟎𝟎S]\displaystyle\mathbf{B}(\nu):=\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{B}=\begin{bmatrix}\mathcal{Z}&\mathbf{0}\\ \mathbf{0}&S\end{bmatrix}\mathcal{B} (43)
=[BpN(ImΓΓ+)FEBpNΓΓ+O(ImΓΓ+)FXEOΓΓ+R(ImΓΓ+)FSERΓΓ+],\displaystyle\hskip 29.87538pt=\begin{bmatrix}B^{p}{\color[rgb]{0,0.5,1}N}(I_{m}-{\color[rgb]{1,0,0}\Gamma\Gamma^{+}})F&E&B^{p}{\color[rgb]{0,0.5,1}N}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}\\ {\color[rgb]{0,0.5,1}O}(I_{m}-{\color[rgb]{1,0,0}\Gamma\Gamma^{+}})F&{\color[rgb]{0,0.5,1}X}E&{\color[rgb]{0,0.5,1}O}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}\\ -{\color[rgb]{0,0.5,1}R}(I_{m}-{\color[rgb]{1,0,0}\Gamma\Gamma^{+}})F&{\color[rgb]{0,0.5,1}S}E&-{\color[rgb]{0,0.5,1}R}{\color[rgb]{1,0,0}\Gamma\Gamma^{+}}\end{bmatrix},

and the block WaiW_{a_{i}} as

Wai=diag[1a1η¯Im,1a2v¯In,(1b)G]=:𝐖(ν).\displaystyle W_{a_{i}}=\text{diag}\Bigg[\frac{1-a_{1}}{\bar{\eta}}I_{m},\frac{1-a_{2}}{\bar{v}}I_{n},(1-b){\color[rgb]{0,0.5,1}G}\Bigg]=:\mathbf{W}(\nu). (44)

Therefore, under 𝒯1\mathcal{T}_{1}, 𝒯2\mathcal{T}_{2}, and the new variables in (41), the blocks transforms as

{𝒫𝐏(ν),𝒯1T𝒫𝒜𝒯1𝐀(ν),𝒯1T𝒫𝐁(ν),Wai𝐖(ν),\left\{\begin{array}[]{l}\mathcal{P}\rightarrow\mathbf{P}(\nu),\hskip 5.69054pt\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{A}\mathcal{T}_{1}\rightarrow\mathbf{A}(\nu),\\[5.69054pt] \mathcal{T}_{1}^{T}\mathcal{P}\mathcal{B}\rightarrow\mathbf{B}(\nu),\hskip 5.69054ptW_{a_{i}}\rightarrow\mathbf{W}(\nu),\end{array}\right. (45)

with 𝐏(ν),𝐀(ν)\mathbf{P}(\nu),\mathbf{A}(\nu), 𝐁(ν)\mathbf{B}(\nu), and 𝐖(ν)\mathbf{W}(\nu) as defined in (38), (42), (43), and (44), respectively. That is, the original blocks, 𝒫𝒜\mathcal{PA} and 𝒫\mathcal{PB}, that depend non-linearly on the decision variables (κ,𝒫)(\kappa,\mathcal{P}) are transformed into blocks that are affine functions of the new variables ν\nu. If ν\nu is given and UU and VV are invertible, the change of variables in (41) and the matrix 𝒯1\mathcal{T}_{1} are invertible and thus (κ,𝒫)(\kappa,\mathcal{P}) can be constructed from ν\nu and they are unique. Moreover, invertible VV implies that 𝒯1\mathcal{T}_{1} and 𝒯2\mathcal{T}_{2} are nonsingular and thus the transformations 𝒫𝒯1T𝒫𝒯1\mathcal{P}\rightarrow\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1} and 𝒯2T𝒯2\mathcal{L}\rightarrow\mathcal{T}_{2}^{T}\mathcal{L}\mathcal{T}_{2} are congruent. The latter implies that

𝒫>𝟎 and 𝟎𝐏(ν)>𝟎 and 𝐋(ν)𝟎,\displaystyle\mathcal{P}>\mathbf{0}\text{ and }\mathcal{L}\geq\mathbf{0}\Leftrightarrow\mathbf{P}(\nu)>\mathbf{0}\text{ and }\mathbf{L}(\nu)\geq\mathbf{0}, (46)

where

𝐋(ν):=𝒯2T𝒯2=[a𝐏(ν)𝐀(ν)T𝟎𝐀(ν)𝐏(ν)𝐁(ν)𝟎𝐁(ν)T𝐖(ν)].\displaystyle\mathbf{L}(\nu):=\mathcal{T}_{2}^{T}\mathcal{L}\mathcal{T}_{2}=\begin{bmatrix}a\mathbf{P}(\nu)&\mathbf{A}(\nu)^{T}&\mathbf{0}\\ \mathbf{A}(\nu)&\mathbf{P}(\nu)&\mathbf{B}(\nu)\\ \mathbf{0}&\mathbf{B}(\nu)^{T}&\mathbf{W}(\nu)\end{bmatrix}. (47)

If the matrix 𝐏(ν)\mathbf{P}(\nu) is positive definite, by the Schur complement, Y>0Y>0 and XY1>0X-Y^{-1}>0, and because YX+VUT=IYX+VU^{T}=I by construction (see Eq. (35)), VUT=IYX<𝟎VU^{T}=I-YX<\mathbf{0}, i.e., the matrix VUTVU^{T} is nonsingular. Therefore, if 𝐏(ν)>0\mathbf{P}(\nu)>0, it is always possible to find nonsingular UU and VV satisfying YX+VUT=IYX+VU^{T}=I. In the following lemma, we summarize the discussion presented above.

Lemma 2.

Consider the observer, monitor, and controller matrices κ=(L,Π,Ac,Bc,Cc,Dc)\kappa=(L,\Pi,A^{c},B^{c},C^{c},D^{c}), and the matrices \mathcal{L} and 𝒫\mathcal{P} as defined in (32) and (34), respectively. If there exists ν=(X,Y,S,R,G,K,O,M,N)\nu=\left(X,Y,S,R,G,K,O,M,N\right) satisfying 𝐏(ν)>𝟎\mathbf{P}(\nu)>\mathbf{0} and 𝐋(ν)𝟎\mathbf{L}(\nu)\geq\mathbf{0} with 𝐏(ν)\mathbf{P}(\nu) and 𝐋(ν)\mathbf{L}(\nu) as defined in (38) and (47), respectively; then, there exists (κ,𝒫)(\kappa,\mathcal{P}) satisfying 𝒫>0\mathcal{P}>0 and 𝟎\mathcal{L}\geq\mathbf{0}. Moreover, for every ν\nu such that 𝐏(ν)>𝟎\mathbf{P}(\nu)>\mathbf{0} and 𝐋(ν)𝟎\mathbf{L}(\nu)\geq\mathbf{0}, the change of variables in (41) and matrix 𝒯1\mathcal{T}_{1} are invertible and the (κ,𝒫)(\kappa,\mathcal{P}) obtained by inverting (38) and (41) is unique.
Proof: Assume that ν\nu is such that 𝐏(ν)>𝟎\mathbf{P}(\nu)>\mathbf{0} and 𝐋(ν)𝟎\mathbf{L}(\nu)\geq\mathbf{0}. Because 𝐏(ν)>𝟎\mathbf{P}(\nu)>\mathbf{0}, by the Schur complement, Y>0Y>0 and XY1>0X-Y^{-1}>0. Since YX+VUT=IYX+VU^{T}=I, then VUT=IYX<𝟎VU^{T}=I-YX<\mathbf{0}, i.e., the matrix VUTVU^{T} is invertible. Hence, it is always possible to factorize IYXI-YX as VUT=IYXVU^{T}=I-YX with square and nonsingular UU and VV. Invertible UU and VV implies that 𝒯1\mathcal{T}_{1} and 𝒯2\mathcal{T}_{2} are square and nonsingular and thus the transformations 𝒫𝒯1T𝒫𝒯1=𝐏(ν)\mathcal{P}\rightarrow\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1}=\mathbf{P}(\nu) and 𝒯2T𝒯2=𝐋(ν)\mathcal{L}\rightarrow\mathcal{T}_{2}^{T}\mathcal{L}\mathcal{T}_{2}=\mathbf{L}(\nu) are congruent. It follows that 𝐏(ν)>𝟎\mathbf{P}(\nu)>\mathbf{0} and 𝐋(ν)𝟎\mathbf{L}(\nu)\geq\mathbf{0} imply 𝒫>0\mathcal{P}>0 and 𝟎\mathcal{L}\geq\mathbf{0} because 𝐏(ν)\mathbf{P}(\nu) and 𝐋(ν)\mathbf{L}(\nu) have the same signature as 𝒫\mathcal{P} and \mathcal{L}, respectively. Because 𝐏(ν)>𝟎\mathbf{P}(\nu)>\mathbf{0}, the matrices UU, VV, and SS are nonsingular. This implies that the change of variables in (41) and 𝒯1\mathcal{T}_{1} are invertible and lead to unique (κ,𝒫)(\kappa,\mathcal{P}) by inverting (38) and (41). \blacksquare
So far, we have derived from the analysis inequalities, 𝒫>𝟎\mathcal{P}>\mathbf{0} and 𝟎\mathcal{L}\geq\mathbf{0} in (32), the synthesis inequalities 𝐏(ν)>𝟎\mathbf{P}(\nu)>\mathbf{0} and 𝐋(ν)𝟎\mathbf{L}(\nu)\geq\mathbf{0} defined in (38) and (47). If we find a realization of ν\nu satisfying the synthesis inequalities, we factorize IYXI-YX into nonsingular matrices VV and UU satisfying IYX=VUTI-YX=VU^{T}, use these VV and UU to solve the equations in (41) to obtain the controller, observer, and monitor matrices, and invert (38) to obtain the ellipsoid matrix 𝒫\mathcal{P}. By Lemma 2, this (κ,𝒫)(\kappa,\mathcal{P}) satisfies the analysis inequalities in (32).
We aim at minimizing the number of states that the attacker can induce in the system while remaining stealthy, i.e., we want to make the “size” of Γ,kx\mathcal{R}^{x}_{\Gamma,k} defined in (21) as small as possible by selecting ν\nu. To achieve this, we seek for the ν\nu that minimizes the volume of Γ,x\mathcal{E}^{x}_{\Gamma,\infty} (which would decrease the size of Γ,kx\mathcal{R}^{x}_{\Gamma,k}). In the analysis case, we look for the matrix 𝒫\mathcal{P} satisfying 𝒫>𝟎\mathcal{P}>\mathbf{0} and 𝟎\mathcal{L}\geq\mathbf{0} leading to the ellipsoid Γ,kζ={ζ3n|ζT𝒫ζαkζ}\mathcal{E}^{\zeta}_{\Gamma,k}=\{\zeta\in{\mathbb{R}}^{3n}|\zeta^{T}\mathcal{P}\zeta\leq\alpha_{k}^{\zeta}\} bounding Γ,kζ\mathcal{R}^{\zeta}_{\Gamma,k} (defined in (27)) and then, using Corollary 2, we project this Γ,kζ\mathcal{E}^{\zeta}_{\Gamma,k} onto the xpx^{p}-hyperplane to obtain Γ,kx\mathcal{E}^{x}_{\Gamma,k}. To follow the same approach for synthesis, we would need to minimize the volume of ζT𝒫ζ=αζ\zeta^{T}\mathcal{P}\zeta=\alpha_{\infty}^{\zeta} subject to 𝐏(ν)>𝟎\mathbf{P}(\nu)>\mathbf{0} and 𝐋(ν)𝟎\mathbf{L}(\nu)\geq\mathbf{0}. However, the matrix 𝒫\mathcal{P} cannot be written in terms of ν\nu and minimizing the volume of ζT𝐏(ν)ζ=αζ\zeta^{T}\mathbf{P}(\nu)\zeta=\alpha_{\infty}^{\zeta} is not an equivalent objective. Instead, because the projection Γ,kx\mathcal{E}^{x}_{\Gamma,k} can be written in terms of ν\nu, we seek to minimize the volume of Γ,x\mathcal{E}^{x}_{\Gamma,\infty} directly.

Lemma 3.

Consider Γ,kζ={ζ3n|ζT𝒫ζ=αkζ}\mathcal{E}^{\zeta}_{\Gamma,k}=\{\zeta\in{\mathbb{R}}^{3n}|\zeta^{T}\mathcal{P}\zeta=\alpha_{k}^{\zeta}\} with matrix 𝒫3n×3n\mathcal{P}\in{\mathbb{R}}^{3n\times 3n} as defined in (34), extended state ζ=((xp)T,(xc)T,eT)T\zeta=((x^{p})^{T},(x^{c})^{T},e^{T})^{T}, and αkζ>0\alpha_{k}^{\zeta}\in{\mathbb{R}}_{>0}, kk\in{\mathbb{N}}. The projection of Γ,kζ\mathcal{E}^{\zeta}_{\Gamma,k} onto the xpx^{p}-hyperplane is given by the ellipsoid Γ,kx={xpn|(xp)TY1xp=αkζ}\mathcal{E}^{x}_{\Gamma,k}=\{x^{p}\in{\mathbb{R}}^{n}|(x^{p})^{T}Y^{-1}x^{p}=\alpha_{k}^{\zeta}\} with YY as defined in (35).
Proof: For 𝒫\mathcal{P} as defined in (34), by Lemma 10 in the appendix, the boundary of the projection of Γ,kζ\mathcal{E}^{\zeta}_{\Gamma,k} onto the xpx^{p}-hyperplane, Γ,kx\mathcal{E}^{x}_{\Gamma,k}, is given by (xp)T(XUX~1UT)xp=αkζ(x^{p})^{T}(X-U\tilde{X}^{-1}U^{T})x^{p}=\alpha_{k}^{\zeta}. Using standard block matrix inversion formulas (see, e.g., [15]) and the definition of YY in (35), we have Y=(XUX~1UT)1Y=(X-U\tilde{X}^{-1}U^{T})^{-1} and therefore Γ,kx\mathcal{E}^{x}_{\Gamma,k} can be written in terms of ν\nu as Γ,kx={xpn|(xp)TY1xp=αkζ}\mathcal{E}^{x}_{\Gamma,k}=\{x^{p}\in{\mathbb{R}}^{n}|(x^{p})^{T}Y^{-1}x^{p}=\alpha_{k}^{\zeta}\}. \blacksquare
Lemma 3 implies that, in the new variables, we can minimize the volume of (xp)TY1xp=αζ(x^{p})^{T}Y^{-1}x^{p}=\alpha_{\infty}^{\zeta} to reduce the size of Γ,kx\mathcal{R}^{x}_{\Gamma,k}. Therefore, in the synthesis case, we seek to minimize the volume of (xp)TY1xp=αζ(x^{p})^{T}Y^{-1}x^{p}=\alpha_{\infty}^{\zeta} subject to 𝐏(ν)>𝟎\mathbf{P}(\nu)>\mathbf{0} and 𝐋(ν)𝟎\mathbf{L}(\nu)\geq\mathbf{0}. The volume of Γ,x\mathcal{E}^{x}_{\Gamma,\infty} is proportional to det[Y]\sqrt{\det[Y]} for any αζ>0\alpha_{\infty}^{\zeta}>0 [19]. Moreover, the function det[Y]\sqrt{\det[Y]} shares the same minimizer with logdet[Y]\log\det[Y] [5]. However, the function logdet[Y]\log\det[Y] is concave for any positive definite matrix YY. To overcome this obstacle, we look for a convex upper bound on det[Y]\sqrt{\det[Y]} and minimize this bound instead. In order to derive this bound, we use the Arithmetic Mean-Geometric Mean (AM-GM) Inequality which states the following: For any sequence of positive real numbers, c1,c2,,cnc_{1},c_{2},\ldots,c_{n}, the inequality (j=1ncj)1/n1nj=1ncj(\prod_{j=1}^{n}c_{j})^{1/n}\leq\frac{1}{n}\sum_{j=1}^{n}c_{j} is satisfied [36].

Lemma 4.

For any positive definite matrix Yn×nY\in{\mathbb{R}}^{n\times n}, the following is satisfied:

det[Y]1n1ntrace[Y]det[Y]121nn2trace[Y]n2.\det[Y]^{\frac{1}{n}}\leq\frac{1}{n}\text{\emph{trace}}[Y]\Rightarrow\det[Y]^{\frac{1}{2}}\leq\frac{1}{n^{\frac{n}{2}}}\text{\emph{trace}}[Y]^{\frac{n}{2}}. (48)

Moreover, because YY is positive definite

argmin[trace[Y]n/2]=argmin[trace[Y]];\arg\min[\text{\emph{trace}}[Y]^{n/2}]=\arg\min[\text{\emph{trace}}[Y]];

that is, trace[Y]n/2\text{\emph{trace}}[Y]^{n/2} and trace[Y]\text{\emph{trace}}[Y] share the same minimizer. Therefore, by minimizing trace[Y]\text{\emph{trace}}[Y], we minimize an upper bound on det[Y]\sqrt{\det[Y]}.
Proof: Let λj[Y]\lambda_{j}[Y] denote the jj-th eigenvalue of YY, j=1,,nj=1,\ldots,n. Because YY is positive definite, the eigenvalues of YY are strictly positive. Then, because det[Y]=j=1nλj[Y]\det[Y]=\prod_{j=1}^{n}\lambda_{j}[Y] and trace[Y]=j=1nλj[Y]\text{trace}[Y]=\sum_{j=1}^{n}\lambda_{j}[Y], we have (j=1nλj[Y])1/n1nj=1nλj[Y](\prod_{j=1}^{n}\lambda_{j}[Y])^{1/n}\leq\frac{1}{n}\sum_{j=1}^{n}\lambda_{j}[Y] as a direct consequence of the (AM-GM) inequality [36], i.e., the left-hand side of (48) is satisfied for any positive definite YY. Given that both det[Y]\det[Y] and trace[Y]\text{trace}[Y] are strictly positive, the right-hand side of (48) follows from the left-hand side inequality by raising it to the power n/2n/2. The function g(x):=xn/2g(x):=x^{n/2} is strictly positive and convex for x>0x>0. Hence, the upper bound (1/nn/2)trace[Y]n/2(1/n^{n/2})\text{trace}[Y]^{n/2} in (48) is monotonically increasing in trace[Y]\text{trace}[Y]. It follows that, for Y>0Y>0, argmin[trace[Y]n/2]=argmin[trace[Y]]\arg\min[\text{trace}[Y]^{n/2}]=\arg\min[\text{trace}[Y]] for any nn\in{\mathbb{N}}, and the assertion follows. \blacksquare
Up to this point, we have the necessary tools for selecting ν\nu to reduce the size of the stealthy reachable set Γ,kx\mathcal{R}^{x}_{\Gamma,k}. That is, we have the constraints, 𝐏(ν)>𝟎\mathbf{P}(\nu)>\mathbf{0} and 𝐋(ν)𝟎\mathbf{L}(\nu)\geq\mathbf{0}, and the cost function, trace[Y]\text{trace}[Y], needed to cast the optimization problem to minimize the volume of Γ,x\mathcal{E}^{x}_{\Gamma,\infty}. There is, however, one last ingredient to be considered before casting the complete synthesis optimization problem; namely, the attack-free performance of the closed-loop dynamics.

5.2 Attack-Free Observer, Monitor, and Controller Performance

As we now move towards posing the complete syntheses optimization problem, we note that as L0||L||\rightarrow 0, Bc0||B^{c}||\rightarrow 0, and Dc0||D^{c}||\rightarrow 0, the reachable set Γ,kx\mathcal{R}^{x}_{\Gamma,k} converges to the empty set because the attack-dependent terms in (18) vanish. To make this concrete, without any other considered criteria, the matrices (L,Ac,Bc)(L,A^{c},B^{c}) leading to the smallest Γ,kx\mathcal{E}^{x}_{\Gamma,k} are trivially given by (L,Ac,Bc)=𝟎(L,A^{c},B^{c})=\mathbf{0}. While this is effective at eliminating the impact of the attacker, it implies that we discard the observer and the controller altogether and, therefore, forfeit any ability to control the system and build a reliable estimate of the state. If there are performance specifications that the observer, monitor, and controller must satisfy in the attack-free case (e.g., convergence speed, perturbation-output gain, and closed-loop dynamics spectrum), they have to be added as extra constraints into the minimization problem posted to minimize the volume of Γ,x\mathcal{E}^{x}_{\Gamma,\infty}.
Several time and frequency domain performance specifications for LTI systems have been expressed as LMI constraints on the closed-loop state-space matrices and quadratic Lyapunov functions [34]. Here, our goal is to compute a single observer (12), monitor (16), and controller (17) that: 1) meets the required attack-free performance specifications, and 2) decreases the set of states reachable by stealthy attackers. For LTI systems and some of the most frequently used performance specifications (e.g., general quadratic performance [34]), there are analysis and synthesis results of the form: System Σ\Sigma satisfies the performance specification γj\gamma_{j} if there exists a Lyapunov matrix 𝒫j\mathcal{P}_{j} that satisfies some LMIs in 𝒫j\mathcal{P}_{j}. If our synthesis problem involves NN specifications, γ1,,γN\gamma_{1},\ldots,\gamma_{N}, by collecting the LMIs of each specification, we end up having a set of matrix inequalities whose variables are the observer, monitor, and controller matrices, and the Lyapunov matrices, 𝒫1,,𝒫N\mathcal{P}_{1},\ldots,\mathcal{P}_{N}, of the specifications (plus auxiliary variables depending on the performance criteria). To pose a tractable co-design considering the volume of Γ,kx\mathcal{E}^{x}_{\Gamma,k} and the specification γj\gamma_{j}, we must rewrite the specification Lyapunov matrix 𝒫j\mathcal{P}_{j} and its corresponding LMIs in terms of the synthesis variables ν\nu. This can be achieved by imposing 𝒫j=TjT𝒫Tj\mathcal{P}_{j}=T^{T}_{j}\mathcal{P}T_{j}, where 𝒫\mathcal{P} is the Lyapunov-like matrix associated with Γ,kx\mathcal{E}^{x}_{\Gamma,k} in (34) and TjT_{j} denotes some linear transformation. By doing so, we can write the specification LMIs in terms of 𝒫\mathcal{P} and use the change of variables in (41) and the transformations 𝒯1\mathcal{T}_{1} and 𝒯2\mathcal{T}_{2} in (36)-(37) to write these LMIs in terms of ν\nu.

Remark 6.

In this manuscript, as attack-free performance specifications, we consider the spectrum of the estimation error dynamics for the observer and, for the controller, the 2\mathcal{L}_{2} gain from the vector of perturbations to some performance output. We remark that any other specification γj\gamma_{j} can be considered in our framework as long as the corresponding Lyapunov matrix 𝒫j\mathcal{P}_{j} and the LMIs can be written in terms of the synthesis variables ν\nu. In Ref. [34], the authors provide a synthesis framework for general quadratic performance – which covers 2\mathcal{H}_{2}/\mathcal{H}_{\infty} performance, passivity, asymptotic disturbance rejection, peak impulse response, peak-to-peak gain, nominal/robust regulation, and closed-loop pole location. The framework here and the one in [34] are compatible in the sense that any performance specification considered in [34] can be written as LMIs in terms of our syntheses variables ν\nu.
Attack-Free Monitor Feasibility. Note that the observer gain LL and the monitor matrix Π\Pi must be chosen such that Assumption 1 is satisfied. That is, the pair (L,Π)(L,\Pi) must be selected such that, in the attack-free case (δk=𝟎\delta_{k}=\mathbf{0}), there exists some kk^{*}\in{\mathbb{N}} satisfying rkTΠrk1r_{k}^{T}\Pi r_{k}\leq 1 for all kkk\geq k^{*} and rkr_{k} solution of (15). Next, we provide constraints in the syntheses variables ν\nu that have to be fulfilled to satisfy Assumption 1.

Lemma 5.

Consider the system matrices (Ap,Cp,E,F)(A^{p},C^{p},E,F) and the perturbation bounds v¯,η¯>0\bar{v},\bar{\eta}\in{\mathbb{R}}_{>0}. Assume no attacks to the system, i.e., δk=𝟎\delta_{k}=\mathbf{0}. For a given a(0,1)a\in(0,1), constant αe:=(2a)/(1a)\alpha^{e}_{\infty}:=(2-a)/(1-a), and ϵ>0\epsilon\in{\mathbb{R}}_{>0}, if there exist constants a1,a2a_{1},a_{2}\in{\mathbb{R}} and matrices Sn×nS\in{\mathbb{R}}^{n\times n}, Gm×mG\in{\mathbb{R}}^{m\times m}, and Rn×mR\in{\mathbb{R}}^{n\times m} satisfying:

{a1,a2(0,1),a1+a2a,S>𝟎,G>𝟎,[aS(SApRCp)T𝟎𝟎SApRCpSRFSE𝟎(RF)T1a1η¯Im𝟎𝟎ETS𝟎1a2v¯In]𝟎,[1αe+ϵ+η¯S(Cp)TGCp(Cp)TGGCp1αe+ϵ+η¯ImG]𝟎;\left\{\begin{array}[]{lll}&a_{1},a_{2}\in(0,1),\hskip 2.84526pta_{1}+a_{2}\geq a,\hskip 2.84526pt{\color[rgb]{0,0.5,1}S}>\mathbf{0},\hskip 2.84526pt{\color[rgb]{0,0.5,1}G}>\mathbf{0},\\[2.84526pt] &\begin{bmatrix}a{\color[rgb]{0,0.5,1}S}&({\color[rgb]{0,0.5,1}S}A^{p}-{\color[rgb]{0,0.5,1}R}C^{p})^{T}&\mathbf{0}&\mathbf{0}\\ {\color[rgb]{0,0.5,1}S}A^{p}-{\color[rgb]{0,0.5,1}R}C^{p}&{\color[rgb]{0,0.5,1}S}&-{\color[rgb]{0,0.5,1}R}F&{\color[rgb]{0,0.5,1}S}E\\ \mathbf{0}&-({\color[rgb]{0,0.5,1}R}F)^{T}&\frac{1-a_{1}}{\bar{\eta}}I_{m}&\mathbf{0}\\ \mathbf{0}&E^{T}{\color[rgb]{0,0.5,1}S}&\mathbf{0}&\frac{1-a_{2}}{\bar{v}}I_{n}\end{bmatrix}\geq\mathbf{0},\\[19.91692pt] &\begin{bmatrix}\frac{1}{\alpha^{e}_{\infty}+\epsilon+\bar{\eta}}{\color[rgb]{0,0.5,1}S}-(C^{p})^{T}{\color[rgb]{0,0.5,1}G}C^{p}&-(C^{p})^{T}{\color[rgb]{0,0.5,1}G}\\[5.69054pt] -{\color[rgb]{0,0.5,1}G}C^{p}&\frac{1}{\alpha^{e}_{\infty}+\epsilon+\bar{\eta}}I_{m}-{\color[rgb]{0,0.5,1}G}\end{bmatrix}\geq\mathbf{0};\end{array}\right. (49)

then, for L=S1RL=S^{-1}R and Π=G\Pi=G, the residual dynamics (15) satisfies rkTΠrk1r_{k}^{T}\Pi r_{k}\leq 1 for all kk(a,ϵ,e1,S)k\geq k^{*}(a,\epsilon,e_{1},S), where k(a,ϵ,e1,S):=min{k|ak1(e1TSe1αe)ϵ}k^{*}(a,\epsilon,e_{1},S):=\min\{k\in{\mathbb{N}}|a^{k-1}\big(e_{1}^{T}Se_{1}-\alpha_{\infty}^{e}\big)\leq\epsilon\} and e1e_{1} denotes the initial estimation error in (15).
The proof of Lemma 5 is given in the appendix. The constant ϵ\epsilon determines the tightness of the monitor, i.e., the smaller the ϵ\epsilon the tighter the bound rkTΠrk1r_{k}^{T}\Pi r_{k}\leq 1 for kkk\geq k^{*}. Note, however, that depending on the initial condition e1e_{1}, too small ϵ\epsilon might result in very large k=min{k|ak1(e1TSe1αe)ϵ}k^{*}=\min\{k\in{\mathbb{N}}|a^{k-1}\big(e_{1}^{T}Se_{1}-\alpha_{\infty}^{e}\big)\leq\epsilon\}. See Remark 10 in the appendix for further details.
Attack-Free Observer Performance. For the observer, we simply consider the speed of convergence of the estimation error to steady state as a performance criteria. This is quantified by the eigenvalues of the matrix (ApLCp)(A^{p}-LC^{p}). We restrict the values that LL might take by enforcing that the eigenvalues of (ApLCp)(A^{p}-LC^{p}) are contained in a disk, Disk[β,τ]\text{Disk}[{\beta,\tau}], centered at β+0i\beta+0i with radius τ\tau. We give a necessary and sufficient condition in terms of the synthesis variables, RR and SS, to achieve this performance.

Lemma 6.

[Observer Performance][11] Consider the system matrices (Ap,Cp)(A^{p},C^{p}). If there exist Sn×nS\in{\mathbb{R}}^{n\times n} and Rn×mR\in{\mathbb{R}}^{n\times m} satisfying:

{S>0,[SβSSAp+RCp(αSSAp+RCp)Tτ2S]𝟎;\left\{\begin{array}[]{l}{\color[rgb]{0,0.5,1}S}>0,\\[2.84526pt] \begin{bmatrix}{\color[rgb]{0,0.5,1}S}&\beta{\color[rgb]{0,0.5,1}S}-{\color[rgb]{0,0.5,1}S}A^{p}+{\color[rgb]{0,0.5,1}R}C^{p}\\ \big(\alpha{\color[rgb]{0,0.5,1}S}-{\color[rgb]{0,0.5,1}S}A^{p}+{\color[rgb]{0,0.5,1}R}C^{p})^{T}&\tau^{2}{\color[rgb]{0,0.5,1}S}\end{bmatrix}\geq\mathbf{0};\end{array}\right. (50)

then, the eigenvalues of (ApLCp)(A^{p}-LC^{p}) with L=S1RL=S^{-1}R are contained in the closed disk Disk[β,τ]\text{Disk}[{\beta,\tau}] centered at β+0i\beta+0i with radius τ\tau.
Attack-Free Controller Performance. For the controller, we consider the 2\mathcal{L}_{2} gain of the closed-loop system from the vector of perturbations, dk:=(ηkT,vkT)Tm+nd_{k}:=(\eta_{k}^{T},v_{k}^{T})^{T}\in{\mathbb{R}}^{m+n}, to some performance output, say skgs_{k}\in{\mathbb{R}}^{g}, in the attack-free case (i.e., δk=𝟎\delta_{k}=\mathbf{0}). Define the matrices

𝒜~:=[Ap+BpDcCpBpCcBcCpAc],~:=[BpDcFEBcF𝟎],\tilde{\mathcal{A}}:=\begin{bmatrix}A^{p}+B^{p}{\color[rgb]{0,0.6,0}D^{c}}C^{p}&B^{p}{\color[rgb]{0,0.6,0}C^{c}}\\ {\color[rgb]{0,0.6,0}B^{c}}C^{p}&{\color[rgb]{0,0.6,0}A^{c}}\end{bmatrix},\hskip 2.84526pt\tilde{\mathcal{B}}:=\begin{bmatrix}B^{p}{\color[rgb]{0,0.6,0}D^{c}}F&E\\ {\color[rgb]{0,0.6,0}B^{c}}F&\mathbf{0}\end{bmatrix}, (51)

and the performance output sk:=Csxkp+Dsuk+D1ηk+D2vks_{k}:=C^{s}x^{p}_{k}+D^{s}u_{k}+D_{1}\eta_{k}+D_{2}v_{k}, for some matrices Csg×nC^{s}\in{\mathbb{R}}^{g\times n}, Dsg×lD^{s}\in{\mathbb{R}}^{g\times l}, D1g×mD_{1}\in{\mathbb{R}}^{g\times m}, and D2g×nD_{2}\in{\mathbb{R}}^{g\times n}. Then, the closed-loop dynamics (11),(17) can be written in terms of the extended state ζ~k:=((xkp)T,(xkc)T)T2n\tilde{\zeta}_{k}:=((x_{k}^{p})^{T},(x_{k}^{c})^{T})^{T}\in{\mathbb{R}}^{2n}, the vector of perturbations dkd_{k}, and the performance output sks_{k}:

{ζ~k+1=𝒜~ζ~k+~dk,sk=𝒞~ζ~k+𝒟~dk,\left\{\begin{array}[]{ll}\tilde{\zeta}_{k+1}=\tilde{\mathcal{A}}\tilde{\zeta}_{k}+\tilde{\mathcal{B}}d_{k},\\[2.84526pt] \hskip 10.38522pts_{k}=\tilde{\mathcal{C}}\tilde{\zeta}_{k}+\tilde{\mathcal{D}}d_{k},\end{array}\right. (52)

with 𝒞~:=(Cs+DsDcCp,DsCc)\tilde{\mathcal{C}}:=(C^{s}+D^{s}D^{c}C^{p},\hskip 1.42262ptD^{s}C^{c}) and 𝒟~:=(D1+DsDcF,D2)\tilde{\mathcal{D}}:=(D_{1}+D^{s}D^{c}F,\hskip 1.42262ptD_{2}). The 2\mathcal{L}_{2} gain from dkd_{k} to sks_{k} of system (52) is given by supdk2,dk𝟎(sk2/dk2)\sup_{d_{k}\in\mathcal{L}_{2},d_{k}\neq\mathbf{0}}(\left\lVert s_{k}\right\rVert_{2}/\left\lVert d_{k}\right\rVert_{2}) for ζ~1=𝟎\tilde{\zeta}_{1}=\mathbf{0}, where, for any sequence ρknρ\rho_{k}\in{\mathbb{R}}^{n_{\rho}}, ρk2:=k=1(ρkTρk)12\left\lVert\rho_{k}\right\rVert_{2}:=\sum_{k=1}^{\infty}(\rho_{k}^{T}\rho_{k})^{\frac{1}{2}}. The 2\mathcal{L}_{2} gain of system (52) equals the \mathcal{H}_{\infty} norm of the transfer matrix H(s):=𝒟~+𝒞~(sI𝒜~)1~H(s):=\tilde{\mathcal{D}}+\tilde{\mathcal{C}}(sI-\tilde{\mathcal{A}})^{-1}\tilde{\mathcal{B}}, see [35].

Lemma 7.

[Bounded-Real Lemma] Consider the closed-loop system (52) with input dkd_{k} and output sks_{k}. If there exist 𝒳2n×2n\mathcal{X}\in{\mathbb{R}}^{2n\times 2n} and γ>0\gamma\in{\mathbb{R}}_{>0} satisfying:

𝒳>𝟎,𝒮:=[𝒳𝒜~T𝒳𝟎𝒞~T𝒳𝒜~𝒳𝒳~𝟎𝟎~T𝒳γ2I𝒟~T𝒞~𝟎𝒟~I]𝟎;\begin{array}[]{ll}\mathcal{X}>\mathbf{0},\hskip 5.69054pt\mathcal{S}:=\begin{bmatrix}\mathcal{X}&\tilde{\mathcal{A}}^{T}\mathcal{X}&\mathbf{0}&\tilde{\mathcal{C}}^{T}\\ \mathcal{X}\tilde{\mathcal{A}}&\mathcal{X}&\mathcal{X}\tilde{\mathcal{B}}&\mathbf{0}\\ \mathbf{0}&\tilde{\mathcal{B}}^{T}\mathcal{X}&\gamma^{2}I&\tilde{\mathcal{D}}^{T}\\ \tilde{\mathcal{C}}&\mathbf{0}&\tilde{\mathcal{D}}&I\end{bmatrix}\geq\mathbf{0};\end{array} (53)

then, the 2\mathcal{L}_{2} gain of system (52) is less than or equal to γ\gamma, i.e., supdk2,dk𝟎(sk2/dk2)γ\sup_{d_{k}\in\mathcal{L}_{2},d_{k}\neq\mathbf{0}}(\left\lVert s_{k}\right\rVert_{2}/\left\lVert d_{k}\right\rVert_{2})\leq\gamma for ζ~1=𝟎\tilde{\zeta}_{1}=\mathbf{0}.

The proof of Lemma 7 is omitted here. It is a standard result and details about the proof can be found in, for instance, [5], [35], and references therein.
Using the analysis inequalities in (53), we derive the corresponding synthesis constraints in terms of the synthesis variables ν\nu. Consider the matrices 𝒳\mathcal{X} and 𝒴\mathcal{Y} introduced in (35), the change of variables in (41a), and the attack-free closed-loop system matrices (𝒜~,~,𝒞~,𝒟~)(\tilde{\mathcal{A}},\tilde{\mathcal{B}},\tilde{\mathcal{C}},\tilde{\mathcal{D}}) above defined. Define the matrices:

{𝐗~(ν):=𝒴T𝒳𝒴=[YIIX],𝐀~(ν):=𝒴T𝒳𝒜~𝒴=[ApY+BpMAp+BpNCpKXAp+OCp],𝐁~(ν):=𝒴T𝒳~=[BpNFEOFXE],𝐂~(ν):=𝒞~𝒴=[CsY+DsMCs+DsNCp],𝐃~(ν):=𝒟~=[D1+DsNFD2].\left\{\begin{array}[]{lll}\tilde{\mathbf{X}}(\nu):=\mathcal{Y}^{T}\mathcal{X}\mathcal{Y}=\begin{bmatrix}{\color[rgb]{0,0.5,1}Y}&I\\ I&{\color[rgb]{0,0.5,1}X}\end{bmatrix},\\[8.53581pt] \tilde{\mathbf{A}}(\nu):=\mathcal{Y}^{T}\mathcal{X}\tilde{\mathcal{A}}\mathcal{Y}=\begin{bmatrix}A^{p}{\color[rgb]{0,0.5,1}Y}+B^{p}{\color[rgb]{0,0.5,1}M}&A^{p}+B^{p}{\color[rgb]{0,0.5,1}N}C^{p}\\ {\color[rgb]{0,0.5,1}K}&{\color[rgb]{0,0.5,1}X}A^{p}+{\color[rgb]{0,0.5,1}O}C^{p}\end{bmatrix},\\[8.53581pt] \tilde{\mathbf{B}}(\nu):=\mathcal{Y}^{T}\mathcal{X}\tilde{\mathcal{B}}=\begin{bmatrix}B^{p}{\color[rgb]{0,0.5,1}N}F&E\\ {\color[rgb]{0,0.5,1}O}F&{\color[rgb]{0,0.5,1}X}E\end{bmatrix},\\[8.53581pt] \tilde{\mathbf{C}}(\nu):=\tilde{\mathcal{C}}\mathcal{Y}=\begin{bmatrix}C^{s}{\color[rgb]{0,0.5,1}Y}+D^{s}{\color[rgb]{0,0.5,1}M}&\hskip 4.2679ptC^{s}+D^{s}{\color[rgb]{0,0.5,1}N}C^{p}\end{bmatrix},\\[8.53581pt] \tilde{\mathbf{D}}(\nu):=\tilde{\mathcal{D}}=\begin{bmatrix}D_{1}+D^{s}{\color[rgb]{0,0.5,1}N}F&\hskip 4.2679ptD_{2}\end{bmatrix}.\end{array}\right. (54)

Lemma 8.

[\mathcal{H}_{\infty}-Performance] Consider the system matrices (Ap,Bp,Cp,E,F)(A^{p},B^{p},C^{p},E,F). If there exist On×lO\in{\mathbb{R}}^{n\times l}, X,Y,Kn×nX,Y,K\in{\mathbb{R}}^{n\times n}, Mm×nM\in{\mathbb{R}}^{m\times n}, and Nl×mN\in{\mathbb{R}}^{l\times m}, and constant γ>0\gamma\in{\mathbb{R}}_{>0} satisfying:

𝐗~(ν)>𝟎,𝐒(ν):=[𝐗~(ν)𝐀~(ν)T𝟎𝐂~(ν)T𝐀~(ν)𝐗~(ν)𝐁~(ν)𝟎𝟎𝐁~(ν)Tγ2I𝐃~(ν)T𝐂~(ν)𝟎𝐃~(ν)I]𝟎;\begin{array}[]{ll}\tilde{\mathbf{X}}(\nu)>\mathbf{0},\hskip 5.69054pt\mathbf{S}(\nu):=\begin{bmatrix}\tilde{\mathbf{X}}(\nu)&\tilde{\mathbf{A}}(\nu)^{T}&\mathbf{0}&\tilde{\mathbf{C}}(\nu)^{T}\\ \tilde{\mathbf{A}}(\nu)&\tilde{\mathbf{X}}(\nu)&\tilde{\mathbf{B}}(\nu)&\mathbf{0}\\ \mathbf{0}&\tilde{\mathbf{B}}(\nu)^{T}&\gamma^{2}I&\tilde{\mathbf{D}}(\nu)^{T}\\ \tilde{\mathbf{C}}(\nu)&\mathbf{0}&\tilde{\mathbf{D}}(\nu)&I\end{bmatrix}\geq\mathbf{0};\end{array} (55)

then, the change of variables in (41a) and the matrix 𝒴\mathcal{Y} in (35) are invertible and the matrices (𝒳,Ac,Bc,Cc,Dc)(\mathcal{X},A^{c},B^{c},C^{c},D^{c}) obtained by inverting (41a) and 𝐗~(ν)=𝒴T𝒳𝒴\tilde{\mathbf{X}}(\nu)=\mathcal{Y}^{T}\mathcal{X}\mathcal{Y} in (54) satisfy (53) and lead to supdk2,dk𝟎sk2dk2γ\sup\limits_{d_{k}\in\mathcal{L}_{2},d_{k}\neq\mathbf{0}}\frac{\left\lVert s_{k}\right\rVert_{2}}{\left\lVert d_{k}\right\rVert_{2}}\leq\gamma for ζ~1=𝟎\tilde{\zeta}_{1}=\mathbf{0}.
The proof of Lemma 8 is given in the appendix.

5.3 Synthesis of Secure Control Systems

Finally, combining the results above presented, we cast the complete optimization problem to minimize the volume of the asymptotic approximation Γ,x\mathcal{E}_{\Gamma,\infty}^{x} of Γ,kx\mathcal{R}_{\Gamma,k}^{x} as a function of the set of sensor being attacked (the sensor selection matrix Γ\Gamma) while guaranteing certain attack-free system performance.

Theorem 2.

Consider (Ap,Bp,Cp,E,F)(A^{p},B^{p},C^{p},E,F) (the system matrices), the perturbations bounds v¯,η¯>0\bar{v},\bar{\eta}\in{\mathbb{R}}_{>0}, and the attack sensor selection matrix Γ\Gamma. For given a,b(0,1)a,b\in(0,1), αe=(2a)/(1a)\alpha_{\infty}^{e}=(2-a)/(1-a), ϵ>0\epsilon\in{\mathbb{R}}_{>0}, τ,β(0,1)\tau,\beta\in(0,1), γ>0\gamma\in{\mathbb{R}}_{>0}, if there exist a1,a2a_{1},a_{2}\in{\mathbb{R}} and matrices ν=(X,Y,S,R,G,K,O,M,N)\nu=(X,Y,S,R,G,K,O,M,N), X,Y,S,Kn×nX,Y,S,K\in{\mathbb{R}}^{n\times n}, Rn×mR\in{\mathbb{R}}^{n\times m}, Gm×mG\in{\mathbb{R}}^{m\times m}, On×lO\in{\mathbb{R}}^{n\times l}, Mm×nM\in{\mathbb{R}}^{m\times n}, Nl×mN\in{\mathbb{R}}^{l\times m}, solution of the convex optimization:

minν,a1,a2trace[Y],\displaystyle\min_{\nu,a_{1},a_{2}}\ \text{\emph{trace}}[Y], (56a)
{s.t.a1,a2(0,1),a1+a2+ba,𝐏(ν)>𝟎,𝐋(ν)𝟎, (attacker’s reachable set),(49), (monitor feasibility),(50), (observer performance),𝐗~(ν)>𝟎,𝐒(ν)𝟎, (controller performance),\displaystyle\left\{\begin{array}[]{l}\text{\emph{s.t.}}\ a_{1},a_{2}\in(0,1),\hskip 2.84526pta_{1}+a_{2}+b\geq a,\\ \mathbf{P}(\nu)>\mathbf{0},\hskip 2.84526pt\mathbf{L}(\nu)\geq\mathbf{0},\text{ \emph{(attacker's reachable set)}},\\ \eqref{EqMonitor feasability},\text{ \emph{(monitor feasibility)}},\\ \eqref{eigenvalues},\text{ \emph{(observer performance)}},\\ \tilde{\mathbf{X}}(\nu)>\mathbf{0},\hskip 2.84526pt\mathbf{S}(\nu)\geq\mathbf{0},\text{ \emph{(controller performance)}},\\ \end{array}\right.

with 𝐏(ν),𝐋(ν),𝐗~(ν)\mathbf{P}(\nu),\mathbf{L}(\nu),\tilde{\mathbf{X}}(\nu), and 𝐒(ν)\mathbf{S}(\nu) as defined in (38), (47), (54), and (55), respectively; then, the transformation 𝒯1\mathcal{T}_{1} in (36) and the change of variables in (41) are invertible and the matrices (𝒫,L,Π,Ac,Bc,Cc,Dc)(\mathcal{P},L,\Pi,A^{c},B^{c},C^{c},D^{c}) obtained by inverting (41) and 𝒯1T𝒫𝒯1=𝐏(ν)\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1}=\mathbf{P}(\nu) in (38) lead to: 1) a feasible monitor in the sense of Lemma 5; 2) for kk(a,ϵ,e1,S)=min{k|ak1(e1TSe1αe)ϵ}k\geq k^{*}(a,\epsilon,e_{1},S)=\min\{k\in{\mathbb{N}}|a^{k-1}\big(e_{1}^{T}Se_{1}-\alpha_{\infty}^{e}\big)\leq\epsilon\} and initial estimation error e1e_{1} in (15), Γ,kxΓ,kx\mathcal{R}_{\Gamma,k}^{x}\subseteq\mathcal{E}_{\Gamma,k}^{x} with Γ,kx={xp3n|(xp)T𝒫Γxxpαkζ}\mathcal{E}_{\Gamma,k}^{x}=\{x^{p}\in{\mathbb{R}}^{3n}|(x^{p})^{T}\mathcal{P}_{\Gamma}^{x}x^{p}\leq\alpha_{k}^{\zeta}\}, 𝒫Γx:=XUX~1UT\mathcal{P}_{\Gamma}^{x}:=X-U\tilde{X}^{-1}U^{T}, and αkζ:=ak1ζkT𝒫ζk+3a1a(1ak1)\alpha_{k}^{\zeta}:=a^{k-1}\zeta_{k^{*}}^{T}\mathcal{P}\zeta_{k^{*}}+\frac{3-a}{1-a}(1-a^{k-1}); 3) the eigenvalues of (ApLCp)(A^{p}-LC^{p}) being contained in Disk[β,τ]\text{\emph{Disk}}[{\beta,\tau}]; and 4) supdk2,dk𝟎(sk2/dk2)γ\sup_{d_{k}\in\mathcal{L}_{2},d_{k}\neq\mathbf{0}}(\left\lVert s_{k}\right\rVert_{2}/\left\lVert d_{k}\right\rVert_{2})\leq\gamma for ζ~1=𝟎\tilde{\zeta}_{1}=\mathbf{0}. Moreover, by minimizing trace[Y]\text{\emph{trace}}[Y], we are minimizing an upper bound on the volume of Γ,x\mathcal{E}_{\Gamma,\infty}^{x}.
Proof: Assume that (ν,a1,a2)(\nu,a_{1},a_{2}) satisfy the constraints in (56). By Lemma 2, because 𝐏(ν)>𝟎\mathbf{P}(\nu)>\mathbf{0} and 𝐋(ν)𝟎\mathbf{L}(\nu)\geq\mathbf{0},the transformation 𝒯1\mathcal{T}_{1} in (36) and the change of variables in (41) are invertible, and the (𝒫,L,Π,Ac,Bc,Cc,Dc)(\mathcal{P},L,\Pi,A^{c},B^{c},C^{c},D^{c}) obtained by inverting (41) and 𝒯1T𝒫𝒯1=𝐏(ν)\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1}=\mathbf{P}(\nu) in (38) satisfy the analysis inequalities 𝒫>𝟎\mathcal{P}>\mathbf{0} and 𝟎\mathcal{L}\geq\mathbf{0} defined in (32) and (34), respectively, and are unique. Moreover, by assumption, (49) is fulfilled. Then, by Lemma 5, the residual dynamics (15) satisfies rkTΠrk1r_{k}^{T}\Pi r_{k}\leq 1 for all kk(a,ϵ,e1,S)k\geq k^{*}(a,\epsilon,e_{1},S), and Π=G\Pi=G and L=S1RL=S^{-1}R. Therefore, by Lemma 2, Lemma 3, and Lemma 5, Γ,kxΓ,kx\mathcal{R}_{\Gamma,k}^{x}\subseteq\mathcal{E}_{\Gamma,k}^{x} with 𝒫Γx=XUX~1UT\mathcal{P}_{\Gamma}^{x}=X-U\tilde{X}^{-1}U^{T} and αkζ=ak1ζkT𝒫ζk+3a1a(1ak1)\alpha_{k}^{\zeta}=a^{k-1}\zeta_{k^{*}}^{T}\mathcal{P}\zeta_{k^{*}}+\frac{3-a}{1-a}(1-a^{k-1}). Because we are minimizing trace[Y]\text{trace}[Y] and Y=(XUX~1UT)1Y=(X-U\tilde{X}^{-1}U^{T})^{-1}, by Lemma 3 and Lemma 4, we are minimizing an upper bound on the volume of Γ,x\mathcal{E}_{\Gamma,\infty}^{x}. Next, because (50) is fulfilled by assumption, by Lemma 6, the eigenvalues of (ApLCp)(A^{p}-LC^{p}) with L=S1RL=S^{-1}R are contained in Disk[β,τ]\text{Disk}[{\beta,\tau}]. Finally, because ν\nu satisfy 𝐗~(ν)>𝟎\tilde{\mathbf{X}}(\nu)>\mathbf{0} and 𝐒(ν)𝟎\mathbf{S}(\nu)\geq\mathbf{0} by assumption, by Lemma 8, the controller obtained by inverting (41a) leads to supdk2,dk𝟎(sk2/dk2)γ\sup_{d_{k}\in\mathcal{L}_{2},d_{k}\neq\mathbf{0}}(\left\lVert s_{k}\right\rVert_{2}/\left\lVert d_{k}\right\rVert_{2})\leq\gamma. \blacksquare
Observer, Monitor, Controller, and Ellipsoidal-Approximation Reconstruction. Given a solution (ν,a1,a2)(\nu,a_{1},a_{2}) of the optimization problem in (56):
(1) For given XX and YY, compute via singular value decomposition a full rank factorization VUT=IYXVU^{T}=I-YX with square and nonsingular VV and UU.
(2) For given ν\nu and invertible VV and UU, solve the system of equations 𝒯1T𝒫𝒯1=𝐏(ν)\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1}=\mathbf{P}(\nu) and (41) to obtain the matrices (𝒫,L,Π,Ac,Bc,Cc,Dc)(\mathcal{P},L,\Pi,A^{c},B^{c},C^{c},D^{c}).
(3) For given SS, YY, 𝒫\mathcal{P}, e1e_{1}, ϵ\epsilon, and aa, obtain the monitor convergence time kk^{*}, and 𝒫Γx\mathcal{P}^{x}_{\Gamma} and αkζ\alpha_{k}^{\zeta} conforming the ellipsoidal approximation Γ,kx\mathcal{E}_{\Gamma,k}^{x} of Γ,kx\mathcal{R}_{\Gamma,k}^{x} as: k=min{k|ak1(e1TSe1αe)k^{*}=\min\{k\in{\mathbb{N}}|a^{k-1}\big(e_{1}^{T}Se_{1}-\alpha_{\infty}^{e}\big), 𝒫Γx=Y1\mathcal{P}^{x}_{\Gamma}=Y^{-1}, and αkζ=ak1ζkT𝒫ζk+3a1a(1ak1)\alpha_{k}^{\zeta}=a^{k-1}\zeta_{k^{*}}^{T}\mathcal{P}\zeta_{k^{*}}+\frac{3-a}{1-a}(1-a^{k-1}).
By Theorem 2, the reconstructed matrices satisfy the attack-free system performance, and minimize an upper bound on the volume of Γ,x\mathcal{E}_{\Gamma,\infty}^{x}.

Remark 7.

To obtain tighter approximations Γ,kx\mathcal{E}_{\Gamma,k}^{x} of Γ,kx\mathcal{R}_{\Gamma,k}^{x}, once the matrices (L,Π,Ac,Bc,Cc,Dc)(L,\Pi,A^{c},B^{c},C^{c},D^{c}) are computed using Theorem 2 and the above reconstruction procedure, we can close the loop using these matrices and use the analysis result in Theorem 1 to obtain tighter approximations. That is, Theorem 2 could be used for synthesis only, and then, once (L,Π,Ac,Bc,Cc,Dc)(L,\Pi,A^{c},B^{c},C^{c},D^{c}) are computed, we could use the analysis result in Theorem 1 to obtain less conservative approximations of Γ,kx\mathcal{R}_{\Gamma,k}^{x}.

Remark 8.

Note that the constants a,b,ϵ,τ,βa,b,\epsilon,\tau,\beta, and γ\gamma in Theorem 2 must be fixed before solving the synthesis optimization problem in (56). The constants (τ,β,γ)(\tau,\beta,\gamma) determine the attack-free observer and controller performance. The constant ϵ\epsilon determines the tightness of the monitor in the attack-free case. The smaller the ϵ\epsilon the tighter the monitor (see Remark 10 in the Appendix for details). Finally, a,b(0,1)a,b\in(0,1) are, in fact, variables of the optimization problem. However, to linearize some of the constraints, we fix their value before solving (56) and search over a,b(0,1)a,b\in(0,1) to find the optimal ν\nu. The latter increases the computations needed to find the optimal ν\nu; however, because a,b(0,1)a,b\in(0,1) (a bounded set), the required grid in (a,b)(a,b) is of reasonable size.

5.4 Distance to Critical States: Synthesis

As a second cost function for synthesis, we consider the distance between Γ,kx\mathcal{R}_{\Gamma,k}^{x} and a possible set of critical states 𝒞x\mathcal{C}^{x}. Because Γ,kx\mathcal{R}_{\Gamma,k}^{x} is not known exactly, we consider the distance from the approximation Γ,kx\mathcal{E}_{\Gamma,k}^{x} to 𝒞x\mathcal{C}^{x} and use this distance as cost function. We capture the set of critical states through the union of half-spaces defined by their boundary hyperplanes as introduced in (28). In the analysis case, we compute the minimum distance, dΓ,kxd_{\Gamma,k}^{x}, between Γ,kx\mathcal{E}_{\Gamma,k}^{x} and 𝒞x\mathcal{C}^{x} and use this distance to approximate the proposed security metric (the distance between Γ,kx\mathcal{R}_{\Gamma,k}^{x} and 𝒞x\mathcal{C}^{x}). For synthesis, however, the distance dΓ,kxd_{\Gamma,k}^{x} is highly nonlinear and not convex/concave in the syntheses variables ν\nu. Instead, we consider the minimum distance between each hyperplane conforming 𝒞x\mathcal{C}^{x} and the asymptotic ellipsoidal approximation, Γ,x=limkΓ,kx\mathcal{E}_{\Gamma,\infty}^{x}=\lim_{k\rightarrow\infty}\mathcal{E}_{\Gamma,k}^{x}, and use the weighted sum of these distances as the cost function to be maximized.

Proposition 2.

Consider the ellipsoidal approximation Γ,kx\mathcal{E}_{\Gamma,k}^{x} as introduced in Lemma 3 with matrix YY and function αkζ\alpha^{\zeta}_{k}, and the set of critical states:

𝒞x={xpn|i=1NciTxpbi},\mathcal{C}^{x}=\left\{x^{p}\in\mathbb{R}^{n}\ \Bigg|\ \bigcup_{i=1}^{N}c_{i}^{T}x^{p}\geq b_{i}\right\},

where each pair (ci,bi)(c_{i},b_{i}), cinc_{i}\in\mathbb{R}^{n}, bib_{i}\in\mathbb{R}, i=1,,Ni=1,\dots,N quantifies a hyperplane that defines a single half-space.The minimum distance dΓ,kx,id_{\Gamma,k}^{x,i} between Γ,kx\mathcal{E}_{\Gamma,k}^{x} and the hyperplane ciTxp=bic_{i}^{T}x^{p}=b_{i} is given by dΓ,kx,i:=|bi|ciTYci/αkζciTcid_{\Gamma,k}^{x,i}:=\frac{|b_{i}|-\sqrt{c_{i}^{T}Yc_{i}/\alpha_{k}^{\zeta}}}{c_{i}^{T}c_{i}}.
Proof: The assertion follows by the same arguments as in the proof of Corollary 3. \blacksquare

For synthesis, we aim at maximizing i=1NρidΓ,kx,i\sum_{i=1}^{N}\rho_{i}d_{\Gamma,k}^{x,i}, for some ρi0\rho_{i}\in{\mathbb{R}}_{\geq 0} satisfying i=1Nρi=1\sum_{i=1}^{N}\rho_{i}=1, by selecting (ν,a1,a2)(\nu,a_{1},a_{2}) subject to (56). The constant ρi\rho_{i} assigns a priority weight to the distance dΓ,kx,id_{\Gamma,k}^{x,i}. Note, however, that because αkζ=ak1ζkT𝒫ζk+3a1a(1ak1)\alpha^{\zeta}_{k}=a^{k-1}\zeta_{k^{*}}^{T}\mathcal{P}\zeta_{k^{*}}+\frac{3-a}{1-a}(1-a^{k-1}) and

𝒫1=diag[(YVVTY~),S1],\mathcal{P}^{-1}=\text{diag}\left[\begin{pmatrix}Y&V\\ V^{T}&\tilde{Y}\end{pmatrix},S^{-1}\right],

the term ciTYci/αkζc_{i}^{T}Yc_{i}/\alpha_{k}^{\zeta} is nonlinear and not convex/concave in the matrix YY. However, because a(0,1)a\in(0,1), we can maximize the weighted sum of the asymptotic minimum distances between Γ,kx\mathcal{E}_{\Gamma,k}^{x} and ciTxp=bic_{i}^{T}x^{p}=b_{i}, i=1,,Ni=1,\ldots,N, i.e., d~Γ:=limki=1NρidΓ,kx,i=i=1Nρi(|bi|(1a3aciTYci)1/2)/ciTci\tilde{d}_{\Gamma}:=\lim_{k\rightarrow\infty}\sum_{i=1}^{N}\rho_{i}d_{\Gamma,k}^{x,i}=\sum_{i=1}^{N}\rho_{i}\big(|b_{i}|-(\frac{1-a}{3-a}c_{i}^{T}Yc_{i})^{-1/2}\big)/c_{i}^{T}c_{i}. Because (1a)/(3a)(1-a)/(3-a) is strictly positive and YY is positive definite, maximizing d~Γ\tilde{d}_{\Gamma} is equivalent to minimizing the linear function: i=1Nρi(ciTYci)\sum_{i=1}^{N}\rho_{i}(c_{i}^{T}Yc_{i}). Next, as a corollary of Theorem 2, we pose the optimization problem required to maximize d~Γ\tilde{d}_{\Gamma} while guaranteeing the required attack-free performance.

Corollary 4.

Consider the setting stated in Theorem 2, the set of critical states 𝒞x\mathcal{C}^{x} defined in (28), and d~Γ\tilde{d}_{\Gamma} above defined for some ρi0\rho_{i}\in{\mathbb{R}}_{\geq 0}, i=1Nρi=1\sum_{i=1}^{N}\rho_{i}=1, i=1,,Ni=1,\ldots,N. If there exists (ν,a1,a2)(\nu,a_{1},a_{2}) solution of the optimization:

{mini=1Nν,a1,a2ρiciTYci,s.t. (56),\left\{\begin{array}[]{ll}\min_{\nu,a_{1},a_{2}}\ \sum_{i=1}^{N}\rho_{i}c_{i}^{T}Yc_{i},\\[4.2679pt] \text{\emph{s.t. }}\eqref{eq:optimization3:b},\end{array}\right. (57)

then, the matrices (𝒫,L,Π,Ac,Bc,Cc,Dc)(\mathcal{P},L,\Pi,A^{c},B^{c},C^{c},D^{c}) obtained by inverting (41) and 𝒯1T𝒫𝒯1=𝐏(ν)\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1}=\mathbf{P}(\nu) in (38), maximize d~Γ\tilde{d}_{\Gamma} and satisfy the desired attack-free system performance in the sense of Theorem 2.
Proof: Let the constraints in (56) be satisfied. Then, by the same arguments as stated in the proof of Theorem 2, the matrices (𝒫,L,Π,Ac,Bc,Cc,Dc)(\mathcal{P},L,\Pi,A^{c},B^{c},C^{c},D^{c}) obtained by inverting (41) and 𝒯1T𝒫𝒯1=𝐏(ν)\mathcal{T}_{1}^{T}\mathcal{P}\mathcal{T}_{1}=\mathbf{P}(\nu) in (38) lead to a closed-loop dynamics that satisfies the attack-free performance considered in Theorem 2. Also, by the arguments above presented, minimizing i=1NρiciTYci\sum_{i=1}^{N}\rho_{i}c_{i}^{T}Yc_{i} and maximizing d~Γ\tilde{d}_{\Gamma} are equivalent objectives. \blacksquare

Figure 7: Projection of Γ,x\mathcal{E}_{\Gamma,\infty}^{x} onto the (xp,1,xp,2)(x^{p,1},x^{p,2})-hyperplane for different sets of sensor being attacked and distance to critical states. Continuous-lines correspond to the original κ\kappa in (4.3) and dashed-lines to the optimal κ\kappa obtained using Theorem 2.

5.5 Controller/Monitor Selection for Unknown Γ\Gamma

The synthesis results presented above are derived for given sensor attack selection matrix Γ\Gamma, see Remark 5. However, we do not have access to Γ\Gamma in practice, i.e., the set of sensors being attacked is usually unknown to the system designer. Next, we provide general guidelines for using the results given above to synthesize controllers/monitors when Γ\Gamma is unknown. We propose two sets of techniques: sensor protection placement methods [10, 18]; and game-theoretic techniques [4].
Sensor Protection Placement. This technique was originally introduced for power system [10, 18]. The problem is the following: assuming that the system designer has limited security resources to completely encrypt and secure a subset of sensors (i.e., attacks to those sensors are impossible), how to select which sensors to secure in order to minimize the effect of stealthy attacks on the system performance. In exactly the same sense, we have shown in the analysis example in Section 4.3 that our analysis tools can be used to allocate security equipment to sensors when limited resources are available so that the size of the stealthy reachable set is minimized. Now, in the syntheses setting, we address a slightly different problem: for given mm sensors and a limited number of sensors that can be secured m~{1,,m}\tilde{m}\in\{1,\ldots,m\}, which sensors should be selected such that the optimal controller/monitor corresponding to attacks to all the remaining mm~m-\tilde{m} sensors leads to the smallest stealthy reachable set (or the largest distance to critical states) among all subsets of mm~m-\tilde{m} sensors. For instance, assume that we have three sensors, m=3m=3, and m~=1\tilde{m}=1 of them can be secured. Then, among all subsets of sensors J{1,2,3}J\subseteq\{1,2,3\} with cardinality card[J]=mm~=2\text{card}[J]=m-\tilde{m}=2 (i.e., J{{1,2},{1,3},{2,3}}J\in\{\{1,2\},\{1,3\},\{2,3\}\}), select the controller/monitor κJ{κ{1,2},κ{1,3},κ{2,3}}\kappa_{J}\in\{\kappa_{\{1,2\}},\kappa_{\{1,3\}},\kappa_{\{2,3\}}\} that leads to the smallest asymptotic ellipsoid Jx:=Γ,x|Γ=ΓJ,κ=κJ\mathcal{E}^{x}_{J}:=\mathcal{E}^{x}_{\Gamma,\infty}|_{\Gamma=\Gamma_{J},\kappa=\kappa_{J}}, where κJ\kappa_{J} denotes the optimal κ=(L,Π,Ac,Bc,Cc,Dc)\kappa=(L,\Pi,A^{c},B^{c},C^{c},D^{c}) corresponding to the solution of (56) for Γ=ΓJ\Gamma=\Gamma_{J}, and ΓJ{Γ{1,2},Γ{1,3},Γ{2,3}}\Gamma_{J}\in\{\Gamma_{\{1,2\}},\Gamma_{\{1,3\}},\Gamma_{\{2,3\}}\} is the attack selection matrix corresponding to attacks on sensors JJ. That is, we compute optimal controllers/monitors and corresponding asymptotic ellipsoids (κJ,Jx)(\kappa_{J},\mathcal{E}^{x}_{J}) for all J{{1,2},{1,3},{2,3}}J\in\{\{1,2\},\{1,3\},\{2,3\}\}, and select the controller κJ\kappa_{J} that leads to the smallest Jx\mathcal{E}^{x}_{J}. In the following algorithm, we summarize the ideas introduced above.
 

Algorithm 1. Controller/Monitor Selection:
1) Consider the mm available sensors, the number of sensors that can be secured m~{1,,m}\tilde{m}\in\{1,\ldots,m\}, and all subsets of sensors J{1,,m}J\subseteq\{1,\ldots,m\} with cardinality card[J]=mm~\text{card}[J]=m-\tilde{m}.
2) Let ΓJ\Gamma_{J} denote the sensor attack selection matrix corresponding to attacks on sensors JJ. For Γ=ΓJ\Gamma=\Gamma_{J} and all J{1,,m}J\subseteq\{1,\ldots,m\} with card[J]=mm~\text{card}[J]=m-\tilde{m}, compute the optimal controller/monitor κJ:=κ=(L,Π,Ac,Bc,Cc,Dc)\kappa_{J}:=\kappa=(L,\Pi,A^{c},B^{c},C^{c},D^{c}) corresponding to the solution of (56) in Theorem 2.
3) Let Jx=Γ,x|Γ=ΓJ,κ=κJ\mathcal{E}^{x}_{J}=\mathcal{E}^{x}_{\Gamma,\infty}|_{\Gamma=\Gamma_{J},\kappa=\kappa_{J}}, i.e., Jx\mathcal{E}^{x}_{J} denotes the asymptotic ellipsoidal approximation of the stealthy reachable set, Γ,kx\mathcal{R}^{x}_{\Gamma,k}, for Γ=ΓJ\Gamma=\Gamma_{J} and κ=κJ\kappa=\kappa_{J}; and select the controller/monitor as follows:

κm~=argminκJVol[Jx],\displaystyle\kappa^{*}_{\tilde{m}}=\argmin_{\kappa_{J}}\text{Vol}[\mathcal{E}^{x}_{J}], (58)

where Vol[Jx]\text{Vol}[\mathcal{E}^{x}_{J}] denotes the volume of Jx\mathcal{E}^{x}_{J}.

 

Note that the selected controller/monitor κm~\kappa^{*}_{\tilde{m}} in (58) is parametrized by m~\tilde{m}, the number of sensors that can be secured; and that in the case m~=0\tilde{m}=0 (no sensors can be secured), ΓJ=Γ{1,,m}=Im\Gamma_{J}=\Gamma_{\{1,\ldots,m\}}=I_{m}, i.e., the selected controller/monitor κ0\kappa^{*}_{0} is a worst-case controller that assumes all sensors are attacked. We remark that Algorithm 1 could be used using the largest distance to critical states d~Γ\tilde{d}_{\Gamma} as cost to be maximized instead of minimizing Vol[Jx]\text{Vol}[\mathcal{E}^{x}_{J}].
Game -Theoretic Strategies. We only briefly introduce a game-theoretic formulation and some techniques that could be used to select suitable controllers/monitors for unknown Γ\Gamma. A rigourous game-theoretic formulation is beyond the scope of this paper and is left as future work. Note that we can compute optimal controllers/monitors for all possible combinations of Γ\Gamma. If there are mm sensors, there are m¯:=s=1m(ms)\bar{m}:=\sum_{s=1}^{m}\binom{m}{s} possible matrices Γ\Gamma. We index and order all these matrices in the m¯\bar{m}-tuple (Γ{1},Γ{2},,Γ{1,2},Γ{1,3},,Γ{1,,m})=:Γ¯(\Gamma_{\{1\}},\Gamma_{\{2\}},\ldots,\Gamma_{\{1,2\}},\Gamma_{\{1,3\}},\ldots,\Gamma_{\{1,\ldots,m\}})=:\bar{\Gamma}, and the corresponding optimal controllers/monitors κ\kappa in (κ{1},κ{2},,κ{1,2},κ{1,3},,κ{1,,m})=:κ¯(\kappa_{\{1\}},\kappa_{\{2\}},\ldots,\kappa_{\{1,2\}},\kappa_{\{1,3\}},\ldots,\kappa_{\{1,\ldots,m\}})=:\bar{\kappa} with card[Γ¯]=card[κ¯]=m¯\text{card}[\bar{\Gamma}]=\text{card}[\bar{\kappa}]=\bar{m}, where, as introduced above, for instance, κ{1,3}\kappa_{\{1,3\}} is the controller/monitor κ\kappa corresponding to the solution of (56) in Theorem 2 for Γ=Γ{1,3}\Gamma=\Gamma_{\{1,3\}}, and Γ{1,3}\Gamma_{\{1,3\}} is the sensor selection matrix Γ\Gamma corresponding to attacks on sensors {1,3}\{1,3\}. Associated with every pair (κI,ΓJ)κ¯×Γ¯(\kappa_{I},\Gamma_{J})\in\bar{\kappa}\times\bar{\Gamma}, we introduce the corresponding cost hI,J:=Vol[Γ,x|Γ=ΓJ,κ=κI]h_{I,J}:=\text{Vol}[\mathcal{E}^{x}_{\Gamma,\infty}|_{\Gamma=\Gamma_{J},\kappa=\kappa_{I}}], where Vol[Γ,x|Γ=ΓJ,κ=κI]\text{Vol}[\mathcal{E}^{x}_{\Gamma,\infty}|_{\Gamma=\Gamma_{J},\kappa=\kappa_{I}}] denotes the volume of Γ,x\mathcal{E}^{x}_{\Gamma,\infty} for Γ=ΓJ\Gamma=\Gamma_{J} and κ=κI\kappa=\kappa_{I}. That is, Γ,x|Γ=ΓJ,κ=κI\mathcal{E}^{x}_{\Gamma,\infty}|_{\Gamma=\Gamma_{J},\kappa=\kappa_{I}} is the asymptotic ellipsoidal approximation of the stealthy reachable set Γ,kx\mathcal{R}^{x}_{\Gamma,k} for Γ=ΓJ\Gamma=\Gamma_{J} and κ=κI\kappa=\kappa_{I}, and κI\kappa_{I} is the controller/monitor κ\kappa corresponding to the solution of (56) in Theorem 2 for Γ=ΓI\Gamma=\Gamma_{I}. Note that, by construction, κI\kappa_{I} minimizes the cost hI,Ih_{I,I} but is not optimal for hI,Jh_{I,J}, IJI\neq J. Next, using the notation introduced above, we cast the controller/monitor selection as a two players noncooperative zero-sum matrix game [4], where player one (the defender) has strategy set κ¯\bar{\kappa}, player two (the attacker) has strategy set Γ¯\bar{\Gamma}, and the cost matrix of the game is H:={hI,J}m¯×m¯H:=\{h_{I,J}\}\in{\mathbb{R}}^{\bar{m}\times\bar{m}}. Define the tuple K:=({1},{2},,{1,2},{1,3},,{1,,m})K:=({\{1\}},{\{2\}},\ldots,{\{1,2\}},{\{1,3\}},\ldots,{\{1,\ldots,m\}}) indexed as K1={1}K_{1}=\{1\}, K2={2}K_{2}=\{2\}, Km¯={1,,m}K_{\bar{m}}={\{1,\ldots,m\}}, and so on. Then, elements of the game matrix H(i,j)H(i,j), i,j{1,,m¯}i,j\in\{1,\ldots,\bar{m}\}, correspond to hKi,Kjh_{K_{i},K_{j}}, i.e., there is a one-to-one correspondence between H(i,j)H(i,j) and hKi,Kjh_{K_{i},K_{j}}. Hereafter, we only use entries H(i,j)H(i,j), i,j{1,,m¯}i,j\in\{1,\ldots,\bar{m}\}, of the matrix game without making reference to the corresponding sets (Ki,Kj)(K_{i},K_{j}); indeed, the strategy of the defender associated with H(i,j)H(i,j) is κKi\kappa_{K_{i}}, and the one of the attacker is ΓKj\Gamma_{K_{j}}. If the defender chooses strategy ii (the ii-th row of HH) and the attacker the strategy jj (the jj-th column of HH), the outcome of the game is H(i,j)H(i,j). Here, the defender seeks to minimize the outcome of the game, while the attacker aims at maximizing it, both by independent decisions. Note that this game is only played once, the controller is selected before the system starts operating and it is not changed during the operation. Then, a reasonable strategy for the defender is to secure his losses against any (rational or irrational) behavior of the attacker [4]. Under this strategy, the defender selects the strategy i{1,,m¯}i^{*}\in\{1,\ldots,\bar{m}\}, the ii^{*}-row of HH, whose largest entry is no bigger than the largest entry of any other row. Therefore, if the defender chooses the ii^{*}-th row as his strategy, where ii^{*} satisfies the inequalities:

f¯(H):=maxjH(i,j)maxjH(i,j);\bar{f}(H):=\max_{j}H(i^{*},j)\leq\max_{j}H(i,j); (59)

then, his looses are no greater than f¯\bar{f}, which is referred in the literature as the ceiling of the defender or the security level for the defender’s losses [4]. The strategy “row ii^{*}” (the controller/monitor κKi\kappa_{K_{i^{*}}}) that yields this security level is called the security strategy of the defender. For every matrix game HH, the security level of the defender’s losses is unique, and there exists at least one security strategy [4]. Using the security strategy κKi\kappa_{K_{i^{*}}} (where ii^{*} satisfies (59)) as the selected controller/monitor is the best rational strategy that can be taken under the assumptions of the game (i.e., noncooperative, played only once, and independent decisions). Note that the attacker has also a security strategy that secures his gains against any strategy of the defender. However, whether he plays that strategy (or not) would not chance the security strategy of the defender. Here, we use the security strategy κKi\kappa_{K_{i^{*}}} described above as the selected controller/monitor.
An alternative formulation is to assign probabilities to every strategy of the attacker and select the defender’s strategy that minimizes the expected value of the game. Define the vector of probabilities p:=(p1,,pm¯)Tp:=(p_{1},\ldots,p_{\bar{m}})^{T}, pj0p_{j}\geq 0, j=1m¯pj=1\sum_{j=1}^{\bar{m}}p_{j}=1, j{1,,m¯}j\in\{1,\ldots,\bar{m}\}, where pjp_{j} denotes the probability that the attacker uses strategy jj (the jj-th column of HH). These probabilities have to be assigned by the defender given the system configuration. For instance, if sensors are geographically distributed (e.g., in power/water networks), some of them could be completely inaccessible and some others might be easier to reach/hack. Another option is to assign higher probabilities to attacks on single sensors than on groups of them. Simply because it might be easier to hack one sensor than more than one. Thus, the system designer has to assign smaller/larger probabilities to every sensor of the system. Note that for a given defender’s strategy ii, the value of the game is H(i,1)H(i,1) with probability p1p_{1}, H(i,2)H(i,2) with probability p2p_{2}, H(i,m¯)H(i,\bar{m}) with probability pm¯p_{\bar{m}}, and so on. Then, for this ii-th row strategy, the expected value of the game is given by H(i,)pH(i,*)p, where H(i,)1×m¯H(i,*)\in{\mathbb{R}}^{1\times\bar{m}} denotes the ii-th row of the game matrix HH. The defender selects the strategy i{1,,m¯}i^{*}\in\{1,\ldots,\bar{m}\}, the ii^{*}-row of HH, that minimizes the expected value of the game, i.e.,

i=argminiH(i,)p.i^{*}=\argmin_{i}H(i^{*},*)p. (60)

We use the strategy “row ii^{*}” (the controller/monitor κKi\kappa_{K_{i^{*}}}) as the chosen controller/monitor. Note that this strategy might lead to a better outcome of the game (for the defender) with certain “optimal” probability. However, there is also a nonzero probability of doing worse than with the deterministic formulation presented above. This might be a risk worth taking to improve the security of the system. We remark that the matrix game HH could be constructed using the largest distance to critical states d~Γ\tilde{d}_{\Gamma} instead of Vol[Γ,x]\text{Vol}[\mathcal{E}^{x}_{\Gamma,\infty}]. In that case, the defender seeks to maximize the distance and the attacker aims at minimizing it.

5.6 Simulation Results

Consider the system matrices (Ap,Bp,Cp,E,F)(A^{p},B^{p},C^{p},E,F) in (4.3), and the perturbation bounds η¯=π\bar{\eta}=\sqrt{\pi} and v¯=1\bar{v}=1. Let ϵ=0.1\epsilon=0.1 and (β,τ)=(0,0.99)(\beta,\tau)=(0,0.99), i.e., the monitor constant ϵ\epsilon is fixed to 0.10.1 and the eigenvalues of the observer closed-loop matrix (ApLCp)(A^{p}-LC^{p}) are required to be contained in the disk centered at 0+0i0+0i of radius 0.800.80, Disk[0,0.80]\text{Disk}[{0,0.80}]. Consider the performance output matrices Cs=(0,0,0.25)C_{s}=(0,0,0.25), Ds=𝟎1×2D^{s}=\mathbf{0}_{1\times 2}, D1=(0,0,1)D_{1}=(0,0,1), and D2=𝟎1×3D_{2}=\mathbf{0}_{1\times 3}, and the set of critical states 𝒞x={xp3|xp,115}\mathcal{C}^{x}=\{x^{p}\in{\mathbb{R}}^{3}|x^{p,1}\leq-15\}. The controller must guarantee, in the attack-free case, that the 2\mathcal{L}_{2}-gain from the vector of perturbations dk=(ηkT,vkT)Td_{k}=(\eta_{k}^{T},v_{k}^{T})^{T} to sk=Csxkp+Dsuk+D1ηk+D2vk=0.25xkp,3+ηk3s_{k}=C_{s}x_{k}^{p}+D_{s}u_{k}+D_{1}\eta_{k}+D_{2}v_{k}=0.25x_{k}^{p,3}+\eta_{k}^{3} is less than or equal to γ=3.0\gamma=3.0 (as the controller given in (4.3) for the analysis section). We use Theorem 2 and Corollary 4 to obtain optimal κ=(L,Π,Ac,Bc,Cc,Dc)\kappa=(L,\Pi,A^{c},B^{c},C^{c},D^{c}) minimizing Γ,x\mathcal{E}^{x}_{\Gamma,\infty} and maximizing d~Γ\tilde{d}_{\Gamma}, respectively, for all possible combinations of sensors being attacked (all the possible sensor attack selection matrices Γ\Gamma). Once we have these κ\kappa, we use the analysis results in Theorem 1 and Corollary 2 to obtain tighter approximations Γ,kx\mathcal{E}^{x}_{\Gamma,k} of Γ,kx\mathcal{R}^{x}_{\Gamma,k}; and use these Γ,kx\mathcal{E}^{x}_{\Gamma,k} to obtain tighter d~Γ\tilde{d}_{\Gamma}. As in the analysis case, we have kk-dependent approximations Γ,kx\mathcal{E}_{\Gamma,k}^{x}; however, because a<1a<1, the function αkx\alpha_{k}^{x} conforming Γ,kx\mathcal{E}_{\Gamma,k}^{x} converge exponentially to (3a)/(1a)(3-a)/(1-a). Hence, in a few time steps, Γ,kxΓ,x={xn|xT𝒫Γxx(3a)/(1a)}\mathcal{E}_{\Gamma,k}^{x}\approx\mathcal{E}_{\Gamma,\infty}^{x}=\{x\in{\mathbb{R}}^{n}|x^{T}\mathcal{P}_{\Gamma}^{x}x\leq(3-a)/(1-a)\}, and thus, Γ,kxΓ,x\mathcal{E}_{\Gamma,k}^{x}\approx\mathcal{E}_{\Gamma,\infty}^{x}. We present Γ,x\mathcal{E}_{\Gamma,\infty}^{x} instead of the time-dependent Γ,kx\mathcal{E}_{\Gamma,k}^{x}. In Table 2, we present the volume of the asymptotic approximation Γ,x\mathcal{E}^{x}_{\Gamma,\infty} and the distance d~Γ\tilde{d}_{\Gamma} between Γ,x\mathcal{E}^{x}_{\Gamma,\infty} and the critical states 𝒞x\mathcal{C}^{x} for all possible combinations of sensors being attacked. We show results for the original κ\kappa in (4.3); and for the optimal κ\kappa obtained using Theorem 2 and Corollary 4. Note that the improvement is remarkable using the optimal κ\kappa. To illustrate this improvement, in Figure 7, we show the projection of Γ,x\mathcal{E}_{\Gamma,\infty}^{x} onto the (xp,1,xp,2)(x^{p,1},x^{p,2})-hyperplane for sensors {2},{2,3}, and {1,2,3} being attacked. We depict the projections for both the original κ\kappa in (4.3) and the optimal one (minimizing trace[Y][Y]). For sensor {2}, we have a 67%67\% improvement in volume and 142%142\% in distance; for {2,3}, 88%88\% and 247%247\%; and for {1,2,3}, 67%67\% and 92%92\%, respectively. Once we have all the optimal controllers/monitors and the corresponding costs in Table 2, we can use Algorithm 1 in Section 5.5 (the sensor protection placement method) to select the best κ\kappa given a number of sensors that can be completely secured m~\tilde{m}. If m~=1\tilde{m}=1; then, according to Algorithm 1, sensor two should be the one to be secured because κ=κ1,3\kappa=\kappa_{1,3} (the optimal controller/monitor assuming sensors {1,3}\{1,3\} are attacked) leads to the smallest volume (137.44137.44), see Table 2. On the other hand, if distance to critical states is more important, the selected controller/monitor should be κ2,3\kappa_{2,3} (i.e., securing sensor one) because it leads to the largest distance (9.749.74). Following the same logic, if two sensors can be secured, m~=2\tilde{m}=2, they should be sensors two and three, in terms of volume, and sensors one and two, in terms of distance, i.e., we should select controllers/monitors κ1\kappa_{1} (minimum volume) and κ3\kappa_{3} (maximum distance), respectively. Next, following the game-theoretic formulation in Section 5.5, using Theorem 2 for to all possible combinations of Γ\Gamma, we compute all optimal controllers/monitors and the corresponding volumes of the ellipsoidal outer approximations. We use these volumes to construct the matrix game HH (given in Table 3) as introduced in Section 5.5. Note that some entries of HH are hyphens. This indicates that the optimization problem used to compute the ellipsoidal approximation was not feasible for that combination of controller/monitor and Γ\Gamma. From this HH, using 59, it is easy to verify that the security level for the defender’s losses is 1538.311538.31 which corresponds to controller/monitor κ{1,2,3}\kappa_{\{1,2,3\}} (the the security strategy of the defender), see Table 3. That is, by selecting κ{1,2,3}\kappa_{\{1,2,3\}}, we ensure having a worst-case volume of 1538.311538.31 regardless of what sensors the attacker compromises. Finally, we assign probabilities to the strategies of the attacker, in the sense introduced in Section 5.5, and look for the controller/monitor that minimizes the expected value of the game. Using (60), it is easy to verify that, for the vector of probabilities p=(0.4,0.09,0.3,0.1,0.1,0.01,0)Tp=(0.4,0.09,0.3,0.1,0.1,0.01,0)^{T}, the strategy that minimizes the expected value of the game is κ{1}\kappa_{\{1\}}, see Table 3. This controller/monitor leads to H(1,)p=1135.43H(1,*)p=1135.43, which is the smallest for all H(i,)H(i,*), i{1,,7}i\in\{1,\ldots,7\}.

Cost: min[trace[Y]][\text{trace}[Y]] Cost: min[cTYcc^{T}Yc]
Original κ\kappa Optimal κ\kappa Optimal κ\kappa
Attacked Sensors Volume Distance Volume Distance Volume Distance
{1} 150.72 8.07 116.94 9.12 150.16 9.27
{2} 453.51 4.20 145.31 10.15 151.80 10.98
{3} 219.43 8.60 130.62 10.77 194.50 11.92
{1,2} 952.95 -2.38 456.06 5.15 487.79 5.17
{1,3} 279.50 6.85 137.44 9.23 186.75 9.29
{2,3} 2063.46 -6.67 235.72 9.74 222.52 9.83
{1,2,3} 4300.32 -23.01 1394.31 -1.88 1371.94 -1.69
Table 2: Volume of the approximation Γ,x\mathcal{E}^{x}_{\Gamma,\infty} of Γ,x\mathcal{R}^{x}_{\Gamma,\infty} and distance d~Γ\tilde{d}_{\Gamma} to the critical states 𝒞x\mathcal{C}^{x} for different sensors being attacked. We show results for the original κ\kappa in (4.3) and for the optimal κ\kappa obtained using Theorem 2 and Corollary 4.
κ/Γ\kappa/\Gamma Γ{1}\Gamma_{\{1\}} Γ{2}\Gamma_{\{2\}} Γ{3}\Gamma_{\{3\}} Γ{1,2}\Gamma_{\{1,2\}} Γ{1,3}\Gamma_{\{1,3\}} Γ{2.3}\Gamma_{\{2.3\}} Γ{1,2,3}\Gamma_{\{1,2,3\}}
κ{1}\kappa_{\{1\}} 116.94 3188.01 514.36 3104.51 514.73 29297.07 29991.81
κ{2}\kappa_{\{2\}} 4277.61 145.31 2728.73 4233.15 38489.72 2489.05 37986.64
κ{3}\kappa_{\{3\}} 302.15 8681.16 130.62 65681.23 300.58 8783.15 68909.86
κ{1,2}\kappa_{\{1,2\}} 440.51 473.35 14207.72 456.06 15029.64 15746.28 17830.39
κ{1,3}\kappa_{\{1,3\}} 134.27 86602.67 134.62 94982.02 137.44 73890.58 97253.67
κ{2,3}\kappa_{\{2,3\}} - 227.83 227.85 - 74255.39 235.72 -
κ{1,2,3}\kappa_{\{1,2,3\}} 1184.02 1529.77 1435.6 1346.72 1320.99 1538.51 1394.31
Table 3: Noncooperative zero-sum matrix game between the attacker and the defender as introduced in Section 5.5.

6 Conclusion

We have provided mathematical tools – in terms of LMIs – for quantifying the potential impact of sensor stealthy attacks on the system dynamics. In particular, we have given a result for computing ellipsoidal outer approximations on the set of states that stealthy attacks can induce in the system. We have proposed to use the volume of these approximations and the distance to possible dangerous states as security metrics for NCSs. Then, for given sensor attack selection matrix Γ\Gamma, we have provide synthesis tools (in terms of semidefinite programs) to redesign controllers and monitors such that the impact of stealthy attacks is minimized and the required attack-free system performance is guaranteed. Based on these synthesis results, we have provided general guidelines for selecting optimal controllers/monitors when Γ\Gamma is unknown. In particular, we have proposed two sets of techniques: sensor protection placement methods; and game-theoretic techniques. We have presented extensive computer simulations to illustrate the performance of our results.

This work was partially supported by the Australian Research Council (ARC) under the Discovery Project DP170104099.

References

  • [1] Chuadhry Mujeeb Ahmed, Carlos Murguia, and Justin Ruths. Model-based attack detection scheme for smart water distribution networks. In Proceedings of the 2017 ACM on Asia Conference on Computer and Communications Security, ASIA CCS ’17, pages 101–113, 2017.
  • [2] C. Z. Bai, F. Pasqualetti, and V. Gupta. Security in stochastic control systems: Fundamental limitations and performance bounds. In American Control Conference (ACC), 2015, pages 195–200, 2015.
  • [3] Cheng-Zong Bai and V. Gupta. On kalman filtering in the presence of a compromised sensor: Fundamental performance bounds. In American Control Conference (ACC), 2014, pages 3029–3034, 2014.
  • [4] T. Basar and G. Olsder. Dynamic Noncooperative Game Theory, 2nd Edition. Society for Industrial and Applied Mathematics, 1998.
  • [5] S. Boyd, L. El Ghaoui, E. Feron, and V. Balakrishnan. Linear matrix inequalities in system and control theory, volume 15 of Studies in Applied Mathematics. SIAM, Philadelphia, PA, 1994.
  • [6] Stephen Boyd and Lieven Vandenberghe. Convex optimization. Cambridge University Press, New York, NY, USA, 2004.
  • [7] A. Cárdenas, S. Amin, Z. Lin, Y. Huang, C. Huang, and S. Sastry. Attacks against process control systems: risk assessment, detection, and response. In Proceedings of the 6th ACM Symposium on Information, Computer and Communications Security, pages 355–366, 2011.
  • [8] Alvaro Cardenas, Saurabh Amin, Bruno Sinopoli, Annarita Giani, Adrian Perrig, and Shankar Sastry. Challenges for securing cyber physical systems. In Workshop on Future Directions in Cyber-physical Systems Security, 2009.
  • [9] Jie Chen and Ron J. Patton. Robust model-based fault diagnosis for dynamic systems. Kluwer Academic Publishers, Norwell, MA, USA, 1999.
  • [10] G. Dan and H. Sandberg. Stealth attacks and protection schemes for state estimators in power systems. In 2010 First IEEE International Conference on Smart Grid Communications, pages 214–219, 2010.
  • [11] G. Garcia and J. Bernussou. Pole assignment for uncertain systems in a specified disk by state feedback. IEEE Transactions on Automatic Control, 40:184–190, 1995.
  • [12] Ziyang Guo, D Shi, Karl Henrik Johansson, and Ling Shi. Optimal linear cyber-attack on remote state estimation. IEEE Transactions on Control of Network Systems, PP(99):1–10, 2016.
  • [13] F. Gustafsson. Adaptive filtering and change detection. John Wiley and Sons, LTD, West Sussex, Chichester, England, 2000.
  • [14] Navid Hashemil, Carlos Murguia, and Justin Ruths. A comparison of stealthy sensor attacks on control systems. In proceedings of the American Control Conference (ACC), 2018, 2018.
  • [15] Roger A. Horn and Charles R. Johnson. Matrix analysis. Cambridge University Press, New York, NY, USA, 2nd edition, 2012.
  • [16] Sahand Hadizadeh Kafash, Jairo Giraldo, Carlos Murguia, Alvaro A. Cardenas, and Justin Ruths. Constraining attacker capabilities through actuator saturation. In proceedings of the American Control Conference (ACC), 2018, 2018.
  • [17] H. K. Khalil. Nonlinear Systems. Prentice-Hall, Englewood Cliffs, NJ, 3nd edition, 2002.
  • [18] T. T. Kim and H. V. Poor. Strategic protection against data injection attacks on power grids. IEEE Transactions on Smart Grid, 2:326–333, 2011.
  • [19] A. B Kurzhanskii and Istvan Valyi. Ellipsoidal calculus for estimation and control. Laxenburg, Austria : IIASA ; Boston : Birkhauser Boston, 1997.
  • [20] A. A. Kurzhanskiy and P. Varaiya. Ellipsoidal toolbox (et). In Proceedings of the 45th IEEE Conference on Decision and Control, pages 1498–1503, 2006.
  • [21] C. Kwon, W. Liu, and I. Hwang. Security analysis for cyber-physical systems against stealthy deception attacks. In American Control Conference (ACC), 2013, pages 3344–3349, 2013.
  • [22] Elias Kyriakides and Marios M. Polycarpou, editors. Intelligent monitoring, control, and security of critical infrastructure systems, volume 565 of Studies in Computational Intelligence. Springer, 2015.
  • [23] F. Miao, Q. Zhu, M. Pajic, and G. J. Pappas. Coding sensor outputs for injection attacks detection. In Decision and Control (CDC), 2014 IEEE 53rd Annual Conference on, pages 5776–5781, 2014.
  • [24] J. Milošević, H. Sandberg, and K. H. Johansson. Estimating the impact of cyber-attack strategies for stochastic control systems. In arXiv:1811.05410, 2018.
  • [25] M. I. Müller, J. Milošević, H. Sandberg, and C. R. Rojas. A risk-theoretical approach to 2\mathcal{H}_{2}-optimal control under covert attacks. In 2018 IEEE Conference on Decision and Control (CDC), pages 4553–4558, 2018.
  • [26] Y. Mo, E. Garone, A. Casavola, and B. Sinopoli. False data injection attacks against state estimation in wireless sensor networks. In Decision and Control (CDC), 2010 49th IEEE Conference on, pages 5967–5972, 2010.
  • [27] Y. Mo and B. Sinopoli. On the performance degradation of cyber-physical systems under stealthy integrity attacks. IEEE Transactions on Automatic Control, 61:2618–2624, 2016.
  • [28] Carlos Murguia and Justin Ruths. Characterization of a cusum model-based sensor attack detector. In proceedings of the 55th IEEE Conference on Decision and Control (CDC), 2016.
  • [29] Carlos Murguia and Justin Ruths. Cusum and chi-squared attack detection of compromised sensors. In proceedings of the IEEE Multi-Conference on Systems and Control (MSC), 2016.
  • [30] Carlos Murguia and Justin Ruths. On reachable sets of hidden cps sensor attacks. In proceedings of the American Control Conference (ACC), 2018, 2018.
  • [31] Carlos Murguia, Nathan van de Wouw, and Justin Ruths. Reachable sets of hidden cps sensor attacks: Analysis and synthesis tools. In proceedings of the IFAC World Congress, 2016.
  • [32] F. Pasqualetti, F. Dorfler, and F. Bullo. Attack detection and identification in cyber-physical systems. IEEE Transactions on Automatic Control, 58:2715–2729, 2013.
  • [33] M. Ross. Introduction to Probability Models, Ninth Edition. Academic Press, Inc., Orlando, FL, USA, 2006.
  • [34] C. Scherer, P. Gahinet, and M. Chilali. Multiobjective output-feedback control via lmi optimization. IEEE Transactions on Automatic Control, 42:896–911, 1997.
  • [35] C. Scherer and S. Weiland. Linear matrix inequalities in control. Springer-Verlag, The Netherlands, 2000.
  • [36] J. Michael Steele. The Cauchy-Schwarz master class: an introduction to the art of mathematical inequalities. Cambridge University Press, New York, NY, USA, 2004.
  • [37] Zhanghan Tang, Margreta Kuijper, Michelle S. Chong, Iven Mareels, and Christopher Leckie. Linear system security—detection and correction of adversarial sensor attacks in the noise-free case. Automatica, 101:53 – 59, 2019.
  • [38] A. Teixeira, I. Shames, H. Sandberg, and H. Johansson. A secure control framework for resource-limited adversaries. Automatica, 51:135 – 148, 2015.
  • [39] A. Teixeira, K. C. Sou, H. Sandberg, and K. H. Johansson. Secure control systems: A quantitative risk management approach. IEEE Control Systems Magazine, 35:24–45, 2015.
  • [40] A. van der Schaft. L2-Gain and Passivity Techniques in Nonlinear Control. Springer, Berlin, 1999.

Appendix A Monitor Design

We use Corollary 1 to obtain outer time-varying ellipsoidal approximations of the reachable set of the estimation error (13) driven by vkv_{k} and ηk\eta_{k} in the attack-free case (δk=𝟎\delta_{k}=\mathbf{0}). Once we have this ellipsoid, we project it onto the residual hyperplane to get the ellipsoid rkTΠrk=1r_{k}^{T}\Pi r_{k}=1 of the monitor. Denote by ψe(k,e1,η(),v())\psi^{e}(k,e_{1},\eta(\cdot),v(\cdot)) the solution of (13) at time instant kk given the initial estimation error e1e_{1} and the infinite disturbance sequences η():={η1,η2,}\eta(\cdot):=\{\eta_{1},\eta_{2},\ldots\} and v():={v1,v2,}v(\cdot):=\{v_{1},v_{2},\ldots\}. The reachable set we seek to quantify is given by

ke:={en|e=ψe(k,e1,η(),v());e1n,vkTvkv¯,ηkTηkη¯,k.}.\mathcal{R}^{e}_{k}:=\left\{e\in\mathbb{R}^{n}\ \Bigg|\ \begin{aligned} &e=\psi^{e}(k,e_{1},\eta(\cdot),v(\cdot));\ e_{1}\in{\mathbb{R}}^{n},\\ &v_{k}^{T}v_{k}\leq\bar{v},\hskip 2.84526pt\eta_{k}^{T}\eta_{k}\leq\bar{\eta},\hskip 2.84526pt\forall\hskip 1.42262ptk\in\mathbb{N}.\end{aligned}\right\}. (61)
Lemma 9.

Consider the estimation error dynamics (13) with matrices (Ap,Cp,E,F,L)(A^{p},C^{p},E,F,L), the perturbation bounds v¯,η¯>0\bar{v},\bar{\eta}\in{\mathbb{R}}_{>0}, and assume no attacks to the system, i.e., δk=𝟎\delta_{k}=\mathbf{0}. For a given a(0,1)a\in(0,1), if there exist constants a1=a1,,aN=aNa_{1}=a_{1}^{*},\ldots,a_{N}=a_{N}^{*} and matrix 𝒫=𝒫\mathcal{P}=\mathcal{P}^{*} solution of (8) with A=(ApLCp)A=(A^{p}-LC^{p}), N=2N=2, B1=LFB^{1}=-LF, B2=EB^{2}=E, W1=(1/η¯)ImW_{1}=(1/\bar{\eta})I_{m}, W2=(1/v¯)InW_{2}=(1/\bar{v})I_{n}, p1=mp_{1}=m, and p2=np_{2}=n; then, keke:={en|eT𝒫eeαke}\mathcal{R}^{e}_{k}\subseteq\mathcal{E}^{e}_{k}:=\{e\in{\mathbb{R}}^{n}|e^{T}\mathcal{P}^{e}e\leq\alpha_{k}^{e}\}, with 𝒫e=𝒫\mathcal{P}^{e}=\mathcal{P}^{*} and αke:=ak1e1T𝒫ee1+((2a)(1ak1))/(1a)\alpha_{k}^{e}:=a^{k-1}e_{1}^{T}\mathcal{P}^{e}e_{1}+\big((2-a)(1-a^{k-1})\big)/(1-a) , and the ellipsoid ke\mathcal{E}^{e}_{k} has minimum volume in the sense of Corollary 1.
Proof: The result follows Corollary 1. \blacksquare
By Lemma 9, the trajectories of the estimation error dynamics are contained in the time-varying ellipsoid eT𝒫ee=αkee^{T}\mathcal{P}^{e}e=\alpha_{k}^{e}. Having this ellipsoid, we look for the matrix Π\Pi of the monitor leading to the minimum-volume ellipsoid rTΠr=1r^{T}\Pi r=1 satisfying, for kkk\geq k^{*} and some kk^{*}\in{\mathbb{N}}, rkTΠrk=(Cpek+ηk)TΠ(Cpek+ηk)1r_{k}^{T}\Pi r_{k}=(C^{p}e_{k}+\eta_{k})^{T}\Pi(C^{p}e_{k}+\eta_{k})\leq 1 for ekkee_{k}\in\mathcal{E}^{e}_{k} and ηk\eta_{k} such that ηkTηkη¯\eta_{k}^{T}\eta_{k}\leq\bar{\eta}.

Proposition 3.

Consider the function αke\alpha^{e}_{k} defined in Lemma 9 and define αe:=limkαke=(2a)/(1a)\alpha_{\infty}^{e}:=\lim_{k\rightarrow\infty}\alpha_{k}^{e}=(2-a)/(1-a). For every ϵ>0\epsilon\in{\mathbb{R}}_{>0}, there exists k(a,ϵ,e1,𝒫e)k^{*}(a,\epsilon,e_{1},\mathcal{P}^{e})\in{\mathbb{N}} such that αkeαe+ϵ\alpha_{k}^{e}\leq\alpha_{\infty}^{e}+\epsilon for all kk(a,ϵ,e1,𝒫e)k\geq k^{*}(a,\epsilon,e_{1},\mathcal{P}^{e}).
Proof: The function αke\alpha_{k}^{e} can be written in terms of the constant αe\alpha_{\infty}^{e} as αke=ak1e1T𝒫e1+(1ak1)αe\alpha_{k}^{e}=a^{k-1}e_{1}^{T}\mathcal{P}^{*}e_{1}+(1-a^{k-1})\alpha_{\infty}^{e}. Moreover, αkeαe+ϵαkeαeϵ\alpha_{k}^{e}\leq\alpha_{\infty}^{e}+\epsilon\Leftrightarrow\alpha_{k}^{e}-\alpha_{\infty}^{e}\leq\epsilon and αkeαe=ak1(e1T𝒫e1αe)\alpha_{k}^{e}-\alpha_{\infty}^{e}=a^{k-1}\big(e_{1}^{T}\mathcal{P}^{*}e_{1}-\alpha_{\infty}^{e}\big). Because a<1a<1, inequality ak1(e1T𝒫e1αe)ϵa^{k-1}\big(e_{1}^{T}\mathcal{P}^{*}e_{1}-\alpha_{\infty}^{e}\big)\leq\epsilon, can always be satisfied for any ϵ>0\epsilon\in{\mathbb{R}}_{>0} and sufficiently large kk. \blacksquare

Remark 9.

By Proposition 3, for every ϵ>0\epsilon\in{\mathbb{R}}_{>0}, there exists kk^{*}\in{\mathbb{N}} such that αkeαe+ϵ\alpha_{k}^{e}\leq\alpha_{\infty}^{e}+\epsilon for allkkk\geq k^{*}. The least kk^{*} satisfying αkeαe+ϵ\alpha_{k^{*}}^{e}\leq\alpha_{\infty}^{e}+\epsilon is given by k(a,ϵ,e1,𝒫e)=min{k|ak1(e1T𝒫ee1αe)ϵ}k^{*}(a,\epsilon,e_{1},\mathcal{P}^{e})=\min\{k\in{\mathbb{N}}|a^{k-1}\big(e_{1}^{T}\mathcal{P}^{e}e_{1}-\alpha_{\infty}^{e}\big)\leq\epsilon\} (see the proof of Proposition 3 above). Notice that αkeαe+ϵ\alpha_{k}^{e}\leq\alpha_{\infty}^{e}+\epsilon for kkk\geq k^{*} implies keϵe\mathcal{E}^{e}_{k}\subseteq\mathcal{E}^{e}_{\epsilon}, where ϵe:={en|eT𝒫eeαe+ϵ}\mathcal{E}^{e}_{\epsilon}:=\{e\in{\mathbb{R}}^{n}|e^{T}\mathcal{P}^{e}e\leq\alpha_{\infty}^{e}+\epsilon\}, for all kkk\geq k^{*}. It follows that, for any ϵ>0\epsilon>0, the estimation error eke_{k} is contained in ellipsoid eT𝒫ee=αe+ϵe^{T}\mathcal{P}^{e}e=\alpha_{\infty}^{e}+\epsilon for kkk\geq k^{*}, i.e., keϵekk\mathcal{R}^{e}_{k}\subseteq\mathcal{E}^{e}_{\epsilon}\hskip 2.84526pt\forall\hskip 2.84526ptk\geq k^{*}. Therefore, for a fixed ϵ\epsilon (and corresponding kk^{*}), the problem of finding Π\Pi of the monitor amounts to finding Π\Pi such that (Cpek+ηk)TΠ(Cpek+ηk)1(C^{p}e_{k}+\eta_{k})^{T}\Pi(C^{p}e_{k}+\eta_{k})\leq 1 for all eke_{k} and ηk\eta_{k} satisfying ekT𝒫η,veekαe+ϵe_{k}^{T}\mathcal{P}^{e}_{\eta,v}e_{k}\leq\alpha_{\infty}^{e}+\epsilon and ηkTηkη¯\eta_{k}^{T}\eta_{k}\leq\bar{\eta}. This can be posed as a convex optimization problem using the 𝒮\mathcal{S}-procedure.

Proposition 4.

Let the conditions of Lemma 9 be satisfied and consider the corresponding matrix 𝒫en×n\mathcal{P}^{e}\in{\mathbb{R}}^{n\times n}, the function αke\alpha_{k}^{e}, the constant αe=limkαke=(2a)/(1a)\alpha_{\infty}^{e}=\lim_{k\rightarrow\infty}\alpha_{k}^{e}=(2-a)/(1-a), and some ϵ>0\epsilon\in{\mathbb{R}}_{>0}. If there exist τ1,τ2\tau_{1},\tau_{2}\in{\mathbb{R}} and Πm×m\Pi\in\mathbb{R}^{m\times m} solution of the following convex optimization:

{minΠ,τ1,τ2logdet[Π],s.t.Π𝟎,τ10,τ20,and[f1(Cp)TΠ𝟎ΠCpτ2ImΠ𝟎𝟎𝟎f2]𝟎,f1=τ1𝒫e(Cp)TΠCp,f2=1τ1(αe+ϵ)τ2η¯;\left\{\begin{aligned} &\min_{\Pi,\tau_{1},\tau_{2}}\ -\log\det[\Pi],\\ &\text{s.t.}\ \Pi\geq\mathbf{0},\ \tau_{1}\geq 0,\ \tau_{2}\geq 0,\ \text{and}\\ &\begin{bmatrix}f_{1}&-(C^{p})^{T}\Pi&\mathbf{0}\\ -\Pi C^{p}&\tau_{2}I_{m}-\Pi&\mathbf{0}\\ \mathbf{0}&\mathbf{0}&f_{2}\end{bmatrix}\geq\mathbf{0},\\ &f_{1}=\tau_{1}\mathcal{P}^{e}-(C^{p})^{T}\Pi C^{p},\\ &f_{2}=1-\tau_{1}(\alpha_{\infty}^{e}+\epsilon)-\tau_{2}\bar{\eta};\end{aligned}\right. (62)

then, for δk=𝟎\delta_{k}=\mathbf{0} and kk(a,ϵ,e1,𝒫e)=min{k|αkeαeϵ}k\geq k^{*}(a,\epsilon,e_{1},\mathcal{P}^{e})=\min\{k\in{\mathbb{N}}|\alpha_{k}^{e}-\alpha_{\infty}^{e}\leq\epsilon\}, the monitor inequality rkTΠrk1r_{k}^{T}\Pi r_{k}\leq 1 is satisfied for all eke_{k} and ηk\eta_{k} satisfying ekT𝒫eekαe+ϵe_{k}^{T}\mathcal{P}^{e}e_{k}\leq\alpha_{\infty}^{e}+\epsilon and ηkTηkη¯\eta_{k}^{T}\eta_{k}\leq\bar{\eta}.
Proof: By Lemma 9, Proposition 3, and Remark 9, for any ϵ>0\epsilon\in{\mathbb{R}}_{>0} and corresponding kk^{*} satisfying αkeαeϵ\alpha_{k^{*}}^{e}-\alpha_{\infty}^{e}\leq\epsilon, the trajectories of estimation error dynamics (13) satisfy ekT𝒫eekαe+ϵe_{k}^{T}\mathcal{P}^{e}e_{k}\leq\alpha_{\infty}^{e}+\epsilon for all kkk\geq k^{*}. By the 𝒮\mathcal{S}-procedure [5], if there exist τ1,τ20\tau_{1},\tau_{2}\in{\mathbb{R}}_{\geq 0} satisfying

(Cpek+ηk)TΠ(Cpek+ηk)1\displaystyle(C^{p}e_{k}+\eta_{k})^{T}\Pi(C^{p}e_{k}+\eta_{k})-1
τ1(ekT𝒫eekαeϵ)τ2(ηkTηkη¯)0,\displaystyle-\tau_{1}(e_{k}^{T}\mathcal{P}^{e}e_{k}-\alpha_{\infty}^{e}-\epsilon)-\tau_{2}(\eta_{k}^{T}\eta_{k}-\bar{\eta})\leq 0, (63)

then, (Cpek+ηk)TΠ(Cpek+ηk)1(C^{p}e_{k}+\eta_{k})^{T}\Pi(C^{p}e_{k}+\eta_{k})\leq 1 is satisfied for all eke_{k} and ηk\eta_{k} satisfying ekT𝒫eekαe+ϵe_{k}^{T}\mathcal{P}^{e}e_{k}\leq\alpha_{\infty}^{e}+\epsilon and ηkTηkη¯\eta_{k}^{T}\eta_{k}\leq\bar{\eta}. Inequality (4) can be written as

vkT[f1(Cp)TΠ𝟎ΠCpτ2ImΠ𝟎𝟎𝟎f2]Qvk0,v_{k}^{T}\underbrace{\begin{bmatrix}f_{1}&-(C^{p})^{T}\Pi&\mathbf{0}\\ -\Pi C^{p}&\tau_{2}I_{m}-\Pi&\mathbf{0}\\ \mathbf{0}&\mathbf{0}&f_{2}\end{bmatrix}}_{Q}v_{k}\geq 0,

with vk:=(ekT,ηkT,1)Tv_{k}:=\left(e_{k}^{T},\eta_{k}^{T},1\right)^{T}. The above inequality is satisfied if and only if QQ is positive semidefinite. Therefore, for kkk\geq k^{*}, rkTΠrk1r_{k}^{T}\Pi r_{k}\leq 1 for any Π\Pi solution of (62). Again, to ensure that the ellipsoidal bound is as tight as possible, we minimize logdet[Π1]\log\det[\Pi^{-1}] as this objective shares the same minimizer with (det[Π])1/2(\det[\Pi])^{-1/2} and because for a positive definite Π\Pi it is convex [5]. \blacksquare

Remark 10.

Using Proposition 4, we can design monitors for every ϵ>0\epsilon\in{\mathbb{R}}_{>0}. If we want tight monitors, we need small ϵ\epsilon because ϵ0\epsilon\approx 0 yields keϵee\mathcal{E}^{e}_{k}\subseteq\mathcal{E}^{e}_{\epsilon}\approx\mathcal{E}^{e}_{\infty} for kkk\geq k^{*}. That is, the contribution of initial conditions to the outer bound ϵe\mathcal{E}^{e}_{\epsilon} on ke\mathcal{E}^{e}_{k} used in Proposition 4 (see Remark 9) to compute the monitor matrix Π\Pi has decreased to a small value and mainly the effect of the perturbations ηk\eta_{k} and vkv_{k} is taken into account when designing the monitor matrix Π\Pi. However, depending on the initial conditions, too small ϵ\epsilon might result on very large kk^{*}. The values of ϵ\epsilon and kk^{*} are related through the expression k=min{k|αkeαe=ak1(e1T𝒫e1αe)ϵ}k^{*}=\min\{k\in{\mathbb{N}}|\alpha_{k}^{e}-\alpha_{\infty}^{e}=a^{k-1}\big(e_{1}^{T}\mathcal{P}^{*}e_{1}-\alpha_{\infty}^{e}\big)\leq\epsilon\} introduced in Proposition 4. Note that, for e1T𝒫e1αee_{1}^{T}\mathcal{P}^{*}e_{1}\leq\alpha_{\infty}^{e}, k=1k^{*}=1 for any ϵ>0\epsilon\in{\mathbb{R}}_{>0}, i.e, ϵ\epsilon can be selected arbitrarily small. On the other hand, e1T𝒫e1>αee_{1}^{T}\mathcal{P}^{*}e_{1}>\alpha_{\infty}^{e} implies that kk^{*}\rightarrow\infty as ϵ0\epsilon\rightarrow 0. That is, in this case, there is a trade-off between conservative monitors and convergence time when selecting ϵ\epsilon.

A.1 Proof of Lemma 5

Assume that the conditions of Lemma 5 are satisfied for some a(0,1)a\in(0,1), ϵ>0\epsilon\in{\mathbb{R}}_{>0}, a1,a2a_{1},a_{2}\in{\mathbb{R}}, and matrices (S,G,R)(S,G,R). Because L=S1RL=S^{-1}R and Π=G\Pi=G, then R=SLR=SL, G=ΠG=\Pi, and the matrix inequalities in (49) take the form:

S>𝟎,[aS(ApLCp)TS𝟎𝟎S(ApLCp)SSLFSE𝟎(LF)TS1a1η¯Im𝟎𝟎ETS𝟎1a2v¯In]𝟎,\displaystyle S>\mathbf{0},\begin{bmatrix}aS&(A^{p}-LC^{p})^{T}S&\mathbf{0}&\mathbf{0}\\ S(A^{p}-LC^{p})&S&-SLF&SE\\ \mathbf{0}&-(LF)^{T}S&\frac{1-a_{1}}{\bar{\eta}}I_{m}&\mathbf{0}\\ \mathbf{0}&E^{T}S&\mathbf{0}&\frac{1-a_{2}}{\bar{v}}I_{n}\end{bmatrix}\geq\mathbf{0}, (64)
Π>𝟎,[1αe+ϵ+η¯S(Cp)TΠCp(Cp)TΠΠCp1αe+ϵ+η¯ImΠ]𝟎.\displaystyle\Pi>\mathbf{0},\begin{bmatrix}\frac{1}{\alpha^{e}_{\infty}+\epsilon+\bar{\eta}}S-(C^{p})^{T}\Pi C^{p}&-(C^{p})^{T}\Pi\\[5.69054pt] -\Pi C^{p}&\frac{1}{\alpha^{e}_{\infty}+\epsilon+\bar{\eta}}I_{m}-\Pi\end{bmatrix}\geq\mathbf{0}. (65)

The inequalities in (64) are of the form (6) in Proposition 1 with 𝒫=S\mathcal{P}=S, A=(ApLCp)A=(A^{p}-LC^{p}), N=2N=2, B1=LFB^{1}=-LF, B2=EB^{2}=E, W1=(1/η¯)ImW_{1}=(1/\bar{\eta})I_{m}, W2=(1/v¯)InW_{2}=(1/\bar{v})I_{n}, p1=mp_{1}=m, and p2=np_{2}=n. Hence, because a,a1,a2(0,1)a,a_{1},a_{2}\in(0,1) and a1+a2aa_{1}+a_{2}\geq a, by Proposition 1, ekTSekαkee_{k}^{T}Se_{k}\leq\alpha_{k}^{e} for all kk\in{\mathbb{N}}, eke_{k} solution of (15) with δk=𝟎\delta_{k}=\mathbf{0}, αke=ak1e1TSe1+αe(1ak1)\alpha_{k}^{e}=a^{k-1}e_{1}^{T}Se_{1}+\alpha_{\infty}^{e}(1-a^{k-1}), and αe=(2a)/(1a)\alpha_{\infty}^{e}=(2-a)/(1-a). Note that, for every ϵ>0\epsilon>0, we have αkeαe+ϵαkeαe=ak1(e1TSe1αe)ϵ\alpha_{k}^{e}\leq\alpha_{\infty}^{e}+\epsilon\Leftrightarrow\alpha_{k}^{e}-\alpha_{\infty}^{e}=a^{k-1}\big(e_{1}^{T}Se_{1}-\alpha_{\infty}^{e}\big)\leq\epsilon, and thus, because a(0,1)a\in(0,1), αkeαe+ϵ\alpha_{k}^{e}\leq\alpha_{\infty}^{e}+\epsilon for all kk(a,ϵ,e1,S)=min{k|ak1(e1TSe1αe)ϵ}k\geq k^{*}(a,\epsilon,e_{1},S)=\min\{k\in{\mathbb{N}}|a^{k-1}\big(e_{1}^{T}Se_{1}-\alpha_{\infty}^{e}\big)\leq\epsilon\}. Inequality αkeαe+ϵ\alpha_{k}^{e}\leq\alpha_{\infty}^{e}+\epsilon for kkk\geq k^{*} implies ekTSekαe+ϵe_{k}^{T}Se_{k}\leq\alpha_{\infty}^{e}+\epsilon for kkk\geq k^{*}, i.e, for any ϵ>0\epsilon>0, the estimation error eke_{k} satisfies ekTSekαe+ϵe_{k}^{T}Se_{k}\leq\alpha_{\infty}^{e}+\epsilon for all kkk\geq k^{*}. Moreover, because ηkTηkη¯\eta_{k}^{T}\eta_{k}\leq\bar{\eta} for kk\in{\mathbb{N}}, it is easy to verify that wkTQ1wkqw_{k}^{T}Q_{1}w_{k}\leq q for kkk\geq k^{*}, where wk:=(ekT,ηkT)Tw_{k}:=(e_{k}^{T},\eta_{k}^{T})^{T}, Q1:=diag[S,Im]>𝟎Q_{1}:=\text{diag}[S,I_{m}]>\mathbf{0}, and q:=αe+ϵ+η¯>0q:=\alpha_{\infty}^{e}+\epsilon+\bar{\eta}\in{\mathbb{R}}_{>0}. Since rk=Cpek+ηkr_{k}=C^{p}e_{k}+\eta_{k}, the monitor inequality, rkTΠrk1r_{k}^{T}\Pi r_{k}\leq 1, can be written in terms of wkw_{k} as wkTQ2wk1w_{k}^{T}Q_{2}w_{k}\leq 1, where

Q2:=[(Cp)TΠCp(Cp)TΠΠCpΠ].Q_{2}:=\begin{bmatrix}(C^{p})^{T}\Pi C^{p}&(C^{p})^{T}\Pi\\ \Pi C^{p}&\Pi\end{bmatrix}.

Note that wkTQ1wkqwkT(1qQ1)wk1w_{k}^{T}Q_{1}w_{k}\leq q\Leftrightarrow w_{k}^{T}\big(\frac{1}{q}Q_{1}\big)w_{k}\leq 1, because q>0q\in{\mathbb{R}}_{>0} and Q1>𝟎Q_{1}>\mathbf{0}, and thus, if wkTQ2wkwkT(1qQ1)wkw_{k}^{T}Q_{2}w_{k}\leq w_{k}^{T}\big(\frac{1}{q}Q_{1}\big)w_{k}, then wkTQ2wk1w_{k}^{T}Q_{2}w_{k}\leq 1 for kkk\geq k^{*} (because wkTQ1wkqw_{k}^{T}Q_{1}w_{k}\leq q only for kkk\geq k^{*}). Inequality wkTQ2wkwkT(1qQ1)wkw_{k}^{T}Q_{2}w_{k}\leq w_{k}^{T}\big(\frac{1}{q}Q_{1}\big)w_{k} is satisfied for any wkn+mw_{k}\in{\mathbb{R}}^{n+m} if and only if 1qQ1Q2𝟎\frac{1}{q}Q_{1}-Q_{2}\geq\mathbf{0}. The latter inequality equals the right-hand side inequality in (65) and it is satisfied by assumption. Therefore, wkTQ2wk=rkTΠrk1w_{k}^{T}Q_{2}w_{k}=r_{k}^{T}\Pi r_{k}\leq 1 for kkk\geq k^{*}, Π=G\Pi=G, L=S1RL=S^{-1}R, and (a,a1,a2,ϵ,S,G,R)(a,a_{1},a_{2},\epsilon,S,G,R) satisfying (49). \blacksquare

A.2 Proof of Lemma 8

Let ν\nu be such that 𝐗~(ν)>𝟎\tilde{\mathbf{X}}(\nu)>\mathbf{0} and 𝐒(ν)𝟎\mathbf{S}(\nu)\geq\mathbf{0}. Because 𝐗~(ν)>𝟎\tilde{\mathbf{X}}(\nu)>\mathbf{0}, by the Schur complement, Y>0Y>0 and XY1>0X-Y^{-1}>0. Since YX+VUT=IYX+VU^{T}=I (see (35)), then VUT=IYX<𝟎VU^{T}=I-YX<\mathbf{0}, i.e., the matrix VUTVU^{T} is invertible. Hence, it is always possible to factorize IYXI-YX as VUT=IYXVU^{T}=I-YX with square and nonsingular UU and VV. Invertible UU and VV implies that 𝒴\mathcal{Y} and the matrix 𝒯3:=diag[𝒴,𝒴,I,I]\mathcal{T}_{3}:=\text{diag}[\mathcal{Y},\mathcal{Y},I,I] are invertible. It follows that the transformations 𝒳𝒴T𝒳𝒴=𝐗~(ν)\mathcal{X}\rightarrow\mathcal{Y}^{T}\mathcal{X}\mathcal{Y}=\tilde{\mathbf{X}}(\nu) and 𝒮𝒯3T𝒮𝒯3=𝐒(ν)\mathcal{S}\rightarrow\mathcal{T}_{3}^{T}\mathcal{S}\mathcal{T}_{3}=\mathbf{S}(\nu) are congruent. Therefore, 𝐗~(ν)>𝟎\tilde{\mathbf{X}}(\nu)>\mathbf{0} and 𝐒(ν)𝟎\mathbf{S}(\nu)\geq\mathbf{0} imply 𝒳>0\mathcal{X}>0 and 𝒮𝟎\mathcal{S}\geq\mathbf{0} because 𝐗~(ν)\tilde{\mathbf{X}}(\nu) and 𝐒(ν)\mathbf{S}(\nu) have the same signature as 𝒳\mathcal{X} and 𝒮\mathcal{S}, respectively. Because 𝐗(ν)>𝟎\mathbf{X}(\nu)>\mathbf{0}, the matrices UU and VV are nonsingular. The latter implies that the change of variables in (41a) and 𝒴\mathcal{Y} are invertible and lead to unique (𝒳,Ac,Bc,Cc,Dc)(\mathcal{X},A^{c},B^{c},C^{c},D^{c}) by inverting (41a) and 𝐗~(ν)=𝒴T𝒳𝒴\tilde{\mathbf{X}}(\nu)=\mathcal{Y}^{T}\mathcal{X}\mathcal{Y} in (54), and, by Lemma 7, this (Ac,Bc,Cc,Dc)(A^{c},B^{c},C^{c},D^{c}) leads to supdk2,dk𝟎(sk2/dk2)γ\sup_{d_{k}\in\mathcal{L}_{2},d_{k}\neq\mathbf{0}}(\left\lVert s_{k}\right\rVert_{2}/\left\lVert d_{k}\right\rVert_{2})\leq\gamma for ζ~1=𝟎\tilde{\zeta}_{1}=\mathbf{0}. \blacksquare

A.3 Projection of High Dimensional Ellipsoids onto Coordinate Hyperplanes

Lemma 10.

Consider the ellipsoid:

:={xn,ym|[xy]T[Q1Q2Q2TQ3]Q[xy]=α},\mathcal{E}:=\left\{x\in\mathbb{R}^{n},y\in\mathbb{R}^{m}\left|\begin{bmatrix}x\\ y\end{bmatrix}^{T}\underbrace{\begin{bmatrix}Q_{1}&Q_{2}\\ Q_{2}^{T}&Q_{3}\end{bmatrix}}_{Q}\begin{bmatrix}x\\ y\end{bmatrix}=\alpha\right.\right\},

for some positive definite matrix Q(n+m)×(n+m)Q\in\mathbb{R}^{(n+m)\times(n+m)} and constant α>0\alpha\in{\mathbb{R}}_{>0}. The projection \mathcal{E}^{\prime} of \mathcal{E} onto the xx-hyperplane is given by the ellipsoid:

:={xn|xT[Q1Q2Q31Q2T]x=α}.\mathcal{E}^{\prime}:=\left\{x\in\mathbb{R}^{n}\left|x^{T}[Q_{1}-Q_{2}Q_{3}^{-1}Q_{2}^{T}]x=\alpha\right.\right\}.

Proof: The matrix QQ is positive definite and thus Q1n×nQ_{1}\in\mathbb{R}^{n\times n} and Q3m×mQ_{3}\in\mathbb{R}^{m\times m} are nonsingular. It follows that QQ can be factorized as:

[Q1Q2Q2TQ3]=[In𝟎Q31Q2TIm]T[Q1Q2Q31Q2T𝟎𝟎Q3]\displaystyle\begin{bmatrix}Q_{1}&Q_{2}\\ Q_{2}^{T}&Q_{3}\end{bmatrix}=\begin{bmatrix}I_{n}&\mathbf{0}\\ -Q_{3}^{-1}Q_{2}^{T}&I_{m}\end{bmatrix}^{T}\begin{bmatrix}Q_{1}-Q_{2}Q_{3}^{-1}Q_{2}^{T}&\mathbf{0}\\ \mathbf{0}&Q_{3}\end{bmatrix}
×[In𝟎Q31Q2TIm].\displaystyle\hskip 113.81102pt\times\begin{bmatrix}I_{n}&\mathbf{0}\\ -Q_{3}^{-1}Q_{2}^{T}&I_{m}\end{bmatrix}.

Introduce the change of coordinates:

[x¯y¯]:=[In𝟎Q31Q2TIm][xy].\begin{bmatrix}\bar{x}\\ \bar{y}\end{bmatrix}:=\begin{bmatrix}I_{n}&\mathbf{0}\\ -Q_{3}^{-1}Q_{2}^{T}&I_{m}\end{bmatrix}\begin{bmatrix}x\\ y\end{bmatrix}. (66)

In these coordinates, the ellipsoid \mathcal{E} is given by

={x¯ny¯m|[x¯y¯]T[Q1Q2Q31Q2T𝟎𝟎Q3]Q¯[x¯y¯]=α}.\mathcal{E}=\left\{\begin{array}[]{l}\bar{x}\in\mathbb{R}^{n}\\ \bar{y}\in\mathbb{R}^{m}\end{array}\left|\begin{bmatrix}\bar{x}\\ \bar{y}\end{bmatrix}^{T}\underbrace{\begin{bmatrix}Q_{1}-Q_{2}Q_{3}^{-1}Q_{2}^{T}&\mathbf{0}\\ \mathbf{0}&Q_{3}\end{bmatrix}}_{\bar{Q}}\begin{bmatrix}\bar{x}\\ \bar{y}\end{bmatrix}=\alpha\right.\right\}.

The matrix Q¯\bar{Q} is block diagonal; therefore, in the new coordinates, the projection of \mathcal{E} onto y¯=𝟎\bar{y}=\mathbf{0} (the x¯\bar{x}-hyperplane) and the intersection of \mathcal{E} with y¯=𝟎\bar{y}=\mathbf{0} are equal. The intersection with y¯=𝟎\bar{y}=\mathbf{0} (and thus the projection onto y¯=𝟎\bar{y}=\mathbf{0}) is simply given by x¯:={(x¯,y¯)|y¯=𝟎}={x¯n|x¯T[Q1Q2Q31Q2T]x¯=α}\mathcal{E}^{\bar{x}}:=\{(\bar{x},\bar{y})\in\mathcal{E}|\bar{y}=\mathbf{0}\}=\{\bar{x}\in{\mathbb{R}}^{n}|\bar{x}^{T}[Q_{1}-Q_{2}Q_{3}^{-1}Q_{2}^{T}]\bar{x}=\alpha\}. This x¯\mathcal{E}^{\bar{x}} provides an expression for all the points of \mathcal{E} that lie on the x¯\bar{x}-hyperplane. However, from (66), note that x¯=x\bar{x}=x; therefore, x¯=\mathcal{E}^{\bar{x}}=\mathcal{E}^{\prime} and \mathcal{E}^{\prime} provides the locus for all the points of \mathcal{E} that lie on the xx-hyperplane. \blacksquare