html5-img
1 / 12

An Overview of Real Time Operating Systems

An Overview of Real Time Operating Systems. John C. Shovic. What is a Real Time System?. A system where timeliness is as important as the correctness of the outputs Real Time systems may not be “Fast” systems

Jeffrey
Télécharger la présentation

An Overview of Real Time Operating Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. An Overview of Real Time Operating Systems John C. Shovic

  2. What is a Real Time System? • A system where timeliness is as important as the correctness of the outputs • Real Time systems may not be “Fast” systems • Real Time systems must satisfy explicit (bounded) response-time constraints or risk failure

  3. Real Time Software • Complexity of real time software is enormous • Building “polling” software that can do everything is complicated and when it needs to be changed, it’s very difficult

  4. More Definitions • Embedded System - Software system completely encapsulated by the hardware it controls • Organic System - Software system that is not highly dependent on the hardware and has a generalized user interface • Semi-detached system - Software system that has attributes of both embedded and organic systems

  5. RTOS • Real Time Operating Systems • A Powerful Partioning Tool • Manages Resources • Manages Conflicts • Aids in partioning problems

  6. Resources • Tasking and Scheduling - Actions • ISR Support - Hardware Interface • Semaphores- Communication • Mailboxes - Communication • Queues - Communication

  7. Actions and RTOS Queue Data Monitor Errors Print Manage Paper RTOS

  8. Tasks, Threads and Processes • Task = Process - Independently executing entity that may control resources. May contain multiple threads • Thread - A path through the code - A task may have multiple threads iff each thread has own data area

  9. Task Swapping • Co-operative - The task gives up control • Time-Slice - Context switcher shares time • Preemptive - context switcher shares time, budgeting both on fairness and dynamic task priorities

  10. Real-Time Concepts • Doing Hard Time - Tasks have to be performed correctly and on time • Doing Soft Time - Tasks have to be done as fast as possible, but not on a specific time • Most systems are mixes

  11. Foreground/Background • Foreground - ISR/Asynchronous events • (Also called Interrupt Level) • Background - “infinite loop” that calls modules to perform desired functions • (Also called Task Level)

  12. Foreground/Background Systems Background Foreground ISR ISR ISR Time ISR Code Execution

More Related