CASIA OpenIR  > 毕业生  > 硕士学位论文
符合AUTOSAR规范的车载专用OSEK/VDX操作系统设计与实现
Alternative TitleThe Design and Realization of Vehicle real-time Operating system Based on OSEK/VDX and AUTOSAR Standard
宋东平
Subtype工程硕士
Thesis Advisor郭大蕾
2011-05-27
Degree Grantor中国科学院研究生院
Place of Conferral中国科学院自动化研究所
Degree Discipline软件工程
KeywordOsek/vdx Autosar 嵌入式实时操作系统 汽车电子 Osek/vdx Autosar Embedded Real-time Os Automobile Electronics
Abstract为了解决车载软件的兼容性,可移植性和可配置性等问题,欧洲于1993年提出了OSEK/VDX车载嵌入式实时操作系统标准。该标准通过总结前期国际汽车行业的知识和经验,构建出了一个通用的、有利于移植和用户配置的软件框架。OSEK/VDX提出后受到了国外汽车厂商和零部件商的欢迎,并相继研发了各自的满足OSEK/VDX标准的操作系统。2003年,欧洲汽车行业又提出AUTOSAR标准,该标准旨在进一步提升车载软件的可移植性和可重用性,并对OSEK/VDX做了相应的约束和补充。但就我国而言,因为在汽车电子方面开展的工作相对较晚,因此有必要对这部分工作进行进一步的研究。 本文在对OSEK/VDX规范和AUTOSAR规范的深入研究的基础上,首先基于OSEK/VDX标准设计和实现了实时操作系统;其次对实现的操作系统进行接口的升级,使其符合AUTOSAR 标准。论文完成的车载专用实时操作系统采用层次化,模块化的设计理念,确保实现的系统具有良好的可移植性和维护性。系统满足OSEK/VDX标准中规定的ECC2一致类的最小要求,能够支持16个任务优先级,具有可配置的扩展任务和基本任务,同时至少包含8个资源和1个报警器等。系统还实现了标准中规定的事件机制、资源管理、防止出现优先级翻转和死锁现象的天花板协议、中断管理以及报警器管理。在实现操作系统的调度策略时,能够同时支持非抢占调度策略和完全抢占调度策略。在系统的任务调度算法中,论文采用了先进先出的FIFO队列和基于映射表的查找策略,使任务的调度具有一定的实时性和确定性。在实现的警报器中,采用了差分时间链表的数据结构,从而大大减少了就绪报警器的查找时间。 最后本文将实现的操作系统内核移植到PHILIPS公司的LPC2378处理器上,并在该平台上对内核做了相关的时间和空间测试。通过上述的测试表明,本文实现的内核满足车载实时性的要求。最后本文使用已经实现的操作系统,完成了一个简单的应用案例,通过该案例,证明了本文实现的操作系统的稳定性和提供服务的正确性。 关键词:OSEK/VDX,AUTOSAR,嵌入式实时操作系统,汽车电子
Other AbstractIn 1993, the European automobile organization put forward OSEK/VDX real-time operating system standard for automobile electronics, which reflected better performance in compatibility, portability and configurability. And because of its distributed characteristics, the technical standard on automobile electronics attracted more attention and achieved wide utilization in the field of automobile industry. A large numbers of manufacturers research and development their own RT OS in terms of OSEK/VDX. In 2003, a new standard named AUTOSAR was proposed by European automobile organization, which aimed to further improve the performance of compatibility and portability for vehicle software. In China, such related research and study on vehicle electronics standard started lately, and developed poorly and had less advanced compared with the former country and organization. This study designs and implements the OS kernel based on the standard of OSEK/VDX, furthermore, in order to match the standard of AUTOSAR, the interfaces of OSEK/VDX is upgraded for the electronics software of vehicle. This article designs the OS kernel with the ideas of hierarchical and modular. The OS kernel supports the conformance class of ECC2, 16 task priorities, both extend and basic tasks, at least 8 resources and 1 alarm. The OS also implements task management, resource management, event mechanism, interrupts processing, alarms and priority celling protocol which is used to prevent the task priority reverse and dead lock. The schedule mechanism in this OS supports both non-preempt strategy and preempt strategy. In order to make sure the real-time property and determinacy of task schedule, this article designs the schedule algorithm based on the first in first out (FIFO) queue and bit map searching strategy. While implementing the alarm management, article adopts the data structure of difference time linked list, this structure decreases the time significantly when the OS searching the ready alarm. In order to verify the validity of the vehicle electronics OS based on OSEK/VDX and AUTOSAR standard, it is transplanted and implemented on the LPC2378 microprocessor of Philips. And the performance of time and memory of OS required are measured, the result proves that the OS kernel can satisfy the needs of automobile and real-time circumstances. At last, a simple application has been implemented which uses the OS kernel above. This application shows that the implemented OS is stability and ...
shelfnumXWLW1623
Other Identifier200828009029067
Language中文
Document Type学位论文
Identifierhttp://ir.ia.ac.cn/handle/173211/7580
Collection毕业生_硕士学位论文
Recommended Citation
GB/T 7714
宋东平. 符合AUTOSAR规范的车载专用OSEK/VDX操作系统设计与实现[D]. 中国科学院自动化研究所. 中国科学院研究生院,2011.
Files in This Item:
File Name/Size DocType Version Access License
CASIA_20082800902906(949KB) 暂不开放CC BY-NC-SAApplication Full Text
Related Services
Recommend this item
Bookmark
Usage statistics
Export to Endnote
Google Scholar
Similar articles in Google Scholar
[宋东平]'s Articles
Baidu academic
Similar articles in Baidu academic
[宋东平]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[宋东平]'s Articles
Terms of Use
No data!
Social Bookmark/Share
All comments (0)
No comment.
 

Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.