Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
REAL TIME OPERATING SYSTEM
#1

Within the last ten years real-time systems research has been transformed from a niche industry into a mainstream enterprise with clients in a wide variety of industries and academic disciplines. It will continue to grow in importance and affect an increasing number of industries as many of the reasons for the rise of its prominence will persist for the foreseeable future.

What is RTOS?
Real Time Computing and Real Time Operating Systems( RTOS ) is an
emerging discipline in software engineering. This is an embedded technology wherebythe application software does the dual function of operating system also. In RTOS thecorrectness of the system depends not only on the logical result but also on the time atwhich the results are obtained.
Real-time System

??Provides deterministic response to external events
??Has the ability to process data at its rate of occurrence
??Is deterministic in its functional & timing behavior
??Whose timing is analyzed in the worst cases not in the typical, normal cases to
guarantee a limiting response in any circumstances.

The seminar will basically provide a practical understanding of the goals, structure and operation of a real-time operating system (RTOS). The basic concepts of real-time system like the RTOS Kernel will be given a detailed description. The structure of the kernel is discussed, stressing the factors which affect response times and performance. Examples of RTOS functions such as scheduling, interrupt processing and intertask communication structures will also be discussed. Features of commercially available RTOS products are also presented.A real-time system is one where the timeliness of the result of a calculation is important Examples include military weapons systems, factory control systems, and Internet video and audio streaming. Different definitions of real-time systems exist. Here are just a few:

- Real-time computing is computing where system correctness depends not only on the correctness of the logical result of the computation but also on the result delivery time.
- A Real-Time System is an interactive system that maintains an on-going relationship with an asynchronous environment, i.e. an environment that progresses irrespective of the Real Time System, in an uncooperative manner.
- Real-time (software) (IEE 610.12 - 1990): Pertaining a system or mode of operation in which computation is performed during the actual time that an external process occurs, in order that the computation results may be used to control, monitor, or respond in a timely manner to the external process.

From the above definitions its understood that in Real Time Systems, the
TIME is the biggest constraint. This makes real time systems different from ordinary systems. Thus in RTS data needs to be processed at some regular and timely rate. Also it should have fast response to events occurring at nonregular rates. In real world systems there is some delay between presentation of inputs and appearance of all associated outputs called the Response time. Thus a real time system must satisfy explicit response time constraints or risk severe consequences including failure.

Real - Time Systems and Real - Time Operating Systems

Timeliness is the single most important aspect of a real -time system. These systems respond to a series of external inputs, which arrive in an unpredictable fashion. The real-time systems process these inputs, take appropriate decis ions and also generate output necessary to control the peripherals connected to them. As defined by Donald Gillies "A real-time system is one in which the correctness of the computations not only depends upon the logical correctness of the computation but also upon the time in which the result is produced. If the timing constraints are not met, system failure is said to have occurred."

It is essential that the timing constraints of the system are guaranteed to be met. Guaranteeing timing behaviour requires that the system be predictable.

The design of a real -time system must specify the timing requirements of the system and ensure that the system performance is both correct and timely. There are three types of time constraints:

Hard: A late response is incor rect and implies a system failure. An example of such a system is of medical equipment monitoring vital functions of a human body, where a late response would be considered as a failure.

Soft: Timeliness requirements are defined by using an average respons e time. If a single computation is late, it is not usually significant, although repeated late computation can result in system failures. An example of such a system includes airlines reservation systems.

Firm: This is a combination of both hard and soft t imeliness requirements. The computation has a shorter soft requirement and a longer hard requirement. For example, a patient ventilator must mechanically ventilate the patient a certain amount in a given time period. A few seconds' delay in the initiation of breath is allowed, but not more than that.

One need to distinguish between on -line systems such as an airline reservation system, which operates in real-time but with much less severe timeliness constraints than, say, a missile control system or a telephone switch. An interactive system with better response time is not a real-time system. These types of systems are often referred to as soft real time systems. In a soft real -time system (such as the airline reservation system) late data is still good dat a. However, for hard real -time systems, late data is bad data. In this paper we concentrate on the hard and firm real-time systems only.

Most real -time systems interface with and control hardware directly. The software for such systems is mostly custom -developed. Real -time Applications can be either embedded applications or non -embedded (desktop) applications. Real -time systems often do not have standard peripherals associated with a desktop computer, namely the keyboard, mouse or conventional display monitors. In most instances, real-time systems have a customized version of these devices
Reply

#2
REAL TIME OPERATING SYSTEM
VIVEK JAISWAL
0813331103
EC VI B
Operating System
Collection of system calls (functions)
Provides a set of basic services to interact with the hardware
Core of the OS is Kernel
Basic structural unit of OS
Typically a library or set of libraries
Operates in supervisory mode
Basic Structure of Operating System
Real Time Operating System

