Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.

Slides:



Advertisements
Similar presentations
Feedback Control Real-Time Scheduling: Framework, Modeling, and Algorithms Chenyang Lu, John A. Stankovic, Gang Tao, Sang H. Son Presented by Josh Carl.
Advertisements

Washington WASHINGTON UNIVERSITY IN ST LOUIS Real-Time: Periodic Tasks Fred Kuhns Applied Research Laboratory Computer Science Washington University.
Real Time Scheduling.
ECE 495: Integrated System Design I
Introduction to Embedded Systems Resource Management - III Lecture 19.
1 “Scheduling with Dynamic Voltage/Speed Adjustment Using Slack Reclamation In Multi-processor Real-Time Systems” Dakai Zhu, Rami Melhem, and Bruce Childers.
A Sample RTOS Presentation 4 Group A4: Sean Hudson, Manasi Kapadia Syeda Taib.
1 In this lecture, you will learn the following. 1. Basics of real-time control engineering 2. Effects of fixed and unfixed (also probably unknown) sampling.
CPE555A: Real-Time Embedded Systems
CSE 522 Real-Time Scheduling (4)
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems (m, k)-firm tasks and QoS enhancement.
Tasks Periodic The period is the amount of time between each iteration of a regularly repeated task Time driven The task is automatically activated by.
Operating Systems1 5. Process and thread scheduling 5.1 Organization of Schedulers – Embedded and Autonomous Schedulers 5.2 Scheduling Methods – A Framework.
Automatic Verification of Component-Based Real-Time CORBA Applications Gabor Madl Sherif Abdelwahed
Project 2 – solution code
1 of 30 June 14, 2000 Scheduling and Communication Synthesis for Distributed Real-Time Systems Paul Pop Department of Computer and Information Science.
Embedded and Real Time Systems Lecture #4 David Andrews
Integrated Control and Scheduling James Yang, Steve Sheng, Bill Li Instructor: Prof. Insup Lee.
Scheduling with Optimized Communication for Time-Triggered Embedded Systems Slide 1 Scheduling with Optimized Communication for Time-Triggered Embedded.
1 of 16 March 30, 2000 Bus Access Optimization for Distributed Embedded Systems Based on Schedulability Analysis Paul Pop, Petru Eles, Zebo Peng Department.
EE 249, Fall Discussion: Scheduling Haibo Zeng Amit Mahajan.
Embedded Systems Exercise 3: Scheduling Real-Time Periodic and Mixed Task Sets 18. May 2005 Alexander Maxiaguine.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
Misconceptions About Real-time Computing : A Serious Problem for Next-generation Systems J. A. Stankovic, Misconceptions about Real-Time Computing: A Serious.
Real-Time Operating System Chapter – 8 Embedded System: An integrated approach.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Two schemes for feedback scheduling on hybrid control systems Chen Xi.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
Real-Time Systems Design1 Priority Inversion When a low-priority task blocks a higher-priority one, a priority inversion is said to occur Assume that priorities:
Scheduling policies for real- time embedded systems.
Real-Time Operating Systems for Embedded Computing 李姿宜 R ,06,10.
Reference: Ian Sommerville, Chap 15  Systems which monitor and control their environment.  Sometimes associated with hardware devices ◦ Sensors: Collect.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Real Time Systems Real-Time Schedulability Part I.
Adaptive Feedback Scheduling with LQ Controller for Real Time Control System Chen Xi.
1 Real-Time Scheduling. 2Today Operating System task scheduling –Traditional (non-real-time) scheduling –Real-time scheduling.
CSCI1600: Embedded and Real Time Software Lecture 24: Real Time Scheduling II Steven Reiss, Fall 2015.
CSCI1600: Embedded and Real Time Software Lecture 33: Worst Case Execution Time Steven Reiss, Fall 2015.
Introduction to Embedded Systems Rabie A. Ramadan 5.
CSCI1600: Embedded and Real Time Software Lecture 23: Real Time Scheduling I Steven Reiss, Fall 2015.
Lecture 2, CS52701 The Real Time Computing Environment I CS 5270 Lecture 2.
Real-Time Operating System Design
CS333 Intro to Operating Systems Jonathan Walpole.
For a good summary, visit:
Undergraduate course on Real-time Systems Linköping University TDDD07 Real-time Systems Lecture 2: Scheduling II Simin Nadjm-Tehrani Real-time Systems.
Unit - I Real Time Operating System. Content : Operating System Concepts Real-Time Tasks Real-Time Systems Types of Real-Time Tasks Real-Time Operating.
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
Real-Time Operating Systems RTOS For Embedded systems.
Networked Embedded Control System - Integration of control and computing Moonju Park Dept. of Computer Science & Engineering University of Incheon 1.
Embedded System Scheduling
REAL-TIME OPERATING SYSTEMS
Chapter 6: CPU Scheduling (Cont’d)
TrueTime.
Networks and Operating Systems: Exercise Session 2
Wayne Wolf Dept. of EE Princeton University
Unit OS9: Real-Time and Embedded Systems
Paul Pop, Petru Eles, Zebo Peng
EEE 6494 Embedded Systems Design
Chapter 2 Scheduling.
Real-time Software Design
OverView of Scheduling
CSCI1600: Embedded and Real Time Software
Networked Real-Time Systems: Routing and Scheduling
NET 424: REAL-TIME SYSTEMS (Practical Part)
CSCI1600: Embedded and Real Time Software
Processes and operating systems
Real-Time Process Scheduling Concepts, Design and Implementations
Real-Time Process Scheduling Concepts, Design and Implementations
Anand Bhat*, Soheil Samii†, Raj Rajkumar* *Carnegie Mellon University
Presentation transcript:

Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control

Outline TrueTime: A simulator for distributed real-time control systems Feedback scheduling Simulation example

TrueTime Matlab/Simulink based tool Computer and network blocks written in C-MEX Co-simulation of process dynamics, task execution and network transmissions

Features Event-based simulation Computer block with a flexible real-time kernel –arbitrary scheduling policy: RM, EDF, static scheduling... –periodic or aperiodic (externally triggered) tasks –tasks modeled as a series of code segments –constant, random or data-dependent execution times –interrupt handling, timers, monitors, context switches… Network block –arbitrary scheduling policy –preemptive or non-preemptive transmissions –constant, random or data-dependent transmission times

Motivation Study the impact of timing non-determinism on control performance –varying execution and transmission times –scheduling-induced delays (CPU and network) –COTS hardware and software Simulate event-based control systems Develop flexible compensation schemes –feedback scheduling: dynamic scheduling based on measurements of actual execution times or delays –on-line adjustment of controller parameters

Feedback Scheduling View the scheduler as a controller Controlled variables –CPU or network utilization –round-trip delay Control signals –sampling periods –execution time of controllers (anytime algorithms) Objectives –higher utilization, avoid overload, even distribution of resources, better control performance –relaxes assumptions on hard deadlines, fixed sampling periods and known WCETs

Simulation example Distributed control system –three I/O nodes connected to three open-loop unstable first-order processes –one central controller node executing three P-controllers –one disturbance node generating high-priority network traffic CAN-type network –priority-based scheduling of messages –rate-monotonic priority assignment

Feedback scheduler Controls round-trip delay by adjusting the sampling periods of the controllers Implemented in the controller node –the I/O nodes measure the delay from sampling to actuation and sends this information to the scheduler –if the worst-case delay is larger than the setpoint the sampling periods are decreased –the new sampling periods are sent back to the I/O nodes with the control signals