Safe driving method of vehicle, safe driving device and computer readable storage medium

By collecting the driver's exhaled breath and identifying changes in in-vehicle environmental parameters, and utilizing multi-sensor array cross-detection and environmental parameter correction, the problem of low accuracy in in-vehicle alcohol detection has been solved, achieving highly accurate and consistent alcohol detection and improving the reliability of safe driving.

CN122009196APending Publication Date: 2026-05-12GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU AUTOMOBILE GROUP CO LTD
Filing Date
2026-02-12
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing in-vehicle alcohol detection technology is not very accurate and is difficult to maintain consistency in different environments, resulting in a high false alarm rate and failing to effectively ensure safe driving.

Method used

By collecting the driver's exhaled breath and identifying changes in in-vehicle environmental parameters, the ethanol concentration is dynamically corrected using a multi-sensor array for cross-detection and environmental parameter correction, reducing the impact of environmental interference and improving detection accuracy and consistency.

Benefits of technology

It achieves high-precision alcohol detection in different environments, reduces false alarm rates, and improves the reliability of safe driving and the accuracy of driver behavior assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122009196A_ABST
    Figure CN122009196A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a safe driving method and device of a vehicle and a computer readable storage medium, and the method comprises the steps that exhaled gas of a current driver is collected, the ethanol concentration in the exhaled gas is detected, the parameter change amount of the environment in the vehicle is recognized, the ethanol concentration is corrected according to the parameter change amount, and the vehicle driving safety is improved. The actual ethanol concentration of the exhaled air is obtained, so that driving is allowed under the condition that the actual ethanol concentration is smaller than or equal to a preset safety threshold value. Therefore, according to the method, the detected and output ethanol concentration is corrected through the parameter change of the environment in the vehicle, so that the detection error caused by environmental interference is reduced or counteracted, the detection accuracy of the ethanol concentration and the detection consistency in different environments are improved, and a guarantee is provided for safe driving of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control technology, and in particular to a safe driving method, a safe driving device, and a computer-readable storage medium for a vehicle. Background Technology

[0002] With increasingly stringent drunk driving regulations globally, in-vehicle alcohol detection technology has become an important aspect of safety features in smart cars. One related technology involves sensors installed on the steering wheel or air vents to collect the driver's exhaled breath and detect the ethanol concentration. An alarm is triggered when the ethanol concentration exceeds a threshold. However, this method generally has low accuracy, which is detrimental to safe driving. Summary of the Invention

[0003] This application provides a safe driving method, a safe driving device, and a computer-readable storage medium for a vehicle, aiming to improve the problem of the generally low accuracy of alcohol detection in related technologies.

[0004] The first aspect of this application proposes a safe driving method for a vehicle, including: collecting the exhaled breath of the current driver; detecting the ethanol concentration in the exhaled breath and identifying the parameter changes in the in-vehicle environment; correcting the ethanol concentration according to the parameter changes to obtain the actual ethanol concentration in the exhaled breath, so as to allow driving when the actual ethanol concentration is less than or equal to a preset safety threshold.

[0005] According to the vehicle safety driving method of this application embodiment, firstly, the driver's exhaled breath is collected, the ethanol concentration in the exhaled breath is detected, and the changes in parameters of the in-vehicle environment are identified. The ethanol concentration is then corrected based on the changes in parameters to obtain the actual ethanol concentration in the exhaled breath. Driving is permitted if the actual ethanol concentration is less than or equal to a preset safety threshold. Thus, this method corrects the detected ethanol concentration output by adjusting the parameters of the in-vehicle environment to reduce or offset detection errors caused by environmental interference, improve the accuracy of ethanol concentration detection, and enhance the consistency of detection under different environments, thereby ensuring safe driving of the vehicle.

[0006] In addition, the safe driving method for a vehicle according to the above embodiments of this application may also have the following additional technical features: According to one embodiment of this application, the parameter changes include humidity changes, temperature changes, air pressure changes, and total volatile organic compound (TVOC) concentration changes. The ethanol concentration is corrected based on these parameter changes to obtain the actual ethanol concentration in the exhaled gas. This process includes: determining a target correction coefficient based on the humidity, temperature, and air pressure changes; correcting the ethanol concentration based on the target correction coefficient to obtain a first concentration; and adjusting the first concentration based on the TVOC concentration change to obtain the actual ethanol concentration.

[0007] Based on the above technical solution, by collecting environmental temperature, humidity, air pressure and VOCs concentration in the vehicle in real time, a mathematical relationship between the sensor response value and environmental parameters is established (such as correcting sensitivity drift through polynomial fitting) to eliminate environmental interference and improve detection accuracy.

[0008] According to one embodiment of this application, determining a target correction coefficient based on humidity change, temperature change, and air pressure change includes: obtaining the product of humidity change and a first correction coefficient to obtain a first correction coefficient; obtaining the ratio between temperature change and initial temperature, and multiplying it with a second correction coefficient to obtain a second correction coefficient; obtaining the ratio between air pressure change and initial air pressure, and multiplying it with a third correction coefficient to obtain a third correction coefficient; and obtaining the sum of the first correction coefficient, second correction coefficient, third correction coefficient, and initial correction coefficient to obtain a target correction coefficient.

[0009] Based on the above technical solution, the target correction coefficient is calculated using the formula K=1+α×ΔRH+β×(ΔT / T0)+γ×ΔP / P0, which reduces the utilization rate of computing resources and improves the efficiency of computational correction.

[0010] According to one embodiment of this application, adjusting a first concentration based on the change in total volatile organic compound (TVOC) concentration to obtain an actual ethanol concentration includes: obtaining the product of the change in TVOC concentration and a fourth correction coefficient to obtain an adjusted concentration value; and obtaining the difference between the first concentration and the adjusted concentration value to obtain the actual ethanol concentration.

