7
Most read
9
Most read
13
Most read
Real Time Operating System
(RTOS)
UNIT V
TYPES OF OS
• GPOS (Normal General Purpose Operating
System)
• RTOS (Real Time Operating System)
Difference between a GPOS (Normal General
Purpose Operating System) and an RTOS
(Real Time Operating System)
• The basic difference of using a GPOS or an RTOS lies in the nature of the
system – i.e whether the system is “time critical” or not!
• A system can be of a single purpose or multiple purpose.
• Example of a “time critical system” is – Automated Teller Machines (ATM).
• Here an ATM card user is supposed to get his money from the teller
machine within 4 or 5 seconds from the moment he press the
confirmation button. The card user will not wait 5 minutes at the ATM
after he pressed the confirm button.
• So an ATM is a time critical system.
• Where as a personal computer (PC) is not a time critical system.
• The purpose of a PC is multiple. A user can run many applications at the
same time. After pressing the SAVE button of a finished document, there
is no particular time limit that the doc should be saved within 5 seconds. It
may take several minutes (in some cases) depending upon the number of
tasks and processes running in parallel.
BASICS: Tasks
• Task is a piece of code or program that is separate
from another task and can be executed
independently of the other tasks.
• In embedded systems, the operating system has to
deal with a limited number of tasks depending on
the functionality to be implemented in the
embedded system.
• Multiple tasks are not executed at the same time
instead they are executed in pseudo parallel i.e. the
tasks execute in turns as the use the processor.
BASICS: Task States
• Depending upon execution or not a task may be classified into the
following three states:
• Running state - Only one task can actually be using the processor at a
given time that task is said to be the “running” task and its state is
“running state”. No other task can be in that same state at the same time
• Ready state - Tasks that are are not currently using the processor but are
ready to run are in the “ready” state. There may be a queue of tasks in the
ready state.
• Waiting state - Tasks that are neither in running nor ready state but that
are waiting for some event external to themselves to occur before the can
go for execution on are in the “waiting” state.
BASICS: SCHEDULER
• The heart and soul of any operating system is its scheduler.
• This is the piece of the operating system that decides which of the ready
tasks has the right to use the processor at a given time.
• It simple checks to see if the running task is the highest priority ready
task.
• Some of the more common scheduling algorithms:
– First-in-first-out
– First-in-first-out (FIFO) scheduling describes an operating system which is not a
multitasking operating system.
– Each task runs until it is finished, and only after that is the next task started on a first
come first served basis.
– Shortest job first
– Shortest job first scheduling uses algorithms that will select always select a task that will
require the least amount of processor time to complete.
– Round robin.
– Round robin
– scheduling uses algorithms that allow every task to execute for a fixed amount to time.
– A running task is interrupted an put to a waiting state if its execution time expires.
Basics:CONTEXT SWITCH
• The actual process of changing from one task
to another is called Context Switch.
• Since contexts are processor-specific, so is
the code that implements the context
switches, hence, it must always be written in
assembly language.
Basics: TASK SYNCHRONIZATION
• All the tasks in the multitasking operating systems work
together to solve a larger problem and to synchronize their
activities, they occasionally communicate with one another.
• For example, in the printer sharing device the printer task
doesn’t have any work to do until new data is supplied to it by
one of the computer tasks.
• So the printer and the computer tasks must communicate
with one another to coordinate their access to common data
buffers.
REAL TIME CHARACTERISTIC
• An Operating system is called “Real-Time Operating System” (RTOS) only if
it has following characteristics:
• Deterministic
• An OS is said to be deterministic if the worst case execution time of each
of the system calls is calculable.
• The data sheet of an OS should publish the real-time behavior of its RTOS
provides average, minimum and maximum number of clock cycles
required by each system call.
• Interrupt Latency
• Interrupt Latency is the total length of time from an interrupt signal’s
arrival at the processor to the start of the associated interrupt service
routine.
• Context Switch
• Context Switch is important because it represents overhead across your
entire system.
SELECTION PROCESS
• The process of selecting the best commercial operating system that best
fits the needs of one’s project depends on various factors.
• Commercial operating systems form a continuum of functionality,
performance and price.
• Operating Systems that offer only a basic scheduler and a few other
system calls are inexpensive and come with the source code that one can
modify and do not require payment of royalties.
• While on the other hand operating systems that include a lot of useful
functionality beyond just the scheduler are quite expensive and royalties
due on every copy shipped in ROM and they might also make a stronger
guarantees about real-time performance.
• Two important points to be considered while selecting an operating
system :-
– Put your processor, real time performance and budgetary requirements first.
– Contact all of the vendors of the remaining operating systems for more
detailed technical information.
FUNCTIONAL CHARECTERISTICS
NON-FUNCTIONAL CHARECTERISTICS
THANK YOU!

