Real-time software Sommerville, Hfst. 13. Sommerville, Ch. 132 Real-time systems A real-time system is a software system where the correct functioning.

Slides:



Advertisements
Similar presentations
EEE Electrical Properties of Materials
Advertisements

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 13Slide 1 Chapter 13 Real-time Software Design.
1 Note content copyright © 2004 Ian Sommerville. NU-specific content copyright © 2004 M. E. Kabay. All rights reserved. Real-time Software Design IS301.
Real-time Software Design
EE5900 Advanced Embedded System For Smart Infrastructure
Chapter 20- Embedded Systems
Software Engineering CSCI 3321 Computer Science Department
IGCSE ICT Control Systems.
& Microwave Engineering
Chapter 2 Real-time software design
Chapter 20- Embedded Systems Lecture 1. Topics covered  Embedded systems design  Architectural patterns  Timing analysis  Real-time operating systems.
Social securities and taxes inż. Małgorzata Napierała.
Real-Time Embedded Systems
In this presentation you will:
Figures – Chapter 20.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 15 Slide 1 Real-time Systems 2.
Real-time Software Design
1 / 32 CS 425/625 Software Engineering Real-Time Software Design Based on Chapter 15 of the textbook [SE-8] Ian Sommerville, Software Engineering, 8 th.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
CprE 458/558: Real-Time Systems
Actuators & Their Applications
It consists of computers that are used to regulate the operation of other devices. It involves the use of sensors, ADCs, DACs and actuators.
EMBEDDED SOFTWARE Team victorious Team Victorious.
Country house Control Panel Glass break detector Hooter alarm Magnetic sensor Motion detector Security light.
Activated by the control panel, it gives a loud audio signal to alert that an intrusion has occurred.
Airbus flight control system
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 15 Slide 1 Real-time Systems 1.
1 Reference architectures u Reference models are derived from a study of the application domain rather than from existing systems u May be used as a basis.
1 Embedded Systems Development. 2 Topics covered  Embedded systems design  Architectural patterns  Timing analysis  Real-time operating systems.
Real-Time Software Design Yonsei University 2 nd Semester, 2014 Sanghyun Park.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
 Dr. Syed Noman Hasany 1.  Review of known methodologies  Analysis of software requirements  Real-time software  Software cost, quality, testing.
1 소프트웨어공학 강좌 Chap 11. Real-time software Design - Designing embedded software systems whose behaviour is subject to time constraints -
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
Home Guard Security System. Introduction & Basic Ideas Home Guard Security System.
Reference: Ian Sommerville, Chap 15  Systems which monitor and control their environment.  Sometimes associated with hardware devices ◦ Sensors: Collect.
Slide 1 Chapter 11 Real –time Software Designs. Slide 2 Real-time systems l Systems which monitor and control their environment l Inevitably associated.
EKT 424 Real Time System 1.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Computer Control.
Building Control with KNX Education - Schools. Schneider Electric 2 - IS&C - GPatt – School’s classroom Manage according to external conditions.
5 May CmpE 516 Fault Tolerant Scheduling in Multiprocessor Systems Betül Demiröz.
1 / 30 CS 425/625 Software Engineering Real-Time Software Design Based on Chapter 13 of the textbook [SOMM00] Ian Sommerville, Software Engineering, 6.
©Ian Sommerville, Robin Abraham 2004CS 361, Summer 2004 Slide 1 Real-time Software Design.
Real-time Software Design King Saud University College of Computer and Information Sciences Department of Computer Science Dr. S. HAMMAMI.
Chapter 21– Real-time Software Engineering 04/12/2014Chapter 21. Real-time Software Engineering1.
Real-time Software Design Chapter 15 of Ian Sommerville’s Book on Software Engineering.
18240 Element two - Components INPUTS OUTPUTS PURPOSE TYPICAL USE.
Software Engineering for Embedded Systems Lecture 12.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 15 Slide 1 Real-time Software Design.
Real-time System Definition A real-time system is a software system where the correct functioning of the system depends on the results produced by the.
Embedded software / Real-time Software Engineering 1.
Real-time Software Design. Objectives l To explain the concept of a real-time system and why these systems are usually implemented as concurrent processes.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Chapter 5:Architectural Design l Establishing the overall structure of a software.
Real-time Software Design. Objectives To explain the concept of a real-time system and why these systems are usually implemented as concurrent processes.
Monitoring and Control
Real-time Software Design
Real-time Software Design
Real-time Software Design
Operating Systems Lecture 2.
Monitoring and Control
Real-time Software Design
Real-time Software Design
Real-time & distributed Software Design
Real-time Software Design
CS 501: Software Engineering Fall 1999
Real-time & distributed Software Design
Input-Output-Process Demo
Systems and Control.
Systems and Control.
Presentation transcript:

Real-time software Sommerville, Hfst. 13

Sommerville, Ch. 132 Real-time systems A real-time system is a software system where the correct functioning of the system depends on the results produced by the system and the time at which these results are produced A soft real-time system is a system whose operation is degraded if results are not produced according to the specified timing requirements A hard real-time system is a system whose operation is incorrect if results are not produced according to the timing specification

Sommerville, Ch. 133 Stimulus/Response Systems Given a stimulus, the system must produce a response within a specified time Periodic stimuli. Stimuli which occur at predictable time intervals –For example, a temperature sensor may be polled 10 times per second Aperiodic stimuli. Stimuli which occur at unpredictable times –For example, a system power failure may trigger an interrupt which must be processed by the system

Sommerville, Ch. 134 System elements Sensors control processes –Collect information from sensors. May buffer information collected in response to a sensor stimulus Data processor –Carries out processing of collected information and computes the system response Actuator control –Generates control signals for the actuator

Sommerville, Ch. 135 Sensor/actuator processes

Sommerville, Ch. 136 Monitoring and control systems Important class of real-time systems Continuously check sensors and take actions depending on sensor values Monitoring systems examine sensors and report their results Control systems take sensor values and control hardware actuators

Sommerville, Ch. 137 Intruder alarm system System is required to monitor sensors on doors and windows to detect the presence of intruders in a building When a sensor indicates a break-in, system switches on lights around the area and calls police automatically Includes provision for operation without a mains power supply

Sommerville, Ch. 138 Intruder alarm system Sensors –Movement detectors, window sensors, door sensors. –50 window sensors, 30 door sensors and 200 movement detectors. Actions –When an intruder is detected, police are called automatically. –Lights are switched on in rooms with active sensors. –An audible alarm is switched on. The system switches automatically to backup power when a voltage drop is detected.

Sommerville, Ch. 139 The R-T system design process Identify stimuli and associated responses Define the timing constraints associated with each stimulus and response Allocate system functions to concurrent processes Design algorithms for stimulus processing and response generation Design a scheduling system which ensures that processes will always be scheduled to meet their deadlines 24

Sommerville, Ch Stimuli to be processed Power failure –Generated aperiodically by a circuit monitor. When received, the system must switch to backup power within 50 ms Intruder alarm –Stimulus generated by system sensors. Response is to call the police, switch on building lights and the audible alarm 25

Sommerville, Ch Timing requirements

Sommerville, Ch Process architecture

Sommerville, Ch Control systems Burglar alarm system is primarily a monitoring system. Collects data from sensors but no real-time actuator control Control systems are similar but, in response to sensor values, system sends control signals to actuators Example of a monitoring and control system is a system which monitors temperature and switches heaters on and off

Sommerville, Ch A temperature control system 30