Real-Time Systems. Introduction

Similar documents
Real-Time Systems. Introduction

Introduction to Real-time Systems. Advanced Operating Systems (M) Lecture 2

Syllabus Instructors:

Real-Time Systems 1. Basic Concepts

Learning Outcomes. Scheduling. Is scheduling important? What is Scheduling? Application Behaviour. Is scheduling important?

IN4343 Real-Time Systems

1. Introduction. Real-Time Systems. Initial intuition /1. Outline. 2016/17 UniPD / T. Vardanega 26/02/2017. Real-Time Systems 1

Embedded Software Engineering

CS4514 Real-Time Systems and Modeling

Introduction to Real-Time Systems ECE 397-1

Spring 2010: Lecture 9. Ashutosh Saxena. Ashutosh Saxena

Mark Bitto / ABB Inc / PSPG / CIBO Technical Focus Group / June Instrumented and Actuated Systems Condition Monitoring of Rotating Equipment

DISTRIBUTED REAL-TIME SYSTEMS

Environment: dictates timeliness requirements, to which the internal system has to react on time.

ECE 612: Embedded and Real-Time Systems

Multiprocessor and Real-Time Scheduling. Chapter 10

Issues in Programming Language Design for Embedded RT Systems

2. REAL-TIME CONTROL SYSTEM AND REAL-TIME NETWORKS

Software Architecture--Continued. Another Software Architecture Example

6.1 Motivation. Fixed Priorities. 6.2 Context Switch. Real-time is about predictability, i.e. guarantees. Real-Time Systems

Design and Analysis of Time-Critical Systems Introduction

Real Time Operating Systems and Middleware

Reactor Control. defined interval. For example, the classic (noninteracting)

Homework index. Processing resource description. Goals for lecture. Communication resource description. Graph extensions. Problem definition

Introduction to the Distributed Real-Time System

CS 354R: Computer Game Technology

Alexandre Esper, Geoffrey Nelissen, Vincent Nélis, Eduardo Tovar

Embedded Systems 1. Introduction

CHAPTER 1: REAL TIME COMPUTER CONTROL

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

ELEC 5260/6260/6266 Embedded Computing Systems

Ch 5 Industrial Control Systems

Department of Computer Science Institute for System Architecture, Operating Systems Group REAL-TIME MICHAEL ROITZSCH OVERVIEW

Embedded Systems. Stammvorlesung 9 CP. Lectures: Tuesdays, 16:15-18:00 Thursdays, 10:15-12:00 BF - ES - 2 -

Introduction to Real-Time Communications. Real-Time and Embedded Systems (M) Lecture 15

Chapter 3: Kinematics Locomotion. Ross Hatton and Howie Choset

Time Triggered and Event Triggered; Off-line Scheduling

Real-Time Systems and their Programming Languages

Integrated HW/SW Systems: Requirements

Context Switch DAVID KALINSKY

Real-Time Systems: An Introduction

PF3100 Quick User Guide R 0.3 PROFIRE PF3100. Quick User Guide. PROFIRE Page 1 of 13

Robot Motion Planning

AirTight: A Resilient Wireless Communication Protocol for Mixed- Criticality Systems

Robotics Prof. Dilip Kumar Pratihar Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Unit 2: Locomotion Kinematics of Wheeled Robots: Part 3

James Donahue Control Consultants, Inc.

CS24: INTRODUCTION TO COMPUTING SYSTEMS. Spring 2017 Lecture 13

Data Types. Numeric Data Types

Jo-Car2 Autonomous Mode. Path Planning (Cost Matrix Algorithm)

Operating Systems. Process scheduling. Thomas Ropars.

Properties of Hyper-Redundant Manipulators

Introduction to Mobile Robotics

Introduction to Real-Time Systems and Multitasking. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

Software Architecture. Lecture 4

Automotive Networks Are New Busses and Gateways the Answer or Just Another Challenge? ESWEEK Panel Oct. 3, 2007

Si-TEC Xtend CGC DATA SHEET. Digital control range for steam turbine generators. Key features. Models. Description

CORBA in the Time-Triggered Architecture

WT1800 PRECISION POWER ANALYZER

Operating Instructions Extended Cascade Controller MCO 101

Mechanical Design Challenges for Collaborative Robots

OMG Smart Transducer Specification (I)

Operating System Concepts

Presentation HETES 8/06/2015, Ghent (Belgium)

Ensuring Schedulability of Spacecraft Flight Software

SWE 760 Lecture 1: Introduction to Analysis & Design of Real-Time Embedded Systems

RE for Embedded Systems - Part 1

Valve and Case Expansion Monitor Specifications

Architectural Design. CSCE Lecture 12-09/27/2016

Control 2. Keypoints: Given desired behaviour, determine control signals Inverse models:

Real-Time Systems. Exam June 3rd, 2017, hours: 08:00 13:00

Classification of RTS. RTS Definitions. RTS Definitions

CHAPTER 1 INTRODUCTION

NMT EE 589 & UNM ME 482/582 ROBOT ENGINEERING. Dr. Stephen Bruder NMT EE 589 & UNM ME 482/582

Line tracking sensors and algorithms

Features. Application range. Si-TEC Xtend Recip interface. Accumulated data recording of engine running hours, kwatt hours, kvar hours, etc.

SNO 4062K SNO 4062KM SNO 4062 K / KM. Circuit diagram. Applications. Function. Function (Continued)

Formal Analysis of Timing Effects on Closed-loop Properties of Cyber Physical Systems

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Introduction. What is an Operating System? A Modern Computer System. Computer System Components. What is an Operating System?

CSC/ECE 506: Architecture of Parallel Computers Sample Final Examination with Answers

In examining performance Interested in several things Exact times if computable Bounded times if exact not computable Can be measured