[0011] Based on the above technical solution, the actual ethanol concentration is calculated using the formula C_ethanol_corrected=C_ethanol_raw×[1+α×ΔRH+β×(ΔT / T0)+γ×ΔP / P0]-δ×ΔC, which reduces the utilization rate of computing resources and improves the efficiency of calculation correction.

[0012] According to one embodiment of this application, a vehicle includes multiple gas sensors to detect the concentration of ethanol in exhaled breath, including: identifying the ethanol concentration based on a gas detection signal output by one of the multiple gas sensors; and after obtaining the actual ethanol concentration, performing an effectiveness test on the actual ethanol concentration based on the gas detection signals output by the remaining gas sensors among the multiple gas sensors; and if the actual ethanol concentration passes the effectiveness test, performing an alcohol test on the driver based on the actual ethanol concentration.

[0013] Based on the above technical solution, cross-detection by a multi-sensor array reduces cross-interference from a single sensor, thereby solving the problem of false alarms caused by insufficient selectivity of a single sensor for ethanol, and by in-vehicle perfumes and food volatiles (such as ethanol, acetone, and acetaldehyde) in related technologies.

[0014] According to one embodiment of this application, a plurality of gas sensors include a semiconductor sensor, an electrochemical sensor, and a catalytic combustion sensor. Identifying the ethanol concentration based on a gas detection signal output by one of the gas sensors includes: determining the ethanol concentration based on a current value output by the electrochemical sensor and a first calibration relationship, wherein the first calibration relationship characterizes the relationship between the current value and the ethanol concentration; and performing validity detection on the actual ethanol concentration based on the gas detection signals output by the remaining gas sensors, including: determining that the actual ethanol concentration passes the validity detection when the resistance value output by the semiconductor sensor is exponentially negatively correlated with the actual ethanol concentration and the voltage value output by the catalytic combustion sensor is linearly positively correlated with the actual ethanol concentration.

[0015] Based on the above technical solution, the ethanol concentration is calculated by using the output current value I2 of an electrochemical sensor. Then, the actual ethanol concentration is effectively detected by using the output resistance value R1 of a semiconductor sensor and the output voltage value V3 of a catalytic combustion sensor, thus ensuring the accuracy of the actual ethanol concentration detection.

[0016] According to one embodiment of this application, when the actual ethanol concentration is less than or equal to a preset safety threshold, the safe driving method for the vehicle further includes: acquiring vehicle operating data; determining a comprehensive risk value based on the operating data and the actual ethanol concentration; and generating a warning signal based on the risk range in which the comprehensive risk value is located.

[0017] Based on the above technical solution, vehicle operation data is collected during the driver's driving process to assess driving behavior. This data is then combined with the actual ethanol concentration to calculate a comprehensive risk value, enabling zoned early warning and further improving driving safety.

[0018] According to one embodiment of this application, the operating data includes the current vehicle speed and historical turning frequency. Determining a comprehensive risk value based on the operating data and the actual ethanol concentration includes: obtaining the ratio between the actual ethanol concentration and a preset ethanol concentration, multiplying it by a first weighting coefficient to obtain a first risk value; obtaining the ratio between the current vehicle speed and a preset vehicle speed, multiplying it by a second weighting coefficient to obtain a second risk value; obtaining the ratio between the historical turning frequency and a preset turning frequency, multiplying it by a third weighting coefficient to obtain a third risk value; and obtaining the sum of the first, second, and third risk values ​​to obtain a comprehensive risk value.

[0019] Based on the above technical solution, the comprehensive risk value is calculated using the formula R_risk = (C_ethanol_corrected / C_threshold1)×w1+(N_turn / N_threshold)×w2+(V_car / V_threshold)×w3. This approach ensures the accuracy of risk value calculation while reducing resource requirements and improving early warning efficiency.

[0020] To achieve the above objectives, a second aspect of this application provides a vehicle safety driving device, comprising: a data acquisition module for acquiring the exhaled breath of the current driver; a detection module for detecting the ethanol concentration in the exhaled breath and identifying changes in parameters of the in-vehicle environment; and a control module for correcting the ethanol concentration based on the parameter changes to obtain the actual ethanol concentration in the exhaled breath, thereby allowing driving when the actual ethanol concentration is less than or equal to a preset safety threshold.

[0021] The vehicle safety driving device according to an embodiment of this application collects the driver's exhaled breath through a data acquisition module, detects the ethanol concentration in the exhaled breath through a detection module, and identifies changes in parameters of the in-vehicle environment. A control module corrects the ethanol concentration based on these parameter changes to obtain the actual ethanol concentration in the exhaled breath. Driving is permitted when the actual ethanol concentration is less than or equal to a preset safety threshold. Therefore, this device corrects the detected ethanol concentration output by adjusting for changes in in-vehicle environmental parameters, reducing or offsetting detection errors caused by environmental interference, improving the accuracy of ethanol concentration detection, and ensuring consistency in detection under different environments, thus providing a guarantee for safe driving.

[0022] To achieve the above objectives, a third aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.

[0023] According to the embodiments of this application, a computer-readable storage medium storing a computer program that is executed by a processor implements the above-described method. Based on the above-described safe driving method for vehicles, it reduces or eliminates detection errors caused by environmental interference, improves the detection accuracy of ethanol concentration and the detection consistency under different environments, and provides a guarantee for safe driving of vehicles. Attached Figure Description

[0024] Figure 1 This is a flowchart of a safe driving method for a vehicle provided in an embodiment of this application; Figure 2 This is a flowchart of a safe driving method for a vehicle provided in a specific embodiment of this application; Figure 3This is a schematic diagram of the connection of a vehicle safety driving device provided in an embodiment of this application. Detailed Implementation

