您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > AUTOSAR详细介绍
©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.V1.2.42009-03-16基础知识©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:2大纲综述和目标AUTOSAR入门(introduction)AUTOSAR方法论(methodology)AUTOSAR实时环境(RTE)AUTOSAR基础软件(BSW)VectorAUTOSAR实现从CANbedded到AUTOSAR©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:3综述和目标电子系统的复杂性不断增长软件代码量急速上升生命周期差别:整车的生命周期往往长于ECU的生命周期嵌入式系统不支持硬件抽象有限的软件模块化重用性差:当硬件(处理器型号)更换后,软件往往要推倒重写五花八门的硬件平台行业现状©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:4综述和目标NetworkManagementTransportProtocolCommunicationControlLayerUniversalMeasure-mentAndCalibrationProtocolCANDriverCANBusInteractionLayerDiagnosticsLayerApplicationISO/OSEKCANControllerTransceiverVector此前的解决方案ISO/OSEKISOISO/OSEKASAMHISISO/OSEK©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:5综述和目标AUTOSAR成员©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:6综述和目标Slogan:“Cooperateonstandards–competeonimplementation”AUTOSAR口号HardwareSoftwareHardwareSoftware©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:7综述和目标AUTOmotiveOpenSystemARchitecture标准化软件接口交换格式方法论将汽车系统的基础软件标准化为一个跨OEM的“标准栈”集成不同供应商生产的功能模块适用于不同的车辆及不同的车型目标©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:8综述和目标适用于整个产品生命周期从软件中把硬件抽象出来,对于不同硬件平台具有更大的灵活性更多的配置而非实现标准化AUTOSAR的代码配置/建模工具通过对BSW的标准化提高了代码质量竞争力只体现于对OEM的特殊功能要求的实现在整个汽车生命周期中,软件可以不断更新或升级重用性可以覆盖整个网络节点,甚至跨不同OEM目标©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:9综述和目标FunctionLibrarySeatAdjustmentASeatAdjustmentBLightingSeatHeatingAirConditioningVehicleACodeGenerationVehicleBHardwareTopologyDistributedSystemSoftwareConfigurationAUTOSAR目标软件功能模块在不同车型之间被重用©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:10综述和目标AUTOSAR解决方案SystemDescriptionGenerators/EditorsConfigurationDataStandardizedApplicationinterfaceStandardizedbasicsoftwareArchitectureProcessSW+HWDescription©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:11综述和目标AUTOSAR项目阶段Source:©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:12大纲综述和目标AUTOSAR入门(introduction)AUTOSAR方法论(methodology)AUTOSAR实时环境(RTE)AUTOSAR基础软件(BSW)VectorAUTOSAR实现从CANbedded到AUTOSAR©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:13AUTOSAR入门车灯控制系统的软件功能组件示意图LightSwitchRightDoorDoorContactDimmerLeftDoor©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:14DoorContactAUTOSAR入门VirtualFunctionBusRightDoor软件功能组件通信DimmerLightLeftDoorSwitch©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:15RoofECURTEBSWControllerFrontECUControllerBSWAUTOSAR入门SwitchLeftDoorDimmerLightRTE分布式软件组件BusDoorContactRightDoor©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:16AUTOSAR入门Atomiccomponent(昀小的逻辑单元,无法再分)Application实现算法Sensor/actuator为Application提供I/O量与ECU绑定(不像Application那样能在各ECU上自由映射)Composition-数个SWC的逻辑集合软件组件(SWC)的分类LightControlCompositionComponentLightActuatorComponentSwitchSensorComponentDimmerAppl.ComponentDoorContactAppl.Component©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:17AUTOSAR入门SWC的组成之一:Ports和其他SWC的通信端口通信内容:Dataelements(S/R)与operations(C/S)端口(Ports)SoftwarecomponentClient/Server(Client)Client/Server(Server)Sender/Receiver(Receiver)Sender/Receiver(Sender)©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:18AUTOSAR入门RoofECULightRTEMicrocontrollerBusAUTOSARBSWDataelement:Light_DimmDataelement:DoorOpenSignal:DoorLeft_Open传输数据一个port可以包含多种dataelement如果一个dataelement要通过总线传输,那么它必须与一个signal对应起来DE既可以是简单的数据类型(integer,float),也可以是复杂类型(array,record)通信方式:1:norn:1“mapping”发送-接收端口(Sender-Receiver)Dimmer©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:19AUTOSAR入门SWC3SWC1SWC2Example:Rte_Call_Door_State()提供Operation服务通信方式:1:1orn:1(与S/R对应)同步或异步一个C/Sport包含多种operationsOperations可以被单个调用客户端-服务器端口(Client-Server)©2009.VectorInformatikGmbH.Allrightsreserved.AnydistributionorcopyingissubjecttopriorwrittenapprovalbyVector.Slide:20AUTOSAR入门SWC的组成之二:Runnableentities(简称Runnables)包含实际实现的函数(具体的逻辑算法或者操作)Runabl
本文标题:AUTOSAR详细介绍
链接地址:https://www.777doc.com/doc-3595609 .html