• Aucun résultat trouvé

Le projet AEE et la description UML des architectures embarquées pour l'automobile.

N/A
N/A
Protected

Academic year: 2021

Partager "Le projet AEE et la description UML des architectures embarquées pour l'automobile."

Copied!
69
0
0

Texte intégral

(1)

HAL Id: inria-00107542

https://hal.inria.fr/inria-00107542

Submitted on 19 Oct 2006

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

Le projet AEE et la description UML des architectures embarquées pour l’automobile.

Jean-Pierre Elloy, Françoise Simonot-Lion, Yvon Trinquet

To cite this version:

Jean-Pierre Elloy, Françoise Simonot-Lion, Yvon Trinquet. Le projet AEE et la description UML des architectures embarquées pour l’automobile.. Workshop UML and TR 2001, 2001, Nantes/France, 68 p. �inria-00107542�

(2)
(3)

‡3UpVHQWDWLRQJpQpUDOH

‡$,/HWGpYHORSSHPHQWG¶XQHDUFKLWHFWXUH HPEDUTXpHDYHF$,/

‡2XWLOVGHGpYHORSSHPHQW

‡'pPRQVWUDWHXUV Plan

(4)

Plan

‡3UpVHQWDWLRQJpQpUDOH

‡$,/HWGpYHORSSHPHQWG¶XQHDUFKLWHFWXUH HPEDUTXpHDYHF$,/

‡2XWLOVGHGpYHORSSHPHQW

‡'pPRQVWUDWHXUV

(5)

/DERUDWRLUHV

&RQVWUXFWHXUV eTXLSHPHQWLHUV

