architectural approach to cps modeling and verification: poster

1
An Architectural Approach to Heterogeneous Modeling and Verification of CPS I. Ruchkin 1 , S. Mitsch 1 , A. Rajhans 2 , Jan-David Quesel 1 , B. Krogh 2 , D. Garlan 2 , A. Platzer 1 , B. Schmerl 2 , J. Kapinski 3 , P. Ramachandra 3 , K. Butts 3 { 1 SCS, 2 ECE}, Carnegie Mellon University, Pittsburgh, PA 3 Toyota Technical Center, Ann Arbor, MI Award # 1035800 Medium GOALI Consistent representation of a system with multiple models Verification using heterogeneous models Tools to support CPS modeling and verification Heterogeneous models allow experts to address different aspects of the system design. Although convenient for the experts, creates two challenges: consistency and verification. The challenges may occur because of: Timing: periods, events, determinism Movement: geometry, dimensionality Sensing and actuation: delays, precision AcmeStudio architectural design environment for representation and analysis of architectural views. AcmeMaps specification of relations between views. KeYmaera hybrid program language and proof system for verification in differential dynamic logic Sphinx a Graphical and Textual Modeling Tool for Hybrid Programs. Goal: ensure consistency of heterogeneous models for a STARMAC quadrotor. Results: Developed architectural modeling for structural consistency. Detected several inconsistencies in design. A. Bhave et al. View Consistency in Architectures for Cyber- Physical Systems. ICCPS ’11. Goal: verify a family of robot controllers for collision safety with obstacles. Results: Proved safety for moving obstacles in presence of location and actuator uncertainty. Work in progress. S. Mitsch et al. On Provable Safe Obstacle Avoidance for Autonomous Robotic Ground Vehicles. RSS’ 13. Goal: verify a stop sign assist algorithm. Results: Formalized heterogeneous model semantics using behavior relations. Developed a compositional approach to heterogeneous abstraction. A. Rajhans et al. Heterogeneous verification of cyber-physical systems using behavior relations. HSCC'12. Modelica Physical forces and flows KeYmaera Hybrid dynamics & verification Simulink Control & simualation Source code Computation & communication Mathematica Simulation & demonstration Cyber- Physical System We use architectural models (components and connectors) to represent common structural and semantic features to guarantee consistency. Architectura l View 1 Architectural View 2 Base CPS Architecture viewtobasearch. relations Model 1 Model 2 modelto-view relations Semantic Consistency Heterogeneou s Verification Composition al Reasoning Architecture for Verification Structural Consistenc y Architectural approach for CPS modeling Model Consistency Check consistent structure across models. Check semantic assumption s across models. Check whether models contradict each other. Rigorously represent and analyze CPS using heterogeneous models. Reason about collections of models. Use local verification and compose results hierarchicall y. Use architectural knowledge to facilitate system verification. Objectives Architectural Approach Heterogeneous CPS Models Research Directions Tools Robot Collision Avoidance Quadrotor CICAS-SSA Case Studies

Upload: ivan-ruchkin

Post on 08-Jul-2015

53 views

Category:

Technology


0 download

DESCRIPTION

My poster for the CPS PI Meeting. See also here http://cps-vo.org/node/9210 and here http://cps-vo.org/node/9211

TRANSCRIPT

Page 1: Architectural Approach to CPS Modeling and Verification: Poster

An Architectural Approach to

Heterogeneous Modeling and Verification of CPSI. Ruchkin1, S. Mitsch1, A. Rajhans2, Jan-David Quesel1, B. Krogh2, D. Garlan2, A. Platzer1,

B. Schmerl2, J. Kapinski3, P. Ramachandra3, K. Butts3

{1SCS, 2ECE}, Carnegie Mellon University, Pittsburgh, PA 3Toyota Technical Center, Ann Arbor, MI

Award #

1035800

Medium

GOALI

• Consistent representation of a system

with multiple models

• Verification using heterogeneous models

• Tools to support CPS modeling and

verification

Heterogeneous models allow experts to address

different aspects of the system design. Although

convenient for the experts, creates two challenges:

consistency and verification.

The challenges may occur because of:

• Timing: periods, events, determinism

• Movement: geometry, dimensionality

• Sensing and actuation: delays, precision

• …

AcmeStudio – architectural design

environment for representation and analysis of

architectural views.

• AcmeMaps – specification of relations

between views.

KeYmaera – hybrid program language and

proof system for verification in differential

dynamic logic

• Sphinx – a Graphical and Textual Modeling

Tool for Hybrid Programs.

Goal: ensure consistency of heterogeneous

models for a STARMAC quadrotor.

Results:

• Developed architectural modeling for

structural consistency.

• Detected several inconsistencies in

design.

A. Bhave et al. View Consistency in Architectures for Cyber-

Physical Systems. ICCPS ’11.

Goal: verify a family of robot controllers for

collision safety with obstacles.

Results:

• Proved safety for moving obstacles in

presence of location and actuator

uncertainty.

• Work in progress.

S. Mitsch et al. On Provable Safe Obstacle Avoidance for

Autonomous Robotic Ground Vehicles. RSS’ 13.

Goal: verify a stop sign assist algorithm.

Results:

• Formalized heterogeneous model semantics using

behavior relations.

• Developed a compositional approach to

heterogeneous abstraction.

A. Rajhans et al. Heterogeneous verification of cyber-physical systems using

behavior relations. HSCC'12.

Modelica

Physical forces and

flows

KeYmaera

Hybrid dynamics

& verification

Simulink

Control & simualation

Source code

Computation &

communication

Mathematica

Simulation &

demonstration

Cyber-

Physical

System

We use architectural models (components

and connectors) to represent common

structural and semantic features to guarantee

consistency.

Architectura

l

View 1

Architectural

View 2

Base CPS Architecture

view‐to‐base‐arch. relations

Model 1Model 2

model‐to-view relations

Semantic

Consistency

Heterogeneou

s Verification

Composition

al Reasoning

Architecture for

Verification

Structural

Consistenc

y

Architectural

approach for CPS

modeling

Model

Consistency

Check

consistent

structure

across

models.

Check

semantic

assumption

s across

models.

Check

whether

models

contradicteach other.

Rigorously represent

and analyze CPS

using heterogeneous

models.

Reason

about

collections

of models.

Use local

verification

and

compose

results

hierarchicall

y.

Use

architectural

knowledge to

facilitate system

verification.

Objectives

Architectural Approach

Heterogeneous CPS Models Research Directions

Tools

Robot Collision AvoidanceQuadrotor CICAS-SSA

Case Studies