dr. thomas kuhn, fraunhofer institute iese · dr. thomas kuhn department head embedded software...

17
1 Virtual Engineering Virtual Engineering Dr. Thomas Kuhn, Fraunhofer Institute IESE [email protected]

Upload: others

Post on 28-Jul-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

1

Virtual Engineering

Virtual Engineering

Dr. Thomas Kuhn, Fraunhofer Institute IESE

[email protected]

Page 2: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

8

What is Virtual Engineering?

Rapid development of prototypes at necessary level of abstraction

Evaluating impact of architecture decisions

Supporting decisions with facts

Virtual EngineeringAbout

Page 3: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

9

Two Examples

CPURAMROM

Communication bus

CPU CPUDSP FPGA

Deployment Decisions Ecosystem Development

Virtual EngineeringExamples

Page 4: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

10

Deployment of Functions

Functionally Independent

No explicitly shared resources

Easy to deploy to multicore platform?

CPURAMROM

Communication bus

DSP FPGA

Virtual EngineeringDeployment

Page 5: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

11

Virtual EngineeringDeployment

Deployment of Functions

Functionally Independent

No explicit resource conflicts

Possible implicit resource conflicts

Instruction fectching

I/O Operations & Memory access

Use of cache memory

Task scheduling on shared CPU

CPURAMROM

Communication bus

DSP FPGA

Page 6: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

12

Virtual EngineeringDeployment

Evaluation of Deployment Decisions

Allocation and deployment of tasks

Influenced by data dependencies

Required Hardware and Interfaces

Scheduling decisions

Tasks share CPU, Ram, Network, Interrupts

Sharing affects task starting times

Variants in Delay yields Jitter

Impact on algorithm behavior

Page 7: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

13

Evaluation of Software Architectures

Evolution of software architectures

Portability to new platforms

Many core CPUs

Architectures for highly integrated systems

Multi-layered architectures (operations vs. strategy)

Use of consumer platforms

Safe communication

Software lockstep

Virtual EngineeringDeployment

RA

MI/

O

RA

MI/

O

Page 8: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

14

Functional integration through simulator coupling

Holistic simulation of across tools

Integration of functional behavior on different levels of abstraction (UML, Python, Simulink, Java, C++, C)

Black box components ensure confidentiality of algorithms and simulation models

Virtual deployments to CPU resembles platform scheduling

Enables evaluation of scheduling effects, inter process communication, jitter, data consistency

Virtual Engineering TechnologyEvaluation of Deployments

Page 9: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

15

Integration of virtual platforms

Platform Simulation: Evaluation of Implicit resource conflicts

Instruction fectching

I/O Operations & Memory access

Use of cache memory

Virtual Engineering TechnologyEvaluation of Deployments

Page 10: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

16

Virtual EngineeringEvaluation of Deployments

Performance impact of deployment decisions

Page 11: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

17

Virtual EngineeringSmart Ecosystems – Interacting systems open for 3rd party components

Page 12: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

18

Virtual EngineeringSmart Ecosystems – Interacting systems open for 3rd party components

New infrastructure solutions

Integration of different concepts

Ecosystem Example: Improving Infrastructure in rural areas

Production solutions

Integration production code

Ecosystems

Systems with open interfaces Integration of 3rd party services Individual software components Guaranteed safe and secure behavior

Page 13: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

19

Ecosystem Example: Cross Energy Management System

Specification of Interfaces with FERAL

Checking of interface compliance

Implementation of behavior

Integration of abstraction levels

UML (Scenarios / Behavior)

C/C++

Code from different sources

Early integration and evaluation

Virtual EngineeringSmart Ecosystems – Interacting systems open for 3rd party components

Page 14: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

20

Ecosystem Example: Cross Energy Management System

Interacting systemsOpen for 3rd party components

Page 15: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

21

Integration of target platform code 795

800

805

810

815

820

825

4000 5000 6000 7000 8000 9000

C

0

20

40

60

80

100

120

4000 5000 6000 7000 8000 9000

B

0

10

20

30

40

4000 5000 6000 7000 8000 9000

A

Virtual EngineeringSmart Ecosystems – Integrating C code

Page 16: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

22

Ideal Wire

Simulink

FMU

Java

State Machines

Activities

Sequences

C

C++

SystemC

Multicore

SinglecoreMPI Clusters

Soft Real Time

Point ToPoint

TT Ethernet

GPRS/UMTS

WiMax

Event Triggered

DiscreteTime

Agent Scheduler

ContinuousTime

Finite State Machines

Service Domain

CAN

Ethernet

Wireless LAN

Bluetooth

Flexray

RS 232

RS 485Ideal

Wireless

Ideal Bus

Dataflow

Groovy

Java Script

Semantic Models Host Platforms

Windows

Linux

8 Core Processor

3 Core Aurix

Tile 64 Processor

4 Core Processor

2 Core Processor

1 Core Processor

Simulated abstract platforms

X86

ARM

Simulated platforms

Behavior models

Insertion Sequencing

DelayCorruptionLoss

Failure modes Network simulation models

Masquerading

LTE

Virtual Engineering TechnologySelection of FERAL Simulation Components

Page 17: Dr. Thomas Kuhn, Fraunhofer Institute IESE · Dr. Thomas Kuhn Department Head Embedded Software Engineering Email: thomas.kuhn@iese.fraunhofer.de Phone: +49 631 6800 2177. Title:

© Fraunhofer IESE

23

Ideal Wire

Simulink

FMU

Java

State Machines

Activities

Sequences

C

C++

SystemC

Multicore

SinglecoreMPI Clusters

Soft Real Time

Point ToPoint

TT Ethernet

GPRS/UMTS

WiMax

Event Triggered

DiscreteTime

Agent Scheduler

ContinuousTime

Finite State Machines

Service Domain

CAN

Ethernet

Wireless LAN

Bluetooth

Flexray

RS 232

RS 485Ideal

Wireless

Ideal Bus

Dataflow

Groovy

Java Script

Semantic Models Host Platforms

Windows

Linux

8 Core Processor

3 Core Aurix

Tile 64 Processor

4 Core Processor

2 Core Processor

1 Core Processor

Simulated abstract platforms

X86

ARM

Simulated platforms

Behavior models

Insertion Sequencing

DelayCorruptionLoss

Failure modes Network simulation models

Masquerading

LTE

Contact Information

Dr. Thomas Kuhn

Department Head Embedded Software Engineering

Email: [email protected]

Phone: +49 631 6800 2177