Fatigue driving detection method, device, equipment, storage medium and program product
By combining data on steering wheel angular acceleration, heart rate, and grip strength, and using deep learning or machine learning models for fatigue driving detection, the problem of misjudgment based on single data points is solved, improving detection accuracy and driving safety.
Patent Information
- Application Number
- CN202411584750.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2044-11-07
AI Technical Summary
Existing fatigue driving detection methods, which rely on single data points, are prone to misjudgment, affecting the accuracy of the test results and leading to traffic safety hazards.
By acquiring the angular acceleration of the steering wheel rotation, the driver's heart rate, and the grip strength on the steering wheel, a comprehensive judgment is made on whether the driver is fatigued, and fatigue driving detection is performed using deep learning or machine learning models.
It improves the accuracy of fatigue driving detection, reduces traffic accidents caused by fatigue driving, and enhances driving safety.
Smart Images

Figure CN119428702B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, and in particular to a fatigue driving detection method, device, equipment, storage medium, and program product. Background Technology
[0002] Among the causes of traffic accidents, fatigued driving is one of the main causes. When drivers are fatigued, their attention decreases and their reaction is slowed, making them prone to operational errors and causing driving safety hazards. Therefore, developing effective fatigued driving detection methods is of great significance for reducing traffic accidents.
[0003] Current methods for detecting driver fatigue, such as those based on electroencephalograms (EEGs) and video images, mostly rely on single data points to assess a driver's fatigue level. This can easily lead to misjudgments and affect the accuracy of the results. Summary of the Invention
[0004] This invention provides a fatigue driving detection method, device, equipment, storage medium, and program product to improve the accuracy of fatigue driving detection results, reduce traffic accidents caused by fatigue driving, and improve driving safety.
[0005] According to one aspect of the present invention, a fatigue driving detection method is provided, the method comprising:
[0006] Get the current angular acceleration of the steering wheel rotation at the current moment, and get the average heart rate of the driver and the average grip force of the driver on the steering wheel over a period of time including the current moment.
[0007] Based on the current angular acceleration, average heart rate, and average grip strength, determine whether the vehicle driver is driving while fatigued.
[0008] According to another aspect of the present invention, a fatigue driving detection device is provided, the device comprising:
[0009] The data acquisition module is used to acquire the current angular acceleration of the steering wheel rotation at the current moment, and to acquire the average heart rate of the driver and the average grip force of the driver on the steering wheel over a period of time, including the current moment.
[0010] The fatigue driving determination module is used to determine whether the vehicle driver is driving while fatigued based on the current angular acceleration, average heart rate, and average grip strength.
[0011] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0012] At least one processor; and
[0013] A memory that is communicatively connected to at least one processor; wherein,
[0014] The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform the fatigue driving detection method according to any embodiment of the present invention.
[0015] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the fatigue driving detection method of any embodiment of the present invention.
[0016] According to another aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the fatigue driving detection method of any embodiment of the present invention.
[0017] The technical solution of this invention obtains the current angular acceleration of the steering wheel rotation at the current moment, and obtains the driver's average heart rate and average grip force on the steering wheel over a period of time, including the current moment; based on the current angular acceleration, average heart rate, and average grip force, it determines whether the driver is driving while fatigued. Compared with methods that detect fatigued driving based on single data points, the above technical solution determines the driver's fatigued driving state based on three aspects of data: steering wheel angular acceleration, steering wheel grip force, and driver's heart rate. This improves the accuracy of fatigued driving detection results, thereby reducing traffic accidents caused by fatigued driving and improving driving safety.
[0018] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a flowchart of a fatigue driving detection method provided in Embodiment 1 of the present invention;
[0021] Figure 2 This is a flowchart of a fatigue driving detection method provided in Embodiment 2 of the present invention;
[0022] Figure 3 This is a schematic diagram of a fatigue driving detection device according to Embodiment 3 of the present invention;
[0023] Figure 4 This is a schematic diagram of the structure of an electronic device that implements the fatigue driving detection method of this invention. Detailed Implementation
[0024] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "candidate," "target," "first," and "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0026] Furthermore, it should be noted that the collection, storage, use, processing, transmission, provision, and disclosure of angular acceleration thresholds, standard heart rates, and standard steering wheel grip strength involved in the technical solutions of this invention all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0027] Example 1
[0028] Figure 1 This is a flowchart of a fatigue driving detection method provided in Embodiment 1 of the present invention. This embodiment is applicable to detecting the fatigue driving state of vehicle drivers. The method can be executed by a fatigue driving detection device, which can be implemented in hardware and / or software and can be configured in an electronic device with an embedded STM32 microcontroller. Figure 1 As shown, the method includes:
[0029] S101. Obtain the current angular acceleration of the steering wheel rotation at the current moment, and obtain the average heart rate of the vehicle driver and the average grip force of the vehicle driver on the steering wheel over a period of time including the current moment.
[0030] The current angular acceleration refers to the rate of change of the steering wheel angular velocity at the current moment. A time period can be preset according to actual business needs; for example, a time period can be from time tj to time t, or from time ti to time t+i. Here, t is the current moment, j is the total duration of the time period, and i is half of the total duration j. Average heart rate refers to the average heart rate of the driver over a time period including the current moment. Correspondingly, average grip force refers to the average grip force of the driver on the steering wheel over a time period including the current moment.
[0031] Specifically, the current angular acceleration of the steering wheel rotation can be obtained by an angular acceleration sensor installed on the steering wheel; if a time period including the current moment is denoted as T, the driver's heart rate at each moment within time period T can be obtained by a heart rate sensor installed on the steering wheel, and the average heart rate of the driver within time period T can be obtained by averaging the obtained heart rates; the driver's grip force on the steering wheel at each moment within time period T can be obtained by a flexible pressure sensor installed on the steering wheel, and the average grip force of the driver on the steering wheel within time period T can be obtained by averaging the obtained grip force.
[0032] It should be noted that before using the sensors (including angular acceleration sensors, heart rate sensors, and flexible pressure sensors) mounted on the steering wheel, the sensors can be connected to the STM32 microcontroller via an I2C (Inter-Integrated Circuit) or SPI (Serial Peripheral Interface) interface, and the interfaces and sensors can be configured. For example, for the I2C interface, the communication speed and interface address can be configured; for the SPI interface, the communication speed and operating mode can be configured. For the sensors, the operating mode, communication parameters, resolution, filters, calibration parameters, measurement range, data read address, data output format, and data output mode can be configured. The STM32 microcontroller can execute the fatigue driving detection method of any embodiment of this invention. It should also be noted that the sensor data output is typically implemented through one or more registers, and the sensor data read address is usually the sensor address plus an offset.
[0033] S102. Determine whether the vehicle driver is driving while fatigued based on the current angular acceleration, average heart rate, and average grip strength.
[0034] Specifically, the current angular acceleration, average heart rate, and average grip strength can be input into a pre-trained fatigue driving detection model. After processing by the model, the result of whether the driver is driving while fatigued can be obtained. The fatigue driving detection model can be trained using a deep learning model or a machine learning model.
[0035] The technical solution of this invention obtains the current angular acceleration of the steering wheel rotation at the current moment, and obtains the driver's average heart rate and average grip force on the steering wheel over a period of time, including the current moment; based on the current angular acceleration, average heart rate, and average grip force, it determines whether the driver is driving while fatigued. Compared with methods that detect fatigued driving based on single data points, the above technical solution determines the driver's fatigued driving state based on three aspects of data: steering wheel angular acceleration, steering wheel grip force, and driver's heart rate. This improves the accuracy of fatigued driving detection results, thereby reducing traffic accidents caused by fatigued driving and improving driving safety.
[0036] Example 2
[0037] Figure 2 This is a flowchart of a fatigue driving detection method provided in Embodiment 2 of the present invention. Based on the above embodiments, this embodiment further optimizes the process of "determining whether the vehicle driver is driving while fatigued based on the current angular acceleration, average heart rate, and average grip strength," providing an optional implementation scheme. It should be noted that parts not detailed in this embodiment can be referred to in the relevant descriptions of other embodiments. For example... Figure 2 As shown, the method includes:
[0038] S201. Obtain the current angular acceleration of the steering wheel rotation at the current moment, and obtain the average heart rate of the vehicle driver and the average grip force of the vehicle driver on the steering wheel over a period of time including the current moment.
[0039] S202. Compare the current angular acceleration with the angular acceleration threshold to determine the angular acceleration flag value.
[0040] The angular acceleration threshold can be preset according to actual business needs or the experience of those skilled in the art, and this embodiment of the invention does not impose specific limitations on it. The angular acceleration flag value refers to a numerical value used to reflect the relationship between the current angular acceleration and the angular acceleration threshold.
[0041] Specifically, if the current angular acceleration is greater than the angular acceleration threshold, the angular acceleration flag value is 1; if the current angular acceleration is less than or equal to the angular acceleration threshold, the angular acceleration flag value is 0.
[0042] S203. Compare the average heart rate with the standard heart rate to determine the heart rate marker value.
[0043] Standard heart rate refers to the numerical value used to determine the level of average heart rate; optionally, the standard heart rate can be determined based on the heart rate of the vehicle driver in a non-fatigued driving state. Heart rate marker values are numerical values used to reflect the relationship between average heart rate and standard heart rate.
[0044] Specifically, if the average heart rate is greater than the standard heart rate, the heart rate marker value is 1; if the average heart rate is less than or equal to the standard heart rate, the heart rate marker value is 0.
[0045] S204. Compare the average grip strength with the standard steering wheel grip strength to determine the grip strength mark value.
[0046] The standard steering wheel grip force refers to a numerical value used to determine the average grip force. Optionally, the standard steering wheel grip force can be preset according to actual business needs or the experience of those skilled in the art; this embodiment of the invention does not impose specific limitations on it. The grip force marker value refers to a numerical value used to reflect the relationship between the average grip force and the standard steering wheel grip force.
[0047] Specifically, if the average grip strength is less than the standard steering wheel grip strength, the grip strength mark value is 1; if the average grip strength is greater than or equal to the standard steering wheel grip strength, the grip strength mark value is 0.
[0048] S205. Determine whether the vehicle driver is driving while fatigued based on the angular acceleration marker value, heart rate marker value, and grip strength marker value.
[0049] Specifically, if at least two of the angular acceleration, heart rate, and grip strength values are 1, the driver is determined to be driving while fatigued; otherwise, the driver is determined not to be driving while fatigued.
[0050] More specifically, if the angular acceleration marker value is 1, the heart rate marker value is 1, and the grip strength marker value is 1, then it is determined that the driver is driving while fatigued; if the angular acceleration marker value is 1, the heart rate marker value is 1, and the grip strength marker value is 0, then it is determined that the driver is driving while fatigued; if the angular acceleration marker value is 1, the heart rate marker value is 0, and the grip strength marker value is 1, then it is determined that the driver is driving while fatigued; if the angular acceleration marker value is 0, the heart rate marker value is 1, and the grip strength marker value is 1, then it is determined that the driver is not driving while fatigued; if the angular acceleration marker value is 0, the heart rate marker value is 1, and the grip strength marker value is 0, then it is determined that the driver is not driving while fatigued; if the angular acceleration marker value is 1, the heart rate marker value is 0, and the grip strength marker value is 0, then it is determined that the driver is not driving while fatigued; if the angular acceleration marker value is 0, the heart rate marker value is 0, and the grip strength marker value is 0, then it is determined that the driver is not driving while fatigued.
[0051] The technical solution of this invention obtains the current angular acceleration of the steering wheel rotation at the current moment, and obtains the driver's average heart rate and average grip force on the steering wheel over a period of time, including the current moment; compares the current angular acceleration with an angular acceleration threshold to determine an angular acceleration marker value; compares the average heart rate with a standard heart rate to determine a heart rate marker value; compares the average grip force with a standard steering wheel grip force to determine a grip force marker value; and determines whether the driver is driving while fatigued based on the angular acceleration marker value, heart rate marker value, and grip force marker value. Compared with methods that detect fatigued driving based on single data points, the above technical solution determines the driver's fatigued driving state based on data from three aspects: steering wheel angular acceleration, steering wheel grip force, and driver's heart rate. This improves the accuracy of fatigued driving detection results, thereby reducing traffic accidents caused by fatigued driving and improving driving safety.
[0052] Based on the above embodiments, as an optional embodiment of the present invention, it is also possible to: after determining that the vehicle driver is driving while fatigued, obtain the current heart rate of the vehicle driver and the current steering wheel grip force of the vehicle driver at the current moment; determine the target fatigue level based on the current angular acceleration, current heart rate and current steering wheel grip force; and issue a warning based on the target fatigue level.
[0053] Here, current heart rate refers to the driver's heart rate at the current moment. Current steering wheel grip strength refers to the driver's grip strength on the steering wheel at the current moment.
[0054] Specifically, after determining that the driver is driving while fatigued, the system can obtain the driver's current heart rate using a heart rate sensor mounted on the steering wheel, and the driver's current grip force on the steering wheel using a flexible pressure sensor mounted on the steering wheel. The system then calculates the absolute value of the difference between the current angular acceleration and an angular acceleration threshold, as the first absolute value; the absolute value of the difference between the current heart rate and a standard heart rate, as the second absolute value; and the absolute value of the difference between the current steering wheel grip force and a standard steering wheel grip force, as the third absolute value. Based on the fatigue level classification table... The correspondence between the selected angular acceleration fluctuation range, candidate heart rate variation range, and candidate steering wheel grip force variation range and the candidate fatigue level is established. Based on the first absolute value, the second absolute value, and the third absolute value, the target fatigue level is determined from the fatigue level classification table. Different levels of warnings are issued according to the target fatigue level. For example, if the target fatigue level is mild fatigue, a mild warning can be issued to the driver in the form of a voice broadcast; if the target fatigue level is severe fatigue, a severe warning can be issued to the driver in the form of a physical stimulus, and an emergency braking mechanism can be triggered to slow down the vehicle and ensure driving safety.
[0055] The fatigue level classification table can be pre-set based on actual business needs and experimental experience; this embodiment of the invention does not impose specific limitations on it. The candidate angular acceleration fluctuation range refers to the pre-set angular acceleration fluctuation range in the fatigue level classification table. The candidate heart rate variation range refers to the pre-set heart rate variation range in the fatigue level classification table. The candidate steering wheel grip strength variation range refers to the pre-set steering wheel grip strength variation range in the fatigue level classification table. The candidate fatigue level refers to the pre-set fatigue level in the fatigue level classification table.
[0056] Specifically, based on the correspondence between the candidate angular acceleration fluctuation range, candidate heart rate variation range, and candidate steering wheel grip strength variation range in the fatigue level classification table and the candidate fatigue level, the target fatigue level is determined from the fatigue level classification table according to the first absolute value, the second absolute value, and the third absolute value. This can be achieved by: matching the first absolute value with the candidate angular acceleration fluctuation range in the fatigue level classification table, and using the successfully matched candidate angular acceleration fluctuation range as the target angular acceleration fluctuation range; matching the second absolute value with the candidate heart rate variation range in the fatigue level classification table, and using the successfully matched candidate heart rate variation range as the target heart rate variation range; matching the third absolute value with the candidate steering wheel grip strength variation range in the fatigue level classification table, and using the successfully matched candidate steering wheel grip strength variation range as the target steering wheel grip strength variation range; and finally, based on the correspondence between the candidate angular acceleration fluctuation range, candidate heart rate variation range, and candidate steering wheel grip strength variation range in the fatigue level classification table and the candidate fatigue level, the target fatigue level is determined from the fatigue level classification table according to the target angular acceleration fluctuation range, target heart rate variation range, and target steering wheel grip strength variation range.
[0057] Understandably, after determining that the driver is driving while fatigued, the system determines the target fatigue level based on the current angular acceleration, current heart rate, and current steering wheel grip strength; and issues a warning based on the target fatigue level. This system enables early warning of different degrees of driver fatigue, reduces traffic accidents caused by fatigued driving, and improves driving safety.
[0058] Example 3
[0059] Figure 3 This is a schematic diagram of a fatigue driving detection device provided in Embodiment 3 of the present invention. This embodiment is applicable to detecting the fatigue driving state of vehicle drivers. The device can be implemented in hardware and / or software and can be configured in an electronic device with an embedded STM32 microcontroller. Figure 3 As shown, the device includes:
[0060] The data acquisition module 301 is used to acquire the current angular acceleration of the steering wheel rotation at the current moment, and to acquire the average heart rate of the vehicle driver and the average grip force of the vehicle driver on the steering wheel over a period of time including the current moment.
[0061] The fatigue driving determination module 302 is used to determine whether the vehicle driver is driving while fatigued based on the current angular acceleration, average heart rate, and average grip strength.
[0062] The technical solution of this invention obtains the current angular acceleration of the steering wheel rotation at the current moment, and obtains the driver's average heart rate and average grip force on the steering wheel over a period of time, including the current moment; based on the current angular acceleration, average heart rate, and average grip force, it determines whether the driver is driving while fatigued. Compared with methods that detect fatigued driving based on single data points, the above technical solution determines the driver's fatigued driving state based on three aspects of data: steering wheel angular acceleration, steering wheel grip force, and driver's heart rate. This improves the accuracy of fatigued driving detection results, thereby reducing traffic accidents caused by fatigued driving and improving driving safety.
[0063] Optionally, the fatigue driving determination module 302 includes:
[0064] An angular acceleration marker value determination unit is used to compare the current angular acceleration with an angular acceleration threshold to determine the angular acceleration marker value.
[0065] The heart rate marker value determination unit is used to compare the average heart rate with the standard heart rate to determine the heart rate marker value.
[0066] The grip strength mark value determination unit is used to compare the average grip strength with the standard steering wheel grip strength to determine the grip strength mark value;
[0067] The fatigue driving determination unit is used to determine whether the vehicle driver is driving while fatigued based on angular acceleration marker values, heart rate marker values, and grip strength marker values.
[0068] Optional, a fatigue driving determination unit, specifically used for:
[0069] If at least two of the angular acceleration, heart rate, and grip strength values are 1, then the driver is determined to be driving while fatigued.
[0070] Optionally, the device also includes a driver fatigue warning module, which is specifically used for:
[0071] After determining that the driver is driving while fatigued, obtain the driver's current heart rate and the driver's current grip force on the steering wheel at the current moment.
[0072] The target fatigue level is determined based on the current angular acceleration, current heart rate, and current steering wheel grip strength.
[0073] Early warnings are issued based on the target's fatigue level.
[0074] The fatigue driving detection device provided in this embodiment of the invention can execute the fatigue driving detection method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects for executing each fatigue driving detection method.
[0075] According to embodiments of the present invention, the present invention also provides an electronic device, a readable storage medium, and a computer program product.
[0076] Example 4
[0077] Figure 4 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0078] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0079] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0080] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as fatigue driving detection methods.
[0081] In some embodiments, the fatigue driving detection method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the fatigue driving detection method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the fatigue driving detection method by any other suitable means (e.g., by means of firmware).
[0082] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0083] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0084] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0085] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0086] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0087] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0088] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0089] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method of detecting fatigue driving, characterized by, The method comprises: obtaining a current angular acceleration of steering wheel rotation at a current time, and obtaining an average heart rate of a vehicle driver and an average steering wheel grip of the vehicle driver within a period of time including the current time; comparing the current angular acceleration with an angular acceleration threshold to determine an angular acceleration marker value, including: if the current angular acceleration is greater than the angular acceleration threshold, the angular acceleration marker value is 1; and if the current angular acceleration is less than or equal to the angular acceleration threshold, the angular acceleration marker value is 0; comparing the average heart rate with a standard heart rate to determine a heart rate marker value, including: if the average heart rate is greater than the standard heart rate, the heart rate marker value is 1; and if the average heart rate is less than or equal to the standard heart rate, the heart rate marker value is 0; comparing the average steering wheel grip with a standard steering wheel grip to determine a grip marker value, including: if the average steering wheel grip is less than the standard steering wheel grip, the grip marker value is 1; and if the average steering wheel grip is greater than or equal to the standard steering wheel grip, the grip marker value is 0; if at least two of the angular acceleration marker value, the heart rate marker value, and the grip marker value are 1, it is determined that the vehicle driver is driving while fatigued.
2. The method of claim 1, wherein, The method further comprises: after determining that the vehicle driver is driving while fatigued, obtaining a current heart rate of the vehicle driver at a current time and a current steering wheel grip of the vehicle driver; determining a target fatigue level according to the current angular acceleration, the current heart rate, and the current steering wheel grip; performing a warning according to the target fatigue level.
3. A drowsy driving detection device characterized by comprising: The method comprises: a data acquisition module configured to obtain a current angular acceleration of steering wheel rotation at a current time, and obtain an average heart rate of a vehicle driver and an average steering wheel grip of the vehicle driver within a period of time including the current time; a fatigue driving determination module comprising an angular acceleration marker value determination unit, a heart rate marker value determination unit, a grip marker value determination unit, and a fatigue driving determination unit; the angular acceleration marker value determination unit is configured to compare the current angular acceleration with an angular acceleration threshold to determine an angular acceleration marker value; the angular acceleration marker value determination unit is specifically configured to: if the current angular acceleration is greater than the angular acceleration threshold, the angular acceleration marker value is 1; and if the current angular acceleration is less than or equal to the angular acceleration threshold, the angular acceleration marker value is 0; the heart rate marker value determination unit is configured to compare the average heart rate with a standard heart rate to determine a heart rate marker value; the heart rate marker value determination unit is specifically configured to: if the average heart rate is greater than the standard heart rate, the heart rate marker value is 1; if the average heart rate is less than or equal to the standard heart rate, the heart rate marker value is 0; the grip marker value determination unit is configured to compare the average steering wheel grip with a standard steering wheel grip to determine a grip marker value; the grip marker value determination unit is specifically configured to: if the average steering wheel grip is less than the standard steering wheel grip, the grip marker value is 1; and if the average steering wheel grip is greater than or equal to the standard steering wheel grip, the grip marker value is 0; The fatigue driving determination unit determines that the driver of the vehicle is driving while fatigued if at least two of the angular acceleration flag value, the heart rate flag value, and the grip strength flag value are 1.
4. An electronic device, comprising: The electronic device includes: at least one processor; and a memory connected with the at least one processor; wherein The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the fatigue driving detection method of any one of claims 1-2.
5. A computer readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for causing the processor to implement the fatigue driving detection method of any one of claims 1-2 when executed.
6. A computer program product comprising a computer program which, when executed by a processor, implements the fatigue driving detection method of any one of claims 1-2.
Citation Information
Patent Citations
Dangerous driving early warning method, device, equipment and related system
CN114194197A
Self-adaptive fatigue driving detection early warning system and method thereof
CN117877201A