Summary of the invention
The features and advantages of the present invention are partly statement in the following description, perhaps can describe obviously from this, perhaps can learn by putting into practice the present invention.
Be to solve the above-mentioned problems in the prior art, prevention and reduce the risk of chaufeur drunk driving the invention provides a kind of vehicle-mounted alcohol test system, method and uses the automobile of this system.
It is as follows that the present invention solves the problems of the technologies described above the technical scheme that adopts:
A kind of vehicle-mounted alcohol test system, this system comprises:
Alcohol concentration sensor is used for the air alcohol concentration of its installed position of measurement and changes this alcohol concentration into electric signal sending to main control module;
Temperature sensor is used for the temperature of air in the measurement car and is converted into electric signal sending to main control module;
Rang sensor is used for the distance between measurement alcohol concentration sensor and the chaufeur head and is converted into electric signal sending to main control module;
Main control module is used for determining according to the electric signal that alcohol concentration sensor, temperature sensor and rang sensor send whether chaufeur alcohol exceeds standard, to action executing module output control signal; And
The action executing module is used for receiving the control signal of main control module and carries out corresponding actions according to control signal.
As preferred embodiment, alcohol concentration sensor wherein, temperature sensor and rang sensor are integrated on the circuit card, and are installed on the middle part of vehicle steering.
As preferred embodiment, main control module also comprises:
Be used for determining according to the electric signal that temperature sensor sends the alcohol diffusion coefficient determination module of alcohol diffusion coefficient corresponding under this temperature, this module links to each other with temperature sensor;
Be used for the electric signal that sends over according to alcohol concentration sensor, rang sensor and alcohol diffusion coefficient and repeatedly carry out curve fitting process and export the numerical fitting module of fitting result according to predetermined formula, this module links to each other with alcohol concentration sensor, rang sensor and alcohol diffusion coefficient determination module respectively;
Be used for determining whether chaufeur alcohol in the car exceeds standard and to the decision-making module of action executing module output control signal, this module links to each other with the action executing module with the numerical fitting module respectively according to fitting result and pre-defined rule.
As preferred embodiment, can this alcohol detection system also comprise the enable switch that work for this alcohol detection system of control.
According to a further aspect in the invention, also provide a kind of vehicle-mounted alcohol method of inspection, the method comprises:
Distance in the car that alcohol concentration sensor, temperature sensor and rang sensor detect it respectively between alcohol concentration, temperature and alcohol concentration sensor and the chaufeur head changes electric signal into and sends to main control module;
Main control module determines according to the electric signal that alcohol concentration sensor, temperature sensor and rang sensor send whether chaufeur alcohol exceeds standard, to action executing module output control signal;
The action executing module receives the control signal of main control module and carries out corresponding actions according to control signal.
As preferential embodiment, main control module wherein determines according to the electric signal that alcohol concentration sensor, temperature sensor and rang sensor send whether chaufeur alcohol exceeds standard, and step from control signal to the action executing module that export comprises:
The electric signal that the alcohol diffusion coefficient determination module of main control module sends according to temperature sensor is determined alcohol diffusion coefficient corresponding under this temperature;
The alcohol diffusion coefficient that the electric signal that the numerical fitting module of main control module sends over according to alcohol concentration sensor, rang sensor and alcohol diffusion coefficient determination module send over is also repeatedly carried out curve fitting process and is exported fitting result according to predetermined formula;
The decision-making module of main control module determines in the car according to fitting result whether chaufeur alcohol exceeds standard and to action executing module output control signal.
As preferred embodiment, the electric signal that the alcohol diffusion coefficient determination module of main control module sends according to temperature sensor determines that the step of alcohol diffusion coefficient corresponding under this temperature comprises: the value form of setting up corresponding alcohol diffusion coefficient under the different temperatures, table look-up according to Current Temperatures, know the alcohol diffusion coefficient under the Current Temperatures.
As preferred embodiment, fitting result wherein comprises the optimum value of expiration alcohol concentration and corresponding minimum error of fitting.
As preferred embodiment, the decision-making module of main control module is determined according to fitting result whether chaufeur alcohol in the car exceeds standard and is comprised to the step of action executing module output control signal: judge that whether minimum error of fitting is less than default error of fitting thresholding, if not, then be judged to be non-drunk driving, if judge further that then whether the optimum value of expiration alcohol concentration is greater than default expiration alcohol concentration threshold value, if not, then be judged to be non-drunk driving, if then be judged to be drunk driving.
As preferred embodiment, the action executing module receives the control signal of main control module and comprises in car according to the step that control signal is carried out corresponding actions and to send the sound and light alarm signal or to cut off starting power for engine.
In addition, the present invention also discloses a kind of automobile, and this automobile has used above-mentioned vehicle-mounted alcohol test system.
By above technical scheme, owing to having used corresponding sensor technology and the peculiar algorithm of the present invention, convenient, fast, realized alcohol screen test to chaufeur in the car automatically, exactly, match by main control module and the mode such as table look-up are so that automobile possesses higher intelligent and hommization.Simultaneously, owing to can the alcohol of chaufeur be tested according to automatic realization, determine whether drunk driving, can automatically cut off starting power for engine or the sound and light alarm signal is provided, preferably preventive are provided for preventing that chaufeur from driving when intoxicated, for intellectuality and the safety that further improves automobile provides strong guarantee.
By reading specification sheets, those of ordinary skills will understand feature and the content of these technical schemes better.
The specific embodiment
Below in conjunction with accompanying drawing the specific embodiment of the invention is described in further detail.
The groundwork that realizes technical solution of the present invention is:
When an alcohol source with constant density is placed in the air, its alcohol molecule will spread in air, and this diffusion process meets Fick's law (Fick ' s Law), substantially being described below of this law: the constant density of establishing the alcohol source is Q
0, the moment of putting into air is t=0, the aerial diffusion coefficient of alcohol is D when temperature is T
T, then apart from alcohol source L alcohol concentration Q at a distance
L(t) be:
This shows the alcohol concentration Q at L place
L(t) be time dependent curve, and in the ideal case, this curve meets above-mentioned formula, have a fixing change procedure.
Therefore, can be with chaufeur as an alcohol source, an alcohol concentration sensor is installed is onboard measured the concentration of alcohol, a rang sensor is measured the distance L of alcohol concentration sensor and chaufeur head, TEMP is measured air themperature T in the car, thereby can learn the aerial diffusion coefficient D of alcohol under the T temperature by table look-up (this table is pre-stored according to experiment or empirical value gained)
T(this diffusion coefficient belongs to the basic physical property of alcohol, any technical personnel that the physical property of alcohol is known about, all can find at corresponding physics handbook), then can remove to measure according to certain sampling period (this cycle can preset according to actual needs) a series of alcohol concentration value Q at L place
L(t
1), Q
L(t
2) ..., Q
L(t
n), then according to above-mentioned formula with Q
0For variable carries out match, if less than the thresholding of setting, then can be considered, error of fitting detected an alcohol diffusion process, the alcohol concentration of breath is the Q that match obtains in its mouthful
0Optimal value, and then judge
Whether greater than the alcohol concentration thresholding of predefined steerman breath, so just can judge whether drunken driving of chaufeur.
Vehicle-mounted alcohol test system according to above principle realizes as shown in Figure 1, comprises following several module:
Be used for measuring the air alcohol concentration of its installed position and change it into alcohol concentration sensor 1 that electric signal sends to main control module 4; Be used for measuring the temperature of air in the car and being converted into the temperature sensor 2 that electric signal sends to main control module 4; Be used for measuring the distance between alcohol concentration sensor 1 and the chaufeur head and being converted into the rang sensor 3 that electric signal sends to main control module 4; Be used for determining according to the electric signal that alcohol concentration sensor 1, temperature sensor 2 and rang sensor 3 send whether chaufeur alcohol exceeds standard, to the main control module 4 of action executing module 5 output control signals; And the action executing module 5 that is used for receiving the control signal of main control module 4 and carries out corresponding actions according to control signal; Wherein, alcohol concentration sensor 1, temperature sensor 2, rang sensor 3 and action executing module 5 link to each other with main control module 4 respectively.
In a preferred embodiment, alcohol concentration sensor 1, temperature sensor 2 and rang sensor 3 are integrated on the circuit card, and are installed on the middle part of vehicle steering, can certainly be installed on the middle control instrument desk of automobile.
Wherein, main control module 4 also comprises: be used for determining according to the electric signal that temperature sensor 2 sends the alcohol diffusion coefficient determination module 4a of alcohol diffusion coefficient corresponding under this temperature, this module links to each other with temperature sensor 2.On concrete technology realized, this module can be the software program that runs in the main control module 4, and its Main Function is air themperature T in the car that measures according to temperature sensor 2, determines alcohol diffusion coefficient D corresponding under this temperature
T, and be sent to numerical fitting module 4b.The size of diffusion coefficient depends primarily on kind and the temperature and pressure thereof of diffusate and dispersive medium, in native system, diffusate alcohol, dispersive medium air are fixed amount, and because alcohol is free expanding in air, therefore pressure also can be considered constant, so the alcohol diffusion coefficient D
TCan think only relevant with temperature T.Therefore, a kind ofly preferred determine that the method for current alcohol diffusion coefficient is, set up the value form of corresponding alcohol diffusion coefficient under the different temperatures, table look-up according to the current temperature T that measures, know current alcohol diffusion coefficient D
T
Main control module 4 also comprises: for the electric signal and the alcohol diffusion coefficient D that send over according to alcohol concentration sensor 1, rang sensor 3
TAnd repeatedly carry out curve fitting process and export the numerical fitting module 4b of fitting result according to predetermined formula, this module links to each other with rang sensor 3 with alcohol concentration sensor 1, alcohol diffusion coefficient determination module 4a respectively.On concrete technology realized, this module can be the software program that runs in the main control module 4, and its execution curve fitting process is:
Make that current time is 0 constantly, read distance L and diffusion coefficient D
T, and take current time as starting point, read continuously n alcohol concentration observed reading Q
L(0), Q
L(△ t), Q
L(2 △ t) ..., Q
L(n △ t), wherein n is that sampling length, △ t are the sampling period, and according to Fick's law (Fick ' s Law), carries out match according to following formula, calculates expiration alcohol concentration Q
0Optimum value and corresponding minimum error of fitting Err.
Native system can adopt any one NUMERICAL MATCH METHOD FOR to carry out match, and a kind of preferred approximating method is to be constructed as follows majorized function, and adopts the least square optimized algorithm to determine expiration alcohol concentration Q
0Optimum value and minimum Err.
Because the optimization of numerical fitting and function has been very ripe algorithm, does not repeat them here.
Main control module 4 also comprises: be used for determining whether chaufeur alcohol in the car exceeds standard and to the decision-making module 4c of action executing module 5 output control signals according to fitting result and pre-defined rule.This module can be to run on main control module 4 interior software programs, and Main Function is to obtain expiration alcohol concentration Q according to numerical fitting module 4b
0The error of fitting Err of the minimum of optimum value and correspondence thereof, the BAC of calculating chaufeur judges whether chaufeur is drunken driving.Detailed process judges that at first whether Err is less than predefined error of fitting thresholding E as shown in Figure 2
Threshold(this error of fitting thresholding is debugged according to the situation in the reality use and is obtained, and this value is 0.2 in a preferred embodiment), if not, then explanation does not detect obvious alcohol diffusion process, be judged as non-drunken driving, if then need further to judge expiration alcohol concentration Q
0Whether optimum value is greater than predefined steerman expiration alcohol concentration thresholding Q
Threshold, if not, illustrate that then this alcohol concentration is too small, be judged as non-drunken driving, if, then be judged as drunken driving, and further according to the empirical equation of BAC and expiration alcohol concentration, calculate BAC, the empirical equation that calculates BAC is: BAC=expiration alcohol concentration * proportionality coefficient, and wherein proportionality coefficient every country standard is different, and the U.S. is 2000, the a lot of countries in Europe adopt 2100, and China adopts 2200.
Main control module 4 is after definite chaufeur is drunk driving, and then to action executing module 5 output control signals, this control signal carries out the useful signal of corresponding actions for activating action executing module 5.Wherein, action executing module 5 can be that a cover can be sounded and/or the acoustooptic alarm system of flashing signal, also can be an electronic switch that can cut off starting power for engine.
In a preferred embodiment, owing to being the environment of a relative closure in the car, when there being the passenger to be in intoxication, and chaufeur is not in intoxication, and the alcohol concentration sensor 1 in this moment car also might detect alcohol concentration, and the situation of generation flase alarm, so this system can also comprise an enable switch, when this enable switch was opened, this system could work, when this enable switch is closed, this system's cisco unity malfunction.
Just be based on above system and realizing, as shown in Figure 3, vehicle-mounted alcohol method of inspection disclosed in this invention can be described below:
Distance in the car that step 301, alcohol concentration sensor, temperature sensor and rang sensor detect it respectively between alcohol concentration, temperature and alcohol concentration sensor and the chaufeur head changes electric signal into and sends to main control module;
Step 302, main control module determine according to the electric signal that alcohol concentration sensor, temperature sensor and rang sensor send whether chaufeur alcohol exceeds standard, to action executing module output control signal;
Step 303, action executing module receive the control signal of main control module and carry out corresponding actions according to control signal.In a preferred embodiment, main control module wherein determines according to the electric signal that alcohol concentration sensor, temperature sensor and rang sensor send whether chaufeur alcohol exceeds standard, and step from control signal to the action executing module that export comprises:
The electric signal that the alcohol diffusion coefficient determination module of main control module sends according to temperature sensor is determined alcohol diffusion coefficient corresponding under this temperature;
The alcohol diffusion coefficient that the electric signal that the numerical fitting module of main control module sends over according to alcohol concentration sensor, rang sensor and alcohol diffusion coefficient determination module send over is also repeatedly carried out curve fitting process and is exported fitting result according to predetermined formula;
The decision-making module of main control module determines in the car according to fitting result and pre-defined rule whether chaufeur alcohol exceeds standard and to action executing module output control signal.
In a preferred embodiment, wherein execution corresponding actions comprises in car and sends the sound and light alarm signal or cut off starting power for engine.
Wherein, the pre-defined rule of decision-making module institute foundation mainly refers to: judge that whether minimum error of fitting is less than default error of fitting thresholding, if not, then be judged to be non-drunk driving, if judge further that then whether the optimum value of expiration alcohol concentration is greater than default expiration alcohol concentration threshold value, if not, then be judged to be non-drunk driving, if then be judged to be drunk driving.In conjunction with system described above furthermore be exactly: judge that at first whether Err is less than predefined error of fitting thresholding E
Threshold(this error of fitting thresholding is debugged according to the situation in the reality use and is obtained, and this value is 0.2 in a preferred embodiment), if not, then explanation does not detect obvious alcohol diffusion process, be judged as non-drunken driving, if then need further to judge expiration alcohol concentration Q
0Whether optimum value is greater than predefined steerman expiration alcohol concentration thresholding Q
Threshold, if not, illustrate that then this alcohol concentration is too small, be judged as non-drunken driving, if then be judged as drunken driving.
Realize about further technology, those skilled in the art can realize system and method described in the invention substantially according to the description in conjunction with above system and method, so, do not repeat them here.
In addition, the invention also discloses a kind of automobile, this automobile has used above-mentioned vehicle-mounted alcohol test system and method, has used the automobile of this system and method obviously to possess higher intellectuality, can prevent preferably the generation of drunk driving.Specific implementation by above technical scheme, owing to having used corresponding sensor technology and the peculiar algorithm of the present invention, convenient, fast, realized alcohol screen test to chaufeur in the car automatically, exactly, and accuracy of detection is higher, match by main control module and the mode such as table look-up are so that automobile possesses higher intelligent and hommization.Simultaneously, owing to can the alcohol of chaufeur be tested according to automatic realization, determine whether drunk driving, can automatically cut off starting power for engine or the sound and light alarm signal is provided, preferably preventive are provided for preventing that chaufeur from driving when intoxicated, for intellectuality and the safety that further improves automobile provides strong guarantee.In addition, owing to having used enable switch, so that use the automobile of the method and system, can not produce because of the alcohol state of non-navigating mate the situation of flase alarm, possess higher intellectuality.
Above with reference to the accompanying drawings of the preferred embodiments of the present invention, those skilled in the art do not depart from the scope and spirit of the present invention, and can have multiple flexible program to realize the present invention.For example, the feature that illustrates or describe as the part of an embodiment can be used for another embodiment to obtain another embodiment.Below only for the better feasible embodiment of the present invention, be not so limit to interest field of the present invention, the equivalence that all utilizations specification sheets of the present invention and accompanying drawing content are done changes, and all is contained within the interest field of the present invention.