ESEVO The Time-Triggered Architecture Bernhard Frmel based on - - PowerPoint PPT Presentation

esevo the time triggered architecture
SMART_READER_LITE
LIVE PREVIEW

ESEVO The Time-Triggered Architecture Bernhard Frmel based on - - PowerPoint PPT Presentation

ESEVO The Time-Triggered Architecture Frmel ESEVO The Time-Triggered Architecture Bernhard Frmel based on slides by Hermann Kopetz, Christian El-Salloum, and Armin Wasicek. Institute of Computer Engineering Vienna University of


slide-1
SLIDE 1

ESEVO The Time-Triggered Architecture Frömel

ESEVO The Time-Triggered Architecture

Bernhard Frömel

based on slides by Hermann Kopetz, Christian El-Salloum, and Armin Wasicek. Institute of Computer Engineering Vienna University of Technology

  • 182.722 Embedded Systems Engineering LU

November, 2014

1/59

slide-2
SLIDE 2

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Part I

The Time-Triggered Architecture [3][5]

2/59

slide-3
SLIDE 3

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Technological Paradise

”[In a] Technological Paradise no acts of God can be permited and everything happens according to the blueprints.” [Hannes Alfven]1. We are not living in a technology paradise!

1Nobel laureate

3/59

slide-4
SLIDE 4

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Systems, Subsystems, and Components [1]

◮ System: An entity that is capable of interacting with its

environment and may be sensitive to the progression of time.

◮ Environment of a System: The entities and their actions

in the Universe of Discourse (UoD) that are not part of a system but have the capability to interact with the system.

◮ System Boundary: A dividing line between two systems or

between a system and its environment.

◮ Subsystem: A subordinate system that is part of an

encompassing system.

◮ Component: A subsystem of a system, the internal

structure of which is of no interest.

◮ Cyber-Physical System (CPS): A system consisting of a

computer system (the cyber system), a controlled object (a physical system) and possibly of interacting humans.

◮ Real-time system: A computer system which must

produce value-correct results within time-constraints.

4/59

slide-5
SLIDE 5

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Architectures and Frameworks [1]

◮ System Architecture: The blueprint of a design that

establishes the overall structure, the major building blocks and the interfaces among these major building blocks and the environment.

◮ Architectural Style: The set of explicit or implicit rules and

conventions that determine the structure and representation of the internals of a system, its data and protocols.

5/59

slide-6
SLIDE 6

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Interface [1]

◮ Interface: A point of interaction of a system with another

system or with the system environment.

◮ Behavior: The timed sequence of the effects of input and

  • utput actions that can be observed at an interface of a

system.

◮ Deterministic Behavior: A system behaves

deterministically if, given an initial state at a defined instant and a set of future timed inputs, the future states, the values and instants of all future outputs are entailed.

◮ Service: The intended behavior of a system. 6/59

slide-7
SLIDE 7

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Time [1]

◮ Time: A continuous measurable physical quantity in which

events occur in a sequence proceeding from the past to the present to the future.

◮ Instant: A cut of the timeline. ◮ Interval: A section of the timeline between two instants. ◮ Event: A happening [i.e., change of state] on the timeline. 7/59

slide-8
SLIDE 8

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Data and State [1]

◮ State: The state of a system at a given instant is the

totality of the information from the past that can have an influence on the future behaviour of a system.

◮ Information: A proposition about the state of or an action

in the world.

8/59

slide-9
SLIDE 9

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Communication [1]

◮ Message: A data structure that is formed for the purpose

  • f the timely exchange of information among computer

systems.

◮ Channel: A logical or physical link that transports

information among systems at their connected interfaces.

◮ Protocol: The set of rules that govern a communication

action.

9/59

slide-10
SLIDE 10

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

What is a Component?

”It is much easier to build a wall with bricks than with stones.”[Kopetz?]

◮ Component is a building block for the (ideally side-effect

free) construction of larger systems.

◮ Self-contained hardware-software unit that has behavior

and state (not software alone!).

◮ Has access to a global sparse time base. ◮ Communicates with its environment solely over its

(external) interfaces by exchange of messages. Purpose: Components process information.

10/59

slide-11
SLIDE 11

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Data versus Information

◮ Data (e.g., a bit pattern) represents information. ◮ Information can only be retrieved if an explanation is

either explicitly or implicitly (context, shared ontology) available.

◮ Mismatch problem: systems adhering to different

architectural styles interpret data differently (e.g., degrees Celsius vs. degrees Fahrenheit).

