iwsm2014 manage the automotive embedded software (alexandre oriou)

27
RENAULT Alexandre ORIOU 06.10.2014 IWSM MENSURA 2014 IWSM MENSURA 2014 SESSION COSMIC I 06.10.14 Manage the automotive embedded software development cost & productivity with the automation of a Functional Size Measurement Method (COSMIC)

Upload: nesma

Post on 04-Jul-2015

134 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Iwsm2014   manage the automotive embedded software (alexandre oriou)

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

IWSM MENSURA 2014

SESSION COSMIC I 06.10.14 Manage the automotive embedded software development cost & productivity

with

the automation of a Functional Size Measurement Method (COSMIC)

Page 2: Iwsm2014   manage the automotive embedded software (alexandre oriou)

2

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

01 INTRODUCTION

02 COSMIC METHOD APPLY TO SIMULINK

03 AUTOMATED MESURES

04 USE CASES

05 CONCLUSION

CONTENTS

Page 3: Iwsm2014   manage the automotive embedded software (alexandre oriou)

3

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

INTRODUCTION

01

Page 4: Iwsm2014   manage the automotive embedded software (alexandre oriou)

4

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

01 INTRODUCTION

The use of ECU software in cars has grown considerably in recent years.

ECU's software development and validation tasks are clearly identified up front.

Corresponding milestones in global car development planning are strongly

positioned.

To manage more tightly the development costs of software suppliers,

Renault :

measures the functional size of their ECU software specifications

and uses this information as the main input for estimating software development

costs and schedules.

INTRODUCTION (1/2)

Page 5: Iwsm2014   manage the automotive embedded software (alexandre oriou)

5

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

01 INTRODUCTION

Renault has chosen the COSMIC–ISO 19761 standard for measuring the

size of real-time embedded software and for estimating project costs.

This presentation contains :

the design of the Functional Size Measurement (FSM) procedure based on the

COSMIC method to obtain the functional size of software specifications expressed

with the Simulink tool.

the automated measurement tool developed at Renault implementing this

approach, and the various application cases.

INTRODUCTION (2/2)

Page 6: Iwsm2014   manage the automotive embedded software (alexandre oriou)

6

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

COSMIC METHOD APPLY TO SIMULINK

02

Page 7: Iwsm2014   manage the automotive embedded software (alexandre oriou)

7

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

02 COSMIC METHOD APPLY TO SIMULINK

COSMIC METHOD APPLIED TO SIMULINK : COSMIC overview & Renault upstream vision

General advantages of the COSMIC functional size measures :

• Independent of the used technology

• Estimated early in a life of a project Before coding process

• Agreed to an ISO standard

• Independent of coder’s experience

Opportunity inside Renault to use it with Matlab/Simulink model.

Alternative approaches from suppliers :

• Formula and abacus based on their experiences

• No wish to share on a transversal way.

Upstream Renault study to use the COSMIC Measure :

• Great support from A. Abran through a dedicated PhD student.

C, C++, Java, Matlab …

Specification

Development

Validation

ISO standard : (19761,2011)

COSMIC : A RELEVANT CHOICE FOR RENAULT

Page 8: Iwsm2014   manage the automotive embedded software (alexandre oriou)

8

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

02 COSMIC METHOD APPLY TO SIMULINK

COSMIC METHOD APPLY TO SIMULINK : General points

The COSMIC method is based on data movements’ measurement.

The COSMIC measurement process consists of 3 phases :

A « Model Based Design » approach

Using of modelisation tool

Model Based Design rules definition

Page 9: Iwsm2014   manage the automotive embedded software (alexandre oriou)

9

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

02 COSMIC METHOD APPLY TO SIMULINK

COSMIC METHOD APPLY TO SIMULINK : General points

Definition of the following concepts :

Target of the measure (apply COSMIC method to Simulink model) ;

The measure perimeter (level of Simulink subsystem) ;

The granularity level for the measure (block level of Simulink);

MeasurementStrategy

Page 10: Iwsm2014   manage the automotive embedded software (alexandre oriou)

10

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

02 COSMIC METHOD APPLY TO SIMULINK

COSMIC METHOD APPLY TO SIMULINK : General points

Establish the link between Simulink concepts & principles published by

the COSMIC norm :

Boundaries concepts.

Data group concepts.

Functional process concepts.

Mapping

Phase

Page 11: Iwsm2014   manage the automotive embedded software (alexandre oriou)

11

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

02 COSMIC METHOD APPLY TO SIMULINK

COSMIC METHOD APPLY TO SIMULINK : General points

.Measurement

Phase

COSMIC Function Points

Page 12: Iwsm2014   manage the automotive embedded software (alexandre oriou)

12

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

AUTOMATED MESURES

03

Page 13: Iwsm2014   manage the automotive embedded software (alexandre oriou)

13

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

03 AUTOMATED MEASURES

AUTOMATED MESURES (1/3)

FSM PROCEDURE AUTOMATION COSMIC MEASUREMENT TOOL

A rules document “Simulink COSMIC Rules” has been submitted to the COSMIC consortium (www.cosmicon.com)

Page 14: Iwsm2014   manage the automotive embedded software (alexandre oriou)

14

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

03 AUTOMATED MEASURES

AUTOMATED MESURES (2/3)

Renault COSMIC measurement phase is all automated.

A Matlab language based tool has been developed by Renault.

Measurement results

Select/Edit

a configuration

Options

Report generation...)

Select

Simulink model(s)

Export results in CSV format

Generate a new

configuration file

A complete Simulink Model

