27.03.2014 Views

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Verification of Cyber-Physical <strong>Systems</strong> Based on Differential-Algebraic Temporal Dynamic Logic<br />

Xiaoxiang Zhai, Bixin Li, Min Zhu, Jiakai Li, Qiaoqiao Chen, Shunhui Ji<br />

School of Computer Science and Engineering, Southeast University, Nanjing, China<br />

Email: {xxzhai, bx.li}@seu.edu.cn, kongs@139.com, jiakai li@seu.edu.cn,<br />

joe 0701@126.com, shunhuiji@163.com<br />

Abstract<br />

Differential temporal dynamic logic (dTL) is an approach<br />

for specifying and verifying properties of cyber-physical systems<br />

(CPS) and it can handle with temporal behaviors for CPS.<br />

The hybrid programs (HP), as operating model of dTL, only<br />

contain differential equations that can be solved in polynomial<br />

arithmetic, which results that dTL can only specify and verify<br />

CPS of simple dynamics. However, differential-algebraic dynamic<br />

logic (DAL) solves the problem through the introduction of differential<br />

invariants, but lacks verification capabilities for properties<br />

with temporality. This paper combines the advantages of dTL<br />

and DAL, and proposes differential-algebraic temporal dynamic<br />

logic (DATL). We have achieved the following results: a trace<br />

semantics for differential-algebraic programs (DAP), four new<br />

rules based on the rules of dTL and DAL, a proof of the soundness<br />

of the new rules, and the specification and verification of safety<br />

of aircraft collision avoidance system with DATL. Our theory<br />

together with a case study demonstrates that DATL overcomes<br />

the constraints that differential equations must be solvable in<br />

polynomial arithmetic and can be used to specify and verify<br />

temporal properties of CPS.<br />

Keywords—Cyber-physical systems; property verification; differential<br />

temporal dynamic logic; differential-algebraic dynamic logic;<br />

differential-algebraic temporal dynamic logic; aircraft collision avoidance<br />

system;<br />

I. Introduction<br />

Cyber-physical systems (CPS) are integrations of computation<br />

and physical processes. Embedded computers and networks<br />

monitor and control the physical processes, usually with feedback<br />

loops where physical processes affect computations and<br />

This work is supported partially by National Natural Science Foundation<br />

of China under Grant No. 60973149, partially by the Open Funds<br />

of State Key Laboratory of Computer Science of Chinese Academy<br />

of Sciences under Grant No.SYSKF1110, partially by Doctoral Fund<br />

of Ministry of Education of China under Grant No. 20100092110022,<br />

and partially by the College Industrialization Project of Jiangsu Province<br />

under Grant No.JHB2011-3.<br />

Correspondence to: Bixin Li, School of Computer Science and Engineering,<br />

Southeast University, Nanjing, China. E-mail: bx.li@seu.edu.cn<br />

vice versa [1]. Many approaches have been proposed to verify<br />

properties of CPS. They are primarily divided into two categories:<br />

model checking and theorem proving. Because CPS do not admit<br />

equivalent finite-state abstractions [2] and due to general limits<br />

of numerical approximation, model checkers are still more successful<br />

in falsification than in verification. Differential temporal<br />

dynamic logic (dTL) and differential-algebraic dynamic logic<br />

(DAL) are approaches falling the scope of theorem proving.<br />

As operating model of dTL, HP have limited expressiveness<br />

and cannot model complex CPS. For example, fluctuations and<br />

errors in the physical processes cannot be expressed. As operating<br />

model of DAL, DAP make up for the shortcomings of HP via the<br />

introduction of quantifiers and differential invariants. However,<br />

DAL cannot verify properties with temporality, and dTL has<br />

the ability by introducing temporal operator and expanding the<br />

relevant calculus rules. This paper combines the advantages<br />

of dTL and DAL and proposes differential-algebraic temporal<br />

dynamic logic (DATL) to verify properties of CPS with complex<br />

dynamics and temporality.<br />

This paper is organized as follows: next section first introduces<br />

an aircraft collision avoidance system, then defines trace<br />

semantics of DAP under temporal behavior. The aircraft collision<br />

avoidance system is modeled using DAP and safety of the<br />

system is specified as a DATL formula. Section 3 introduces<br />

four new calculus rules for DATL by inheritance, expansion and<br />

improvement of the rules of the DAL and dTL, and proves<br />

the correctness of the new rules. The property of the aircraft<br />

collision avoidance system is specified as a DATL formula and<br />

we use DATL sequent calculus to formally verify the property.<br />

Finally, a conclusion of research in this paper is drawn and some<br />

expectations are brought forward for the future.<br />

II. CPS Modeling and Property Specification<br />

A. Aircraft Collision Avoidance System<br />

There are a number of aircrafts flying in the air, their flight<br />

dynamics can be described by a group of differential equations.<br />

The differential equations of (∗) denote flight dynamics of<br />

any two aircrafts X and Y, where point x(x 1 , x 2 , x 3 ) and point<br />

y(y 1 , y 2 , y 3 ) denote three-dimensional coordinates of aircrafts X<br />

and Y respectively, d(d 1 , d 2 , d 3 ) and e(e 1 , e 2 , e 3 ) denote speed of<br />

231

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!