[0025] To make the technical problems, technical solutions, and beneficial effects solved by this application clearer, the following detailed description is provided in conjunction with embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0026] With increasingly stringent global regulations on drunk driving, in-vehicle alcohol detection technology has become an important aspect of safety features in smart cars. The following technical solutions are used for alcohol detection.

[0027] 1. Contact detection: Alcohol is detected by an alcohol sensor on the steering wheel or seat surface to detect residual alcohol on the driver's skin, but it cannot reflect the alcohol concentration in real-time exhaled breath and is prone to missed detection.

[0028] 2. Non-contact detection: Analyzes ethanol molecules in the air inside the vehicle using infrared spectroscopy, but the equipment is expensive and bulky, making it difficult to integrate into ordinary vehicle models.

[0029] 3. Exhaled gas detection: The driver's exhaled gas is collected by a single sensor (such as semiconductor or electrochemical type) installed on the steering wheel or air conditioning vent.

[0030] In related technologies, a common approach is to use a single type of gas sensor (such as a semiconductor sensor to detect ethanol) and perform alcohol detection by threshold comparison. However, the detection stability of this method is difficult to guarantee, which reduces the detection accuracy.

[0031] To address at least one of the aforementioned technical problems, this application proposes a safe driving method for vehicles. This method corrects the ethanol concentration detected by the gas based on the changes in parameters of the in-vehicle environment, thereby correcting the influence of environmental factors on the sensitivity of the gas sensor, improving detection accuracy, and ensuring the consistency of detection results under different environments, thus providing a guarantee for safe driving of vehicles.

[0032] The safe driving method of a vehicle according to an embodiment of this application will be described in detail below with reference to the accompanying drawings.

[0033] Reference Figure 1 The safe driving method for a vehicle according to embodiments of this application may include: S1 collects the current driver's exhaled air.

[0034] Specifically, a directional sampling device can be installed to accurately acquire the driver's exhaled air. For example, a deflector and a miniature air pump can be installed in front of the driver's face (such as above the steering wheel or below the sun visor). Through airflow channel design (such as the Venturi effect), the driver's exhaled air (accounting for >80%) is prioritized for collection, reducing the mixing of ambient air. Then, an electrochemical sensor is used to detect the driver's exhaled air to identify the ethanol concentration in the exhaled air.

[0035] S2 detects the ethanol concentration in exhaled breath and identifies changes in parameters of the in-vehicle environment.

[0036] Specifically, taking the use of an electrochemical sensor to identify ethanol concentration as an example, the current value I2 output by the electrochemical sensor is obtained. Since the current value I2 is linearly related to the ethanol concentration, the ethanol concentration can be calculated by calling the relationship.

[0037] The parameters of the in-vehicle environment can be set according to the sensitivity correction requirements of the sensors, such as temperature, humidity, and air pressure. Specifically, the temperature and humidity in the vehicle are collected in real time by the temperature and humidity sensors in the vehicle, so as to calculate the temperature and humidity changes in the in-vehicle environment. The air pressure in the vehicle is collected in real time by the air pressure sensor, so as to calculate the air pressure change in the in-vehicle environment.

[0038] S3, adjust the ethanol concentration according to the parameter change to obtain the actual ethanol concentration of the exhaled gas, so that driving is allowed if the actual ethanol concentration is less than or equal to the preset safety threshold.

[0039] In other words, based on the influence of environmental parameters on the detection sensitivity of the gas sensor, a dynamic correction mechanism is constructed to adjust the gas concentration detected by the gas sensor based on real-time changes in the detected parameters, thereby eliminating the interference of environmental factors on the alcohol detection results and obtaining the actual ethanol concentration. Then, a drunk driving assessment is performed based on the actual ethanol concentration. If the actual ethanol concentration is less than or equal to a preset safety threshold, the individual is considered not under the influence of alcohol and is allowed to drive; if the actual ethanol concentration exceeds the preset safety threshold, the individual is considered to be under the influence of alcohol and is not allowed to drive. The preset safety threshold can be set based on drunk driving assessment standards.

[0040] In one embodiment of this application, the parameter changes include humidity changes, temperature changes, air pressure changes, and total volatile organic compound (TVOC) concentration changes. Correcting the ethanol concentration based on these parameter changes to obtain the actual ethanol concentration in the exhaled gas includes: determining a target correction coefficient based on the humidity, temperature, and air pressure changes; correcting the ethanol concentration based on the target correction coefficient to obtain a first concentration; and adjusting the first concentration based on the TVOC concentration change to obtain the actual ethanol concentration.

[0041] Specifically, before alcohol testing, the system is first initialized and preheated to improve detection accuracy. The control module activates the sensor array (semiconductor, electrochemical, or catalytic combustion type) and VOCs (Volatile Organic Compounds) sensors for preheating and calibration (e.g., preheating time ≥ 5 minutes to ensure the sensors reach a stable operating state). Ambient air is simultaneously collected as a reference sample, recording the initial temperature and humidity (T0, RH0), air pressure (P0), and VOCs concentration (C0).

[0042] Next, the driver's exhaled air is collected. The directional collection device activates a miniature air pump to draw in air through a hood (opening towards the driver's mouth and nose, 5-8 cm in diameter), and transmits the air through an airflow channel (≤10 cm in length, 3 mm in inner diameter) to the sensor array. The gas flow rate is controlled at 50-100 mL / min (adjusted by the air pump speed) to ensure that the sensor is in full contact with the gas and there is no residue.

[0043] Environmental parameters are collected synchronously. For example, temperature and humidity sensors collect the current interior temperature and humidity (T1, RH1), and air pressure sensors collect the current air pressure (P1). Changes in environmental parameters are calculated as follows: temperature change ΔT = T1 - T0, humidity change ΔRH = RH1 - RH0, air pressure change ΔP = P1 - P0, and total volatile organic compound concentration change ΔC = C1 - C0.

