車輛總線仿真語言ADI編譯器和模擬器的實現(xiàn)和改進
本文選題:LEX + YACC; 參考:《華東理工大學》2016年碩士論文
【摘要】:隨著汽車電子化程度越來越高,整車廠開發(fā)的車型中電控單元(行車電腦)的數(shù)量越來越多,這些電控單元都通過車載總線網(wǎng)絡進行通信和數(shù)據(jù)交互。通俗來講,車載總線就像是高速公路,電控單元就像是高速公路上運行的汽車,每輛運行的汽車都必須按照交通法規(guī)進行運行,才能避免出現(xiàn)交通事故,否則高速公路就會出現(xiàn)擁堵,甚至癱瘓。因此隨著電控單元的增多,對車輛中的CAN總線的安全性、可靠性、以及效率等要求也是越來越高。當前車載總線相關的測試工具主要由國外供應商壟斷,不利于國內(nèi)整車廠的車型研發(fā)工作。在車載總線測試工作中,車輛總線仿真是一個至關重要的功能。車輛總線仿真是當車輛在實驗室設計研發(fā)階段,車輛上安裝的諸多電控單元未研發(fā)完成時,通過工具仿真電控單元的功能邏輯,測試車輛總線的功能和可靠性。本課題的ADI車輛總線仿真語言是針對車輛車載總線仿真開發(fā)的類C語言,通過開發(fā)針對本語言的編譯器、模擬器和集成開發(fā)環(huán)境,為用戶提供一套完整的編程環(huán)境。ADI語言是在IBM公司提供的LEX、YACC語言詞法、語法分析器生成工具生成的分析器基礎上,結(jié)合編譯原理和國內(nèi)應用要求,對原型代碼進行重新架構(gòu)設計、開發(fā)實施,使其更加符合當國內(nèi)車輛開發(fā)測試的應用要求。本課題的工作重點主要有以下幾點, (1)在車載總線仿真環(huán)境下詞法分析其工具(LEX)和語法分析器工具(YACC),語言設計的優(yōu)化和開發(fā)工作; (2)在車載總線仿真環(huán)境下對編譯器和模擬器進行重構(gòu)和優(yōu)化,通過應用更多的標準化函數(shù)庫提高可靠性和通用性;通過模塊化和層次化提高可維護性;通過多線程并發(fā)應用,提高整體執(zhí)行效率。
[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];電子產(chǎn)品世界;2004年12期
2 李雙壽,盧達溶,洪亮,劉漢偉,許洪元;ADI渣漿泵葉片磨損機理的研究[J];流體機械;2000年06期
3 孫俊杰;;ADI安全監(jiān)控器提升鋰電池保護系統(tǒng)安全性[J];中國電子商情(基礎電子);2010年05期
4 ;ADI公司發(fā)布業(yè)界首款用于電容和阻抗精確測量的單芯片解決方案[J];電子與電腦;2005年04期
5 張松;;奧貝球鐵(ADI)制造滾輪挺柱[J];國外機車車輛工藝;1992年05期
6 ;ADI公司發(fā)布用于手機照相機的集成透鏡驅(qū)動器解決方案[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];現(xiàn)代制造;2008年Z2期
相關會議論文 前3條
1 李繼林;鄭開宏;高萌;;不同球化效劑對ADI球鐵組織性能的影響[A];2013廣東材料發(fā)展論壇——戰(zhàn)略性新興產(chǎn)業(yè)發(fā)展與新材料科技創(chuàng)新研討會論文摘要集[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 毛晶慧;聯(lián)發(fā)科技3.5億美金并購ADI手機業(yè)務[N];中國經(jīng)濟時報;2007年
4 ;ADI推出高性能輸出驅(qū)動器[N];計算機世界;2008年
5 ;顯示器的好伴侶-ADI視控精靈[N];科技日報;2000年
6 記者 陳姍姍;武鋼投資8億與加拿大ADI資源公司合資開礦[N];第一財經(jīng)日報;2011年
7 馬曉芳;聯(lián)發(fā)科收購ADI手機芯片部門大唐、中興均表示不受影響[N];第一財經(jīng)日報;2007年
相關碩士學位論文 前1條
1 邸萌亮;人脂聯(lián)素基因(ADI)轉(zhuǎn)化水稻的研究[D];揚州大學;2011年
,本文編號:1792021
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/1792021.html