SlideShare a Scribd company logo
1 of 20
Download to read offline
Real Time System (RTS)
The Islamic University
Department of
Computer Technical Engineering
Third Class
Lecturer
Asst. Lec. Karrar Shakir Muttair ALNomani
‫المحاضر‬‫ه‬‫االولى‬
(‫النظري‬)
2019-2020
Contents
 Concepts of Real time Systems (RTS)
 Characteristics of RTS
 Types of RTS
 Comparison between Types of RTS
 Applications of RTS
 Challenges of RTS
2
Concepts of Real time Systems(RTS)
3
Real-time is a quantitative notion of time measured using a physical clock.
Example: After a certain event occurs (temperature exceeds 50 degrees) the
corresponding action (coolant shower) must complete within 100 mSec.
System: As system is a mapping of a set of inputs into a set of outputs. When the
internal details of the system are not of interest, the mapping function can be
considered as a black box with one or more inputs entering and one or more
outputs existing the system Figure 1.1.
Figure 1.1: A system with (n) inputs and (m) outputs.
4
Terms Associated with RTS
 The response-time is the time between the presentation of a set of inputs to
a system and the realization of the required behavior, including the availability of
all associated outputs, is called the response time of the system.
 A real-time system must satisfy response-time constraints or risk severe
consequences.
 A failed system is a system that cannot satisfy one or more of the
requirements stipulated in the formal system specification.
Real time system means that the system is subjected to real time, i.e.,
response should be guaranteed within a specified timing constraint or system
should meet the specified deadline. For example: flight control system, real time
monitors etc.
Concepts of Real time Systems(RTS)
5
 Job : A job is a small piece of work that can be assigned to a processor and
may or may not require resources.
 Tasks: A set of related jobs that jointly provide some system functionality.
 Release time of a job: It is the time at which job becomes ready for execution.
 Execution time of a job: It is the time taken by job to finish its execution.
 Deadline of a job: It is the time by which a job should finish its execution.
Deadline is of two types:
1. Relative deadline: Deadline - Release time.
2. Absolute deadline is equal to its relative deadline plus its release time.
Absolute deadline= release time + relative deadline
 Response time of a job: It is the length of time from release time of a job to
the instant when it finishes (Completion time).
Response time of a job= Completion time - Release time
Terms Associated with RTS
6
Terms Associated with RTS
Released time = 3
Relative deadline = Deadline - Release time
= 10 – 3 = 7
Absolute deadline = release time + relative deadline
= 3 + 7 = 10
Response time = Completion time - Release time
= 9 – 3 = 6
Figure 1. 2: Descriptive example for some terms of RTS.
A Basic Model of RTS
7
Figure 1. 3: A Physical Model of a Real-Time System.
Figure 1. 4: A Model of a Real-Time System.
A Basic Model of RTS
8
 Sensor: A sensor converts some physical characteristic of its environment into
electrical signals. An example of a sensor is a photo-voltaic cell which converts light
energy into electrical energy.
 Actuator: An actuator is any device that takes its inputs from the output interface of a
computer and converts these electrical signals into some physical actions on its
environment. The physical actions may be in the form of motion, change thermal,
electrical. A popular actuator is a motors, heaters or pneumatic.
 Signal Condition Units: The electrical signals produced by a computer can rarely be
used to directly drive an actuator. The computer signals usually need conditioning before
the can be used the actuator. This is termed output conditioning. Similarly, input
conditioning is required to be carried out on sensor signal before they can be accepted
by the computer this is termed input conditioning.
 Interface Unit: The interface takes care of buffering and the handshake control
aspects. Analog to digital conversion are used in input interface and digital to analog
conversion are used in an output interface.
Overall Structure of RTS
9
AS shown on the Figure 1.5 the overall structure of RTS consists of:
 Hardware: (CPU, I/O devices, memory… etc.)
 A real time Operating System: function as standard OS, with predictable