◮ Concept of Itom [4]: An Itom (Information Atom) is a tuple

consisting of data and the associated explanation of the data.

◮ Open research: self-describing data, machine interpretable

explanations that can be used for gateway components.

◮ By the way: what is information? ◮ Information: A proposition about the state of or an action

in the world.

11/59

slide-12
SLIDE 12

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Sparse Global Time

◮ Problem: agreement on time and order of observations

  • riginating from different components.

◮ Establishment of consistent order in asynchronous setting

difficult.

◮ Global time by local clock synchronization

◮ Reasonableness condition: Granule G of global clock must

be larger than precision Π of clock synchronized components.

◮ π/∆-precedence: Events only occur within interval π, but

not in ∆.

◮ π/∆ sparse global time

◮ Enforced/agreed π/∆-precedence: interval of activity,

interval of silence

◮ Exam question (?): Is a 1/4 sparse time-base sufficient as a

consistent2 global-time base?

2Every component that has access to the sparse global time-base arrives

at the same temporal order of time-stamped observations, regardless which component has observed and time-stamped a observation. 12/59

slide-13
SLIDE 13

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Interfaces of a Component

component

debug local input/output linking config./planning

technology independent interfaces technology dependent interfaces ◮ One interface per purpose ◮ External interfaces

◮ Linking Interface (LIF): Offers component’s service to other

components

◮ Utility Interfaces: Configuration/Planning Interface,

Diagnosis Interface, Local I/O Interface

◮ Linking Interface (LIF) as a boundary:

◮ Requires memory to store and check message for validity

before it passes interface

◮ Event messages: queue, State message: shadowed

memory (memory where two messages fit such that one message is always consistent)

13/59

slide-14
SLIDE 14

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Message Classification

Property Explanation Antonym valid A message is valid if its checksum and contents are in agreement. invalid checked A message is checked at source (or, in short, checked) if it passes the output assertion. not checked permitted A message is permitted with respect to a receiver if it passes the input asser- tion of that receiver. not permitted timely A message is timely if it is in agree- ment with the temporal specification. untimely value-correct A message is value-correct if it is in agreement with the value specifica- tion. not value-correct correct A message. is correct if it is both timely and value-correct. incorrect insidious A message is insidious if it is permitted but incorrect. not insidious

14/59

slide-15
SLIDE 15

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Interface Ports

◮ Ports are communication channel endpoints for messages:

input and output ports.

◮ Port properties (e.g., message name, message length,

direction, temporal constraints, ...) determine channel properties (e.g., max. jitter, latencies, ...).

◮ In interfaces with memory a port can be modeled as an

inner port and a matching outer port:

◮ Inner Port: access point of interface memory for

component.

◮ Outer Port: access point of interface memory for

communication system.

◮ Inner and outer ports may adhere to different protocols.

◮ Interface may have many ports where communication

actions may occur concurrently.

◮ However: no concurrency at a single port. ◮ An output message can only depend on input messages

that have been read at an earlier instant.

15/59

slide-16
SLIDE 16

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Information Push versus Information Pull

Information Push

◮ Producer pushes

information to consumer

◮ Examples: interrupt ◮ For reads: disruptive,

because control delegated to environment

◮ For writes: natural,

because control remains within component Information Pull

◮ Consumer requests

information

◮ Examples: email ◮ For reads: natural,

because control remains within component

◮ For writes: disruptive,

because control delegated to environment What would you prefer for real-time systems? It depends on whether you are producing or consuming information!

◮ Input ports ⇒ Information pull ◮ Output ports ⇒ Information push 16/59

slide-17
SLIDE 17

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Elementary versus Composite Interfaces

Consider unidirectional data flow from sender to receiver component. Elementary Interface

◮ Unidirectional control

flow.

◮ Sender remains

independent of receiver.

◮ Example: Satellite-based

TV Composite Interface

◮ Bidirectional control flow. ◮ Sender dependent from

receiver.

◮ Example: TCP/IP 17/59

slide-18
SLIDE 18

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Temporal Firewall

Desired control flow semantics of interfaces for real-time components:

◮ Information consuming component can pull information. ◮ Information producing component can push information. ◮ No control flow dependencies between sender and

receiver. An interface is a temporal firewall if it prohibits external control on the component.

Clock Receiver Component CNI Memory Sender Component CNI Memory Time-Triggered Communication System Information Pull Information Push

Control Flow Information Flow

If an interface is not a temporal firewall, then back-propagation

  • f faults possible!

18/59

slide-19
SLIDE 19

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

