Skip to main content

Real-Time Systems

  • Chapter
  • First Online:
Design Principles for Embedded Systems

Part of the book series: Transactions on Computer Systems and Networks ((TCSN))

Abstract

We come across several times the term “real time” tagged before any other noun or verb, like real-time data, real-time monitoring, real-time governance, and so on. Let us understand what real time signifies. After completing this chapter, one will be able to un-tag the term “real time” from many such usages. In this chapter, we will understand the characteristics of a system that qualifies it, to be called as real-time system. Then, we will classify the RT systems based on their traits. We will study the reference model by which we can analyze the system and focus on important aspects of them. We will study scheduling mechanisms through supporting algorithms to reach real-time constraints. Section 6.2 classifies real-time systems (RTS) to periodic, mostly periodic, aperiodic, and predictable and unpredictable (spurious) systems. Section 6.4 deals with models to execute such periodic tasks. Section 6.6 classifies scheduling algorithms. Section 6.7 deals with clock-driven scheduling. Section 6.8 deals with scheduling priority-driven periodic tasks. Section 6.9 deals with scheduling tasks with dynamic priority like Earliest Deadline First (EDF) and Least Slack Time First (LST). Section 6.10 deals with scheduling sporadic tasks. Section 6.11 deals with accessing resources by multiple tasks, handling the contention for resources and how to handle cases of priority inversion. To summarize, aperiodic jobs are soft and can be accommodated by stealing slack times and idle slots. Tasks can be prioritized based on their rate. RMA is a popular protocol. Priorities of jobs can be assigned using early deadlines and also the least slack time. EDF algorithms are most popular. Sporadic jobs are unpredictable with varied properties. Given a context, a sporadic job can be accepted if it is schedulable. Sporadic jobs have to be handled in a separate queue. The above algorithms assume no contention of resources. Resource contention modifies the execution times based on the availability of resources and the critical section of the resources in each job. The most serious problem is priority inversion, which has to be taken care with multiple algorithms like priority inheritance. This chapter becomes the input to the next chapter where we study the architecture of real-time executives, their standardization, and their features.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 119.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  • Cheng AMK (2003) Real-time systems, scheduling, analysis, and verification. University of Houston, Wiley

    Google Scholar 

  • Douglass BP (2004) Real time UML: advances in the UML for real-time systems, 3rd edn. Addison Wesley

    Google Scholar 

  • JaneLiu WS (2003) Real-time systems. Pearson Education, India

    Google Scholar 

  • Krishna CM, Shin KG (1997) Real-time systems. McGraw-Hill

    Google Scholar 

  • Laplante PA (2005) Real-time system design and analysis, 3rd edn. PHI

    Google Scholar 

  • Li Q, Yao C (2003) Real-time concepts for embedded systems

    Google Scholar 

  • Merz S, Navet N (2008) Modeling and verification of real-time systems. Wiley

    Google Scholar 

  • Williams R (2005) Real-time systems development. Elsevier

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Murti, K. (2022). Real-Time Systems. In: Design Principles for Embedded Systems. Transactions on Computer Systems and Networks. Springer, Singapore. https://doi.org/10.1007/978-981-16-3293-8_6

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-3293-8_6

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-3292-1

  • Online ISBN: 978-981-16-3293-8

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics