Document Title Application Interfaces User Guide Document Owner AUTOSAR Document Responsibility AUTOSAR Document Identification No 442
Total Page:16
File Type:pdf, Size:1020Kb
Application Interfaces User Guide AUTOSAR CP Release 4.3.1 Document Title Application Interfaces User Guide Document Owner AUTOSAR Document Responsibility AUTOSAR Document Identification No 442 Document Status Final Part of AUTOSAR Standard Classic Platform Part of Standard Release 4.3.1 Document Change History Date Release Changed by Change Description 2017-12-08 4.3.1 AUTOSAR Editorial changes Release Management 2016-11-30 4.3.0 AUTOSAR Add chapter about implementation Release of data types as integer or floating Management point data types – Chapter ID 4.2.3.3. Bugzilla # 72021 2015-07-31 4.2.2 AUTOSAR Updated explanation of the Release COMPU_METHOD reusage Management Updated the Linear Conversion Example 2014-10-31 4.2.1 AUTOSAR Sensors and Actuators Pattern Release adopted in the AI Domain Management Obsolete AI Table substituted by new official AI Tool for content development phase and arxml generation Enhanced collections arxml deliverables structure 2013-10-31 4.1.2 AUTOSAR New ARXML file distribution feature Release Management 2013-03-15 4.1.1 AUTOSAR Updated categories of model Administration elements (Data Constraints and Keywords to Blueprints) Introduced description of Backward Compatibility, Lifecyle State and Variant Handling (Views) concepts Deliverables from Application Interfaces updated 1 of 101 Document ID 442: AUTOSAR_EXP_AIUserGuide - AUTOSAR confidential - Application Interfaces User Guide AUTOSAR CP Release 4.3.1 Document Change History Date Release Changed by Change Description 2011-12-22 4.0.3 AUTOSAR Description of Categories of model Administration elements created Synchronization of Update of XML package structure especially regarding Port Blueprints Synchronization to updates of AUTOSAR meta model Description of Naming conventions for connectors 2011-04-15 4.0.2 AUTOSAR Initial Release Administration 2 of 101 Document ID 442: AUTOSAR_EXP_AIUserGuide - AUTOSAR confidential - Application Interfaces User Guide AUTOSAR CP Release 4.3.1 Disclaimer This work (specification and/or software implementation) and the material contained in it, as released by AUTOSAR, is for the purpose of information only. AUTOSAR and the companies that have contributed to it shall not be liable for any use of the work. The material contained in this work is protected by copyright and other types of intellectual property rights. The commercial exploitation of the material contained in this work requires a license to such intellectual property rights. This work may be utilized or reproduced without any modification, in any form or by any means, for informational purposes only. For any other purpose, no part of the work may be utilized or reproduced, in any form or by any means, without permission in writing from the publisher. The work has been developed for automotive applications only. It has neither been developed, nor tested for non-automotive applications. The word AUTOSAR and the AUTOSAR logo are registered trademarks. 3 of 101 Document ID 442: AUTOSAR_EXP_AIUserGuide - AUTOSAR confidential - Application Interfaces User Guide AUTOSAR CP Release 4.3.1 Table of Contents 1 Purpose of this document .................................................................................. 7 1.1 Document Overview ..................................................................................... 7 2 Introduction to Application Interfaces Table ....................................................... 8 2.1 Structural overview of Domains in AI Table ................................................ 10 3 AUTOSAR Methodology .................................................................................. 11 3.1 Overview on available documents .............................................................. 12 3.1.1 Software Component Template [1] ........................................................ 12 3.1.2 Standardization Template [2] ................................................................. 12 3.1.3 Generic Structure Template [4] .............................................................. 12 3.1.4 AI Specification [6] ................................................................................. 12 3.1.5 Modeling Guide for Application Interfaces [9] ......................................... 12 3.1.6 AUTOSAR Methodology [10] ................................................................. 12 3.1.7 Explanation of Application Interfaces for Domain Body Comfort [11] ..... 13 3.1.8 Explanation of Application Interfaces for Domain Powertrain [12] .......... 13 3.1.9 Explanation of Application Interfaces for Domain Chassis [13] .............. 13 3.1.10 Explanation of Application Interfaces for Domain Occupant and Pedestrian Safety [14] ............................................................................ 13 3.1.11 Explanation of Application Interfaces for Domain Multimedia, Telematics, Human Machine Interface [15] ............................................ 13 4 Metamodel representation of AI Table ............................................................. 14 4.1 Category of Model Elements ...................................................................... 14 4.1.1 STANDARD ........................................................................................... 14 4.1.2 BLUEPRINT ........................................................................................... 14 4.1.3 EXAMPLE .............................................................................................. 15 4.2 Meta model diagrams and the AI Table ...................................................... 15 4.2.1 Composition ........................................................................................... 15 4.2.2 Blueprint Mapping & BlueprintMappingSet............................................. 20 4.2.3 PortPrototypes ....................................................................................... 21 4.2.4 PortInterfaces ......................................................................................... 23 4.2.5 DataTypes .............................................................................................. 26 4.2.6 Physical Units ........................................................................................ 32 4.2.7 Computation Methods ............................................................................ 33 4.2.8 Keyword and KeywordSet ...................................................................... 33 5 Backward Compatibility .................................................................................... 36 4 of 101 Document ID 442: AUTOSAR_EXP_AIUserGuide - AUTOSAR confidential - Application Interfaces User Guide AUTOSAR CP Release 4.3.1 5.1 Introduction ................................................................................................. 36 5.2 Backward Compatibility Definition .............................................................. 36 5.3 Summary .................................................................................................... 39 6 Life Cycle States .............................................................................................. 40 6.1 Introduction ................................................................................................. 40 6.2 Representation in AI Table ......................................................................... 40 6.3 Representation in meta model and arxml ................................................... 41 7 View Concept in Application Interfaces (Variant Handling) .............................. 43 7.1 Introduction ................................................................................................. 43 7.2 Implementation in Application Interfaces and Meta Model Representation 43 8 Structure of Application Interfaces (AI) Table ................................................... 47 8.1 Main sheets of the AI Table ........................................................................ 47 8.1.1 Sheet 04_Keywords ............................................................................... 47 8.1.2 Sheet 05_TopLevel ................................................................................ 48 8.1.3 Sheets 050xxxxx .................................................................................... 51 8.1.4 Sheet 06_Interfaces_DataElements (SenderReceiverInterface) ............ 52 8.1.5 Sheet 06_Interface_ClientServer ........................................................... 54 8.1.6 Sheet 07_DataTypes_ContinuousValue ................................................ 56 8.1.7 Sheet 08_DataTypes_Enumeration ....................................................... 56 8.1.8 Sheet 09_DataTypes_Array ................................................................... 58 8.1.9 Sheet 11_DataTypes_Record ................................................................ 59 8.1.10 Sheet 13_Units ...................................................................................... 61 8.1.11 Sheet 15_Redirected_Ports ................................................................... 62 8.2 Complete List of all Sheets of the AI Table ................................................. 63 9 Relationship between AI Table data and XML Output ...................................... 66 9.1 Overview .................................................................................................... 66 9.1.1 Dependencies of XML Generation ......................................................... 66 9.1.2 Contents of Generated XML .................................................................