Vehicle-mounted blood alcohol detection method and system and storage medium

By utilizing multi-wavelength optical signal comparison technology and an on-demand triggering mechanism when the vehicle is started, the reliability and power consumption issues of existing in-vehicle alcohol detection are solved, and high-sensitivity and low-power blood alcohol concentration measurement in a vehicle environment is achieved.

CN120643219APending Publication Date: 2025-09-16王剑
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510769818.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-10
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

Existing in-vehicle alcohol detection technology is easily circumvented, has low reliability, and high power consumption. It is difficult to achieve high sensitivity and high stability in complex in-vehicle environments, especially under conditions of limited power supply, and is difficult to operate stably for a long time.

Method used

A light signal of a specific wavelength is used to illuminate the driver's body. By comparing the multi-wavelength harmonic absorption characteristics with the standard signal, the light wavelength offset position is accurately obtained and the blood alcohol concentration is measured. Combined with an on-demand triggering detection mechanism and an efficient signal processing algorithm, the system's standby power consumption is reduced.

Benefits of technology

It achieves accurate blood alcohol concentration measurement at the moment the vehicle is started, avoiding cheating and external interference, significantly improving the initiative and intelligence level of detection, while reducing system power consumption, and is suitable for vehicle environments with limited power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120643219A_ABST
    Figure CN120643219A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle-mounted blood alcohol detection method and system and a storage medium, and the method comprises the steps: selecting a first group of light signals with a specific wavelength to irradiate the body of a driver when the driver starts a vehicle; receiving a second group of optical signals reflected from the body of the driver, and processing the second group of optical signals to obtain a first group of electric signals; performing comparison operation on the first group of electric signals and a standard signal, and obtaining an optical wavelength offset position based on a comparison operation result; measuring the blood alcohol concentration of the driver according to the optical wavelength offset position; according to the technical scheme, cheating or external factor interference can be effectively avoided, the vehicle-mounted complex environment requirement is met, and the initiative and intelligent level of drunk driving prevention are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle safety technology, and in particular to a vehicle-mounted blood alcohol detection method, system and storage medium. Background Art

[0002] With increasingly stringent road traffic safety regulations, preventing and controlling drunk driving has become a key research area for intelligent transportation. Currently, mainstream in-vehicle alcohol detection technologies include breathalyzers, contact electrochemical sensors, and near-infrared spectroscopy systems. However, these existing technologies have significant limitations in practical application. Breathalyzers require the driver to actively cooperate with the test, making detection easily circumvented by others blowing on their behalf or through dilution with ambient gases. Furthermore, test results are susceptible to fluctuations in breathing intensity, residual gases, and temperature and humidity, resulting in low reliability. Contact electrochemical sensors can only detect alcohol volatiles in sweat on the skin's surface, which has a poor correlation with blood alcohol concentration. They are also susceptible to aging and exhibit large errors. Traditional near-infrared spectroscopy, limited by fixed-wavelength lasers, is susceptible to interference from absorption peaks such as water and hemoglobin in human tissue, resulting in a generally low signal-to-noise ratio and difficulty meeting the dual requirements of high sensitivity and stability in complex in-vehicle environments. Furthermore, existing in-vehicle alcohol detection solutions generally suffer from high energy consumption. For example, breathalyzer testing requires maintaining a high-power standby state for a long time to monitor user movements. Electrochemical sensors have the risk of continuous power consumption due to their always-on monitoring characteristics. Traditional near-infrared detection equipment often uses high-power lasers and continuous sampling processing. The overall system power consumption is large, making it difficult to operate stably for a long time in vehicle applications, especially when the vehicle is not started or the power supply is limited. Summary of the Invention

[0003] The embodiments of the present invention provide a vehicle-mounted blood alcohol detection method, system, and storage medium to solve the above technical problems.

[0004] A first aspect of an embodiment of the present invention provides a vehicle-mounted blood alcohol detection method, comprising:

[0005] When the driver starts the vehicle, a first group of light signals with a specific wavelength is selected to irradiate the driver's body;

[0006] receiving a second group of optical signals reflected from the driver's body, and processing the second group of optical signals to obtain a first group of electrical signals;

[0007] Performing a comparison operation on the first set of electrical signals and a standard signal, and obtaining an optical wavelength shift position based on the comparison operation result;

[0008] The driver's blood alcohol concentration is measured according to the light wavelength shift position.

[0009] Optionally, the first group of optical signals includes an optical signal transmitted at a first wavelength, an optical signal transmitted at a second wavelength, and an optical signal transmitted at a third wavelength;

[0010] When the driver starts the vehicle, a first set of light signals of a specific wavelength is selected and irradiated onto the driver's body, including:

[0011] When the driver's finger touches the start button, the first wavelength light signal, the second wavelength light signal and the third wavelength light signal are selected respectively, and the first wavelength light signal, the second wavelength light signal and the third wavelength light signal are cyclically emitted to the driver's finger in sequence.

[0012] Optionally, the light signal emitted at the first wavelength is used to detect the over-the-air absorption characteristics of the OH bond in the ethanol molecule;

[0013] The second wavelength emission light signal is used to detect the combined frequency absorption characteristics of the CH bonds in the methyl and / or methylene groups in the ethanol molecule;

[0014] The light signal emitted at the third wavelength is used to detect the stretching vibration combination frequency absorption characteristics of the CH bond in the long chain or aromatic group.

[0015] Optionally, the wavelength of the first wavelength optical signal is 1450 nm±0.2 nm, the wavelength of the second wavelength optical signal is 1368 nm±0.2 nm, and the wavelength of the third wavelength optical signal is 1730 nm±0.2 nm.

[0016] Optionally, receiving a second group of optical signals reflected from the driver's finger and processing the second optical signals to obtain a first group of electrical signals includes:

[0017] A first wavelength reflected light signal, a second wavelength reflected light signal, and a third wavelength reflected light signal reflected from the driver's finger are received respectively, and the first wavelength reflected light signal, the second wavelength reflected light signal, and the third wavelength reflected light signal are amplified and analog-to-digital converted respectively to obtain a first wavelength detection signal, a second wavelength detection signal, and a third wavelength detection signal.

[0018] Optionally, performing a comparison operation on the first set of electrical signals and a standard signal, and obtaining the optical wavelength shift position based on the comparison operation result, includes:

[0019] The harmonic amplitudes of the first wavelength detection signal, the second wavelength detection signal and the third wavelength detection signal are compared with the standard signal respectively, and the first optical wavelength offset position, the second optical wavelength offset position and the third optical wavelength offset position corresponding to the moment of the harmonic amplitude mutation are determined respectively.

[0020] Optionally, measuring the driver's blood alcohol concentration according to the light wavelength offset position includes:

[0021] Obtaining an estimated value of the OH bond concentration in the ethanol molecule, an estimated value of the first C-H bond concentration in the methyl and / or methylene groups in the ethanol molecule, and an estimated value of the second C-H bond concentration in the long chain or aromatic group according to the first light wavelength shift position, the second light wavelength shift position, and the third light wavelength shift position, respectively;

[0022] The OH bond concentration estimate value, the first CH bond concentration estimate value, and the second CH bond concentration estimate value are used to obtain a blood alcohol concentration through a preset data model.

[0023] Optionally, the vehicle-mounted blood alcohol detection method further includes:

[0024] When the blood alcohol concentration is higher than a preset threshold, the vehicle is prohibited from starting.

[0025] A second aspect of the embodiment of the invention provides a vehicle-mounted blood alcohol detection system, comprising a control module, a light transmitting module, a light receiving module, and a signal processing module;

[0026] When the driver starts the vehicle, the control module selects a first group of light signals of a specific wavelength and irradiates the first group of light signals onto the driver's finger through the light emitting module;

[0027] The light receiving module receives a second group of light signals reflected from the driver's finger;

[0028] The signal processing module processes the second group of optical signals to obtain a first group of electrical signals;

[0029] The control module performs a comparison operation on the first set of electrical signals and a standard signal, obtains a light wavelength shift position based on the comparison operation result, and measures the driver's blood alcohol concentration according to the light wavelength shift position.

[0030] According to a third aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the method according to the first aspect is implemented.

[0031] The technical effects of the embodiments of the present invention are as follows: The in-vehicle blood alcohol detection method provided by the present invention utilizes a light signal of a specific wavelength to illuminate and collect reflected signals from the driver's body while the driver starts the vehicle. By extracting multi-wavelength harmonic absorption characteristics and comparing them with standard signals, the optical wavelength offset position is accurately determined, and the driver's blood alcohol concentration is further determined. Compared with existing breath or sweat detection methods, this technical solution effectively avoids cheating or external interference, adapts to the complex needs of in-vehicle environments, and significantly enhances the proactive and intelligent level of drunk driving prevention. Furthermore, while improving detection accuracy and anti-interference capabilities, the embodiments of the present invention also fully consider the low-power requirements of in-vehicle applications. By employing an on-demand detection mechanism and an efficient signal processing algorithm based on harmonic extraction, the system's standby power consumption and average energy consumption during operation are significantly reduced. The detection process is triggered only when the driver starts the vehicle or touches the start button, effectively avoiding energy waste caused by inactive standby. Compared with existing solutions that require continuous power supply or long-term activation, this technical solution is more suitable for in-vehicle environments with limited power or long standby periods, and offers excellent energy efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0033] Figure 1 This is a flow chart of a vehicle-mounted blood alcohol detection method provided in Example 1 of the present invention;

[0034] Figure 2 This is a specific flow chart of step S103 in a vehicle-mounted blood alcohol detection method provided in Example 1 of the present invention;

[0035] Figure 3 This is a first structural diagram of a vehicle-mounted blood alcohol detection system provided by the second embodiment of the present invention;

[0036] Figure 4 This is a second structural diagram of a vehicle-mounted blood alcohol detection system provided by the second embodiment of the present invention;

[0037] Figure 5 This is a flow chart of a control method for a vehicle-mounted blood alcohol detection system provided by a second embodiment of the present invention;

[0038] Figure 6 is the waveform of the emitted light modulation;

[0039] Figure 7 It is the waveform diagram when the amplitude of the absorbed light harmonic suddenly increases;

[0040] Figure 8 is a structural diagram of an electronic device in one embodiment of the present invention;

[0041] In the figure: 101, control module; 102, light emitting module; 103, driver; 104, light receiving module; 105, signal processing module; 201, collimator; 202, optical splitter; 203, first photodetector; 204, analog-to-digital conversion module; 205, light emitting component; 206, TEC temperature control circuit; 207, digital-to-analog conversion module; 208, FPGA; 209, driver's finger; 210, first filter; 211, second filter; 212, third filter; 213, second photodetector; 214, third photodetector; 215, fourth photodetector; 216, signal processing module; 217, MCU. DETAILED DESCRIPTION

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without inventive effort shall fall within the scope of protection of the present invention.

[0043] It should be understood that the present invention can be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to make the disclosure thorough and complete and to fully convey the scope of the invention to those skilled in the art. In the drawings, the dimensions and relative dimensions of layers and regions may be exaggerated for clarity. Like reference numerals denote like elements throughout.

[0044] It should be understood that when an element or layer is referred to as being "on," "adjacent to," "connected to," or "coupled to" another element or layer, it may be directly on, adjacent to, connected to, or coupled to the other element or layer, or there may be intervening elements or layers. Conversely, when an element is referred to as being "directly on," "directly adjacent to," "directly connected to," or "directly coupled to" another element or layer, there may be no intervening elements or layers. It should be understood that although the terms first, second, third, etc. may be used to describe various elements, components, regions, layers, and / or parts, these elements, components, regions, layers, and / or parts should not be limited by these terms. These terms are merely used to distinguish one element, component, region, layer, or part from another element, component, region, layer, or part. Thus, a first element, component, region, layer, or part discussed below may be represented as a second element, component, region, layer, or part without departing from the teachings of the present invention.

[0045] The purpose of the terms used herein is only to describe specific embodiments and is not intended to limit the present invention. When used herein, the singular forms "a", "an", and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "comprising" and / or "comprising", when used in this specification, determine the presence of the features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.

[0046] In order to fully understand the present invention, detailed structures and steps will be provided in the following description to illustrate the technical solutions proposed by the present invention. Preferred embodiments of the present invention are described in detail below. However, in addition to these detailed descriptions, the present invention may also have other implementations.

[0047] Example 1

[0048] This embodiment provides a method for detecting blood alcohol in a vehicle. Figure 1 As shown, including:

[0049] Step S101: When the driver starts the vehicle, a first group of light signals of a specific wavelength is selected to irradiate the driver's body.

[0050] Step S102: Receive a second group of optical signals reflected from the driver's body, and process the second group of optical signals to obtain a first group of electrical signals.

[0051] Step S103: performing a comparison operation on the first set of electrical signals and the standard signal, and obtaining the optical wavelength shift position based on the comparison operation result.

[0052] Step S104: Measure the driver's blood alcohol concentration based on the light wavelength shift position.

