7.real Time Operating System (RTOS)
7.real Time Operating System (RTOS)
Real-time operating systems (RTOS) are used in environments where a large number of
events, mostly external to the computer system, must be accepted and processed in a short time
or within certain deadlines. such applications are industrial control, telephone switching
equipment, flight control, and real-time simulations.
With an RTOS, the processing time is measured in tenths of seconds. This system is time-
bound and has a fixed deadline. The processing in this type of system must occur within the
specified constraints. Otherwise, This will lead to system failure.
Examples of real-time operating systems are airline traffic control systems, Command Control
Systems, airline reservation systems, Heart pacemakers, Network Multimedia Systems, robots,
etc.
The idea of real-time computing has been around for many years. The first RTOS was created
by Cambridge University in the 1960s. This early system allowed multiple processes to run at
the same time, each within strict time limits.
Over the years, RTOS has improved with new technology and the need for reliable real-time
performance. These systems are now more powerful, efficient, and full of features, and they are
used in many industries, including aerospace, defense, medical science, multimedia, and more.
The main goal of an RTOS is to perform critical tasks on time. It ensures that certain processes
are finished within strict deadlines, making it perfect for situations where timing is very
important. It is also good at handling multiple tasks at once.
An RTOS provides real-time control over hardware resources, like random access
memory (RAM), by ensuring predictable and reliable behavior. It uses system resources
efficiently while maintaining high reliability and responsiveness. By managing multiple tasks
effectively, an RTOS ensures smooth operation even when the system is under heavy use or
changing conditions.
Uses of RTOS
Defense systems like RADAR.
Air traffic control system.
Networked multimedia systems.
Medical devices like pacemakers.
Stock trading applications.
Complex Simple
Maximum Consumption: Maximum utilization of devices and systems. Thus more output
from all the resources.
Task Shifting: Time assigned for shifting tasks in these systems is very less. For example,
in older systems, it takes about 10 microseconds. Shifting one task to another and in the
latest systems, it takes 3 microseconds.
Focus On Application: Focus on running applications and less importance to applications
that are in the queue.
Real-Time Operating System In Embedded System: Since the size of programs is small,
RTOS can also be embedded systems like in transport and others.
Error Free: These types of systems are error-free.
Memory Allocation: Memory allocation is best managed in these types of systems.
Disadvantages
The disadvantages of real-time operating systems are as follows:
Limited Tasks: Very few tasks run simultaneously, and their concentration is very less on
few applications to avoid errors.
Use Heavy System Resources: Sometimes the system resources are not so good and they
are expensive as well.
Complex Algorithms: The algorithms are very complex and difficult for the designer to
write on.
Device Driver And Interrupt Signals: It needs specific device drivers and interrupts
signals to respond earliest to interrupts.
Thread Priority: It is not good to set thread priority as these systems are very less prone to
switching tasks.
Minimum Switching: RTOS performs minimal task switching.