Académique Documents
Professionnel Documents
Culture Documents
Introduction
Characteristics of RTS Hardware (CPU, I/O device etc)
Real Time Operating Systems (RTOS)
a clock!
OS support: scheduling, resource handling
Real Time Programming Languages
Language support, e.g. Ada tasking
1 2
Comm. Network
Other Computers
User Programs/application Control Tasks and
Actuators Real Time Software Operating
Operating System
3 4
5 6
1
Classification of RTSs Classification of RTSs
Subsystems. In reality many systems will have a cost On-time deadline no deadline
7 8
2
What is the problem now? Programming the car controller (3)
FUEL-3
60 Fuel-2
ABS
speed
54 40
13 44 14
Testing
We will consider:
Ada 95 and C
15 16
Predictability: able to predict the future Maintainability: modular structure to ease system
consequences of current actions modification
Testability: easy to test if the system can meet all the Robustness: must not collapse when subject to peak
deadlines load, exception, manage all possible scenarios
Cost optimality: e.g. Energy consumption, memory Fault tolerance: hardware and software failures
blocks etc should not cause the system to crash - function
down-grading
17 18
3
Predictability: the most important one Difficult to achieve predictability: Hardware & RTOS
The system behaviour is known before it is Cache sharing, processor pipelines, DMA ...
Interrupt handling may introduce unbounded delays
put into operation!
19 20
21 22
687 meters
23