Vehicle control method and device based on line-of-sight deviation, equipment and storage medium
By setting the duration of the line-of-sight warning based on driving mode, vehicle speed, and road environment information, and providing personalized reminders when the line of sight deviates, the shortcomings of the single alarm method in the existing technology are solved, thereby improving driving safety and user experience.
Patent Information
- Application Number
- CN202310706261.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-13
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-06-13
AI Technical Summary
Existing alarm reminder methods fail to distinguish between time thresholds when the driver's gaze deviates from the road in different driving modes, resulting in poor reminder effectiveness and potential safety hazards.
Based on driving mode, vehicle speed, and road environment information, the duration of deviation from the warning target is determined. Once the visual deviation exceeds the specified duration, an alarm is triggered using different reminder methods matched to different driving modes, including sound, vibration, and intermittent braking deceleration reminders.
Personalized alarm methods enhance driving safety and user experience, adapt to the needs of different driving scenarios, and reduce the risks caused by deviating from the line of sight.
Smart Images

Figure CN116853278B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of driving detection technology, and in particular to a vehicle control method, device, equipment and storage medium based on line-of-sight deviation. Background Technology
[0002] With the development of intelligent vehicle technology, automobiles have progressed from assisted driving to autonomous driving. This places different demands on the driver's driving state.
[0003] In both manual and assisted driving phases, the driver must always maintain a state of driving, including keeping their eyes on the road ahead. The time a driver can be distracted varies depending on the level of autonomous driving. The longer the distraction time, the greater the driver's freedom of control over the vehicle. For example, in Level 3 autonomous driving, the driver can perform non-driving tasks (such as looking at a mobile phone), but the driver must always have the ability to take over the vehicle, which includes keeping the driver's eyes on the road ahead for an extended period of time.
[0004] Existing alarm reminder methods do not differentiate between driving modes and use a single time threshold for each driving mode, triggering a single alarm. This has a certain impact on the effectiveness of the reminder to the driver and can easily lead to danger. Summary of the Invention
[0005] In view of the above-mentioned defects or improvement needs of the prior art, the purpose of the present invention is to provide a vehicle control method, device, equipment and storage medium based on line-of-sight deviation.
[0006] To achieve this objective, the present invention adopts the following technical solution:
[0007] Firstly, a vehicle control method based on line-of-sight deviation includes the following steps:
[0008] The duration of deviation from the warning target is determined based on driving mode, vehicle speed, and road environment information;
[0009] Once the detected line-of-sight deviation exceeds the specified deviation warning duration, a reminder mode is determined based on the driving mode.
[0010] In one embodiment, determining the departure warning duration based on driving mode, vehicle speed, and road environment information includes:
[0011] The driving modes are divided into multiple levels based on the level of driver assistance.
[0012] Road types are divided into multiple levels based on the maximum speed limit corresponding to the road.
[0013] In one embodiment, the road environment information also includes light intensity;
[0014] The determination of the duration of deviation from the warning target based on driving mode, vehicle speed, and road environment information includes:
[0015] Based on the driving mode, vehicle speed, and road type, determine the functional relationship between the driving mode, vehicle speed, road type, and primary lane departure warning duration:
[0016] T0 = A·x + B·y + C·z;
[0017] Where T0 represents the duration of the initial deviation warning, A, B, and C are all preset calibration coefficients, x represents the driving mode level, y represents the vehicle speed, and z represents the road type level;
[0018] The proportionality coefficient is determined based on the current light intensity, and the product of the proportionality coefficient and the initial deviation warning duration is taken as the deviation warning target duration.
[0019] In one embodiment, determining the scaling factor based on the light intensity includes:
[0020] The light intensity is divided into multiple levels, and an initial coefficient is calibrated according to the light intensity of each level.
[0021] The initial coefficient is determined based on the current light intensity, and the product of the natural logarithm of the current light intensity and the corresponding initial coefficient is used as the proportional coefficient corresponding to the current light intensity.
[0022] In one embodiment, after detecting gaze deviation behavior exceeding the target duration of the deviation warning, determining a reminder mode based on the driving mode includes:
[0023] Acquire a facial image of the driver and select current feature points in multiple regions of the facial image;
[0024] Obtain the current sitting posture and determine the basic feature points corresponding to the current sitting posture, wherein the sitting posture includes at least one of the seat position and the driver's body center of gravity position;
[0025] Based on the comparison results between the basic feature points and the current feature points, determine the deviation angle of the face relative to the preset marker points and the lateral distance of the eyeball relative to the center of the eye.
[0026] The occurrence of line-of-sight deviation is determined based on the deviation angle and the lateral distance.
[0027] In one embodiment, the driving mode includes: Level 0 to Level 3 assisted driving;
[0028] The reminder modes include: sound reminder, vibration reminder, and intermittent braking deceleration reminder;
[0029] Determining the reminder mode based on the driving mode includes:
[0030] If the driving mode is Level 0 assisted driving, the reminder mode is sound reminder, vibration reminder, and light braking deceleration reminder;
[0031] If the driving mode is Level 1 assisted driving, the reminder mode is a combination of sound reminder and vibration reminder or a combination of sound reminder and intermittent braking deceleration reminder;
[0032] If the driving mode is Level 2 assisted driving, then the reminder mode is an audio reminder;
[0033] If the driving mode is Level 3 assisted driving, the reminder mode is to first enable the sound reminder, and then enable the combination of sound reminder and vibration reminder.
[0034] In one embodiment, if the driving mode is Level 1 assisted driving, then the reminder mode is a combination of sound reminder and vibration reminder or a combination of sound reminder and intermittent braking deceleration reminder, including:
[0035] If the driving mode is a longitudinal driving mode of L1 level assisted driving, then the reminder mode is a combination of sound reminder and vibration reminder;
[0036] If the driving mode is the L1 level assisted driving lateral driving mode, then the reminder mode is a combination of audible reminder and intermittent braking deceleration reminder.
[0037] Secondly, a vehicle control device based on line-of-sight deviation includes:
[0038] The first module is used to determine the duration of deviation from the warning target based on driving mode, vehicle speed, and road environment information;
[0039] The second module is used to determine the reminder mode based on the driving mode after detecting that the line-of-sight deviation behavior exceeds the deviation warning target duration.
[0040] Thirdly, an electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the vehicle control method based on line-of-sight deviation as described above.
[0041] Fourthly, a computer-readable storage medium storing computer instructions that cause the computer to perform the above-described vehicle control method based on line-of-sight deviation.
[0042] The beneficial effects of this invention are:
[0043] For vehicle control methods, devices, equipment, and storage media based on line-of-sight deviation, a deviation warning target duration is determined based on driving mode, vehicle speed, and road environment information. After detecting line-of-sight deviation behavior exceeding the target duration, a reminder mode is determined based on the driving mode. By combining driving mode, vehicle speed, and road environment information, a deviation warning target duration more suitable for the current scenario is determined. After detecting line-of-sight deviation behavior exceeding the target duration, a reminder mode is determined based on the driving mode. Ultimately, by combining driving mode, vehicle speed, and road environment information to determine the corresponding reminder mode, the user experience can be significantly improved while ensuring safety.
[0044] Additional aspects and advantages of this application will be set forth in part in the description which follows, and will become apparent from the description or may be learned by practice of this application. Attached Figure Description
[0045] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0046] Figure 1 This is a structural schematic diagram of a vehicle with autonomous driving function provided in this embodiment;
[0047] Figure 2 This is a flowchart illustrating the vehicle control method based on line-of-sight deviation provided in this embodiment;
[0048] Figure 3 This is a flowchart illustrating a specific embodiment of a vehicle control method based on line-of-sight deviation.
[0049] Figure 4 This is a schematic diagram of the vehicle control device based on line-of-sight deviation provided in this embodiment;
[0050] Figure 5 This is a schematic diagram of the structure of the electronic device provided in this embodiment. Detailed Implementation
[0051] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.
[0052] In the description of this invention, unless otherwise explicitly specified and limited, the terms "connected," "linked," and "fixed" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0053] Those skilled in the art will understand that, unless otherwise stated, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the word “comprising” as used in the specification of this application means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or combinations thereof.
[0054] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as in the embodiments of this application.
[0055] Autonomous driving technology relies on the collaborative efforts of artificial intelligence, computer vision, radar, monitoring devices, and global positioning systems to enable computers to operate motor vehicles safely and automatically without any human intervention. According to the classification standards of the Society of Automotive Engineers (SAE), autonomous driving technology is divided into: no automation (L0), driver assistance (L1), partial automation (L2), conditional automation (L3), high automation (L4), and full automation (L5). Currently, autonomous driving technology is mainly at levels L0-L4, not yet reaching level L5. When using existing L0-L4 level autonomous driving technology, the driver may be required to take over the vehicle at any time. Therefore, real-time assessment of the driver's ability to take over and providing alerts based on this ability is a necessary means to improve the safety of autonomous driving at this stage. This embodiment proposes a driver gaze deviation alarm method, which provides an important safety guarantee in environments where autonomous driving technology is not yet fully realized.
[0056] Figure 1 This is a structural diagram of a vehicle with autonomous driving capabilities provided in this embodiment, as shown below. Figure 1 As shown, the vehicle 100 includes various subsystems: a driving system 110, a sensor system 120, a control system 130, one or more peripheral devices 140, and a power supply 150.
[0057] Optionally, vehicle 100 may include more or fewer subsystems, and each subsystem may include multiple components. Furthermore, each subsystem and component of vehicle 100 may be interconnected via wired or wireless means.
[0058] The mobility system 110 may include components that provide powered motion to the vehicle 100. In one embodiment, the mobility system 110 may include an engine 111, a transmission system 112, an energy source 113, and wheels 114.
[0059] Engine 111 is not limited to an internal combustion engine, an electric motor, an air compression engine, or other combinations thereof, such as a hybrid engine consisting of a gasoline engine and an electric motor. Engine 111 converts energy source 113 into mechanical energy.
[0060] Energy source 113 is not limited to gasoline, diesel, propane, ethanol, solar panels, batteries, and other sources of electricity. It should be noted that energy source 113 can provide energy not only for engine 111 but also for other systems of vehicle 100.
[0061] The drivetrain 112 transmits mechanical power from the engine 111 to the wheels 114. For example, the drivetrain 112 includes a gearbox, a differential, and a drive shaft. In one embodiment, the drivetrain 112 may also include other components, such as a clutch. The drive shaft may be coupled to one or more axles of one or more wheels 114.
[0062] The sensor system 120 may include several sensors for sensing information about the environment surrounding the vehicle 100. For example, the sensor system 120 may include a positioning system 121, an inertial measurement unit (IMU) 122, a radar 123, a laser rangefinder 124, a camera 125, and a light intensity sensor 126.
[0063] The sensor system 120 may also include sensors from the internal systems of the monitored vehicle 100 (e.g., an in-vehicle air quality monitor, fuel gauge, oil temperature gauge, etc.). Sensor data from one or more of these sensors can be used to detect objects and their corresponding characteristics (position, shape, orientation, speed, etc.). This detection and identification is a key function for the safe operation of the vehicle 100 in autonomous driving.
[0064] The positioning system 121 can be used to estimate the geographical location of the vehicle 100. For example, the positioning system 121 can be the BeiDou system, or other positioning systems such as the Global Positioning System (GPS), Galileo satellite navigation system, etc.
[0065] The inertial measurement unit 122 is used to sense changes in the position and orientation of the vehicle 100 based on inertial acceleration. In one embodiment, the inertial measurement unit 122 may be a combination of an accelerometer and a gyroscope.
[0066] Radar 123 can use radio signals to sense objects in the surrounding environment of vehicle 100. In some embodiments, in addition to sensing objects, radar 123 can also be used to sense the speed and / or direction of travel of objects.
[0067] The laser rangefinder 124 can use a laser to sense objects in the environment in which the vehicle 100 is located. In some embodiments, the laser rangefinder 124 may include one or more laser sources, a laser scanner, and one or more detectors, as well as other system components.
[0068] Camera 125 can be used to capture multiple images of the surrounding environment of vehicle 100, as well as multiple images of the interior of the vehicle's cockpit. Camera 125 can be a still camera or a video camera.
[0069] The light intensity sensor 126 can be used to capture the light intensity inside and around the vehicle 100.
[0070] The control system 130 controls the operation of the vehicle 100 and its components. The control system 130 may include various elements such as a steering system 131, a throttle 132, a braking unit 133, a computer vision system 134, and an obstacle avoidance system 135.
[0071] The steering system 131 is operable to adjust the forward direction of the vehicle 100. For example, in one embodiment, it may be a steering wheel system.
[0072] The throttle 132 is used to control the operating speed of the engine 111 and thus the speed of the vehicle 100.
[0073] Braking unit 133 is used to control the deceleration of vehicle 100. Braking unit 133 can use friction to slow down wheel 114. In other embodiments, braking unit 133 can convert the kinetic energy of wheel 114 into electric current. Braking unit 133 may also take other forms to slow down the rotational speed of wheel 114 to control the speed of vehicle 100.
[0074] Computer vision system 134 is operable to process and analyze images captured by camera 125 to identify objects and / or features in the environment surrounding vehicle 100, as well as the physical and facial features of the driver in the vehicle's cockpit. The objects and / or features may include traffic signals, road conditions, and obstacles, and the driver's physical and facial features include the driver's behavior, gaze, expression, etc. Computer vision system 134 may use object recognition algorithms, structure from motion (SFM) algorithms, video tracking, and other computer vision techniques. In some embodiments, computer vision system 134 may be used to map the environment, track objects, estimate object speeds, determine driver behavior, perform facial recognition, etc.
[0075] The obstacle avoidance system 135 is used to identify, assess, and avoid or otherwise traverse potential obstacles in the environment of the vehicle 100.
[0076] Of course, in one instance, the control system 130 may include additional or alternative components besides those shown and described. Alternatively, some of the components shown above may be reduced.
[0077] Vehicle 100 interacts with external sensors, other vehicles, other computer systems, or users via peripheral devices 140. Peripheral devices 140 may include a wireless communication system 141, an on-board computer 142, a microphone 143, and / or a speaker 144.
[0078] In some embodiments, peripheral device 140 provides a means for a user of vehicle 100 to interact with user interface 170. For example, on-board computer 142 may provide information to a user of vehicle 100. User interface 170 may also operate on-board computer 142 to receive user input. On-board computer 142 may be operated via touchscreen. In other cases, peripheral device 140 may provide a means for vehicle 100 to communicate with other devices located within the vehicle. For example, microphone 143 may receive audio (e.g., voice commands or other audio input) from a user of vehicle 100. Similarly, speaker 144 may output audio to a user of vehicle 100, and the steering wheel and / or seat may vibrate at a preset frequency.
[0079] The wireless communication system 141 can communicate wirelessly with one or more devices directly or via a communication network. For example, the wireless communication system 141 can use 3G cellular communication, such as CDMA, EVDO, GSM / GPRS, or 4G cellular communication, such as LTE, or 5G cellular communication. The wireless communication system 141 can communicate using WiFi and a wireless local area network (WLAN). In some embodiments, the wireless communication system 141 can communicate directly with devices using infrared or Bluetooth. Other wireless protocols, such as various vehicle communication systems, are also possible. For example, the wireless communication system 141 may include one or more dedicated short-range communications (DSRC) devices.
[0080] Power source 150 can provide power to various components of vehicle 100. In one embodiment, power source 150 can be a rechargeable lithium-ion or lead-acid battery. One or more such battery packs can be configured as a power source to provide power to various components of vehicle 100. In some embodiments, power source 150 and energy source 113 can be implemented together, as is the case in some fully electric vehicles.
[0081] Figure 2 This is a flowchart illustrating the vehicle control method based on line-of-sight deviation provided in this embodiment, as shown below. Figure 2 As shown, the control method includes steps S10-S20.
[0082] Step S10: Determine the duration of the deviation warning based on the driving mode, vehicle speed, and road environment information. Different driving modes, vehicle speeds, and road environment information result in different durations of the deviation warning.
[0083] Driving mode refers to the level of driver assistance. In this embodiment, there are levels L0-L3, with L0 being the lowest level of automation and L3 the highest. The automation level increases sequentially from L0 to L3. It can be understood that the higher the automation level, the longer the driver can be distracted, and therefore the longer the allowable deviation warning duration. For example, under the same conditions, the deviation warning duration at L0 is 10 times longer than at L3. The deviation warning duration at L0 is 4 seconds, while at L3 it is 40 seconds.
[0084] Vehicle speed is also a crucial parameter affecting the duration of deviation from the warning target. Generally, for a given driver's reaction time, the faster the vehicle speed, the longer the braking distance. With the same reaction time (1 second) and the same braking acceleration (-6 m / s²),... 2At initial vehicle speeds of 120 km / h (approximately 33 m / s) and 60 km / h (approximately 17 m / s), the braking distance at 120 km / h is approximately 123 meters, while at 60 km / h it is approximately 41 meters. The difference is 80 meters. This demonstrates that vehicle speed and the time taken to deviate from the warning target should be inversely proportional; that is, the faster the speed, the shorter the time taken to deviate from the warning target.
[0085] Road environment information is also an important parameter affecting the duration of deviation warnings. For example, the maximum speed limit of a road is a key factor; the higher the maximum speed limit, the faster the vehicles on the road are likely to be, and the shorter the corresponding deviation warning duration. This embodiment defines road types by classifying the maximum speed limit zones. For example, it presets five road types with maximum speed limits of 15km / h, 30km / h, 40km / h, 90km / h, and 120km / h: Type I (15km / h), Type II (30km / h), Type III (40km / h), Type IV (90km / h), and Type V (120km / h).
[0086] It should be noted that roads can also be classified based on their surface characteristics, not just their coefficient of friction. In other words, roads can be classified into different types based on the magnitude of their coefficient of friction.
[0087] Determining the deviation warning duration based on driving mode, vehicle speed, and road environment information is not limited to calibration methods. For example, a map pre-calibrated with driving mode, vehicle speed, road environment information, and deviation warning duration can be used. After acquiring the current driving mode, vehicle speed, and road environment information, the corresponding deviation warning duration is determined from the map. As the driving mode, vehicle speed, and road environment information change, the table is continuously consulted to determine the deviation warning duration. Of course, it can also be confirmed using algorithms.
[0088] The deviation warning duration determined in step S10, combined with driving mode, vehicle speed, and road environment information, is more conducive to improving the user's safety experience.
[0089] Step S20: After detecting that the line-of-sight deviation behavior exceeds the deviation warning target duration, determine the reminder mode according to the driving mode.
[0090] During normal driving, the driver's posture determines the primary facial orientation and primary eye position, indicating a straight-forward gaze. A gaze deviation occurs when a significant angular difference is detected between the actual facial orientation and the primary facial orientation, and between the current eye position and the primary eye position. If the gaze deviation exceeds the deviation warning duration determined in step S10, a warning mode is determined based on the current driving mode.
[0091] Understandably, the alert mode is related to the driving mode, with different alert modes corresponding to different driving modes. The alert modes are not limited to sound alerts, central control screen alerts, in-vehicle vibration alerts, or brief emergency braking alerts.
[0092] The vehicle control method based on line-of-sight deviation provided in this embodiment determines the target duration of the deviation warning based on driving mode, vehicle speed, and road environment information. After detecting that the line-of-sight deviation behavior exceeds the target duration, a reminder mode is determined based on the driving mode. By combining driving mode, vehicle speed, and road environment information, a deviation warning target duration more suitable for the current scenario is determined. After detecting that the line-of-sight deviation behavior exceeds the target duration, a reminder mode is determined based on the driving mode. Ultimately, by combining driving mode, vehicle speed, and road environment information to determine the corresponding reminder mode, the user experience can be significantly improved while ensuring safety.
[0093] Step S10 further includes determining a functional relationship between the driving mode, vehicle speed, road type, and primary lane departure warning duration based on the driving mode, vehicle speed, road type, and road type:
[0094] T0 = A·x + B·y + C·z;
[0095] Where T0 represents the duration of the initial deviation warning, A, B, and C are all preset calibration coefficients, x represents the driving mode level, y represents the vehicle speed, and z represents the road type level.
[0096] In this embodiment, x corresponds to four auxiliary modes (L0-L3), which are 1, 2, 3 and 4 respectively. The vehicle speed y is in km / h and is set in the range of 20km / h-120km / h. The road type z can be 1 (highway), 2 (suburban road, national road), or 3 (city road). Specifically, the road type can be determined by the navigation system. A, B and C are calibrated through experiments so that the duration of the primary deviation warning satisfies the functional relationship between the driving mode level, vehicle speed and road type.
[0097] Furthermore, the initial lane departure warning duration is obtained through driving mode, vehicle speed, and road type. This initial lane departure warning duration is adapted to the current driving mode, vehicle speed, and road type. However, in addition to this, road environment information also includes lighting conditions. In dim conditions (e.g., at night), a shorter reaction time is required, while in bright conditions, because of the greater visibility, a longer reaction time is possible. Therefore, the road environment information in this embodiment also includes light intensity, and light intensity is incorporated into the determination process of lane departure warning duration.
[0098] Step S10 further includes: determining a scaling factor based on the current light intensity, and using the product of the scaling factor and the initial deviation warning duration as the deviation warning target duration.
[0099] Specifically, the light intensity is divided into multiple levels, and an initial coefficient is assigned to each level. Then, the initial coefficient is determined based on the current light intensity, and the product of the natural logarithm of the current light intensity and the corresponding initial coefficient is used as the proportional coefficient corresponding to the current light intensity.
[0100] In this embodiment, the light intensity is divided into four levels: strong, medium, weak, and very weak. Strong light intensity is limited to 2000 lux or higher, such as direct exposure to sunlight on a clear day. Medium light intensity is limited to 1000-2000 lux. Weak light intensity is limited to 500-1000 lux. Very weak light intensity is limited to less than 500 lux.
[0101] In this embodiment, the initial coefficients for strong light level and medium light level are defined to be greater than or equal to 1, and the initial coefficients for weak light level and very weak light level are less than 1. Therefore, after multiplying the initial coefficients by the primary deviation warning duration, under the same primary deviation warning duration, the deviation warning target duration for strong light level is greater than that for medium light level, the deviation warning target duration for medium light level is greater than that for weak light level, and the deviation warning target duration for weak light level is greater than that for very weak light level.
[0102] In this embodiment, the initial coefficient is 1.8 for strong light level, 1.3 for medium light level, 0.85 for weak light level, and 0.2 for very weak light level. It can be understood that if the initial deviation warning duration is 10 seconds, under strong light level illumination, the final deviation warning duration will be 18 seconds, while under very weak light level illumination, the final deviation warning duration will be 2 seconds. The difference is significant, and this is intended to achieve a more reasonable effect by combining illumination conditions with the deviation warning duration.
[0103] In step S20, after detecting that the line-of-sight deviation behavior exceeds the target duration of the deviation warning, a reminder mode is determined according to the driving mode, including: steps S201-S204.
[0104] S201. Obtain the driver's facial image and select the current feature points of multiple regions in the facial image.
[0105] Facial images are obtained through Figure 1 Camera 125 acquires a facial image of the driver. The facial image can contain at least one of the following regions: ear region, eye (including eyebrow) region, nose region, and mouth region. Current feature points are matched with the corresponding regions. By selecting current feature points in specific regions, the amount of data required for facial analysis can be reduced.
[0106] For example, the earlobe and outer ear in the ear region are selected as the current feature points; the pupil, corner of the eye, and eyebrow in the eye region are selected as the current feature points; the bridge of the nose and philtrum in the nose region are selected as the current feature points; and the corner of the mouth in the mouth region are selected as the current feature points.
[0107] It should be noted that, within a certain period after the driver gets into the vehicle, the driver's facial image can be obtained for the first time to identify the driver's identity and determine whether the driver is a registered and legitimate driver.
[0108] S202. Obtain the current sitting posture and determine the basic feature points corresponding to the current sitting posture. The sitting posture includes at least one of the seat position and the driver's body center of gravity position.
[0109] A sitting posture is determined by the seat position and the driver's center of gravity position. Different seat positions and different driver center of gravity positions determine different sitting posture data. Each sitting posture data corresponds to a specific position. In this embodiment, gravity sensors are installed on the seat and backrest. When the human body changes its sitting posture, such as leaning forward, leaning back, or twisting, the human body's center of gravity changes accordingly. The voltage of the gravity sensor module on the X, Y, and Z axes in the seat cushion changes, and the result is converted into the driver's center of gravity position by the vehicle's central processing unit.
[0110] Based on the current sitting posture, the corresponding basic feature points are determined. It should be noted that these basic feature points can be pre-set or learned through automatic learning during normal driving. For example, pre-set basic feature points can be facial images recorded when the driver selects different seat positions and searches for different body center of gravity positions while parked, with the face facing forward and eyes looking straight ahead. The information of each feature point is then determined based on these facial images. Alternatively, during normal driving, when the face and eyes are facing forward, the current seat position and body center of gravity are matched to form a database of sitting postures and feature points. This embodiment does not limit the process of determining the basic feature points.
[0111] Step S203: Based on the comparison results between the basic feature points and the current feature points, determine the deviation angle of the face relative to the preset marker points and the lateral distance of the eyeball relative to the center of the eye.
[0112] It should be noted that the preset position can be a camera in a camera 125 that is pre-positioned in a fixed position, that is, facial information is obtained through the camera. At the same time, the camera serves as a preset marker point. Preferably, the camera can be hidden and arranged along the same vertical axis perpendicular to the chassis as the center of the steering wheel, so that the camera is roughly aligned with the center of the bridge of the nose.
[0113] Step S204: Determine if line-of-sight deviation has occurred based on the deviation angle and lateral distance.
[0114] Specifically, a matching table for bias angle and lateral distance threshold can be set. There is a lateral distance threshold range within each bias angle range. First, the lateral distance threshold range is searched according to the bias angle. If the current lateral distance is within the matched lateral distance threshold, it is determined that a line-of-sight deviation has occurred.
[0115] For example, when the deviation angle is -40° to -15°, the lateral distance threshold is -30mm to 10mm, where negative values indicate deviation to the left and positive values indicate deviation to the right. If the actual lateral distance is 0mm, then deviation behavior is determined to have occurred.
[0116] It should be noted that this embodiment does not limit the methods for confirming line-of-sight deviation as described above. Existing technical means can be used to confirm the occurrence of line-of-sight deviation.
[0117] Furthermore, in this embodiment, the driving modes have been described as having four levels, from L0 to L3, with the assistance capabilities of the four driving modes increasing sequentially. There are three alert modes: audible alert, vibration alert, and intermittent braking deceleration alert.
[0118] A sound alert is an announcement made inside the vehicle to be heard by the driver and passengers. The sound can be any type of audio, including voice messages, songs, and ringtones. Understandably, the volume and type of the sound alert can also be set. For example, a voice message could be set to something like "Please note that your gaze has wandered off course" or "Please look ahead." Songs and ringtones can be set similarly, for example, ringtones could be "beep beep beep" or "dudududu."
[0119] Vibration alerts are triggered by in-vehicle devices that vibrate to alert the driver through touch. Vibration triggering is not limited to seat or steering wheel vibrations. Understandably, the amplitude and frequency of the vibration can also be set. For example, the steering wheel...
[0120] The intermittent braking deceleration reminder allows the driver to feel the effect of acceleration for a short period of time.
[0121] In this embodiment, if the driving mode is Level 0 assisted driving, the reminder mode includes sound reminders, vibration reminders, and intermittent braking deceleration reminders. That is, in the lowest level of assistance driving scenario, all reminder functions are enabled to attract the driver's attention and ensure driving safety.
[0122] If the driving mode is Level 1 assisted driving, the reminder mode is a combination of sound reminder and vibration reminder or a combination of sound reminder and intermittent braking deceleration reminder.
[0123] It should be noted that if the driving mode is a longitudinal driving mode of Level 1 assisted driving, the reminder mode is a combination of audible and vibration reminders. If the driving mode is a lateral driving mode of Level 1 assisted driving, the reminder mode is a combination of audible reminders and intermittent braking deceleration reminders.
[0124] If the driving mode is Level 2 assisted driving, then the reminder mode is an audio reminder.
[0125] If the driving mode is Level 3 assisted driving, the reminder mode is a two-level reminder, first activating the sound reminder, then activating the combination of sound and vibration reminders. A time threshold can be set between the two levels of reminders; that is, if the time threshold is exceeded after the first level reminder, the second level reminder will be activated.
[0126] It is evident that as the level of driver assistance improves, the number of reminder modes gradually decreases, and the higher the level of driver assistance, the greater the freedom given to the driver.
[0127] Figure 3 This is a flowchart of a specific embodiment of a vehicle control method based on line-of-sight deviation, such as... Figure 3 As shown, the method includes S31-S35.
[0128] S31. Determine the duration of the initial lane departure warning based on the driving mode, vehicle speed, and road type:
[0129] T0 = A·x + B·y + C·z;
[0130] Where T0 represents the duration of the initial deviation warning, A, B, and C are all preset calibration coefficients, x represents the driving mode level, y represents the vehicle speed, and z represents the road type level.
[0131] S32. Determine the scaling factor based on the current light intensity, and use the product of the scaling factor and the duration of the initial deviation warning as the duration of the deviation warning target.
[0132] S33. Obtain a facial image and determine the occurrence of gaze deviation behavior based on the facial image.
[0133] S34. Determine the reminder mode based on the current driving mode.
[0134] S35. Remind the driver according to the reminder mode.
[0135] The vehicle control method based on line-of-sight deviation provided in this embodiment determines the target duration of the deviation warning based on driving mode, vehicle speed, and road environment information. After detecting that the line-of-sight deviation behavior exceeds the target duration, a reminder mode is determined based on the driving mode. By combining driving mode, vehicle speed, and road environment information, a deviation warning target duration more suitable for the current scenario is determined. After detecting that the line-of-sight deviation behavior exceeds the target duration, a reminder mode is determined based on the driving mode. Ultimately, by combining driving mode, vehicle speed, and road environment information to determine the corresponding reminder mode, the user experience can be significantly improved while ensuring safety.
[0136] This embodiment also provides a vehicle control device based on line-of-sight deviation. Figure 4 This is a structural diagram of a vehicle control device based on line-of-sight deviation, such as... Figure 4 As shown, the vehicle control device based on line-of-sight deviation includes a first module 41 and a second module 42.
[0137] The first module 41 is used to determine the duration of deviation from the warning target based on driving mode, vehicle speed and road environment information;
[0138] The second module 42 is used to determine the reminder mode based on the driving mode after detecting that the line-of-sight deviation behavior exceeds the deviation warning target duration.
[0139] It should be noted that the vehicle control device based on line-of-sight deviation provided in this embodiment can also be a computer program (including program code) running on a computer device. For example, the device for determining the safe area of a disabled vehicle can be used as an application program to execute the corresponding steps in the control method provided in this embodiment.
[0140] In some feasible implementations, the vehicle control device based on line-of-sight deviation provided in this embodiment can be implemented using a combination of hardware and software. As an example, the vehicle control device based on line-of-sight deviation in this application embodiment can be a processor in the form of a hardware decoding processor, which is programmed to execute the vehicle control method based on line-of-sight deviation provided in this application embodiment. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0141] The vehicle control device based on line-of-sight deviation provided in this embodiment determines the target duration of the deviation warning based on driving mode, vehicle speed, and road environment information. After detecting that the line-of-sight deviation behavior exceeds the target duration, it determines a reminder mode based on the driving mode. By combining driving mode, vehicle speed, and road environment information, a more suitable target duration for the current scenario is determined. Finally, by combining driving mode, vehicle speed, and road environment information to determine the corresponding reminder mode, the device significantly improves the user experience while ensuring safety.
[0142] In some feasible implementations, the vehicle control device based on line-of-sight deviation provided in this embodiment can be implemented in software, which can be software in the form of programs and plug-ins, and includes a series of modules to implement the vehicle control method based on line-of-sight deviation provided in the above embodiment.
[0143] This application also provides an electronic device. Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application, such as... Figure 5As shown, the electronic device 1000 in this embodiment may include: a processor 1001, a network interface 1004, and a memory 1005. Furthermore, the electronic device 1000 may also include: a user interface 1003, and at least one communication bus 1002. The communication bus 1002 is used to implement communication between these components. The user interface 1003 may include a display screen and a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1004 may be a high-speed RAM or non-volatile memory, such as at least one disk storage device. The memory 1005 may optionally be at least one storage device located remotely from the processor 1001. Figure 5 As shown, the memory 1005, which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a device control application.
[0144] like Figure 5 In the electronic device 1000 shown, the network interface 1004 provides network communication functions; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to implement the above-mentioned vehicle control method based on line-of-sight deviation.
[0145] It should be understood that in some feasible implementations, the processor 1001 described above may be a central processing unit (CPU), which may also be other general-purpose processors, DSPs, ASICs, FPGAs, 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. The memory may include read-only memory and random access memory, and provides instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store device type information.
[0146] In practice, the aforementioned electronic device 1000 can execute the implementation methods provided by the various steps of the control method described above through its built-in functional modules. For details, please refer to the implementation methods provided by the various steps described above, which will not be repeated here.
[0147] The electronic device provided in this embodiment determines the duration of the deviation warning target based on driving mode, vehicle speed, and road environment information. After detecting that the line-of-sight deviation exceeds the duration of the deviation warning target, it determines a reminder mode based on the driving mode. By combining driving mode, vehicle speed, and road environment information to determine a deviation warning target duration more suitable for the current scenario, and then determining a reminder mode based on the driving mode after detecting that the line-of-sight deviation exceeds the duration of the deviation warning target, the device ultimately combines driving mode, vehicle speed, and road environment information to determine the corresponding reminder mode, thus significantly improving the user experience while ensuring safety.
[0148] This application also provides a computer-readable storage medium storing a computer program that is executed by a processor to implement the various steps in the method for determining the safe area of a faulty vehicle in the above embodiments. For details, please refer to the implementation methods provided for the above steps, which will not be repeated here.
[0149] A computer-readable storage medium determines the duration of a deviation warning based on driving mode, vehicle speed, and road environment information. Upon detecting a deviation in line of sight exceeding the specified duration, it determines a warning mode based on the driving mode. By combining driving mode, vehicle speed, and road environment information to determine a deviation warning duration more suitable for the current scenario, and then determining the warning mode based on the driving mode after detecting a deviation in line of sight exceeding the specified duration, the system ultimately combines driving mode, vehicle speed, and road environment information to determine the corresponding warning mode. This approach effectively improves the user experience while ensuring safety.
[0150] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0151] The above description is only a partial embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A vehicle control method based on line-of-sight deviation, characterized in that, Includes the following steps: The duration of deviation from the warning target is determined based on driving mode, vehicle speed, and road environment information, including: classifying driving modes into multiple levels according to the level of driver assistance; classifying road types into multiple levels according to the maximum speed limit corresponding to the road; and the road environment information also includes light intensity. Once the detected line-of-sight deviation exceeds the specified deviation warning duration, a reminder mode is determined based on the driving mode. The step of determining the deviation warning duration based on driving mode, vehicle speed, and road environment information further includes: determining a functional relationship between the driving mode, vehicle speed, road type, and initial deviation warning duration based on driving mode, vehicle speed, road type, and initial deviation warning duration. T0 = A·x + B·y + C·z; Where T0 represents the duration of the initial deviation warning, A, B, and C are preset calibration coefficients, x represents the driving mode level, y represents the vehicle speed, and z represents the road type level; the proportional coefficient is determined based on the current light intensity, and the product of the proportional coefficient and the duration of the initial deviation warning is used as the target duration of the deviation warning.
2. The vehicle control method based on line-of-sight deviation according to claim 1, characterized in that, The step of determining the proportionality coefficient based on the light intensity includes: The light intensity is divided into multiple levels, and an initial coefficient is calibrated according to the light intensity of each level. The initial coefficient is determined based on the current light intensity, and the product of the natural logarithm of the current light intensity and the corresponding initial coefficient is used as the proportional coefficient corresponding to the current light intensity.
3. The vehicle control method based on line-of-sight deviation according to claim 2, characterized in that, After detecting a gaze deviation exceeding the specified warning duration, a reminder mode is determined based on the driving mode, including: Acquire a facial image of the driver and select current feature points in multiple regions of the facial image; Obtain the current sitting posture and determine the basic feature points corresponding to the current sitting posture, wherein the sitting posture includes at least one of the seat position and the driver's body center of gravity position; Based on the comparison results between the basic feature points and the current feature points, determine the deviation angle of the face relative to the preset marker points and the lateral distance of the eyeball relative to the center of the eye. The occurrence of line-of-sight deviation is determined based on the deviation angle and the lateral distance.
4. The vehicle control method based on line-of-sight deviation according to claim 3, characterized in that, The driving modes include: Level 0 to Level 3 assisted driving; The reminder modes include: sound reminder, vibration reminder, and intermittent braking deceleration reminder; Determining the reminder mode based on the driving mode includes: If the driving mode is Level 0 assisted driving, the reminder mode is sound reminder, vibration reminder, and light braking deceleration reminder; If the driving mode is Level 1 assisted driving, the reminder mode is a combination of sound reminder and vibration reminder or a combination of sound reminder and intermittent braking deceleration reminder; If the driving mode is Level 2 assisted driving, then the reminder mode is an audio reminder; If the driving mode is Level 3 assisted driving, the reminder mode is to first enable the sound reminder, and then enable the combination of sound reminder and vibration reminder.
5. The vehicle control method based on line-of-sight deviation according to claim 4, characterized in that, If the driving mode is Level 1 assisted driving, then the reminder mode is a combination of sound reminder and vibration reminder or a combination of sound reminder and intermittent braking deceleration reminder, including: If the driving mode is a longitudinal driving mode of L1 level assisted driving, then the reminder mode is a combination of sound reminder and vibration reminder; If the driving mode is a lateral driving mode of L1 level assisted driving, then the reminder mode is a combination of audible reminder and intermittent braking deceleration reminder.
6. A vehicle control device based on line-of-sight deviation, used to implement the vehicle control method based on line-of-sight deviation as described in any one of claims 1 to 5, characterized in that, include: The first module is used to determine the duration of deviation from the warning target based on driving mode, vehicle speed, and road environment information; The second module is used to determine the reminder mode based on the driving mode after detecting that the line-of-sight deviation behavior exceeds the deviation warning target duration.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the vehicle control method based on line-of-sight deviation as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause the computer to perform the vehicle control method based on line-of-sight deviation as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Driving fatigue monitoring method, controller, system and vehicle
CN114670847A
System and method for driver distraction determination
US20180126901A1