LIF Specification

◮ Precise description of messages w.r.t. value und time

domain.

◮ Agnostic of concrete component implementation

technology.

◮ Component can be used solely by its LIF specification

without knowledge about its internals.

◮ Allow for phase-alignment of computation and

communication actions s.t. a RT transaction can complete in same cycle (cf. modeling of time).

19/59

slide-20
SLIDE 20

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Principles of the TTA Architectural Style

◮ Abstraction: Component as basic structural,

computational and design unit determined by interface

  • specification. What about faults?

◮ Separation of Concerns: Disentangled functions: e.g.,

computational and communication activities separated s.t. computation subsystems and communication subsystems can be developed independently.

◮ Causality: Deterministic behavior of core services to

establish causal chain between cause and effects.

◮ Segmentation: Temporal separation of complex behavior

– wherever possible. Sequential behavior more simple than concurrent.

◮ Independence: Interdependence of architectural

elements as minimal as possible.

◮ Observability: Side-effect free external observation of

components.

◮ Consistent Time: Establish system-wide consistent

temporal relations and temporal distances among events.

20/59

slide-21
SLIDE 21

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Architectural Style

Complexity management, recursive component concept, and coherent communication

◮ Fault-tolerant sparse global time-base ◮ Real-time transactions spanning across multiple

components have guaranteed end-to-end temporal properties.

◮ Components can be integrated to form hierarchical

structures

◮ Single mechanism of component interaction which is

independent of component location

21/59

slide-22
SLIDE 22

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Development Process

  • 1. System design by interface specification which determines

how components can interact.

  • 2. Node design according to interface specification

22/59

slide-23
SLIDE 23

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

MARS

◮ ≈ 1980s: Few skilled engineers developed systems where

minor changes required expensive readjustments/testing (engineering by intuition)

◮ Risk of failing to deliver required performance during rare

event scenarios

◮ Project MAintainable Real-time System (MARS) started in

1979, TU Berlin Objective: Strong conceptual basis, constructive methods for systematic design and maintenance of RT systems

◮ First prototype in 1982 showed that more fundamental

research was required

◮ In 1983 MARS project moved to TU Vienna where a second

prototype was developed: The Rolling Ball on MARS:

http://pan.vmars.tuwien.ac.at/mars/

◮ Major achievement: Clock Synchronization Unit (CSU),

VLSI, fault tolerant

23/59

slide-24
SLIDE 24

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Further Research

◮ Academic research success lead to follow up projects ◮ Dependable Embedded COmponents and Systems

(DECOS), 2004–2007

◮ Time-Triggered Communication Architecture for Robotic

systems (TTCAR), 2005–2008

◮ Time-Triggered System-on-Chip (TT-SoC) 2007–2009 ◮ GENeric Embedded System Platform (GENESYS) 2008–2009 ◮ INDustrial EXploitation of the genesYS cross-domain

architecture (INDEXYS), 2009–2012

◮ ARTEMIS CROSS-Domain architecture (ACROSS),

2010–2013

24/59

slide-25
SLIDE 25

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Industrial Exploitation

◮ Industrial TTA prototype of a fault-tolerant brake-by-wire

system

◮ In 1998 the TU Vienna spin-off TTTech3 has been founded

◮ Airbus A380 (TTP/C based cabin pressure control system) ◮ Boeing 787 ”Dreamliner” (TTP/C) ◮ AUDI A8 premium car (FlexRay-based data communication) ◮ NASA Orion program (TTEthernet) ◮ ...

3http://tttech.com

25/59

slide-26
SLIDE 26

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

GENESYS, a Generic Cross-Domain Architecture

◮ Many embedded systems challenges are identical in

different application domains

◮ Composability: Reuse of components ◮ Robustness: Reduce system fragility ◮ Dependability (incl. Security) ◮ Energy efficiency ◮ Predictability (temporal!)

◮ Integration of systems of different domains

◮ Access car/airplane/medical device/...with smart phone

◮ Economies of scale w.r.t. semiconductor industry ◮ Unified development methodology 26/59

slide-27
SLIDE 27

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

ACROSS, an Embedded MPSoC Implementation of GENESYS Reference Architecture

◮ Multi-core scalable w.r.t. computational power. ◮ Multi-core running at lower clock frequency more energy

efficient than single-core running at high clock frequency.

◮ Heterogeneous cores can be tailored to specific

functionalities of an embedded system (e.g., security cores, video encoders/decoders, ...).

◮ Integration of multiple cores in a single chip reduces

