当前位置:主页 > 科技论文 > 软件论文 >

车辆总线仿真语言ADI编译器和模拟器的实现和改进

发布时间:2018-04-23 12:42

  本文选题:LEX + YACC ; 参考:《华东理工大学》2016年硕士论文


【摘要】:随着汽车电子化程度越来越高,整车厂开发的车型中电控单元(行车电脑)的数量越来越多,这些电控单元都通过车载总线网络进行通信和数据交互。通俗来讲,车载总线就像是高速公路,电控单元就像是高速公路上运行的汽车,每辆运行的汽车都必须按照交通法规进行运行,才能避免出现交通事故,否则高速公路就会出现拥堵,甚至瘫痪。因此随着电控单元的增多,对车辆中的CAN总线的安全性、可靠性、以及效率等要求也是越来越高。当前车载总线相关的测试工具主要由国外供应商垄断,不利于国内整车厂的车型研发工作。在车载总线测试工作中,车辆总线仿真是一个至关重要的功能。车辆总线仿真是当车辆在实验室设计研发阶段,车辆上安装的诸多电控单元未研发完成时,通过工具仿真电控单元的功能逻辑,测试车辆总线的功能和可靠性。本课题的ADI车辆总线仿真语言是针对车辆车载总线仿真开发的类C语言,通过开发针对本语言的编译器、模拟器和集成开发环境,为用户提供一套完整的编程环境。ADI语言是在IBM公司提供的LEX、YACC语言词法、语法分析器生成工具生成的分析器基础上,结合编译原理和国内应用要求,对原型代码进行重新架构设计、开发实施,使其更加符合当国内车辆开发测试的应用要求。本课题的工作重点主要有以下几点, (1)在车载总线仿真环境下词法分析其工具(LEX)和语法分析器工具(YACC),语言设计的优化和开发工作; (2)在车载总线仿真环境下对编译器和模拟器进行重构和优化,通过应用更多的标准化函数库提高可靠性和通用性;通过模块化和层次化提高可维护性;通过多线程并发应用,提高整体执行效率。
[Abstract]:With the increasing degree of electronization of vehicles, the number of electronic control units (driving computers) in the vehicles developed by the whole vehicle factory is more and more. These electronic control units communicate and data exchange through the vehicle-bus network. In general, a car bus is like a highway, and an electronic control unit is like a car running on a highway. Every car that runs must be operated in accordance with traffic regulations to avoid traffic accidents. Otherwise, the highway will be congested or even paralyzed. Therefore, with the increase of electronic control units, the security, reliability and efficiency of CAN bus in vehicles are becoming more and more high. At present, the vehicle bus related testing tools are monopolized by foreign suppliers, which is unfavorable to the research and development of domestic vehicle manufacturers. Vehicle bus simulation is a very important function in vehicle bus testing. The vehicle bus simulation is to test the function and reliability of the vehicle bus by simulating the function logic of the electronic control unit when the vehicle is in the design stage of the laboratory and many electronic control units installed on the vehicle are not developed. The ADI vehicle bus simulation language of this subject is a kind of C language which is developed for the vehicle vehicle bus simulation. By developing the compiler, simulator and integrated development environment for this language, To provide users with a complete programming environment. ADI language is based on Lexi YACC language lexical and parser generation tools provided by IBM Company, combined with compiling principle and domestic application requirements. The prototype code is redesigned, developed and implemented to meet the requirements of domestic vehicle development and testing. The main work of this subject is as follows: (1) the lexical analysis tool under the vehicle bus simulation environment (X) and the parser tool (YAC), the optimization and development of language design. Translators and simulators are refactored and optimized, Through the application of more standardized function library to improve reliability and versatility; through modularization and hierarchy to improve maintainability; through multi-thread concurrent applications to improve the overall execution efficiency.
【学位授予单位】:华东理工大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:U463.6;TP314

【相似文献】

相关期刊论文 前10条

1 ;ADI公司射频功率检测器取得新突破[J];电子产品世界;2004年12期

2 李双寿,卢达溶,洪亮,刘汉伟,许洪元;ADI渣浆泵叶片磨损机理的研究[J];流体机械;2000年06期

3 孙俊杰;;ADI安全监控器提升锂电池保护系统安全性[J];中国电子商情(基础电子);2010年05期

4 ;ADI公司发布业界首款用于电容和阻抗精确测量的单芯片解决方案[J];电子与电脑;2005年04期

5 张松;;奥贝球铁(ADI)制造滚轮挺柱[J];国外机车车辆工艺;1992年05期

6 ;ADI公司发布用于手机照相机的集成透镜驱动器解决方案[J];电子与电脑;2005年04期

7 ;ADI推出新一代Sigma DSP处理器[J];汽车零部件;2014年01期

8 James Bryant;;非常见问题解答 来自ADI公司的电话记录中奇怪但真实的故事 照顾好未使用的引脚![J];电子设计技术;2011年07期

9 James Bryant;;非常见问题解答 来自ADI公司的电话记录中奇怪但真实的故事 变压器——并非庞若船锚[J];电子设计技术;2012年07期

10 ;ADI公司助力日立公司无线视频集线器[J];现代制造;2008年Z2期

相关会议论文 前3条

1 李继林;郑开宏;高萌;;不同球化效剂对ADI球铁组织性能的影响[A];2013广东材料发展论坛——战略性新兴产业发展与新材料科技创新研讨会论文摘要集[C];2013年

2 姜利坤;刘金海;赵雪勃;李国禄;王磊;郭建斌;;等温淬火工艺对双相ADI力学性能的影响[A];2008中国铸造活动周论文集[C];2008年

3 王成刚;王怀林;张瑞卿;苏涛;;一汽铸造有限公司等温淬火球墨铸铁(ADI)的研究与应用[A];中国机械工程学会第十一届全国铸造年会论文集[C];2006年

相关重要报纸文章 前7条

1 林昌明 DigiTimes;ADI上季度获利增长19%[N];电子资讯时报;2006年

2 林昌明 DigiTimes;ADI购并韩国模拟IC设计公司Imtegrant Technologies[N];电子资讯时报;2006年

3 毛晶慧;联发科技3.5亿美金并购ADI手机业务[N];中国经济时报;2007年

4 ;ADI推出高性能输出驱动器[N];计算机世界;2008年

5 ;显示器的好伴侣-ADI视控精灵[N];科技日报;2000年

6 记者 陈姗姗;武钢投资8亿与加拿大ADI资源公司合资开矿[N];第一财经日报;2011年

7 马晓芳;联发科收购ADI手机芯片部门大唐、中兴均表示不受影响[N];第一财经日报;2007年

相关硕士学位论文 前1条

1 邸萌亮;人脂联素基因(ADI)转化水稻的研究[D];扬州大学;2011年



本文编号:1792021

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/ruanjiangongchenglunwen/1792021.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户aba56***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com