CN101718778B - Remote fault diagnosis method and system for alcohol tester based on GPRS - Google Patents
Remote fault diagnosis method and system for alcohol tester based on GPRS Download PDFInfo
- Publication number
- CN101718778B CN101718778B CN2009101549104A CN200910154910A CN101718778B CN 101718778 B CN101718778 B CN 101718778B CN 2009101549104 A CN2009101549104 A CN 2009101549104A CN 200910154910 A CN200910154910 A CN 200910154910A CN 101718778 B CN101718778 B CN 101718778B
- Authority
- CN
- China
- Prior art keywords
- module
- gprs
- sim
- tester
- alcohol tester
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
本发明公开一种基于GPRS的酒精测试仪远程故障诊断方法及系统。酒精测试仪中的CPU模块经GPRS模块和SIM卡连接,GPRS模块接天线。通过测试仪的故障自检程序,检查测试仪中各模块工作状态,然后通过GPRS通讯模块将故障自检程序检查结果传到测试仪生产厂家的监控中心,根据该检查结果知道该测试仪工作状态,进行故障排除。监控中心有良好的人机界面,能直观反映测试仪相关设备工作状态信息,很好实现对远程酒精测试仪的监控,同时对接收到测试仪设备状态信息进行统计分析,应用于以后服务计划制度。该测试仪还具有GPS定位功能,通过定位卫星对服务点的测试仪定位,对故障不能远程修复的,提供电话或上门服务。
The invention discloses a method and system for remote fault diagnosis of an alcohol tester based on GPRS. The CPU module in the alcohol tester is connected to the SIM card through the GPRS module, and the GPRS module is connected to the antenna. Through the fault self-inspection program of the tester, check the working status of each module in the tester, and then transmit the inspection result of the fault self-inspection program to the monitoring center of the tester manufacturer through the GPRS communication module, and know the working status of the tester according to the inspection result , to troubleshoot. The monitoring center has a good human-machine interface, which can directly reflect the working status information of the tester-related equipment, and realizes the monitoring of the remote alcohol tester well. At the same time, it conducts statistical analysis on the received tester equipment status information and applies it to the future service plan system . The tester also has the function of GPS positioning. It can locate the tester at the service point through positioning satellites, and provide telephone or door-to-door service for faults that cannot be repaired remotely.
Description
技术领域 technical field
本发明涉及酒精测试仪远程故障诊断的方法和系统,尤其是涉及一种基于GPRS的酒精测试仪远程故障诊断方法和系统。The invention relates to a method and a system for remote fault diagnosis of an alcohol tester, in particular to a method and a system for a remote fault diagnosis of an alcohol tester based on GPRS.
背景技术 Background technique
目前因酒后驾车而引起的交通事故频频发生,对人民的生命财产安全造成了极大的危害,通过酒精测试仪检测司机是否酒后驾车能有效的控制司机酒后驾车,也是在交通事故后调查取证的重要措施之一。但是由于酒精测试仪在使用过程由于种种原因,经常发生故障,而且随着使用时间的增长,其稳定性和测试的精度变得越来越差,往往需要把酒精测试仪寄到酒精测试仪生产厂家进行校准,这个过程往往会浪费大量的时间和财力。而目前酒精测试仪都没有带有故障自诊断的功能,也没有远程诊断的功能。At present, frequent traffic accidents caused by drunk driving have caused great harm to the safety of people's lives and property. Using an alcohol tester to detect whether a driver is drunk and driving can effectively control the driver's drunk driving, which is also after a traffic accident. One of the important measures of investigation and evidence collection. However, because the alcohol tester often breaks down due to various reasons during use, and as the use time increases, its stability and test accuracy become worse and worse, it is often necessary to send the alcohol tester to the production of the alcohol tester Manufacturers perform calibration, a process that often wastes a lot of time and money. At present, the alcohol tester does not have the function of fault self-diagnosis, nor does it have the function of remote diagnosis.
发明内容 Contents of the invention
针对上述现状和技术上的空白,本发明的目的在于提供一种基于GPRS的酒精测试仪远程故障诊断方法和系统。酒精测试仪通过自带的故障诊断程序,能准确检测酒精测试仪的各部件工作是否正常,而且能将酒精测试仪的故障信息通过GPRS信息传送模块,发送给厂家的酒精测试仪远程监控系统,厂家的售后服务人员根据该故障信息进行故障诊断和修复服务支持。Aiming at the above-mentioned present situation and technical gap, the object of the present invention is to provide a method and system for remote fault diagnosis of alcohol tester based on GPRS. The alcohol tester can accurately detect whether the components of the alcohol tester are working normally through the built-in fault diagnosis program, and can send the fault information of the alcohol tester to the manufacturer's remote monitoring system of the alcohol tester through the GPRS information transmission module. The manufacturer's after-sales service personnel carry out fault diagnosis and repair service support according to the fault information.
为了达到上述目的,本发明采用的技术方案如下:In order to achieve the above object, the technical scheme adopted in the present invention is as follows:
一、一种基于GPRS的酒精测试仪远程故障诊断方法:One, a kind of remote fault diagnosis method of alcohol tester based on GPRS:
包括带有故障自检程序和GPRS通讯模块的酒精测试仪开机时或者进入自诊断模式下能对酒精测试仪模块:CPU模块,燃料电池传感器模块,电源模块,GPRS模块,温度检测与控制模块和RF模块进行检查是否在正常工作状态,检查后的结果传给CPU模块,由CPU模块传给GPRS模块,能通过SIM卡,天线传给GPRS网络和Internet网,通过防火墙传递给远程监控中心中的通讯服务器,把模块的信息存放在数据库服务器,人机界面提供查询界面,售后服务人员能查询远程酒精测试仪的设备故障信息。When the alcohol tester with fault self-diagnosis program and GPRS communication module is turned on or enters the self-diagnosis mode, the alcohol tester modules: CPU module, fuel cell sensor module, power module, GPRS module, temperature detection and control module and The RF module checks whether it is in the normal working state, and the result after the check is sent to the CPU module, which is sent to the GPRS module, and can be sent to the GPRS network and Internet network through the SIM card and the antenna, and sent to the remote monitoring center through the firewall. The communication server stores the information of the module in the database server, and the man-machine interface provides a query interface, and the after-sales service personnel can query the equipment failure information of the remote alcohol tester.
二、一种是基于GPRS的带有自诊断功能酒精测试系统:2. One is a GPRS-based alcohol testing system with self-diagnosis function:
包括CPU模块,排气装置,气泵装置,吸气装置,燃料电池传感器模块,信息预处理模块,电源模块,GPS,温度检测与控制模块,存储模块,复位模块,指示报警模块,LCD显示模块,扬声器模块,RF模块,压力检测模块和USB接口构成的酒精测试仪。酒精测试仪中的CPU模块还经GPRS模块和SIM卡连接,GPRS模块接天线。Including CPU module, exhaust device, air pump device, air suction device, fuel cell sensor module, information preprocessing module, power module, GPS, temperature detection and control module, storage module, reset module, indication alarm module, LCD display module, Alcohol tester composed of speaker module, RF module, pressure detection module and USB interface. The CPU module in the alcohol tester is also connected to the SIM card through the GPRS module, and the GPRS module is connected to the antenna.
所述的GPRS模块采用Siemens公司的MC55模块,TXD是RS232输入,连接CPU模块的ISPTX脚,CPU模块的ISPTX脚用来输出数据,而GPRS模块的TXD用来接收数据RXD是RS232输出,连接CPU模块的ISPRX,CPU模块的ISPRX用来接收数据,而GPRS模块的RXD用来输出数据;GND接地,VCC电源输入;LEDGP用来接信号灯;PWEN用来控制关闭电源复位GPRS;SIMVCC与SIM卡VSIM相连,给SIM卡供电,一般用3V;SIMDAA与SIM卡SIM-IO相连,用来传输数据;SIMCLK与SIM卡SIM-CLK相连,用来表示SIM时钟;SIMRST与SIM卡SIM-RESET相连,用来复位;SIMGND与SIM卡SIM-GND相连,是SIM卡供电负端;GNC无连接。Described GPRS module adopts the MC55 module of Siemens Company, and TXD is RS232 input, connects the ISPTX pin of CPU module, and the ISPTX pin of CPU module is used for output data, and TXD of GPRS module is used for receiving data RXD is RS232 output, connects CPU The ISPRX of the module, the ISPRX of the CPU module is used to receive data, and the RXD of the GPRS module is used to output data; GND is grounded, VCC power input; LEDGP is used to connect signal lights; PWEN is used to control power off and reset GPRS; SIMVCC and SIM card VSIM Connected to supply power to the SIM card, generally using 3V; SIMDAA is connected to the SIM card SIM-IO to transmit data; SIMCLK is connected to the SIM card SIM-CLK to indicate the SIM clock; SIMRST is connected to the SIM card SIM-RESET to use To reset; SIMGND is connected to the SIM card SIM-GND, which is the negative terminal of the SIM card power supply; GNC is not connected.
该系统主要完成任务有:酒精浓度信号的获取部分;检查者口腔气体通过吸气装置,然后由气泵装置泵入燃料电池传感器模块燃料电池传感器采用美国GUTH的AGN 1002模块,由燃料电池传感器模块获得相应的电信号,然后通过信息预处理模块获得相应信号传给CPU模块处理;信号远程传输装置:CPU模块采用NXP的LPC2378,芯片中的操作系统采用WinCE5.0嵌入式系统,网络协议采用TCP/IP协议;故障自诊断程序检测出酒精测试仪主要模块的信息,传给GPRS模块,该模块采用Siemens公司的MC55模块,通过相应的SIM卡和天线接入公用GPRS网络,其中SIM卡采用移动SIM卡;其他重要模块选用:电源模块采用APC UPS的ES系列Back-UPS BE525 GPRS模块,是采用Siemens公司的MC55模块;GPS模块采用的是美国Rockwell公司的TU-30 GPS模块;温度检测与控制模块核心部件是LM607MH;存储模块采用了大容量NAND Flash K9K4G08U0M-YCBO;串行接口采用的是RS232接口方式;LCD显示模块采用7英寸TFT液晶显示触摸屏,分辨率为800×600;RF模块采用NRF2401芯片。The main tasks of the system are: the acquisition of alcohol concentration signals; the examiner’s oral gas passes through the inhalation device, and then is pumped into the fuel cell sensor module by the air pump device Corresponding electrical signals are obtained through the information preprocessing module and sent to the CPU module for processing; signal remote transmission device: the CPU module adopts NXP LPC2378, the operating system in the chip adopts WinCE5.0 embedded system, and the network protocol adopts TCP/ IP protocol; the fault self-diagnosis program detects the information of the main module of the alcohol tester and transmits it to the GPRS module. This module adopts the MC55 module of Siemens Company and accesses the public GPRS network through the corresponding SIM card and antenna. The SIM card adopts a mobile SIM card; other important modules are selected: the power module adopts the ES series Back-UPS BE525 GPRS module of APC UPS, which adopts the MC55 module of Siemens Company; the GPS module adopts the TU-30 GPS module of Rockwell Company of the United States; the temperature detection and control module The core component is LM607MH; the storage module adopts large-capacity NAND Flash K9K4G08U0M-YCBO; the serial interface adopts RS232 interface; the LCD display module adopts a 7-inch TFT liquid crystal display touch screen with a resolution of 800×600; the RF module adopts NRF2401 chip .
本发明具有的有益效果是:The beneficial effects that the present invention has are:
1、酒精测试仪方面:带有故障自诊断程序,该程序能在酒精测试仪开机时能对酒精测试仪的CPU模块、电源模块、LCD模块、燃料电池传感器模块、射频电路模块、按键模块进行快速检查; 采用高速、稳定的GPRS通讯模块,能快速的将故障自诊断程序诊断的结果传递出去;采用液晶触摸屏,使操作更加简单快捷;具有强大的GPS接收器,内置天线,便于定位管理。1. Alcohol tester: with a fault self-diagnosis program, this program can check the CPU module, power supply module, LCD module, fuel cell sensor module, radio frequency circuit module and button module of the alcohol tester when the alcohol tester is turned on. Quick inspection; Adopt high-speed and stable GPRS communication module, which can quickly transmit the diagnosis results of the fault self-diagnosis program; Adopt LCD touch screen to make the operation easier and faster; It has a powerful GPS receiver and built-in antenna, which is convenient for positioning management.
2、远程监控中心:人机化界面,操作简单,采用稳定可靠的数据库系统。2. Remote monitoring center: man-machine interface, easy to operate, using a stable and reliable database system.
3、基于GPRS的酒精测试仪故障远程诊断系统能实现酒精测试仪运行工况和设备状态信息以低廉、快速、可靠的方式通过GPRS通讯模块传送到远程监控中心,使厂家能实时知道酒精测试的故障所在,通过远程监控中心对酒精测试仪进行故障排除,大大降低了售后服务费用,保证了酒精测试仪的正常运行。3. The GPRS-based alcohol tester fault remote diagnosis system can realize the alcohol tester's operating conditions and equipment status information to be transmitted to the remote monitoring center through the GPRS communication module in a cheap, fast and reliable manner, so that manufacturers can know the status of the alcohol test in real time Where the fault lies, the alcohol tester is troubleshooted through the remote monitoring center, which greatly reduces the cost of after-sales service and ensures the normal operation of the alcohol tester.
附图说明 Description of drawings
图1是基于GPRS的酒精测试仪远程故障诊断检测系统图。Figure 1 is a diagram of the remote fault diagnosis and detection system of the alcohol tester based on GPRS.
图中:1酒精测试仪,2故障自检程序,3通讯模块,4 GPRS网络,5Internet网,6防火墙,7远程监控中心,8 WEB服务器,9通讯服务器,10数据库服务器,11人机界面。In the figure: 1 alcohol tester, 2 fault self-checking program, 3 communication module, 4 GPRS network, 5 Internet network, 6 firewall, 7 remote monitoring center, 8 WEB server, 9 communication server, 10 database server, 11 man-machine interface.
图2是本发明中带了故障自诊断程序和GPRS模块的酒精测试仪结构图。Fig. 2 is the structural diagram of the alcohol tester with fault self-diagnosis program and GPRS module in the present invention.
图中:12、CPU模块,13、排气装置,14、气泵装置,15、吸气装置,16、燃料电池传感器模块,17、信息预处理模块,18、电源模块,19、GPRS模块,20、SIM卡,21、天线,22、GPS,23、温度检测与控制模块,24、存储模块,25、复位模块,26、指示报警模块,27、LCD显示模块,28、扬声器模块,29、RF模块,30、压力检测模块,31、USB接口In the figure: 12, CPU module, 13, exhaust device, 14, air pump device, 15, air suction device, 16, fuel cell sensor module, 17, information preprocessing module, 18, power supply module, 19, GPRS module, 20 , SIM card, 21, antenna, 22, GPS, 23, temperature detection and control module, 24, storage module, 25, reset module, 26, indication and alarm module, 27, LCD display module, 28, speaker module, 29, RF Module, 30, pressure detection module, 31, USB interface
图3是故障自诊断程序检测故障流程图。Figure 3 is a flow chart of the fault self-diagnosis program detecting faults.
图4是GPRS模块和SIM卡电路图。Fig. 4 is a circuit diagram of GPRS module and SIM card.
图5是GPRS模块软件的工作流程。Figure 5 is the workflow of the GPRS module software.
图6是CPU模块的接口电路图。Fig. 6 is an interface circuit diagram of the CPU module.
具体实施方式 Detailed ways
下面结合附图和实施案例对本发明作进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings and examples of implementation.
参照图1、图2和图3,来说明是带故障自诊断程序和GPRS模块的酒精测试仪远程故障诊断的过程,图1包括带有故障自检程序2和GPRS模块3的酒精测试仪1和作为服务器远程监控中心7;在进行呼出气体酒精含量测试时,首先被测者用嘴含住呼气管道口,均匀连续吹气6-10秒,当屏幕上显示“停止”时为吹气采样成功,否则就要重新采样。呼气成功后首先被测者的呼气样品通过吸气装置15进入燃料电池传感器模块16,获得的电信号进入信息预处理模块17,放大后再通过A/D转换为数字信号量进入CPU模块12,CPU模块12通过信息计算,将实时的测试结果显示在LCD显示模块27的屏幕上。其中故障自诊断程序2能在酒精测试仪1开机时或者进入自诊断模式下能对酒精测试仪的主要模块:CPU模块12,燃料电池传感器模块16,电源模块18,GPRS模块19,温度检测与控制模块23,RF模块29,进行快速检查,检查的流程参见图3,检查后的结果传给CPU模块12,由CPU模块12传给GPRS模块19,GPRS模块19采用Siemens公司的MC55模块,能快速通过SIM卡21,天线22传给GPRS网络4和Internet网5,通过防火墙6传递给远程监控中心7中的通讯服务器9,把设备的信息存放在数据库服务器10,人机界面11提供良好的查询界面,售后服务人员可以查询远程酒精测试仪的设备故障信息,WEB服务器8主要功能是提供网上信息浏览服务。另外该红外酒精测试仪节点具有GPS定位功能,可通过定位卫星对酒精测试仪执行任务的位置进行定位和查询,方便售后服务人员进行及时的上门服务或者电话服务;Referring to Fig. 1, Fig. 2 and Fig. 3, the process of remote fault diagnosis of alcohol tester with fault self-diagnosis program and GPRS module is explained. Fig. 1 includes
参照图4、图5和图6,图4是GPRS模块19和SIM卡20电路图,GPRS模块19主要采用Siemens公司的MC55模块,图中TXD是RS232输入,连接CPU模块12的ISPTX脚,CPU模块12的ISPTX脚用来输出数据,而GPRS模块19的TXD用来接收数据;RXD是RS232输出,连接图6中的CPU模块12的ISPRX,CPU模块12的ISPRX用来接收数据,而GPRS模块19的RXD用来输出数据;GND接地,VCC电源输入;LEDGP用来接信号灯;PWEN用来控制关闭电源复位GPRS;SIMVCC与SIM卡VSIM相连,给SIM卡供电,一般用3V;SIMDAA与SIM卡SIM-IO相连,用来传输数据;SIMCLK与SIM卡SIM-CLK相连,用来表示SIM时钟;SIMRST与SIM卡SIM-RESET相连,用来复位;SIMGND与SIM卡SIM-GND相连,是SIM卡供电负端;GNC无连接。图5主要是用来表示GPRS模块19和CPC模块12之间的数据传输过程,传输的指令主要是AT指令,图中主要对AT指令进行发送和接收,整个流程分为发送、接收、中断,先是发送,关闭所有中断,调用数据发送,如果数据全部传完,开发所有中断,接收开始,判断发送的数据是否全部发送完,发送完则接收中断标志清零,接收数据,如果接收数据接收完,接收过程结束。With reference to Fig. 4, Fig. 5 and Fig. 6, Fig. 4 is
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009101549104A CN101718778B (en) | 2009-11-26 | 2009-11-26 | Remote fault diagnosis method and system for alcohol tester based on GPRS |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009101549104A CN101718778B (en) | 2009-11-26 | 2009-11-26 | Remote fault diagnosis method and system for alcohol tester based on GPRS |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101718778A CN101718778A (en) | 2010-06-02 |
| CN101718778B true CN101718778B (en) | 2012-07-25 |
Family
ID=42433382
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2009101549104A Expired - Fee Related CN101718778B (en) | 2009-11-26 | 2009-11-26 | Remote fault diagnosis method and system for alcohol tester based on GPRS |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101718778B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105446290A (en) * | 2015-10-10 | 2016-03-30 | 广东乐善机械有限公司 | Internet-of-things-control-based remote maintenance service system and method for bottle blowing machine |
| CN108732337A (en) * | 2018-01-26 | 2018-11-02 | 深圳市大帝科技发展有限公司 | Detection method, terminal device and the storage medium of gaseous alcohol content |
| CN109901091A (en) * | 2019-04-03 | 2019-06-18 | 广西电网有限责任公司南宁供电局 | It is a kind of can remote diagnosis capacitor and inductor tester |
| CN111600781B (en) * | 2020-07-27 | 2020-10-16 | 中国人民解放军国防科技大学 | A tester-based firewall system stability testing method |
| CN112782410B (en) * | 2020-12-28 | 2024-01-12 | 汉威科技集团股份有限公司 | Dynamic calibration method of quick-discharge wine detector and detector |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101237765A (en) * | 2008-02-01 | 2008-08-06 | 北京工业大学 | A Multifunctional Automobile Digital Instrument System |
| CN101308152A (en) * | 2008-06-24 | 2008-11-19 | 浙江理工大学 | Alcohol testing method and system based on wireless network |
-
2009
- 2009-11-26 CN CN2009101549104A patent/CN101718778B/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101237765A (en) * | 2008-02-01 | 2008-08-06 | 北京工业大学 | A Multifunctional Automobile Digital Instrument System |
| CN101308152A (en) * | 2008-06-24 | 2008-11-19 | 浙江理工大学 | Alcohol testing method and system based on wireless network |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101718778A (en) | 2010-06-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103246265B (en) | Electromechanical equipment detection maintaining method | |
| CN101718778B (en) | Remote fault diagnosis method and system for alcohol tester based on GPRS | |
| CA2654404C (en) | Faulted circuit indicator monitoring device with wireless memory monitor | |
| CN106502853A (en) | Embedded intelligence fault detect warning system | |
| CN108075838B (en) | Portable BTM detector and detection method | |
| CN101308152A (en) | Alcohol testing method and system based on wireless network | |
| CN210006184U (en) | Gas Pipeline Network Intelligent Monitoring and Management System | |
| CN101122241A (en) | Emergency wireless acquisition equipment and acquisition method of mine environmental parameters | |
| CN208206731U (en) | A kind of dust detection alarm system based on Bluetooth technology | |
| CN108415337A (en) | A kind of special equipment remote data acquisition analyzer | |
| CN206964947U (en) | Remote controlled end water testing device | |
| CN103323378A (en) | PM2.5 monitoring method and system | |
| CN116436946A (en) | A hydrogen energy vehicle safety information intelligent network connection system | |
| CN105258649A (en) | An automatic monitoring system for three-dimensional deformation of pipeline welds | |
| CN205101867U (en) | Gas pressure regulating box with real time monitoring function | |
| CN204883855U (en) | Regulator Pressure Automatic Recording Analyzer | |
| CN210271226U (en) | Handheld meter system for monitoring and data acquisition of field instrument | |
| CN103680073A (en) | Wireless environment gas monitoring and alarming system | |
| CN108521473A (en) | A kind of billboard monitoring system based on Internet of Things | |
| CN103217654A (en) | Touch screen remote monitoring fault diagnosis system and method thereof | |
| CN104410534A (en) | Information network patrol instrument | |
| CN211552913U (en) | A gas detection and early warning device | |
| CN207066490U (en) | A kind of integrated machine system of indoor dust-free environmental monitoring | |
| CN211904658U (en) | Mechanical equipment fault and tail gas monitoring and diagnosing system | |
| CN203224569U (en) | Resistance tester based on wireless transmission |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120725 Termination date: 20141126 |
|
| EXPY | Termination of patent right or utility model |
