REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.

Slides:



Advertisements
Similar presentations
Introduction Frank Drews
Advertisements

© Alan Burns and Andy Wellings, 2001 Real-Time Systems and Programming Languages n Buy Real-Time Systems: Ada 95, Real-Time Java and Real-Time POSIX by.
EE5900 Advanced Embedded System For Smart Infrastructure
COSC 513 Operating Systems Yue Dou
Sensor Network Platforms and Tools
Data Acquisition Risanuri Hidayat.
MotoHawk Training Model-Based Design of Embedded Systems.
Model for Supporting High Integrity and Fault Tolerance Brian Dobbing, Aonix Europe Ltd Chief Technical Consultant.
Basic Real Time Concepts Systems Concepts Real-Time Definitions Events and Determinism CPU Utilization Real-Time System Design Issues Example Real-Time.
P. Albertos* & A. Crespo + Universidad Politécnica de Valencia * Dept. of Systems Engineering and Control, + Dept. of Computer Engineering POB E
Real-Time Systems – The Big Picture Real-Time Systems Anders P. Ravn Aalborg University September 2009.
© Andy Wellings, 2004 Concurrent and Real-Time Programming in Java  Electronic copies of course foils available via 
Chapter 13 Embedded Systems
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Real-Time Systems and Programming Languages
Figure 1.1 Interaction between applications and the operating system.
Real-Time Kernels and Operating Systems. Operating System: Software that coordinates multiple tasks in processor, including peripheral interfacing Types.
Real-Time Systems – The big Picture
SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Introduction to real-time systems - slide 1 Software engineering for real-time systems.
CprE 458/558: Real-Time Systems
Misconceptions About Real-time Computing : A Serious Problem for Next-generation Systems J. A. Stankovic, Misconceptions about Real-Time Computing: A Serious.
Real-Time Operating System Chapter – 8 Embedded System: An integrated approach.
1 Chapter 13 Embedded Systems Embedded Systems Characteristics of Embedded Operating Systems.
Dalya Gaber. Definition:- Embedded system is any device that includes a computer but is not itself a general purpose computer. It has hardware & software.
EMBEDDED SOFTWARE Team victorious Team Victorious.
Unit 3b Industrial Control Systems
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 15 Slide 1 Real-time Systems 1.
Distributed Real-Time systems 1 By: Mahdi Sadeghizadeh Website: Sadeghizadeh.ir Advanced Computer Networks.
Advanced Embedded Systems Design Pre-emptive scheduler BAE 5030 Fall 2004 Roshani Jayasekara Biosystems and Agricultural Engineering Oklahoma State University.
An Introduction to Real time Systems by Dr. Amin Danial Asham.
BEH30802 :: REAL-TIME EMBEDDED SYSTEM
Real-Time Software Design Yonsei University 2 nd Semester, 2014 Sanghyun Park.
Instructore: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Concurrent and.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Real Time Process Control (Introduction)
1 CS 501 Spring 2003 CS 501: Software Engineering Lecture 16 System Architecture and Design II.
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 Lecture 1: Introduction. Course Outline Design Methodologies Scheduling Theory  Schedulability Analysis  Real-Time Scheduling Algorithms.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
EEL Software development for real-time engineering systems.
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
1 of 14 1/15 Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems Master thesis Student: Ghennadii.
Reference: Ian Sommerville, Chap 15  Systems which monitor and control their environment.  Sometimes associated with hardware devices ◦ Sensors: Collect.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
CONTI'20041 Event Management in Distributed Control Systems Gheorghe Sebestyen Technical University of Cluj-Napoca Computers Department.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Introduction to Real-Time Systems.
Time Constraints and Types of Tasks By Dr. Amin Danial Asham.
Real-time Software Design King Saud University College of Computer and Information Sciences Department of Computer Science Dr. S. HAMMAMI.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
Chapter 13 – I/O Systems (Pgs ). Devices  Two conflicting properties A. Growing uniformity in interfaces (both h/w and s/w): e.g., USB, TWAIN.
1 VxWorks 5.4 Group A3: Wafa’ Jaffal Kathryn Bean.
Introduction to Embedded Systems Rabie A. Ramadan 5.
Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness.
Introduction to Real-Time Systems
Embedded Computer - Definition When a microcomputer is part of a larger product, it is said to be an embedded computer. The embedded computer retrieves.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
CS244-Introduction to Embedded Systems and Ubiquitous Computing Instructor: Eli Bozorgzadeh Computer Science Department UC Irvine Winter 2012.
1 G53SRP: Introduction to Real Time Scheduling Chris Greenhalgh School of Computer Science.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
Embedded System Design and Development Introduction to Embedded System.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Chapter 5:Architectural Design l Establishing the overall structure of a software.
Real-Time Operating Systems RTOS For Embedded systems.
INTRODUCTION TO REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT
Introduction Frank Drews
Real Time Operating System
Real-time Software Design
Introduction to Realtime Systems (& Embedded Systems)
CS 501: Software Engineering Fall 1999
Presentation transcript:

REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU

outline n Definition of real-time systems n Structure of typical real-time systems n Characteristics of Real-Time Systems n Examples of Real-Time Systems

Introduction to Real-Time Systems What is a Real-Time System? Is defined as a system in which the time where the outputs are produced is significant (within specified bounds or deadlines). RTS Sensor Data Commands Actuator Outputs Displays Correctness depends on output values and the time at which the inputs are processed and the outputs are produced

Introduction to Real-Time Systems n Real-time systems often are comprised of a controlling system, controlled system and environment. – Controlling system: acquires information about environment using sensors and controls the environment with actuators. n Timing constraints derived from physical impact of controlling systems activities. Hard and soft constraints. – Periodic Tasks: Time-driven recurring at regular intervals. – Aperiodic Tasks: event-driven.

Typical Real-Time System Controlling System Environment sensor actuator Con trolled System

Structure of a Real-Time System n Logical view controlled process sensorsjob list clock actuators trigger generator execution displayoperator Environ- ment

Introduction to Real-Time Systems n Timing constraints: constraints imposed on timing behavior of a job (also called deadlines): hard or soft n Release Time: Instant of time job becomes available for execution. If all jobs are released when the system begins execution, then there is said to be no release time n Deadline: Instant of time a job's execution is required to be completed. If deadline is infinity, then job has no deadline. Absolute deadline is equal to release time plus relative deadline n Response time: Length of time from release time to instant job completes.

Introduction to Real-Time Systems n Real-Time Systems can be Hard Real-Time systems or Soft Real-Time systems n In Hard Real-Time systems outputs must be produced within the specified deadlines or a system failure will occur (Examples include: Flight Control systems, Air Traffic Control systems, Robots, Automotive Control Systems,..) n In Soft Real-Time Systems, deadlines can be occasionally missed ( Examples include: communications systems using time out protocols, ATMs, Air line Reservation Systems, Process Control Systems designed to tolerate delays)

Characteristics of Real-Time Systems Real-Time systems are often embedded systems (i.e., contained within a larger system to provide monitoring, control, and computation functions) They often require concurrent processing of multiple inputs. Concurrent tasks must be created and managed in order to fulfill the functions of the system. Task scheduling is one of the important aspects of managing concurrency. Since tasks will compete for the same resources (such as the Processors)

Environ- ment Or Plant Sensor HW Actuator control Actuator Control Sensor IO Drivers Actuator IO Drivers Micro- Controller Data/Control BUS

Characteristics of Real-Time Systems n Real-Time systems need to respond to synchronous events ( i.e., periodic events) as well as asynchronous events (or aperiodic events, those that could occur at any time) n Real-Time systems often require high Reliability and Safety requirements. n Real-Time systems often have special environmental, interfacing, and fault-tolerance requirements. n Environmental factors such as temperature (e.g., in space exploration applications systems must operate in a temperature range of -55 to 200 degree centigrade), shock and vibration, size limits, weight limits, usually have an impact on the system hardware and software requirements

Characteristics of Real-Time Systems n Fault-tolerant requirements and Exception handling have special consideration due to the high reliability and critical timing requirements. Fault-tolerance requirements greatly impact and usually complicate the design of software and hardware components of the system. n Interfacing requirements. The devices which are typically interfaced to a RTS are many (Examples include sensors, actuators, switches, displays, communication links, D/A and A/D converters, and pulse-width-modulated controllers)

Examples of Real-Time Systems 1.Process Control and Manufacturing Systems Controller Plant Sensor Data Control Signals Raw Material Finished Products Operator Commands Displays

DAC Computation (Control algorithm implementation) ADC Plant ActuatorSensor input value output value reference value Implementation with an infinite loop: An example initialize I/O ports, internal control variables; set timer to interrupt periodically with period T; at each timer interrupt, do obtain input; compute control output; send output to the plant; end do;

Examples of Real-Time Systems 2. Integrated Communication, Command, and Control (IC 3 ) Systems (e.g., Robots) Comm. Command Control Data From Sensing devices/ Control signals to Actuating devices, and data to displays Filtered data/ Controls info Decisions Sensor Data Control Signals

Response time requirements for real-time applications 1 s 100 ms 10 ms 1 ms 100  s 10  s  s 1 ns response time applications Speech and audio systems Process control systems and industrial automation Fire alarm Medical diagnosis Robot controllers Flight simulation Telemetry control Network control