Rts Notes 1
Rts Notes 1
What is hard real time system and soft real time system.
What is the difference between hard real time system and soft real time system
Digital control is a critical application of real-time systems, where computers are used
to oversee and manage physical processes such as industrial machinery, power grids,
and traffic systems. Here are some key examples:
In signal processing and control applications, real-time systems are extensively utilized
for processing and controlling signals or data with minimal delay. Here are some
examples of typical real-time applications in signal processing and control:
These examples highlight the diverse range of applications where real-time systems
are utilized for processing and controlling signals or data in real-time or near-real-
time, enabling efficient and reliable operation across various domains.
Release time in a real-time system refers to the specific moment when a task or event
is scheduled or required to begin or become available for execution. It is a critical
parameter that ensures tasks are initiated within their specified timing constraints.
What is deadline.
7. Deadlines:
Deadlines are time limits for tasks in real-time systems. They mark when
tasks must be completed for the system to function properly.
8. Hard Deadlines:
Hard deadlines are strict time limits that must be met. Missing them can
cause serious problems or even disasters.
9. Soft Deadlines:
Soft deadlines are more flexible time limits. Missing them might not
cause major issues, but it's still important to meet them whenever
possible.
Reference Models:
Reference models for real-time systems are important to provide a framework for designing,
analyzing, and implementing real-time systems.
1. Processor Model:
The processor model describes the main features of the processor used
in the real-time system, like its speed, memory, and how it processes
instructions. It's crucial because it determines how fast the system can
work and if it can meet its real-time goals.
2. Resource Model:
The resource model outlines the different resources the real-time system
uses, such as memory, devices, and network connections. It's important
because it decides how well the system can handle data and if it can
meet its real-time needs.
3. Task Model:
The task model specifies the various tasks the real-time system has to
do, like gathering data, processing it, and communicating with other
systems. It's essential because it shows how much work the system has
and if it can meet its real-time requirements efficiently.
4. Communication Model:
Response Time:
Response time refers to the duration between the moment a task is received by
the system and the completion of that task.
In real-time systems, it is imperative that the response time remains sufficiently
short to adhere to the system's real-time requirements.
Period:
The period represents the duration between the initiation of two successive
occurrences of a periodic task within a real-time system.
This interval is crucial as it defines the workload of the system and establishes
the timing for executing tasks.
Execution Time:
Period:
The period is the time interval between the start of two consecutive instances of a
periodic task.
Deadline:
Worst-case execution time (WCET): The WCET is the maximum time it takes to
execute a periodic task.
Average-case execution time (ACET): The ACET is the average time it takes to
execute a periodic task.
Priority: The priority specifies the relative importance of a periodic task compared to
other tasks in the system.
Release time: The release time is the time when a periodic task is first available for
execution.
Precedence Constraints:
Data Dependency:
● Data dependency refers to the relationship between different tasks or processes in a real-
time system that depends on the availability of data.
● In a real-time system, data dependency is critical because the availability of data affects the
timing and completion of tasks