behavior and well-defined functionality.
 A collection of RT tasks/processes: (share resources, communicate/
synchronize with each other and the environment).
Figure 1.5: Overall structure of RTS.
Characteristics of RTS
10
1. Time constraints.
2. New Correctness Criterion.
3. Embedded.
4. Safety-Reliability.
5. Concurrency.
6. Distributed and Feedback Structure.
7. Task Criticality.
8. Custom Hardware.
9. Reactive.
10. Stability.
11. Exception Handling.
Important Characteristics
11
1.Safety
2.Reliability
Safety and reliability are related but distinct.
1. Safety is concerned with ensuring system cannot cause damage irrespective
of whether or not it conforms to its specification.
2. Reliability is concerned with conformance to a given specification and
delivery of service.
A safe system:
• Does not cause damage even when it fails.
A reliable system:
• Operates for long time without any failure.
Types of Real-Time Systems
12
 Real-time systems are different from other systems:
 Tasks have deadlines associated with them.
 A real-time task can be classified into either hard, soft, or firm real-
time task depending on the consequences of a task missing its
deadline.
1. Hard real-time systems
2. Soft real-time systems
3. Firm real-time systems
13
Hard Real-Time Systems
 Time is very important and achieving the desired result is also important.
But if the target is achieved without time commitment, it means system
failure.
 Many of these systems are considered to be safety critical.
 An exceeds in response time leads to potential loss of life and/or big
financial damage.
 Sometimes they are “only” mission critical, with the mission being very
expensive. In general there is a cost function associated with the system.
Hard Real-Time System Examples
 Car airbag.
 Anti lock breaking system (ABS).
 Air craft control system.
Soft Real-Time Systems
14
 There are time limits, but they can be tolerated.
 The mistakes here do not lead to the damage of the system. And do not cause
a disaster.
 There is a cost associated to overrunning, but this cost may be abstract.
 Often connected to Quality-of-Service (QoS).
Soft Real-Time Systems
 Video processing.
 Digital camera.
 Mobile phones.
15
Comparison between Hard RTS and Soft RTS
Characteristics Hard RTS Soft RTS
Response Time Hard- Required Soft - Required
Peak Load Performance Predictable Degraded
Controlled by Environment Computer
Safety Critical Non Critical
Size of Data Small Large
Error Detection Autonomous User Assisted
Hard RTS Vs. Soft RTS
16
Firm Real-Time System
 Systems which are soft real-time but in which there is no benefit from late
delivery of service (which means a few missed deadlines will not lead to total
failure, but missing more than a few may lead to complete and catastrophic
system failure).
 The computation is obsolete if the job is not finished on time.
 Cost may be interpreted as loss of revenue.
 Typical example are prediction systems.
Firm Real-Time System Examples
 Video conferencing.
 Satellite-based tracking of enemy movements.
Applications of RTS
17
 Metal industry applications (Mechanical and Manufacturing Engineering).
 Electric utility monitoring and control applications (Electrical Power Engineering).
 Water plants applications (Civil and Environmental Engineering).
 Aviation and space applications (Aeronautical Engineering).
 Data Communication Applications (Electrical and Computer Engineering).
 Petrochemical applications (Chemical Engineering, Petroleum
Engineering).
18
Applications of RTS
Figure 1.6: Disciplines that impact on Real Time System Engineering
Real-Time
Systems
Control
Theory
Programming
Languages
Operations
Research
Algorithms
Queuing
Theory
Operating
Systems
Software
Engineering
Computer
Architecture
Data
Structures
Challenges of RTS
The design and implementation of real-time systems requires attention to numerous
problems. These include:
1. The selection of hardware and software.
2. Determine specification and design of real-time systems and correct
representation of temporal behavior.
3. Understanding the nuances of the programming language (s) and the real
time implications resulting from their translation into machine code.
4. Maximizing of system fault tolerance and reliability through careful
design.
5. The design and administration of tests.
6. Finally, measuring and predicting response time and reducing it.
19
Thank you for your attention!

More Related Content

What's hot

Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time SystemsSara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systemsknowdiff
 
Reference model of real time system
Reference model of real time systemReference model of real time system
Reference model of real time systemKamal Acharya
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos conceptsanishgoel
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating SystemTech_MX
 
Transactions and Concurrency Control
Transactions and Concurrency ControlTransactions and Concurrency Control
Transactions and Concurrency ControlDilum Bandara
 
Embedded firmware
Embedded firmwareEmbedded firmware
Embedded firmwareJoel P
 