[0053] In step S101, the moment the driver presses the push-to-start button, the laser emission module activates, emitting a modulated laser light signal of a specific wavelength. The first set of light signals can be one or more beams. The light signal is directed through a light exit window to the location where the driver presses the push-to-start button, allowing the laser light to penetrate the surface of the driver's finger skin and act on the capillary blood. Preferably, the first set of light signals comprises three tunable laser signals of specific wavelengths: 1368nm, 1450nm, and 1730nm, corresponding to the characteristic absorption bands of the C-H and OH bonds in ethanol molecules, respectively. The laser is a tunable semiconductor laser, modulated using a sawtooth superimposed sine wave with a modulation frequency between 2kHz and 10kHz, and an output power of less than 5mW, meeting eye safety standards. Alternatively, multiple fixed-wavelength lasers can be used, or a MEMS raster scanning module can be employed to select specific wavelengths from a broadband near-infrared light source. The laser and its driver circuit can be integrated into the push-to-start button or dashboard module.

[0054] Among them, in step S102, after laser irradiation, the signal reflected by the blood in the driver's finger (i.e., the second group of light signals) is received by the photodetector and converted into an electrical signal. The signal is sequentially processed by signal amplification, analog-to-digital conversion and harmonic extraction. The output obtained is the first group of electrical signals, which can effectively suppress background noise and environmental interference. Preferably, after the reflected light signal is collected by the photodetector, it is first amplified by a transimpedance amplifier, and then the second harmonic component is extracted by a phase-locked amplifier, and the first group of electrical signals is generated by an analog-to-digital conversion circuit. The detection system adopts a dual-optical path structure, in which a part of the laser is directly sent to the reference detector for laser power compensation and stability control. Optionally, a single optical path configuration can be used in combination with a software algorithm for reference compensation; the extraction of the first group of electrical signals can use algorithms such as fast Fourier transform (FFT) instead of the phase-locked amplification method.

[0055] like Figure 6 and Figure 7 As shown, it is a comparison diagram of the emission light modulation waveform and the moment when the amplitude of the absorbed light harmonics suddenly increases. Figure 6 The horizontal axis T is the cycle scanning time, the vertical axis I is the laser driving current, W1 is a sawtooth wave, and W2 is a high-frequency sine wave. Figure 7The horizontal axis T represents the cycle scan time, the vertical axis P represents the received power of the transmitted light, K0 represents the wavelength position corresponding to zero concentration, K1 represents the wavelength offset, and K2 represents the position of the second harmonic burst. The transmission modulation scheme for the first through third wavelength optical signals all employs a "sawtooth wave superimposed on a sine wave" pattern. To identify the moments when the harmonic amplitudes of the three absorbed optical powers suddenly increase and determine the corresponding repeating positions of the three modulated optical signals, the following method is employed: the laser wavelength is slowly scanned using a driving current (e.g., a triangle wave or sawtooth wave) to cover the alcohol absorption spectrum, while simultaneously superimposing a high-frequency sinusoidal modulation signal (typically in the range of a few kHz to a few MHz, preferably 2kHz-10kHz). The three modulated lasers of different wavelengths alternately illuminate the target, generating high-frequency oscillations near the center of the alcohol absorption line at a specific concentration, resulting in periodic variations in light intensity. When the laser wavelength is modulated to near the alcohol absorption line, the reflected light intensity exhibits nonlinear variations due to alcohol's absorption of specific wavelengths. This nonlinear response manifests in the frequency domain as higher harmonics of the modulation frequency (such as the second and third harmonics). After performing phase-locked amplification or Fourier transform (FFT) processing on the received optical signal, a sudden increase in the second harmonic (2f) amplitude can be observed. The second harmonic is most sensitive to the center of the absorption line and effectively suppresses low-frequency noise such as laser intensity fluctuations and environmental interference. This sudden increase in harmonic amplitude corresponds to a specific moment in the modulation cycle, which can be further converted into the corresponding optical wavelength offset position in the three modulation waveforms.

[0056] Wherein, in step S103, the standard signal may come from the reference optical path of the laser or the system's built-in database. The amplitude of the third group of signals is compared with the standard signal, and the change in harmonic amplitude in the modulation period corresponding to each wavelength is analyzed. When a sudden change (rapid increase) in the harmonic amplitude is detected, the wavelength corresponding to the modulation moment is determined to be the absorption center wavelength of the band, and recorded as the optical wavelength offset position. Preferably, the first group of optical signals is received as the standard signal, and the amplitude mutation point is identified by comparing the deviation between the actual harmonic amplitude and the standard signal in each modulation period. The modulation moment corresponding to the mutation point can be converted into the actual wavelength offset position, which is recorded as the first optical wavelength offset position, the second optical wavelength offset position and the third optical wavelength offset position respectively. Optionally, a pattern recognition algorithm such as a convolutional neural network or a support vector machine can be used to automatically identify the absorption peak; the mutation point can be obtained by first-order derivative or gradient function analysis; and the wavelength offset conversion can be implemented by using an interpolation function or a lookup table.

[0057] Among them, in step S104, according to the above-mentioned at least one wavelength offset position and the corresponding absorption amplitude, the standard database of ethanol concentration and absorption characteristics is consulted, or it is input into a pre-trained mathematical model (such as partial least squares regression PLS) to eliminate interfering factors such as water, blood sugar, and blood lipids to obtain the actual ethanol concentration value in the blood. If the measured concentration value exceeds a preset threshold, the vehicle ignition start can be prevented by the controller. Preferably, according to the absorption amplitude corresponding to the wavelength offset position, the concentration database is consulted to obtain the concentration characteristic value of the CH bond and the OH bond in the ethanol molecule, and it is input into a multivariate regression model (such as partial least squares PLS or principal component analysis PCA) to obtain the blood alcohol concentration. If the concentration exceeds the set threshold, the vehicle ECU can be controlled to prohibit startup via the CAN bus. Alternatively, models such as linear regression, polynomial fitting or BP neural network can be used to complete the concentration calculation. The results can be used for startup control and can also be uploaded to a remote system for behavior recording or accident evidence collection.

[0058] The technical solution provided by this first embodiment provides the following technical benefits: It utilizes a specific wavelength of light to illuminate and capture finger reflection signals while the driver starts the vehicle. By extracting multi-wavelength harmonic absorption characteristics and comparing them with standard signals, the optical wavelength offset position is accurately determined, and the driver's blood alcohol concentration is further determined. Compared to existing breath or sweat detection methods, this technical solution effectively avoids cheating or external interference, adapts to the complex demands of in-vehicle environments, and significantly enhances the proactive and intelligent level of drunk driving prevention. Furthermore, while improving detection accuracy and anti-interference capabilities, this embodiment of the present invention also fully considers the low-power requirements of in-vehicle applications. By employing an on-demand detection mechanism and an efficient signal processing algorithm based on harmonic extraction, the system significantly reduces standby power consumption and average energy consumption during operation. The detection process is triggered only when the driver starts the vehicle or touches the start button, effectively avoiding energy waste caused by inactive standby. Compared to existing solutions that require continuous power or prolonged activation, this technical solution is more suitable for in-vehicle environments with limited power or long standby periods, offering excellent energy efficiency.

[0059] In one embodiment, the first group of optical signals includes an optical signal emitted at a first wavelength, an optical signal emitted at a second wavelength, and an optical signal emitted at a third wavelength. In step S101, the first group of optical signals having a specific wavelength is selected and irradiated onto the driver's finger, including:

[0060] The first wavelength emission light signal, the second wavelength emission light signal and the third wavelength emission light signal are respectively selected and cyclically emitted to the driver's finger in sequence.

[0061] Among them, the first wavelength emission light signal is used to detect the broadband absorption characteristics of the OH bond in the ethanol molecule; the second wavelength emission light signal is used to detect the combined frequency absorption characteristics of the CH bond in the methyl (CH3) and / or methylene (–CH2) in the ethanol molecule; the third wavelength emission light signal is used to detect the combined frequency absorption characteristics of the stretching vibration of the CH bond in the long chain or aromatic group.

[0062] Preferably, the first wavelength is 1450nm±0.2nm, located at the overtone absorption peak of the OH bond, reflecting the hydroxyl absorption characteristics in ethanol. The second wavelength is 1368nm±0.2nm, corresponding to the combined frequency absorption characteristics of the C-H bond, identifying the CH3 / CH2 signature. The third wavelength is 1730nm±0.2nm, enhancing the specific recognition of long-chain structures or aromatic C-H absorption in ethanol, thereby increasing the discriminative dimension of the detection model. In actual operation, the three wavelengths of optical signals are generated by a laser emission module, preferably using a tunable semiconductor laser (such as a DFB or VCSEL) to generate the three wavelengths. The system controller modulates the output of each wavelength sequentially, achieving a cyclic transmission cycle, that is, transmitting from 1450nm to 1368nm to 1730nm, and then repeating the cycle. This transmission process forms a time-division multiplexed sequence under the control of a drive signal. Within the modulation period of each wavelength, a modulation signal consisting of a sawtooth wave superimposed on a sine wave is embedded, with a modulation frequency preferably between 2kHz and 10kHz, for subsequent harmonic extraction.

[0063] The technical advantage of this embodiment lies in the highly selective detection of ethanol molecules by sequentially illuminating the driver's finger with a multi-wavelength near-infrared laser, combined with the characteristic absorption bands of the OH and C-H bonds. Joint modeling of the three-wavelength signals effectively eliminates interfering substances such as water, blood sugar, and lipids, enabling noninvasive and rapid blood alcohol concentration measurement. Compared to traditional breath-based or electrochemical sweat sensors, this invention offers greater accuracy, security, and anti-cheating capabilities, making it particularly suitable for active drunk driving identification and control in vehicle environments.

[0064] In one embodiment, receiving a second group of optical signals reflected from the driver's finger and processing the second optical signals to obtain a first group of electrical signals includes:

[0065] The first wavelength reflected light signal, the second wavelength reflected light signal and the third wavelength reflected light signal reflected from the driver's finger are received respectively, and the first wavelength reflected light signal, the second wavelength reflected light signal and the third wavelength reflected light signal are amplified and analog-to-digital converted respectively to obtain a first wavelength detection signal, a second wavelength detection signal and a third wavelength detection signal.

[0066] After the laser transmitter module sequentially transmits light signals of different wavelengths to the driver's finger, the system receives the light signals reflected by the finger tissue through the integrated optical receiver module, forming a second set of light signals. The second set of light signals includes: a first wavelength reflected light signal (reflected from 1450nm light); a second wavelength reflected light signal (reflected from 1368nm light); and a third wavelength reflected light signal (reflected from 1730nm light). The reflected light signals of the above three wavelengths are received and processed separately in sequence. The specific process is as follows: each reflected light signal is first received by a photodetector within the corresponding wavelength response range; the received light signal is converted into a weak current signal, and then primary amplified by a transimpedance amplifier (TIA) or other linear amplifier circuit; the amplified analog voltage signal is input into an analog-to-digital converter (ADC) for high-precision sampling and digitization processing to form an electrical signal waveform. Finally, the following three sets of digital signal outputs are obtained: the first wavelength detection signal: corresponding to the 1450nm reflection path; the second wavelength detection signal: corresponding to the 1368nm reflection path; and the third wavelength detection signal: corresponding to the 1730nm reflection path. Each set of detected light signals represents the variation of reflected light intensity at its corresponding wavelength over time or modulation period, including the characteristic drop in light intensity due to ethanol absorption. To further improve the signal-to-noise ratio and enhance detection sensitivity, this embodiment preferably uses a lock-in amplifier to extract the 2f harmonic amplitude as a basis for subsequent feature analysis, enabling wavelength shift identification and alcohol concentration inversion.

[0067] The technical advantage of this embodiment is that by amplifying and performing analog-to-digital conversion on each wavelength's reflected signal, it enables parallel, high-fidelity detection of multi-wavelength optical signals, providing a high-quality data foundation for subsequent harmonic analysis and absorption feature extraction. This technical solution offers advantages such as fast signal response, strong interference resistance, and high adaptability. It is particularly suitable for accurately capturing subtle changes in reflected signals in an in-vehicle environment, significantly improving the sensitivity and accuracy of blood alcohol concentration detection.

[0068] As an implementation mode, a comparison operation is performed on the first group of electrical signals and the standard signal, and the optical wavelength offset position is obtained based on the comparison operation result, including: comparing the harmonic amplitudes of the first wavelength detection signal, the second wavelength detection signal, and the third wavelength detection signal with the standard signal, and determining the first optical wavelength offset position, the second optical wavelength offset position, and the third optical wavelength offset position corresponding to the moment of the harmonic amplitude mutation.

[0069] Among them, the first group of electrical signals includes three groups of digital signals formed under different wavelength reflection paths, namely: a first wavelength detection signal (corresponding to 1450nm); a second wavelength detection signal (corresponding to 1368nm); and a third wavelength detection signal (corresponding to 1730nm). In this embodiment, the three groups of detection optical signals are respectively compared with the standard signals obtained by collecting the emission signal for harmonic amplitude comparison, and the wavelength offset position is extracted, which specifically includes the following steps: obtaining the standard signal: the standard signal is a reference curve of the harmonic amplitude of each wavelength optical signal pre-collected in an alcohol-free state, which represents the benchmark response of the harmonic change with the modulation period under ideal conditions; harmonic amplitude comparison processing: performing phase-locked amplification on the first wavelength detection signal to extract the second harmonic (2f) amplitude component; performing differential comparison on the harmonic curve with the first wavelength standard signal to analyze its response curve change with the modulation period; finding the amplitude mutation point in the curve (the position with the most obvious increase), and the modulation moment corresponding to the point is converted into the first optical wavelength offset position; similarly, performing the same processing on the second wavelength detection signal and the third wavelength detection signal, respectively, to extract the second optical wavelength offset position and the third optical wavelength offset position, respectively. Offset position conversion mechanism: The modulation moment (or phase) at each harmonic mutation point can be converted to its actual wavelength value using a system calibration function. This yields the following: the first wavelength offset position (λ1 offset); the second wavelength offset position (λ2 offset); and the third wavelength offset position (λ3 offset). These three sets of wavelength offset data are used for subsequent table lookup or modeling to infer the absorption characteristics and concentration information of ethanol molecules.

[0070] The technical benefits of this embodiment are as follows: by comparing the harmonic amplitudes of each set of detection light signals with the corresponding standard signal and extracting the wavelength offset corresponding to the moment of amplitude mutation, the present invention can accurately identify the spectral response characteristics caused by ethanol absorption, significantly improving the system's resolution and stability for low-concentration alcohol signals. Furthermore, this method exhibits excellent resistance to background noise and enables dynamic compensation and precise determination based on parallel processing of multiple wavelength channels. This establishes a high-quality input data foundation for subsequent concentration inversion, and overall enhances the reliability and safety of the detection system.

[0071] As an embodiment, measuring the driver's blood alcohol concentration based on the light wavelength shift position includes:

[0072] Step S201. Obtain an estimated value of the OH bond concentration in the ethanol molecule, an estimated value of the first CH bond concentration in the methyl and / or methylene groups in the ethanol molecule, and an estimated value of the second CH bond concentration in the long chain or aromatic group based on the first light wavelength offset position, the second light wavelength offset position, and the third light wavelength offset position.

[0073] Step S202: Obtaining the blood alcohol concentration by using the OH bond concentration estimate, the first CH bond concentration estimate, and the second CH bond concentration estimate through a preset data model.

[0074] Among them, in step S201, the first light wavelength offset position corresponds to the 1450nm band, reflecting the first overtone absorption of the OH bond in the ethanol molecule, and obtaining the estimated value of the OH bond concentration by table lookup or fitting; the second light wavelength offset position corresponds to the 1368nm band, reflecting the combined overtone absorption of the CH bonds of methyl (CH3) and / or methylene (CH2) in ethanol, and obtaining the first estimated value of the CH bond concentration; the third light wavelength offset position corresponds to the 1730nm band, reflecting the CH bond stretching vibration characteristics of the long chain or aromatic structure in ethanol, and obtaining the second estimated value of the CH bond concentration.

[0075] Among them, in step S202, the above-mentioned concentration estimation value is a reference model result determined based on the amplitude and modulation position, and can be converted through an interpolation table, an empirical function or a fitting function to form the following data structure input: [C_OH, C_CH1, C_CH2].

[0076] This embodiment preferably adopts a multivariate mathematical modeling method, such as partial least squares regression (PLS) or principal component analysis (PCA); the model structure is pre-calibrated based on a large number of samples of known concentration to establish a mapping relationship between absorption eigenvalues ​​and actual ethanol concentration (BAC); the system inputs the vector into the model and outputs the final blood alcohol concentration estimate. If the test result exceeds the set threshold (such as 0.02%), the controller can further send a prohibition start command to the vehicle ECU or upload the record to the cloud platform.

[0077] As an example, assume that after the driver presses the one-touch start button, the system completes the three-wavelength reflection signal detection and obtains the following harmonic amplitude mutation results:

[0078] For the first wavelength offset (1450 nm), the 2f harmonic amplitude is 0.0071; for the second wavelength offset (1368 nm), the 2f harmonic amplitude is 0.0053; and for the third wavelength offset (1730 nm), the 2f harmonic amplitude is 0.0047. By consulting the preset absorption amplitude-concentration mapping table, the following calculations are obtained: the OH bond concentration estimate C_OH = 0.032 (unit: relative concentration unit); the first CH bond concentration estimate C_CH1 = 0.021; and the second CH bond concentration estimate C_CH2 = 0.017. This feature vector [0.032, 0.021, 0.017] is then input into a locally deployed partial least squares regression (PLS) model, resulting in the following model structure:

[0079] BAC=a1×C_OH+a2×C_CH1+a3×C_CH2+b;

[0080] Where a1 = 1.6, a2 = 0.9, a3 = 1.2, b = 0.004;

[0081] Calculation result: BAC = 1.6 × 0.032 + 0.9 × 0.021 + 1.2 × 0.017 + 0.004 = 0.0512;

[0082] Output test results: The driver's blood alcohol concentration (BAC) is 0.051%. Since it exceeds the specified threshold (for example, the specified threshold is set to 0.02%), the controller immediately sends an ignition / power-off control command to the vehicle ECU and uploads the test data to the remote server to complete the violation record.

[0083] The technical effect of this embodiment is that by converting light absorption shift information at multiple wavelengths into concentration estimates of key functional groups in ethanol molecules and combining it with a multivariate model for comprehensive judgment, this technical solution can achieve accurate, stable, and real-time inversion of blood alcohol concentration in complex vehicle environments; compared with traditional single-point or single-wavelength detection methods, this technical solution has stronger anti-interference ability, higher fitting accuracy, and wider adaptability, and can significantly improve the intelligence level and safety of the entire vehicle system in the prevention and control of drunk driving.

[0084] In a preferred embodiment, the in-vehicle blood alcohol detection method also includes dynamic control of the laser's operating state based on the vehicle's power status, ambient lighting conditions, and driver behavior. If the vehicle is detected to be in an unpowered or low-voltage state, the laser's standby power is reduced or it enters sleep mode. Only when the driver presses the start button and the external environment meets a preset light threshold does the laser of the corresponding wavelength activate and emit a detection light signal. This mechanism effectively avoids inefficient power consumption during non-detection periods, significantly improving the overall system's energy efficiency and adaptability to in-vehicle integration.

[0085] In this embodiment, the laser current drive module has the ability to be controlled in real time. The system reads the current power status of the vehicle through the vehicle bus and makes a judgment based on the external environment brightness information collected by the light sensor:

[0086] When it is detected that the vehicle is not fully powered on, or the current ambient brightness is not sufficient to ensure the accuracy of spectrum detection, the control module suspends laser emission and enters a low-power standby state;

[0087] When it is detected that the driver's finger touches the start button and the vehicle system enters the startup state, and the ambient light intensity is greater than the preset threshold, the power consumption management module controls the laser to start emitting according to the set wavelength and sequence.

[0088] Optimally, this control process employs state-machine-based energy scheduling logic, setting short windows before and after laser emission to ensure close synchronization between the detection process and the power activation window, thus avoiding unnecessary continuous emission. Actual tests have shown that adopting this dynamic power management strategy can reduce the system's standby power consumption under standard operating conditions to approximately 30% of the original design, effectively improving power resource utilization and making it particularly suitable for in-vehicle integration applications on hybrid or all-electric platforms.

[0089] Example 2

[0090] This second embodiment provides an in-vehicle blood alcohol detection system, including a control module 101, an optical transmitter module 102, an optical receiver module 104, and a signal processing module 105. When a driver 103 starts the vehicle, the control module 101 selects a first group of optical signals of a specific wavelength and irradiates the first group of optical signals onto the body of the driver 103 via the optical transmitter module 102. The optical receiver module 104 receives a second group of optical signals reflected from the body of the driver 103. The signal processing module 105 processes the second group of optical signals to obtain a first group of electrical signals. The control module 101 compares the first group of electrical signals with a standard signal, obtains an optical wavelength offset position based on the comparison result, and measures the blood alcohol concentration of the driver 103 based on the optical wavelength offset position.

[0091] The control module 101 serves as the system's core instruction processing unit, typically a microcontroller unit (MCU) or dedicated control chip. When the detection process is initiated (e.g., when the driver presses the start button), the control module 101 activates the detection logic. It sends a control signal to the optical transmitter module 102, sequentially dispatching lasers of different wavelengths to emit optical signals. It also coordinates data exchange, time synchronization, wavelength modulation, and detection and judgment among the modules. Finally, the data returned by the signal processing module 105 is subjected to standard signal comparison, wavelength offset calculation, concentration inversion analysis, and a determination of whether the start conditions have been met. The optical transmitter module 102 includes multiple tunable lasers (e.g., VCSELs, DFBs, etc.) for generating laser signals in the near-infrared range. Three wavelengths are preferably set: 1368nm, 1450nm, and 1730nm, respectively, to detect the absorption characteristics of the C-H and OH bonds in ethanol molecules. The lasers are excited by the control module in a set sequence, generating a periodic, tunable, multi-wavelength light output. The lasers are irradiated through an optical collimation structure onto the skin surface of the driver's finger where the start button is pressed. Some of the light penetrates the tissue and interacts with ethanol molecules in the blood. The optical receiving module 104 is composed of multiple photodetectors, or uses a combination of timing control and optical filters to achieve multi-wavelength time-sharing detection. It receives the second set of optical signals reflected from the driver's finger and converts the optical signals into analog current / voltage signals, which are then output to the signal processing module. The signal processing module 105 receives the analog signals from the optical receiving module 104 and performs the following processes: amplification: increasing the signal amplitude using a low-noise amplifier (LNA / TIA); analog-to-digital conversion: sampling the analog signal using an analog-to-digital converter to form a digitized waveform; and harmonic extraction: extracting the second harmonic (2f) amplitude at each wavelength using a lock-in amplifier or algorithm to form a first set of electrical signals. This first set of electrical signals contains the absorption characteristic amplitudes corresponding to multiple wavelengths, which are used for subsequent comparison and analysis. The control module 101 compares the first set of electrical signals with a preset standard signal curve; analyzes the harmonic amplitude mutation point corresponding to each wavelength to determine the first light wavelength offset position, the second light wavelength offset position, and the third light wavelength offset position; obtains an estimated OH bond concentration, a first CH bond concentration, and a second CH bond concentration based on a table lookup or fitting of the offset positions; inputs a preset multivariate regression model to calculate the final blood alcohol concentration (BAC); if the threshold value (such as 0.02%) is exceeded, the vehicle ECU is controlled via the CAN bus to prohibit ignition, and the record can be uploaded via the T-Box.

[0092] As an example, Figure 4As shown, the vehicle-mounted blood alcohol detection system includes: a collimator 201, an optical splitter 202, a first photodetector 203, an analog-to-digital conversion module 204, a light emitting component 205, a TEC temperature control circuit 206, a digital-to-analog conversion module 207, an FPGA 208, a driver's finger 209, a first filter 210, a second filter 211, a third filter 212, a second photodetector 213, a third photodetector 214, a fourth photodetector 215, a signal processing module 216, and an MCU 217. The light emitting component 205 integrates an optical device comprising three wavelength-tunable semiconductor lasers (DFB laser diodes). The tunable wavelength ranges of the three lasers are: 1368nm±0.2nm, 1450nm±0.2nm, and 1730nm±0.2nm, respectively; the output power is less than 5mW (in compliance with the IEC 60825-1 eye safety standard). The digital-to-analog conversion module 207 and FPGA 208 form a driver circuit with a built-in current modulator (sawtooth wave + sine wave superposition), a modulation frequency of 1-10 kHz, and a wavelength scanning range of ±0.2 nm. Three wavelength modulated lasers are focused on the finger's epidermis via a collimating lens (spot diameter ≤ 1 mm). The reflected light signals are detected by three photodetectors: a second photodetector 213, a third photodetector 214, and a fourth photodetector 215. A small proportion (e.g., 10%) of the original modulated laser light is split off by an optical splitter to generate a reference light beam, which is then sent to the first photodetector 203 for detection and converted by the analog-to-digital conversion module 204. The center wavelengths of the first filter 210, the second filter 211, and the third filter 212 are 1368 nm ± 2 nm, 1450 nm ± 2 nm, and 1730 nm ± 2 nm, respectively, matching the absorption peak of ethanol and having a bandwidth of < 5 nm. Signal processing unit module 216 is responsible for amplification, analog-to-digital conversion, and harmonic extraction. A lock-in amplifier can be used to extract the second harmonic (2f) signal and suppress background noise (improving the signal-to-noise ratio by >30dB). MCU 216 uses absorbance data from three wavelengths to establish mathematical models (such as PLS regression and principal component analysis) for calculations. This eliminates interfering factors such as water, blood sugar, and blood lipids, enabling accurate alcohol concentration determination. The vehicle linkage module communicates with the MCU via the CAN bus. If the blood alcohol concentration in the finger exceeds the legal threshold, the vehicle is locked and the violation data is uploaded to the cloud management platform via the vehicle's T-Box.

[0093] like Figure 5 As shown, the alcohol concentration detection signal processing flow is as follows:

[0094] 1) Triggering stage: When the driver's finger touches the start button, laser liveness detection and the PPG sensor detect the finger's blood vessel pulse signal to activate the alcohol concentration detection system.

[0095] 2) Wavelength Scanning: The laser emits a modulated wavelength beam that penetrates the epidermis (depth 0.2-0.5mm) and scans the ethanol absorption spectrum. Three wavelength modulated light signals are emitted in a cycle, and the reflected light signal from the finger is simultaneously detected.

[0096] 3) Signal Extraction: The reflected light is converted into an electrical signal by the second photodetector 213, the third photodetector 214, and the fourth photodetector 215. After amplification and analog-to-digital conversion, the data is compared with the analog-to-digital conversion data of the reference light. A lock-in amplifier separates the 2f component to eliminate ambient light and motion artifacts. The first filter 210 (processing 1368nm±2nm optical signals) works in conjunction with the second photodetector 213, the second filter 211 (processing 1450nm±2nm optical signals) works in conjunction with the third photodetector 214, and the third filter 212 (processing 1730nm±2nm optical signals) works in conjunction with the fourth photodetector 215. The three sets of optical receiving circuits correspond to the wavelengths of the transmitted light and are powered on in turn. The narrowband filters effectively filter out stray light interference outside the test wavelength.

[0097] 4) Concentration calculation: The reflected light is amplified and the analog-to-digital conversion data is compared with the reference light analog-to-digital conversion data. The comparison operation finds the three moments when the absorption light power (harmonic amplitude) suddenly increases, which correspond to the corresponding repeated positions of the three modulated light signals. The table can be looked up to obtain the emission light wavelength offset positions corresponding to the repeated positions on the three modulated light signals. The table can be looked up to obtain the OH bond and CH bond concentration value data in the ethanol molecule corresponding to the three emission light wavelength offset positions. Using the OH bond and CH bond concentration value data obtained from the test, a mathematical model (such as PLS regression, principal component analysis) is established through the absorbance data of the three wavelengths for calculation. Interference factors such as water, blood sugar, and blood lipids can be eliminated to achieve accurate determination of alcohol concentration. The calculation needs to dynamically compensate for skin temperature (through the infrared temperature measurement module) and compensate for the influence of stratum corneum thickness (based on the user's registered fingerprint information).

[0098] 5) Control decision: If the blood alcohol concentration exceeds the standard, the start button-associated LED or the corresponding warning area on the vehicle display turns red to warn. At the same time, the MCU communicates with the vehicle ECU via the CAN bus to issue an alarm, and the ECU cuts off the power supply to the fuel pump.

[0099] Among them, this technical solution also has the following characteristics:

[0100] 1. Near-infrared spectral characteristics of alcohol molecules. Ethanol (C2H5OH) molecules contain OH bonds (hydroxyl groups) and CH bonds (methyl and methylene groups). Their near-infrared absorption peaks are mainly generated by the following vibration modes:

[0101] OH bond stretching vibration overtone: corresponding to 1450nm (about 6900cm -1), mainly originating from the first overtone absorption of hydroxyl (-OH).

[0102] The stretching vibration combination frequency of the C-H bond corresponds to 1368 nm (about 7300 cm -1 ), corresponding to the CH bond combination frequency absorption of methyl (CH3) or methylene (CH2).

[0103] The stretching vibration combination frequency of the C-H bond corresponds to 1730nm (about 5780cm -1 ), corresponding to the combined frequency absorption of the stretching vibration of long chains or aromatic CH bonds.

[0104] 2. Advantages of multi-wavelength combined detection: A single wavelength may be subject to interference or lack specificity, while combining three wavelengths can significantly improve detection accuracy and anti-interference capabilities:

[0105] (1) 1450nm (OH bond), directly detects the hydroxyl group (-OH) in ethanol and is the core characteristic peak of alcohol concentration. The OH bond of water (H2O) also absorbs here, which may interfere with ethanol detection and requires differentiation by other wavelengths.

[0106] (2) 1368nm and 1730nm (CH bond). 1368nm reflects the CH bond vibration of methyl (CH3) and methylene (CH2) in ethanol, which is directly related to the carbon chain structure. 1730nm enhances the specific response to complex CH bonds (such as long-chain hydrocarbons), helping to eliminate interference from other CH-containing substances (such as oils and fats). The change in the absorption intensity of the CH bond can indirectly reflect the ethanol concentration (because the CH bond content in the ethanol molecule is fixed). Combined with the response of OH and CH, ethanol can be distinguished from water or other hydroxyl / hydrocarbon-containing substances (such as methanol and isopropanol).

[0107] 3. Multivariate modeling and concentration inversion. Using absorbance data at three wavelengths to establish mathematical models (such as PLS regression and principal component analysis) allows for accurate concentration prediction. For example, if high absorbance is detected at 1450nm but no response at 1368nm or 1730nm, it is likely water rather than ethanol. The combination of three wavelengths covers the various vibrational modes of ethanol, improving sensitivity for low-concentration detection. The model must be trained with ethanol samples of known concentration to correlate absorbance with concentration.

[0108] This technical solution reduces the detection limit to 0.001% (10ppm) through wavelength modulation and harmonic detection technology, far exceeding the 0.01% of breath-based devices. The reference detector (PD1) monitors the laser output fluctuation in real time to achieve light source drift compensation (accuracy improvement ≥50%). The optical characteristics of the user's fingerprint (such as melanin absorption rate and epidermal thickness) are pre-stored, and the influence of individual differences is reduced through machine learning (such as SVM classifier). Utilizing the existing three-wavelength laser emission and light receiving circuit, the pulse wave detection (photoplethysmography, PPG) algorithm is integrated at no additional cost to ensure that the detection object is a live finger and avoid cheating with artificial samples.

[0109] In a preferred embodiment, the system further includes a power management module that dynamically controls the laser's operating state based on the vehicle's power-on status, ambient lighting conditions, and driver behavior. This power management module works in conjunction with the control module to reduce the laser's standby power or enter sleep mode if the vehicle is detected to be in an unpowered or low-voltage state. The laser's corresponding wavelength is activated to emit a detection light signal only when the driver presses the start button and the external environment meets a preset light threshold. This mechanism effectively avoids inefficient power consumption during non-detection periods, significantly improving the overall system's energy efficiency and adaptability to in-vehicle integration.

[0110] In this embodiment, the power management module can be implemented by integrating a microcontroller, which has the ability to regulate the laser current drive module in real time. The system reads the current power status of the vehicle through the vehicle bus and combines it with the external environment brightness information collected by the light sensor to make a judgment:

[0111] When it is detected that the vehicle is not fully powered on, or the current ambient brightness is not sufficient to ensure the accuracy of spectrum detection, the control module suspends laser emission and enters a low-power standby state;

[0112] When it is detected that the driver's finger touches the start button and the vehicle system enters the startup state, and the ambient light intensity is greater than the preset threshold, the power consumption management module controls the laser to start emitting according to the set wavelength and sequence.

[0113] Optimally, this control process employs state-machine-based energy scheduling logic, setting short windows before and after laser emission to ensure close synchronization between the detection process and the power activation window, thus avoiding unnecessary continuous emission. Actual tests have shown that adopting this dynamic power management strategy can reduce the system's standby power consumption under standard operating conditions to approximately 30% of the original design, effectively improving power resource utilization and making it particularly suitable for in-vehicle integration applications on hybrid or all-electric platforms.

[0114] For example, a computer program may be divided into one or more modules / units, one or more of which are stored in a memory and executed by a processor to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in an electronic device.

[0115] Those skilled in the art will understand that Figure 8 These are merely examples of electronic devices and do not constitute a limitation of the electronic device. The electronic device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0116] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0117] The memory can be an internal storage unit of an electronic device, such as a hard disk or memory of the electronic device. The memory can also be an external storage device of the electronic device, such as a plug-in hard disk equipped on the electronic device, a SmartMedia Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Furthermore, the memory can also include both the internal storage unit of the electronic device and the external storage device.

[0118] An embodiment of the present application further provides a readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0119] An embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, a mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0120] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application can implement all or part of the process of the above-mentioned embodiment method by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it can implement the steps of each of the above-mentioned method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium may include at least: any entity or device capable of carrying computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, mobile hard drive, magnetic disk, or optical disk. In some jurisdictions, based on legislation and patent practice, computer-readable media cannot be electric carrier signals or telecommunication signals.

[0121] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0122] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0123] In the embodiments provided in this application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0124] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0125] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the scope of protection of the present invention.

Claims

1. A method for detecting blood alcohol in a vehicle, characterized in that: include: When the driver starts the vehicle, a first group of light signals with a specific wavelength is selected to irradiate the driver's body; receiving a second group of optical signals reflected from the driver's body, and processing the second group of optical signals to obtain a first group of electrical signals; Performing a comparison operation on the first set of electrical signals and a standard signal, and obtaining an optical wavelength shift position based on the comparison operation result; The driver's blood alcohol concentration is measured according to the light wavelength shift position.

2. The vehicle-mounted blood alcohol detection method according to claim 1, wherein: The first group of optical signals includes a first wavelength transmitted optical signal, a second wavelength transmitted optical signal and a third wavelength transmitted optical signal; When the driver starts the vehicle, a first set of light signals of a specific wavelength is selected and irradiated onto the driver's body, including: When the driver's finger touches the start button, the first wavelength light signal, the second wavelength light signal and the third wavelength light signal are selected respectively, and the first wavelength light signal, the second wavelength light signal and the third wavelength light signal are cyclically emitted to the driver's finger in sequence.

3. The vehicle-mounted blood alcohol detection method according to claim 2, wherein: The light signal emitted at the first wavelength is used to detect the over-the-counter absorption characteristics of the OH bond in the ethanol molecule; The second wavelength emission light signal is used to detect the combined frequency absorption characteristics of the CH bonds in the methyl and / or methylene groups in the ethanol molecule; The light signal emitted at the third wavelength is used to detect the stretching vibration combination frequency absorption characteristics of the CH bond in the long chain or aromatic group.

4. The vehicle-mounted blood alcohol detection method according to claim 3, wherein: The wavelength of the first wavelength optical signal is 1450 nm ± 0.2 nm, the wavelength of the second wavelength optical signal is 1368 nm ± 0.2 nm, and the wavelength of the third wavelength optical signal is 1730 nm ± 0.2 nm.

5. The vehicle-mounted blood alcohol detection method according to claim 2, wherein: The receiving a second group of light signals reflected from the driver's finger and processing the second light signals to obtain a first group of electrical signals includes: A first wavelength reflected light signal, a second wavelength reflected light signal, and a third wavelength reflected light signal reflected from the driver's finger are received respectively, and the first wavelength reflected light signal, the second wavelength reflected light signal, and the third wavelength reflected light signal are amplified and analog-to-digital converted respectively to obtain a first wavelength detection signal, a second wavelength detection signal, and a third wavelength detection signal.

6. The vehicle-mounted blood alcohol detection method according to claim 5, wherein: The comparing operation of the first set of electrical signals with the standard signal and obtaining the optical wavelength shift position based on the comparison operation result includes: The harmonic amplitudes of the first wavelength detection signal, the second wavelength detection signal and the third wavelength detection signal are compared with the standard signal respectively, and the first optical wavelength offset position, the second optical wavelength offset position and the third optical wavelength offset position corresponding to the moment of the harmonic amplitude mutation are determined respectively.

7. The vehicle-mounted blood alcohol detection method according to claim 6, characterized in that: The measuring the driver's blood alcohol concentration according to the light wavelength shift position includes: Obtaining an estimated value of the OH bond concentration in the ethanol molecule, an estimated value of the first C-H bond concentration in the methyl and / or methylene groups in the ethanol molecule, and an estimated value of the second C-H bond concentration in the long chain or aromatic group according to the first light wavelength shift position, the second light wavelength shift position, and the third light wavelength shift position, respectively; The OH bond concentration estimate value, the first CH bond concentration estimate value, and the second CH bond concentration estimate value are used to obtain a blood alcohol concentration through a preset data model.

8. The vehicle-mounted blood alcohol detection method according to claim 1, characterized in that: The vehicle-mounted blood alcohol detection method further comprises: When the blood alcohol concentration is higher than a preset threshold, the vehicle is prohibited from starting.

9. A vehicle-mounted blood alcohol detection system, characterized in that: It includes a control module, an optical transmitting module, an optical receiving module and a signal processing module; When the driver starts the vehicle, the control module selects a first group of light signals of a specific wavelength and irradiates the first group of light signals onto the driver's finger through the light emitting module; The light receiving module receives a second group of light signals reflected from the driver's finger; The signal processing module processes the second group of optical signals to obtain a first group of electrical signals; The control module performs a comparison operation on the first set of electrical signals and a standard signal, obtains a light wavelength shift position based on the comparison operation result, and measures the driver's blood alcohol concentration according to the light wavelength shift position.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.