REAL TIME
OPERATING
SYSTEM(RTOS)
By
Bayar Shahab
Supervised by
Dr. Tara Yahya
OUTLINE
֍ What is RTOS?
֍ Types of RTOS?
֍ Characteristics of RTOS
֍ Functions of RTOS
֍ RTOS Architecture
֍ Advantages and disadvantages of RTOS
֍ Applications of RTOS
2
1/14/2017
WHAT IS RTOS?
▪ Is an operating system that is specially designed to run
applications with very precise timing and a high degree of
reliability(National instruments, 2013).
▪ Single tasked in opposition to generic OSs Which run several tasks
▪ What is jitter?
3
1/14/2017
TYPES OF RTOS
 Hard RTOS
Meet required deadlines within the bounded time otherwise it may lead to
catastrophic error
 Firm RTOS
Deadline may not cause a catastrophic or fatal error, but may cause undesired
effects or may degrade the performance of the system
 Soft RTOS
Missing a deadline may not be catastrophic and cause fatal errors, but they are
undesired and unwanted(Best effort).
1/14/2017
4
CHARACTERISTICS OF RTOS
1/14/2017
5
Reliability
Predictability
PerformanceScalability
Compactness
FUNCTIONS OF RTOS
1/14/2017
6
Task management
Scheduling
Resource allocation
Interrupt handling
RTOS ARCHITECTURE
1/14/2017
7
ADVANTAGES AND DISADVANTAGES OF
RTOS
Advantages
• Task scheduling and shifting.
• Deterministic behavior.
• Inter-task communication.
• Maximum Consumption.
• Error Free.
• Task can have priority.
• Scalable.
• Portable.
• Provision for interrupts
Disadvantages
• Sometimes cost is more.
• Availability of Development tools.
• Low support for variety of
peripheral devices.
• Low Protection and Security
mechanisms.
• Low multi-tasking.
• Limited Tasks.
• Multiple Users.
• Multiple Modes.
• Not easy to program
1/14/2017
8
APPLICATIONS OF RTOS
• Web server.
• Aircraft control.
• Radar systems.
• Network switching control systems.
• Satellite monitoring systems.
• GPS system.
• Nuclear reactor systems.
• MRI
1/14/2017
9
CONCLUSION
1/14/2017
10
Questions ??????
REFERENCES
[1] National Instrument, (2013, Nov.22), What is a Real-Time Operating
System (RTOS)? Available: http://www.ni.com/white-paper/3938/en/
[2] H.ARORA, (2012, FEB.6), what is RTOS? Real Time Operating
Systems Basics , Available: http://www.thegeekstuff.com/2012/02/rtosbasics/
[3] W.Cedeo and P.Laplante, (2015), An Overview of Real-Time Operating
Systems, Available: http://jla.sagepub.com/content/12/1/40.full
[4] Pantech solutions, REAL TIME OPERATING SYSTEM (RTOS)
CONCEPTS, India.
[5] silberchatz, glaving and Gange,Operating system concepts 8th
ed.USA:2009.
[6] Renesas Electronics Corporation,(2010, Jan.4),General RTOS
Concepts, Available: http://www.renesas.com
1/14/2017
12

RTOS- Real Time Operating Systems

  • 1.
  • 2.
    OUTLINE ֍ What isRTOS? ֍ Types of RTOS? ֍ Characteristics of RTOS ֍ Functions of RTOS ֍ RTOS Architecture ֍ Advantages and disadvantages of RTOS ֍ Applications of RTOS 2 1/14/2017
  • 3.
    WHAT IS RTOS? ▪Is an operating system that is specially designed to run applications with very precise timing and a high degree of reliability(National instruments, 2013). ▪ Single tasked in opposition to generic OSs Which run several tasks ▪ What is jitter? 3 1/14/2017
  • 4.
    TYPES OF RTOS Hard RTOS Meet required deadlines within the bounded time otherwise it may lead to catastrophic error  Firm RTOS Deadline may not cause a catastrophic or fatal error, but may cause undesired effects or may degrade the performance of the system  Soft RTOS Missing a deadline may not be catastrophic and cause fatal errors, but they are undesired and unwanted(Best effort). 1/14/2017 4
  • 5.
  • 6.
    FUNCTIONS OF RTOS 1/14/2017 6 Taskmanagement Scheduling Resource allocation Interrupt handling
  • 7.
  • 8.
    ADVANTAGES AND DISADVANTAGESOF RTOS Advantages • Task scheduling and shifting. • Deterministic behavior. • Inter-task communication. • Maximum Consumption. • Error Free. • Task can have priority. • Scalable. • Portable. • Provision for interrupts Disadvantages • Sometimes cost is more. • Availability of Development tools. • Low support for variety of peripheral devices. • Low Protection and Security mechanisms. • Low multi-tasking. • Limited Tasks. • Multiple Users. • Multiple Modes. • Not easy to program 1/14/2017 8
  • 9.
    APPLICATIONS OF RTOS •Web server. • Aircraft control. • Radar systems. • Network switching control systems. • Satellite monitoring systems. • GPS system. • Nuclear reactor systems. • MRI 1/14/2017 9
  • 10.
  • 11.
  • 12.
    REFERENCES [1] National Instrument,(2013, Nov.22), What is a Real-Time Operating System (RTOS)? Available: http://www.ni.com/white-paper/3938/en/ [2] H.ARORA, (2012, FEB.6), what is RTOS? Real Time Operating Systems Basics , Available: http://www.thegeekstuff.com/2012/02/rtosbasics/ [3] W.Cedeo and P.Laplante, (2015), An Overview of Real-Time Operating Systems, Available: http://jla.sagepub.com/content/12/1/40.full [4] Pantech solutions, REAL TIME OPERATING SYSTEM (RTOS) CONCEPTS, India. [5] silberchatz, glaving and Gange,Operating system concepts 8th ed.USA:2009. [6] Renesas Electronics Corporation,(2010, Jan.4),General RTOS Concepts, Available: http://www.renesas.com 1/14/2017 12

Editor's Notes

  • #4 What is OS at first? An interface b/w hardware & software that manages and controls program execution
  • #5 Hard RTOS- Nuclear reactor control Firm RTOS- Loosing some bits from codec of music Soft RTOS- Delay in loading a website degrades the system
  • #6 Reliability- Availability and minimizing the down Time Predictable- RTOS have to be predictable to have reliable results and they have to be tested at design time(Test-Bench) Performance- meetting deadline+correct result+Hardware mesures Scalability- Being Modulare for adding and deleteing parts Compactness- Adjust RTOS to applications size type
  • #7 Task management- A task is a program that executes on the computer,- setting priorities, durations and criticality for the tasks-TCB Scheduling - use available resources between existing tasks and to determine which tasks should be run next - Clock driven scheduling(periodic tasks) - weighted round robin scheduling (FIFO) - priority scheduling(Static –design time OR dynamic Run time) Resource Allocation- Allocating Resource for running tasks-semaphores(Locking tasks)- priority inversion(Low locked high) Interrupt Handling- signal that terminates normal program execution(ISR) - interrupt latency
  • #8 RTOS Architecture depends on the RTOS system or application, but generally it has kernel-task management, inter-process communication, interrupt handling, memory management and scheduling, I/O.