[0044] Then, the influence of environmental parameters on ethanol concentration is corrected based on the temperature change ΔT, humidity change ΔRH, and air pressure change ΔP to obtain the first concentration. Then, the first concentration is adjusted based on the total volatile organic compound (TVC) concentration change ΔC to correct the influence of the TVC concentration change ΔC on ethanol concentration in the environment, thus obtaining the actual ethanol concentration.

[0045] This embodiment establishes a mathematical relationship between the sensor response value and environmental parameters by collecting real-time environmental temperature, humidity, air pressure, and VOCs concentration inside the vehicle (such as correcting sensitivity drift through polynomial fitting) to eliminate environmental interference and improve detection accuracy.

[0046] In one embodiment of this application, determining a target correction coefficient based on changes in humidity, temperature, and air pressure includes: obtaining the product of the humidity change and a first correction coefficient to obtain a first correction coefficient; obtaining the ratio between the temperature change and the initial temperature, and multiplying it with a second correction coefficient to obtain a second correction coefficient; obtaining the ratio between the air pressure change and the initial air pressure, and multiplying it with a third correction coefficient to obtain a third correction coefficient; and obtaining the sum of the first correction coefficient, the second correction coefficient, the third correction coefficient, and the initial correction coefficient to obtain the target correction coefficient.

[0047] In other words, the target correction factor is calculated based on the following formula: K=1+α×ΔRH+β×(ΔT / T0)+γ×ΔP / P0 (1), Wherein, K is the target correction coefficient, 1 is the initial correction coefficient, α is the first correction coefficient, ΔRH is the humidity change, α×ΔRH is the first correction coefficient, β is the second correction coefficient, ΔT is the temperature change, T0 is the initial temperature, β×(ΔT / T0) is the second correction coefficient, γ is the third correction coefficient, ΔP is the air pressure change, P0 is the initial air pressure, and γ×ΔP / P0 is the third correction coefficient. The initial temperature, initial air pressure, and initial humidity can be environmental parameter values ​​obtained during the system initialization phase, or they can be pre-stored preset baseline values; there are no specific restrictions.

[0048] This embodiment calculates the target correction coefficient based on the above formula, which reduces the utilization rate of computing resources and improves the efficiency of computational correction.

[0049] In one embodiment of this application, adjusting a first concentration based on the change in total volatile organic compound (TVOC) concentration to obtain an actual ethanol concentration includes: obtaining the product of the change in TVOC concentration and a fourth correction coefficient to obtain an adjusted concentration value; and obtaining the difference between the first concentration and the adjusted concentration value to obtain the actual ethanol concentration.

[0050] In other words, the actual ethanol concentration is calculated based on the following formula, after correcting for environmental interference: C_ethanol_corrected = C_ethanol_raw×[1+α×ΔRH+β×(ΔT / T0)+γ×ΔP / P0]-δ×ΔC(2), Wherein, C_ethanol_corrected is the actual ethanol concentration, C_ethanol_raw is the ethanol concentration, 1 is the initial correction coefficient, α is the first correction coefficient, ΔRH is the humidity change, β is the second correction coefficient, ΔT is the temperature change, T0 is the initial temperature, γ is the third correction coefficient, ΔP is the pressure change, P0 is the initial pressure, δ is the fourth correction coefficient, and ΔC is the total volatile organic compound concentration change. In addition, α, β, γ, and δ are correction coefficients that can be obtained through training a machine learning model, and the initial values ​​are based on laboratory calibration data.

[0051] In one embodiment of this application, the vehicle includes multiple gas sensors to detect the ethanol concentration in exhaled breath, including: identifying the ethanol concentration based on a gas detection signal output by one of the multiple gas sensors; and after obtaining the actual ethanol concentration, performing an effectiveness test on the actual ethanol concentration based on the gas detection signals output by the remaining gas sensors among the multiple gas sensors; and if the actual ethanol concentration passes the effectiveness test, performing an alcohol test on the driver based on the actual ethanol concentration.

[0052] In other words, the vehicle is equipped with a sensor array to collect gases. By cross-detecting multiple sensor arrays, the cross-interference of a single sensor is reduced, thereby solving the problem of false alarms caused by insufficient selectivity of a single sensor for ethanol, as well as by volatile substances in car perfumes and food (such as ethanol, acetone, and acetaldehyde) in related technologies.

[0053] Specifically, during the system initialization and preheating phase, the control module activates the sensor array (semiconductor, electrochemical, and catalytic combustion types) for preheating calibration (preheating time ≥ 5 minutes to ensure the sensors reach a stable working state). Then, for the driver's exhaled gas, the multi-sensor array synchronously outputs response values. Among them, the semiconductor sensor outputs a resistance value R1 (negatively correlated with gas concentration), the electrochemical sensor outputs a current value I2 (linearly correlated with ethanol concentration, detection limit 0.1 ppm), and the catalytic combustion sensor outputs a voltage value V3 (positively correlated with combustible gas concentration).

[0054] Then, the ethanol concentration is calculated using the gas detection signal output from one of the sensors, and environmental parameters are used to correct for the concentration to obtain the actual ethanol concentration. The actual ethanol concentration is then validated using the gas detection signals output from other sensors. If the actual ethanol concentration passes the validation, a safe driving assessment is performed; otherwise, the data is discarded, and the driver is reminded to collect gas again and repeat the alcohol detection process. For example, the ethanol concentration can be calculated using the resistance value R1 output from a semiconductor sensor, and then the validity of the detected actual ethanol concentration can be validated using the current value I2 output from an electrochemical sensor and the voltage value V3 output from a catalytic combustion sensor.

[0055] In one embodiment of this application, the plurality of gas sensors include a semiconductor sensor, an electrochemical sensor, and a catalytic combustion sensor. Identifying the ethanol concentration based on a gas detection signal output by one of the gas sensors includes: determining the ethanol concentration based on the current value output by the electrochemical sensor and a first calibration relationship, wherein the first calibration relationship characterizes the relationship between the current value and the ethanol concentration; and performing validity detection on the actual ethanol concentration based on the gas detection signals output by the remaining gas sensors, including: determining that the actual ethanol concentration passes the validity detection when the resistance value output by the semiconductor sensor is exponentially negatively correlated with the actual ethanol concentration and the voltage value output by the catalytic combustion sensor is linearly positively correlated with the actual ethanol concentration.

[0056] In other words, this embodiment uses the output current value I2 of an electrochemical sensor to calculate the ethanol concentration, and then uses the output resistance value R1 of a semiconductor sensor and the output voltage value V3 of a catalytic combustion sensor to detect the effectiveness of the actual ethanol concentration. The specific steps are as follows: First, the system is initialized and preheated. The control module starts the sensor array (semiconductor, electrochemical, and catalytic combustion) and VOCs sensor for preheating and calibration (preheating time ≥ 5 minutes to ensure the sensors reach a stable operating state). Ambient air is simultaneously collected as a reference sample, and the initial temperature and humidity (T0, RH0), air pressure (P0), and VOCs concentration (C0) are recorded.

[0057] Then, the driver's exhaled air is collected. The directional collection device activates a miniature air pump to draw in air through a hood (with an opening facing the driver's mouth and nose, 5-8 cm in diameter), and transmits the air through the airflow channel to the sensor array.

[0058] A multi-sensor array synchronously acquires data and outputs response values. The semiconductor sensor outputs the resistance value R1; the electrochemical sensor outputs the current value I2; and the catalytic combustion sensor outputs the voltage value V3.

[0059] Based on the current value I2 of the electrochemical sensor, the ethanol concentration C_ethanol_raw is initially calculated using the factory calibration curve (I2=k×C_ethanol + b, where k is the sensitivity coefficient and b is the zero-point offset). Then, based on formula (2), environmental interference is dynamically corrected to obtain the actual ethanol concentration C_ethanol_corrected.

[0060] The rationality of C_ethanol_corrected was verified by combining the response values ​​R1 and V3 of the semiconductor sensor and the catalytic combustion sensor. Specifically, if R1 and C_ethanol_corrected showed an exponential negative correlation, and V3 showed a linear positive correlation with C_ethanol_corrected, the actual ethanol concentration was considered valid, and subsequent safe driving assessments could be performed; otherwise, the actual ethanol concentration was considered invalid, marked as abnormal data, and resampled.

[0061] Additionally, an allowable deviation threshold can be set. If the deviation between C_ethanol_corrected and a preset relationship exceeds the threshold (e.g., ±15%), the data is marked as abnormal and resampled; otherwise, the actual ethanol concentration is considered valid. For example, an exponential negative correlation function can be preset between R1 and C_ethanol_corrected, and a linear positive correlation function can be preset between V3 and C_ethanol_corrected. During the validity detection process, the relative deviation between the calculated actual ethanol concentration C_ethanol_corrected and the exponential negative correlation function and the linear positive correlation function is obtained. If the deviation is within the preset threshold range (e.g., ±15%), the actual ethanol concentration is considered valid; if the deviation exceeds the preset threshold range, the actual ethanol concentration is considered invalid.

[0062] This embodiment uses a multi-type gas sensor array to replace the traditional single sensor. It consists of three types of sensors: semiconductor (detecting ethanol and total VOCs), electrochemical (high-precision detection of ethanol), and catalytic combustion (detecting total combustible gas). By utilizing the different selectivity of the different sensors for ethanol (e.g., the electrochemical sensor only has a linear response to ethanol), cross-validation is achieved, reducing the false alarm rate.

[0063] In one embodiment of this application, when the actual ethanol concentration is less than or equal to a preset safety threshold, the safe driving method for the vehicle further includes: acquiring vehicle operating data; determining a comprehensive risk value based on the operating data and the actual ethanol concentration; and generating a warning signal based on the risk range in which the comprehensive risk value is located.

[0064] In other words, drivers are allowed to drive the vehicle if the actual ethanol concentration is less than or equal to a preset safety threshold.

[0065] To further improve driving safety, vehicle operational data is collected during driving to assess driving behavior and calculate a comprehensive risk value based on the actual ethanol concentration. Then, tiered warnings are issued based on the range of the comprehensive risk value to improve alarm accuracy. Operational data may include vehicle speed, turning frequency over the past 5 minutes, etc. Risk ranges are defined according to the calculation rules of the comprehensive risk value, with the warning intensity positively correlated with the degree of danger. For example, combining parameters such as alcohol concentration, vehicle speed, and turning frequency, three levels of warnings are established: "low-risk warning," "high-risk alarm," and "emergency braking suggestion," avoiding irrelevant interference.

[0066] In one embodiment of this application, the operating data includes the current vehicle speed and historical turning frequency. Determining a comprehensive risk value based on the operating data and the actual ethanol concentration includes: obtaining the ratio between the actual ethanol concentration and a preset ethanol concentration, multiplying it by a first weighting coefficient to obtain a first risk value; obtaining the ratio between the current vehicle speed and a preset vehicle speed, multiplying it by a second weighting coefficient to obtain a second risk value; obtaining the ratio between the historical turning frequency and a preset turning frequency, multiplying it by a third weighting coefficient to obtain a third risk value; and obtaining the sum of the first risk value, the second risk value, and the third risk value to obtain a comprehensive risk value.

[0067] Specifically, the sampling window for historical turning frequencies can be preset. For example, if the current time is 5 minutes ago, then the historical turning frequency is the turning frequency of the last 5 minutes.

