Fakultät für informatik informatik 12 technische universität dortmund Communication Peter Marwedel Informatik 12 TU Dortmund Germany 2010 年 11 月 23 日 Graphics:

Slides:



Advertisements
Ähnliche Präsentationen
P. Marwedel Informatik 12, U. Dortmund
Advertisements

Peter Marwedel Informatik 12 TU Dortmund Germany
Fakultät für informatik informatik 12 technische universität dortmund Optimizations Peter Marwedel TU Dortmund Informatik 12 Germany 2009/01/17 Graphics:
fakultät für informatik informatik 12 technische universität dortmund Optimizations Peter Marwedel TU Dortmund Informatik 12 Germany 2009/01/10 Graphics:
Embedded System Hardware - Reconfigurable Hardware -
Fakultät für informatik informatik 12 technische universität dortmund Specifications Peter Marwedel TU Dortmund, Informatik 12 Graphics: © Alexandra Nolte,
Peter Marwedel TU Dortmund, Informatik 12
Fakultät für informatik informatik 12 technische universität dortmund Hardware/Software Partitioning Peter Marwedel Informatik 12 TU Dortmund Germany Chapter.
Verbs Used Impersonally With Dative Deutsch I/II Fr. Spampinato.
MPEG-4 3D Inhalterstellung am Beispiel eines 3D-Benutzerhandbuchs für Kfz FV/SLM-Benzler.
Institut AIFB, Universität Karlsruhe (TH) Forschungsuniversität gegründet 1825 Towards Automatic Composition of Processes based on Semantic.
CALPER Publications From Handouts to Pedagogical Materials.
Titelmasterformat durch Klicken bearbeiten Textmasterformate durch Klicken bearbeiten Zweite Ebene Dritte Ebene Vierte Ebene Fünfte Ebene 1 Titelmasterformat.
Universität StuttgartInstitut für Wasserbau, Lehrstuhl für Hydrologie und Geohydrologie Copulas (1) András Bárdossy IWS Universität Stuttgart.
Technische universität dortmund fakultät für informatik informatik 12 Communication Peter Marwedel Informatik 12 TU Dortmund Germany 2012 年 11 月 21 日 These.
Coordinating Conjunctions Why we need them & how to use them deutschdrang.com.
Fakultät für informatik informatik 12 technische universität dortmund Embedded System Hardware Peter Marwedel Informatik 12 TU Dortmund Germany 2008/11/03.
Institut für Angewandte Mikroelektronik und Datentechnik Phase 5 Architectural impact on ASIC and FPGA Nils Büscher Selected Topics in VLSI Design (Module.
1 Bauhaus-Universität Weimar ArchitekturProgrammierung Generative Entwurfsmethoden Processing Grundlagen Professur Informatik in der Architektur.
Synchronization: Multiversion Concurrency Control
Institut für Angewandte Mikroelektronik und Datentechnik Course and contest Results of Phase 4 Nils Büscher Selected Topics in VLSI Design (Module 24513)
Institut für Angewandte Mikroelektronik und Datentechnik Course and Contest Results of Phase 5 Eike Schweißguth Selected Topics in VLSI Design (Module.
Literary Machines, zusammengestellt für ::COLLABOR:: von H. Mittendorfer Literary MACHINES 1980 bis 1987, by Theodor Holm NELSON ISBN
Akkusativ Präpositionen
Institut für Angewandte Mikroelektronik und Datentechnik Results of Phase 4: Layout for ST65 technology by Christoph Niemann Selected Topics.
The influence of spatial variability of polar firn on microwave emission Martin Proksch 1, Henning Löwe 1, Stefanie Weissbach 2, Martin Schneebeli 1 1.
Nachweis von B 0 s -Oszillationen mit dem ATLAS Detektor am LHC B. Epp 1, V.M. Ghete 2, E. Kneringer 1, D. Kuhn 1, A. Nairz 3 1 Institut für Experimentalphysik,
What is a “CASE”? in English: pronouns, certain interrogatives
What is a “CASE”? in English: pronouns, certain interrogatives
type / function / form type of words:
GERMAN WORD ORDER ORDER s. Sentences are made up by placing a variety of words in a specific order. If the order is wrong, the sentence is difficult to.
COMMANDS imperative 1. you (formal): Sie 2. you (familiar plural): ihr
Fakultät für informatik informatik 12 technische universität dortmund Lab 2: Heterogeneous System Modeling in Ptolemy - Session 6 - Peter Marwedel Heiko.
Magnetenzephalogramm, MEG
Gregor Graf Oracle Portal (Part of the Oracle Application Server 9i) Gregor Graf (2001,2002)
© Crown copyright 2011, Department for Education These materials have been designed to be reproduced for internal circulation, research and teaching or.
EUROPÄISCHE GEMEINSCHAFT Europäischer Sozialfonds EUROPÄISCHE GEMEINSCHAFT Europäischer Fonds für Regionale Entwicklung Workpackage 5 – guidelines Tasks.
Berliner Elektronenspeicherring-Gesellschaft für Synchrotronstrahlung m.b.H., Albert-Einstein-Straße 15, Berlin frontend control at BESSY R. Fleischhauer.
Imperfekt (Simple Past) Irregular or strong verbs
Kapitel 2 Grammar INDEX 1.Subjects & Verbs 2.Conjugation of Verbs 3.Subject Verb Agreement 4.Person and Number 5.Present Tense 6.Word Order: Position of.
Embedded System Hardware - Processing -
Memorisation techniques
Word order: 1.In a main clause the VERB is the second idea: Helgakommteben aus der Bäckerei This may not be the second word Meiner Meinung nachsind Hobbys.
On the case of German has 4 cases NOMINATIVE ACCUSATIVE GENITIVE DATIVE.
Standort assurance for companies Industrie- und Handelskammer Lippe zu Detmold 01. Juni 2010 Seite 1 What does the IHK do against the crisis?
Essay structure Example: Die fetten Jahre sind vorbei: Was passiert auf der Almhütte? Welche Bedeutung hat sie für jede der vier Personen? Intro: One or.
What’s the weather like?. Look at the question above Turn it around and you have Das Wetter ist.... The phrase Das Wetter ist.... or Es ist.... can be.
Sentence Structure Connectives
Vorlesung Völkerrecht Diplomatischer Schutz
Jetzt machen Venues aufmachen!!! Geh zu
Synonyms are two or more words belonging to the same part of speech and possessing one or more identical or nearly identical denotational meanings, interchangeable.
Get your Project started
Senseo Wir erweitern die statischen Informationen mit Hilfe von Laufzeitinformationen. Einbindung in IDE resp. JDT.
CERN – TUD – GSI Webmeeting
THE PERFECT TENSE IN GERMAN
Ferrite Material Modeling (1) : Kicker principle
Collaborative Webmeeting November 24th, 2010 Geneve / Darmstadt
Wie viel Uhr ist es? Telling Time.
Was ist die Verbindung hier?
ELECTR IC CARS Karim Aly University of Applied Sciences.
type / function / form type of words:
Official Statistics Web Cartography in Germany − Regional Statistics, Federal and European Elections, Future Activities − Joint Working Party meeting.
CSL211 Computer Architecture
Practical Exercises and Theory
Ich - Projekt Due Monday, September 19..
- moodle – a internet based learning platform
Zhunussova G., AA 81. Linguistic communication, i.e. the use of language, is characteristically vocal and verbal behaviour, involving the use of discrete.
 Präsentation transkript:

fakultät für informatik informatik 12 technische universität dortmund Communication Peter Marwedel Informatik 12 TU Dortmund Germany 2010 年 11 月 23 日 Graphics: © Alexandra Nolte, Gesine Marwedel, 2003 These slides use Microsoft clip arts. Microsoft copyright restrictions apply.

- 2 - technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Embedded System Hardware Embedded system hardware is frequently used in a loop (“hardware in a loop“):  cyber-physical systems

- 3 - technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Communication - Requirements -  Real-time behavior  Efficient, economical (e.g. centralized power supply)  Appropriate bandwidth and communication delay  Robustness  Fault tolerance  Diagnosability  Maintainability  Security  Safety

- 4 - technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Basic techniques: Electrical robustness Single-ended vs. differential signals Voltage at input of Op-Amp positive  '1'; otherwise  '0' Combined with twisted pairs; Most noise added to both wires. ground Local ground

- 5 - technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Evaluation Advantages:  Subtraction removes most of the noise  Changes of voltage levels have no effect  Reduced importance of ground wiring  Higher speed Disadvantages:  Requires negative voltages  Increased number of wires and connectors Applications:  USB, FireWire, ISDN  Ethernet (STP/UTP CAT 5/6 cables)  differential SCSI  High-quality analog audio signals (XLR) © wikipedia

- 6 - technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Communication - Requirements -  Real-time behavior  Efficient, economical (e.g. centralized power supply)  Appropriate bandwidth and communication delay  Robustness  Fault tolerance  Diagnosability  Maintainability  Security  Safety

- 7 - technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Priority-based arbitration of communication media  Bus arbitration (allocation) is frequently priority-based  Communication delay depends on communication traffic of other partherns  No tight real-time guarantees, except for highest priority partner For example, consider a bus Device 0Device 1Device 3Device 2

- 8 - technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Real-time behavior Carrier-sense multiple-access/collision-detection (CSMA/CD, Standard Ethernet) no guaranteed response time. Alternatives:  token rings, token busses  Carrier-sense multiple-access/collision-avoidance (CSMA/CA) WLAN techniques with request preceding transmission Each partner gets an ID (priority). After each bus transfer, all partners try setting their ID on the bus; partners detecting higher ID disconnect themselves from the bus. Highest priority partner gets guaranteed response time; others only if they are given a chance.

- 9 - technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Time division multiple access (TDMA) busses Each communication partner is assigned a fixed time slot. Example: man/jtdma/jtdma.html#classical  Master sends sync  Some waiting time  Each slave transmits in its time slot   variations (truncating unused slots, >1 slots per slave)  TDMA resources have a deterministic timing behavior  TDMA provides QoS guarantees in networks on chips [E. Wandeler, L. Thiele: Optimal TDMA Time Slot and Cycle Length Allocation for Hard Real- Time Systems, ASP-DAC, 2006]

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 FlexRay  Developed by the FlexRay consortium (BMW, Ford, Bosch, DaimlerChrysler, …)  Specified in SDL  Improved error tolerance and time-determinism  Meets requirements with transfer rates >> CAN standard High data rate can be achieved: initially targeted for ~ 10Mbit/sec; design allows much higher data rates  TDMA protocol  Cycle subdivided into a static and a dynamic segment.

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 TDMA in FlexRay Exclusive bus access enabled for short time in each case. Dynamic segment for transmission of variable length information. Fixed priorities in dynamic segment: Minislots for each potential sender. Bandwidth used only when it is actually needed.

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Time intervals in Flexray show flexray animation from dortmund © Prof. Form, TU Braunschweig, 2007  Microtick (µt) = Clock period in partners, may differ between partners  Macrotick (mt) = Basic unit of time, synchronized between partners (=r i  µt, r i varies between partners i)  Slot=Interval allocated per sender in static segment (=p  mt, p: fixed (configurable))  Minislot = Interval allocated per sender in dynamic segment (=q  mt, q: variable) Short minislot if no transmission needed; starts after previous minislot.  Cycle = Static segment + dynamic segment + network idle time

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Structure of Flexray networks Bus guardian protects the system against failing processors, e.g. so-called “babbling idiots” 75&com=formular_suche_treffer&markierung=flexray

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Communication: Hierarchy Inverse relation between volume and urgency quite common: Sensor/actuator busses

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Other busses  Sensor/actuator busses: connecting sensors/actuators, low rates  Field busses  CAN: Controller bus for automotive  LIN: low cost bus for interfacing sensors/actuators in the automotive domain  MOST: Multimedia bus for the automotive domain (not a field bus)  MAP: bus designed for car factories.  Process Field Bus (Profibus): used in smart buildings  The European Installation Bus (EIB): bus designed for smart buildings; CSMA/CA; low data rate.  IEEE 488: Designed for laboratory equipment.  Attempts to use standard Ethernet. Timing predictability an issue.

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Wireless communication: Examples  IEEE a/b/g/n  UMTS; HSPA  DECT  Bluetooth  ZigBee Timing predictability of wireless communication?

fakultät für informatik informatik 12 technische universität dortmund D/A-Converters Peter Marwedel Informatik 12 TU Dortmund Germany

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Embedded System Hardware Embedded system hardware is frequently used in a loop (“hardware in a loop“):  cyber-physical systems

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Kirchhoff‘s junction rule Kirchhoff‘s Current Law, Kirchhoff‘s first rule Kirchhoff’s Current Law: At any point in an electrical circuit, the sum of currents flowing towards that point is equal to the sum of currents flowing away from that point. (Principle of conservation of electric charge) i 1 + i 2 + i 4 = i 3 Formally, for any node in a circuit: Example: i 1 + i 2 - i 3 + i 4 =0 Count current flowing away from node as negative. [Jewett and Serway, 2007].

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Kirchhoff's loop rule Kirchhoff‘s Voltage Law, Kirchhoff's second rule The principle of conservation of energy implies that: The sum of the potential differences (voltages) across all elements around any closed circuit must be zero Example: Formally, for any loop in a circuit: Count voltages traversed against arrow direction as negative V 1 -V 2 -V 3 +V 4 =0 V 3 =R 3  I 3 if current counted in the same direction as V 3 V 3 =-R 3  I 3 if current counted in the opposite direction as V 3 [Jewett and Serway, 2007].

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Operational Amplifiers (Op-Amps) Operational amplifiers (op-amps) are devices amplifying the voltage difference between two input terminals by a large gain factor g - + V out V-V- V+V+ op-amp ground Supply voltage V out =(V + - V - ) ∙ g For an ideal op-amp: g   (In practice: g may be around ) Op-amp in a separate package (TO-5) [wikipedia] High impedance input terminals  Currents into inputs  0

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Op-Amps with feedback V out = - g ∙V - (op-amp feature) I∙R 1 +V out -V - =0 (loop rule)  I∙R g ∙V - -V - =0  (1+g) ∙V - = I∙R 1 In circuits, negative feedback is used to define the actual gain - + V out V-V- op-amp ground V1V1 R1R1 R Due to the feedback to the inverted input, R 1 reduces voltage V -. To which level? I V - is called virtual ground: the voltage is 0, but the terminal may not be connected to ground loop

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Digital-to-Analog (D/A) Converters Various types, can be quite simple, e.g.:

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Loop rule: Current ~ no. represented by x  Junction rule: In general:  I ~ nat (x), where nat(x): natural number represented by x;

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Hence: Output voltage ~ no. represented by x Op-amp turns current I ~ nat (x) into a voltage ~ nat (x) Loop rule*: Junction rule°:  From the previous slide *°

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Output generated from signal e 3 ( t ) * Assuming “zero-order hold” Possible to reconstruct input signal? *

fakultät für informatik informatik 12 technische universität dortmund Sampling Theorem Peter Marwedel Informatik 12 TU Dortmund Germany

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Possible to reconstruct input signal?  Assuming Nyquist criterion met  Let {t s }, s =...,−1,0,1,2,... be times at which we sample g ( t )  Assume a constant sampling rate of 1/p s  ( ∀ s: p s = t s + 1 − t s ).  According sampling theory, we can approximate the input signal as follows: [Oppenheim, Schafer, 2009] Weighting factor for influence of y ( t s ) at time t

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Weighting factor for influence of y ( t s ) at time t No influence at t s+n

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Contributions from the various sampling instances

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 (Attempted) reconstruction of input signal * * Assuming 0- order hold

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 How to compute the sinc( ) function?  Filter theory: The required interpolation is performed by an ideal low-pass filter (sinc is the Fourier transform of the low-pass filter transfer function) fsfs f s / 2 Filter removes high frequencies present in y ( t )

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 How precisely are we reconstructing the input?  Sampling theory: Reconstruction using sinc () is precise  However, it may be impossible to really compute z ( t ) as indicated ….

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Limitations  Actual filters do not compute sinc( ) In practice, filters are used as an approximation. Computing good filters is an art itself!  All samples must be known to reconstruct e ( t ) or g ( t ).  Waiting indefinitely before we can generate output! In practice, only a finite set of samples is available.  Actual signals are never perfectly bandwidth limited.  Quantization noise cannot be removed.

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Output Output devices of embedded systems include  Displays: Display technology is extremely important. Major research and development efforts  Electro-mechanical devices: these influence the environment through motors and other electro-mechanical equipment. Frequently require analog output.

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Embedded System Hardware Embedded system hardware is frequently used in a loop (“hardware in a loop“):  cyber-physical systems

fakultät für informatik informatik 12 technische universität dortmund Actuators Peter Marwedel Informatik 12 TU Dortmund Germany

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Actuators Huge variety of actuators and output devices, impossible to present all of them. Microsystems motors as examples (© MCNC): (© MCNC)

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Actuators (2) Courtesy and ©: E. Obermeier, MAT, TU Berlin

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Secure Hardware  Security needed for communication and storage  Demand for special equipment for cryptographic keys  To resist side-channel attacks like measurements of the supply current or Electromagnetic radiation. Special mechanisms for physical protection (shielding, sensor detecting tampering with the modules).  Logical security, using cryptographic methods needed.  Smart cards: special case of secure hardware Have to run with a very small amount of energy.  In general, we have to distinguish between different levels of security and knowledge of “adversaries”

technische universität dortmund fakultät für informatik  p.marwedel, informatik 12, 2010 Summary Hardware in a loop  Sensors  Discretization  Information processing Importance of energy efficiency, Special purpose HW very expensive, Energy efficiency of processors, Code size efficiency, Run-time efficiency Reconfigurable Hardware  Communication  D/A converters  Sampling theorem  Actuators