($'6/DXQFK9HKLFOHV

/HVSDUWHQDLUHV Présentation générale

(6)

/HSURMHW Présentation générale

(7)

/HSURMHW Présentation générale

(8)

XML

&RQVWUXFWHXUV

(TXLSHPHQWLHUV

'pILQLUXQODQJDJHGH GHVFULSWLRQDUFKLWHFWXUDOH $,/SDUWDJpSDUOHV DFWHXUVLPSOLTXpVHQLQWHUQHRXHQVRXV WUDLWDQFHSRXUOHGpYHORSSHPHQW FRRSpUDWLIG¶DUFKLWHFWXUHVFRPSOqWHVG¶DUFKLWHFWXUHVSDUWLHOOHVRXGH

PRGXOHVHPEDUTXpV

6WUDWpJLHGHVROXWLRQ Présentation générale

(9)

6WUDWpJLHGHVROXWLRQ Présentation générale

'pILQLUXQ SURFHVVXVG¶pFKDQJH HQWUHOHVDFWHXUVGHVRXVDUFKLWHFWXUHV HQFRXUVGHGpYHORSSHPHQWRXILQDOLVpHVHWTXLV¶DSSXLHVXU$,/

'pILQLUSURSRVHUXWLOLVHUXQHQVHPEOHG¶ RXWLOVDX[LQWHUIDFHVHWIRQFWLRQV

©FRPSDWLEOHVªDYHF$,/HWTXLVDWLVIDVVHQWOHVEHVRLQVGH

VSpFLILFDWLRQFRQFHSWLRQFRGDJHSODFHPHQW FRQILJXUDWLRQLQWpJUDWLRQWHVWVYpULILFDWLRQ GRFXPHQWDWLRQJHVWLRQGHYHUVLRQUpXWLOLVDWLRQ QpFHVVDLUHVDXF\FOHGHGpYHORSSHPHQWFRPSOHWG¶XQHDUFKLWHFWXUH HPEDUTXpHHWGHVHVYDULDQWHV

(10)

6WUDWpJLHGHVROXWLRQ Présentation générale

2EWHQLUXQ PRGqOHjO¶LVVXHGHODFRQFHSWLRQGpWDLOOpHTXLSHUPHWWHOD YDOLGDWLRQD SULRULG¶XQHDUFKLWHFWXUHHWTXLJpQqUHOHVYHFWHXUVGHWHVWVj DSSOLTXHUHQSKDVHGHWHVWVG¶LQWpJUDWLRQ

'pILQLUXQ ODQJDJHGHFRGDJH QRQDPELJXDVVRUWLGHUqJOHVG¶XVDJHV SURSUHDX[DSSOLFDWLRQVGHWUDQVSRUW&B7UDQVSRUWHWDXWRULVDQWODSRUWDELOLWp GX©VRXUFHªGHVSURJUDPPHV DSSOLFDWLIV

6SpFLILHUXQHELEOLRWKqTXHGH ORJLFLHOVGHEDVH DLQVLTXHOHXUV$3,

DXWRULVDQWO¶LQGpSHQGDQFHGXGpYHORSSHPHQWGHVEULTXHV DSSOLFDWLYHV YLVjYLV GXVXSSRUWG¶H[pFXWLRQHWGXPDWpULHOG¶LQVWUXPHQWDWLRQ

&RQFHYRLUXQ© PLGGOHZDUHªDXWRULVDQWO¶LQGpSHQGDQFHGHVORJLFLHOV G¶DSSOLFDWLRQVYLVjYLVGHOHXUORFDOLVDWLRQGDQVOHOHVUpVHDX[HWOLEpUDQW DLQVLOHXUSODFHPHQWGDQVO¶DUFKLWHFWXUH

(11)

ECU

Others ECU

Library API OSEK-OS API

ICEM API

Driver API

OSEK-COM API

Library Software Components L-SC Operating System OSEK-OS

Application Software Components (A-SC)

Drivers (DRV-BSC)

Inter Component Exchange Manager (ICEM)

Local Devices (Actuator/Sensor) Local Device Manager (LDM-SC)

Com Manager SC OSEK-COM

Networks

#

#

#

# #

#

#

#

$UFKLWHFWXUHJpQpUDOHG¶XQ(&8 Présentation générale

(12)

(&8B

Sensor S1 Actuator A1

&RPSRVDQWVORJLFLHOV DSSOLFDWLIV

Inter Component Software Flow

$ (

Driver_Channel_DIO_OUT_1 Driver_Channel_ADC_1

Device/Software Component Communication Flow

ECU_1 Pin n°1 ECU_1 Pin n°2

/¶LQGpSHQGDQFHPDWpULHOORJLFLHO Présentation générale

(13)

(&8B

Sensor S1

$

Actuator A1

Driver_Channel_ADC_1 Driver_Channel_DIO_OUT_1

ECU_2 Pin n°12 ECU_2 Pin n°22

(

&RPSRVDQWVORJLFLHOV DSSOLFDWLIV

/¶LQGpSHQGDQFHPDWpULHOORJLFLHO Présentation générale

,QVWUXPHQWDWLRQLGHQWLTXH

&RPSRVDQWV DSSOLFDWLIV LQFKDQJpVVRXUFH LGHQWLTXH 3URFHVVHXUPRGLILp ,QWHUIDoDJH FKDQJp

(14)

(&8B (&8B

Sensor S1

%

$

Actuator A1

& F

Device_Channel_S1-1 Device_Channel_A1-1

(

/¶LQGpSHQGDQFHPDWpULHOORJLFLHO Présentation générale

(15)

(&8B (&8B

Sensor S1 Actuator A1

F’

Device_Channel_S1-1 Device_Channel_A1-1

%

$

&

( D

/¶LQGpSHQGDQFHPDWpULHOORJLFLHO Présentation générale

,QVWUXPHQWDWLRQ LGHQWLTXH

&RPSRVDQWV DSSOLFDWLIV LQFKDQJpVVRXUFH LGHQWLTXH 3ODFHPHQWPRGLILp 6WUXFWXUDWLRQIRQFWLRQQHOOHLQWHUQH FKDQJpH

(16)

/¶LQGpSHQGDQFHIRQFWLRQIRXUQLWXUH Présentation générale

&DSWHXU GHSOXLH 0RWHXU

EDOD\DJH

$VVW EDOD\DJH 3DSLOORQ

PRWRULVp &DSWHXUGH

YLWHVVH

&DSWHXU DX[LOLDLUH

9LWHVVH5pJ

&DOFXODWHXU &DOFXODWHXU

)RQFWLRQ FRQWU{OH

PRWHXU

)RQFWLRQ HVVX\DJH

(17)

&DSWHXU GHSOXLH 0RWHXU

EDOD\DJH

&DSWHXUGH YLWHVVH

/'$

RVHN /'%

&DSWHXU DX[LOLDLUH 3DSLOORQ

PRWRULVp

/'$

/'% RVHN

FDQ FDQ

/¶LQGpSHQGDQFHIRQFWLRQIRXUQLWXUH Présentation générale

(18)

/¶LQGpSHQGDQFHIRQFWLRQIRXUQLWXUH Présentation générale

&DSWHXU GHSOXLH 0RWHXU

EDOD\DJH

$VVW EDOD\DJH

/'%

3DSLOORQ PRWRULVp

/'$

/'%

&DSWHXUGH YLWHVVH

&DSWHXU DX[LOLDLUH

5pJ /'$

9LWHVVH

(19)

‡3UpVHQWDWLRQJpQpUDOH

‡$,/HWGpYHORSSHPHQWG¶XQHDUFKLWHFWXUH HPEDUTXpHDYHF$,/

‡2XWLOVGHGpYHORSSHPHQW

‡'pPRQVWUDWHXUV Plan

(20)

Matériel Logiciel Applicatif

Interfaces standards Contraintes

matérielles

Contraintes temporelles

Architecture Fonctionnelle Architecture Logicielle Architecture Matérielle

Exigences

Placement

Validation par simulation (SdF, Tps Réel) Tests

Code

applicatif Compilation

Vérification des performances (SdF, Tps Réel)

Tests

Lot 3

Processus

Lot 2

Démonstrateurs

Lot 4

Applications et Livrables pour démonstration Existant

Lot 1

Architecture Opérationnelle

Vecteurs de test transcodés Messagerie

Corrections Corrections

Description

$,/

Modalités d’échange Bibliothèque

Performances temporelles Attributs

de SdF

Comportement état-transition Modes de

fonctionnement

(21)

$,/ GpILQLW XQORWVGHFODVVHVGHQDWXUHV DSSOLFDWLYHVGLIIpUHQWHV

– Operational Architecture – OS Tasks

– Network Frames – Free Software Components

– Dependent Software Components – Software Flows

– Software Architecture

– Operating Hardware Components (ECU, Networks)

– Instrumentation Hardware Components (Sensor, Actuator)

– Hardware architecture – Vehicle project

– Vehicle types – Vehicles – Services – Variants

– Functions

– Functional Flows

– Functional Architecture 3URMHFW

2EMHFWV )XQFWLRQDO

2EMHFWV 6RIWZDUH

2EMHFWV +DUGZDUH

2EMHFWV 2SHUDWLRQDO 2EMHFWV

/HVJUDQGHVFODVVHV$,/

Architecture AIL V2.4

(22)

3URMHFW2EMHFWV

2SHUDWLRQDO

&RPSRQHQWV Vehicle

Project

Hardware Architecture Software

Architecture

Functional Architecture

Operational Architecture 6RIWZDUH)UHH

&RPSRQHQWV

'HSHQGHQW 6RIWZDUH

&RPSRQHQWV

,QVWUXPHQWDWLRQ +DUGZDUH

2EMHFWV

2SHUDWLQJ +DUGZDUH

2EMHFWV )XQFWLRQDO2EMHFWV

/HVFODVVHVG¶DUFKLWHFWXUHV$,/

Architecture AIL V2.4

(23)

Vehicle Project

Hardware Architecture Software

Architecture

Functional Architecture

Operational Architecture

8QHpWXGHGHFDV Architecture AIL V2.4

(24)

‡ /¶DUFKLWHFWXUH j GpYHORSSHUGRLWRIIULU SUHVWDWLRQV

‡ $GLVWUHVVGLUHFWLRQFKDQJHDQGORFDOL]DWLRQUHSRUWLQJ

‡ $Q(QJLQH6\VWHP/2&.81/2&.

‡ $GRRUVRSHQLQJPDQDJHPHQW

‡ /¶DUFKLWHFWXUH j GpYHORSSHUGRLW VH GpFOLQHUHQ GHX[ YHUVLRQV

‡ $EDVLFYHUVLRQLQFOXGLQJ

995'5W\SHG(QJLQH6\VWHP/2&.81/2&.

9$IL[HGOLJKWLQJFHLOLQJOLJKW

9$QRSWLRQDOYHKLFOHORFDOL]DWLRQ

‡ $OX[XU\YHUVLRQLQFOXGLQJ

995'5W\SHG(QJLQH6\VWHP/2&.81/2&.

97KHYHKLFOHORFDOL]DWLRQ

9$QRSWLRQDOJUDGXDOFHLOLQJOLJKWPDQDJHPHQW

/HSURMHWYpKLFXOHjGpYHORSSHU

(25)

Context Diagram

‘Case Study’

Warning Turning Lights

Turning Lights Command

Turning Lights Indicator

Command Start Engine State

Indicator transponder

Key Ceiling light

PLIP

Command Doors

Contact Opened

Doors Indicator

'LDJUDPPHGHFRQWH[WH DVVRFLp

(26)

Engine System LOCK/UNLOCK

Service

VR/DR1 Engine System LOCK/

UNLOCK Variant

VR/DR2 Engine System LOCK/

UNLOCK Variant

When the code has been identified, the lock/

unlock state switches from ' Locked' to ' Unlocked'

Requirement VR/DR1_001

When the code has been identified, the lock/

unlock state switches from ' Locked' to ' Unlocked'

Requirement VR/DR2_001

When the key has been identified, and the information ' system is ready to start' is available, then the authentication phase is started.

Requirement VR/DR2_002

%DVHGHGRQQpHVFRQVWUXFWHXU H[LJHQFHVGHVSUHVWDWLRQV

(27)

S ervice Label : String

Variant Label : String

0..n 1

0RGpOLVDWLRQGHVSUHVWDWLRQV FODVVHV80/

Architecture AIL V2.4

(28)

Vehicle Project Etude de cas

* VR/DR1 typed Engine System LOCK/UNLOCK

* A fixed lighting ceiling light

* An optional vehicle localization

* VR/DR2 typed Engine System LOCK/UNLOCK

* The vehicle localization

* An optional gradual ceiling light

The vehicle project ‘Case Study’ shall propose two versions : - A basic version including :

- A luxury version including :

Requirement VP_002

The vehicle project Case ‘Study’ shall propose three main services : - A distress, direction change and localization reporting.

- An Engine System LOCK/UNLOCK.

- A doors opening management.

Requirement VP_001

%DVHGHGRQQpHVJDPPHFRQVWUXFWHXU

H[LJHQFHVYpKLFXOHV

(29)

&{WpSURMHWYpKLFXOH

‘ Luxury‘

Vehicle Type

‘ Engine System LOCK/UNLOCK’

Service

‘ VR/DR1 Engine System LOCK/

UNLOCK’

Variant

‘D oors opening management’

Service

‘’winking ceiling light (WCL)’

Variant

‘ fixed lighting ceiling light (FLCL)’

Variant

Vehicle Project

‘ Case Study’

System LOCK/

UNLOCK’

Variant

‘ VR/DR2 Engine

mass product

&{WpPpWLHUFRQVWUXFWHXU HW pTXLSHPHQWLHUV

Choice to make

Vehicle

‘ Luxury with FLCL ’

Choice made

'pFOLQDLVRQVYpKLFXOHVSUHVWDWLRQV

(30)

Vehicle_Project Label : String

Vehicle_Type Label : String

0..n 1

0..n 1

Vehicle Label : String

0..n 1

0..n 1

Service Label : String

Variant Label : String

0..n 1

. : Service 0..n

1 +Serials

0..n . : Service

. : Service 0..n0..n +Alternatives 1..n1..n . : Service

0..n . : Service

0..n

0..n

+Options 0..n

. : Service

0..1 0..1

. : Service 0..n

+Option 0..n

. : Service

1

. : Service 0..n

+Alternative 1

'pFOLQDLVRQVYpKLFXOHVSUHVWDWLRQV 80/

Architecture AIL V2.4

(31)

The engine is in one of the three states : - Locked

- Unlocked - In_rotation

Requirement FLCL_SYS_001

When the code has been identified, the lock/unlock state switches from ' Locked' to ' Unlocked' Requirement VR/DR2_001

‘Vehicle Start-up’

Variant

When the vehicle start is authorized, the engine state switches from ' Unlocked' to ' In_rotation' .

Requirement VSU_003

+

‘=‘

The engine state lamp is winking at a frequency of 1 hz when the engine is in the ' In_rotation' state Requirement ESR_001

Data exchanged between

‘ Vehicle Start-up’ and

‘ Engine State Reporting’.

Requirement DATA_001

Variant

‘Engine State Reporting’

Variant

‘Engine State’

‘Luxury with FLCL’

Vehicle

‘VR/DR2 Engine System LOCK/

UNLOCK’

Variant

'HVH[LJHQFHVYpKLFXOHVDX[H[LJHQFHV

SUHVWDWLRQV

(32)

8Q³ FRQWHQHXUG¶H[LJHQFHV´ SHXWrWUHQ¶LPSRUWHTXHOREMHW $,/

$UFKLWHFWXUH)XQFWLRQ)ORZ(&8'HYLFH6RIWZDUH&RPSRQHQW«

Requirement Holder

Requirement Equation Label : String Requirement

Status s tatus : String 1 0..n0..n

1 Requirement

Label : String 1

0..n 1 +origin

0..n

1..n

0. .n 1..n

+des tination

0. .n 0..n 11

0..n

/HVH[LJHQFHVGDQVXQHDUFKLWHFWXUH

80/

Architecture AIL V2.4

(33)

Vehicle Project

Hardware Architecture Software

Architecture

Functional Architecture

Operational Architecture

8QHpWXGHGHFDV Architecture AIL V2.4

(34)

Engine System LOCK/UNLOCK

Service

VR/DR2 Engine System LOCK/

UNLOCK Variant

When the code has been identified, the lock/

unlock state switches from ' Locked' to ' Unlocked'

Requirement VR/DR2_001

When the key has been identified, and the information ' system is ready to start' is available, then the authentication phase is started.

Requirement VR/DR2_002

Key_Position

Lock_Unlock_State Input

Output VR/DR2 Engine

System LOCK/

UNLOCK Function

For security reasons, the authentication phase shall be processed simultaneously on two different ECUs

Requirement VR/DR2_003

Transponder_Code Input

/HVDYRLUIDLUHFRQVWUXFWHXU GHVSUHVWDWLRQVDX[IRQFWLRQV

(35)

.H\B3RVLWLRQ

/RFNB8QORFNB6WDWH 95'5 (QJLQH 6\VWHP

/2&.81/2&. )XQFWLRQ

7UDQVSRQGHUB&RGH

,GHQWLIL.H\

FDWLRQ

$XWKHQ WLILFDWLRQ

8QORFN

/HVDYRLUIDLUHFRQVWUXFWHXU ODGpFRPSRVLWLRQIRQFWLRQQHOOH

(36)

VR/DR2 Engine System LOCK/

UNLOCK Function

Validity Domain : NOT_PRESENT|PRESENT|ACC|APC

Type : enumeration

Key_Position

Key_Identification_OK Input

Output Key Identification

Function

Validity Domain : TRUE|FALSE

Type : enumeration

The key shall be identified Requirement IDENT_001

System Authentication

Function

Validity Domain : 0 to 16.000.000

Type : integer

Transponder_Code Input

/HVDYRLUIDLUHFRQVWUXFWHXU ODVWUXFWXUHGHVIRQFWLRQV

(37)

Service Label : String

Variant Label : String

1 0..n

1 0..n

Function Label : String

(f rom fun ct iona l la yer)

0..1

0..n 0..1

0..n

0.. n

0..1

0.. n

0..1

is decomposed in

Functional Flow Label : String

ValidityDomain : String Type : String

0..n

0..1

0..n

0..1 is decomposed in

Functional Output

0. .n

1 0. .n

1

Functional Input

0..n

1

0..n

1 Function Label : String

1..n

0..n

0. .n 0..n

0. .n

0..n

0..n 0..n

0..n 0..n

0..1 0..1

is decomposed in

/DGpFRPSRVLWLRQIRQFWLRQQHOOH 80/

Architecture AIL V2.4

(38)

+

‘=‘

When the key has been identified, and the information ' system is ready to start' is available, then the authentication phase is started.

Requirement VR/DR2_002 VR/DR2 Engine

System LOCK/

UNLOCK Function

Key Identification

Function The key shall be identified

Requirement IDENT_001

System Authentification

Function

When the key has been identified, and the information ' system is ready to start' is available, then the authentication phase is started.

Requirement AUTHEN_002

/HVH[LJHQFHVGDQVODGpFRPSRVLWLRQ

IRQFWLRQQHOOH Architecture AIL V2.4

(39)

Function Label : String (from functional layer)

0..1

0..n 0..1

is decomposed in 0..n

Functional Architecture Label : String

(from functional layer)

0..n

1..n 0..n

1..n Variant

Label : String 0..10..1 0..n0..n Vehicle

Label : String

1 0..n

1 0..n

Functional Flow Label : String

ValidityDomain : String Type : String

0..n

0..1

0..n

0..1 is decomposed in

Functional Output

0. .n

1 0. .n

1

Functional Input

0..n

1

0..n

1 Function Label : String

1..n

0..n

0. .n 0..n

0. .n

0..n

0..n 0..n

0..n 0..n

0..1 0..1

is decomposed in

/¶DUFKLWHFWXUHIRQFWLRQQHOOH 80/

Architecture AIL V2.4

(40)

‘C ase Study‘

FA1 Functional Architecture

Lock_Unlock_State Output

VR/DR2 Engine System LOCK/

UNLOCK Function

Validity Domain : LOCKED|UNLOCKED

Type : enumeration

Validity Domain : LOCKED|UNLOCKED

Type : enumeration

Lock_Unlock_State

Engine_State Input

Output Vehicle Start-up

Function

Validity Domain : LOCKED|UNLOCKED|IN_ROTATION

Type : enumeration

Engine_State Input

Engine Status Reporting Function

Validity Domain : LOCKED|UNLOCKED|IN_ROTATION

Type : enumeration

2EMHWVLGHQWLTXHV OLHQVLPSOLFLWHV

/HVGRQQpHVGDQVODGpFRPSRVLWLRQ

IRQFWLRQQHOOH Architecture AIL V2.4

(41)

Vehicle Project

Hardware Architecture Software

Architecture

Functional Architecture

Operational Architecture

8QHpWXGHGHFDV Architecture AIL V2.4

(42)

ASC

Label : String

LDM

Label : String Free Software Component

Software Component Language_CC : String OS_CC : String

/HVFRPSRVDQWVOLEUHVGHSODFHPHQW

80/

Architecture AIL V2.4

/RJLFLHOVG¶$SSOLFDWLRQ

*HVWLRQGHO¶LQVWUXPHQWDWLRQHW

(43)

Synchro Task Label : String

Synchro Event Label : String Mask : String

CallBack Label : String Synchro Element

0..1 0..n

0..1 0..n

Software Input Label : String

Software Output Label : String Publication : String Logical Task

Label : String Priority : int

Schedule : boolean Autostart : boolean Period : int

Execution_Time : int 1

0..n 1 0..n

1 0..n 1

0..n

1 1..n

1 1..n

1 0..n

1 0..n

1 0..n 1

0..n

Software Component Language_CC : String OS_CC : String Software Flow

0..n

0..n 0..n

+input

0..n

0..n

0..n 0..n

+output

0..n

/HVFRPSRVDQWVOLEUHVGHSODFHPHQW

80/

Architecture AIL V2.4

/RJLFLHOVG¶$SSOLFDWLRQ

(44)

DEVICE_TYPE Device_Name : String

(from Enumeration) Device Label

(from hardware layer)

0..n 1 0..n

1

LDM Label : String

Device Channel Label : String (from hardware layer)

1 0..n

1 0..n

0..1 0..10..1 0..1

DRIVER_TYPE Label : String (from Enumeration) Channel Requirement

Label : String (from hardware layer)

0..1 0..1 0..1

0..1

0..n 1 0..n

1

Software Component Language_CC : String OS_CC : String

Software Flow 0..n

0..n

+input 0..n

0..n

+output 0..n 0..n

0..n 0..n Free Software Component

/HVFRPSRVDQWVOLEUHVGHSODFHPHQW

80/

Architecture AIL V2.4

*HVWLRQGH

O¶LQVWUXPHQWDWLRQ

(45)

Free S oftware Component Software

Architecture Label : String

1..n 0..n

1..n 0..n

Software Component Language_CC : String OS_CC : String

Software Flow 0..n

0..n

+input 0..n

0..n

+output 0..n 0..n

0..n 0..n

/¶DUFKLWHFWXUHORJLFLHOOH 80/

Architecture AIL V2.4

(46)

‘C ase Study‘

SA1 Software Architecture

Validity Domain : TRUE|FALSE

Type : enumeration

KeyInsertDetection Input

Transponder Identification

ASC

GetKeyPosition

LDM

Validity Domain : TRUE|FALSE

Type : enumeration

KeyInsertDetection Output

/HVGRQQpHVGDQVODVWUXFWXUDWLRQ

ORJLFLHOOH Architecture AIL V2.4

(47)

Key Identification

Function

The key shall be identified

Requirement IDENT_001

GetKeyPosition

LDM

Acquire the key position

Requirement GetKeyPosition_001

Transponder Identification

ASC

The key shall be identified when inserted.

Requirement TransponderIdentification_001

+

‘=‘ )XQFWLRQDO$UFKLWHFWXUH 6RIWZDUH$UFKLWHFWXUH

/HVH[LJHQFHVGDQVODGpFRPSRVLWLRQ

ORJLFLHOOH Architecture AIL V2.4

(48)

Vehicle Project

Hardware Architecture Software

Architecture

Functional Architecture

Operational Architecture

8QHpWXGHGHFDV Architecture AIL V2.4

(49)

(&8

ICEM

OSEK OS

OSEK COM Drivers

(&8

OSEK OS

OSEK COM Drivers

ICEM

2SHUDWLQJ+DUGZDUH 2EMHFWV

'HSHQGHQW6RIWZDUH&RPSRQHQWV

$UFKLWHFWXUH PDWpULHOOH =

+

/HVFRPSRVDQWVPDWpULHOV Architecture AIL V2.4

1HWZRUN

(50)

Hardware Architecture

Label : String

ECU Label : String Cost : int

Frequency : float ROM_Size : int RAM_Size : int EEPROM : int Flash : int

1..n 0..n

1..n 0..n

NETWORK_PROTOCOL Protocol : String

(from Enumeration) Network Type Label : String

Physical_Layer : String Network_Specification : String

1 0..n

1 0..n Network

Connection Label : String

1 0..n

1 0..n

1..n 0..n

1..n 0..n

Network Label : String

1

0..n 1

0..n

Hardware Architecture

1 0..n

1 1..n 0..n

0..n 1..n

0..n

Driver BSC Label : String (from software layer)

DriverLayer Label : String

0..n 0..n 0..n 0..n OS BSC

Label : String (from software layer) COM BSC

Label

(from software layer)

0..1

0..1 0..1

0..n 0..1 0..n

0..n 0..n

ICEM Label COM_CC (from software layer)

0..1 0..n

0..1

0..n 0..n

0..n

0..n

0..n

Dependent Software Component (from software layer)

/HVFRPSRVDQWVPDWpULHOV 80/

Architecture AIL V2.4

(51)

Vehicle Project

Hardware Architecture Software

Architecture

Functional Architecture

Operational Architecture

8QHpWXGHGHFDV Architecture AIL V2.4

(52)

ECU #2

OSEK OS

OSEK COM Drivers

ICEM

ECU #1

OSEK OS

OSEK COM Drivers

ICEM

&$11HWZRUN

S A

A S

ASC LDM

ASCASC

LDMLDM

ASC LDM

ASCASC

LDMLDM

Hardware Architecture Software

Architecture

Operational Architecture

/HVFRPSRVDQWVRSpUDWLRQQHOV Architecture AIL V2.4

(53)

OS Task Label : String Type : String 0..n 11

Operational Architecture 0..n

Logical Task Label : String Priority : int

Schedule : boolean Autostart : boolean Period : int

Execution_Time : int (from software layer)

1 1..n

1 1..n

Software Component Language_CC : String OS_CC : String

(from software layer)

ECU Label : String Cost : int

Frequency : float ROM_Size : int RAM_Size : int EEPROM : int Flash : int

(from hardware layer)

1..n 0..n0..n 1..n

ASC Label : String (from software layer)

LDM Label : String (from software layer)

Free Software Component (from software layer)

0..n 1..n 0..n 1..n

Software Architecture Label : String (from software layer)

Operat ional Archi tect ure Label : String

A lgorythm : String 1

0..n

Hardware Architecture Label : String (from hardware layer)

1

0..n 1

0..n

1 0..n

Operational Architecture

Operational Architecture

/HVFRPSRVDQWVRSpUDWLRQQHOV 80/

Architecture AIL V2.4

(54)

Multiplexed Flow Label : String In_Byte : int At_Bit : int 0..n

0..1 0..n

0..1

Messaging Label : String

Network Label : String (from hardware layer)

Frame Label : String Size : int

FrameID : String 0..n

0..n 0..n 0..n

0..n . : Operational Architecture

0..n 0..n 0..n . : Operational Architecture

Operational Flow Software Flow (from software layer)

0..1

0..n

. : Operational Architecture . : Operational Architecture

0..1

0..n

/DPHVVDJHULHRSpUDWLRQQHOOH 80/

Architecture AIL V2.4

(55)

ECU Label : String Cost : int

Frequency : float ROM_Size : int RAM_Size : int EEPROM : int Flash : int

. : Operational Architecture 0..n

. : Operational Architecture 1

0..n

. : Operational Architecture

1

. : Operational Architecture Free Software Component

(from software layer) LDM

Label : String

(from software layer) 11 0..n0..n Device Channel Label : String

0..1 0..1

0..1 0..1

Device Label

Device Pin Label : String Type : String 0..n

0..n

1

1 0..n

ECU Pin Label : String

1

. : Operational Architecture 1

1 1

. : Operational Architecture

. : Operational Architecture . : Operational Architecture

1

. : Operational Architecture 1

DriverLayer Label : String

0..1 0..1

0..1

0..1 Driver BSC

Label : String (from software layer)

0..n 0..n

0..n 0..n

Driver_Channel Label : String (from software layer)

1 1..n

1 1..n

1

. : Operational Architecture . : Operational Architecture

1

. : Operational Architecture

%UDQFKHUOHVpTXLSHPHQWVDX[(&8

80/

Architecture AIL V2.4

(56)

Vehicle Project

Hardware Architecture Software

Architecture

Functional Architecture

Operational Architecture Project Objects

Functional Objects Software Objects Hardware Objects Operational Objects

Architecture AIL V2.4

(57)

‡3UpVHQWDWLRQJpQpUDOH

‡$,/HWGpYHORSSHPHQWG¶XQHDUFKLWHFWXUH HPEDUTXpHDYHF$,/

‡2XWLOVGHGpYHORSSHPHQW

‡'pPRQVWUDWHXUV Plan

(58)

Validation tool Test generator tool

Specification tool (Statemate, ...)

development

System

specification System design

System validation System integration Validation tool

Mapping tool Performance evaluation tool

Tester

calibration tool

Code analyserCode Code generator

Description de l’architecture

3ULQFLSHGHFRQQH[LRQGHVRXWLOV j$,/

Outils

%'$,/

(59)

+ Interface AIL-Extension 1

AIL-Extension1

API -ext1

DB1 Data Base AIL-compliant

Documentation generator tool OPNET tool

(performance evaluation) SYNDEX tool

(mapping)

Configuration tool

AIL Editors (Architectures, Components)

Extension1- Specific tool

Standard Interface

API implementation -- for DB1

%'$,/

,QWHUIDoDJHGHVRXWLOV j$,/

Outils

(60)

DB1

Data Base

AIL-compliant Design

tool

Config.

tool

AIL Editors

API implementation -DB1

AIL.xml Exchange

Management

Exchange Management

DB2

Data Base

AIL-compliant Config.

tool

AIL Editors Design

tool

API implementation -DB2

(FKDQJH HWLQWpJUDWLRQG¶DUFKLWHFWXUHV

$,/

Outils

(61)

AIML.DTD

API implementation -DBi

API implementation -XML XML File

AIL-compliant DBi

Data Base

AIL-compliant

Exchange file AIL.xml

Table structure

DTD

AIML.xml

DTD Generators

DBi structure Generators

DBi API implementation

generators XML API

implementation generators API interface

generator

AIML Editor API AIML reference manual generator

AIML.xml + (Extension j)

*pQpUDWLRQDXWRPDWLTXH Outils

(62)

‡3UpVHQWDWLRQJpQpUDOH

‡$,/HWGpYHORSSHPHQWG¶XQHDUFKLWHFWXUH HPEDUTXpHDYHF$,/

‡2XWLOVGHGpYHORSSHPHQW

‡'pPRQVWUDWHXUV Plan

(63)

Gestion_Etats_et _modes_ Système

2.3.15 Informer_les_

autres_véhicule_e n_détresse

2.3.1

Localisation_véhicule 2.3.6 Informer_

utilisateur_véhicule _en_détresse

2.3.7

Informer_les_

autres_changement _direction

2.3.2

Informer_

utilisateur_changement _direction

2.3.3

Informer_

utilisateur_porte_

ouverte 2.3.4

identification_cle_0 2.3.8

Informer_

utilisateur_état_

moteur 2.3.5 Plafonnier_Alfix

2.3.12 ou Plafonnier_Alpro

2.3.13

Démarrage 2.3.14

Plafonnier

Clé de contact

Voyant témoin

« état moteur » Push PLIP

transpondeur Voyant témoin

indicateur de feux de direction

Commande changement de

direction Bouton

Warning

Voyant témoin

« porte ouverte » Feux

indicateurs de direction

Push Démarrage

CPO 2

CPO 1

Voyant témoin indicateur de

feux de direction Feux

indicateurs de direction Feux

indicateurs de direction

Etat_commande_direction

Etat_Système

Action_porte

Detection_prése nce_clé

Etat_ver_dever_moteur Periodicité_feux_direction

Etat_Système Etat_Mode

Etat_Systèm e

Etat_une_porte_

ouverte Etat_Systèm e Véhicule_détresse

Action_Plip

Etat_Moteur Action_bouton_Warning

Périodicité_warning

Identification_Clé_OK

De_verrouillage_1 2.3.11

Etat_Moteur

Authentification_syste me_0 2.3.10

Activation_Déverrouillage

Version luxe

$SSOLFDWLRQVRXVHQVHPEOHKDELWDFOH 36$ 6DJHP6LHPHQV 9DOHR Démonstrateur

([WUDLWGHO¶DUFKLWHFWXUH IRQFWLRQQHOOH

(64)

LDM-SC

Transpondeur

Recherche_Code

Code_Transp

Gestion_evenement_tr anspondeur

ASC

Identification_Cle_Ok Comparer_code_transp

ondeur

ASC

Etat_Systeme

De_Verrouillage_1

ASC

Etat_Ver_Dever_Moteur

Demarrer

ASC LDM-SC

Bouton_Demarrage

Push_Dem

Gestion_etats_et_mode s_systeme

ASC

Insertion_cle Position_cle

Etat_Systeme Mode_systeme

LDM-SC

Lecture_position_clef_d e_contact

LDM-SC

Voyant_Etat_Moteur Etat_Moteur

LDM-SC

Plaf_Alpro Plafonnier

Mode_systeme

Etat_Systeme

Dem_Autentification

ASC

Calcul_Code_0

ASC

Calcul_Code_0

ASC

Dem_Autentification

ASC

Etat_Systeme

Géné_Code_Al

Fin_Authentification

ASC

Code_Aleatoire

Fin_Calcul_1

Fin_Calcul_0 Code_1

Code_0

Activation_Deverouillage

$SSOLFDWLRQVRXVHQVHPEOHKDELWDFOH 36$ 6DJHP6LHPHQV 9DOHR Démonstrateur

([WUDLWGHO¶DUFKLWHFWXUH ORJLFLHOOH

(65)

Sagem ECU

CAN Network

Local A/S Devices Local A/S Devices Local A/S Devices

O S E K - O OSEK COM S I/O Drivers

Siemens ECU

O S E K - O OSEK COM S I/O Drivers

Valeo ECU

O S E K - O OSEK COM S I/O Drivers

LDM

ICEM ASC

LDM

ICEM ASC

LDM

ICEM ASC

$SSOLFDWLRQVRXVHQVHPEOHKDELWDFOH 36$ 6DJHP6LHPHQV 9DOHR Démonstrateur

$UFKLWHFWXUHPDWpULHOOH

(66)

Access DB Data Base AIL-compliant

Simple Messaging tool

(manual)

Configuration tool

(automatic) AIL Editors

(Architectures, Components)

Embedded Software Structure Configuration

Files Simple

Scheduling tool (automatic)

API implementation -- for our Access DB mock-up

ICEM configurations, LDM configurations, OIL files,

Makefiles,

OSEK “main” files

$SSOLFDWLRQVRXVHQVHPEOHKDELWDFOH 36$ 6DJHP6LHPHQV 9DOHR Démonstrateur

2XWLO

(67)

$SSOLFDWLRQVRXVHQVHPEOHKDELWDFOH 36$ 6DJHP6LHPHQV 9DOHR Démonstrateur

2XWLO

(68)
(69)

)RUXPGpPRQVWUDWLRQOH GpFHPEUH

j36$3RLVV\*UDQGDPSKL$UPDQG3HXJHRW

Références

Documents relatifs

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

Zaprionus indianus is assigned to the subgenus Zaprionus, species group armatus and species subgroup vittiger (Chassagnard, 1988; Chassagnard and Tsacas, 1993).. We provide here

Various behavioral techniques have been employed and researched in terms of enhancing the social behavior of children with ASD such as: trial training, making use of stereotypic

The Independent Review Panel on the State ofthe Northern Cod Stock (1990j, known hereafter as The Harris Report, is one of the most comprehensive analysis conducted on the science

(.tbereallllrltetforldf'-directedieaminginaworid with values largely framed within a formal context? A5educaton,exploringooD- forma1 autonomous leaming, weseek clues 10

using other records in the lake sediment, including pollen (vegetation change), diatoms (lake water pH and chemistry), SOOt (coal combustion), charcoal (wood combustion),

According to the point of view of the French mathematicians who participated to the conference, a number of topics on which Iraqi mathematicians are doing research is not connected

Instead, Peterson’s theorem should (only) be interpreted in the following way: it formally shows that, given two other technical premises, the Archimedian condition and (as I argue