Delta between

2 Simulink Models

Page 15: Iwsm2014   manage the automotive embedded software (alexandre oriou)

15

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

03 AUTOMATED MEASURES

AUTOMATED MESURE (3/3)

Automation Advantages regarding Measurement time :

ECU Size (CFP) Manual workload Tool’s execution

time

Body Control 2000 4 days FTE About 1 minute

Power train 2600 3 days FTE About 1 minute 20

Power train Entire ECU Too long About 1 hour

Page 16: Iwsm2014   manage the automotive embedded software (alexandre oriou)

16

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

USE CASES

04

Page 17: Iwsm2014   manage the automotive embedded software (alexandre oriou)

17

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

04 USE CASES

4.1.1 Workload estimation

based on productivity models which are obtained by statistic methods.

a linear relation between COSMIC size and related development workload

Based on past development, productivity models can allow to estimate future

development workload.

4.1 Coding and Unit Testing workload estimation using COSMIC (1/2)

Renault uses also productivity models for managing internallydevelopers’ teams productivity in the Renault Nissan Technical Business India.

Page 18: Iwsm2014   manage the automotive embedded software (alexandre oriou)

18

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

04 USE CASES

4.1.2 Supplier cost & productivity.

Productivity models are used to challenge suppliers.

This process can go until contracting on a productivity model for future

developments.

a clear rule and support for negotiation.

4.1 Coding and Unit Testing workload estimation using COSMIC (2/2)

Page 19: Iwsm2014   manage the automotive embedded software (alexandre oriou)

19

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

04 USE CASES

4.2 Specification development & productivity (1/2)

The COSMIC size is also used in house to manage specifications’

productivity.

The Renault powertrain software department has a large database including the

size of each specification in Matlab/Simulink dedicated to Engine Control Module

ECU.

The relationship between available FTE (Full Time Equivalent) and volume of

specification in Matlab/Simulink is established.

Delivery reference 1 2 3 4 5 6 7 8 9 10

Volume of specif ication (basis on 100) 68 72 75 77 81 86 89 91 98 100

Volume of updated specif ication 10 16 13 12 15 17 17 19 23 20

deleted specif ications 0 1 0 1 1 1 1 2 1 2

added specif ications 2 5 4 3 4 7 4 5 8 4

stability spec / L-1 85% 77% 82% 85% 82% 80% 81% 79% 76% 80%

maturity package / L-3 62% 59% 60% 59% 62% 60% 58% 59% 54% 55%

Volume of CFP 70 73 78 79 85 89 93 99 104 100

Producted CFP 14 20 24 19 23 25 26 29 31 26

FTE (M.d)

FTE (Cycle)

Number of specif ication / FTE

CFP producted / FTE

Page 20: Iwsm2014   manage the automotive embedded software (alexandre oriou)

20

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

04 USE CASES

4.2 Specification development & productivity (2/2)

The performance of the Software Department is controlled and the

objectives are updated.

Page 21: Iwsm2014   manage the automotive embedded software (alexandre oriou)

21

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

04 USE CASES

4.3 Memory size estimation

COSMIC method is one of the elements to predict the memory size needed

for embedded software.

used before obtaining code (several months earlier in a project).

secures the ROM occupation in ECU at “Start of production” milestone and

anticipates the needed margin for serial life.

The control is based on charts depending on selected compiler :

Page 22: Iwsm2014   manage the automotive embedded software (alexandre oriou)

22

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

04 USE CASES

4.4 Value of software functions.

To deal with the increase of software development complexity, OEMs

(Original Equipment Manufacturers) and Suppliers used to exchange

software function.

Renault has chosen to integrate the COSMIC size in the official internal

formula which evaluates the value of a software function (in addition to

“innovation level” etc…).

Page 23: Iwsm2014   manage the automotive embedded software (alexandre oriou)

23

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

1.1 TITRE DU CHAPITRE TITRE DU SOUS-CHAPITRE

4.5 Control of the COSMIC model precision.

For Workload estimation use

the productivity models are realized on data set based on past projects with

statistical methods as linear regression method.

At the end of a new software development, the difference between initial used

correlation and real new COSMIC stored values has to be lower than 5%.

For the value of software functions

the Renault method based on COSMIC has been compared with other Partner

method based on software and tuning workload measures. The precision of

Renault result is 12%.

Page 24: Iwsm2014   manage the automotive embedded software (alexandre oriou)

24

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

CONCLUSION

05

Page 25: Iwsm2014   manage the automotive embedded software (alexandre oriou)

25

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

COSMIC Measure is becoming one of the software reference metric at

Renault.

The COSMIC method and Renault COSMIC Measurement Tool can be adapted

to different uses and different modelling approach.

It is used to manage suppliers and internal productivity with a potential of extension use

type.

It is used in various Software Department in Renault, especially in Powertrain domain :

a common reference and tool.

The need progress through the context of Automatic Code Generation, used

more and more at Renault and with suppliers. The COSMIC method continues to

keep advantages regarding specification design step and validation step.

CONCLUSION

Page 26: Iwsm2014   manage the automotive embedded software (alexandre oriou)

26

RENAULT

Alexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

NEXT STEPS FOR RENAULT

COSMIC use in Qualimetry software approach :

Renault wants to reinforce the use of software quality dashboard with

relevant indicator in QCD to accelerate software project success.

COSMIC measures will be one of the key input to offer an automatic

software status shared with executive and project software manager to

anticipate risks and speeding-up decision-making.

Page 27: Iwsm2014   manage the automotive embedded software (alexandre oriou)