CN101596864A - Device is driven in a kind of control after drinking - Google Patents

Device is driven in a kind of control after drinking Download PDF

Info

Publication number
CN101596864A
CN101596864A CNA2009101575039A CN200910157503A CN101596864A CN 101596864 A CN101596864 A CN 101596864A CN A2009101575039 A CNA2009101575039 A CN A2009101575039A CN 200910157503 A CN200910157503 A CN 200910157503A CN 101596864 A CN101596864 A CN 101596864A
Authority
CN
China
Prior art keywords
pin
module
micro controller
controller system
control
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.)
Granted
Application number
CNA2009101575039A
Other languages
Chinese (zh)
Other versions
CN101596864B (en
Inventor
徐婷
刘传波
郭建华
王珍美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN200910157503A priority Critical patent/CN101596864B/en
Publication of CN101596864A publication Critical patent/CN101596864A/en
Application granted granted Critical
Publication of CN101596864B publication Critical patent/CN101596864B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

Device is driven in a kind of control after drinking, relate to the alarm control field of driving when intoxicated, comprise the hand-held wireless transmission partial sum wireless receiving control part that detects, hand-held detect wireless transmission partly comprise be arranged on enclosure by rechargeable battery powered circuit card, the top of shell left and right sides face is respectively equipped with induction opening, air gate, the front is provided with liquid crystal display, button, the bottom surface is provided with charging socket, circuit card is connected with liquid crystal display, button, the microgenerator of band flabellum, alcohol sensor, and microgenerator, the alcohol sensor of band flabellum all are located at enclosure; The wireless receiving control part is by the original relay of start-up circuit in the car engine control module control car.The present invention can discern alcohol concentration, and whether the compulsory test alcohol concentration exceeds safety rate, stops drinking drive behavior, and can send alerting signal, and can test alcohol concentration and show with liquid crystal display, according to different alcohol concentrations, the corresponding information of liquid crystal display prompting user.

Description

Device is driven in a kind of control after drinking
Technical field
The alarm control field that the present invention relates to drive when intoxicated, device is driven in a kind of specifically control after drinking.
Background technology
When cause is driven when intoxicated and the accident that causes frequently takes place, because whether existing power actuated vehicle can't be tested the personnel of driving and drive when intoxicated, and self-propelled vehicle carried out automatic guidance, therefore self-propelled vehicle still has no idea the actv. intervention is carried out in the behavior of driving when intoxicated, and causes very big misery and property damage will for society and household in case lead to a disaster.
Summary of the invention
At the defective that exists in the prior art, the object of the present invention is to provide a kind of control after drinking to drive device, can discern alcohol concentration, whether the compulsory test alcohol concentration exceeds safety rate, stop drinking drive behavior, and can send alerting signal, and can test alcohol concentration and show with liquid crystal display, according to different alcohol concentrations, the corresponding information of liquid crystal display prompting user.
For reaching above purpose, the technical scheme that the present invention takes is:
Device is driven in a kind of control after drinking, the hand-held detection wireless transmission partial sum wireless receiving control part that comprises wireless telecommunications, it is characterized in that: said hand-held detection wireless transmission partly comprises the shell 4 of rectangle and is arranged on the circuit card 10 of shell 4 in-to-ins by rechargeable battery 6 power supplies, the top of shell 4 left and right sides faces is respectively equipped with induction opening 1, air gate 11, shell 4 fronts are provided with liquid crystal display 2, button 3, shell 4 bottom surfaces are provided with charging socket 5, shell 4 back sides are provided with battery case lid 7, circuit card 10 is by data line and liquid crystal display 2, button 3, the microgenerator 8 of band flabellum, alcohol sensor 9 connects, the microgenerator 8 of band flabellum, alcohol sensor 9 all is located at shell 4 inside and places the left side of induction opening 1 successively; Said wireless receiving control part is by the original relay of start-up circuit in the car engine control module control car, and by wireless signal receive hand-held detect the wireless transmission part forbid driving instruction or driving instruction.
On the basis of technique scheme, be located at the hand-held circuit card 10 that detects in the wireless transmission part and comprise micro controller system, the AD module, multichannel is selected module, coding chip and wireless transmitter module, rechargeable battery 6 is a micro controller system, the AD module, multichannel is selected module, the alcohol sensor power supply, micro controller system is by data line and AD module, multichannel is selected module, liquid crystal display 2, coding chip, button 3 direct connections, coding chip is by data line and wireless transmitter module direct connection, and multichannel selects module by data line and AD module, alcohol sensor 9, microgenerator 8 direct connections of band flabellum.
On the basis of technique scheme, said car engine control module is by data line and the micro controller system direct connection that is located in the wireless receiving control part, micro controller system in the wireless receiving control part with the electric power supply system in the car as power-supply system, and by data line and buzzing alarm module, decoder direct connection, decoder is by data line and wireless receiving module direct connection.
Device is driven in control after drinking of the present invention, can discern alcohol concentration, whether the compulsory test alcohol concentration exceeds safety rate, stop drinking drive behavior, and can send alerting signal, and can test alcohol concentration and show with liquid crystal display, according to different alcohol concentrations, the corresponding information of liquid crystal display prompting user.
Description of drawings
The present invention has following accompanying drawing:
The circuit structure block diagram of Fig. 1 wireless receiving control part
The hand-held circuit structure block diagram that detects the wireless transmission part of Fig. 2
The hand-held plan structure figure that detects the wireless transmission part of Fig. 3
The hand-held side-looking constructional drawing that detects the wireless transmission part of Fig. 4
Fig. 5 master control program diagram of circuit
Fig. 6 interrupt routine diagram of circuit
Fig. 7 measurement and control program diagram of circuit
The program control diagram of circuit of Fig. 8 wireless receiving
The hand-held schematic circuit diagram that detect the wireless transmission part of Fig. 9
The schematic circuit diagram of Figure 10 wireless receiving control part
The specific embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
As Fig. 3, shown in 4, device is driven in control after drinking of the present invention, the hand-held detection wireless transmission partial sum wireless receiving control part that comprises wireless telecommunications, said hand-held detection wireless transmission partly comprises the shell 4 of rectangle and is arranged on the circuit card 10 of shell 4 in-to-ins by rechargeable battery 6 power supplies, the top of shell 4 left and right sides faces is respectively equipped with induction opening 1, air gate 11, shell 4 fronts are provided with liquid crystal display 2, button 3, shell 4 bottom surfaces are provided with charging socket 5, shell 4 back sides are provided with battery case lid 7, circuit card 10 is by data line and liquid crystal display 2, button 3, the microgenerator 8 of band flabellum, alcohol sensor 9 connects, the microgenerator 8 of band flabellum, alcohol sensor 9 all is located at shell 4 inside and places the left side of induction opening 1 successively; Said wireless receiving control part is by the original relay of start-up circuit in the car engine control module control car, and by wireless signal receive hand-held detect the wireless transmission part forbid driving instruction or driving instruction.Said wireless signal is a rf wireless signal.
On the basis of technique scheme, as shown in Figure 2, be located at the hand-held circuit card 10 that detects in the wireless transmission part and comprise micro controller system, the AD module, multichannel is selected module, coding chip and wireless transmitter module, rechargeable battery 6 is a micro controller system, the AD module, multichannel is selected module, the alcohol sensor power supply, micro controller system is by data line and AD module, multichannel is selected module, liquid crystal display 2, coding chip, button 3 direct connections, coding chip is by data line and wireless transmitter module direct connection, and multichannel selects module by data line and AD module, alcohol sensor 9, microgenerator 8 direct connections of band flabellum.The hand-held wireless transmission part that detects mainly comprises power subsystem unit, alcohol detection unit and wireless transmitting unit, and wherein alcohol detection unit and wireless transmitting unit can design or directly adopt existing techniques in realizing on the basis of existing technology.
On the basis of technique scheme, as shown in Figure 1, said car engine control module is by data line and the micro controller system direct connection that is located in the wireless receiving control part, micro controller system in the wireless receiving control part with the electric power supply system in the car as power-supply system, and by data line and buzzing alarm module, decoder direct connection, decoder is by data line and wireless receiving module direct connection.
Below provide a kind of specific embodiments:
The schematic circuit diagram of hand-held detection wireless transmission part shown in Figure 9, be a hand-held specific embodiment that detects the wireless transmission part, wherein: alcohol sensor S1 model is SC-3C, microgenerator M1 model is sepaDC5V, micro controller system U1 model is STC10F08XE, AD conversion chip U2 model is ADC0804, multi-channel switch U3 model is CD4066, step-down chip U4 model is AX3502, and the chip U5 model of boosting is AX5110, and Liquid Crystal Module U6 model is 6432 dot lcd screen, coding chip U8 model is PT2262, charging module U9 model is MAX1811, and wireless transmitter module U10 model is the emitting head of 315MHz, and voltage stabilizing chip U7 model is MC7805, crystal oscillator X1 model is 11.0592MHz, button K is the spring button, and resistance row RP model is 10K Ω, aerotron Q1, Q2, Q4, the Q5 model is 8050.Resistance R 101, R103, R104, R201~R203, R301~R302, R401~R402, R501~R506, R601~R608, R701, R801~R804 are the 1/8W resistance of 0805 paster encapsulation.Diode D601, D602 are 1N4148.The model of inductance L 401 is the inductance of 2.2UH, and inductance L 501 is the inductance of 10UH, and R102 is 3296 type 10K potential devices, and capacitor C 701, C704, C705, C401, C404, C501, C504, C301 are polar capacitor; Other electric capacity is nonpolarity leaded multilayer ceramic capacitor.
In the schematic circuit diagram shown in Figure 9, the annexation of each components and parts is summarized as follows:
1, S1 is an alcohol concentration sensor, and 3 pins are arranged, and wherein 1 pin connects the 1.2V positive source, and 3 pin connect lithium ion battery ground, the end of 2 pin connecting resistance R101, and be connected to 1 pin of multidiameter option switch U3.
2, the end of resistance R 101 another termination adjustable resistance R102, another termination 5V power supply of R102.
3, M1 is the direct current microgenerator, and two pins are arranged, the pin ground connection (GND) of lower end, 4 pin of last termination multidiameter option switch U3.
4,2 pin of multidiameter option switch U3,3 pin, 9 pin link together, and are connected to the upper end of R103, and the lower end of R103 is connected to 6 pin of A/D chip U2; 5 pin of U3 connect 20 pin of micro controller system U1, and 6 pin of U3 connect 5 pin of micro controller system U1; 7 pin ground connection (GND); 8 pin connect the collecting electrode of aerotron Q1, the emitter power connection (LIVCC) of Q1, and the end of base stage connecting resistance R104, the other end of R104 connect 18 pin of micro controller system U1; 13 pin connect 19 pin of micro controller system U1; 14 pin connect 5V power supply (T5V), and connect an end of capacitor C 301, the other end ground connection of C301.
5, the emitter bonded assembly power supply (LIVCC) of aerotron Q1 is the positive pole of lithium ion battery.
6,1 pin of AD module U2 is connected with 11 pin of micro controller system U1; 2 pin are connected with 13 pin of micro controller system U1; 3 pin are connected with 12 pin of micro controller system; 4 pin are connected with the right-hand member of capacitor C 201, the left end ground connection (GND) of C201, and 4 pin also are connected with the left end of resistance R 203, and R203 is connected with 19 pin of AD module U2; 5 pin are connected with 9 pin of micro controller system U1; 6 pin are connected with the lower end of R103; 7 pin, 8 pin ground connection; 9 pin are connected with the end of resistance R 201, R202 respectively, another termination 5V of R201, the other end ground connection of R202; 10 pin ground connection (GND); 11 pin to 18 pin are connected with 40 pin, 41 pin, 42 pin, 43 pin, 44 pin, 1 pin, 2 pin, 3 pin of micro controller system respectively; 20 pin are connected (T5V) with the 5V power supply, and connect an end of capacitor C 202, the other end ground connection of C202.
7, Liquid Crystal Module U6,1 pin ground connection (GND); 2 pin, 3 pin, 15 pin be connected with the 5V power supply respectively (T5V); 4 pin are connected with 23 pin of micro controller system U1; 5 pin are connected with 25 pin of micro controller system U1; 6 pin are connected with 24 pin of micro controller system U1; 7 pin to 14 pin are connected with 37 pin to 30 pin of micro controller system U1 respectively; 16 pin ground connection (GND).
8,4 pin of micro controller system U1 are connected with the negative pole of capacitor C 301 and an end of resistance R 301 respectively; The positive pole of C301 connects 5V power supply (5V); R301 other end ground connection (LIGND); 5 pin are connected with the 3rd pin of programming socket JP1 and 6 pin of multidiameter option switch U3 respectively; 7 pin are connected with 2 pin of programming socket JP1; 8 pin are connected with the end of button K1 and an end of resistance R 302; Another termination 5V (5V) of resistance R 302; 10 pin are connected with an end of resistance R 801; The other end of R801 is connected with the end of R802 and the base stage of aerotron Q4 respectively; The emitter of Q4 is connected with the other end of R802 and connects 5V power supply (T5V), and the collecting electrode of Q4 is connected with the end of R606; 14 pin of micro controller system U1 are connected with the end of crystal oscillator X1 and an end of capacitor C 302 respectively, the other end ground connection (LIGND) of C302; 15 pin of micro controller system are connected with the other end of crystal oscillator X1 and an end of capacitor C 303 respectively; The other end ground connection (LIGND) of C303; The 16 pin ground connection (LIGND) of micro controller system U1; The end of 18 pin connecting resistance R505, the base stage of another termination aerotron Q2 of R505, the emitter of Q2 is connected with the negative pole of D501, and collecting electrode connects 5V power supply (T5V); 19 pin of micro controller system are connected with 13 pin of multidiameter option switch U3; 20 pin are connected with 5 pin of multidiameter option switch; 22 pin of micro controller system U1 are connected with an end of resistance R 803, and the other end of R803 is connected with the base stage of aerotron Q5 and an end of resistance R 804 respectively, another termination 5V power supply (T5V) of R804; The emitter of Q5 connects 5V power supply (T5V), the end of collecting electrode connecting resistance R607; 26 pin of micro controller system are connected with 1 pin of DCDC step-down module U4; 38 pin of micro controller system meet 5V (5V) and are connected the other end ground connection (LIGND) of C304 with an end of capacitor C 304.
9, the input end of DCDC step-down module U4, upper end LIVCC connects the positive pole of lithium ion battery, and lower end LIGND connects the ground of lithium ion battery.4 pin of step-down module U4 are connected with the positive pole of upper end LIVCC, capacitor C 401, the end of C402 respectively; The other end ground connection (LIGND) of the negative pole of capacitor C 401, C402; 2 pin ground connection (LIGND); 3 pin are connected with an end of inductance L 401, and the L401 other end is connected with an end of resistance R 401, capacitor C 403, capacitor C 404 respectively, and the other end of L401 also is connected with the positive pole of capacitor C 405 and connects the 1.2V positive source; The other end ground connection of the negative pole of capacitor C 405 and capacitor C 404, the other end of capacitor C 403 are connected with an end of resistance R 402, the other end of R401 and 5 pin of U4 respectively; The other end ground connection (LIGND) of R402.
10, the input end of boost module, upper end LIVCC connects the positive pole of lithium ion battery, and lower end LIGND connects the ground of lithium ion battery.5 pin of boost module U5 are connected with the positive pole of inductance L 501 1 ends, resistance R 501 1 ends, capacitor C 501 and the end of C502 respectively, and be connected with the positive pole of lithium ion battery, 4 pin of another termination boost module of R501 U5, the negative pole of another termination lithium ion battery of the negative pole of C501, capacitor C 502; 1 pin of boost module U5 is connected with the other end of L501, the positive pole of D501 respectively; 2 pin ground connection; 3 pin are connected with an end of resistance R 503, R504, capacitor C 503 respectively, and the other end of resistance R 503 is connected with the emitter of the positive pole of the other end of the negative pole of diode D501, C503, C504 and aerotron Q2 respectively and connects the 5V positive source; The negative pole of resistance R 504 other ends, C504 is connected with the negative pole of lithium ion battery.
11, charging module J701 is an external socket, and connection lead connects the power supply and the ground of external adapter respectively.1 pin of one termination voltage stabilizing chip U7 of the positive pole of capacitor C 701 and capacitor C 702 and 2 pin of J701, the other end ground connection (LIGND) of the negative pole of C701 and capacitor C 702 and 1 pin of J701, the 2 pin ground connection (LIGND) of U7; 3 pin of U7 connect an end of capacitor C 703 and the positive pole of C704, the negative earth (LIGND) of the other end of capacitor C 703 and capacitor C 704; 1 pin of U9,4 pin, 7 pin connect 3 pin of U7; The end of 2 pin connecting resistance R701 and be connected to 3 pin of U7, the other end ground connection (LIGND) of resistance R 701; 8 pin connect 27 pin of micro controller system; 3 pin of U9,6 pin ground connection (LIGND); 5 pin connect the positive pole of capacitor C 705, and are connected to the positive pole (LIVCC) of lithium ion battery BT; The negative earth of capacitor C 705, and be connected to the negative pole of lithium ion battery BT.
12, the wireless-modulated transmission circuit is also referred to as encode circuit.Connecting resistance R601 between the 9 pin ground connection of coding chip U8,15 pin, 16 pin; 14 pin ground connection (GND); 12 pin pass through resistance R 602 ground connection (GND) by resistance R 603 ground connection (GND), 13 pin; 18 pin are connected with 1 pin of diode D601 negative pole, D602 negative pole, emitting head U10 respectively; 17 pin are connected with 2 pin of emitting head by resistance R 608; The 3 pin ground connection of emitting head U10, antenna is penetrated in 4 pin sending and receiving.11 pin of U8 are connected with the end of resistance R 606, R604 respectively, the other end ground connection of R604, and the other end of R606 is connected with the positive pole of D601 and the collecting electrode of Q4 respectively.10 pin of U8 are connected with the end of R605, R607 respectively, the other end ground connection of R605, and the other end of R607 is connected with the positive pole of D602 and the collecting electrode of Q5 respectively.
The schematic circuit diagram of wireless receiving control part shown in Figure 10, be the specific embodiment of a wireless receiving control part, wherein: wireless receiving demodulator circuit U1 is that 315MHz receives head, decoding circuit U2 model is PT2272-M4, micro controller system U3 model is STC11F02E, the model of crystal oscillator Y1 is 11.0592MHz, the model of power supply stabilizing circuit U4 is MC7805, the model of relay K 1 is NCF4-ZC-Z30a-DC12V, the model of buzzer phone BELL is the passive buzzer phone of DC12V, wire fuse BX is the 5A wire fuse, DW is the 1/8W5V stabilivolt, and D1 is 1N4007, and D2 is 6A10, capacitor C 1, C3, C7 is a polar capacitor, capacitor C 2, C4, C5, C6 is nonpolarity leaded multilayer ceramic capacitor.
In the schematic circuit diagram shown in Figure 10, the annexation of each components and parts is summarized as follows:
1, the positive pole of self-propelled vehicle storage battery is connected with the end of wire fuse BX, the other end of wire fuse BX is connected with the negative pole of diode D2, the positive pole of capacitor C 1, an end of capacitor C 2 and 1 pin of power supply stabilizing circuit U4 respectively, the other end of the negative pole of the positive pole of diode D2, capacitor C 1, capacitor C 2 is connected with the negative pole of self-propelled vehicle storage battery respectively and ground connection (GND), the 2 pin ground connection of power supply stabilizing circuit U4; The 3rd pin of power supply stabilizing circuit U4 is connected with an end of the positive pole of C3, capacitor C 4 respectively and connects the 5V positive source; The other end ground connection of the negative pole of C3, C4.
2,14 pin of 1 pin ground connection (GND), 4 pin and the decoding circuit U2 of wireless receiving demodulator circuit U1 are connected, 3 pin are connected with the 5V power supply, the 9th pin ground connection of U2,18 pin are connected with 5V, be connected to resistance R 1 between 15 pin, 16 pin, be connected to resistance R 2 between 11 pin of decoding circuit U2 and 8 pin of micro controller system U3, be connected to resistance R 3 between 10 pin of U2 and 9 pin of micro controller system U3.
3,1 pin of micro controller system U3 is connected with an end of resistance R 12, the negative pole of capacitor C 7, the other end ground connection of resistance R 12, and the positive pole of capacitor C 7 connects the 5V power supply, and 20 pin connect the 5V power supply; 4 pin, 5 pin connect the two ends of crystal oscillator Y1 respectively, and the Y1 two ends are respectively through C5, C6 ground connection; 19 pin of micro controller system U3 are connected by the base stage of resistance R 4 with aerotron Q1; 18 pin are connected by the base stage of resistance R 5 with aerotron Q2; 17 pin are connected with an end of resistance R 6, and resistance R 6 other ends are connected the other end ground connection of the positive pole of DW, R11 with the end of the negative pole of DW, resistance R 10, R11 respectively; The other end of R10 is connected with the collecting electrode of Q2, negative pole and the lead-out terminal yellow line of D1 respectively, and the emitter of Q2, the positive pole of D1 be ground connection respectively; 16 pin are connected with an end of resistance R 7, and the other end of R7 is connected with the end of resistance R 8, R9 respectively, the other end ground connection of R9, and the other end of R8 is connected with the connection terminal green line; The emitter of aerotron Q1 connects the 5V power supply, and collecting electrode connects the positive pole of buzzer phone BELL, the negative earth of buzzer phone BELL; The 10 pin ground connection of micro controller system U3.
Hand-held working process and the principle that detects the wireless transmission part is summarized as follows:
One, packed battery makes single-chip minimum system work
Use handheld test wireless transmission part at first will install battery earlier, install battery after, single-chip minimum system powers on for the first time and starts working.Single-chip minimum system is made up of these parts, U1 micro controller system, X1 crystal oscillator, capacitor C 302, C303, polar capacitor C301, resistance R 301, and these 6 devices have been formed single-chip minimum system.Crystal oscillator X1 and capacitor C 302, C303 provide external clock for micro controller system, resistance R 301 and capacitor C 301 constitute reset circuit, be added to the 38th pin of micro controller system U1 when the power supply of 5V, after the ground of 5V power supply is connected to the 21st pin of micro controller system U1, single-chip minimum system just begins normal operation, and begins to carry out the in-to-in program.
Two, carry out main program
Carry out initialize routine, the main program that can be seen native system by main program flow chart shown in Figure 5 comprises: open external interrupt 0 (finishing by the specified register of setting micro controller system in-to-in external interrupt 0), shutoff other power supply except that single-chip minimum system, add the power supply of 1.2V to alcohol sensor, powered 5 minutes.Below all be the content in the initialize routine, these contents all can be carried out once when each micro controller system powers on.Concrete implementation status is as follows:
1, opens external interrupt 0.Finish initialization setting to external interrupt 0 by specified register in the micro controller system is set, purpose is to open this interruption, carries out corresponding function prepare in interrupt service routine for follow-up.
2, shutoff other power supplys except that single-chip minimum system.Program makes the 18 pin output high level of micro controller system U1, and aerotron Q2 is ended, and the 5V power supply can not be added on other module except that single-chip minimum system.
3, the power supply that adds 1.2V to alcohol sensor, powered 5 minutes, 26 pin of programming control micro controller system U1 are high level, 1 pin of just controlling DCDC step-down module U4 is a high level, the power supply of 1.2V will supply to 1 pin of alcohol sensor like this,, sensor powers up that (R101 and R102's is the load of alcohol sensor for carrying out preheating, be used for regulating the sensitivity of alcohol sensor S1), this process continues 5 minutes, and (this is a basic delay procedure, for a long time time spent not, need 5 minutes time of preheating just can reach optimum Working), then close the power supply of 1.2V, being program is set to low level with 26 pin of micro controller system, and the DCDC power supply of 1.2V quits work.
After finishing above initialization procedure, program enters major cycle, system's sleep, if no external interruption, system will be in sleep state always, and the consumption of current of this moment is extremely low.
Three, interrupt service routine
User's Push switch K, a because end ground connection of K switch, the other end connects the 8th pin of micro controller system, after K switch is pressed, the 8th pin of micro controller system becomes low level from high level, this moment this interrupt signal of monolithic opportunity response, system is waken up and enters interrupt routine from sleep, as shown in Figure 6, at first interrupt the initialization function, that is: the 5V power supply enters system, liquid crystal display initialization, the initialization of multichannel handover module, liquid crystal display shows " please after a while ", power up 1.2V to alcohol sensor simultaneously, delay time after 10 seconds, switch display interface and be test alcohol concentration interface.Through this several steps, the initialization of interrupt service routine has just been finished, and concrete control situation is as follows:
1, the 5V power supply enters system: this is the first step that interrupt function is carried out, because the control of system power supply T5V is finished by aerotron Q2, therefore program makes 18 pin level step-downs of micro controller system, the base stage of the signal control Q2 of 18 pin, make the Q2 emitter to the collecting electrode conducting, the T5V power supply supplies to the voltage of 5V in the system.Finish the task of electric power starting.
2, the initialization of liquid crystal display: the drive program of implantation site configuration liquid crystal display, liquid crystal display is adjusted to state to be shown.This comprise elementary instruction action, cls, cursor moving direction, open demonstration, close cursor.
3, multichannel handover module initialization, to the unlatching of lithium ion battery TCH test channel, to alcohol sensor S1 and closing microgenerator M1: purpose is the electric weight of first test battery, and lithium ion battery is monitored.Concrete implementation is, program makes 5 pin (control of corresponding lithium ion battery TCH test channel) the output high level of micro controller system U1,19 pin (control of corresponding alcohol sensor) output low level, 20 pin (control of corresponding microgenerator) output low level, to be connected to 5 pin of micro controller system U1 be high level to 8 pin of multichannel handover module U3 (lithium ion battery control) like this, 19 pin that 13 pin of U3 (alcohol sensor control) are connected to micro controller system U1 are low level, and 20 pin that 5 pin of U3 (microgenerator control) are connected to micro controller system U1 are low level.The input of lithium ion battery at this moment is connected to 8 pin of multichannel handover module U3, and this signal can be by the complete output of 9 pin of U3.
4, liquid crystal display shows " please after a while ": carry out liquid crystal display show " " order please after a while, this is in order to point out the user, system starts, sensor is adding electric preheating.
5,1.2V powers up, and delays time 10 seconds: when carrying out this step, micro controller system is delayed time 10 seconds (in this delay time, LCDs shows " please after a while ", and alcohol sensor adds 1.2V simultaneously).1.2V the implementation method that powers up: 26 pin of micro controller system U1 are high level, and 1 pin of control DCDC step-down chip U4 makes its work, and like this, the power supply of 1.2V will be powered to alcohol sensor by 1 pin of alcohol sensor S1.
6, switch display interface and be test alcohol concentration interface, micro controller system refreshes the displaying contents of read-out by the control to LCD MODULE, and the demonstration of liquid crystal display becomes tests the interface of awaiting orders, and shows " 0.00mg/L ".
More than for interrupting the execution content of initialization function, after this section program is complete, liquid crystal display is ready, show that alcohol concentration is " 0.00mg/L ", this moment, the personnel that drive were with the microgenerator of flabellum to blow in induction opening, make flabellum drive microgenerator M1 twirl, carry out basic observing and controlling operation, carry out measurement and control program this moment.To wait until after measurement and control program finishes from " button is pressed " downward flow process among Fig. 6 and just carry out, its description is seen for details hereinafter.
Four, measurement and control program
Measurement and control program as shown in Figure 7, obtain the magnitude of voltage of lithium ion battery from AD, judge whether battery electric quantity is low, switch multichannel and select the passage of module, obtain the magnitude of voltage of microgenerator from AD, initialization warning function, judge whether electrical generator rotates, switch the passage that multichannel is selected module, obtain the magnitude of voltage of alcohol sensor from AD, this magnitude of voltage is converted into the alcohol concentration value, show this value by LCDs, judge whether concentration exceeds standard, program is loose and is transferred two parts to: 1, during concentration over-standard, driving instruction 2 is forbidden in execution, when concentration does not exceed standard, carry out the driving instruction.Measurement and control program is finished.Concrete implementation status is as follows:
1, obtain magnitude of voltage (lithium ion battery) from AD: owing to switched the passage of multichannel selection module U3 the interruption initialization is the passage of lithium ion battery, the positive pole of battery is added to 8 pin of multiple way switch U3 by aerotron Q1, after the output of 9 pin, be added to 6 pin of AD conversion U2 by resistance R 103, the digital quantity of the representative battery real-time voltage after the conversion is sent to micro controller system U1, demonstrate electric weight through being sent to Liquid Crystal Module U6 after the U1 processing, when if cell pressure drops to 3.5V, electric weight icon on the liquid crystal display begins flicker and makes electric weight icon inside become white, informs that the personnel of driving in time charge.During charging, the charging connection lead is inserted into respectively on interior 12V Cigarette lighter of car and the J701, the charging beginning, when micro controller system detects cell pressure and reaches 4.2V, can make in the battery electric quantity icon on the liquid crystal display to become black, inform that charging is full, 8 pin of U1 become 8 pin that low level is added to U9 from high level simultaneously, force the U9 charging to finish, inform that the personnel's charging of driving is full, please pull out the charging connection lead.
Wherein, R201 and R202 form the loop provides reference voltage for the AD module; R203 and C201 form the loop, for the AD module provides external clock.
2, the multichannel handover module switches, and promptly to the closing of lithium ion battery TCH test channel, to alcohol sensor S1 with to the unlatching of microgenerator M1: purpose makes microgenerator enter armed state.Concrete implementation is, program makes 5 pin (control of the corresponding lithium ion battery TCH test channel) output low level of micro controller system U1,19 pin (control of corresponding alcohol sensor) output low level, 20 pin (control of corresponding microgenerator) output high level, to be connected to 5 pin of micro controller system U1 be low level to 8 pin of multichannel handover module U3 (lithium ion battery control) like this, 19 pin that 13 pin of U3 (alcohol sensor control) are connected to micro controller system U1 are low level, and 20 pin that 5 pin of U3 (microgenerator control) are connected to micro controller system U1 are high level.The input of microgenerator at this moment is connected to 4 pin of multichannel handover module U3, and this signal can be by the complete output of 3 pin of U3.
3, obtain magnitude of voltage (microgenerator) from AD: more than, multiplexing module is switched to the passage of microgenerator, therefore when the user when gas hole is blown, microgenerator M1 rotates, produce voltage, 4 pin input by multiplexing module U3, the output of 3 pin, and process resistance R 103 enters 6 pin of AD conversion chip U2, the AD chip changes into digital signal with this analog signal, exports 40 of micro controller system U1 to from 11 pin to 18 pin of AD chip, 41,42,43,44,1,2,3 pin are after micro controller system U1 obtains this signal, learn that microgenerator rotates, will carry out follow-up initialization warning function order.
4, initialization warning function.The effect of this section order is that 10 pin and 22 pin of control single chip computer U1 are high level, and the transmitter module with regard to control loop can externally not send driving or forbid the driving instruction like this.About the instruction of how controlling driving or forbidding driving a vehicle, will explain in the concrete process of carrying out below.
5, switch multichannel and select module U3, purpose is to switch the alcohol sensor signal to test macro.Concrete implementation is: program makes 5 pin (control of the corresponding lithium ion battery TCH test channel) output low level of micro controller system U1,20 pin (microgenerator control) level is low, the level of 19 pin (alcohol sensor control) is high, 5 pin that 8 pin of multichannel handover module U3 (lithium ion battery control) are connected to micro controller system U1 are low level, the level of 13 pin (alcohol sensor control) is high, 5 pin (microgenerator control) level is low, and the output of alcohol concentration sensor is ready.Because test begins (microgenerator rotation), so 2 pin of alcohol concentration sensor have the output of a voltage, this voltage can be along with the variation of survey alcohol concentration linear change.The output voltage of 2 pin enters 1 pin of multidiameter option switch U3, because multidiameter option switch U3 is by Single-chip Controlling, switch to the alcohol sensor state, so, this magnitude of voltage can be exported from 2 pin, arrive 6 pin of AD module U2 through resistance R 103, AD module U2 changes into digital quantity to this analog quantity, export 40,41,42,43,44,1,2,3 pin of micro controller system U1 to from 11 pin to 18 pin, after micro controller system U1 obtains this signal, carry out corresponding algorithm process and obtain concentration value, this concentration value shows by the liquid crystal display module.
6, judge whether concentration value exceeds standard, the concentration value that obtains, the concentration of driving when intoxicated with national regulation in micro controller system compares, and judges whether concentration exceeds standard, and then carries out the diffusing commentaries on classics of program.
7, program is loose and is transferred two parts to: concentration over-standard, and carry out and forbid the driving instruction; Concentration does not exceed standard, and carries out the driving instruction.If the concentration of being surveyed is higher than national safety standard, system will be from the 22 pin output low levels of micro controller system U1, through the base stage of resistance R 803 to aerotron Q5, control this aerotron conducting, the collecting electrode of aerotron Q5 has a 5V power supply like this, this power supply is given chip power supply by 18 pin that isolation diode is added to coding chip, pass through 10 pin of resistance R 607 simultaneously to coded portion U8, behind the coding by this chip, go out by 17 human hair combing wastes, through 2 pin of resistance R 608,, launch by emitting antenna 4 by the modulation of this module to radiating portion BX1.This is one and forbids train signal.If the concentration of being surveyed is lower than national safety standard, system will be from the 10 pin output low levels of micro controller system U1, through the base stage of resistance R 801 to aerotron Q4, control this aerotron conducting, the collecting electrode of aerotron Q4 has a 5V power supply like this, this power supply is given chip power supply by 18 pin that isolation diode is added to coding chip, pass through 11 pin of resistance R 606 simultaneously to coded portion U8, behind the coding by this chip, go out by 17 human hair combing wastes, through 2 pin of resistance R 608,, launch by emitting antenna 4 by the modulation of this module to radiating portion BX1.This is a train signal.
So far, finished the testing process of a standard, circulation is carried out and is entered the epilogue that interruption is finished after 2 minutes, if the signal that has button to press during this then directly enters the epilogue that interruption is finished.Epilogue after interruption is finished, just shown in Fig. 6, shutdown system power supply and close multichannel and select all passages of module.Specifically the implementation status in circuit is as follows:
1, shutdown system power supply: because the control of power supply T5V finished by aerotron Q2, so program uprises 18 pin level of micro controller system, and the base stage of the signal control Q2 of 18 pin makes the Q2 emitter to collector cut-off, and the voltage of 5V is to the path disconnection of system.Finish the task of power-off.
2, close multichannel and select all passages of module.Be set to high level by 19 pin, 20 pin micro controller system U1, the control multichannel is selected 13 pin and 5 pin of module U3, reaches the purpose of cutting off microgenerator and alcohol sensor signal line.
So far, interrupt routine is finished, and returns principal function, the program of actuating system sleep, and total system enters low-power sleep state.
The working process and the principle of wireless receiving control part are summarized as follows:
As can be seen shown in Figure 8 by wireless receiving control part diagram of circuit, the content of carrying out wireless receiving control mainly is divided into following components:
The signal judgment of drinking, the judgement of train signal, the judgement of key twisting, and the judgement of ON line high level time.Having done at these judging points of task is the key of native system.
One, receives and forbid the instruction of driving a vehicle
When receiving this moment chaufeur represented after modulated by receiving wire, the wireless receiving demodulator circuit U1 of wireless receiving part drunk wine, when concentration surpasses the information of national safety standard, after the U1 demodulation, export the 14th pin that is added to decoding circuit U2 from the 2nd pin, after the U2 inner decoding, export a high level (U2 is the unlatching demoder of usefulness) from the 11st pin.This signal exports 8 pin of micro controller system U3 to through resistance R 2, after micro controller system receives this signal, driven by program 19 pin are the square-wave signal of 1S for the output cycle, drive buzzer phone BELL by Q1 so interrupted chimes of doom takes place, and tell navigating mate can not start vehicle this moment.Micro controller system 18 pin output this moment be low level, the aerotron Q2 attitude of remaining stationary is ended, the electric current that flows through R10 is far smaller than the working current that relay is opened, and can't start vehicle so start by force also in interrupted time of fire alarming.
Two, receive the driving instruction
If this moment, navigating mate was not drunk, wireless receiving demodulator circuit U1 is subjected to the information of representing navigating mate not drink can normally to start vehicle after modulated by receiving wire and is added to the 14th pin of demoder from the output of the 2nd pin after by the U1 demodulation, after the inner decoding of U2, export a high level from the 10th pin, this signal is by 9 pin of resistance R 3 to micro controller system U3, after micro controller system receives this signal, high level of driven by program 18 pin output (was delayed time 2 minutes, purpose is to allow the personnel of driving have sufficient time to start vehicle), be added to the base stage of aerotron Q2, thereby make the Q2 conducting, this moment, relay K was ready (if promptly twist car key, relay will adhesive, guarantee that vehicle can normally start), open the automobile starting key switch, start-up circuit gets electric work in the car.
Three, the parking behind the startup automobile is judged
Illustrate: the ON line is the green line in the schematic diagram, and promptly car engine motivation ignition wire has the 12V level during driving, does not have any level during parking.
After starting automobile, judge whether the high level on the ON line was kept 2 minutes, if this high level was kept 2 minutes, illustrate that automobile normally starts, if within these 2 minutes, the ON line has become low level, and program will drag down 18 pin of micro controller system U3, the armed state of the relay of removing controls so; If the ON line is in high level in 2 minutes always, program will wait for that the ON line becomes low level (being automobile flameout) so, when the ON line is low level by the time, program is carried out one section time-delay of 30 minutes, and (this moment, relay still was ready, satisfy to stop 30 minutes not needs detect motorist's expiration alcohol concentration again), if ON line has become high level during this, program is carried out timing 30 minutes (this is in order to satisfy restarting of parking period less than 30 minutes, not need to detect again motorist's expiration alcohol concentration) again.If, parking period surpasses 30 minutes, and (the ON line became low level after 30 minutes, still do not become high level), relay will be cancelled armed state (by 18 pin of programming control micro controller system U3 so, it is become low level), the judgement command program that stops about the back of driving a vehicle is finished like this, and returns the program segment that initial decision is prohibited car instruction and driving instruction.
Twisting car key when four, not detecting
If just start vehicle without detecting, receiving demodulation circuit U1 does not receive any information; The 2nd pin does not just have the information output after the demodulation, and the 10th, 11 of demoder U2 output pin does not have high level output yet.Micro controller system does not receive the signal that sends from demoder U2, so can not carry out the judgement of drinking and not drinking, this moment, the 12V power supply was added to resistance R 10 and 5V voltage of the last generation of 5V stabilivolt DW by the coil of relay K, be added to 16 pin of U3 by resistance R 6, after micro controller system U3 receives this signal, make the 19 pin output low levels of U3, making the Q1 conducting power up for buzzer phone BELL yowled buzzer phone 10 seconds, inform navigating mate, even without drinking, do not start power actuated vehicle without detecting yet.
The invention has the beneficial effects as follows: start vehicle after can drinking to human pilot and carry out by force System detects, and vehicle can't be started travel, and prevents the accident-proneness of driving when intoxicated Generation, ensure that broad masses of the people's personal safety and property is without prejudice.

Claims (3)

1. device is driven in a control after drinking, the hand-held detection wireless transmission partial sum wireless receiving control part that comprises wireless telecommunications, it is characterized in that: said hand-held detection wireless transmission partly comprises the shell (4) of rectangle and is arranged on the circuit card (10) of shell (4) in-to-in by rechargeable battery (6) power supply, the top of shell (4) left and right sides face is respectively equipped with induction opening (1), air gate (11), shell (4) front is provided with liquid crystal display (2), button (3), shell (4) bottom surface is provided with charging socket (5), shell (4) back side is provided with battery case lid (7), circuit card (10) is by data line and liquid crystal display (2), button (3), the microgenerator (8) of band flabellum, alcohol sensor (9) connects, the microgenerator (8) of band flabellum, alcohol sensor (9) all is located at shell (4) inside and places the left side of induction opening (1) successively; Said wireless receiving control part is by the original relay of start-up circuit in the car engine control module control car, and by wireless signal receive hand-held detect the wireless transmission part forbid driving instruction or driving instruction.
2. device is driven in control after drinking as claimed in claim 1, it is characterized in that: be located at the hand-held circuit card (10) that detects in the wireless transmission part and comprise micro controller system, the AD module, multichannel is selected module, coding chip and wireless transmitter module, rechargeable battery (6) is a micro controller system, the AD module, multichannel is selected module, the alcohol sensor power supply, micro controller system is by data line and AD module, multichannel is selected module, liquid crystal display (2), coding chip, button (3) direct connection, coding chip is by data line and wireless transmitter module direct connection, and multichannel selects module by data line and AD module, alcohol sensor (9), microgenerator (8) direct connection of band flabellum.
3. device is driven in control after drinking as claimed in claim 1, it is characterized in that: said car engine control module is by data line and the micro controller system direct connection that is located in the wireless receiving control part, micro controller system in the wireless receiving control part with the electric power supply system in the car as power-supply system, and by data line and buzzing alarm module, decoder direct connection, decoder is by data line and wireless receiving module direct connection.
CN200910157503A 2009-07-10 2009-07-10 Drunken driving controller Expired - Fee Related CN101596864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910157503A CN101596864B (en) 2009-07-10 2009-07-10 Drunken driving controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910157503A CN101596864B (en) 2009-07-10 2009-07-10 Drunken driving controller

Publications (2)

Publication Number Publication Date
CN101596864A true CN101596864A (en) 2009-12-09
CN101596864B CN101596864B (en) 2012-09-19

Family

ID=41418525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910157503A Expired - Fee Related CN101596864B (en) 2009-07-10 2009-07-10 Drunken driving controller

Country Status (1)

Country Link
CN (1) CN101596864B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101979258A (en) * 2010-11-03 2011-02-23 周庆然 Automobile anti-drunken driving control device and control method
CN102358188A (en) * 2011-07-14 2012-02-22 黄慧琳 Vehicle-mounted intelligent wine control device and control method thereof
CN103592345A (en) * 2013-07-23 2014-02-19 项泽玉 Wireless remote controller for detecting alcoholicity of exhaled air
CN105564243A (en) * 2016-01-21 2016-05-11 李镇坚 Exhaling type alcohol lock capable of measuring alcohol concentration in driving process
CN105711416A (en) * 2016-01-21 2016-06-29 李镇坚 Expiration alcohol-lock
CN109849661A (en) * 2019-02-15 2019-06-07 郭明建 A kind of method of Drunk-driving-prevendevice device and its drunk-driving prevention

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4592443A (en) * 1983-02-01 1986-06-03 Jack Simon Sobriety interlock
CN2521615Y (en) * 2002-02-04 2002-11-20 高永祥 Wireless type self-checking & others-detecting two-purpose driving-prohibited instrument after drinking wine
CN1680141A (en) * 2004-04-08 2005-10-12 尹超 Indicating controller for driving safety
CN100486832C (en) * 2005-01-06 2009-05-13 敦化市天元机械有限责任公司 Vehicular alcohol alarming apparatus
CN2918141Y (en) * 2006-07-14 2007-07-04 沈育红 Anti-theft driver alcohol prohibition controller
CN200995627Y (en) * 2007-01-23 2007-12-26 董庆军 Forced-inspection alarming controller against driving after drunk

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101979258A (en) * 2010-11-03 2011-02-23 周庆然 Automobile anti-drunken driving control device and control method
CN102358188A (en) * 2011-07-14 2012-02-22 黄慧琳 Vehicle-mounted intelligent wine control device and control method thereof
CN103592345A (en) * 2013-07-23 2014-02-19 项泽玉 Wireless remote controller for detecting alcoholicity of exhaled air
CN105564243A (en) * 2016-01-21 2016-05-11 李镇坚 Exhaling type alcohol lock capable of measuring alcohol concentration in driving process
CN105711416A (en) * 2016-01-21 2016-06-29 李镇坚 Expiration alcohol-lock
CN105564243B (en) * 2016-01-21 2020-07-10 李镇坚 Expiration formula alcohol lock of measurable alcohol concentration in going
CN109849661A (en) * 2019-02-15 2019-06-07 郭明建 A kind of method of Drunk-driving-prevendevice device and its drunk-driving prevention
CN109849661B (en) * 2019-02-15 2024-06-04 郭明建 Drunk driving prevention device and drunk driving prevention method thereof

Also Published As

Publication number Publication date
CN101596864B (en) 2012-09-19

Similar Documents

Publication Publication Date Title
CN101596864B (en) Drunken driving controller
CN206086415U (en) Intelligence electric automobile fills electric pile
CN206099454U (en) Fill electric pile load distribution device
CN105905055A (en) Intelligent car battery
CN202979377U (en) Intelligent solar energy illumination energy saving controller
CN106965701A (en) Emergency starting system and electric automobile emergency starting device
CN106128016A (en) Safety protection system for transformer substation
CN111186401B (en) Photovoltaic new energy automobile power management intelligent control system
CN110011377A (en) A kind of lead-acid batteries intelligent charger
CN102463923A (en) Method and device for automatically turning off automobile headlight
CN103415121A (en) Solar street lamp control system with bidirectional communication function
CN201549909U (en) Multifunctional solar energy charging comprehensive protection controller
CN205229380U (en) 10kV line fault indicator based on solar energy
CN107340847A (en) Hand-held new trend controller low-power consumption control method
CN206277960U (en) A kind of electric vehicle charge control device
CN201682282U (en) Alternating current charging post
CN207045138U (en) A kind of device to charge the battery
CN205812478U (en) A kind of public intelligent classroom lighting control system based on human body sensing
CN205750527U (en) Auto-power on control device and system
CN209709713U (en) A kind of lead-acid batteries intelligent charger
CN205141801U (en) Intelligent power generation system
CN114771272A (en) Solar charging device, charging method and vehicle
CN112677791B (en) Portable high-power energy storage fills electric pile
CN207117279U (en) A kind of solar street light charge-discharge control system
CN203071608U (en) Intelligent solar energy charging and discharging controller with LCD display screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120919

Termination date: 20150710

EXPY Termination of patent right or utility model