1 / 12

1 An Introduction to Real-Time Applications

Real-time applications are software systems that process data and respond within a strict time frame. These applications are crucial in environments where delays can lead to failures or risks. They are classified into hard real-time systems, where delays are unacceptable (e.g., medical devices, aviation systems), and soft real-time systems, where occasional delays are tolerable (e.g., video streaming, online gaming). Common examples include robotics, automotive control, industrial automation, and telecommunications. These applications rely on fast processing, reliable communication, and effici

Anita101
Download Presentation

1 An Introduction to Real-Time Applications

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 Introduction to Real-Time ApplicationsbyAnita ChoudharyAssistant Professor (NPIU)

  2. Need of Real time System • The need of real-time system is required to complete real-time work and deliver its services on a timely basis. • Examples of real-time systems include digital control, command and control, signal processing, and telecommunication systems. • Digital control: Many real-time systems are embedded in sensors and actuators and function as digital controllers.

  3. Examples of real-time systems: 1. Digital controller

  4. Modules of digital controllers: • The term plant in the block diagram refers to a controlled system, for example, an engine, a brake, an aircraft, a patient. • The state of the plant is monitored by sensors and can be changed by actuators. • The real-time (computing) system estimates from the sensor readings the current state of the plant and computes a control output based on the difference between the current state and the desired state (called reference input in the figure). We call this computation the control-law computation of the controller. • The output generated by controller activates the actuators, which bring the plant closer to the desired state.

  5. Examples of real-time systems: 2. Signal processing • Most signal processing applications have some kind of real-time requirements. • We focus here on those whose response times must be under a few milliseconds to a few seconds. • Examples are digital filtering, video and voice compressing/decompression, and radar signal processing. • Radar System: A signal processing application is typically a part of a larger system.

  6. Radar System: Radar Signal Processing • To search for objects of interest in its coverage area, the radar scans the area by pointing its antenna in one direction at a time. • During the time the antenna dwells in a direction, it first sends a short radio frequency pulse. • It then collects and examines the echo signal returning to the antenna. • The echo signal consists solely of background noise if the transmitted pulse does not hit any object. • On the other hand, if there is a reflective object (e.g., an airplane or storm cloud) at a distance x meters from the antenna, the echo signal reflected by the object returns. • The echo signal collected at this time should be stronger than when there is no reflected signal.

  7. Examples of real-time system: 3. Real-Time Databases • The term real-time database systems refers to a diverse spectrum of information systems, ranging from stock price quotation systems, to track records databases, to real-time file systems. • A real-time database contains data objects, called image objects, that represent real-world objects. • The attributes of an image object are those of the represented real world object. • For example: • an air traffic control database contains image objects that represent aircraft in the coverage area. • The attributes of such an image object include the position and heading of the aircraft. • The values of these attributes are updated periodically based on the measured values of the actual position and heading provided by the radar system.

  8. Real-Time Databases • Absolute Temporal Consistency: • The temporal quality of real-time data is often quantified by parameters such as age and temporal dispersion. • A set of data objects is said to be absolutely (temporally) consistent if the maximum age of the objects in the set is no greater than a certain threshold. • Relative Temporal Consistency: • A set of data objects is said to be relatively consistent if the maximum difference in ages of the objects in the set is no greater than the relative consistency threshold used by the application. • Consistency Models: • The use of similarity as a correctness criterion for real-time data or we can say that two values of a data object are similar if the difference between the values is within an acceptable threshold from the perspective of every transaction that may read the object.

  9. Types of real-time applications: Real-time applications can be divided into four categories: Purely cyclic Mostly cyclic Asynchronous and somewhat predictable Asynchronous and unpredictable

  10. Types of real-time applications (contd…): • Purely cyclic: Every task in a purely cyclic application executes periodically. Even I/O operations are polled. Moreover, its demands in (computing, communication, and storage) resources do not vary significantly from period to period. Ex. real-time monitors. • Mostly cyclic: Most of tasks in a mostly cyclic system execute periodically. The system must also respond to some external events (fault recovery and external commands) asynchronously. Ex. process control systems.

  11. Types of real-time applications (contd…): • Asynchronous and somewhat predictable: In some applications (such as multimedia communication, radar signal processing, and tracking) most tasks are not periodic. The duration between consecutive executions of a task may vary considerably, or the variations in the amounts of resources demanded in different periods may be large. However, these variations have either bounded ranges or known statistics. • Asynchronous and unpredictable: Applications that react to asynchronous events and have tasks with high run-time complexity belong to this type. An example is intelligent real-time control systems.

More Related