number of wires and connectors. What’s the benefit?

◮ Potential performance gain in embedded applications

◮ What about Amdahl’s law?

S(n) = 1 B + 1

n (1 − B), B .. strictly serial fraction.

27/59

slide-28
SLIDE 28

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Potential Performance Gain in Embedded Applications

However, typical embedded applications consists of many concurrently and independently operating subsystems.

28/59

slide-29
SLIDE 29

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Why not use existing MPSoCs?

◮ Classified as ”highly complex microcontrollers” (EASA,

FAA) ⇒ High impact on certification efforts!

◮ No temporal determinism, because optimized for fast

average execution and too complex to analyze.

◮ Instruction reordering, data caches, ...

◮ Insufficient temporal and spatial isolation of concurrently

executing independent functions.

◮ Shared resources (e.g., caches, I/O, power management,

...).

◮ Especially a problem, if independent functions have

different criticality (Safety Integrity Level). Why? In case of insufficiently isolated, multiple safety functions with different SLI requirements, highest must be used for all.

29/59

slide-30
SLIDE 30

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

Objectives of ACROSS

◮ Provide heterogeneous MPSoC architecture that enables

certification for highest criticality classes (1 FIT).

◮ Construction of systems that are temporally predictable. ◮ Complexity management by allowing for independent

development of subsystems (prevent non-intended interference).

◮ Enable mixed-criticality integration (prevent error

propagation between subsystems). ACROSS has been implemented on top of the TTSoC Architecture (see later).

30/59

slide-31
SLIDE 31

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

AMADEOS, 2013 – 2016

Architecture for Multi-criticality Agile Dependable Evolutionary Open System-of-Systems

◮ Time-Aware SoSs, Availability of a Sparse Global Time ◮ Emergent phenomena ◮ Dynamicity ◮ Evolution ◮ Smartgrid Usecase 31/59

slide-32
SLIDE 32

ESEVO The Time-Triggered Architecture Frömel

Concepts Component The Time- Triggered Architecture TTA in Research and Industry Current Research

AMADEOS, 2013 – 2016

Challenges:

◮ Conceptual model ◮ Information transfer ◮ Interface design Constituent System A RUMI RUPI Constituent System B RUMI RUPI

Stigmergic Channels Cyber Channels I1 I1 I2 I2 I3 I4 I3 I4

Physical Environment Cyber-Space

synchronized

32/59

slide-33
SLIDE 33

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Part II

An Application Development Approach for the Time-Triggered System-on-Chip Architecture [6][7][2]

33/59

slide-34
SLIDE 34

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Motivation

◮ Time-Triggered Architecture (TTA) for building dependable

distributed component-based Systems-on-Chips.

◮ Developing applications for the Time-Triggered

System-on-Chip (TTSoC) Architecture challenging.

◮ Existing work ”solves” this problem only in theory. ◮ ⇒ Strong application development approach key to make

the TTSoC Architecture and other TTA-based architectures accessible for research, education and industry.

34/59

slide-35
SLIDE 35

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

The TTSoC Architecture

distributed application A distributed application B

Time-Triggered Network-on-Chip (TTNoC) Interconnect

Resource Management Authority (RMA) Diagnostic Unit (DU) user component 1 user component 2 TTE gateway user component 5 user component 4 user component 3 TTE

35/59

slide-36
SLIDE 36

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

component clock domain TTNoC interconnect (own clock domain) fragment switch TISS control registers global time base PDS & routing cfg TTNoC access ctrl component port memory PI CI NI TTNoC

36/59

slide-37
SLIDE 37

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

The TTSoC Architecture

◮ Components attached to TTNoC Interconnect. ◮ TTNoC Interconnect provides Encapsulated

Communication Channels (ECCs) adhering to the Pulsed Data Stream (PDS) paradigm.

◮ Architectural elements Resource Management Authority

(RMA) and TTNoC Interconnect form trusted subsystem

◮ provide and controls shared NoC resources. ◮ RMA responsible for dynamic reconfiguration.

◮ Diagnostic Unit (DU) monitors and validates behavior of

distributed applications.

◮ Time-Triggered Ethernet (TTE) for off-chip communication. ◮ User components form distributed applications. 37/59

slide-38
SLIDE 38

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Model-based Development Process

Platform Independent Model Abstract Application Model Platform Specific Model Physical Allocation Model Fully-Specified Interface Model Macro FIM Uniform FIM

38/59

slide-39
SLIDE 39

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Recursive Component Concept

Applied a recursive component concept to TTSoC Architecture:

◮ Components can contain other components. ◮ Gateways can establish links between components.

...

GW

...

GW

...

GW

⇒ Recursive component concept avoids special cases in model

transformations.

39/59

slide-40
SLIDE 40

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Recursive Component Concept Examples

host component TT-OS with VCRE

TTNoC Interconnect

Virtual Interconnect virtual component (task) TTNoC Interconnect gateway

(a) Virtual Components

fast clock slow clock

component component component component component gateway component component

Low Speed TTNoC Interconnect High Speed TTNoC Interconnect

component

(b) NoC Bandwidth and Power Scaling

40/59

slide-41
SLIDE 41

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Virtual Components

◮ Implemented Time-Triggered Operating System for Virtual

Components (TTOSVC) for

◮ Posix-compliant library (debugging), ◮ Leon 3 (Sparcv8 softcore CPU), and ◮ Nios II (Altera softcore CPU).

◮ Implemented an execution environment for virtual

components:

◮ For TTOSVC and Linux kernel based operating systems. ◮ Consists of set of libraries and callbacks for virtual

components.

◮ Establishes Virtual Interconnect to enable component

interaction.

41/59

slide-42
SLIDE 42

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Topology Invariant Scheduling of PDSes in the TTNoC Interconnect

crossing routes

(0,0)

I O O I O I I O

(1,0)

I O O I O I I O

(2,0)

I O O I O I I O

(0,1)

I O O I O I I O

(1,1)

I O O I O I I O

(2,1)

I O O I O I I O

(0,2)

I O O I O I I O

(1,2)

I O O I O I I O

(2,2)

I O O I O I I O

1 2 3 collision bidirectional routes ◮ Use of Dijkstra algorithm and its weight function to find

valid routes in NoC.

◮ Implemented in C and deployed for dynamic resource

management on RMA.

42/59

slide-43
SLIDE 43

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Service-Oriented Application Development Approach

◮ System under development represented as models at

different abstraction levels.

◮ Platform executable model derived by model

transformations.

◮ Service is container for behavior and non-functional

properties.

◮ Service decomposition gives service dependency tree that

captures service interaction and guides definition of message-based Linking Interface (LIF).

◮ Mapping of services to components defines LIF of

component.

43/59

slide-44
SLIDE 44

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Design Flow

derive services from requirements decompose services to service dependency tree refine services OR use OEM services map services to components OR use OEM components allocate platform components conforming to UFIM instantiate physical communication channels (scheduling)

Platform Independent Model Macro Fully- Specified Interface Model (MFIM) Platform Specific Model

Tools

elaborate macros (e.g., resolve communication channels, TMR, …)

Uniform Fully Specified Interface Model (UFIM) Platform Allocation Model (PAM)

Tools Skill Skill Skill Skill Skill

Abstract Application Model (AAM) Time-Triggered Architecture Agnostic Time-Triggered Architecture Specific Platform Model (PM) UFIM-PM allocation

44/59

slide-45
SLIDE 45

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Towards MFIM

decomposition (e.g., S1) R1 R2 Rn S1 S2 Sm . . . . S1 S1,1 S1,2 S1,3 S1,5 S1,k S1,k+1 . . S1,4 r e f i n e m e n t ( e . g . , S

1,3

) S1,3

P1 P2 Pj . . Pj+1 Pj+2 Pj+i . .

I/O interface

  • utgoing

message ports incoming message ports assertions, multi-client formal behavior description

45/59

slide-46
SLIDE 46

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Towards PAM

MFIM UFIM PAM PM UFIM-PM allocation C source files input

  • utput

◮ Defined meta-models (Eclipse Modeling Framework) for

MFIM, PM and UFIM-PM allocation.

◮ Tool produces deployable platform configuration data for

RMA, DU, and gateway (e.g., schedules for TTNoC Interconnect, monitoring and mapping information, ...).

46/59

slide-47
SLIDE 47

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Results/Benefits

◮ Separated development of distributed, time triggered

applications.

◮ Validation of distributed applications (traceability). ◮ Suppliers and legacy components (top-down vs.

bottom-up).

◮ Automated model transformations for:

◮ resolving service dependency relationships to

UFIM-channels.

◮ resolving non-functional properties to architectural means. ◮ instantiating GWs.

47/59

slide-48
SLIDE 48

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Case-Study: Mixed Criticality

◮ Mixed criticality demonstrator:

◮ automotive applications: high criticality. ◮ multimedia application: low criticality, multiple modes of

degradation.

◮ Subset of (toy) requirements:

R1 The vehicle shall remain steerable during (emergency) braking. R2 The driver shall be able to steer the vehicle according to a configurable steering translation. R3 During high speeds the driver shall be able to apply at most 1/3 of the possible car steering angle. R4 Car acceleration shall respond to an electronic gas pedal. R5 Requirements R1, R2, R3 and R4 shall be certified up to safety-criticality levels. R6 ...

48/59

slide-49
SLIDE 49

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Service Dependency Tree/Forest

ABS FL wheel speed FR wheel speed RR wheel speed RL wheel speed transmission speed FL wheel brake FR wheel brake RR wheel brake RL wheel brake RL wheel brake car braking car velocity steering wheel steer-by- wire brake pedal car steering multimedia cube video source display A display B gas pedal gas-by-wire engine control

49/59

slide-50
SLIDE 50

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Macro Fully-Specified Interface Model

50/59

slide-51
SLIDE 51

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Allocation on Platform Model

Time-Triggered-Ethernet

component 4 TTE gateway component 5 display B component 3 ABS controller component 6 display A component 2 user I/O component 1 steer controller component 8 RMA component 0 diagnostic unit

TTSoC chip

component 7 cube

ethernet

driving wheel and pedals

sensor vehicle sensors and actuators

PC

multimedia automotive

◮ Off-chip communication ◮ Heterogeneous components ◮ Legacy component wrapping 51/59

slide-52
SLIDE 52

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Platform

52/59

slide-53
SLIDE 53

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Runtime Impressions

53/59

slide-54
SLIDE 54

ESEVO The Time-Triggered Architecture Frömel

TTSoC Architecture Evolution Application Develop- ment Approach Case Study Conclusion

Conclusion

◮ Contributions

◮ Applied recursive component concept to TTSoC

Architecture.

◮ Execution environment for virtual components. ◮ Scheduling of PDSes for TTNoC Interconnect. ◮ Viable application development approach: ◮ Uses models and model transformations. ◮ Based on concept of services and recursive component

concept.

◮ Manageable integration of distributed applications.

◮ Outlook

◮ (Semi)automate optimal UFIM-PM allocation process. ◮ Validation of services’ behavior during refinement (e.g., by

formal methods).

◮ Design of cooperating architectural elements s.t. they

support recursive component concept.

54/59

slide-55
SLIDE 55

ESEVO The Time-Triggered Architecture Frömel

Summary Credits References

Part III

End – Thank You!

55/59

slide-56
SLIDE 56

ESEVO The Time-Triggered Architecture Frömel

Summary Credits References

Summary

◮ Basic concepts employed in the TTA ◮ Components, Information, Time, Interfaces ◮ Principles of the TTA ◮ Research projects overview ◮ Application development approach for the TTSoC

Architecture, one of the latest TTA realizations

56/59

slide-57
SLIDE 57

ESEVO The Time-Triggered Architecture Frömel

Summary Credits References

Credits

◮ Images:

◮ http://en.wikipedia.org/wiki/Amdahl%27s_law ◮ URL

57/59

slide-58
SLIDE 58

References I

[1] AMADEOS Consortium. AMADEOS D2.1 – Basic SoS concepts, glossary and preliminary conceptual model, 2014. Available at http://amadeos-project.eu/wp-content/uploads/

2014/07/AMADEOS_WP2_D2.1_v05final.pdf.

[2] Bernhard Frömel. An application development approach for the time-triggered system-on-chip architecture, 2013. [3] H. Kopetz. Real-Time Systems: Design Principles for Distributed Embedded Applications. Kluwer international series in engineering and computer science: Real-time

  • systems. Springer, 2011.

[4] Hermann Kopetz. A conceptual model for the information transfer in systems-of-systems. In Object/Component/Service-Oriented Real-Time Distributed Computing (ISORC), 2014 IEEE 17th International Symposium on, pages 17–24. IEEE, 2014. [5] Hermann Kopetz and GÃ 1

4 nther Bauer.

The time-triggered architecture. Proceedings of the IEEE, 91(1):112–126, 2003.

slide-59
SLIDE 59

References II

[6] Roman Obermaisser, Christian El Salloum, Bernhard Huber, and Hermann Kopetz. The time-triggered system-on-a-chip architecture. In Industrial Electronics, 2008. ISIE 2008. IEEE International Symposium on, pages 1941–1947. IEEE, 2008. [7] Christian Peter Paukovits. The Time-Triggered System-on-Chip Architecture. PhD thesis, Vienna University of Technology, 2008.