Fakultät für informatik informatik 12 technische universität dortmund Embedded Systems with Emphasis on the Exploitation of the Memory Hierarchy Graphics:

Slides:



Advertisements
Similar presentations
Technische universität dortmund fakultät für informatik informatik 12 Models of computation Peter Marwedel TU Dortmund Informatik 12 Graphics: © Alexandra.
Advertisements

Fakultät für informatik informatik 12 technische universität dortmund Optimizations - Compilation for Embedded Processors - Peter Marwedel TU Dortmund.
fakultät für informatik informatik 12 technische universität dortmund Additional compiler optimizations Peter Marwedel TU Dortmund Informatik 12 Germany.
Peter Marwedel TU Dortmund, Informatik 12
Evaluation and Validation
Fakultät für informatik informatik 12 technische universität dortmund Specifications and Modeling Peter Marwedel TU Dortmund, Informatik 12 Graphics: ©
Technische universität dortmund fakultät für informatik informatik 12 Specifications and Modeling Peter Marwedel TU Dortmund, Informatik
Embedded Systems & Parallel Programming P. Marwedel, Univ. Dortmund/Informatik 12 + ICD/ES, 2007 Universität Dortmund A view on embedded systems.
fakultät für informatik informatik 12 technische universität dortmund Optimizations - Compilation for Embedded Processors - Peter Marwedel TU Dortmund.
(Introduction to) Embedded Systems
Technische universität dortmund fakultät für informatik informatik 12 Embedded System Design: Embedded Systems Foundations of Cyber-Physical Systems Peter.
Peter Marwedel TU Dortmund, Informatik 12
EE5900 Advanced Embedded System For Smart Infrastructure
Future Careers in Embedded Systems, Mechatronics, and Control Mark W. Spong Coordinated Science Laboratory University of Illinois Urbana, IL
Technische universität dortmund fakultät für informatik informatik 12 Embedded System Design: Embedded Systems Foundations of Cyber-Physical Systems Jian-Jia.
M-learning thru M-devices- Is it real learning?. Real challenges? Mobility – a fad, trend or a culture? Learning – have we change our learning behaviour?
Technische universität dortmund fakultät für informatik informatik 12 Embedded Systems Jian-Jia Chen (slides are based on Peter Marwedel) TU Dortmund,
Technische universität dortmund fakultät für informatik informatik 12 Specifications, Modeling, and Model of Computation Jian-Jia Chen (slides are based.
Corso di Sistemi in Tempo Reale Laurea in Ingegneria dell‘Automazione a.a Paolo Pagano
Hardware/ Software Partitioning 2011 年 12 月 09 日 Peter Marwedel TU Dortmund, Informatik 12 Germany Graphics: © Alexandra Nolte, Gesine Marwedel, 2003 These.
Fakultät für informatik informatik 12 technische universität dortmund Lab 4: Exploiting the memory hierarchy - Session 14 - Peter Marwedel Heiko Falk TU.
Fakultät für informatik informatik 12 technische universität dortmund Specifications - Session 5 - Peter Marwedel TU Dortmund Informatik 12 Germany Slides.
Industrial Technologies Tom Togsverd 21June 12 Competitiveness through Digitalization New Technology Framework Tom Togsverd Director General, Danish ICT.
- 1 -  P. Marwedel, Univ. Dortmund, Informatik 12, 05/06 Universität Dortmund Hardware/Software Codesign.
Define Embedded Systems Small (?) Application Specific Computer Systems.
Embedded Systems Introduction. What is an Embedded System What is an Embedded System? Definition of an embedded computer system: is a digital system.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Design of Fault Tolerant Data Flow in Ptolemy II Mark McKelvin EE290 N, Fall 2004 Final Project.
Software Engineering CSE470: Embedded Systems Overview 49 What is an Embedded System What is an Embedded System? Definition of an embedded computer system:
- 1 -  P. Marwedel, Univ. Dortmund, Informatik 12, 2005/6 Universität Dortmund Embedded Systems Graphics: © Alexandra Nolte, Gesine Marwedel, 2003.
Technische universität dortmund fakultät für informatik informatik 12 Cyber-Physical Systems Fundamentals/ Embedded Systems Foundations of Cyber-Physical.
Smart Home Technologies CSE 4392 / CSE 5392 Spring 2006 Manfred Huber
Lecture 1.
Building an Application Server for Home Network based on Android Platform Yi-hsien Liao Supervised by : Dr. Chao-huang Wei Department of Electrical Engineering.
Universität Dortmund  P. Marwedel, Univ. Dortmund, Informatik 12, 2003 Hardware/software partitioning  Functionality to be implemented in software.
Chapter 1 The Challenges of Networked Games. Online Gaming Desire for entertainment has pushed the frontiers of computing and networking technologies.
9. Car-Borne Information System
Embedded Systems Design ICT Embedded System What is an embedded System??? Any IDEA???
Chapter 1- Introduction Lecture 1 Ready, fire, aim (the fast approach to software development). Ready, aim, aim, aim, aim... (the slow approach to software.
Embedded Systems Graphics: © Alexandra Nolte, Gesine Marwedel, 2003 Peter Marwedel.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
CS 580 chapter 4 paradigms.
Business Data Communications, Stallings 1 Chapter 1: Introduction William Stallings Business Data Communications 6 th Edition.
EMBEDDED SYSTEMS FOUNDATIONS OF CYBER-PHYSICAL SYSTEMS PETER MARWEDEL Embedded System Design.
Usability in Pervasive Computing Environment Advance Usability October 18, 2004 Anuj A. Nanavati.
FOREWORD By: Howard Shrobe MIT CS & AI Laboratory
Introduction to Software Engineering. Why SE? Software crisis manifested itself in several ways [1]: ◦ Project running over-time. ◦ Project running over-budget.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Cognitive Radio: Next Generation Communication System
UNIT I. EMBEDDED SYSTEM It is an electrical/electro-mechanical system designed to perform a specific function. It is a combination of hardware and software.
Chapter -08 Process technology. PROCESS TECHNOLOGY In general process technologies are devices or machines that we use every day in operations. Two key.
Computer Science in Context Evangelos E. Milios Professor and Graduate Coordinator Faculty of Computer Science Dalhousie University.
Internet of Things. IoT Novel paradigm – Rapidly gaining ground in the wireless scenario Basic idea – Pervasive presence around us a variety of things.
WHAT IS COMPUTING / COMPUTER SCIENCE? Rocky K. C. Chang August 31, 2015.
Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness.
Name Of The College & Dept
Chapter 1- Introduction Lecture 1. Topics covered  Professional software development  What is meant by software engineering.  Software engineering.
Slides created by: Professor Ian G. Harris Embedded Systems  Embedded systems are computer-based systems which are embedded inside another device (car,
Technische universität dortmund fakultät für informatik informatik 12 Cyber-Physical System Fundamentals Peter Marwedel TU Dortmund, Informatik /04/26.
Fakultät für informatik informatik 12 technische universität dortmund Prepass Optimizations - Session 11 - Heiko Falk TU Dortmund Informatik 12 Germany.
Embedded Systems MPSoC Architectures Challenges and Architectures Alberto Bosio
Future Careers in Embedded Systems, Mechatronics, and Control
EE5900 Cyber-Physical Systems
EE 249 Embedded Systems Design
Embedded Systems Introduction
Chapter 1- Introduction
Introduction to Realtime Systems (& Embedded Systems)
Warm Up- What is a robot? Describe in one sentence what you understand by the term ‘robot’ 2. What are the main parts of a robot? What do people do to.
Presentation transcript:

fakultät für informatik informatik 12 technische universität dortmund Embedded Systems with Emphasis on the Exploitation of the Memory Hierarchy Graphics: © Alexandra Nolte, Gesine Marwedel, 2003 Peter Marwedel Heiko Falk TU Dortmund Informatik 12 Germany Slides use Microsoft cliparts. All Microsoft restrictions apply. - Session 1 -

- 2 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Motivation for Course (1) According to forecasts characterized by terms such as  Disappearing computer,  Ubiquitous computing,  Pervasive computing,  Ambient intelligence,  Post-PC era. Basic technologies:  Embedded Systems  Communication technologies

- 3 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Motivation for Course (2) “Information technology (IT) is on the verge of another revolution. ….. networked systems of embedded computers... have the potential to change radically the way people interact with their environment by linking together a range of devices and sensors that will allow information to be collected, shared, and processed in unprecedented ways.... The use … throughout society could well dwarf previous milestones in the information revolution.” National Research Council Report (US) Embedded Everywhere Source. Ed Lee, UC Berkeley, ARTEMIS Embedded Systems Conference, Graz, 5/2006]

- 4 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Motivation for Course (3)  The future is embedded, embedded is the future

- 5 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, dragons- fairies.com/kitchen_fairies.htm What is an embedded system?

- 6 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Embedded Systems “Dortmund“ Definition: Information processing systems embedded into a larger (enclosing) technical system Berkeley Modell [Ed Lee]: Embedded software is software integrated with physical processes. The technical problem is managing time and concurrency in computational systems. Main reason for buying is not information processing

- 7 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Growing importance of embedded systems (1)  Spending on GPS units exceeded $100 mln during Thanksgiving week, up 237% from 2006 … More people bought GPS units than bought PCs, NPD found. [ Dec. 6th, 2007]  …, the market for remote home health monitoring is expected to generate $225 mln revenue in 2011, up from less than $70 mln in 2006, according to Parks Associates.. [ Sep. 4th, 2007]  According to IDC the identity and access management (IAM) market in Australia and New Zealand (ANZ) … is expected to increase at a compound annual growth rate (CAGR) of 13.1% to reach $189.3 mln by 2012 [ July 26th, 2008].  Accessing the Internet via a mobile device up by 82% in the US, by 49% in Europe, from May 2007 to May 2008 [ July 29th, 2008]

- 8 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Growing importance of embedded systems (2).. but embedded chips form the backbone of the electronics driven world in which we live... they are part of almost everything that runs on electricity [Mary Ryan, EEDesign, 1995] 79% of all high-end processors are used in embedded systems  Foundation for the “post PC era“

- 9 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Structure of the Course “best of” embedded systems course, high-level view Introduction Specification techniques, Models of computation Mapping of applications to platforms High-level optimizations Memory-architecture aware compilation Worst-case execution times & compilers Wrap-up more advanced research material “something for everyone”

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Simplified design flow Specifications Embedded System HW Standard Software, Real- Time Operating Systems Mapping of applications to Platforms Evaluation Testing Optimization of Embedded Systems Application Knowledge Discussed in this course Remaining parts discussed in ES book 

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Books Introduction Specification Techniques, Models of computation Mapping of applications to platforms High-level optimizations Memory-architecture aware compilation Worst-case execution times & compilers Wrap-up

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Schedule of the course TimeMondayTuesdayWednesdayThursdayFriday 09:30- 11:00 1: Orientation, introduction 2: Models of computation + specs 5: Models of computation + specs 9: Mapping of applications to platforms 13: Memory aware compilation 17: Memory aware compilation 11:00 Brief break 11:15- 12:30 6: Lab*: Ptolemy 10: Lab*: Scheduling 14: Lab*: Mem. opt. 18: Lab*: Mem. opt. 12:30Lunch 14:00- 15:20 3: Models of computation + specs 7: Mapping of applications to platforms 11: High-level optimizations* 15: Memory aware compilation 19: WCET & compilers* 15:20Break 15:40- 17:00 4: Lab*: Kahn process networks 8: Mapping of applications to platforms 12: High-level optimizations* 16: Memory aware compilation 20: Wrap-up * Dr. Heiko Falk

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Labs Goal:  Some level of interaction  Improve memorization of material Java-based simulations:  Kahn process networks (TU Dortmund)  Ptolemy (Berkeley)  Scheduling (TU Dortmund) Optimizations  ILP-based optimizations for scratch pads (using lp_solve (TU Eindhoven))

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Oriented? Q&A?

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Embedded systems and ubiquitous computing Ubiquitous computing: Information anytime, anywhere. Embedded systems provide fundamental technology. Communication Technology Optical networking Network management Distributed applications Service provision UMTS, DECT, Hiperlan, ATM © European Commission Embedded Systems Robots Control systems Feature extraction and recognition Sensors/actors A/D-converters Pervasive/Ubiquitous computing Distributed systems Embedded web systems Real-timeDependability Quality ofservice

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Application areas (1)  Automotive electronics  Avionics  Trains  Telecommunication

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Application areas (2)  Medical systems For example: Artificial eye: several approaches, e.g.: Camera attached to glasses; computer worn at belt; output directly connected to the brain, “pioneering work by William Dobelle”. Previously at [ Translation into sound; claiming much better resolution. [ Show movie?

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Application areas (3)  Robotics “Pipe-climber“ Robot “Johnnie“ (Courtesy and ©: H.Ulbrich, F. Pfeiffer, TU München) Show movie of 2-legged robot(s)

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Characteristics of Embedded Systems (1)  Must be dependable, Reliability R(t) = probability of system working correctly provided that is was working at t=0 Maintainability M(d) = probability of system working correctly d time units after error occurred. Availability A(t): probability of system working at time t Safety: no harm to be caused Security: confidential and authentic communication Even perfectly designed systems can fail if the assumptions about the workload and possible errors turn out to be wrong. Making the system dependable must not be an afterthought, it must be considered from the very beginning

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Characteristics of Embedded Systems (2)  Must be efficient Energy efficient Code-size efficient (especially for systems on a chip) Run-time efficient Weight efficient Cost efficient  Dedicated towards a certain application Knowledge about behavior at design time can be used to minimize resources and to maximize robustness  Dedicated user interface (no mouse, keyboard and screen)

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Characteristics of Embedded Systems (3)  Many ES must meet real-time constraints A real-time system must react to stimuli from the controlled object (or the operator) within the time interval dictated by the environment. For real-time systems, right answers arriving too late are wrong. “A real-time constraint is called hard, if not meeting that constraint could result in a catastrophe“ [Kopetz, 1997]. All other time-constraints are called soft. A guaranteed system response has to be explained without statistical arguments

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Real-Time Systems Embedded and Real- Time Synonymous?  Most embedded systems are real-time  Most real-time systems are embedded embedded real-time embedded real-time © Jakob Engblom

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Characteristics of Embedded Systems (4)  Frequently connected to physical environment through sensors and actuators,  Hybrid systems (analog + digital parts).  Typically, ES are reactive systems: “A reactive system is one which is in continual interaction with is environment and executes at a pace determined by that environment“ [Bergé, 1995] Behavior depends on input and current state.  automata model appropriate, model of computable functions inappropriate.

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Characteristics of Embedded Systems (5) Not every ES has all of the above characteristics. Def.: Information processing systems having most of the above characteristics are called embedded systems. Course on embedded systems makes sense because of the number of common characteristics.  ES are underrepresented in teaching and public discussions: “Embedded chips aren‘t hyped in TV and magazine ads...” [Mary Ryan, EEDesign, 1995]

fakultät für informatik informatik 12 technische universität dortmund Examples Some embedded systems from real life

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Smart Beer Glass 8-bit processor Capacitive sensor for fluid level Inductive coil for RF ID activation & power CPU and reading coil in the table. Reports the level of fluid in the glass, alerts servers when close to empty Contact less transmission of power and readings © Jakob Engblom Integrates several technologies:  Radio transmissions  Sensor technology  Magnetic inductance for power  Computer used for calibration Impossible without the computer Meaningless without the electronics

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Smart Welding Machine Electronics control voltage & speed of wire feed Adjusts to operator  kHz sample rate  1000s of decisions/second Perfect weld even for quite clumsy operators Easier-to-use product, but no obvious computer © Jakob Engblom

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Sewing Machine User interface  Embroidery patterns  Touch-screen control ”Smart”  Sets pressure of foot depending on task  Raise foot when stopped New functions added by upgrading the software © Jakob Engblom

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Forestry Machines © Jakob Engblom Networked computer system  Controlling arms & tools  Navigating the forest  Recording the trees harvested  Crucial to efficient work Processors  16-bit processors in a network Tough enough to be “out in the woods”

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Cars Multiple networks  Body, engine, telematics, media, safety Multiple processors  Up to 100  Networked together © Jakob Engblom Functions by embedded processing:  ABS: Anti-lock braking systems  ESP: Electronic stability control  Airbags  Efficient automatic gearboxes  Theft prevention with smart keys  Blind-angle alert systems ... etc...

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 If you want to play Lego mindstorms robotics kit  Standard controller 8-bit processor 64 kB of memory  Electronics to interface to motors and sensors Good way to learn embedded systems © Jakob Engblom

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Quite a number of challenges, e.g. dependability Dependability?  Non-real time protocols used for real-time applications (e.g. Berlin fire department)  Over-simplification of models (e.g. aircraft anti-collision system)  Using unsafe systems for safety-critical missions (e.g. voice control system in Los Angeles; ~ 800 planes without voice connection to tower for > 3 hrs

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Challenges for implementation in hardware  Lack of flexibility (changing standards).  Mask cost for specialized HW becomes very expensive [ tech_articles/MII_COO_NIST_2001.PDF9]  Trend toward implementation in Software

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Challenges for implementation in software If embedded systems will be implemented mostly in software, then why don‘t we just use what software engineers have come up with?

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Importance of Energy Efficiency Courtesy: Philips© Hugo De Man, IMEC, 2007 Efficient software design needed, otherwise, the price for software flexibility cannot be paid. poor design techniques IPE=Inherent power efficiency AmI=Ambient Intelligence GOPs/J

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Software complexity is a challenge Rob van Ommering, COPA Tutorial, as cited by: Gerrit Müller: Opportunities and challenges in embedded systems, Eindhoven Embedded Systems Institute, 2004  Exponential increase in software complexity  In some areas code size is doubling every 9 months [ST Microelectronics, Medea Workshop, Fall 2003] ... > 70% of the development cost for complex systems such as automotive electronics and communication systems are due to software development [A. Sangiovanni-Vincentelli, 1999]

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Challenges for Embedded Software  Dynamic environments  Capture the required behaviour!  Validate specifications  Efficient translation of specifications into implementations!  How can we check that we meet real- time constraints?  How do we validate embedded real- time software? (large volumes of data, testing may be safety-critical)

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 It is not sufficient to consider ES just as a special case of software engineering EE knowledge must be available, Walls between EE and CS must be torn down

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Dortmund? © Google France Netherlands Belgium Germany Czech Republic Poland Luxemburg Denmark England

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 TU Dortmund? One of the largest CS departments in Germany  22 associate/full professors  research and teaching staff:  120 employees  >2000 students © Google

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Summary  Motivation  Definition of embedded systems  Growing importance of embedded systems  Course information  Application areas  Characteristics  Examples  Challenges in embedded system design  TU Dortmund

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2008 Brief break (if on schedule) Q&A?