Real time system
Real time system
• Administrivia
– Aims and objectives
– Intended learning outcomes
– Prerequisites
– Module outline and timetable
– Reading list
– Assessment
• Introduction to real-time systems
– Examples
– Types of real-time system
– Implementation considerations
Copyright © 2005 University of Glasgow
Lecturer Contact Details
http://csperkins.org/teaching/rtes/
Copyright © 2005 University of Glasgow
Aims of This Module
– On best-effort networks
– Enhanced quality of service
• Other implementation considerations
Timetable
• Lectures:
– Highlight relevant material from the book
• Tutorials:
– Practice problem solving, review material covered in lectures
– Expect to do worked examples and answer questions!
Copyright © 2005 University of Glasgow
Assessment
controller
reference control-law
input: r(t) A/D D/A
rk computation uk
Copyright © 2005 University of Glasgow
A/D y
k
y(t) u(t)
Desired
Large T
y(t) umax
Copyright © 2005 University of Glasgow
0 u(t)
-umax
Measured State Control Output
Digital Process Control
State Flight
Estimator control
Air data
Real-Time Communications
• Not only does a system need to run a control law with time
constraints, it must also schedule communications, sending
and receiving messages according to deadlines
Copyright © 2005 University of Glasgow
Example: Drive by Wire
Steering Brake Accelerator Gears
Brake
actuator Controller Engine
area network controls
Wheel Engine
sensors sensors
Control
system
control inputs
– Anti-lock brakes have a faster response time than the driver, so prioritise to ensure the car
doesn’t skid
• Network must schedule and prioritise communications
Example: Packet Voice
Packet switched
voice network
– Purely cyclic
• Every task executes periodically
• Demands in (computing, communication, and storage) resources do not vary
significantly from period to period
• Example: most digital controllers and real-time monitors
– Mostly cyclic
• Most tasks execute periodically
• The system must also respond to some external events (fault recovery and
external commands) asynchronously
Copyright © 2005 University of Glasgow
kilobytes of memory
– Correctness a primary concern, efficiency a close second
Summary