introduction to real time software systems script

23
Real-time Software Engineering Software Engineering 10

Upload: sommerville-videos

Post on 16-Jul-2015

96 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Introduction to real time software systems script

Real-time Software Engineering

Software Engineering 10

Page 2: Introduction to real time software systems script

Computers are used to control a

wide range of systems from simple

domestic machines, through games

controllers, to entire manufacturing

plants.

Page 3: Introduction to real time software systems script

The software in these systems is

embedded in system hardware, often

in read-only memory, and usually

responds, in real time, to events from

the system’s environment.

Page 4: Introduction to real time software systems script

Their software must react to events

generated by the hardware and,

often, issue control signals in

response to these events.

Page 5: Introduction to real time software systems script

Responsiveness in real-time is the

critical difference between

embedded systems and other

software systems, such as web-

based systems or personal software

systems.

Page 6: Introduction to real time software systems script

In a real-time system, the

correctness depends both on the

response to an input and the time

taken to generate that response.

Page 7: Introduction to real time software systems script

If the response to a stimulus in a

real-time system is too late, the

system is considered to be incorrect.

Page 8: Introduction to real time software systems script

A real-time system is a software

system where the correct functioning

of the system depends on the results

produced by the system and the time

at which these results are produced.

Page 9: Introduction to real time software systems script

A soft real-time system is a system

whose operation is degraded if

results are not produced according

to the specified timing requirements.

Page 10: Introduction to real time software systems script

A hard real-time system is a system

whose operation is incorrect if

results are not produced according

to the timing specification.

Page 11: Introduction to real time software systems script

Embedded systems generally run

continuously. They start when the

system is powered up and do not

terminate until the power is switched

off.

Page 12: Introduction to real time software systems script

Interactions with the system’s

environment are unpredictable.

Events may not occur when

expected.

Page 13: Introduction to real time software systems script

There may be physical limitations,

such as battery power, that affect the

design of a system.

Page 14: Introduction to real time software systems script

Real-time systems often interact

directly with hardware through

specialized hardware interfaces.

Page 15: Introduction to real time software systems script

Issues of safety and reliability may

may be the most important factors to

be considered when designing the

system.

Page 16: Introduction to real time software systems script

Real-time systems are often

considered to be reactive systems.

Given a stimulus, the system must

produce a reaction or response

within a specified time.

Page 17: Introduction to real time software systems script

Periodic stimuli. Stimuli which occur

at predictable time intervals

A sensor may return a value every

250 milliseconds. The system

response depends on that value.

Page 18: Introduction to real time software systems script

Aperiodic stimuli. Stimuli which

occur at unpredictable times

For example, it is impossible to know

when a power failure will occur.

Page 19: Introduction to real time software systems script

A general model of an embedded real-

time system

04/12/2014 19

Page 20: Introduction to real time software systems script

Real-time systems are usually

organised as a number of parallel

processes.

Page 21: Introduction to real time software systems script

This allows them to respond in a

timely way to events from the

system’s environment.

Page 22: Introduction to real time software systems script

It is difficult to design a sequential

process in such a way that you can

guarantee that predict the

responsiveness of the system.

Page 23: Introduction to real time software systems script

Sensor and actuator processes

04/12/2014 23