Technische universität dortmund fakultät für informatik informatik 12 Embedded System Design: Embedded Systems Foundations of Cyber-Physical Systems Peter.

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 Resource Access Protocols Peter Marwedel Informatik 12 TU Dortmund Germany 2008/12/06.
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 Imperative model of computation 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 12 Graphics: ©
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: ©
Fakultät für informatik informatik 12 technische universität dortmund Standard Optimization Techniques Peter Marwedel Informatik 12 TU Dortmund Germany.
Fakultät für informatik informatik 12 technische universität dortmund SDL Peter Marwedel TU Dortmund, Informatik 12 Graphics: © Alexandra Nolte, Gesine.
Technische universität dortmund fakultät für informatik informatik 12 Discrete Event Models Peter Marwedel TU Dortmund, Informatik 12 Germany
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.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Objectives To introduce software project management and to describe its distinctive characteristics To discuss project planning and the planning process.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Making the System Operational
fakultät für informatik informatik 12 technische universität dortmund Optimizations - Compilation for Embedded Processors - Peter Marwedel TU Dortmund.
(Introduction to) Embedded Systems
Peter Marwedel TU Dortmund, Informatik 12
Fakultät für informatik informatik 12 technische universität dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund,
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design 1.
Configuration management
Software change management
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 5 Slide 1 Project management.
Fact-finding Techniques Transparencies
Testing Workflow Purpose
ABC Technology Project
Chapter 4 Gates and Circuits.
Chapter 4 Gates and Circuits.
15-1 Copyright © 2013 Pearson Education, Inc. publishing as Prentice Hall Chapter 15 Money and Banking.
Mafijul Islam, PhD Software Systems, Electrical and Embedded Systems Advanced Technology & Research Research Issues in Computing Systems: An Automotive.
Chapter 4 Gates and Circuits.
Database System Concepts and Architecture
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software processes 2.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 5 Slide 1 Project management.
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
25 seconds left…...
CSTA K-12 Computer Science Standards (rev 2011)
Technische universität dortmund fakultät für informatik informatik 12 Embedded System Design: Embedded Systems Foundations of Cyber-Physical Systems Jian-Jia.
©Ian Sommerville 1995/2000 (Modified by Spiros Mancoridis 1999) Software Engineering, 6th edition. Chapters 1,3 Slide 1 Software Engineering Software Engineering.
Technische universität dortmund fakultät für informatik informatik 12 Embedded Systems Jian-Jia Chen (slides are based on Peter Marwedel) TU Dortmund,
We will resume in: 25 Minutes.
1 Unit 1 Kinematics Chapter 1 Day
Statistically-Based Quality Improvement
Mani Srivastava UCLA - EE Department Room: 6731-H Boelter Hall Tel: WWW: Copyright 2003.
Mani Srivastava UCLA - EE Department Room: 6731-H Boelter Hall Tel: WWW: Copyright 2003.
How Cells Obtain Energy from Food
Petri Nets Jian-Jia Chen (slides are based on Peter Marwedel)
Technische universität dortmund fakultät für informatik informatik 12 Specifications, Modeling, and Model of Computation Jian-Jia Chen (slides are based.
Technische universität dortmund fakultät für informatik informatik 12 Discrete Event Models Jian-Jia Chen (slides are based on Peter Marwedel) TU Dortmund,
Technische universität dortmund fakultät für informatik informatik 12 Limits of von-Neumann (thread-based) computing Jian-Jia Chen (Slides are based on.
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 Test Peter Marwedel TU Dortmund Informatik 12 Germany Graphics: © Alexandra Nolte,
Fakultät für informatik informatik 12 technische universität dortmund Embedded Systems with Emphasis on the Exploitation of the Memory Hierarchy Graphics:
Define Embedded Systems Small (?) Application Specific Computer Systems.
Fakultät für informatik informatik 12 technische universität dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund,
Embedded Systems Graphics: © Alexandra Nolte, Gesine Marwedel, 2003 Peter Marwedel.
EMBEDDED SYSTEMS FOUNDATIONS OF CYBER-PHYSICAL SYSTEMS PETER MARWEDEL Embedded System Design.
Evaluation and Validation Peter Marwedel TU Dortmund, Informatik 12 Germany 2013 年 12 月 02 日 These slides use Microsoft clip arts. Microsoft copyright.
© 2012 xtUML.org Bill Chown – Mentor Graphics Model Driven Engineering.
Technische universität dortmund fakultät für informatik informatik 12 Cyber-Physical System Fundamentals Peter Marwedel TU Dortmund, Informatik /04/26.
Standard Optimization Techniques
Evaluation and Validation
Presentation transcript:

technische universität dortmund fakultät für informatik informatik 12 Embedded System Design: Embedded Systems Foundations of Cyber-Physical Systems Peter Marwedel TU Dortmund, Informatik 12 © Springer, These slides use Microsoft clip arts. Microsoft copyright restrictions apply.

technische universität dortmund fakultät für informatik informatik 12 Common characteristics Graphics: © Alexandra Nolte, Gesine Marwedel, 2003

- 3 - technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Dependability CPS/ES 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 after- thought, it must be considered from the very beginning

- 4 - technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Efficiency CPS & ES must be efficient Code-size efficient (especially for systems on a chip) Run-time efficient Weight efficient Cost efficient Energy efficient © Graphics: Microsoft, P. Marwedel, M. Engel, 2011

- 5 - technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Importance of Energy Efficiency © Hugo De Man (IMEC)Philips, 2007 Efficient software design needed, otherwise, the price for software flexibility cannot be paid. inherent power efficiency of silicon

- 6 - technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 CPS & ES Hardware CPS & ES hardware is frequently used in a loop (hardware in a loop): Cyber-physical systems (!) © Graphics: Microsoft, P. Marwedel, 2011

- 7 - technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Real-time constraints CPS 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. © Graphics: Microsoft 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 [Kopetz, 1997]. t execute

- 8 - technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Real-Time Systems & CPS CPS, ES and Real-Time Systems synonymous? For some embedded systems, real-time behavior is less important (smart phones) For CPS, real-time behavior is essential, hence RTS CPS CPS models also include a model of the physical system

- 9 - technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Reactive & hybrid systems Typically, CPS 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. Hybrid systems (analog + digital parts). © Graphics: Microsoft, P. Marwedel, 2011

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Dedicated systems 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) Situation is slowly changing here: systems become less dedicated © Graphics: P. Marwedel, 2011

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Security Defending against Cyber crime (Annual U.S. Cybercrime Costs Estimated at $100 Billion; …[Wall Street Journal, ]) Cyber attacks ( Stuxnet) Cyber terrorism Cyber war (Cyber-Pearl-Harbor [Spiegel Online, ]) Connectivity increases threats entire production chains can be affected local islands provide some encapsulation, but contradict idea of global connectedness

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Dynamics Frequent change of environment

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Underrepresented in teaching Not every CPS & 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 foundations of CPS makes sense because of the number of common characteristics. CPS & ES are underrepresented in teaching and public discussions:Embedded chips arent hyped in TV and magazine ads... [Mary Ryan, EEDesign, 1995] © Graphics: Microsoft

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Characteristics lead to corresponding challenges Dependability Efficiency In particular: Energy efficiency Hardware properties, physical environment Meeting real time requirements …. © Graphics: P. Marwedel, 2011

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Challenges for implementation in hardware Early embedded systems frequently implemented in hardware (boards) Mask cost for specialized application specific integrated circuits (ASICs) becomes very expensive (M$ range, technology-dependent) Lack of flexibility (changing standards). Trend towards implementation in software (or possibly FPGAs, see chapter 3)

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Challenges for implementation in software If CPS/ES will be implemented mostly in software, then why dont we just use what software engineers have come up with?

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 It is not sufficient to consider CPS/ES as a special case of SW engineering CS Physics Knowledge from many areas must be available, Walls between disciplines must be torn down EE medicine, statistics, ME, biology

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Challenges for CPS/ES 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) © Graphics: P. Marwedel, 2011

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 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 ° R. Kommeren, P. Parviainen: Philips experiences in global distributed software development, Empir Software Eng. (2007) 12: Exponential increase in software complexity... > 70% of the development cost for complex systems such as automotive electronics and communication systems are due to software development [A. Sangiovanni-Vincentelli, 1999] YearSize kB kB MB YearSize KB kB MB MB Software in a TV set Source 1*: Source 2°: 10x per 6-7 years

technische universität dortmund fakultät für informatik informatik 12 Design flows Graphics: © Alexandra Nolte, Gesine Marwedel, 2003

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Hypothetical design flow Specification ES-hardware System software (RTOS, middleware, …) Test * Evaluation & Validation (energy, cost, performance, …) Optimization Application mapping Application Knowledge Design repository Generic loop: tool chains differ in the number and type of iterations * Could be integrated into loop Design

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Iterative design (1): - After unrolling loop - Example: SpecC tools

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Iterative design (2): - After unrolling loop - Example: V-model Software architecture System architecture Requirement analysis System design Software design Unit tests Integration testing System integration Acceptance & use Skipping some explicit repository updates; very late integration, problems may be missed..

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Iterative design (3): - Gajskis Y-chart -

technische universität dortmund fakultät für informatik P.Marwedel, Informatik 12, 2013 Summary Common characteristics Challenges (resulting from common characteristics) Design Flows