資源描述:
《基于can的防疲勞駕駛系統(tǒng)監(jiān)控平臺(tái)的設(shè)計(jì)與實(shí)現(xiàn)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫(kù)。
1、東北大學(xué)碩士學(xué)位論文基于CAN的防疲勞駕駛系統(tǒng)監(jiān)控平臺(tái)的設(shè)計(jì)與實(shí)現(xiàn)姓名:宋蓁蓁申請(qǐng)學(xué)位級(jí)別:碩士專業(yè):計(jì)算機(jī)系統(tǒng)結(jié)構(gòu)指導(dǎo)教師:王劍20090601東北大學(xué)碩士學(xué)位論文摘要基于CAN的防疲勞駕駛系統(tǒng)監(jiān)控平臺(tái)的設(shè)計(jì)與實(shí)現(xiàn)摘要隨著經(jīng)濟(jì)的發(fā)展,機(jī)動(dòng)車輛越來越多,調(diào)查表明疲勞駕駛是導(dǎo)致交通事故的主要原因之一,目前防疲勞駕駛系統(tǒng)的研究已成為汽車安全領(lǐng)域研究的重要課題。本文設(shè)計(jì)的防疲勞駕駛系統(tǒng)監(jiān)控平臺(tái)成功的實(shí)現(xiàn)了疲勞狀態(tài)的實(shí)時(shí)監(jiān)控,當(dāng)監(jiān)控到疲勞駕駛時(shí),通過分級(jí)報(bào)警的方式,達(dá)到了疲勞警示的目的。本文主要研究了基
2、于CAN(ControlAreaNetwork)的防疲勞駕駛系統(tǒng)監(jiān)控平臺(tái)的設(shè)計(jì)與實(shí)現(xiàn)。首先,運(yùn)用CAN總線技術(shù)構(gòu)建了車載網(wǎng)絡(luò)數(shù)據(jù)傳輸模型,在硬件選擇方面,為了靈活地連接各種數(shù)據(jù)采集設(shè)備,提出了嵌入式前端機(jī)接口的概念,并選用AnyCAN模塊完成了數(shù)據(jù)的實(shí)時(shí)采集。其次,為了解決CAN網(wǎng)絡(luò)和上位機(jī)的數(shù)據(jù)通信問題,本文設(shè)計(jì)了三種上位機(jī)數(shù)據(jù)采集方案,并根據(jù)系統(tǒng)需求選擇了基于USB.CAN的采集方案,利用iCAN協(xié)議完成了網(wǎng)絡(luò)的數(shù)據(jù)通信。另外,本文為了實(shí)現(xiàn)分級(jí)報(bào)警的目的,設(shè)計(jì)了疲勞狀態(tài)的編碼方案。最后,在軟
3、件設(shè)計(jì)方面利用面向?qū)ο蟮乃枷雽⑾到y(tǒng)按功能進(jìn)行了劃分,以VC++6.0為開發(fā)平臺(tái),綜合運(yùn)用MFC、動(dòng)態(tài)鏈接庫(kù)、多線程、定時(shí)器、XML等技術(shù)完成了各個(gè)模塊功能的實(shí)現(xiàn)。本系統(tǒng)主要實(shí)現(xiàn)了車載網(wǎng)絡(luò)的網(wǎng)絡(luò)管理、網(wǎng)絡(luò)通信、數(shù)據(jù)解析、數(shù)據(jù)動(dòng)態(tài)顯示、數(shù)據(jù)存儲(chǔ)和疲勞報(bào)警等功能。論文首先介紹了防疲勞駕駛系統(tǒng)的研究現(xiàn)狀,闡述了車載網(wǎng)絡(luò)的相關(guān)技術(shù)。其次,根據(jù)系統(tǒng)分析提出了系統(tǒng)的總體設(shè)計(jì)方案。接著,本文重點(diǎn)研究了監(jiān)控平臺(tái)軟件的設(shè)計(jì)與實(shí)現(xiàn),并詳細(xì)說明了各個(gè)模塊的實(shí)現(xiàn)原理和程序流程。最后,在構(gòu)建的實(shí)驗(yàn)環(huán)境下對(duì)本系統(tǒng)進(jìn)行了相關(guān)的
4、測(cè)試,測(cè)試表明本系統(tǒng)運(yùn)行穩(wěn)定,數(shù)據(jù)采集完整準(zhǔn)確,達(dá)到了預(yù)期的效果。關(guān)鍵詞:疲勞駕駛;車載網(wǎng)絡(luò);CAN;報(bào)警;iCANDesignandImplementationofAnti-fatigueDrivingSystemMonitoringPlatformBasedonCANBusAbstractWiththedevelopmentofeconomics,investigationshowsthat,DrivingFatiguetherearemoreandmorevehiclesontheroad
5、,andisoneofthemaincauseswhichleadtotra陌caccldents·Atpresent,theresearchofanti—fatiguedrivingsystembecomesahottopicinVehlclesat'etyresearcharea.Inthisthesis,amonitoringplatformofanti.fatiguesvstemisdeslgnedwhichrealizesthereal·timemonitoringoffatigues
6、tate,andachievethepurposeoffatiguewarningbygradedalarming.Inthisthesis,thedesignandrealizationofanti.fatiguedrivingmonitoringplatf.o姍ismainlyresearchedon·Firstofall,themodelofvehiclenetworkdatatransmissl。onisbuildbvtheCANbustechnology,andinthechoiceo
7、fhardware,inordertoachievethepurposeofcoanectingvarietyofdataacquisitionequipmentflexibly,thefront—endembeddedinterfaceconceptlspmforwardinthisthesis,andAnyCANmoduleisusedtocompletethedatacollectlonintime·Secondly,forthepurposeofrealizingthecommunica
8、tionbetweenCANnetworkalldhostcomputer,threedataacquisitionschemesaredesigned,andselecttheUSB·CANcollectionschemeforthesystemrequirements,andthencompletethedatetransmissionofthenetworkbyusingiCANprotoc01.Inaddition,thethesisdesignsaschemeoffatlguestat