eece 396-1 hybrid and embedded systems: computation

22
EECE 396-1 Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and Computer Science Vanderbilt University 300 Featheringill Hall January 29, 2004 [email protected] http://www.vuse.vanderbilt.edu/~kootj

Upload: adrian-patton

Post on 01-Jan-2016

27 views

Category:

Documents


1 download

DESCRIPTION

EECE 396-1 Hybrid and Embedded Systems: Computation. T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and Computer Science Vanderbilt University 300 Featheringill Hall January 29, 2004 [email protected] - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: EECE 396-1 Hybrid and Embedded Systems: Computation

EECE 396-1Hybrid and Embedded Systems: Computation

T. John Koo, Ph.D.

Institute for Software Integrated Systems

Department of Electrical Engineering and Computer Science

Vanderbilt University

300 Featheringill HallJanuary 29, 2004

[email protected]

http://www.vuse.vanderbilt.edu/~kootj

Page 2: EECE 396-1 Hybrid and Embedded Systems: Computation

2

Hybrid System

A system built from atomic discrete components and continuous components by parallel and serial composition, arbitrarily nested.

The behaviors and interactions of components are governed by models of computation (MOCs).

Discrete Components Finite State Machine (FSM) Discrete Event (DE) Synchronous Data Flow (SDF)

Continuous Components Ordinary Differential Equation (ODE) Partial Differential Equation (PDE)

q1q2

q3

u

xç= f (x) + g(x)u

x

Page 3: EECE 396-1 Hybrid and Embedded Systems: Computation

3

Modeling: Timed Automata

Page 4: EECE 396-1 Hybrid and Embedded Systems: Computation

4

Topics Finite Automata

Transition Relation = Edges + Guard Ordering of events

Timed Automata Notions of time: Global/Local Clocks Transition Relation Total ordering of events Multi-rate time automata

Example Rate Monotonic Scheduling Train Gate model

Ref: [1] R. Alur, T.A. Henzinger, and P.-H. Ho.

Automatic Symbolic Verification of Embedded Systems. IEEE Transactions on Software Engineering 22:181-201, 1996.

[2] T.A. Henzinger, P.-H. Ho, and H. Wong-Toi. HyTech: A Model Checker for Hybrid Systems. Software Tools for Technology Transfer 1:110-122, 1997.

Page 5: EECE 396-1 Hybrid and Embedded Systems: Computation

5

(Non-)Deterministic Finite Automata

Page 6: EECE 396-1 Hybrid and Embedded Systems: Computation

6

(Non-)Deterministic Finite Automata

Page 7: EECE 396-1 Hybrid and Embedded Systems: Computation

7

(Non-)Deterministic Finite Automata

Page 8: EECE 396-1 Hybrid and Embedded Systems: Computation

8

(Non-)Deterministic Finite Automata

Page 9: EECE 396-1 Hybrid and Embedded Systems: Computation

9

Ordering of events

Page 10: EECE 396-1 Hybrid and Embedded Systems: Computation

10

Ordering of events

Page 11: EECE 396-1 Hybrid and Embedded Systems: Computation

11

Ordering of events

Page 12: EECE 396-1 Hybrid and Embedded Systems: Computation

12

Timed Automata

Page 13: EECE 396-1 Hybrid and Embedded Systems: Computation

13

Timed Automata

Page 14: EECE 396-1 Hybrid and Embedded Systems: Computation

14

Timed Automata

Page 15: EECE 396-1 Hybrid and Embedded Systems: Computation

15

Timed Automata

Page 16: EECE 396-1 Hybrid and Embedded Systems: Computation

16

Timed Automata

Page 17: EECE 396-1 Hybrid and Embedded Systems: Computation

17

Timed Automata

GPS

INS

Page 18: EECE 396-1 Hybrid and Embedded Systems: Computation

18

Timed Automata

Page 19: EECE 396-1 Hybrid and Embedded Systems: Computation

19

Timed Automata

Page 20: EECE 396-1 Hybrid and Embedded Systems: Computation

20

Train Gate model The gate controller of a railroad crossing has a delay of

a seconds; that is, the gate starts closing a seconds after a train signals its approach. HyTech computes the safe values of a such that the gate is fully closed whenever the train is within 10 meters of the gate.

Reference and On-Line Demo: www-cad.eecs.berkeley.edu/~tah/HyTech/demo.html

Page 21: EECE 396-1 Hybrid and Embedded Systems: Computation

21

Train Gate model

Page 22: EECE 396-1 Hybrid and Embedded Systems: Computation

22

End