基于OBD的車載遠程數(shù)據終端的設計與開發(fā)
本文關鍵詞:基于OBD的車載遠程數(shù)據終端的設計與開發(fā) 出處:《吉林大學》2017年碩士論文 論文類型:學位論文
更多相關文章: OBD CAN總線 GPS GPRS 車載終端
【摘要】:隨著經濟發(fā)展和科技進步,個人車輛的保有量快速增長,人們對于車輛的可靠性和安全性的要求也越來越高。面對如今越來越復雜的汽車設備和行駛環(huán)境,需要更好地了解汽車和監(jiān)控汽車,對車輛的信息進行實時地掌控,才能養(yǎng)成良好的駕駛習慣也有助于車輛的維護。移動互聯(lián)網發(fā)展的大潮給汽車行業(yè)帶來了前所未有的沖擊,使得汽車與移動互聯(lián)網相結合的研究和應用越來越多。很多應用都是通過OBD(On-Board Diagnostics,車載診斷系統(tǒng))來與車輛進行交互,再通過移動互聯(lián)網進行遠程傳輸?shù)摹BD系統(tǒng)是為了限制機動車污染物的排放,明確要求車輛裝配的,它除了可以檢測車輛排放系統(tǒng)防止尾氣排放超標,還能進行汽車故障檢測和獲取車輛的行駛信息。針對這種情況,本文設計了基于OBD的車載遠程數(shù)據終端。在車輛上使用車載遠程數(shù)據終端獲取車輛的行駛信息和位置信息,通過GPRS網絡將信息上傳到服務器,手機終端遠程連接服務器并顯示信息。設計與開發(fā)包括車載遠程數(shù)據終端的軟硬件設計和遠程服務器的開發(fā),解決了車輛的行駛數(shù)據讀取、故障讀取、信息傳輸、數(shù)據存儲與顯示的問題。在車輛上使用采用STM32F103C8主控芯片的車載遠程數(shù)據終端與OBD接口連接,通過收發(fā)CAN報文的方式與OBD系統(tǒng)通信,讀取車輛的行駛信息和一部分故障信息,在通信過程中主要遵循ISO15765故障診斷通信協(xié)議。主控芯片還對采用U-BLOX芯片的GPS模塊所發(fā)送的NMEA-0183協(xié)議信息進行解析,得到實時位置的經緯度信息。最后,把車輛信息和位置信息通過采用M35芯片的GPRS模塊發(fā)送到GSM網絡,GSM運營商網絡以TCP的方式與因特網連接,也就是說通過移動網絡把數(shù)據發(fā)送到了遠程服務器。在服務器端完成數(shù)據接收和數(shù)據存儲的功能。利用Socket通信接收車載遠程數(shù)據終端發(fā)送的信息,與My SQL數(shù)據庫建立連接,并把收到的信息周期性存入數(shù)據庫中。使用帶有i OS系統(tǒng)的手機終端通過基于C的API與數(shù)據庫建立遠程連接,遠程獲取信息并進行可視化,直觀地反映出車輛的實時信息。通過真車實驗和模擬實驗進行驗證,利用USBCAN-II與電腦連接,使用自帶的CANtest軟件模擬CAN報文的收發(fā),驗證車載遠程數(shù)據終端發(fā)送的查詢CAN報文是否遵循故障診斷通信協(xié)議。使用OBD模擬器模擬車輛的OBD系統(tǒng)中CAN報文的應答,實驗表明,車輛信息讀取正常,獲取的位置信息準確,信息的傳輸可靠,可以實現(xiàn)對車輛的遠程監(jiān)控和管理。至此,完成了車載遠程數(shù)據終端的設計與開發(fā)。
[Abstract]:With the development of economy and the progress of science and technology, the quantity of personal vehicle is increasing rapidly, and the requirement of the reliability and safety of the vehicle is becoming higher and higher. In the face of the more and more complex automobile equipment and driving environment. There is a need for a better understanding of the vehicle and monitoring of the vehicle and for real-time control of the vehicle's information. Ability to develop good driving habits is also conducive to the maintenance of vehicles. The development of the mobile Internet has brought unprecedented impact to the automotive industry. It makes the research and application of the combination of automobile and mobile internet more and more. Many applications are through OBD(On-Board Diagnostics. OBD system, which interacts with the vehicle and transmits it remotely through the mobile Internet, is designed to limit the emission of vehicle pollutants and explicitly require vehicle assembly. It can not only detect the vehicle emission system to prevent the exhaust emissions from exceeding the standard, but also can carry out the vehicle fault detection and obtain the driving information of the vehicle. In this paper, the vehicle remote data terminal based on OBD is designed. The vehicle remote data terminal is used to obtain the vehicle driving information and position information on the vehicle, and the information is uploaded to the server through the GPRS network. The design and development of the mobile terminal includes the hardware and software design of the vehicle remote data terminal and the development of the remote server, which solves the vehicle driving data reading and fault reading. Information transmission, data storage and display problems. On the vehicle using STM32F103C8 master control chip vehicle remote data terminal and OBD interface connection. By sending and receiving CAN messages, we can communicate with the OBD system, and read the vehicle driving information and part of the fault information. In the process of communication, the communication protocol of ISO15765 fault diagnosis is mainly followed. The main control chip also analyzes the NMEA-0183 protocol information sent by the GPS module using U-BLOX chip. . Finally, the vehicle information and position information are sent to the GSM network through the GPRS module using M35 chip. The GSM operator network is connected to the Internet in the form of TCP. That is to say, the data is sent to the remote server through the mobile network. The functions of data receiving and data storage are completed in the server. The information sent by the remote data terminal is received by using Socket communication. Establish a connection with my SQL database and store the received information periodically in the database. The mobile phone terminal with I OS system is used to establish a remote connection to the database through C-based API. Remote access to information and visualization, directly reflect the real-time information of the vehicle, through real vehicle experiments and simulation experiments to verify, using USBCAN-II to connect to the computer. The CANtest software is used to simulate the sending and receiving of CAN messages. Verify whether the CAN message sent by the vehicle remote data terminal conforms to the fault diagnosis communication protocol. Use the OBD simulator to simulate the response of the CAN message in the OBD system of the vehicle, the experiment shows that. The vehicle information is read normally, the position information obtained is accurate, the information transmission is reliable, and the remote monitoring and management of the vehicle can be realized. So far, the design and development of the vehicle remote data terminal have been completed.
【學位授予單位】:吉林大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:U463.6;TP311.52
【參考文獻】
相關期刊論文 前10條
1 周紅英;陶龍龍;;基于ISO15765 CAN總線診斷測試方法研究[J];汽車實用技術;2016年10期
2 謝江浩;彭憶強;黃志東;黃得銘;任洪濤;;基于Android和車載OBD的車輛參數(shù)實時采集系統(tǒng)[J];西華大學學報(自然科學版);2016年02期
3 潘益斌;張海峰;;基于OBD的汽車數(shù)據采集及捕獲系統(tǒng)設計[J];杭州電子科技大學學報(自然科學版);2015年01期
4 安慰東;包德洲;劉杰;;基于TMS320F2812的微弱電壓測量系統(tǒng)設計與應用[J];微型機與應用;2013年18期
5 徐洋;馬躍;;STM32F103系列微控制器在應用編程技術研究[J];單片機與嵌入式系統(tǒng)應用;2013年08期
6 邢洋;李立偉;張洪偉;;基于STM32單片機的CAN總線分析儀的設計[J];青島大學學報(工程技術版);2013年01期
7 劉芳;申林川;翟壯;;淺析無線通信技術的發(fā)展現(xiàn)狀與趨勢[J];無線互聯(lián)科技;2013年03期
8 Xia Jiqiang;Zhang Chuansen;Bai Ronggang;Xue Liqiang;;Real-time and reliability analysis of time-triggered CAN-bus[J];Chinese Journal of Aeronautics;2013年01期
9 郝勃;劉衍珩;曲良東;魏達;;CAN網絡的分組合并策略研究及實現(xiàn)[J];儀器儀表學報;2012年09期
10 黃安華;丁亞慶;;車載自動診斷系統(tǒng)及使用要點[J];輕型汽車技術;2012年03期
相關碩士學位論文 前4條
1 連猛;車聯(lián)網智能車載終端的設計與實現(xiàn)[D];中北大學;2015年
2 陸紅雨;輕型汽油車OBD(車載診斷)型式認證試驗研究[D];吉林大學;2007年
3 劉惠艷;GPS車載導航系統(tǒng)研究[D];中國石油大學;2007年
4 趙文茂;基于車載檢測信息的發(fā)動機故障診斷專家系統(tǒng)的研究[D];北京交通大學;2007年
,本文編號:1400098
本文鏈接:http://sikaile.net/shoufeilunwen/xixikjs/1400098.html