Copyright 1999 G.v. Bochmann ELG 7186B ch.1 1 Course Notes ELG 7186C Formal Methods for the Development of Real-Time System Applications Gregor v. Bochmann.

Slides:



Advertisements
Similar presentations
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 9 Distributed Systems Architectures Slide 1 1 Chapter 9 Distributed Systems Architectures.
Advertisements

P. Albertos* & A. Crespo + Universidad Politécnica de Valencia * Dept. of Systems Engineering and Control, + Dept. of Computer Engineering POB E
Overview of PTIDES Project
Dependability TSW 10 Anders P. Ravn Aalborg University November 2009.
1 The Time-Triggered Model of Computation Lior Zimet.
Software Engineering for Real- Time: A Roadmap H. Kopetz. Technische Universitat Wien, Austria Presented by Wing Kit Hor.
Distributed Systems Architectures
City University London
CS599 Software Engineering for Embedded Systems1 Software Engineering for Real-Time: A Roadmap Presentation by: Mandar Samant Raghbir Singh Banwait.
1 ITC242 – Introduction to Data Communications Week 12 Topic 18 Chapter 19 Network Management.
Reliability-Aware Frame Packing for the Static Segment of FlexRay Bogdan Tanasa, Unmesh Bordoloi, Petru Eles, Zebo Peng Linkoping University, Sweden 1.
Real-Time Systems and Programming Languages
Dependability ITV Real-Time Systems Anders P. Ravn Aalborg University February 2006.
Soft. Eng. II, Spr. 2002Dr Driss Kettani, from I. Sommerville1 CSC-3325: Chapter 9 Title : Reliability Reading: I. Sommerville, Chap. 16, 17 and 18.
Copyright ©2009 Opher Etzion Event Processing Course Engineering and implementation considerations (related to chapter 10)
Strategic Directions in Real- Time & Embedded Systems Aatash Patel 18 th September, 2001.
Chapter 3 Overview of Operating Systems Copyright © 2008.
DISTRIBUTED COMPUTING
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 1.
Client/Server Architectures
Software Dependability CIS 376 Bruce R. Maxim UM-Dearborn.
Computer System Lifecycle Chapter 1. Introduction Computer System users, administrators, and designers are all interested in performance evaluation. Whether.
1 Real-Time Queueing Network Theory Presented by Akramul Azim Department of Electrical and Computer Engineering University of Waterloo, Canada John P.
Reliability and Fault Tolerance Setha Pan-ngum. Introduction From the survey by American Society for Quality Control [1]. Ten most important product attributes.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 12 Slide 1 Distributed Systems Architectures.
TEMPORAL DATA AND REAL- TIME ALGORITHMS CHAPTER 4 – GROUP 3.
COMP3221/9221: Microprocessors and Embedded Systems COMP3221: Microprocessors and Embedded Systems Lecture 31: Embedded Systems
CH2 System models.
CSE 403 Lecture 14 Safety and Security Requirements.
Computer Science Open Research Questions Adversary models –Define/Formalize adversary models Need to incorporate characteristics of new technologies and.
1. Introduction 1.1 Background 1.2 Real-time applications 1.3 Misconceptions 1.4 Issues in real-time computing 1.5 Structure of a real-time system.
Real-Time Systems Chapter 1 Hermann Kopetz. Real-Time-Systems, Kluwer 1997.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 1: Software and Software Engineering.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
Chapter 9 Testing the System Shari L. Pfleeger Joann M. Atlee
Ch. 1.  High-profile failures ◦ Therac 25 ◦ Denver Intl Airport ◦ Also, Patriot Missle.
In-Vehicle Communication SAN Group RTS Regular Meeting Presentation December 2008.
Distributed Virtual Environments Introduction. Outline What are they? DVEs vs. Analytic Simulations DIS –Design principles Example.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 1: Software and Software Engineering.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 1: Software and Software Engineering.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
Secure Systems Research Group - FAU 1 Active Replication Pattern Ingrid Buckley Dept. of Computer Science and Engineering Florida Atlantic University Boca.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 20 Slide 1 Critical systems development 3.
Maeda, Sill Torres: CLEVER CLEVER: Cross-Layer Error Verification Evaluation and Reporting Rafael Kioji Vivas Maeda, Frank Sill Torres Federal University.
Object-Oriented Design and Implementation of the OE-Scheduler in Real-time Environments Ilhyun Lee Cherry K. Owen Haesun K. Lee The University of Texas.
Global Time in Distributed Real-Time Systems Dr. Konstantinos Tatas.
CS 505: Thu D. Nguyen Rutgers University, Spring CS 505: Computer Structures Fault Tolerance Thu D. Nguyen Spring 2005 Computer Science Rutgers.
Idaho RISE System Reliability and Designing to Reduce Failure ENGR Sept 2005.
Embedded and Real Time Systems Lecture #2 David Andrews
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
Software Engineering1  Verification: The software should conform to its specification  Validation: The software should do what the user really requires.
Mixed Criticality Systems: Beyond Transient Faults Abhilash Thekkilakattil, Alan Burns, Radu Dobrin and Sasikumar Punnekkat.
Tolerating Communication and Processor Failures in Distributed Real-Time Systems Hamoudi Kalla, Alain Girault and Yves Sorel Grenoble, November 13, 2003.
Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness.
G.v. Bochmann, revised Jan Comm Systems Arch 1 Different system architectures Object-oriented architecture (only objects, no particular structure)
CSC 480 Software Engineering Lecture 17 Nov 4, 2002.
©Ian Sommerville 2000, Tom Dietterich 2001 Slide 1 Distributed Systems Architectures l Architectural design for software that executes on more than one.
Basic Concepts of Software Architecture. What is Software Architecture? Definition: – A software system’s architecture is the set of principal design.
Embedded System Design and Development Introduction to Embedded System.
Copyright 1999 G.v. Bochmann ELG 7186C ch.1 1 Course Notes ELG 7186C Formal Methods for the Development of Real-Time System Applications Gregor v. Bochmann.
ARTEMIS SRA 2016 Trust, Security, Robustness, and Dependability Dr. Daniel Watzenig ARTEMIS Spring Event, Vienna April 13, 2016.
Dr D. Greer, Queens University Belfast ) Software Engineering Chapter 7 Software Architectural Design Learning Outcomes Understand.
PERFORMANCE MANAGEMENT IMPROVING PERFORMANCE TECHNIQUES Network management system 1.
Distributed Systems Architectures Chapter 12. Objectives  To explain the advantages and disadvantages of different distributed systems architectures.
Fault Tolerance & Reliability CDA 5140 Spring 2006
Reliability and Fault Tolerance
Fault Tolerance Distributed Web-based Systems
Presentation transcript:

Copyright 1999 G.v. Bochmann ELG 7186B ch.1 1 Course Notes ELG 7186C Formal Methods for the Development of Real-Time System Applications Gregor v. Bochmann School of Information Technology and Engineering University of Ottawa, Canada Introduction: What is a real-time system ? first version: Jan. 1999, revised Jan. 2000, revised Sept Note: This is largely based on the book by Kopetz: Real-Time Systems - Design Principles for Distributed Embedded Applications, Kluwer Academic Publ

Copyright 1999 G.v. Bochmann ELG 7186B ch.1 2 Objectives To understand the context in which embedded real-time computer systems are used and to appreciate the human and economic environment in which these systems are built and used. To appreciate the kinds of properties that these systems must satisfy To appreciate the advantage of distributed solutions to embedded real-time systems, as well as the difficulties that distribution imply. Note: The notes on this Part are largely based on Chapters 1 and 2 of Kopetz’ book.

Copyright 1999 G.v. Bochmann ELG 7186B ch.1 3 What is a real-time system ? An embedded system –Overall system architecture (see Kopetz’ book, fig.1.1) –Reactive systems: interactions »input - output - rendezvous - controllable »real-time properties: average response time with deadline –soft (result still useful if provided after deadline) –firm (if not useful after deadline) –hard: firm deadline which leads to catastrophe if missed

Copyright 1999 G.v. Bochmann ELG 7186B ch.1 4 Different kinds of functional requirements Man-machine interaction Process control aspects –data collection –“direct digital control” (real-time control loops) –sequencing of operations –supervisory control Examples of application-specific functions, e.g. –call processing by communication network (human-machine interface with user) –fault diagnosis in distributed systems management (human-machine interface with system operator) –banking system (human-machine interface with cleak or user, no instrumentation interface)

Copyright 1999 G.v. Bochmann ELG 7186B ch.1 5 Dependability requirements Reliability R(t) –R(t) = probability that the system remains operational until time t, given it is operational at time to. »If constant failure rate lamda, then R(t) = exp(-lamda(t-to)), and the mean time to failure (MTTF) = 1 / lamda Safety »one distinguishes failure modes: malign (catastrophe) vs. benign »malign failure modes must be VERY rare »There are certain procedures for certifying safety Maintainability –mean time to repair (MTTR) Availability –A = MMTF / (MTTF+MTTR) Security

Copyright 1999 G.v. Bochmann ELG 7186B ch.1 6 Temporal requirements For average response time requirements –consider underlying queuing system for accessing resources For real-time requirements –data collection »the "traffic light" example »the effect of timing uncertainty (see Kopetz fig. 1.6) –sequencing (different “states” or “modes”) –control loop dynamics (see K fig. 1.3, 1.4 and B fig. 1.2, 1.3, 1.6, 1.7) »response function of the process: “process lag” and “rise time” »PID algorithm (see B sect ) –supervisory control (see B fig. 2.4) –real-time deadlines for error detection (“error detection latency”)

Copyright 1999 G.v. Bochmann ELG 7186B ch.1 7 Classification schemes hard vs. soft real-time systems –different aspects: response time, peak-load performance, control of pace, safety, size of data files and short-term accuracy, redundancy type (limited use of roll-back recovery) –fail-safe vs. fail-operational guaranteed response vs. best effort resource-adequate vs. resource-inadequate (see Kopetz) event-triggered vs. time-triggered (see Kopetz)

Copyright 1999 G.v. Bochmann ELG 7186B ch.1 8 Why a distributed solution ? “form follows function” Hardware structure of a node –application programs –communication network interface »state messages vs. event messages –communications controller Composability Scalability –extensions by adding nodes –limiting complexity (possibly using state-oriented interface) –decreasing cost of communication controllers Dependability –error containment regions, if possible fail-silent failure mode –replication: if possible, replica determinism –classification of alarms: catastrophic, hazardous, major, minor, no effect Physical integration