CN101661011A - Plug-in tester and testing method for alcohol or gas detection and alarm in GPS - Google Patents
Plug-in tester and testing method for alcohol or gas detection and alarm in GPS Download PDFInfo
- Publication number
- CN101661011A CN101661011A CN200910307995A CN200910307995A CN101661011A CN 101661011 A CN101661011 A CN 101661011A CN 200910307995 A CN200910307995 A CN 200910307995A CN 200910307995 A CN200910307995 A CN 200910307995A CN 101661011 A CN101661011 A CN 101661011A
- Authority
- CN
- China
- Prior art keywords
- gps
- plug
- tester
- alcohol
- interface circuit
- 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.)
- Pending
Links
Images
Landscapes
- Investigating Or Analyzing Materials By The Use Of Fluid Adsorption Or Reactions (AREA)
- Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)
Abstract
The invention provides a plug-in tester for alcohol or gas detection and alarm in A GPS, which comprises a power supply circuit, a gas-sensitive sensor, a MCU and a serial communication interface circuit which are connected in sequence, wherein the serial communication interface circuit is connected with a serial communication interface circuit of the GPS, a processing software package preinstalled in the GPS automatically identifies the plug-in tester and realizes the serial communication protocol intercommunication of data. The plug-in tester for alcohol or gas detection and alarm in the GPSdoes need to change any hardware of the GPS, and only needed to be externally added on the GPS; the GPS is newly added with functions of alcohol or harmful gas detection by installing alcohol or harmful gas related processing procedures of the scheme, thus greatly increasing using convenience and flexibility.
Description
Technical field
The present invention relates to a kind of plug-in tester and method of testing, particularly about a kind of plug-in tester and method of testing that is used for GPS (GPS, GlobalPosition System) with alcohol or harmful gas gas detection and warning function.
The demand background
Accident investigation according to the World Health Organization (WHO) shows, about 50% to 60% traffic hazard traffic hazard with drive when intoxicated relevant.Drive when intoxicated and classified as the first cause that the traffic accident traffic accident causes death by the World Health Organization (WHO).
Just because of the serious consequence of driving when intoxicated and may cause, each country has all carried out strict regulation to driving when intoxicated.The relevant law of China will be driven when intoxicated and will be divided into driver from drunk driving and drunk driving.Driver from drunk driving and drunk driving are according to human pilot blood, and the alcohol content value in the expiration defines.So-called driver from drunk driving refers to that the alcohol content in driver's blood is greater than or equal to 20mg/100ML, less than the driving behavior of 80mg/100ML.So-called drunk driving refers to that the alcohol content in driver's blood is greater than or equal to the driving behavior of 80mg/100ML.
According to calculating, after drinking 350mL (being equivalent to 1 bottle approximately) beer or half two liquor (20ml) generally speaking, BAC just can reach 0.02 (20mg/100ML), promptly reach the punishment condition of drinking drive: according to new friend's law regulation, motor vehicle is driven in drink back, the place provisionally suspends motor vehicle driving license below three months more than month, and locates fine below 500 yuan more than 200 yuan.
Carbon monoxide is exactly " coal gas " said usually, is a kind of colourless, tasteless harmful gas, also is one of several main polluters in the atmosphere.Carbon monoxide is owing to the carbonaceous material rough burning produces.Carbon monoxide in the city atmospheric environment is mainly derived from fire coal and automotive emission.
What harm does carbon monoxide have to human body? expert introduction, it can combine with the haemoglobin in the blood and form hydrocarbon haemoglobin, influences the oxygen carrying capacity of haemoglobin, hinder oxygen by blood to cardiac muscle, the transfer of brain tissue can make the people suffocate when serious, even dead.Therefore the pedestrian does not stay in the major trunk roads length of side time, old man especially, and children, responsive crowd such as pregnant woman more will note.
The problems referred to above are owing to lack a kind of can carrying to a great extent, and the device that can detect whenever and wherever possible, so just make people can't know oneself alcohol at one's side and the concentration of harmful gas (CO, vehicle exhaust, volatile organic compounds etc.) gas such as coal gas, allow people can't know whether oneself is in the hole.The present alcohol or the checkout equipment of CO gas generally all are the specialized equipments that is not easy to carry, and they can not satisfy the requirement that people use whenever and wherever possible.
Summary of the invention
The alcohol or the gas (CO, vehicle exhaust, volatile organic compounds etc.) that the invention provides a kind of GPS of being used for detect and the plug-in tester and the method for testing of reporting to the police.
The technical solution adopted for the present invention to solve the technical problems is: the alcohol of a kind of GPS of being used for or the plug-in tester of harmful gas (CO, vehicle exhaust, volatile organic compounds etc.) gas detection and warning are provided, it comprises the feed circuit that connect successively, gas sensor, MCU and serial interface circuit, described serial interface circuit links to each other with the serial interface circuit of GPS, the processing software package that is preset among this GPS is discerned this plug-in tester automatically, realizes that the serial communication protocol of data is communicated with.
The technical solution adopted for the present invention to solve the technical problems is: described plug-in tester links to each other with this GPS by the serial ports port.
The technical solution adopted for the present invention to solve the technical problems is: described serial port is USB or earphone jack port.
The technical solution adopted for the present invention to solve the technical problems is: the power supply of described plug-in tester and this GPS and communication are the serial ports ports of shared GPS.
The technical solution adopted for the present invention to solve the technical problems is: described plug-in tester uses semiconductor or infrared type gas sensor to realize the detection of alcohol and harmful gas.
The technical solution adopted for the present invention to solve the technical problems is: a kind of alcohol of GPS or plug-in tester of gas detection and warning of being used for, it is characterized in that: it comprises the feed circuit that connect successively, gas sensor, MCU and bluetooth communication module, described tester passes through the Bluetooth protocol wireless connections by the bluetooth communication module of bluetooth communication module and GPS, and the processing software package that is preset among this GPS is discerned this plug-in tester automatically.
The technical solution adopted for the present invention to solve the technical problems is: a kind of alcohol of GPS or plug-in method of testing of gas detection and warning of being used for, and it may further comprise the steps: S1 embeds processing software package among the GPS; S2 is connected plug-in tester with this GPS; The described processing software package of S3 is discerned this plug-in tester automatically, makes that setting up serial communication between this plug-in tester and this GPS is connected; S4 shows on described GPS, operates plug-in tester, realizes detection and warning to alcohol or harmful gas.
The technical solution adopted for the present invention to solve the technical problems is: among the described step S1, described processing software package is embedded under the root directory of the SD card of GPS or onboard flash memory.
The technical solution adopted for the present invention to solve the technical problems is: described plug-in tester comprises the feed circuit that connect successively, gas sensor, MCU and serial interface circuit, described serial interface circuit links to each other with the serial interface circuit of GPS.
The technical solution adopted for the present invention to solve the technical problems is: described plug-in tester links to each other with this GPS by the serial ports port.
Compared to prior art, the plug-in tester of the alcohol of the GPS of being used for of the present invention or harmful gas (CO, vehicle exhaust, volatile organic compounds etc.) gas detection and warning and method of testing need not that GPS is carried out any hardware and change, only need plug-in this plug-in tester on GPS, the alcohol or the harmful gas relevant treatment program of this programme are installed on GPS, can on GPS, increase newly and realize alcohol or harmful gas measuring ability, improve convenience and the dirigibility of using greatly.
Description of drawings
Fig. 1 is the structural representation of the plug-in tester of the alcohol of the GPS of being used for of the present invention or gas detection and warning.
Fig. 2 is the electrical block diagram of the plug-in tester of the alcohol of the GPS of being used for of the present invention or gas detection and warning.
Fig. 3 is the software flow pattern of the plug-in method of testing of the alcohol of the GPS of being used for of the present invention or gas detection and warning.
Fig. 4 is the process flow diagram of the plug-in method of testing of the alcohol of the GPS of being used for of the present invention or gas detection and warning.
Embodiment
As shown in Figures 1 to 4, the invention provides the alcohol of a kind of GPS of being used for or the plug-in method of testing of harmful gas (as CO, vehicle exhaust, volatile organic compounds etc.) gas detection and warning, it may further comprise the steps, and: S1 embeds processing software package among the GPS; S2 is connected plug-in tester with this GPS; The described processing software package of S3 is discerned this plug-in tester automatically, makes that setting up serial communication between this plug-in tester and this GPS is connected; S4 shows on described GPS, operates plug-in tester, realizes detection and warning to alcohol or harmful gas.
Among the described step S1, described processing software package is embedded under the root directory of the SD card of GPS or onboard flash memory (Flash Memory).
Described plug-in tester comprises the feed circuit that connect successively, gas sensor, MCU and serial interface circuit.Described serial interface circuit links to each other with the serial interface circuit of GPS, realizes that the serial communication protocol of data is communicated with.Described plug-in tester links to each other with this GPS by the serial ports port, and as USB or earphone jack port, the data that this plug-in tester is tested are carried out exchanges data by the serial communication protocol and the GPS equipment of 9600 baud rates.
The power supply of described plug-in tester and this GPS and communication are the serial ports ports of shared GPS.
The invention provides the alcohol of a kind of GPS of being used for or the plug-in tester of harmful gas (as CO, vehicle exhaust, volatile organic compounds etc.) gas detection and warning, it comprises the feed circuit that connect successively, gas sensor, MCU and serial interface circuit.Described serial interface circuit links to each other with the serial interface circuit of GPS, and the processing software package that is preset among this GPS is discerned this plug-in tester automatically, realizes that the serial communication protocol of data is communicated with.
Described plug-in tester links to each other with this GPS by the serial ports port, and as USB or earphone jack port, the data that this plug-in tester is tested are carried out exchanges data by the serial communication protocol and the GPS equipment of 9600 baud rates.
Described plug-in tester connects by the serial ports port based on RS232 of GPS, is powered to this plug-in tester by GPS.The serial ports port of the power supply of this plug-in tester, the shared GPS of communication.
Described plug-in tester uses a gas sensor to realize the detection of alcohol and harmful gas, and this sensor is a kind of semiconductor or infrared type gas sensor.
The circuit theory of plug-in tester of the present invention and work constitute as Fig. 2 and shown in Figure 3:
As seen from the figure, receive the test initiation command of keyboard input when GPS equipment after, sending the start sensor order by serial line interface detects and the warning function module to alcohol or harmful gas, the power supply IC (U5) of the WARM pin of this main control MCU output high level start sensor after this module is received startup command powers for sensor circuit after making U5 output 3.3V voltage through resistance (R1 and R2) dividing potential drop.At this moment, the SIG pin of sensor can produce an initial voltage, this voltage is read by the A/D mouth of alcohol or harmful gas detection and warning function module MCU through resistance R 3, when this magnitude of voltage tends towards stability, can inject alcohol (or carbon monoxide) gas to gas sensor, the sensitive body generation physics reflection of alcohol molecule in the alcohol gas and sensor, thereby change the internal resistance of sensor, the SIG pin magnitude of voltage of sensor also can change along with the variation of internal resistance, gas contains the concentration difference of alcohol, and the variable quantity of sensor internal resistance is also different.That so just A/D end can be read sends to GPS with the data that quantize by serial communication interface and has it to be presented on the display screen after a series of processing such as over-compensation, correction, computing.
Plug-in tester of the present invention is as follows to the software control flow process of harmful body or alcohol gas detection:
Select the gas test function by GPS button or touch-screen;
The central processing unit of GPS receives the transmission of instruction back and opens the sensor order to this plug-in tester, and the demonstration sensor is opened the interface on LCD simultaneously;
The MCU of this plug-in tester starts the original state of A/D conversion read sensor, sends order by serial communication interface simultaneously and makes it show the preparation median surface on LCD to GPS.MCU in this plug-in tester detects sensing and enters after the steady state (SS) informing that by serial communication interface GPS main frame working sensor this moment is stable and please point out the testee to blow, and meanwhile GPS shows that on its LCD the countdown that begins simultaneously to blow of " please blow " interface begins.After sensor arrives air blowing, MCU in this plug-in tester starts the variable condition of A/D conversion read sensor, finish the minimum value that the MCU read sensor changes up to countdown, MCU carries out operational analysis with the ADC value that collects simultaneously, analysis result is sent to GPS by serial communication interface, there is GPS to determine that according to the result that sends over the testee is state of intoxication, slight drink state or do not drink state, this result is presented at the picture form on the LCD display of GPS and makes corresponding voice suggestion according to the result who sends over simultaneously.
GPS is at alcohol or harmful gas relevant treatment software package, is embedded under the root directory of the SD card of GPS or onboard flash memory (FlashMemory).Demonstration on GPS, operation, warning alcohol or harmful gas function.
The plug-in tester of the alcohol of the GPS of being used for of the present invention or harmful gas (CO, vehicle exhaust, volatile organic compounds etc.) gas detection and warning and method of testing need not that GPS is carried out any hardware and change, only need plug-in this plug-in tester on GPS, the alcohol or the harmful gas relevant treatment program of this programme are installed on GPS, can on GPS, increase newly and realize alcohol or harmful gas measuring ability, improve convenience and the dirigibility of using greatly.
Certainly, the plug-in tester of the alcohol of the GPS of being used for of the present invention or gas detection and warning also can adopt bluetooth communication module to replace described serial interface circuit, the bluetooth communication module circuit of described bluetooth communication module and GPS can play the same effect of serial interface circuit by the Bluetooth protocol wireless connections.
Claims (10)
1. one kind is used for the alcohol of GPS or the plug-in tester of gas detection and warning, it is characterized in that: it comprises the feed circuit that connect successively, gas sensor, MCU and serial interface circuit, described serial interface circuit links to each other with the serial interface circuit of GPS, the processing software package that is preset among this GPS is discerned this plug-in tester automatically, realizes that the serial communication protocol of data is communicated with.
2. plug-in tester according to claim 1 is characterized in that: described plug-in tester links to each other with this GPS by the serial ports port.
3. plug-in tester according to claim 2 is characterized in that: described serial port is USB or earphone jack port.
4. plug-in tester according to claim 1 is characterized in that: the power supply of described plug-in tester and this GPS and communication are the serial ports ports of shared GPS.
5. plug-in tester according to claim 1 is characterized in that: described plug-in tester uses semiconductor or infrared type gas sensor to realize the detection of alcohol and harmful gas.
6. one kind is used for the alcohol of GPS or the plug-in tester of gas detection and warning, it is characterized in that: it comprises the feed circuit that connect successively, gas sensor, MCU and bluetooth communication module, described tester passes through the Bluetooth protocol wireless connections by the bluetooth communication module of bluetooth communication module and GPS, and the processing software package that is preset among this GPS is discerned this plug-in tester automatically.
7. one kind is used for the alcohol of GPS or the plug-in method of testing of gas detection and warning, and it may further comprise the steps: S1 embeds processing software package among the GPS; S2 is connected plug-in tester with this GPS; The described processing software package of S3 is discerned this plug-in tester automatically, makes that setting up serial communication between this plug-in tester and this GPS is connected; S4 shows on described GPS, operates plug-in tester, realizes detection and warning to alcohol or harmful gas.
8. plug-in method of testing according to claim 7 is characterized in that: among the described step S1, described processing software package is embedded under the root directory of the SD card of GPS or onboard flash memory.
9. plug-in method of testing according to claim 7, it is characterized in that: described plug-in tester comprises the feed circuit that connect successively, gas sensor, MCU and serial interface circuit, described serial interface circuit links to each other with the serial interface circuit of GPS.
10. plug-in method of testing according to claim 7 is characterized in that: described plug-in tester links to each other with this GPS by the serial ports port.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910307995A CN101661011A (en) | 2009-09-29 | 2009-09-29 | Plug-in tester and testing method for alcohol or gas detection and alarm in GPS |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910307995A CN101661011A (en) | 2009-09-29 | 2009-09-29 | Plug-in tester and testing method for alcohol or gas detection and alarm in GPS |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101661011A true CN101661011A (en) | 2010-03-03 |
Family
ID=41789152
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910307995A Pending CN101661011A (en) | 2009-09-29 | 2009-09-29 | Plug-in tester and testing method for alcohol or gas detection and alarm in GPS |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101661011A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105784793A (en) * | 2014-12-16 | 2016-07-20 | 财团法人金属工业研究发展中心 | Alcohol concentration sensing device and control method thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2482295Y (en) * | 2001-04-29 | 2002-03-13 | 深圳华强通讯有限公司 | Terminal for sending location data over mobile communication network |
CN1362613A (en) * | 2002-02-06 | 2002-08-07 | 何秀凤 | Autonomous positioning and directing navigator |
CN1405576A (en) * | 2001-08-02 | 2003-03-26 | 皇家菲利浦电子有限公司 | GPS receiver module |
CN2575684Y (en) * | 2002-07-29 | 2003-09-24 | 左文辑 | Mechanical light switch |
CN2591639Y (en) * | 2002-11-28 | 2003-12-10 | 上海三吉电子工程有限公司 | Portable positioning device |
-
2009
- 2009-09-29 CN CN200910307995A patent/CN101661011A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2482295Y (en) * | 2001-04-29 | 2002-03-13 | 深圳华强通讯有限公司 | Terminal for sending location data over mobile communication network |
CN1405576A (en) * | 2001-08-02 | 2003-03-26 | 皇家菲利浦电子有限公司 | GPS receiver module |
CN1362613A (en) * | 2002-02-06 | 2002-08-07 | 何秀凤 | Autonomous positioning and directing navigator |
CN2575684Y (en) * | 2002-07-29 | 2003-09-24 | 左文辑 | Mechanical light switch |
CN2591639Y (en) * | 2002-11-28 | 2003-12-10 | 上海三吉电子工程有限公司 | Portable positioning device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105784793A (en) * | 2014-12-16 | 2016-07-20 | 财团法人金属工业研究发展中心 | Alcohol concentration sensing device and control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015169110A1 (en) | Personal vehicle diagnosis system and method based on mobile intelligent terminal | |
CN201341166Y (en) | Cell phone with alcohol or CO gas detection and warning functions | |
US20120295595A1 (en) | Integrated Alcohol Detection And Mobile Communication Apparatus And Method | |
CN108629372A (en) | Obtain experimental system and the driving style recognition methods of driving style characteristic parameter | |
CN201724919U (en) | Externally hanging tester used for the gas detection and alarm of GPS alcohol or harmful gas | |
CN104483353A (en) | Multichannel oxygen sensor testing device and multichannel oxygen sensor testing method | |
WO2010000262A1 (en) | A device for making diagnostic tests on a vehicle | |
CN203046903U (en) | Drunk driving prevention device | |
CN101661011A (en) | Plug-in tester and testing method for alcohol or gas detection and alarm in GPS | |
CN201174191Y (en) | A portable vehicle electronic control system teaching device | |
CN210626055U (en) | Vehicle double idle exhaust gas detection device | |
CN106494326B (en) | A kind of vehicle-carrying communication control method and equipment | |
CN202987023U (en) | Portable intelligent vehicle-mounted system | |
CN205301337U (en) | Portable integrated alcohol detecting device based on android system | |
CN205621264U (en) | Utilize oxygen bias voltage environment gas sensor static test system of hand -held type bluetooth customer end control | |
CN201402319Y (en) | GPS with the functions of detecting alcohol or CO gas and alarming | |
CN201111708Y (en) | Non-contact type car failure diagnosis device | |
CN204229222U (en) | There is the vehicle diagnosis joint of illumination functions | |
CN105424948B (en) | Portable integrated alcohol detecting device based on android system | |
Meseguer Anastasio et al. | Characterizing the driving style behavior using artificial intelligence techniques | |
CN102109948B (en) | Mobile device and file reading assisting method thereof | |
CN210402639U (en) | Alarm system for people trapped in vehicle | |
CN203758585U (en) | Diagnostic test system for fuel gauge | |
CN102501765A (en) | Anti-cheating alcolock system | |
CN203042212U (en) | Self-test vision testing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100303 |