CN109177981A - The anti-control system of driving when intoxicated of one kind - Google Patents
The anti-control system of driving when intoxicated of one kind Download PDFInfo
- Publication number
- CN109177981A CN109177981A CN201811284298.8A CN201811284298A CN109177981A CN 109177981 A CN109177981 A CN 109177981A CN 201811284298 A CN201811284298 A CN 201811284298A CN 109177981 A CN109177981 A CN 109177981A
- Authority
- CN
- China
- Prior art keywords
- chip microcontroller
- alcohol concentration
- driving
- control system
- alcohol
- 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
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W40/00—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
- B60W40/08—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to drivers or passengers
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/08—Interaction between the driver and the control system
- B60W50/14—Means for informing the driver, warning the driver or prompting a driver intervention
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W40/00—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
- B60W40/08—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to drivers or passengers
- B60W2040/0818—Inactivity or incapacity of driver
- B60W2040/0836—Inactivity or incapacity of driver due to alcohol
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/08—Interaction between the driver and the control system
- B60W50/14—Means for informing the driver, warning the driver or prompting a driver intervention
- B60W2050/143—Alarm means
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Human Computer Interaction (AREA)
- Auxiliary Drives, Propulsion Controls, And Safety Devices (AREA)
Abstract
This application involves the anti-control systems of driving when intoxicated of one kind, comprising: alcohol sensor for the alcohol concentration in real-time detection driver institute exhaled gas, and sends single-chip microcontroller for the alcohol concentration;The single-chip microcontroller, for receiving the alcohol concentration, and when the alcohol concentration is higher than preset value, control alarm is alarmed;Short message prompt is sent to preset family members' mobile device by communication module;The single-chip microcontroller includes: reset circuit, for resetting the working condition of single-chip microcontroller;The reset circuit is connected with the reset key being arranged at car door, and the reset key is for starting the reset circuit in the car door opening/closure.
Description
Technical field
This application involves traffic safety facilities fields, more particularly to a kind of anti-control system of driving when intoxicated.
Background technique
Anti- control system of driving when intoxicated in the prior art, can not make effective judgement when replacing driver, if by
The driver not drunk is changed to the driver to drink, then system may determine that as non-drunk driving, if being replaced by the driver to drink
For the driver not drunk, then driver is the judgement of drunk driving before system may continue.
Summary of the invention
To be overcome the problems, such as present in the relevant technologies at least to a certain extent, the application provides a kind of anti-control of driving when intoxicated
System processed.
The scheme of the application is as follows:
The anti-control system of driving when intoxicated of one kind characterized by comprising alcohol sensor is used for real-time detection driver
Alcohol concentration in institute's exhaled gas, and single-chip microcontroller is sent by the alcohol concentration;
The single-chip microcontroller, for receiving the alcohol concentration, and when the alcohol concentration is higher than preset value, control alarm
Device is alarmed;Short message prompt is sent to preset family members' mobile device by communication module;
The single-chip microcontroller includes: reset circuit, for resetting the working condition of single-chip microcontroller;
The reset circuit, is connected with the reset key being arranged at car door, and the reset key is used in the car door
Start the reset circuit when opened/closed.
Preferably, in conjunction with the above content, in a kind of possible implementation of the application, the single-chip microcontroller further include:
Timer;
The single-chip microcontroller is also used to receive the alcohol concentration when reaching the setting time of the timer every time.
Preferably, in conjunction with the above content, in a kind of possible implementation of the application, further includes: display screen;
The single-chip microcontroller, is also used to send the display screen for the alcohol concentration and shows.
Preferably, in conjunction with the above content, in a kind of possible implementation of the application, the alcohol sensor passes through
A/D converter is connect with the single-chip microcontroller.
Preferably, in conjunction with the above content, in a kind of possible implementation of the application, the A/D converter be by
Secondary comparison A/D converter.
Preferably, in conjunction with the above content, in a kind of possible implementation of the application, the alcohol sensor passes through
Amplifier is connect with the A/D converter;
The amplifier, for amplifying the signal strength of the alcohol sensor transmission.
Preferably, in conjunction with the above content, in a kind of possible implementation of the application, the single-chip microcontroller is also connected with vehicle
ECU;
The single-chip microcontroller is also used to, and when the alcohol concentration is higher than preset value, sends flame-out letter to the vehicle ECU
Number, the vehicle ECU stops working to vehicle.
Preferably, in conjunction with the above content, in a kind of possible implementation of the application, the communication module is GSM
Module.
Preferably, in conjunction with the above content, in a kind of possible implementation of the application, the gsm module is SIM-
800 chips;
The SIM-800 chip, for when the alcohol concentration is higher than preset value, preset UNICODE code to be converted
Preset family members' mobile device is sent to for Chinese character.
Preferably, in conjunction with the above content, in a kind of possible implementation of the application, the single-chip microcontroller further include:
Storage unit, for storing the received alcohol concentration of the single-chip microcontroller.
Technical solution provided by the present application can include the following benefits: be examined in real time in the application by alcohol sensor
The alcohol concentration in driver institute exhaled gas is surveyed, and sends single-chip microcontroller for alcohol concentration, single-chip microcontroller is judging alcohol concentration
When higher than preset value, control alarm is alarmed, and is prompted driver;Also moved by communication module to preset family members
Dynamic equipment sends short message prompt, so that driver family members is recognized the drunk driving situation of driver and prevents in time.Due to alcohol sensing
The case where device is real-time detection, avoids driver and does not drink when getting on the bus, and escape of but drinking after driving detects;Single-chip microcontroller packet
The reset circuit for resetting single-chip microcontroller working condition is included, reset circuit is started by reset key, and reset key is arranged in vehicle
At door, reset key can be touched in car door opening/closure, reset key, which starts reset circuit, carries out single-chip microcontroller working condition
Resetting needs close door, so that the working condition of single-chip microcontroller is reset, if by the driver not drunk when driver substitutes midway
It is changed to the driver for drinking wine, when single-chip microcontroller rejudges alcohol concentration higher than preset value, control alarm is alarmed, and is led to
It crosses communication module and sends short message prompt to preset family members' mobile device;If being changed to driving of not drinking by the driver for drinking wine
The person of sailing then controls alarm stop alarm when single-chip microcontroller rejudges alcohol concentration not higher than preset value.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The application can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application
Example, and together with specification it is used to explain the principle of the application.
Fig. 1 is the structure chart for the anti-control system of driving when intoxicated that the application one embodiment provides;
Fig. 2 is the circuit diagram for the MQ-3 fuel cell type alcohol sensor that the application one embodiment provides;
Fig. 3 is the circuit diagram for the STC89C52 type single-chip microcontroller that the application one embodiment provides;
Fig. 4 is the circuit diagram for the ADC0832 chip that the application one embodiment provides;
Fig. 5 is the circuit diagram for the SIM800 module that the application one embodiment provides.
Fig. 6 is the structure chart for the anti-control system of driving when intoxicated that another embodiment of the application provides.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
Fig. 1 is the structure chart for the anti-control system of driving when intoxicated that the application one embodiment provides, referring to Fig.1, Yi Zhongfang
It drives when intoxicated control system, comprising: alcohol sensor 1, for the alcohol concentration in real-time detection driver institute exhaled gas, and
Single-chip microcontroller 2 is sent by alcohol concentration;
Single-chip microcontroller 2, for receiving alcohol concentration, and when alcohol concentration is higher than preset value, control alarm 3 is reported
It is alert;Short message prompt is sent to preset family members' mobile device 4 by communication module;
Single-chip microcontroller 2 includes: reset circuit 5, for resetting the working condition of single-chip microcontroller 2;
Reset circuit 5, is connected with the reset key being arranged at car door, and reset key is used in car door opening/closure
Start reset circuit 5.
Present 1 type of alcohol sensor in the market is more, based on feulcell prototype and semi-conductor type, chromatography
Type, than supplemented by colour pattern and infra red type.
Semiconductor devices has the characteristic of gas sensor, if the concentration of alcohol is higher in the gas that it is contacted, resistance
Value will decline, and semiconductor breath alcohol can be used to test according to this principle.Furthermore the sensor of semi-conductor type is to temperature
The sensibility of degree be it is very high, with the variation of temperature, the sensibility of the gas detected to needs can be with variation, so one
As choose this type tester all have heating function carry out temperature heating, be heated to the temperature most sensitive to alcohol.However,
The sensitivity of semiconductor alcohol sensor 1 is not high, can not correct measurement, the disadvantages of stability is poor, and reproducibility is high, high power consumption.
Fuel cell type alcohol sensor 1 is filled with the fuel chambers of sensor using certain uncommon catalyst, uses
Noble metal platinum is conducted as electrode, and alcohol can carry out electric energy conversion, when being detected, the voltage of output after entering fuel chambers
Alcohol concentration detected by signal and sensor is directly proportional.Such sensor is classified as electrochemistry type, at present in world wide
It is inside widely studied as environmental energy, it, will not as this kind of combustible gas of alcohol can be converted into electric energy to power
Additionally cause environmental hazard.The characteristic of sensors with auxiliary electrode is high-precision sensor measurement, and measurement range is extensive, only can be with alcohol
It reacts, remaining gas has little effect measurement result.In addition, this sensor is very sensitive to alcohol, if
Component ambient temperature is maintained in specified scope, then 2 extremely weak output voltages can be obtained, even if concentration is non-
It is often low.It can be seen that fuel cell alcohol sensor 1 has good stability, accuracy and the ability for preventing interference, it can be with
Used elsewhere, such as test driver whether drunk driving.
Semi-conductor type and feulcell prototype occupy more than half rivers and mountains in market today, and alcohol sensor 1 in the market is ok
The portable breath alcohol communication apparatus for the field is easily produced, but two size of type are suitable, can be adapted to
Portable tester, this type tester can be tested in the traffic accident scene of the accident.In both types, China selects again
Semi-conductor type is selected as tester used in traffic police, maximum the reason is that it is at low cost, only feulcell prototype price
It is several at again however for for performance, it is nothing like feulcell prototype, therefore is only used in that Preliminary detection is this inaccurately to be wanted
In the case where seeking result, including check oneself or general qualitative examination.
In the application, it can be, but not limited to make using fuel cell type alcohol sensor 1 and semi-conductor type alcohol sensor 1
For alcohol sensor 1.
Preferably, in order to accurately be monitored as far as possible to driver's real-time qualitative, many factors such as consideration cost, mating situation,
By MQ-3 fuel cell type alcohol sensor 1 as the alcohol sensor 1 in the application.MQ-3 fuel cell type alcohol is sensed
The circuit diagram of device 1 is referring to Fig. 2.
It is can be, but not limited in the application using STC89C52 type single-chip microcontroller 2 as the single-chip microcontroller 2 in the application.
The circuit diagram of STC89C52 type single-chip microcontroller 2 is referring to Fig. 3.
About the 5 element part of reset circuit of single-chip microcontroller 2, the RST pin of single-chip microcontroller 2 is more than more than two machine cycles
Microcomputerized controller is reset on a high level, initializes entitled reset, if the system failure or the wrong behaviour of program
Malfunction caused by making can act on reset button with initialization program, and reset is divided into push button, and impulse level is multiple
Position, 3 methods based on electrification reset are chosen key in the application and are resetted, and reset key is mounted on car door and headstock
Junction.Start vehicle after driver is drunk, this system is alarmed, if driver gets off or substitutes, car door is opened/closed,
Cause reset key to be pressed, start reset circuit 5, reset circuit 5 resets single-chip microcontroller 2, and single-chip microcontroller will be again to wine
Smart sensor sends alcohol concentration and is judged.If having changed not drunk driver into, system will not alarm, can be normal
It drives;If being only to get on the bus again after getting off, it is exceeded and persistently alarm that system can detect alcohol concentration again.When reset key acts on,
The respective value of the capacitor and resistance chosen in circuit can input to RST pin more than two machine cycles of single-chip microcontroller 2,
It is expressed as resetting operation.
By the alcohol concentration in 1 real-time detection driver institute exhaled gas of alcohol sensor in the application, and by alcohol
Concentration is sent to single-chip microcontroller 2, and single-chip microcontroller 2 when judging that alcohol concentration is higher than preset value, alarm by control alarm 3, to driving
The person of sailing is prompted;Short message prompt is also sent to preset family members' mobile device 4 by communication module, understands driver family members
To driver drunk driving situation and prevent in time.Since alcohol sensor 1 is real-time detection, driver is avoided when getting on the bus not
It drinks, the case where escaping detection of but drinking after driving;Single-chip microcontroller 2 includes the reset electricity for resetting 2 working condition of single-chip microcontroller
Road 5, reset circuit 5 are started by reset key, and reset key is arranged at car door, can be touched in car door opening/closure multiple
Position key, reset key starting reset circuit 5 reset 2 working condition of single-chip microcontroller, when driver substitutes midway, need to switch
Car door, so that the working condition of single-chip microcontroller 2 is reset, if being changed to the driver for drinking wine by the driver not drunk, single-chip microcontroller 2
When rejudging alcohol concentration higher than preset value, control alarm 3 is alarmed, mobile to preset family members by communication module
Equipment 4 sends short message prompt;If being changed to the driver not drunk by the driver for drinking wine, single-chip microcontroller 2 rejudges alcohol
When concentration is not higher than preset value, then 3 stop alarm of alarm is controlled.
Control system of driving when intoxicated in some embodiments, single-chip microcontroller 2 further include: timer;
Single-chip microcontroller 2 is also used to receive alcohol concentration when reaching the setting time of timer every time.
If single-chip microcontroller 2, which works long hours, will lead to service life acceleration reduction, a timer and 2 double hit of single-chip microcontroller are set, it is fixed
When device after setting a time value, just send signal to single-chip microcontroller 2 every this time value, single-chip microcontroller 2 receiving every time it is fixed
When device send signal after, receive an alcohol sensor 1 transmission alcohol concentration.
The time of timer setting can be 10 seconds, i.e. timer sent signal, single-chip microcontroller 2 to single-chip microcontroller 2 every 10 seconds
The alcohol concentration of an alcohol sensor 1 transmission was received every 10 seconds and was judged.
Control system of driving when intoxicated in some embodiments, further includes: display screen;
Single-chip microcontroller 2, is also used to send display screen for alcohol concentration and shows.
Single-chip microcontroller 2 is connect with display screen, is sent display screen for alcohol concentration and is shown.
Display screen can allow driver to see alcohol concentration in expiration, alert driver.Preferably, display screen is selected
1602 liquid crystal displays.1602 liquid crystal displays are also 1602 character mode lcds, it is that one kind is specifically used to show letter, number, symbol etc.
Dot matrix type Liquid Crystal Module.It is made of the dot characters such as several 5X7 or 5X11 position, and each dot character position can be shown
Show a character, have between every a point away from interval, also have interval between every row, play character pitch and line space
Effect can be very good display number, in real time the detected alcohol concentration value of projection.
Control system of driving when intoxicated in some embodiments, alcohol sensor 1 are connect by A/D converter with single-chip microcontroller 2.
Analog-digital converter, that is, A/D converter or abbreviation ADC, typically referring to one for analog-signal transitions is digital signal
Electronic component.Common analog-digital converter is the digital signal that an input voltage signal is converted to an output.
The alcohol concentration that alcohol sensor 1 detects is analog signal, is sent alcohol sensor 1 by A/D converter
Analog signal is converted to digital signal, and the digital signal that single-chip microcontroller 2 receives the alcohol concentration finished through A/D converter conversion carries out
Processing.
Further, A/D converter is gradually comparison A/D converter.
The gradually method that comparison A/D converter uses sequence CL Compare Logic and comparator, is gradually forced in D/A converter
Nearly AD, and output it and be compared with the D/A converter of bit each from MSB with digital value is output to.The journey of circuit scale
Spend it is complex, lower than the advantages of 12 bit of resolution ratio be at high speed, low-power consumption, low price.
Gradually comparison A/D converter can be, but not limited to as ADC0832 chip.
ADC0832 is manufactured by 8 bit A/D converter of serial line interface, and power dissipation is small, and performance is good, at low cost, is suitable for intelligence
Measurement.The resolution ratio of ADC08322 reaches as high as 256 bit resolutions and D converter chip, can reach the requirement of A/D converter.
The dual output data of the chip be can be verified in order to avoid error transmission numerical value it is whether correct, have preferable anti-interference
With quick processing capacity.
This design can allow many different data that can input and be handled, and can connect many elements,
Also very simple, the effect of the port DI therein are the channels of selection conversion to processing method.
For ordinary circumstance, the interface of this chip micro-controller, can connect four ports i.e. piece select enabled CS, clock CLK,
DO and DI.But when the port DO and the port DI carry out DI activity simultaneously, since microcontroller is two-way, circuit design and one
The interface of DI in a data line can be used.When this chip does not act on, the enabled input 1 of piece choosing represents chip rest not
It uses, clock port and input/output terminal do not work at this time, can arbitrarily input numerical value.When only the enabled input of piece choosing is 0,
Chip carries out processing operation simultaneously, and clock pulses is supplied to ADC0832 chip, input terminal and output end and then only enables DI expression
It chooses in channel.Before single-chip microcontroller 2 gives the clock pulses arrival most started, the end DI needs to input 1 to show start bit, second
Before a and third clock pulses, input terminal needs single-chip microcontroller 2 to configuration bit to choose channel function.
Input form: configuration bit selector channel
Shown in upper table, if CH0 and CH1 receive be low level when, be at this time Differential Input mode, two held
The signal subtraction value of mouth is as input signal, if being configured to, CH0 is low level, CH1 is high level, and result is on the contrary;Other feelings
Condition is when CH0 input is high level, CH1 input is low level, only to handle the signal of CH0 input, CH1 does not make
With;If configuration bit is high level, otherwise only CH1 is acted on.
After reaching third clock pulses, then loses DI and input rank, carry out DI terminal, and start after reading conversion
Data to data output.From the clock of change data most important in output end D7, pulse output is done from each terminal
To next bit data.Wait until that the 11st pulse to the most end position of the numerical value D0 sent out, illustrates a byte
Transmission terminate.The output data of a bit byte is to reverse below from this, the 11st clock pulses this conversion core
Piece has sent out D0, then, completes eight output bits, and until CLK is sent to the 19th pulse, display A/D is converted.
Then, enabled input 1 is selected not act on chip then to piece, then corresponding linearization converts single-chip microcontroller 2 by the digital signal received.
Control system of driving when intoxicated in some embodiments, alcohol sensor 1 are connect by amplifier with A/D converter;
Amplifier, for amplifying the signal strength of the transmission of alcohol sensor 1.
Amplifier is also known as amplifying circuit, it is one of the most widely used electronic circuit, is also to constitute other electronics
The base unit circuit of circuit.So-called amplification is exactly that (abbreviation signal refers to voltage, the electric current of variation by the small-signal of input
Deng) be amplified to required for range value and with the consistent signal of original input signal changing rule, that is, carry out distortionless amplification.Only
There is the amplification in distortionless situation just significant.The essence of amplifying circuit is the control and conversion of energy, according to input circuit
Different with the common end of output loop, there are three types of citation forms for amplifying circuit: total radio amplifier, common-collector amplifier and cobasis
Amplifying circuit.
Amplify the signal strength that enhancing alcohol sensor 1 transmits by amplifier, reduces the distortion of signal, make alcohol concentration
Information is more accurate when reaching single-chip microcontroller 2.
Actual amplifying circuit is usually that the amplifier being made of signal source, transistor and load form.
Control system of driving when intoxicated in some embodiments, single-chip microcontroller 2 are also connected with vehicle ECU;
Single-chip microcontroller 2 is also used to, and when alcohol concentration is higher than preset value, sends misfire signals, the vehicle to the vehicle ECU
ECU stops working to vehicle.
Vehicle ECU (Electronic Control Unit electronic control unit), also known as " car running computer ", for controlling
The engine of vehicle operates.
Single-chip microcontroller 2 connects vehicle ECU, when alcohol concentration is higher than preset value, sends misfire signals, vehicle to vehicle ECU
ECU controls the engine stop operating of vehicle, and completion stops working to vehicle.When detecting driver's drunk driving, vehicle is voluntarily put out
Fire travel vehicle can not, ensure that the safety of driver.
Control system of driving when intoxicated in some embodiments, communication module are gsm module.
Further, gsm module is SIM-800 chip;
SIM-800 chip, for when alcohol concentration is higher than preset value, preset UNICODE code to be converted to Chinese character hair
It is sent to preset family members' mobile device 4.
GSM is developed based on cellular system, belongs to the open architecture of manufacture system second generation digital mobile communication.It should
Communication system is based on time division multiple acess access technology, and extensive universal utilization has been obtained in more mature system.Mainly have with
Lower feature, the subsystem of gsm system may be coupled to various public and international communication network;Automatic roaming function can be provided;
All users without hindrance can enter gsm system;It can guarantee the safety and privacy of the network user;Powerful interference resistance, letter
Number penetration power is strong.Because of the made rapid progress of integrated circuit technique, user equipment is also more and more compacter, and GSM function is also gradually various
Change.
Short message transmission and the realization for receiving system, which are based on gsm system, has three types.First seed type passes through ISMG
Short Message Service Gateway is sent, and advantage is only not need purchase hardware with software, however Office of the Telecommunications Authority to be gone to claim gateway, is suitble to large size
Network carrier.Second of type, such as Netease of Sina social network sites, SMS message transmission function are provided by website, this method
It easily reaches, does not result in waste of resources, website can be to rely on, message can only be sent, information can not be received.Third type
There are type hsrdware requirements may be implemented to send and receive short message automatically suitable for the development of undersize item, be single-chip microcontroller 2GSM
Module.
This secondary design uses the third scheme, and chooses SIM800 module, and SIM800 module is a to possess superior performance
And the gsm module of ratio technical grade at low cost, before SIM800 module initialization, need first to power on to module, due to SIM800
For module when starting registration, current peak can reach 2A-4V, and the voltage of this module is 12V-1A.After energization, 2 seconds keys of long-pressing
With starting, module starts to act on and be switched on.After gsm module starts effect, indicator light in module is at the beginning fast speed flash
Dynamic, after phonecard connection is read successfully, indicator light, which is converted to two seconds, to be dodged once.If not becoming long lasting for quickly flashing
Change, needs long-pressing start button that module is made to shut down at this time, while checking antenna, SIM card piece energy is also checked in the position of SIM card piece
No normal work, proving that SIM card succeeds in registration when indicator light becomes slowly flashing can work normally.Logical with single-chip microcontroller 2
Before news, SIM800 module and computer interconnection are carried out by communication debugging by serial ports.
Since SIM-800 module can not identify Chinese, so the content by telephone number and transmission is needed to require to pass through
UNICODE is converted.
In AccessPort, first first will set sending information information for module, be instructed using AT+CMGF, and then
Parameter is adjusted to properly, due to being transmitting Chinese information, so being coding mode when needing to be arranged character set, by above
After preparation process, it just can be carried out the formal program for sending short message, first send the cell-phone number for needing to receive information, then edit required
Content cannot contain space in identified program.The short message content that this needs of example are sent is " your household " Zhang San "
Doubtful drunk driving -- far from drunk driving, arrive home safe and sound." so generated after UNICODE is converted, after successfully debugging, generate
“60A87684 5BB6 4EBA 0022 5F20 4E09 0022 7591 4F3C 9152 9A7E 002D 002D
9152 9A7E FF0C 5E73 5B89 56DE 5,BB6 3002 " of 8FDC79BB is carried default after all deleting in space
Family members' mobile device 4 of family members' number can receive corresponding Chinese short message, if detecting, alcohol concentration is higher than preset value, single
Piece machine 2 sends signal to SIM-800 module, and SIM-800 module is after to send short message.
Anti- control system of driving when intoxicated in some embodiments, single-chip microcontroller 2 further include: storage unit, for storing monolithic
The received alcohol concentration of machine 2.
Anti- control system of driving when intoxicated provided by the present application is completely illustrated below based on above-described embodiment.
When 2 power supply of single-chip microcontroller is automatically reconnected or resets, single-chip microcontroller 2 is gradually run from main program starting end, and then
All data for initializing storage unit, remove all data from storage unit, and the space being emptied is used to need after depositing
The data to be stored reconnect after reset or open circuit each time, can all delete all data in storage unit and restart.
If driver gets on the bus, single-chip microcontroller 2, which starts, simultaneously to be initialized, and alcohol sensor 1 is detected with the presence of alcohol, and by wine
Smart concentration of analog signal is converted to digital signal via gradually comparison A/D converter and is sent to single-chip microcontroller 2, which can lead to
Cross amplifier enhancing signal strength.Single-chip microcontroller 2 when judging that alcohol concentration is higher than preset value, alarm, right by control alarm 3
Driver prompts;Short message prompt is also sent to preset family members' mobile device 4 by SIM-800 module, makes driver house
Belong to the drunk driving situation for recognizing driver and prevents in time.
Since alcohol sensor 1 is real-time detection, avoids driver and do not drink when getting on the bus, but drink and escape after driving
The case where keeping away detection;Single-chip microcontroller 2 includes the reset circuit 5 for resetting 2 working condition of single-chip microcontroller, and reset circuit 5 passes through reset
Key starting, reset key are arranged at car door, and reset key can be touched in car door opening/closure, and reset key starting is multiple
Position circuit 5 resets 2 working condition of single-chip microcontroller, when driver substitutes midway, close door is needed, to reset single-chip microcontroller 2
Working condition, if being changed to the driver for drinking wine by the driver not drunk, single-chip microcontroller 2 rejudges alcohol concentration and is higher than
When preset value, control alarm 3 is alarmed, and sends short message prompt to preset family members' mobile device 4 by communication module;If
Driver by drinking wine is changed to the driver not drunk, when single-chip microcontroller 2 rejudges alcohol concentration not higher than preset value, then
Control 3 stop alarm of alarm.
Single-chip microcontroller 2 is also connected with display screen, sends display screen for alcohol concentration and shows, display screen can allow driver
See alcohol concentration in expiration, driver is alerted.
Single-chip microcontroller 2 is also connected with vehicle ECU, when alcohol concentration is higher than preset value, sends misfire signals, vehicle to vehicle ECU
The engine stop operating of ECU control vehicle, completion stop working to vehicle.
In the single-chip microcontroller 2 of above-described embodiment, with keil compiler editing procedure, wherein containing linearization process number
Signal is converted to the subprograms such as corresponding concentration numerical value, real-time display alcohol concentration module, alert program and GSM.
Anti- control system of driving when intoxicated in some embodiments, alcohol concentration preset value are 2.0mg.
It is understood that same or similar part can mutually refer in the various embodiments described above, in some embodiments
Unspecified content may refer to the same or similar content in other embodiments.
It should be noted that term " first ", " second " etc. are used for description purposes only in the description of the present application, without
It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present application, unless otherwise indicated, the meaning of " multiple "
Refer at least two.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example
Property, it should not be understood as the limitation to the application, those skilled in the art within the scope of application can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (10)
1. the anti-control system of driving when intoxicated of one kind characterized by comprising alcohol sensor is used for real-time detection driver institute
Alcohol concentration in exhaled gas, and single-chip microcontroller is sent by the alcohol concentration;
The single-chip microcontroller, for receiving the alcohol concentration, and when the alcohol concentration is higher than preset value, control alarm into
Row alarm;Short message prompt is sent to preset family members' mobile device by communication module;
The single-chip microcontroller includes: reset circuit, for resetting the working condition of single-chip microcontroller;
The reset circuit, is connected with the reset key being arranged at car door, the reset key be used for the car door opening/
Start the reset circuit when closure.
2. anti-control system of driving when intoxicated according to claim 1, which is characterized in that the single-chip microcontroller further include: timing
Device;
The single-chip microcontroller is also used to receive the alcohol concentration when reaching the setting time of the timer every time.
3. anti-control system of driving when intoxicated according to claim 1, which is characterized in that further include: display screen;
The single-chip microcontroller, is also used to send the display screen for the alcohol concentration and shows.
4. anti-control system of driving when intoxicated according to claim 1, which is characterized in that the alcohol sensor passes through A/D
Converter is connect with the single-chip microcontroller.
5. anti-control system of driving when intoxicated according to claim 4, which is characterized in that the A/D converter is gradually to compare
Compared with type A/D converter.
6. anti-control system of driving when intoxicated according to claim 4, which is characterized in that the alcohol sensor passes through amplification
Device is connect with the A/D converter;
The amplifier, for amplifying the signal strength of the alcohol sensor transmission.
7. anti-control system of driving when intoxicated according to claim 1, which is characterized in that the single-chip microcontroller is also connected with vehicle
ECU;
The single-chip microcontroller is also used to, and when the alcohol concentration is higher than preset value, sends misfire signals, institute to the vehicle ECU
Vehicle ECU is stated to stop working to vehicle.
8. anti-control system of driving when intoxicated according to claim 1, which is characterized in that the communication module is gsm module.
9. anti-control system of driving when intoxicated according to claim 8, which is characterized in that the gsm module is SIM-800 core
Piece;
The SIM-800 chip, for when the alcohol concentration is higher than preset value, preset UNICODE code to be converted to the Chinese
Word is sent to preset family members' mobile device.
10. anti-control system of driving when intoxicated according to claim 1, which is characterized in that the single-chip microcontroller further include: storage
Unit, for storing the received alcohol concentration of the single-chip microcontroller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811284298.8A CN109177981A (en) | 2018-10-31 | 2018-10-31 | The anti-control system of driving when intoxicated of one kind |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811284298.8A CN109177981A (en) | 2018-10-31 | 2018-10-31 | The anti-control system of driving when intoxicated of one kind |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109177981A true CN109177981A (en) | 2019-01-11 |
Family
ID=64940905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811284298.8A Pending CN109177981A (en) | 2018-10-31 | 2018-10-31 | The anti-control system of driving when intoxicated of one kind |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109177981A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114590123A (en) * | 2021-03-22 | 2022-06-07 | 四川贤智达电子科技有限公司 | Control system for preventing drunk driving |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5907407A (en) * | 1998-08-10 | 1999-05-25 | Innovative Lasers Corporation | ILS sensors for alcohol detection within vehicles |
US20060237254A1 (en) * | 2005-04-25 | 2006-10-26 | Mobley Larry J | Vehicle ignition interlock systems with multiple alcohol sensors |
CN202562876U (en) * | 2012-05-28 | 2012-11-28 | 杭州电子科技大学 | Real-time display type alcohol detector |
CN203713574U (en) * | 2013-11-19 | 2014-07-16 | 浙江吉利汽车研究院有限公司 | Control device preventing drunk driving |
CN104908588A (en) * | 2015-05-20 | 2015-09-16 | 北京科技大学 | Method and system for preventing drunk driving |
CN205220380U (en) * | 2015-12-17 | 2016-05-11 | 长安大学 | On -vehiclely prevent wine system of driving based on formula alcohol detection is surveyed in breath |
-
2018
- 2018-10-31 CN CN201811284298.8A patent/CN109177981A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5907407A (en) * | 1998-08-10 | 1999-05-25 | Innovative Lasers Corporation | ILS sensors for alcohol detection within vehicles |
US20060237254A1 (en) * | 2005-04-25 | 2006-10-26 | Mobley Larry J | Vehicle ignition interlock systems with multiple alcohol sensors |
CN202562876U (en) * | 2012-05-28 | 2012-11-28 | 杭州电子科技大学 | Real-time display type alcohol detector |
CN203713574U (en) * | 2013-11-19 | 2014-07-16 | 浙江吉利汽车研究院有限公司 | Control device preventing drunk driving |
CN104908588A (en) * | 2015-05-20 | 2015-09-16 | 北京科技大学 | Method and system for preventing drunk driving |
CN205220380U (en) * | 2015-12-17 | 2016-05-11 | 长安大学 | On -vehiclely prevent wine system of driving based on formula alcohol detection is surveyed in breath |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114590123A (en) * | 2021-03-22 | 2022-06-07 | 四川贤智达电子科技有限公司 | Control system for preventing drunk driving |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101530319B (en) | Mobile communication terminal with physiological parameter detecting function | |
CN103546877A (en) | Method and system for obtaining and inputting content code and mobile terminal | |
Moodbidri et al. | Child safety wearable device | |
CN109075820A (en) | A kind of Bluetooth pairing methods and terminal device | |
CN107726931B (en) | Parameter-bindable full-electronic fuze tester and control method thereof | |
CN105045386A (en) | Sleeping state monitoring method, sleeping state monitoring terminal and air conditioner system | |
CN106228796A (en) | The learning method of infrared remote control and device | |
CN201867411U (en) | Alcohol tester matched with mobile communication terminal | |
CN109177981A (en) | The anti-control system of driving when intoxicated of one kind | |
CN106791036A (en) | A kind of information processing method, device and mobile terminal | |
CN205680114U (en) | A kind of child's electronic breast card | |
CN103716433A (en) | Infrared page-turning method for mobile phone and system thereof | |
CN100458769C (en) | Post checking device by fingerprint | |
CN106941566A (en) | Alarm clock setting method and device of mobile terminal | |
Shunxia et al. | Design of wireless intelligent home alarm system | |
CN104732708B (en) | A kind of power station warning system and method | |
Varandas et al. | mTracker: a mobile tracking application for pervasive environment | |
CN102110209A (en) | Safety information logining device, method and keyboard | |
CN115016334B (en) | Method for starting zero-resetting calibration and household equipment | |
CN106502599A (en) | The collocation method of printer, device and printer | |
KR100613520B1 (en) | Mobile communication terminal with profanity conversion function and its operation method | |
CN109996203A (en) | Method, apparatus, electronic equipment and the computer readable storage medium of sensors configured | |
CN210667089U (en) | Smoke alarm | |
WO2020082586A1 (en) | Method for displaying lock screen information of smart terminal, and smart terminal | |
CN108204999A (en) | Alcohol mental disorders short message alarm system based on AT89S52 microcontrollers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190111 |
|
RJ01 | Rejection of invention patent application after publication |