Realtime systems chapter 1
Realtime systems chapter 1Realtime systems chapter 1
Realtime systems chapter 1Binay Ghimire
 
Unit 1 architecture of distributed systems
Unit 1 architecture of distributed systemsUnit 1 architecture of distributed systems
Unit 1 architecture of distributed systemskaran2190
 
Physical and Logical Clocks
Physical and Logical ClocksPhysical and Logical Clocks
Physical and Logical ClocksDilum Bandara
 
Logical Clocks (Distributed computing)
Logical Clocks (Distributed computing)Logical Clocks (Distributed computing)
Logical Clocks (Distributed computing)Sri Prasanna
 
Real Time Systems & RTOS
Real Time Systems & RTOSReal Time Systems & RTOS
Real Time Systems & RTOSVishwa Mohan
 
Fault tolearant system
Fault tolearant systemFault tolearant system
Fault tolearant systemarvinthsaran
 
Unit 4 Real Time Operating System
Unit 4 Real Time Operating SystemUnit 4 Real Time Operating System
Unit 4 Real Time Operating SystemDr. Pankaj Zope
 

What's hot (20)

Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time SystemsSara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
 
Real time-embedded-system-lec-02
Real time-embedded-system-lec-02Real time-embedded-system-lec-02
Real time-embedded-system-lec-02
 
Reference model of real time system
Reference model of real time systemReference model of real time system
Reference model of real time system
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos concepts
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating System
 
Software Evolution
Software EvolutionSoftware Evolution
Software Evolution
 
Transactions and Concurrency Control
Transactions and Concurrency ControlTransactions and Concurrency Control
Transactions and Concurrency Control
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
 
Fault tolerance techniques
Fault tolerance techniquesFault tolerance techniques
Fault tolerance techniques
 
Embedded firmware
Embedded firmwareEmbedded firmware
Embedded firmware
 
Realtime systems chapter 1
Realtime systems chapter 1Realtime systems chapter 1
Realtime systems chapter 1
 
Unit 1 architecture of distributed systems
Unit 1 architecture of distributed systemsUnit 1 architecture of distributed systems
Unit 1 architecture of distributed systems
 
Physical and Logical Clocks
Physical and Logical ClocksPhysical and Logical Clocks
Physical and Logical Clocks
 
Logical Clocks (Distributed computing)
Logical Clocks (Distributed computing)Logical Clocks (Distributed computing)
Logical Clocks (Distributed computing)
 
Real Time Systems & RTOS
Real Time Systems & RTOSReal Time Systems & RTOS
Real Time Systems & RTOS
 
Issues in Data Link Layer
Issues in Data Link LayerIssues in Data Link Layer
Issues in Data Link Layer
 
Task assignment and scheduling
Task assignment and schedulingTask assignment and scheduling
Task assignment and scheduling
 
Fault tolearant system
Fault tolearant systemFault tolearant system
Fault tolearant system
 
Unit 4 Real Time Operating System
Unit 4 Real Time Operating SystemUnit 4 Real Time Operating System
Unit 4 Real Time Operating System
 
Reliability and clock synchronization
Reliability and clock synchronizationReliability and clock synchronization
Reliability and clock synchronization
 

Similar to Concepts of Real time Systems (RTS)

Survey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling AlgorithmsSurvey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling AlgorithmsIOSR Journals
 
RTS Short Topics
RTS Short TopicsRTS Short Topics
RTS Short TopicsSilas Kanth
 
EMBEDDED SYSTEMS 1
EMBEDDED SYSTEMS 1EMBEDDED SYSTEMS 1
EMBEDDED SYSTEMS 1PRADEEP
 
Embedded system software
Embedded system softwareEmbedded system software
Embedded system softwareJamia Hamdard
 
PREDICTIVE DETECTION OF KNOWN SECURITY CRITICALITIES IN CYBER PHYSICAL SYSTEM...
PREDICTIVE DETECTION OF KNOWN SECURITY CRITICALITIES IN CYBER PHYSICAL SYSTEM...PREDICTIVE DETECTION OF KNOWN SECURITY CRITICALITIES IN CYBER PHYSICAL SYSTEM...
PREDICTIVE DETECTION OF KNOWN SECURITY CRITICALITIES IN CYBER PHYSICAL SYSTEM...cscpconf
 