-----other notes This picture was taken from here:

EC EMBEDDED AND REAL TIME SYSTEMS

REAL-TIME SCHEDULING FOR DEPENDABLE MULTIMEDIA TASKS IN MULTIPROCESSOR SYSTEMS

What s an Operating System? Real-Time Operating Systems. Cyclic Executive. Do I Need One? Handling an Interrupt. Interrupts

Energy & Data Transmission Systems. Energy & Data Transmission Systems. CAP Cable Auto Plug-In

Hardware Software Codesign of Embedded System

TS 971 door control Integrated radio. TS 971 Automatic control panel for DES / NES limit switches. Approvals and certificates

Si-TEC Xtend CGC ET DATA SHEET. Digital control range for extraction steam turbines. Key features. Models. Description

Control. Sliding door system 20. Copyright agtatec AG Manufacturer Service-Hotline Distributer agtatec ag Allmendstrasse 24 CH-8320 Fehraltorf

ELEC 5260/6260/6266 Embedded Computing Systems

Embedded Systems. 1 Introduction. Lothar Thiele. Computer Engineering and Networks Laboratory

ENGR101 T Engineering Technology. Arthur Roberts. School of Engineering and Computer Science Victoria University of Wellington

Autonomous Mobile Robot Design

Planning in Mobile Robotics

Fuzzy Logic Control for Pneumatic Excavator Model

TS 970 door control TS 970 Automatic control panel for DES / NES limit switches. Approvals and certificates

15: OS Scheduling and Buffering

Real-Time Scheduling in Distributed Environments

Transcription:

Real-Time Systems Introduction Hermann Härtig WS 2015/16

Examples of Real-Time-Systems video decoding and other multimedia haptic (force feed) back devices planes, trains, cars, e-bikes control systems (see later slide) alarm systems automatic trading systems (?) 2

Other Systems Embedded Systems Computers as part of something else Sometimes Real-Time Safety-Critical Systems danger General Purpose (Interactive) Systems smoothness of UI 3

Overview of class Basics: * Definitions, Models and Terminology * Time (Synchronisation etc) * Time-Driven + Event-Driven: Basic Scheduling Advanced Scheduling: * Resource Sharing * probabilistic * Multiprocessor * mixed criticality More than just scheduling: * Hardware * Communication * Progr. Languages * Operating Systems 4

Real-Time Systems Definition (strict) Systems, whose correctness depends (not only) on the correct logical results of computations (but also) on meeting all deadlines. Deadlines are dictated by the environment of the system. Results, deadlines must be specified. 5

Real-Time Systems Definition (weaker) Systems, whose quality depend (not only) on the logical results of computations (but also) on the time these results are produced. Requested timing characteristics originate from the environment of the system. 6

Weakness Flavors Some deadlines are more important/critical than others (imprecise computations, mixed criticality, ) Occasional misses of deadlines are ok. (e.g., 3 in 10) The value of a result depends on the time it becomes available: An imperfect result early may be better than a perfect result (too) late. The more results can be obtained before a given deadline the better. Explicit mapping of time to value 7

Weakness Flavors Specification needed for: Results, deadlines AND Importance of certain deadlines OR How many deadlines per time period may be missed OR Mapping of time to values of results OR A saying by Doug Jensen (?): Hard real-time systems are hard to build, soft real-time systems even harder. 8

Hard, Firm, Soft hard real-time systems deadlines are strict: missing has fatal consequences for the controlled object or humans must work under peak load firm real-time systems deadlines are strict: late results have no benefit soft real-time systems deadlines should be met value of results decreases with time graceful degradation under peak load is acceptable approximate computing (energy saving) 9

Real-World Context input reaction real world system work recurring output real world system work 10

Interfaces Person Real-Time Computer System Controlled Object Timing requirements on both interfaces 11

Layers of Control Pilot Pilot Interface Navigation Fly by Wire Aircraft Multiple stages may induce different times 12

Simple Digital Control System external influences actuators controlled system sensors y(t) D / A u(t) control e(t) diff D / A periodic sampling operator 13

PID controller Continuous formula: Approximation by periodic sampling (rate T) Integral via Simpson's Rule: Differential: Then: With 14

Digital Controllers at every xx time units do read r,y uk :=uk-2 + a*ek + b*ek-1 + c*ek-2 write u done sample period xx depends on: reactivity of person (<100 ms) reactivity of controlled object 15

Control Example operator Controlling Computer System Controlled Object valve steam Example following [Kopetz] 16

Times temperature target 90% rise time rise time: 10% or other small neighborhood object delay: inertia of control process computation delay and jitter: < sample period steam deadtime: object delay + computation delay 10% current sampling period: rule of thumb < 1/10 to 1/20 rise time [Kopetz] object delay wallclock time shorter sampling periods result in: smoother operation, less oscillation, more resources used 17

Complications of Simple Model: Internal State state... at every xx timeunits do read... compute output and new state Use: samples and current state write... done complete state of controlled object is not represented in sampled data, example: robot arm dangerous situations when internal and real-world state disagree 18

Stateful Control System actuators controlled system sensors y(t) u(t) control state model diff trajectory generator 19

Complications with Simple Model multiple sensors, actuators, and state variables different sampling rates: multi-rate controller often the larger are integer multiples of smaller rates: harmonic rates example: rotation, temperature (engine control) method (successive loop closure): start with highest rate sensor integrate it in system and consider it part of the controlled object determine next rates (as multiples of fastest) 20

Summary real-time system: time matters hard, firm, soft system context: contact with the real world control systems 21

Course Material Textbooks (available in library): [Kopetz] Hermann Kopetz Real-Time Systems (Kluwer) [Liu] Jane Liu Real-Time Systems (Prentice Hall) In addition: papers provided in lectures 22