Contract Based Design of Automotive Electronics: Harald Röbig, Carmeq GMBH Berlin, Germany
Contract Based Design of Automotive Electronics: Harald Röbig, Carmeq GMBH Berlin, Germany
Automotive Electronics
Harald Röbig, Carmeq GmbH
Berlin, Germany
25 23,6 23,6
Our business mandate 19,9
20
14,6
y We provide consultation and development services for the 15
implementation of software-based systems for vehicles. 10
y Acting as an active link between organizational units, we 5
interconnect people and technology throughout all
0
development phases. 2006 2007 2008 2009
y On an equal footing with our customers, we lighten their load,
give them security and turn the strengths and the
cooperation of all actors into true added value.
y We work for the international vehicle industry, and
together with Volkswagen and its suppliers we strive Berlin
to create innovative, sustainable and effective solutions.
Wolfsburg
y We attract top class personnel and value the role they take
in contributing towards our joint success.
Stuttgart
0 y Designers
2006 2007 2008 2009
2% 2%
Industrial background of employees
9%
y Automotive industry: 37 %
37 %
15 %
y Science / research: 20 %
y Information technology: 15 %
y Telecommunications: 15 %
y Other: 9 %
15 %
y Aerospace: 2 %
y Consulting: 2 %
20 %
Agenda
4 Conclusion
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 5
Automotive Electronics
Typical Development Process
DR0 DR1 DR2 DR3 DR4 DR5 DR6 DR7
Developer
Function
Architecture Acceptance
ECU
Supplier
Function
Software ECU Test
Development
HW/SW
ECU Hardware ECU Test
Integration
Development (HIL) Iteration for
and Test (HiL)
each
Release
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 6
Developer
Functional
Function Systemtest
Analysis (Car)
Architecture Acceptance
(System) Test
(Function)
Developer
Acceptance
ECU
Architecture
(ECU) Test
(ECU)
Supplier
ECU Test
Architecure
(Function
Software)
Function Function
Software Design Software Test
Function
Implementation Softeware Unit
Test Iteration pro
Release
SW/SW
Architecture ECU Basic Software Development
Integration
Supplier
Basic Software
ECU
HW/SW
ECU Test
ECU Hardware Development Integration
(HIL)
and Test
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 7
Model Based
Model Specification
System/
on
Function
lati
Specification
u
Behaviour
Sim
Model
Modell
ion
Model Based
tat
Implementation
lem al
en
imp -seri Software Development
Pre
Code Generation
Implementation
Model
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 8
Specification
MATLAB/Simulink/Stateflow
Behaviour
Adobe Flash/Flex Model
EvalBoard/
ECU
MATLAB/Simulink/Stateflow
RealTime-Workshop
Implementation
Model
TargetLink
Autocode
Code Generator
Central locking
Interior / Exterior
Lights
Washer / Wiper
Energy
management
Climate / Heating
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 10
Test Developer
Simulation
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 11
Integration tests
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 13
Agenda
4 Conclusion
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 14
Feedback on
Specification Model Developer
Requirements
Analysis and Architect
HRC Modelling Behaviour
Formal
Specification Models Model Testing Model
and Improving √ Integration
Behaviour
Models
Model (tested+)
Code Checking,
Specification Generation Model
HRC with Analyses
Behaviour
Architect Test case
Development
Test Cases
Model Checking
Formal proof of invariants defined within the model
Functional
Requirements
Model Checker
ModelChecker Formal Requirements
ModelChecker
z.B. LTL, Z, …
Pattern ...
MATLAB /
Simulink
Model
9 Pass
9 Fail + Counter example
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 18
Agenda
4 Conclusion
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 19
Software Architecture
corresponding to Specification Structure
- Specification <<implementing>> Component Model
Functional area Component
(e.g. climate control)
Subcomponent
1. Function group (e.g. air distribution) Subcomponent
1.1 Function
(e.g. manual air distribution)
…
1.2 Function Subcomponent
(e.g. automatic air distribution)
Basic function 1
(e.g. air circulation at reverse)
Software Module
Basic function 2
(e.g. air circulation by air quality)
…
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 21
Central locking
Interior / Exterior
Lights
Washer / Wiper
Energy
management
Climate / Heating
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 30
Agenda
4 Conclusion
Contract based Design of Automotive Electronics - Harald Röbig 2010 March 4th 33
Conclusion
SPEEDS
=
„Front Loading“