More Related Content

PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
PPTX
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
PPTX
Rtos concepts
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
PPTX
Embedded systems
PPTX
uninformed search part 1.pptx
PPTX
Input & Output
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
Rtos concepts
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
Embedded systems
uninformed search part 1.pptx
Input & Output
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...

What's hot (20)

PPTX
PPTX
Physical design of io t
PPTX
SCHEDULING ALGORITHMS
PPTX
Inductive analytical approaches to learning
PPT
PPTX
Memory mapped I/O and Isolated I/O
PPTX
Embedded systems
PPTX
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
PPTX
process control block
PPTX
Embedded System Tools ppt
PPT
Chapter 2 The 8088 Microprocessor
PPT
Multiprocessor Systems
PPTX
E.s (2)
PPTX
Embedded System
PDF
Embedded Systems (18EC62) – Embedded System Design Concepts (Module 4)
PDF
Unit 4-input-output organization
PPTX
6LoWPAN.pptx
PPTX
Input - Output Organization and I/O Interface
Physical design of io t
SCHEDULING ALGORITHMS
Inductive analytical approaches to learning
Memory mapped I/O and Isolated I/O
Embedded systems
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
process control block
Embedded System Tools ppt
Chapter 2 The 8088 Microprocessor
Multiprocessor Systems
E.s (2)
Embedded System
Embedded Systems (18EC62) – Embedded System Design Concepts (Module 4)
Unit 4-input-output organization
6LoWPAN.pptx
Input - Output Organization and I/O Interface
Ad

Similar to SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS) (20)

PPT
21-Classification of Real time system-12-02-2025.ppt
PPTX
RTOS [Autosaved].pptx
DOCX
What is operating system
DOCX
What is operating system
PPTX
OVERVIEW OF RTOS
PDF
PDF
Os-unit1-Introduction to Operating Systems.pdf
PPT
Os rtos.ppt
PDF
rtosbyshibu-131026100746-phpapp01.pdf
PPTX
Rtos by shibu
PPT
Real time os(suga)
PPTX
Real time Operating System
PPT
Real Time Operating system (RTOS) - Embedded systems
PDF
Linux Internals - Interview essentials 4.0
PPTX
Entreprenuership notes module 3 notes.pptx
DOCX
A brief introduction about an operating system and its architecture
PPTX
MYSQL DATABASE Operating System Part2 (1).pptx
PPTX
Operating system overview concepts ppt
PPT
Os Concepts
PPTX
Embedded os
21-Classification of Real time system-12-02-2025.ppt
RTOS [Autosaved].pptx
What is operating system
What is operating system
OVERVIEW OF RTOS
Os-unit1-Introduction to Operating Systems.pdf
Os rtos.ppt
rtosbyshibu-131026100746-phpapp01.pdf
Rtos by shibu
Real time os(suga)
Real time Operating System
Real Time Operating system (RTOS) - Embedded systems
Linux Internals - Interview essentials 4.0
Entreprenuership notes module 3 notes.pptx
A brief introduction about an operating system and its architecture
MYSQL DATABASE Operating System Part2 (1).pptx
Operating system overview concepts ppt
Os Concepts
Embedded os
Ad

More from Arti Parab Academics (20)