Real time os(suga)
Real time os(suga) Real time os(suga)
Real time os(suga) Nagarajan
 
Real-Time Systems v3.pptx
Real-Time Systems v3.pptxReal-Time Systems v3.pptx
Real-Time Systems v3.pptxssuser2637a1
 
Benchmark methods to analyze embedded processors and systems
Benchmark methods to analyze embedded processors and systemsBenchmark methods to analyze embedded processors and systems
Benchmark methods to analyze embedded processors and systemsXMOS
 
3386890.ppt
3386890.ppt3386890.ppt
3386890.pptyibe5
 
Resource Management in (Embedded) Real-Time Systems
Resource Management in (Embedded) Real-Time SystemsResource Management in (Embedded) Real-Time Systems
Resource Management in (Embedded) Real-Time Systemsjeronimored
 
Embedded Intro India05
Embedded Intro India05Embedded Intro India05
Embedded Intro India05Rajesh Gupta
 
Chapter 1 Data structure.pptx
Chapter 1 Data structure.pptxChapter 1 Data structure.pptx
Chapter 1 Data structure.pptxwondmhunegn
 
Chapter 19 - Real Time Systems
Chapter 19 - Real Time SystemsChapter 19 - Real Time Systems
Chapter 19 - Real Time SystemsWayne Jones Jnr
 
Integrating fault tolerant scheme with feedback control scheduling algorithm ...
Integrating fault tolerant scheme with feedback control scheduling algorithm ...Integrating fault tolerant scheme with feedback control scheduling algorithm ...
Integrating fault tolerant scheme with feedback control scheduling algorithm ...ijics
 

Similar to Concepts of Real time Systems (RTS) (20)

Survey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling AlgorithmsSurvey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling Algorithms
 
RTS Short Topics
RTS Short TopicsRTS Short Topics
RTS Short Topics
 
EMBEDDED SYSTEMS 1
EMBEDDED SYSTEMS 1EMBEDDED SYSTEMS 1
EMBEDDED SYSTEMS 1
 
Embedded system software
Embedded system softwareEmbedded system software
Embedded system software
 
PREDICTIVE DETECTION OF KNOWN SECURITY CRITICALITIES IN CYBER PHYSICAL SYSTEM...
PREDICTIVE DETECTION OF KNOWN SECURITY CRITICALITIES IN CYBER PHYSICAL SYSTEM...PREDICTIVE DETECTION OF KNOWN SECURITY CRITICALITIES IN CYBER PHYSICAL SYSTEM...
PREDICTIVE DETECTION OF KNOWN SECURITY CRITICALITIES IN CYBER PHYSICAL SYSTEM...
 
Real time system
Real time systemReal time system
Real time system
 
Real time os(suga)
Real time os(suga) Real time os(suga)
Real time os(suga)
 
Real timedata
Real timedataReal timedata
Real timedata
 
Real-Time Systems v3.pptx
Real-Time Systems v3.pptxReal-Time Systems v3.pptx
Real-Time Systems v3.pptx
 
Benchmark methods to analyze embedded processors and systems
Benchmark methods to analyze embedded processors and systemsBenchmark methods to analyze embedded processors and systems
Benchmark methods to analyze embedded processors and systems
 
Real time systems 1 and 2
Real time systems 1 and 2Real time systems 1 and 2
Real time systems 1 and 2
 
3386890.ppt
3386890.ppt3386890.ppt
3386890.ppt
 
Real time-embedded-system-lec-02
Real time-embedded-system-lec-02Real time-embedded-system-lec-02
Real time-embedded-system-lec-02
 
Real time system tsp
Real time system tspReal time system tsp
Real time system tsp
 
Resource Management in (Embedded) Real-Time Systems
Resource Management in (Embedded) Real-Time SystemsResource Management in (Embedded) Real-Time Systems
Resource Management in (Embedded) Real-Time Systems
 
Embedded Intro India05
Embedded Intro India05Embedded Intro India05
Embedded Intro India05
 
Ch20
Ch20Ch20
Ch20
 