[0068] The overall risk value is calculated based on the following formula: R_risk = (C_ethanol_corrected / C_threshold1)×w1 + (N_turn / N_threshold)×w2 + (V_car / V_threshold)×w3; Wherein, R_risk is the overall risk value, C_ethanol_corrected is the actual ethanol concentration, C_threshold1 is the preset ethanol concentration, w1 is the first weighting coefficient, N_turn is the historical turning frequency, N_threshold is the preset turning frequency, w2 is the third weighting coefficient, V_car is the current vehicle speed, V_threshold is the preset vehicle speed, and w3 is the second weighting coefficient. C_threshold1, N_threshold, V_threshold, w1, w2, and w3 can be set according to actual conditions. For example, C_threshold1 = 20mg / 100ml, N_threshold = 10 times, V_threshold = 60km / h, w1 = 0.6, w2 = 0.2, and w3 = 0.2.

[0069] The tiered early warning rule based on comprehensive risk value is as follows: R_risk < 0.5: No warning; 0.5≤R_risk<1.0: Low risk warning (the vehicle's infotainment screen displays "Alcohol detected, please be careful"); 1.0≤R_risk<1.5: High risk alarm (audio alarm + steering wheel vibration); R_risk≥1.5: Emergency braking recommendation (sends a signal to the vehicle control system, recommending that automatic emergency braking be activated).

[0070] This embodiment calculates the comprehensive risk value based on the above formula, which reduces resource requirements and improves early warning efficiency while ensuring the accuracy of risk value calculation.

[0071] As a specific embodiment of this application, refer to Figure 2 The safe driving method for this vehicle may include the following steps: S201, System initialization and warm-up.

[0072] Specifically, the control module starts the sensor array (semiconductor type, electrochemical type, catalytic combustion type) and VOCs sensor to perform preheating calibration (preheating time ≥ 5 minutes to ensure that the sensor reaches a stable working state). Ambient air was collected simultaneously as a baseline sample, and the initial temperature and humidity (T0, RH0), air pressure (P0), and VOCs concentration (C0) were recorded.

[0073] S202, collects the driver's exhaled breath.

[0074] Specifically, the directional acquisition device activates a miniature air pump to draw in air through a duct (opening towards the driver's mouth and nose, with a diameter of 5-8cm), and transmits it to the sensor array through an airflow channel (length ≤10cm, inner diameter 3mm). The gas flow rate is controlled at 50-100 mL / min (adjusted by the speed of the gas pump) to ensure that the sensor is in full contact with the gas and there is no residue.

[0075] S203, multi-sensor data acquisition, synchronous output of response values.

[0076] Among them, the semiconductor sensor outputs a resistance value R1 (negatively correlated with gas concentration); the electrochemical sensor outputs a current value I2 (linearly correlated with ethanol concentration, detection limit 0.1ppm); the catalytic combustion sensor outputs a voltage value V3 (positively correlated with combustible gas concentration); and the VOCs sensor outputs a total volatile organic compound concentration C1 (unit ppm).

[0077] S204 identifies changes in parameters of the in-vehicle environment.

[0078] Among them, the temperature and humidity sensor collects the current temperature and humidity inside the vehicle (T1, RH1), the air pressure sensor collects the current air pressure (P1), and combined with the total volatile organic compound concentration C1 output by the VOCs sensor, the changes in environmental parameters are calculated as follows: ΔT=T1-T0, ΔRH=RH1-RH0, ΔP=P1-P0, ΔC=C1-C0.

[0079] S205 calculates the ethanol concentration based on the current value output by the electrochemical sensor, and corrects the ethanol concentration by the parameter change to obtain the actual ethanol concentration.

[0080] S206, determine whether the actual ethanol concentration has passed the validity verification. If yes, proceed to step S207; otherwise, proceed to step S202.

[0081] Specifically, if R1 is exponentially negatively correlated with C_ethanol_corrected and V3 is linearly positively correlated with C_ethanol_corrected, the actual ethanol concentration is considered to have passed the validity verification; otherwise, it has not passed.

[0082] S207, determine whether the actual ethanol concentration is less than or equal to the preset safety threshold. If yes, proceed to step S208; otherwise, proceed to step S210.

[0083] S208 allows driving and acquires operational data during vehicle operation.

[0084] S209 calculates a comprehensive risk value based on driving behavior data, operational data, and actual ethanol concentration, and generates a warning signal based on the risk range in which the comprehensive risk value is located.

[0085] S210, driving is not permitted.

[0086] In addition, the calculated alcohol concentration, environmental parameters, driving behavior data, and warning records are stored in the vehicle-mounted T-BOX (remote communication module) and uploaded to the cloud server via 4G / 5G network for subsequent algorithm optimization and user behavior analysis.

[0087] Therefore, the safe driving method of this vehicle can have the following technical effects: 1. Reduce false alarm rate: Cross-validation of multi-sensor arrays and dynamic environmental correction reduce the false alarm rate; 2. Improve sampling accuracy: The directional sampling device increases the proportion of the driver's exhaled air and reduces the amount of ambient air mixed in, so the test results more accurately reflect the driver's condition; 3. Real-time and comprehensive: Combining driving behavior analysis, it covers scenarios such as "recently drinking but not exceeding the legal limit" and "driving after drinking"; 4. Linkage control potential: It can be linked with the vehicle's braking and steering systems (such as automatic deceleration in high-risk situations) to further enhance driving safety.

[0088] In summary, the safe driving method for a vehicle according to the embodiments of this application first collects the current driver's exhaled breath, detects the ethanol concentration in the exhaled breath, identifies the changes in parameters of the in-vehicle environment, corrects the ethanol concentration based on the parameter changes, and obtains the actual ethanol concentration of the exhaled breath. Driving is permitted when the actual ethanol concentration is less than or equal to a preset safety threshold. Therefore, this method corrects the detected ethanol concentration output by adjusting the parameters of the in-vehicle environment to reduce or offset detection errors caused by environmental interference, improves the accuracy of ethanol concentration detection and the consistency of detection under different environments, and provides a guarantee for safe driving.

[0089] This application also proposes a vehicle safety driving device, referring to... Figure 3 The vehicle's safety driving device may include: a data acquisition module 10, a detection module 20, and a control module 30.

[0090] The acquisition module 10 is used to acquire the current driver's exhaled breath; the detection module 20 is used to detect the ethanol concentration in the exhaled breath and identify the changes in parameters of the in-vehicle environment; the control module 30 is used to correct the ethanol concentration according to the changes in parameters to obtain the actual ethanol concentration in the exhaled breath, so that driving is allowed when the actual ethanol concentration is less than or equal to a preset safety threshold.

[0091] According to one embodiment of this application, the parameter changes include humidity changes, temperature changes, air pressure changes, and total volatile organic compound (TVOC) concentration changes. The control module 30 corrects the ethanol concentration based on the parameter changes to obtain the actual ethanol concentration of the exhaled gas. Specifically, it is used to: determine a target correction coefficient based on the humidity changes, temperature changes, and air pressure changes; correct the ethanol concentration based on the target correction coefficient to obtain a first concentration; and adjust the first concentration based on the TVOC concentration changes to obtain the actual ethanol concentration.

[0092] According to one embodiment of this application, the control module 30 determines a target correction coefficient based on the humidity change, temperature change, and air pressure change. Specifically, it is used to: determine the target correction coefficient based on the humidity change, temperature change, and air pressure change, including: obtaining the product of the humidity change and a first correction coefficient to obtain a first correction coefficient; obtaining the ratio between the temperature change and the initial temperature, and multiplying it with a second correction coefficient to obtain a second correction coefficient; obtaining the ratio between the air pressure change and the initial air pressure, and multiplying it with a third correction coefficient to obtain a third correction coefficient; and obtaining the sum of the first correction coefficient, the second correction coefficient, the third correction coefficient, and the initial correction coefficient to obtain the target correction coefficient.

[0093] According to one embodiment of this application, the control module 30 adjusts the first concentration based on the change in total volatile organic compound concentration to obtain the actual ethanol concentration. Specifically, it is used to: obtain the product of the change in total volatile organic compound concentration and the fourth correction coefficient to obtain the adjustment value of the adjusted concentration; and obtain the difference between the first concentration and the adjustment value to obtain the actual ethanol concentration.

[0094] According to one embodiment of this application, the vehicle includes multiple gas sensors. The detection module 20 detects the ethanol concentration in the exhaled gas, specifically for: identifying the ethanol concentration based on the gas detection signal output by one of the multiple gas sensors; and after obtaining the actual ethanol concentration, the control module 30 is further configured to: perform an effectiveness detection on the actual ethanol concentration based on the gas detection signals output by the remaining gas sensors among the multiple gas sensors; and if the actual ethanol concentration passes the effectiveness detection, perform an alcohol test on the driver based on the actual ethanol concentration.

[0095] According to one embodiment of this application, multiple gas sensors include a semiconductor sensor, an electrochemical sensor, and a catalytic combustion sensor. A detection module 20 identifies the ethanol concentration based on a gas detection signal output by one of the gas sensors. Specifically, it determines the ethanol concentration based on the current value output by the electrochemical sensor and a first calibration relationship, wherein the first calibration relationship characterizes the relationship between the current value and the ethanol concentration. A control module 30 performs validity detection on the actual ethanol concentration based on the gas detection signals output by the remaining gas sensors. Specifically, it determines that the actual ethanol concentration passes the validity detection when the resistance value output by the semiconductor sensor is exponentially negatively correlated with the actual ethanol concentration, and the voltage value output by the catalytic combustion sensor is linearly positively correlated with the actual ethanol concentration.

[0096] According to one embodiment of this application, when the actual ethanol concentration is less than or equal to a preset safety threshold, the control module 30 is further configured to: acquire vehicle operating data; determine a comprehensive risk value based on the operating data and the actual ethanol concentration; and generate a warning signal based on the risk range in which the comprehensive risk value is located.

[0097] According to one embodiment of this application, the operating data includes the current vehicle speed and historical turning frequency. The control module 30 determines a comprehensive risk value based on the operating data and the actual ethanol concentration. Specifically, it is used to: obtain the ratio between the actual ethanol concentration and the preset ethanol concentration, and multiply it by a first weighting coefficient to obtain a first risk value; obtain the ratio between the current vehicle speed and the preset vehicle speed, and multiply it by a second weighting coefficient to obtain a second risk value; obtain the ratio between the historical turning frequency and the preset turning frequency, and multiply it by a third weighting coefficient to obtain a third risk value; and obtain the sum of the first risk value, the second risk value, and the third risk value to obtain a comprehensive risk value.

[0098] It should be noted that for details not disclosed in the vehicle safety driving device of the embodiments of this application, please refer to the details disclosed in the vehicle safety driving method of the above embodiments of this application, which will not be repeated here.

[0099] The vehicle safety driving device according to an embodiment of this application collects the driver's exhaled breath through a data acquisition module, detects the ethanol concentration in the exhaled breath through a detection module, and identifies changes in parameters of the in-vehicle environment. A control module corrects the ethanol concentration based on these parameter changes to obtain the actual ethanol concentration in the exhaled breath. Driving is permitted when the actual ethanol concentration is less than or equal to a preset safety threshold. Therefore, this device corrects the detected ethanol concentration output by adjusting for changes in in-vehicle environmental parameters, reducing or offsetting detection errors caused by environmental interference, improving the accuracy of ethanol concentration detection, and ensuring consistency in detection under different environments, thus providing a guarantee for safe driving.

[0100] This application also proposes a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the safe driving method for a vehicle described in any embodiment of this application.

[0101] According to the embodiments of this application, a computer-readable storage medium storing a computer program that is executed by a processor implements the above-described method. Based on the above-described safe driving method for vehicles, it reduces or eliminates detection errors caused by environmental interference, improves the detection accuracy of ethanol concentration and the detection consistency under different environments, and provides a guarantee for safe driving of vehicles.

[0102] In this application, "multiple" refers to two or more.

[0103] In this application, unless otherwise expressly defined, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0104] The terms “first,” “second,” “third,” “fourth,” etc., in this application (if present) are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0105] In this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, in this application, the character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0106] Unless otherwise specified, all steps in this application may be performed sequentially or randomly. For example, if the method includes steps A and B, it means that the method may include steps A and B performed sequentially, or it may include steps B and A performed sequentially. For example, if the method may also include step C, it means that step C may be added to the method in any order. For example, the method may include steps A, B, and C, or it may include steps A, C, and B, or it may include steps C, A, and B, etc.

[0107] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A safe driving method for a vehicle, characterized in that, include: Collect the driver's exhaled breath; The concentration of ethanol in the exhaled breath is detected, and the changes in parameters of the in-vehicle environment are identified. The ethanol concentration is corrected based on the change in the parameter to obtain the actual ethanol concentration in the exhaled gas, so that driving is permitted if the actual ethanol concentration is less than or equal to a preset safety threshold.

2. The safe driving method according to claim 1, characterized in that, The parameter changes include humidity changes, temperature changes, air pressure changes, and total volatile organic compound (TVOC) concentration changes. The ethanol concentration is corrected based on these parameter changes to obtain the actual ethanol concentration of the exhaled gas, including: The target correction coefficient is determined based on the humidity change, the temperature change, and the air pressure change. The ethanol concentration is corrected according to the target correction coefficient to obtain a first concentration; The first concentration is adjusted based on the change in total volatile organic compound concentration to obtain the actual ethanol concentration.

3. The safe driving method according to claim 2, characterized in that, The target correction coefficient is determined based on the humidity change, the temperature change, and the air pressure change, including: The first correction coefficient is obtained by multiplying the humidity change by the first correction coefficient. The ratio between the temperature change and the initial temperature is obtained, and the product of this ratio and the second correction coefficient is used to obtain the second correction coefficient. The ratio between the pressure change and the initial pressure is obtained, and the product of this ratio and the third correction coefficient is used to obtain the third correction coefficient. The target correction coefficient is obtained by summing the first correction coefficient, the second correction coefficient, the third correction coefficient, and the initial correction coefficient.

