車(chē)輛總線仿真語(yǔ)言ADI編譯器和模擬器的實(shí)現(xiàn)和改進(jìn)
本文選題:LEX + YACC; 參考:《華東理工大學(xué)》2016年碩士論文
【摘要】:隨著汽車(chē)電子化程度越來(lái)越高,整車(chē)廠開(kāi)發(fā)的車(chē)型中電控單元(行車(chē)電腦)的數(shù)量越來(lái)越多,這些電控單元都通過(guò)車(chē)載總線網(wǎng)絡(luò)進(jìn)行通信和數(shù)據(jù)交互。通俗來(lái)講,車(chē)載總線就像是高速公路,電控單元就像是高速公路上運(yùn)行的汽車(chē),每輛運(yùn)行的汽車(chē)都必須按照交通法規(guī)進(jìn)行運(yùn)行,才能避免出現(xiàn)交通事故,否則高速公路就會(huì)出現(xiàn)擁堵,甚至癱瘓。因此隨著電控單元的增多,對(duì)車(chē)輛中的CAN總線的安全性、可靠性、以及效率等要求也是越來(lái)越高。當(dāng)前車(chē)載總線相關(guān)的測(cè)試工具主要由國(guó)外供應(yīng)商壟斷,不利于國(guó)內(nèi)整車(chē)廠的車(chē)型研發(fā)工作。在車(chē)載總線測(cè)試工作中,車(chē)輛總線仿真是一個(gè)至關(guān)重要的功能。車(chē)輛總線仿真是當(dāng)車(chē)輛在實(shí)驗(yàn)室設(shè)計(jì)研發(fā)階段,車(chē)輛上安裝的諸多電控單元未研發(fā)完成時(shí),通過(guò)工具仿真電控單元的功能邏輯,測(cè)試車(chē)輛總線的功能和可靠性。本課題的ADI車(chē)輛總線仿真語(yǔ)言是針對(duì)車(chē)輛車(chē)載總線仿真開(kāi)發(fā)的類C語(yǔ)言,通過(guò)開(kāi)發(fā)針對(duì)本語(yǔ)言的編譯器、模擬器和集成開(kāi)發(fā)環(huán)境,為用戶提供一套完整的編程環(huán)境。ADI語(yǔ)言是在IBM公司提供的LEX、YACC語(yǔ)言詞法、語(yǔ)法分析器生成工具生成的分析器基礎(chǔ)上,結(jié)合編譯原理和國(guó)內(nèi)應(yīng)用要求,對(duì)原型代碼進(jìn)行重新架構(gòu)設(shè)計(jì)、開(kāi)發(fā)實(shí)施,使其更加符合當(dāng)國(guó)內(nèi)車(chē)輛開(kāi)發(fā)測(cè)試的應(yīng)用要求。本課題的工作重點(diǎn)主要有以下幾點(diǎn), (1)在車(chē)載總線仿真環(huán)境下詞法分析其工具(LEX)和語(yǔ)法分析器工具(YACC),語(yǔ)言設(shè)計(jì)的優(yōu)化和開(kāi)發(fā)工作; (2)在車(chē)載總線仿真環(huán)境下對(duì)編譯器和模擬器進(jìn)行重構(gòu)和優(yōu)化,通過(guò)應(yīng)用更多的標(biāo)準(zhǔn)化函數(shù)庫(kù)提高可靠性和通用性;通過(guò)模塊化和層次化提高可維護(hù)性;通過(guò)多線程并發(fā)應(yīng)用,提高整體執(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.
【學(xué)位授予單位】:華東理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2016
【分類號(hào)】:U463.6;TP314
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 ;ADI公司射頻功率檢測(cè)器取得新突破[J];電子產(chǎn)品世界;2004年12期
2 李雙壽,盧達(dá)溶,洪亮,劉漢偉,許洪元;ADI渣漿泵葉片磨損機(jī)理的研究[J];流體機(jī)械;2000年06期
3 孫俊杰;;ADI安全監(jiān)控器提升鋰電池保護(hù)系統(tǒng)安全性[J];中國(guó)電子商情(基礎(chǔ)電子);2010年05期
4 ;ADI公司發(fā)布業(yè)界首款用于電容和阻抗精確測(cè)量的單芯片解決方案[J];電子與電腦;2005年04期
5 張松;;奧貝球鐵(ADI)制造滾輪挺柱[J];國(guó)外機(jī)車(chē)車(chē)輛工藝;1992年05期
6 ;ADI公司發(fā)布用于手機(jī)照相機(jī)的集成透鏡驅(qū)動(dòng)器解決方案[J];電子與電腦;2005年04期
7 ;ADI推出新一代Sigma DSP處理器[J];汽車(chē)零部件;2014年01期
8 James Bryant;;非常見(jiàn)問(wèn)題解答 來(lái)自ADI公司的電話記錄中奇怪但真實(shí)的故事 照顧好未使用的引腳![J];電子設(shè)計(jì)技術(shù);2011年07期
9 James Bryant;;非常見(jiàn)問(wèn)題解答 來(lái)自ADI公司的電話記錄中奇怪但真實(shí)的故事 變壓器——并非龐若船錨[J];電子設(shè)計(jì)技術(shù);2012年07期
10 ;ADI公司助力日立公司無(wú)線視頻集線器[J];現(xiàn)代制造;2008年Z2期
相關(guān)會(huì)議論文 前3條
1 李繼林;鄭開(kāi)宏;高萌;;不同球化效劑對(duì)ADI球鐵組織性能的影響[A];2013廣東材料發(fā)展論壇——戰(zhàn)略性新興產(chǎn)業(yè)發(fā)展與新材料科技創(chuàng)新研討會(huì)論文摘要集[C];2013年
2 姜利坤;劉金海;趙雪勃;李國(guó)祿;王磊;郭建斌;;等溫淬火工藝對(duì)雙相ADI力學(xué)性能的影響[A];2008中國(guó)鑄造活動(dòng)周論文集[C];2008年
3 王成剛;王懷林;張瑞卿;蘇濤;;一汽鑄造有限公司等溫淬火球墨鑄鐵(ADI)的研究與應(yīng)用[A];中國(guó)機(jī)械工程學(xué)會(huì)第十一屆全國(guó)鑄造年會(huì)論文集[C];2006年
相關(guān)重要報(bào)紙文章 前7條
1 林昌明 DigiTimes;ADI上季度獲利增長(zhǎng)19%[N];電子資訊時(shí)報(bào);2006年
2 林昌明 DigiTimes;ADI購(gòu)并韓國(guó)模擬IC設(shè)計(jì)公司Imtegrant Technologies[N];電子資訊時(shí)報(bào);2006年
3 毛晶慧;聯(lián)發(fā)科技3.5億美金并購(gòu)ADI手機(jī)業(yè)務(wù)[N];中國(guó)經(jīng)濟(jì)時(shí)報(bào);2007年
4 ;ADI推出高性能輸出驅(qū)動(dòng)器[N];計(jì)算機(jī)世界;2008年
5 ;顯示器的好伴侶-ADI視控精靈[N];科技日?qǐng)?bào);2000年
6 記者 陳姍姍;武鋼投資8億與加拿大ADI資源公司合資開(kāi)礦[N];第一財(cái)經(jīng)日?qǐng)?bào);2011年
7 馬曉芳;聯(lián)發(fā)科收購(gòu)ADI手機(jī)芯片部門(mén)大唐、中興均表示不受影響[N];第一財(cái)經(jīng)日?qǐng)?bào);2007年
相關(guān)碩士學(xué)位論文 前1條
1 邸萌亮;人脂聯(lián)素基因(ADI)轉(zhuǎn)化水稻的研究[D];揚(yáng)州大學(xué);2011年
,本文編號(hào):1792021
本文鏈接:http://www.sikaile.net/kejilunwen/ruanjiangongchenglunwen/1792021.html