PPTX
COMPUTER APPLICATIONS Module 4.pptx
PPTX
COMPUTER APPLICATIONS Module 1 HPSY - Copy.pptx
PPTX
COMPUTER APPLICATIONS Module 5.pptx
PPTX
COMPUTER APPLICATIONS Module 1 CAH.pptx
PPTX
COMPUTER APPLICATIONS Module 3.pptx
PPTX
COMPUTER APPLICATIONS Module 2.pptx
PPTX
Health Informatics- Module 5-Chapter 2.pptx
PPTX
Health Informatics- Module 5-Chapter 3.pptx
PPTX
Health Informatics- Module 4-Chapter 3.pptx
PPTX
Health Informatics- Module 3-Chapter 2.pptx
PPTX
Health Informatics- Module 4-Chapter 1.pptx
PPTX
Health Informatics- Module 4-Chapter 2.pptx
PPTX
Health Informatics- Module 3-Chapter 3.pptx
PPTX
Health Informatics- Module 5-Chapter 1.pptx
PPTX
Health Informatics- Module 3-Chapter 1.pptx
PPTX
Health Informatics- Module 2-Chapter 2.pptx
PPTX
Health Informatics- Module 1-Chapter 1.pptx
PPTX
Health Informatics- Module 2-Chapter 3.pptx
PPTX
Health Informatics- Module 2-Chapter 1.pptx
PPTX
Health Informatics- Module 1-Chapter 2.pptx
COMPUTER APPLICATIONS Module 4.pptx
COMPUTER APPLICATIONS Module 1 HPSY - Copy.pptx
COMPUTER APPLICATIONS Module 5.pptx
COMPUTER APPLICATIONS Module 1 CAH.pptx
COMPUTER APPLICATIONS Module 3.pptx
COMPUTER APPLICATIONS Module 2.pptx
Health Informatics- Module 5-Chapter 2.pptx
Health Informatics- Module 5-Chapter 3.pptx
Health Informatics- Module 4-Chapter 3.pptx
Health Informatics- Module 3-Chapter 2.pptx
Health Informatics- Module 4-Chapter 1.pptx
Health Informatics- Module 4-Chapter 2.pptx
Health Informatics- Module 3-Chapter 3.pptx
Health Informatics- Module 5-Chapter 1.pptx
Health Informatics- Module 3-Chapter 1.pptx
Health Informatics- Module 2-Chapter 2.pptx
Health Informatics- Module 1-Chapter 1.pptx
Health Informatics- Module 2-Chapter 3.pptx
Health Informatics- Module 2-Chapter 1.pptx
Health Informatics- Module 1-Chapter 2.pptx

Recently uploaded (20)

PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
advance database management system book.pdf
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
Journal of Dental Science - UDMY (2021).pdf
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PPTX
Core Concepts of Personalized Learning and Virtual Learning Environments
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PPTX
Computer Architecture Input Output Memory.pptx
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
Complications of Minimal Access-Surgery.pdf
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
HVAC Specification 2024 according to central public works department
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
Unit 4 Computer Architecture Multicore Processor.pptx
FORM 1 BIOLOGY MIND MAPS and their schemes
advance database management system book.pdf
Uderstanding digital marketing and marketing stratergie for engaging the digi...
Cambridge-Practice-Tests-for-IELTS-12.docx
Journal of Dental Science - UDMY (2021).pdf
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Environmental Education MCQ BD2EE - Share Source.pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Core Concepts of Personalized Learning and Virtual Learning Environments
AI-driven educational solutions for real-life interventions in the Philippine...
Computer Architecture Input Output Memory.pptx
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Complications of Minimal Access-Surgery.pdf
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
Virtual and Augmented Reality in Current Scenario
HVAC Specification 2024 according to central public works department

SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)

  • 1. Real Time Operating System (RTOS) UNIT V
  • 2. TYPES OF OS • GPOS (Normal General Purpose Operating System) • RTOS (Real Time Operating System)
  • 3. Difference between a GPOS (Normal General Purpose Operating System) and an RTOS (Real Time Operating System) • The basic difference of using a GPOS or an RTOS lies in the nature of the system – i.e whether the system is “time critical” or not! • A system can be of a single purpose or multiple purpose. • Example of a “time critical system” is – Automated Teller Machines (ATM). • Here an ATM card user is supposed to get his money from the teller machine within 4 or 5 seconds from the moment he press the confirmation button. The card user will not wait 5 minutes at the ATM after he pressed the confirm button. • So an ATM is a time critical system. • Where as a personal computer (PC) is not a time critical system. • The purpose of a PC is multiple. A user can run many applications at the same time. After pressing the SAVE button of a finished document, there is no particular time limit that the doc should be saved within 5 seconds. It may take several minutes (in some cases) depending upon the number of tasks and processes running in parallel.
  • 4. BASICS: Tasks • Task is a piece of code or program that is separate from another task and can be executed independently of the other tasks. • In embedded systems, the operating system has to deal with a limited number of tasks depending on the functionality to be implemented in the embedded system. • Multiple tasks are not executed at the same time instead they are executed in pseudo parallel i.e. the tasks execute in turns as the use the processor.
  • 5. BASICS: Task States • Depending upon execution or not a task may be classified into the following three states: • Running state - Only one task can actually be using the processor at a given time that task is said to be the “running” task and its state is “running state”. No other task can be in that same state at the same time • Ready state - Tasks that are are not currently using the processor but are ready to run are in the “ready” state. There may be a queue of tasks in the ready state. • Waiting state - Tasks that are neither in running nor ready state but that are waiting for some event external to themselves to occur before the can go for execution on are in the “waiting” state.
  • 6. BASICS: SCHEDULER • The heart and soul of any operating system is its scheduler. • This is the piece of the operating system that decides which of the ready tasks has the right to use the processor at a given time. • It simple checks to see if the running task is the highest priority ready task. • Some of the more common scheduling algorithms: – First-in-first-out – First-in-first-out (FIFO) scheduling describes an operating system which is not a multitasking operating system. – Each task runs until it is finished, and only after that is the next task started on a first come first served basis. – Shortest job first – Shortest job first scheduling uses algorithms that will select always select a task that will require the least amount of processor time to complete. – Round robin. – Round robin – scheduling uses algorithms that allow every task to execute for a fixed amount to time. – A running task is interrupted an put to a waiting state if its execution time expires.
  • 7. Basics:CONTEXT SWITCH • The actual process of changing from one task to another is called Context Switch. • Since contexts are processor-specific, so is the code that implements the context switches, hence, it must always be written in assembly language.
  • 8. Basics: TASK SYNCHRONIZATION • All the tasks in the multitasking operating systems work together to solve a larger problem and to synchronize their activities, they occasionally communicate with one another. • For example, in the printer sharing device the printer task doesn’t have any work to do until new data is supplied to it by one of the computer tasks. • So the printer and the computer tasks must communicate with one another to coordinate their access to common data buffers.
  • 9. REAL TIME CHARACTERISTIC • An Operating system is called “Real-Time Operating System” (RTOS) only if it has following characteristics: • Deterministic • An OS is said to be deterministic if the worst case execution time of each of the system calls is calculable. • The data sheet of an OS should publish the real-time behavior of its RTOS provides average, minimum and maximum number of clock cycles required by each system call. • Interrupt Latency • Interrupt Latency is the total length of time from an interrupt signal’s arrival at the processor to the start of the associated interrupt service routine. • Context Switch • Context Switch is important because it represents overhead across your entire system.
  • 10. SELECTION PROCESS • The process of selecting the best commercial operating system that best fits the needs of one’s project depends on various factors. • Commercial operating systems form a continuum of functionality, performance and price. • Operating Systems that offer only a basic scheduler and a few other system calls are inexpensive and come with the source code that one can modify and do not require payment of royalties. • While on the other hand operating systems that include a lot of useful functionality beyond just the scheduler are quite expensive and royalties due on every copy shipped in ROM and they might also make a stronger guarantees about real-time performance. • Two important points to be considered while selecting an operating system :- – Put your processor, real time performance and budgetary requirements first. – Contact all of the vendors of the remaining operating systems for more detailed technical information.