A variant of OS
Operates in constrained environment where computer memory and processing power is limited
Provides services in definite amount of time
Features
Fast
Response times are highly predictable
Small and occupy very little memory
Consume fewer resources
Mission-critical
Unpredictable environment
Life risking applications
[b]Examples of RTOS
Types of RTOS[/b]
Hard Real-Time Systems
Soft Real-Time Systems
Hard Real-Time Systems
Meets deadlines with zero degree of flexibility
Missed deadlines cause catastrophe
Cost of catastrophe is high
[b]Example of Hard Real-Time Systems
Weapons defense system[/b]
Missile guidance system

Soft Real-Time Systems
Meets deadlines with some degree of flexibility
Missed deadline does not cause catastrophe
Costs rise in proportion to the delay
Example of Soft Real-Time Systems
DVD or multimedia players

Scheduling
Make sure that all tasks meet their timing constraints
It is not a task but a function call [schedule()]
Called at various scheduling points likewise end of ISR, when tasks go to sleep or when they are ready to run
Types of algorithms
Preemptive priority based scheduling algorithm
Round Robin scheduling algorithm

Preemptive priority based scheduling algorithm
Each task has a priority and highest-priority task runs first
Round Robin scheduling algorithm
Each task of same priority uses time slice to achieve equal share of CPU execution time
Tasks
An independent thread of execution
It is schedulable
Characterized by associated name, unique ID, priority, task control block (TCB), stack & task routine
Each task moves from one state to another using finite state machine (FSM)

Semaphores
A kernel object that one or more threads of execution can acquire or release for the purposes of synchronization or mutual exclusion.
Acts like a key
Allows a task to carry out some operation or to access a resource
Types
Binary Semaphore
Counting Semaphore
Mutual Exclusion Semaphore
Message Queues
It is like a pipeline through which tasks & ISRs communicate and synchronize with data.

Ways to use Message Queues
Non-interlinked
one-way data communication

Interlocked
one-way data communication
Interlocked
two-way data communication
Broadcast Communication
Exceptions & Interrupts
Exception is any event that disrupts the normal execution of the processor and forces the processor into execution of special instructions
Types
Synchronous Exceptions Raised by internal events like processor instructions

An arithmetic operation that results in a division by zero

Asynchronous Exceptions Associated with hardware signals from external hardware devices
Also called as INTERRUPTS

Pushing the reset button on the embedded board
Reply

#3
A real time system is defined as follows - A real-time system is one in which the correctness of the computations not only depends upon the logical correctness of the computation but also upon the time at which the result is produced. If the timing constraints of the system are not met, system failure is said to be occurred.

Two types Hard real time operating system Strict time constraints Secondary storage limited or absent Conflicts with the time sharing systems Not supported by general purpose OS Soft real time operating system Reduced Time Constraints Limited utility in industrial control or robotics Useful in applications (multimedia, virtual reality) requiring advanced operating-system features. In the robot example, it would be hard real time if the robot arriving late causes completely incorrect operation. It would be soft real time if the robot arriving late meant a loss of throughput. Much of what is done in real time programming is actually soft real time system. Good system design often implies a level of fe/correct behaviour even if the computer system never completes the computation. So if the computer is only a little late, the system effects may be somewhat mitigated.



Hat makes an os a rtos?
1. A RTOS (Real-Time Operating System) has to be multi-threaded and preemptible.
2. The notion of thread priority has to exist as there is for the moment no deadline driven OS.
3. The OS has to support predictable thread synchronisation mechanisms
4. A system of priority inheritance has to exist
5. For every system call, the maximum it takes. It should be predictable and independent from the number of objects in the system
6. the maximum time the OS and drivers mask the interrupts. The following points should also be known by the developer:
1. System Interrupt Levels.

2. Device driver IRQ Levels, maximum time they take, etc.
Reply

#4
to get information about the topic Real Time Operating Systems full report ppt and related topic refer the page link bellow

http://seminarsprojects.net/Thread-rtos-...ull-report

http://seminarsprojects.net/Thread-real-...ed-systems

http://seminarsprojects.net/Thread-real-...tem--29497

http://seminarsprojects.net/Thread-rtos-...7#pid54197

http://seminarsprojects.net/Thread-real-...ng-systems

http://seminarsprojects.net/Thread-real-...ems--14038

http://seminarsprojects.net/Thread-real-...bedded-ics

http://seminarsprojects.net/Thread-real-...ng-systems

http://seminarsprojects.net/Thread-real-...ng-systems

http://seminarsprojects.net/Thread-embed...plications

http://seminarsprojects.net/Thread-real-...74#pid4174
Reply

#5
to get information about the topic "operating system" full report ppt and related topic refer the page link bellow

http://seminarsprojects.net/Thread-princ...ing-system

http://seminarsprojects.net/Thread-real-...e=threaded
Reply

#6
can u pls send the RTOS ppt in my mail id [email protected]
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 iAndrew & Melroy van den Berg.