Top Banner
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)
27

IWSM2014 - Manage the Automotive Embedded Software Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

Jun 26, 2015

Download

Software

Presentation by Alexandre Oriou from Renault on how Renault has automated their COSMIC functional size measurement in order to have an independent control of both internal and supplier productivity.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IWSM2014 - Manage the Automotive Embedded Software Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

2RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

3RENAULTAlexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

INTRODUCTION01

Page 4: IWSM2014 - Manage the Automotive Embedded Software Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

4RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

5RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

6RENAULTAlexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

COSMIC METHOD APPLY TO SIMULINK 02

Page 7: IWSM2014 - Manage the Automotive Embedded Software Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

7RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

8RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

9RENAULTAlexandre 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);

Measurement Strategy

Page 10: IWSM2014 - Manage the Automotive Embedded Software Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

10RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

11RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

12RENAULTAlexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

AUTOMATED MESURES03

Page 13: IWSM2014 - Manage the Automotive Embedded Software Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

13RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

14RENAULTAlexandre 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

able to be adapted to different

design rules (naming rules, specific

memory blocks …)

A complete Simulink Model

Delta between

2 Simulink Models

Page 15: IWSM2014 - Manage the Automotive Embedded Software Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

15RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

16RENAULTAlexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

USE CASES04

Page 17: IWSM2014 - Manage the Automotive Embedded Software Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

17RENAULTAlexandre 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 internally developers’ teams productivity in the Renault Nissan Technical Business India.

Page 18: IWSM2014 - Manage the Automotive Embedded Software Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

18RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

19RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

20RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

21RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

22RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

23RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

24RENAULTAlexandre ORIOU 06.10.2014 – IWSM MENSURA 2014

CONCLUSION05

Page 25: IWSM2014 - Manage the Automotive Embedded Software Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

25RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)

26RENAULTAlexandre 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 Development Cost & Productivity with the Automation of a Functional Size Measurement Method (COSMIC) by Alexandre Oriou (Renault)