基于OBD的车载远程数据终端的设计与开发
本文关键词:基于OBD的车载远程数据终端的设计与开发 出处:《吉林大学》2017年硕士论文 论文类型:学位论文
更多相关文章: OBD CAN总线 GPS GPRS 车载终端
【摘要】:随着经济发展和科技进步,个人车辆的保有量快速增长,人们对于车辆的可靠性和安全性的要求也越来越高。面对如今越来越复杂的汽车设备和行驶环境,需要更好地了解汽车和监控汽车,对车辆的信息进行实时地掌控,才能养成良好的驾驶习惯也有助于车辆的维护。移动互联网发展的大潮给汽车行业带来了前所未有的冲击,使得汽车与移动互联网相结合的研究和应用越来越多。很多应用都是通过OBD(On-Board Diagnostics,车载诊断系统)来与车辆进行交互,再通过移动互联网进行远程传输的。OBD系统是为了限制机动车污染物的排放,明确要求车辆装配的,它除了可以检测车辆排放系统防止尾气排放超标,还能进行汽车故障检测和获取车辆的行驶信息。针对这种情况,本文设计了基于OBD的车载远程数据终端。在车辆上使用车载远程数据终端获取车辆的行驶信息和位置信息,通过GPRS网络将信息上传到服务器,手机终端远程连接服务器并显示信息。设计与开发包括车载远程数据终端的软硬件设计和远程服务器的开发,解决了车辆的行驶数据读取、故障读取、信息传输、数据存储与显示的问题。在车辆上使用采用STM32F103C8主控芯片的车载远程数据终端与OBD接口连接,通过收发CAN报文的方式与OBD系统通信,读取车辆的行驶信息和一部分故障信息,在通信过程中主要遵循ISO15765故障诊断通信协议。主控芯片还对采用U-BLOX芯片的GPS模块所发送的NMEA-0183协议信息进行解析,得到实时位置的经纬度信息。最后,把车辆信息和位置信息通过采用M35芯片的GPRS模块发送到GSM网络,GSM运营商网络以TCP的方式与因特网连接,也就是说通过移动网络把数据发送到了远程服务器。在服务器端完成数据接收和数据存储的功能。利用Socket通信接收车载远程数据终端发送的信息,与My SQL数据库建立连接,并把收到的信息周期性存入数据库中。使用带有i OS系统的手机终端通过基于C的API与数据库建立远程连接,远程获取信息并进行可视化,直观地反映出车辆的实时信息。通过真车实验和模拟实验进行验证,利用USBCAN-II与电脑连接,使用自带的CANtest软件模拟CAN报文的收发,验证车载远程数据终端发送的查询CAN报文是否遵循故障诊断通信协议。使用OBD模拟器模拟车辆的OBD系统中CAN报文的应答,实验表明,车辆信息读取正常,获取的位置信息准确,信息的传输可靠,可以实现对车辆的远程监控和管理。至此,完成了车载远程数据终端的设计与开发。
[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的车辆参数实时采集系统[J];西华大学学报(自然科学版);2016年02期
3 潘益斌;张海峰;;基于OBD的汽车数据采集及捕获系统设计[J];杭州电子科技大学学报(自然科学版);2015年01期
4 安慰东;包德洲;刘杰;;基于TMS320F2812的微弱电压测量系统设计与应用[J];微型机与应用;2013年18期
5 徐洋;马跃;;STM32F103系列微控制器在应用编程技术研究[J];单片机与嵌入式系统应用;2013年08期
6 邢洋;李立伟;张洪伟;;基于STM32单片机的CAN总线分析仪的设计[J];青岛大学学报(工程技术版);2013年01期
7 刘芳;申林川;翟壮;;浅析无线通信技术的发展现状与趋势[J];无线互联科技;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网络的分组合并策略研究及实现[J];仪器仪表学报;2012年09期
10 黄安华;丁亚庆;;车载自动诊断系统及使用要点[J];轻型汽车技术;2012年03期
相关硕士学位论文 前4条
1 连猛;车联网智能车载终端的设计与实现[D];中北大学;2015年
2 陆红雨;轻型汽油车OBD(车载诊断)型式认证试验研究[D];吉林大学;2007年
3 刘惠艳;GPS车载导航系统研究[D];中国石油大学;2007年
4 赵文茂;基于车载检测信息的发动机故障诊断专家系统的研究[D];北京交通大学;2007年
,本文编号:1400098
本文链接:https://www.wllwen.com/shoufeilunwen/xixikjs/1400098.html