Chapter 1 Data structure.pptx
Chapter 1 Data structure.pptxChapter 1 Data structure.pptx
Chapter 1 Data structure.pptx
 
Chapter 19 - Real Time Systems
Chapter 19 - Real Time SystemsChapter 19 - Real Time Systems
Chapter 19 - Real Time Systems
 
Integrating fault tolerant scheme with feedback control scheduling algorithm ...
Integrating fault tolerant scheme with feedback control scheduling algorithm ...Integrating fault tolerant scheme with feedback control scheduling algorithm ...
Integrating fault tolerant scheme with feedback control scheduling algorithm ...
 

Recently uploaded

MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 

Recently uploaded (20)

MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 

Concepts of Real time Systems (RTS)

  • 1. Real Time System (RTS) The Islamic University Department of Computer Technical Engineering Third Class Lecturer Asst. Lec. Karrar Shakir Muttair ALNomani ‫المحاضر‬‫ه‬‫االولى‬ (‫النظري‬) 2019-2020
  • 2. Contents  Concepts of Real time Systems (RTS)  Characteristics of RTS  Types of RTS  Comparison between Types of RTS  Applications of RTS  Challenges of RTS 2
  • 3. Concepts of Real time Systems(RTS) 3 Real-time is a quantitative notion of time measured using a physical clock. Example: After a certain event occurs (temperature exceeds 50 degrees) the corresponding action (coolant shower) must complete within 100 mSec. System: As system is a mapping of a set of inputs into a set of outputs. When the internal details of the system are not of interest, the mapping function can be considered as a black box with one or more inputs entering and one or more outputs existing the system Figure 1.1. Figure 1.1: A system with (n) inputs and (m) outputs.
  • 4. 4 Terms Associated with RTS  The response-time is the time between the presentation of a set of inputs to a system and the realization of the required behavior, including the availability of all associated outputs, is called the response time of the system.  A real-time system must satisfy response-time constraints or risk severe consequences.  A failed system is a system that cannot satisfy one or more of the requirements stipulated in the formal system specification. Real time system means that the system is subjected to real time, i.e., response should be guaranteed within a specified timing constraint or system should meet the specified deadline. For example: flight control system, real time monitors etc. Concepts of Real time Systems(RTS)
  • 5. 5  Job : A job is a small piece of work that can be assigned to a processor and may or may not require resources.  Tasks: A set of related jobs that jointly provide some system functionality.  Release time of a job: It is the time at which job becomes ready for execution.  Execution time of a job: It is the time taken by job to finish its execution.  Deadline of a job: It is the time by which a job should finish its execution. Deadline is of two types: 1. Relative deadline: Deadline - Release time. 2. Absolute deadline is equal to its relative deadline plus its release time. Absolute deadline= release time + relative deadline  Response time of a job: It is the length of time from release time of a job to the instant when it finishes (Completion time). Response time of a job= Completion time - Release time Terms Associated with RTS
  • 6. 6 Terms Associated with RTS Released time = 3 Relative deadline = Deadline - Release time = 10 – 3 = 7 Absolute deadline = release time + relative deadline = 3 + 7 = 10 Response time = Completion time - Release time = 9 – 3 = 6 Figure 1. 2: Descriptive example for some terms of RTS.
  • 7. A Basic Model of RTS 7 Figure 1. 3: A Physical Model of a Real-Time System. Figure 1. 4: A Model of a Real-Time System.
  • 8. A Basic Model of RTS 8  Sensor: A sensor converts some physical characteristic of its environment into electrical signals. An example of a sensor is a photo-voltaic cell which converts light energy into electrical energy.  Actuator: An actuator is any device that takes its inputs from the output interface of a computer and converts these electrical signals into some physical actions on its environment. The physical actions may be in the form of motion, change thermal, electrical. A popular actuator is a motors, heaters or pneumatic.  Signal Condition Units: The electrical signals produced by a computer can rarely be used to directly drive an actuator. The computer signals usually need conditioning before the can be used the actuator. This is termed output conditioning. Similarly, input conditioning is required to be carried out on sensor signal before they can be accepted by the computer this is termed input conditioning.  Interface Unit: The interface takes care of buffering and the handshake control aspects. Analog to digital conversion are used in input interface and digital to analog conversion are used in an output interface.
  • 9. Overall Structure of RTS 9 AS shown on the Figure 1.5 the overall structure of RTS consists of:  Hardware: (CPU, I/O devices, memory… etc.)  A real time Operating System: function as standard OS, with predictable behavior and well-defined functionality.  A collection of RT tasks/processes: (share resources, communicate/ synchronize with each other and the environment). Figure 1.5: Overall structure of RTS.
  • 10. Characteristics of RTS 10 1. Time constraints. 2. New Correctness Criterion. 3. Embedded. 4. Safety-Reliability. 5. Concurrency. 6. Distributed and Feedback Structure. 7. Task Criticality. 8. Custom Hardware. 9. Reactive. 10. Stability. 11. Exception Handling.
  • 11. Important Characteristics 11 1.Safety 2.Reliability Safety and reliability are related but distinct. 1. Safety is concerned with ensuring system cannot cause damage irrespective of whether or not it conforms to its specification. 2. Reliability is concerned with conformance to a given specification and delivery of service. A safe system: • Does not cause damage even when it fails. A reliable system: • Operates for long time without any failure.
  • 12. Types of Real-Time Systems 12  Real-time systems are different from other systems:  Tasks have deadlines associated with them.  A real-time task can be classified into either hard, soft, or firm real- time task depending on the consequences of a task missing its deadline. 1. Hard real-time systems 2. Soft real-time systems 3. Firm real-time systems
  • 13. 13 Hard Real-Time Systems  Time is very important and achieving the desired result is also important. But if the target is achieved without time commitment, it means system failure.  Many of these systems are considered to be safety critical.  An exceeds in response time leads to potential loss of life and/or big financial damage.  Sometimes they are “only” mission critical, with the mission being very expensive. In general there is a cost function associated with the system. Hard Real-Time System Examples  Car airbag.  Anti lock breaking system (ABS).  Air craft control system.
  • 14. Soft Real-Time Systems 14  There are time limits, but they can be tolerated.  The mistakes here do not lead to the damage of the system. And do not cause a disaster.  There is a cost associated to overrunning, but this cost may be abstract.  Often connected to Quality-of-Service (QoS). Soft Real-Time Systems  Video processing.  Digital camera.  Mobile phones.
  • 15. 15 Comparison between Hard RTS and Soft RTS Characteristics Hard RTS Soft RTS Response Time Hard- Required Soft - Required Peak Load Performance Predictable Degraded Controlled by Environment Computer Safety Critical Non Critical Size of Data Small Large Error Detection Autonomous User Assisted Hard RTS Vs. Soft RTS
  • 16. 16 Firm Real-Time System  Systems which are soft real-time but in which there is no benefit from late delivery of service (which means a few missed deadlines will not lead to total failure, but missing more than a few may lead to complete and catastrophic system failure).  The computation is obsolete if the job is not finished on time.  Cost may be interpreted as loss of revenue.  Typical example are prediction systems. Firm Real-Time System Examples  Video conferencing.  Satellite-based tracking of enemy movements.
  • 17. Applications of RTS 17  Metal industry applications (Mechanical and Manufacturing Engineering).  Electric utility monitoring and control applications (Electrical Power Engineering).  Water plants applications (Civil and Environmental Engineering).  Aviation and space applications (Aeronautical Engineering).  Data Communication Applications (Electrical and Computer Engineering).  Petrochemical applications (Chemical Engineering, Petroleum Engineering).
  • 18. 18 Applications of RTS Figure 1.6: Disciplines that impact on Real Time System Engineering Real-Time Systems Control Theory Programming Languages Operations Research Algorithms Queuing Theory Operating Systems Software Engineering Computer Architecture Data Structures
  • 19. Challenges of RTS The design and implementation of real-time systems requires attention to numerous problems. These include: 1. The selection of hardware and software. 2. Determine specification and design of real-time systems and correct representation of temporal behavior. 3. Understanding the nuances of the programming language (s) and the real time implications resulting from their translation into machine code. 4. Maximizing of system fault tolerance and reliability through careful design. 5. The design and administration of tests. 6. Finally, measuring and predicting response time and reducing it. 19
  • 20. Thank you for your attention!