节点文献
基于AUTOSAR的汽车故障诊断系统的设计与实现
Design and Implementation of Vehicle Diagnostic System Based on AUTOSAR
【作者】 胡琦;
【作者基本信息】 浙江大学 , 计算机软件与理论, 2011, 硕士
【摘要】 随着汽车电子技术的发展,由于电子控制系统的复杂性,传统的汽车故障诊断开发和测试方法已经难以满足故障诊断在实时性、准确性和开发效率上的需求。AUTOSAR为解决应用程序重复开发、移植困难的问题提供了一种新的手段,但还存在着配置繁琐、效率低下、占用资源过多、开发工具链不完善以及可参考的AUTOSAR解决方案稀少等问题。本文在调研了目前世界主要汽车整车厂商、软件提供商以及硬件提供商所提供的AUTOSAR解决方案以及现有汽车故障诊断系统的基础上,探索性地按照AUTOSAR标准完成了基于AUTOSAR的汽车故障诊断的设计与实现,并使用硬件在环仿真技术搭建了故障诊断仿真测试环境。本文首先基于目前汽车电子软件开发主流趋势AUTOSAR,探索汽车故障诊断系统软件开发的新方法。在基于AUTOSAR开发故障诊断软件时,软件开发人员不需要关注底层硬件和通信的实现细节,只需要专注于软件本身功能的设计。然后基于上述方法和OBD诊断协议设计和实现了AUTOSAR中诊断通信管理和诊断事件管理两大核心模块,并实现了7个常用OBD服务。最后使用硬件在环仿真技术搭建了故障诊断仿真测试环境。OBD诊断协议要求发动机电子控制单元诊断模块能够实时监测零部件和系统故障,并对各种故障状态做出相应反应并正确记录故障码。本文使用硬件在环技术完成仿真测试,能够节省大量时间和费用。不仅如此,HIL还可以在实车测试无法进行的极限条件下完成测试,而且测试是可重现和自动化的。
【Abstract】 With the development of automotive electronics, the traditional developing and testing methods for vehicle diagnosis can hardly meet the demand of real-time, accuracy and efficiency of development. AUTOSAR has provided new methods for solving the repeated application development and portable problems. However, some drawbacks still exist, such as the cumbersome configuration, low efficiency, too much resources occupation, incomplete developing tools and few AUTOSAR solution references.In this paper, we have investigated AUTOSAR solutions and vehicle diagnostic systems of the major vehicle manufacturers, software and hardware providers. Based on such investigations, we have accomplished the design and implementation of vehicle diagnostic system according to the AUTOSAR. Meanwhile, by using the hardware in the loop simulation technique, we have built the diagnosis simulation testing environment.In this paper, firstly, we have explored a new method of software development for vehicle diagnostic system based on AUTOSAR—current mainstream trends in automotive electronics.When develop such diagnostic system, software developers do not need to concern about the realization of the underlying hardware and communication details, focusing on the design of software functions is just enough. Then, based on the above method and OBD diagnostic protocols, we have accomplished the diagnostic event manger (DEM) and diagnostic communication manger (DCM) which are the core modules in AUTOSAR diagnostic system. The seven common OBD services are implemented in the system. Finally, we use the hardware in the loop simulation technology to build a diagnostic simulation test environment. The OBD diagnostic protocols require the diagnostic module of the engine electronic control unit to real-time monitoring the components and systems malfunctions, correctly record fault code and make the appropriate reactions according to the fault conditions. This paper uses HIL technology to achieve simulation tests, which can save considerable time and expense. Moreover, HIL can complete the test under extreme conditions which cannot be accomplished in real vehicle testing. All the tests are reproducible and automatic.
【Key words】 AUTOSAR; Vehicle Diagnostic; On-Board Diagnostic; HIL;