Safe driving system based on driver alcohol detection
The driver alcohol detection system based on the STM32F103C8T6 microcontroller, combined with an alcohol sensor and an infrared human body detection module, enables proactive detection and early warning of drunk driving. This solves the problems of passive and misjudgment-prone methods in existing drunk driving detection technologies, and improves the accuracy and efficiency of detection.
Patent Information
- Application Number
- CN202520116018.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2035-01-17
AI Technical Summary
Current methods for detecting drunk driving are passive and prone to misjudgment, failing to effectively detect the source of alcohol in the vehicle and wasting a lot of manpower and resources.
A driver alcohol detection system based on the STM32F103C8T6 microcontroller is adopted, which combines an alcohol sensor, an infrared human body detection module and an audible and visual alarm module. Data is transmitted through GSM wireless communication to realize the active detection and early warning of drunk driving.
It has improved the accuracy and efficiency of drunk driving detection, reduced misjudgments, promoted the formation of a civilized society, and enhanced road traffic safety.
Smart Images

Figure CN223702573U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to the technical field of automobile driving safety, specifically, especially, it relates to a safe driving system based on driver alcohol detection. BACKGROUND
[0002] With the increase of the automobile possession amount, the driving safety problem receives people's extensive attention. The drunk driving has been one of the important reasons leading to traffic accidents, and seriously threatens the safety of road traffic. The number of traffic accidents caused by drunk driving is huge every year, and the personnel casualty and property loss are heart-rending.
[0003] And the current detection mode for preventing drunk driving still adopts passive detection, consumes a large amount of manpower and material resources, and cannot well detect whether the alcohol source in the vehicle is the driver, which is easy to cause misjudgment. UTILITY MODEL CONTENT
[0004] According to the technical problem mentioned in the above background technology, a safe driving system based on driver alcohol detection is provided.
[0005] The technical means adopted by the utility model are as follows:
[0006] A safe driving system based on driver alcohol detection, comprising:
[0007] A control unit, an alcohol sensor module, an audible and light alarm module, an infrared human body detection module, a data transmission module and a power module;
[0008] The alcohol sensor module and the infrared human body detection module are connected with the control unit; the control unit is connected with the audible and light alarm module and the data transmission module respectively;
[0009] The control unit is used for collecting the data collected by the alcohol sensor module and the infrared human body detection module, and controlling the audible and light alarm module, and simultaneously performing data intercommunication with the data transmission module;
[0010] The power module provides stable electric energy for the control unit, the alcohol sensor module, the audible and light alarm module, the infrared human body detection module and the data transmission module.
[0011] Further, the alcohol sensor module comprises a kernel chip, a crystal oscillator circuit, a reset circuit and a power management unit; the alcohol sensor module acquires the data of the alcohol sensor in the form of GPIO and ADC collection.
[0012] Further, the audible and light alarm module adopts an STM32F103C8T6 chip; the audible and light alarm module comprises an indicator lamp circuit and a buzzer driving circuit.
[0013] Further, the infrared human body detection module detects whether there is a person getting on the vehicle through the infrared human body detection sensor.
[0014] Further, the data transmission module realizes GSM wireless communication through the SIM900A module.
[0015] Further, the power module converts the +12V input voltage of the vehicle into +5V input for the data transmission module and the alcohol sensor module.
[0016] The power module converts the +12V input voltage of the vehicle into +3.3V input for the infrared human body detection module and the sound-light alarm module.
[0017] Compared with the prior art, the utility model has the advantages of the following:
[0018] The utility model discloses a STM32F103C8T6 singlechip based, through connecting alcohol sensor circuit, sound-light alarm circuit and infrared human body detection circuit realizes the detection and data acquisition of the crowd of driving and drinking, adopt high sensitivity alcohol sensor, judge whether someone drinks in combination with the data of infrared human body detection circuit, then early warning is carried out through sound-light alarm circuit, and data transmission circuit transmits the information collected to public cellular network through GSM antenna. Power supply circuit is responsible for converting the 12V voltage of the vehicle into the 5V and 3.3V voltage required for the device of the utility model and carries out power supply. The utility model solves the uncivil behavior of drunk driving, improves social public security, and is favorable for promoting the formation of civilized society. BRIEF DESCRIPTION OF DRAWINGS
[0019] In order to more clearly illustrate the technical scheme in the embodiment of the utility model or prior art, the following will be simply introduced to the drawing needed to be used in the embodiment or prior art description, and obviously, the drawing in the following description is some embodiments of the utility model, and for ordinary skilled person in the art, under the premise of not paying the creative labor, other drawings can also be obtained according to these drawings.
[0020] Figure 1 It is the whole structure schematic diagram of the utility model system.
[0021] Figure 2 It is the alcohol sensor module schematic diagram of the utility model.
[0022] Figure 3 It is the sound-light alarm module schematic diagram of the utility model.
[0023] Figure 4 It is the infrared human body detection module schematic diagram of the utility model.
[0024] Figure 5The utility model discloses data transmission module schematic diagram.
[0025] Figure 6 The utility model discloses power module schematic diagram. Specific implementation
[0026] In order to make the personnel in the prior art better understand the utility model scheme, below will combine the drawing in the embodiment of the utility model, clear, complete to the technical scheme in the embodiment of the utility model of the description, obviously, the described embodiment only is the embodiment of a part of the utility model, is not all the embodiment. Based on the embodiment in the utility model, all other embodiments that the ordinary skill in the art obtains under the premise of not making the creative labor, should belong to the range of protection of the utility model.
[0027] It needs to be explained that the specification and the right of the utility model and the above-mentioned drawing in the term " first " " second " etc. are used for distinguishing similar object, and do not have to be used for describing specific order or antecedence order. Should understand the data that such uses can interchange under the appropriate circumstances, so that the embodiment of the utility model of the description here can be implemented in the order of except those that are illustrated or described here. In addition, the term " include " and " have " and their any deformation, the intention is to cover the non-exclusive inclusion, for example, the process, method, system, product or equipment including a series of steps or units does not have to be limited to the clearly listed those steps or units, but can include the other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0028] As Figure 1 The utility model provides a kind of safe driving system based on driver alcohol detection, it include: control unit, alcohol sensor module, audible light warning module, infrared human detection module, data transmission module and power module;
[0029] Alcohol sensor module and infrared human detection module are connected with control unit;Control unit is connected with audible light warning module and data transmission module again respectively;Control unit is used to collect the data that alcohol sensor module and infrared human detection module gather, and controls audible light warning module, simultaneously with data transmission module carries out data intercommunication;
[0030] Power module provides stable electric energy for control unit, alcohol sensor module, audible light warning module, infrared human detection module and data transmission module.
[0031] As Figure 2The diagram shows the alcohol sensor module of this invention. It uses an STM32F103C8T6 chip with a Cortex-M3 core and an LQFP48 package. The minimum system unit mainly consists of the core chip, crystal oscillator circuit, reset circuit, and power management module. The minimum system can acquire data from the alcohol sensor via GPIO and ADC. The main clock circuit consists of an 8MHz crystal oscillator (X1), capacitors (C1, C2), and resistor (R1), while the real-time clock circuit consists of a 32.768kHz crystal oscillator (X2) and capacitors (C2, C4), providing a stable clock signal for the chip. The reset circuit consists of a button (SW1) and resistor (R2). Pressing the button resets the microcontroller; releasing the button activates the microcontroller. The power management section uses an AMS1117 linear regulator (U2) to step down the +5V power supply to 3.3V. The signal acquisition section acquires the analog signal of alcohol concentration through the MQ3 alcohol sensor module (H1). After the signal stability is improved by the voltage follower (LM358D), it is input to PB13. The digital signal is input to PB14 under the protection of the electrostatic protection diode (D1) and the filter capacitor (C13).
[0032] like Figure 3 The diagram shows the audible and visual alarm module of this invention. It is controlled by an STM32F103C8T6 chip. The indicator light circuit is connected to PB12 via a current-limiting resistor (R9) for status indication. The buzzer driver circuit is driven by a transistor (Q1). The PA13 signal enters the base of Q1 through R8. R10 is a current-limiting resistor. C17 and D2 are used for decoupling and protection, while C15 and C16 act as filters.
[0033] like Figure 4 The image shows the infrared human body detection module of this utility model. The STM32F103C8T6 microcontroller minimum system is connected to the infrared human body detection sensor (H2) through PA12, current limiting by R7 and filtering by C14, to collect sensor data and detect whether a person has boarded the vehicle.
[0034] like Figure 5 As shown, this is the data transmission module of this utility model, which implements GSM wireless communication based on the SIM900A module. The module communicates with external devices through the TXD and RXD pins and supports status monitoring and control using signals such as SIM_DTR, SIM_RI, and SIM_DCD. The power supply section provides regulated power through the VBAT pin and capacitors C26, C27, and C28. Indicator lights (LED2 and LED3) indicate the module's operating status. The SIM card interface can be connected to the module's SIM_CLK and SIM_DATA pins to manage the SIM card.
[0035] like Figure 6The power module is shown, and the +12V input voltage of the vehicle is converted to +5V required by the data transmission module and the alcohol sensor module, and +3.3V required by the infrared human body detection module and the sound-light alarm module. The first part of the circuit is to realize the voltage reduction conversion from +12V to +5V. The current is first rectified by the Schottky diode D3, and then connected to the EN pin of the MP2338 chip after passing through the voltage division circuit composed of R23 and R30. The other part reaches the VIN pin of the MP2338 chip after passing through the filter circuit composed of capacitors C29, C30 and C31. The FB pin of the chip is connected to the feedback circuit (composed of resistors R25, R26 and R27, inductor L1 and capacitor C32), which monitors the output voltage and feeds back to the controller chip. The output current of the SW pin is stored by the inductor L1, and then +5V voltage is output after passing through the filter circuit composed of capacitors C35 and C36 and the indicating circuit composed of R28 and LED lamp.
[0036] The second part of the circuit realizes the voltage reduction conversion from +12V to +3.3V. The current is rectified by the Schottky diode D4, and then connected to the VIN pin of the LM2596SX-3.3 chip after passing through the filter circuit composed of capacitor C37. The output current of the OUT pin is stored by the inductor L2, and then +3.3V voltage is output after passing through the filter and voltage stabilizing circuit composed of capacitors C38, C39 and C40 and the indicating circuit composed of resistor R29 and LED lamp. The protection diode D5 and the TVS diode SMBJ3.3A are arranged at the output end to prevent reverse current and overvoltage impact.
[0037] The above-mentioned embodiment numbers of the utility model only serve to describe, and do not represent the advantages and disadvantages of the embodiments. In the above-mentioned embodiments of the utility model, the description of each embodiment has its own emphasis, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments. In the several embodiments provided in the present application, it should be understood that the disclosed technical contents can be realized by other ways.
[0038] Finally, it should be pointed out that: the above embodiments are only used to illustrate the technical solutions of the utility model, but not to limit them; although the utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: the technical solutions recorded in the foregoing embodiments can still be modified, or some or all of the technical features can be replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the utility model.
Claims
1. A safe driving system based on driver alcohol detection, characterized in that, Include: The control unit, alcohol sensor module, sound and light warning module, infrared human body detection module, data transmission module and power module; The alcohol sensor module and the infrared human body detection module are connected with the control unit; The control unit is connected with the sound and light warning module and the data transmission module respectively; The control unit is used for collecting the data collected by the alcohol sensor module and the infrared human body detection module, and controlling the sound and light warning module, and simultaneously transmitting data with the data transmission module; The power module provides stable power for the control unit, alcohol sensor module, sound and light warning module, infrared human body detection module and data transmission module.
2. A safe driving system based on driver alcohol detection as claimed in claim 1 wherein, The alcohol sensor module includes: kernel chip, crystal oscillator circuit, reset circuit and power management unit; The alcohol sensor module obtains the data of alcohol sensor through the mode of GPIO and ADC acquisition.
3. A safe driving system based on driver alcohol detection as claimed in claim 1 wherein, The sound and light warning module uses STM32F103C8T6 chip; The sound and light warning module includes: indicator light circuit and buzzer drive circuit.
4. A safe driving system based on driver alcohol detection as claimed in claim 1 wherein, The infrared human body detection module detects whether there is a person on the car through the infrared human body detection sensor.
5. A safe driving system based on driver alcohol detection as claimed in claim 1 wherein, The data transmission module realizes GSM wireless communication through SIM900A module.
6. A safe driving system based on driver alcohol detection as claimed in claim 1 wherein, The power module converts the +12V input voltage of the vehicle into +5V input for the data transmission module and the alcohol sensor module; The power module converts the +12V input voltage of the vehicle into +3.3V input for the infrared human body detection module and the sound and light warning module.