4. The safe driving method according to claim 2, characterized in that, Adjusting the first concentration based on the change in total volatile organic compound concentration to obtain the actual ethanol concentration includes: The product of the change in total volatile organic compound concentration and the fourth correction coefficient is used to obtain the adjustment value of the concentration. The difference between the first concentration and the concentration adjustment value is obtained to obtain the actual ethanol concentration.

5. The safe driving method according to claim 1, characterized in that, The vehicle includes multiple gas sensors to detect the concentration of ethanol in the exhaled breath, including: The ethanol concentration is identified based on the gas detection signal output by one of the plurality of gas sensors; and After obtaining the actual ethanol concentration, the validity of the actual ethanol concentration is detected based on the gas detection signals output by the remaining gas sensors among the plurality of gas sensors; If the actual ethanol concentration passes the validity test, an alcohol test is performed on the driver based on the actual ethanol concentration.

6. The safe driving method according to claim 5, characterized in that, The plurality of gas sensors include semiconductor sensors, electrochemical sensors, and catalytic combustion sensors. The ethanol concentration is identified based on a gas detection signal output from one of the gas sensors, including: The ethanol concentration is determined based on the current value output by the electrochemical sensor and a first calibration relationship, wherein the first calibration relationship characterizes the relationship between the current value and the ethanol concentration; The effectiveness of detecting the actual ethanol concentration is performed based on the gas detection signals output by the remaining gas sensors among the plurality of gas sensors, including: If the resistance value output by the semiconductor sensor is exponentially negatively correlated with the actual ethanol concentration, and the voltage value output by the catalytic combustion sensor is linearly positively correlated with the actual ethanol concentration, then the actual ethanol concentration is determined to have passed the validity detection.

7. The safe driving method according to any one of claims 1-6, characterized in that, When the actual ethanol concentration is less than or equal to a preset safety threshold, the method further includes: Obtain vehicle operating data; A comprehensive risk value is determined based on the operational data and the actual ethanol concentration. An early warning signal is generated based on the risk range in which the comprehensive risk value falls.

8. The safe driving method according to claim 7, characterized in that, The operational data includes current vehicle speed and historical turning frequency. A comprehensive risk value is determined based on the operational data and the actual ethanol concentration, including: The first risk value is obtained by multiplying the ratio between the actual ethanol concentration and the preset ethanol concentration with the first weighting coefficient. The ratio between the current vehicle speed and the preset vehicle speed is obtained, and the product of this ratio and the second weighting coefficient is used to obtain the second risk value. The ratio between the historical turning frequency and the preset turning frequency is obtained, and the product of this ratio and the third weighting coefficient is used to obtain the third risk value. The sum of the first risk value, the second risk value, and the third risk value is obtained to obtain the comprehensive risk value.

9. A vehicle safety driving device, characterized in that, include: The data acquisition module is used to collect the current driver's exhaled breath. The detection module is used to detect the ethanol concentration in the exhaled gas and identify the changes in parameters of the in-vehicle environment. The control module is used to correct the ethanol concentration based on the change in the parameter to obtain the actual ethanol concentration of the exhaled gas, so that driving is permitted when the actual ethanol concentration is less than or equal to a preset safety threshold.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method described in any one of claims 1-8.