real-time systems, events, triggers. real-time systems a system that has operational deadlines from...

21
Real-Time Systems, Events, Triggers

Upload: anis-douglas

Post on 19-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Real-Time Systems, Events, Triggers

Page 2: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Real-Time Systems• A system that has operational deadlines from event

to system response

• A system whose correctness depends on the logical results and the time in which results are produced

• Key Issues– System evolution– Composibility– Software engineering– Performance guarantees– Reliability & formal verification– General system issues– Programming languages– Education

Page 3: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Real World Examples– Intelligent vehicle highway systems– Avionics– Air traffic Control Systems– Multi media– Virtual reality– Defense applications– Nuclear Power Plants– Medical Applications– Process control

Page 4: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Brake Pads

– Dynamically measure the pressure– TactArray Sensors: pressures up to 2000 psi at

temperatures up 200C

Page 5: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Gastrointestinal Diagnostic equipment

• Measures the pressures applied by muscles in the GI tract

Page 6: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

FingerTPS

• To teach doctors performing physical manipulations in a consistent and repeatable way

• System records and displays finger and palm pressures exerted during treatment

Page 7: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Soft v. Hard Real-Time Systems

Hard real-time Mission critical systems Catastrophic

consequences

Soft real-time Statistical margin of

error No significant financial

loss

Page 8: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Design Priorities

• Design of HRT is fundamentally different than that of SRT– HRT – temporal domain is as critical as

value domain– SRT – temporal domain is not critical as

value domain

Page 9: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Real-Time Task Models

• Periodic– Continuous & deterministic pattern of

time interval– Characterized as a tuple (C,T)

• e.g., robotics application: sensor data & network transmission

Page 10: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Real-Time Task Models

• Aperiodic– Non-deterministic request periods– Event driven real-time systems– e.g. Ejection of a pilot seat

Page 11: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Technology Trends

• System on a chip– Integrating all components on a

single chip– Cost-effective if mass-produced

Page 12: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Low-Level Design

– Reentrancy• Disable/enable interrupts• EnterCritical / ExitCritical• Semaphores

Page 13: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Example: Blinking LEDv. 1.0 v. 2.0

Page 14: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

RT Development Issues– Driving force

• There is an increasing demand for RT embedded systems in various places and novel scenarios

• Safer, cheaper and more reliable• Moving away from old, clunky “legacy systems”

– High level challenges• System evolution• Open real time systems• Composibility• Software engineering

Page 15: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Challenges – System Evolution• System Evolution

– Keeping up with technology trends– System upgrades– Personnel turnover– Vendor changes– Equipment Upgrades– Cost analysis – new system vs. system

upgrade

Page 16: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Challenges – Open RT Systems

– How to create general solution to coexist and support with very specific needs?

– Real-time architecture • Processor speed, caches, memory, buses, and I/O

devises• Multiple applications doing various things (scheduling)

– Perfect execution vs. price• $50 Good enough vs $400 perfect

Page 17: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Challenges – Composability• Function• Time• Fault Tolerance• COTS integration, Web services• Properties at component level must hold at system level• Properties of an ideal component:

– Service provision– Validation– Error containment– Reusability– Design and maintenance

• Principles– Independent development of components– Stability of prior services– Constructive integration

Page 18: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Challenges – Software Engineering

• Need to rapidly develop and deploy large, complex systems

• Software engineering principles

• Processes, methods, tools

• Existing middleware platform do not meet all needs– Evolvability, timing constraints, dependability, etc.

Page 19: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Challenges – Performance

• Science of performance guarantees

• Determining how system will perform under various workloads and still being able to abide by certain requirements (predictability)

• Larger, dynamic systems in various domains and environments

• Determining worst-case scenarios

• Deterministic and probabilistic algorithms

Page 20: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Challenges – V & V

• Simulation, testing, and validation

• Expensive time consuming

• TLYF – Test Like You Fly

• Proving it works

• Meeting various Quality of Service Requirements

• Timing validation

• Scheduling

Page 21: Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness

Verification and Validation• Composable architectures will shift focus back to product

validation• Knowledge about worst-case execution time• Rare event simulations

– Validate fault-tolerance– Peak-load performance

• Formal verification– Critical algorithms