Vehicle light control method and device, computer equipment and storage medium
By obtaining vehicle sensor data to determine the headlight control area and adjust the brightness of the side lights, the problem of the single function of existing vehicle side lights is solved, and blind spots are reduced and driving safety is improved.
Patent Information
- Application Number
- CN202511007477.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-22
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2045-07-22
AI Technical Summary
Existing vehicle side lights have single functions and low energy efficiency, and are unable to effectively reduce blind spots at night or in low-light environments, leading to a high incidence of accidents.
By acquiring vehicle sensor data, including vehicle external image data and radar ranging data, the system determines the headlight control area and controls the brightness of the side lights when the ambient light intensity is below the threshold. The system adjusts the brightness according to the obstacle type and vehicle status, including the flashing frequency and brightness level.
It effectively reduces vehicle blind spots, improves driving safety, enhances the driver's ability to observe the surrounding environment, reduces the rate of side collision accidents, and improves the vehicle's intelligence level and user experience.
Smart Images

Figure CN120503699B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle light control method and device, computer equipment, and storage medium. Background Art
[0002] With the rapid development of intelligent and electrified vehicles, driving safety and user experience are becoming increasingly important concerns. When driving at night or in low-visibility environments, the lack of light outside can cause certain areas on the vehicle's sides to fall outside the driver's field of vision. This increases the probability of accidents in these areas, making them high-risk areas for accidents. Related technologies typically employ lights on the vehicle's sides (referred to as side lights) to mitigate these accidents.
[0003] However, the side lights provided by the related technology have relatively simple functions, low energy efficiency, lack of interactivity, and cannot meet the actual needs of some vehicles. Summary of the Invention
[0004] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a vehicle light control method and device, a computer device and a storage medium, so as to solve the technical problems existing in the prior art.
[0005] To achieve the above and other related objectives, the present invention provides a vehicle light control method, comprising the following steps:
[0006] Acquiring sensor data of a target vehicle collected in advance or in real time, the sensor data including vehicle external image data, ambient light intensity, and vehicle radar ranging data, the target vehicle including a vehicle determined in advance or in real time;
[0007] Under the condition that the ambient light intensity is less than or equal to a preset ambient light threshold, determining the headlight control area of the target vehicle based on the vehicle external image data and the vehicle radar ranging data, and performing obstacle detection on the headlight control area; wherein the headlight control area includes an area that cannot be directly observed by the vehicle driver from the driver's seat;
[0008] Under the condition that there are obstacles in the vehicle light control area, the brightness of the target vehicle lights is controlled; wherein the target vehicle lights are set in the side area of the target vehicle.
[0009] In one embodiment of the present invention, when there is an obstacle in the headlight control area, the process of controlling the brightness of the target headlight includes:
[0010] Under the condition that there is a vehicle in the vehicle light control area, increasing the brightness of the target vehicle light from a preset brightness to a first target brightness or a second target brightness;
[0011] and / or, if a pedestrian is present in the headlight control area, increasing the brightness of the target headlight from a preset brightness to a third target brightness, and controlling the target headlight to flash at a preset flashing frequency;
[0012] and / or, if there are other obstacles in the headlight control area, increasing the brightness of the target headlight from the preset brightness to a fourth target brightness; wherein the other obstacles include objects other than the vehicle and the pedestrian that affect the normal driving of the vehicle;
[0013] The preset brightness, the first target brightness, the second target brightness, the third target brightness and the fourth target brightness are different brightnesses respectively.
[0014] In one embodiment of the present invention, under the condition that there is a vehicle in the headlight control area, the process of increasing the brightness of the target headlight from a preset brightness to a first target brightness or a second target brightness includes:
[0015] Recording a vehicle located in the headlight control area as an obstructing vehicle;
[0016] The target vehicle speed for brightness selection is calculated based on the vehicle speed of the target vehicle and the vehicle speed of the obstacle vehicle. Under the condition that the target vehicle speed is greater than the preset vehicle speed, the brightness of the target vehicle light is increased from the preset brightness to the first target brightness; or, under the condition that the target vehicle speed is less than or equal to the preset vehicle speed, the brightness of the target vehicle light is increased from the preset brightness to the second target brightness.
[0017] In one embodiment of the present invention, if the sensor data also includes vehicle speed and vehicle steering angle, the method further includes: under the condition that the turn signal state of the target vehicle is on, increasing the brightness of the target vehicle light from a preset brightness to a fifth target brightness according to the vehicle steering angle and vehicle speed of the target vehicle; wherein the preset brightness and the fifth target brightness are different brightnesses.
[0018] In one embodiment of the present invention, the method further includes:
[0019] Obtaining the gear status of the target vehicle;
[0020] Under the condition that the gear state is a parking state, adjusting the brightness of the target vehicle headlight to a preset brightness, and determining the headlight control area of the target vehicle based on the vehicle external image data and the vehicle radar ranging data, and performing obstacle detection on the headlight control area;
[0021] Under the condition that there is an obstacle in the headlight control area, the brightness of the target headlight is increased from a preset brightness to a second target brightness.
[0022] In one embodiment of the present invention, if the obstacle includes a vehicle, the process of controlling the brightness of the target vehicle headlights includes:
[0023] Recording a vehicle located in the headlight control area as an obstructing vehicle;
[0024] Calculating the lateral distance between the target vehicle and the obstacle vehicle, and using the minimum lateral distance as the safe distance between the target vehicle and the obstacle vehicle; wherein the lateral distance between the target vehicle and the obstacle vehicle is the minimum when the lateral aerodynamic force between the target vehicle and the obstacle vehicle is less than or equal to the maximum static friction of the tires of the target vehicle;
[0025] Calculating the minimum perceptible brightness of the driver of the obstacle vehicle based on the safety distance and the ambient light intensity; wherein the minimum perceptible brightness is used to represent the minimum brightness or minimum contrast that can be perceived;
[0026] According to the minimum perceptible brightness, the brightness of the target vehicle light is increased from a preset brightness to a first target brightness or a second target brightness; wherein the first target brightness and the second target brightness are both greater than the minimum perceptible brightness.
[0027] In one embodiment of the present invention, if the obstacle includes a vehicle, the process of controlling the brightness of the target vehicle headlights includes:
[0028] Recording a vehicle located in the headlight control area as an obstructing vehicle;
[0029] The light on time of the target headlight perceived by the driver of the obstacle vehicle is calculated based on the lateral distance between the target vehicle and the obstacle vehicle, the relative speed between the target vehicle and the obstacle vehicle, the driver's reaction time, and the response delay time of the target headlight.
[0030] The present invention also provides a vehicle light control device, the device comprising:
[0031] A data acquisition module is used to obtain sensor data of a target vehicle collected in advance or in real time, wherein the sensor data includes vehicle external image data, ambient light intensity, and vehicle radar ranging data. The target vehicle includes a vehicle determined in advance or in real time;
[0032] an obstacle detection module, configured to determine, under the condition that the ambient light intensity is less than or equal to a preset ambient light threshold, a headlight control area of the target vehicle based on the vehicle external image data and the vehicle radar ranging data, and perform obstacle detection in the headlight control area; wherein the headlight control area includes an area that cannot be directly observed by the vehicle driver from the driver's seat;
[0033] The headlight control module is used to control the brightness of the target headlights when there are obstacles in the headlight control area; wherein the target headlights are set in the side area of the target vehicle.
[0034] The present invention also provides a computer device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of any one of the above-mentioned vehicle light control methods.
[0035] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any one of the above-mentioned vehicle light control methods when executed by a processor.
[0036] As described above, the present invention provides a vehicle light control method and apparatus, a computer device, and a storage medium, which have the following beneficial effects: the present invention obtains sensor data of a target vehicle collected in advance or in real time, the sensor data including vehicle external image data, ambient light intensity, and vehicle radar ranging data; then, under the condition that the ambient light intensity is less than or equal to a preset ambient light threshold, determines the target vehicle's vehicle light control area based on the vehicle external image data and the vehicle radar ranging data, and performs obstacle detection on the vehicle light control area; and, under the condition that an obstacle exists in the vehicle light control area, controls the brightness of the target vehicle light; wherein the target vehicle light is located in the side area of the target vehicle, and the target vehicle includes a vehicle determined in advance or in real time. It can be seen that the present invention can control the brightness of the target vehicle light located in the side area of the target vehicle under the condition that the ambient light intensity is less than or equal to the preset ambient light threshold and an obstacle exists in the vehicle light control area, effectively reducing the blind spot area of the target vehicle at night or in low-light conditions, and facilitating the driver of the target vehicle to better observe the surrounding environment during driving when the target vehicle turns or changes lanes, thereby reducing the incidence of side collision accidents of the target vehicle and improving the driving safety of the target vehicle. At the same time, the present invention can integrate advanced driver assistance systems, sensors, and other technologies during the brightness control process of the target vehicle's lights, enabling more intelligent lighting control, enhancing the target vehicle's intelligence and technological sense, and optimizing the user's driving experience. Furthermore, when the target vehicle is in a parking scenario, the present invention can provide additional lighting support for the target vehicle's lights, facilitating the driver and passengers in the target vehicle to perform corresponding actions, thereby increasing the driving convenience and safety of the target vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A schematic flow chart of a vehicle light control method provided in one embodiment of the present invention;
[0038] Figure 2 A schematic diagram of the hardware structure of a vehicle light control device provided in one embodiment of the present invention;
[0039] Figure 3 A schematic diagram of the hardware structure of a vehicle light control device provided in another embodiment of the present invention;
[0040] Figure 4 A schematic diagram of the hardware structure of a vehicle light control device provided in another embodiment of the present invention;
[0041] Figure 5 A schematic diagram of a process for performing dynamic fill light according to an embodiment of the present invention;
[0042] Figure 6 A schematic diagram of a process for performing turn-enhanced lighting according to an embodiment of the present invention;
[0043] Figure 7 A schematic diagram of a process for performing parking auxiliary lighting according to an embodiment of the present invention;
[0044] Figure 8 The figure is a schematic diagram of the hardware structure of a computer device suitable for implementing one or more embodiments of the present invention. DETAILED DESCRIPTION
[0045] The following describes the embodiments of the present invention by means of specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It is understood that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. In addition, it is understood that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the drawings only show the components related to the present invention rather than the number, shape and size of the components in the actual implementation. The type, quantity and proportion of the components in the actual implementation can be a kind of arbitrary change, and the component layout type may also be more complicated.
[0046] Figure 1 A flow chart of a vehicle light control method is shown. Specifically, in an exemplary embodiment, Figure 1 As shown, this embodiment provides a vehicle light control method, which includes the following steps:
[0047] S110, acquiring sensor data of a target vehicle collected in advance or in real time, the sensor data including vehicle external image data, ambient light intensity, and vehicle radar ranging data, the target vehicle including a vehicle determined in advance or in real time;
[0048] S120, under the condition that the ambient light intensity is less than or equal to a preset ambient light threshold, determining a headlight control area of the target vehicle based on the vehicle exterior image data and the vehicle radar ranging data, and performing obstacle detection in the headlight control area; wherein the headlight control area includes an area that cannot be directly observed by the vehicle driver from the driver's seat;
[0049] S130 , controlling the brightness of target vehicle lights under the condition that there are obstacles in the vehicle light control area; wherein the target vehicle lights are set in the side area of the target vehicle.
[0050] In some exemplary embodiments, the target vehicle may be a new energy vehicle or a gasoline vehicle equipped with an Advanced Driving Assistance System (ADAS) and an Electronic Stability Program (ESP). In some examples, the target vehicle may also be referred to as the current vehicle, the ego vehicle, or the host vehicle.
[0051] In some exemplary embodiments, sensor data includes, but is not limited to, vehicle external image data, vehicle steering angle, vehicle speed, ambient light intensity, and vehicle radar ranging data. Specifically, the target vehicle's external image data may be obtained by capturing the vehicle's external environment using an onboard camera configured in the target vehicle; the target vehicle's ambient light intensity may be collected by a light intensity sensor configured in the target vehicle; the target vehicle's vehicle radar ranging data may be obtained by measuring the vehicle's external environment using an ultrasonic radar sensor configured in the target vehicle; the target vehicle's steering angle may be generated by a steering sensor configured in the target vehicle based on the target vehicle's real-time driving status; and the target vehicle's speed may be generated by a speed sensor configured in the target vehicle based on the target vehicle's real-time driving status. The ultrasonic radar sensor may be provided in an advanced driver assistance system, and the steering sensor and speed sensor may be provided in an electronic stability control system.
[0052] In some exemplary embodiments, the preset ambient light threshold can be set or selected based on the actual scenario and is not limited to a specific value. For example, the preset ambient light threshold can be 300 lux. In some exemplary embodiments, obstacles include, but are not limited to, vehicles, pedestrians, cones, rocks, etc., and obstacles such as cones and rocks may also be referred to as other obstacles.
[0053] In some exemplary embodiments, the target vehicle's headlight control area can be determined solely based on the vehicle's external image data, solely based on the vehicle's radar ranging data, or jointly based on the vehicle's external image data and the vehicle's radar ranging data. For example, as some examples, the target vehicle's headlight control area can be an image area corresponding to the vehicle's external image data. As some examples, the target vehicle's headlight control area can be a radar area corresponding to the vehicle's radar ranging data. As some examples, the target vehicle's headlight control area can be an intersection area that exists in both the vehicle's external image data and the vehicle's radar ranging data. As some examples, the target vehicle's headlight control area overlaps with the target vehicle's blind spot or side blind spot. The target vehicle's blind spot can be an area that the vehicle driver cannot directly observe from the driver's seat, and the target vehicle's side blind spot can be a side area that the vehicle driver cannot directly observe from the driver's seat.
[0054] In some exemplary embodiments, the process of detecting obstacles in the headlight control area may include: using image recognition technology to identify obstacles in the vehicle's external image data, determining whether the vehicle's external image data contains obstacles and the specific category of the corresponding obstacles; the process of identifying obstacles using image recognition technology is not further described herein, and reference is made to related art. The process of detecting obstacles in the headlight control area may also include: measuring the distance to the obstacles using vehicle radar ranging data, and identifying the distance between the obstacles and the target vehicle; the process of measuring the distance to the obstacles using vehicle radar ranging data is not further described herein, and reference is made to related art.
[0055] In some exemplary embodiments, the target headlights arranged in the side area of the target vehicle can be referred to as side lights or side lights, and the side area of the target vehicle includes the left side area of the target vehicle and / or the right side area of the target vehicle, wherein the target headlights arranged in the left side area can be referred to as left side lights or left side lights, and the target headlights arranged in the right side area can be referred to as right side lights or right side lights.
[0056] In some exemplary embodiments, when an obstacle exists in the headlight control area, controlling the brightness of the target headlight includes: increasing the brightness of the target headlight from a preset brightness to a first target brightness or a second target brightness when a vehicle is present in the headlight control area; and / or increasing the brightness of the target headlight from a preset brightness to a third target brightness and controlling the target headlight to flash at a preset flashing frequency when a pedestrian is present in the headlight control area; and / or increasing the brightness of the target headlight from a preset brightness to a fourth target brightness when other obstacles exist in the headlight control area. Other obstacles include objects other than the vehicle and pedestrian that affect the normal driving of the vehicle, such as cones and / or rocks. The preset brightness, first target brightness, second target brightness, third target brightness, and fourth target brightness are different brightness levels, and the values of the preset brightness, preset flashing frequency, first target brightness, second target brightness, third target brightness, and fourth target brightness can be set or selected based on actual scenarios, and are not limited to specific values herein. As an example, if the base brightness of the target headlights is 20% of the full brightness, the base brightness of the target headlights can be used as the preset brightness. As another example, 50% of the full brightness of the target headlights can be used as the fourth target brightness. As an example, the preset flickering frequency can be close to the human eye's peak sensitivity to motion stimuli (1.5Hz-3Hz), thereby effectively triggering an alert response. For example, the preset flickering frequency can be 2Hz. Furthermore, when at least two obstacles, such as vehicles, pedestrians, cones, and rocks, are simultaneously present in the headlight control area, the brightness of the target headlights can be controlled according to the highest brightness of the current obstacles. As an example, if the first target brightness is greater than the third target brightness, the third target brightness is greater than the second target brightness, and the fourth target brightness is less than the second target brightness, then when a vehicle, pedestrian, and rock are simultaneously present in the headlight control area, the brightness of the target headlights can be controlled according to the highest brightness of the three obstacles, that is, the brightness of the target headlights can be controlled according to the first target brightness. As another example, if the first target brightness is greater than the third target brightness, the third target brightness is greater than the second target brightness, and the fourth target brightness is less than the second target brightness, then when there are pedestrians and stones in the headlight control area at the same time, the brightness of the target headlights can be controlled according to the highest brightness of the two obstacles, pedestrians and stones, that is, the brightness of the target headlights can be controlled according to the third target brightness.
[0057] In some exemplary embodiments, when a vehicle is present in a headlight control area, the process of increasing the brightness of a target headlight from a preset brightness to a first target brightness or a second target brightness includes: marking the vehicle in the headlight control area as an obstructing vehicle; calculating a target speed for brightness selection based on the speed of the target vehicle and the speed of the obstructing vehicle; and when the target speed is greater than the preset speed, increasing the brightness of the target headlight from the preset brightness to the first target brightness; or, when the target speed is less than or equal to the preset speed, increasing the brightness of the target headlight from the preset brightness to the second target brightness. Specifically, the process of calculating the target speed based on the speed of the target vehicle and the speed of the obstructing vehicle may be: , , , where Indicates the target speed of the target vehicle and the obstacle vehicle, in m / s; Indicates the vehicle speed of the target vehicle, in m / s; Indicates the speed of the obstacle vehicle in m / s; Indicates the aerodynamic empirical coefficient, unit m 2 / s; Indicates the lateral distance between the target vehicle and the obstacle vehicle, in meters; Indicates air density in kg / m 3 ; Indicates the side area of the target vehicle, in m 2 ; Indicates the shape drag coefficient of the target vehicle, which is related to the target vehicle's shape, in m 2 / kg; Indicates the relative speed between the target vehicle and the obstacle vehicle, in m / s. The value of the preset speed can be set or selected according to the actual scenario, and is not limited to a specific value here. As an example, the preset speed can be 5m / s. , then the brightness of the target headlight is increased from the preset brightness to the first target brightness; otherwise, if , the brightness of the target vehicle headlight is increased from the preset brightness to the second target brightness, and the first target brightness is greater than the second target brightness. In some examples, the obstacle vehicle can also be referred to as a surrounding vehicle, an adjacent vehicle, another vehicle, or another vehicle.
[0058] In some exemplary embodiments, the vehicle light control method may further include: obtaining the gear status of the target vehicle; adjusting the brightness of the target vehicle light to a preset brightness if the gear status is parking; determining the target vehicle's light control area based on the vehicle's external image data and the vehicle's radar ranging data; and performing obstacle detection on the light control area; and increasing the brightness of the target vehicle light from the preset brightness to a second target brightness if an obstacle is present in the light control area. Thus, the vehicle light control method may determine the target vehicle's light control area based on the vehicle's external image data and the vehicle's radar ranging data during parking, then perform obstacle detection on the light control area, and increase the brightness of the target vehicle light from the preset brightness to the second target brightness if an obstacle is present in the light control area. This allows the target vehicle light to illuminate the obstacle, facilitating actions (e.g., getting in and out of the vehicle, or retrieving an object) for the driver and passengers of the target vehicle, thereby improving driving convenience and safety for the target vehicle.
[0059] In some exemplary embodiments, if the sensor data also includes vehicle speed and steering angle, the vehicle light control method may further include: when the target vehicle's turn signal is on, increasing the brightness of the target vehicle's headlight from a preset brightness to a fifth target brightness based on the target vehicle's steering angle and speed. The preset brightness and the fifth target brightness are different, and the value of the fifth target brightness can be set or selected based on the actual scenario; specific numerical values are not limited herein. Furthermore, when the target vehicle's turn signal is on and an obstacle exists within the headlight control area, the brightness of the target vehicle's headlight may be controlled based on the highest brightness between the brightness corresponding to the turn signal and the brightness corresponding to the obstacle. Therefore, when the target vehicle's turn signal is on, it can be determined that the target vehicle is turning or changing lanes. In this case, the brightness of the target vehicle's headlight is increased from the preset brightness to the fifth target brightness based on the vehicle's steering angle and speed. This facilitates the driver of the target vehicle to better observe the surrounding environment while driving, reduces the incidence of side collision accidents involving the target vehicle, and improves driving safety for the target vehicle.
[0060] In some exemplary embodiments, if the sensor data also includes vehicle speed and steering angle, the headlight control method may further include: if the target vehicle's steering angle is less than or equal to a preset angle, marking the target vehicle as not turning and not changing lanes; or, if the target vehicle's steering angle is greater than a preset angle, marking the target vehicle as turning or changing lanes. If the target vehicle is turning or changing lanes, increasing the brightness of the target headlight from a preset brightness to a fifth target brightness based on the target vehicle's steering angle and speed; and if the target vehicle is not turning and not changing lanes, controlling the brightness of the target headlight based on the target vehicle's speed. The values of the preset angle and the fifth target brightness can be found in the above-described embodiments and are not further described here. Furthermore, the process for controlling the brightness of the target headlight based on the target vehicle's speed can be found in some of the above-described embodiments and is not further described here. As an example, when the target vehicle's speed is zero, the process for controlling the brightness of the target headlight can be found in the parking process described above. Furthermore, when the target vehicle is turning or changing lanes, and an obstacle exists in the headlight control area, the target headlight brightness can be controlled based on the highest brightness between the brightness corresponding to the turning or lane change state and the brightness corresponding to the obstacle. This allows the headlight control method to increase the target headlight brightness from a preset brightness to a fifth target brightness based on the vehicle's steering angle and speed during the target vehicle's turning or lane change. This allows the driver of the target vehicle to better observe the surrounding environment while driving, reducing the incidence of side collision accidents involving the target vehicle and improving driving safety for the target vehicle.
[0061] In some exemplary embodiments, under the condition that there is a vehicle in the headlight control area, the process of controlling the brightness of the target headlight includes: marking the vehicle located in the headlight control area as an obstacle vehicle; calculating the lateral distance between the target vehicle and the obstacle vehicle, and using the minimum lateral distance as the safe distance between the target vehicle and the obstacle vehicle; wherein, under the condition that the lateral aerodynamic force between the target vehicle and the obstacle vehicle is less than or equal to the maximum static friction of the target vehicle's tires, the lateral distance between the target vehicle and the obstacle vehicle is minimum; calculating the minimum perceptible brightness of the driver in the obstacle vehicle based on the safe distance and the ambient light intensity; wherein the minimum perceptible brightness represents the minimum brightness or minimum contrast that can be perceived; according to the minimum perceptible brightness, the brightness of the target headlight is increased from a preset brightness to a first target brightness or a second target brightness; wherein the first target brightness and the second target brightness are both greater than the minimum perceptible brightness. Specifically, the process of calculating the lateral distance between the target vehicle and the obstacle vehicle may include: calculating the air pressure difference between the target vehicle and the obstacle vehicle, having: , where Indicates the air pressure difference between the target vehicle and the obstacle vehicle, represents the air density, Indicates the outer wind speed of the target vehicle and the obstacle vehicle, represents the wind speed between the target vehicle and the obstacle vehicle; Can be equal to the vehicle speed of the target vehicle , It can also be equal to the vehicle speed of the obstacle vehicle , Can be equal to the target speed of the target vehicle and the obstacle vehicle The lateral aerodynamic force is calculated based on the pressure difference between the target vehicle and the obstacle vehicle: , where represents the lateral aerodynamic force, represents a constant, represents the side area of the target vehicle, represents the vehicle speed of the target vehicle, Represents the speed of the obstacle vehicle. Calculate the lateral distance between the target vehicle and the obstacle vehicle: , where Indicates the lateral distance between the target vehicle and the obstacle vehicle, represents the calibration constant, represents the tire friction coefficient of the target vehicle, Indicates the acceleration due to gravity. The lateral aerodynamic force does not exceed the maximum static friction of the target vehicle's tires. When , the lateral distance between the target vehicle and the obstacle vehicle is the smallest, that is, When , the minimum lateral distance between the target vehicle and the obstacle vehicle is obtained ,in, represents the mass of the target vehicle. The minimum lateral distance is then used as the safe distance between the target vehicle and the obstacle vehicle, and the minimum perceivable brightness of the driver in the obstacle vehicle is calculated based on the safe distance and the ambient light intensity, as follows: , where Indicates the minimum perceptible brightness of the driver in the obstructing vehicle, indicating the minimum brightness or minimum contrast that the driver in the obstructing vehicle can perceive; Indicates the contrast threshold of the human eye, which indicates the minimum brightness or minimum contrast that the human eye can perceive, with a value range of 0.01-0.05. Indicates the ambient light intensity, Indicates the luminous efficiency of the headlights, which is determined by the type of target headlights. Finally, the minimum perceptible brightness of the driver in the obstacle vehicle is determined by the The target vehicle's headlights are raised from a preset brightness to a first target brightness or a second target brightness, both of which are greater than the minimum perceptible brightness. Thus, by calculating the minimum perceptible brightness of the driver of the obstructing vehicle and ensuring both the first target brightness and the second target brightness are greater than the minimum perceptible brightness, it is possible to ensure that after the target vehicle's headlights are raised from a preset brightness to the first target brightness or the second target brightness, the driver of the obstructing vehicle can observe the target vehicle's driving behavior during driving, thereby avoiding a collision between the target vehicle and the obstructing vehicle.
[0062] In some exemplary embodiments, when a vehicle is present in the headlight control area, the process of controlling the brightness of a target headlight includes: marking the vehicle in the headlight control area as an obstructing vehicle; and calculating the time the target headlight is on as perceived by the driver of the obstructing vehicle based on the lateral distance between the target vehicle and the obstructing vehicle, the relative speed between the target vehicle and the obstructing vehicle, the driver's reaction time, and the response delay of the target headlight. Specifically, the calculation of the time the target headlight is on as perceived by the driver of the obstructing vehicle is as follows: , where Indicates the target vehicle's headlight on time as perceived by the driver of the obstacle vehicle; Indicates the lateral distance between the target vehicle and the obstacle vehicle, Indicates the relative speed between the target vehicle and the obstacle vehicle; Indicates driver reaction time; Represents the response delay of the target vehicle's lights. The specific value of the driver's reaction time can be selected or set based on the actual scenario and is not limited here. Therefore, when there are vehicles in the headlight control area, the target vehicle's speed and lateral distance from the obstructing vehicle are comprehensively considered. The target vehicle's lights are then controlled to turn on in advance according to this light-on time, ensuring that the target lights are perceived by the driver of the obstructing vehicle in the shortest possible time.
[0063] In some exemplary embodiments, before increasing the brightness of the target headlight from a preset brightness to the first target brightness, the second target brightness, the third target brightness, the fourth target brightness, or the fifth target brightness, the headlight control method may further include: adjusting the brightness of the target headlight to a preset brightness when the ambient light intensity is less than or equal to a preset ambient light threshold. The preset brightness value can be set or selected based on the actual scenario and is not specifically limited herein. For example, the preset brightness of the target headlight may be 20% of the full brightness.
[0064] In summary, the present invention provides a vehicle light control method, which obtains sensor data of a target vehicle collected in advance or in real time, the sensor data including vehicle external image data, ambient light intensity, and vehicle radar ranging data; then, under the condition that the ambient light intensity is less than or equal to a preset ambient light threshold, determines the vehicle light control area of the target vehicle based on the vehicle external image data and the vehicle radar ranging data, and performs obstacle detection on the vehicle light control area; and under the condition that an obstacle exists in the vehicle light control area, controls the brightness of the target vehicle light; wherein the target vehicle light is located in the side area of the target vehicle, and the target vehicle includes a vehicle determined in advance or in real time. As can be seen, the method can control the brightness of the target vehicle light located in the side area of the target vehicle under the condition that the ambient light intensity is less than or equal to the preset ambient light threshold and an obstacle exists in the vehicle light control area, effectively reducing the blind spot area of the target vehicle at night or in low-light conditions, and facilitating the driver of the target vehicle to better observe the surrounding environment during driving when the target vehicle turns or changes lanes, thereby reducing the incidence of side collision accidents of the target vehicle and improving the driving safety of the target vehicle. Furthermore, this method can be integrated with advanced driver assistance systems (ADAS) and sensors to achieve more intelligent lighting control, enhancing the intelligence and technological capabilities of the target vehicle and optimizing the user's driving experience. Furthermore, when the target vehicle is parked, this method can provide additional lighting support to the target vehicle's lights, facilitating actions for the driver and passengers (e.g., getting in and out, or retrieving objects), thus increasing driving convenience and safety.
[0065] In an exemplary embodiment of the present invention, Figure 2 As shown, a vehicle light control device is also provided, comprising:
[0066] A data acquisition module 210 is configured to acquire sensor data of a target vehicle acquired in advance or in real time, wherein the sensor data includes vehicle external image data, ambient light intensity, and vehicle radar ranging data. The target vehicle includes a vehicle determined in advance or in real time;
[0067] Obstacle detection module 220 is configured to determine the target vehicle's headlight control area based on vehicle exterior image data and vehicle radar ranging data, and perform obstacle detection within the headlight control area, provided that the ambient light intensity is less than or equal to a preset ambient light threshold. The headlight control area includes the area that cannot be directly observed by the driver from the driver's seat.
[0068] The vehicle light control module 230 is used to control the brightness of the target vehicle lights when there are obstacles in the vehicle light control area; wherein the target vehicle lights are set in the side area of the target vehicle.
[0069] It can be understood that the vehicle light control device provided in the above embodiment and the vehicle light control method provided in the above embodiment belong to the same concept, wherein the specific manner in which the vehicle light control method performs operations has been described in detail in the above embodiment and will not be repeated here. In actual applications, the vehicle light control device provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the vehicle light control device into different functional modules, and then implement all or part of the functions of the corresponding functional modules through the vehicle light control method described in the above embodiment. For example, all or part of the functions of the data acquisition module 210 can be implemented or executed through the relevant step process of step S110, all or part of the functions of the obstacle detection module 220 can be implemented or executed through the relevant step process of step S120, and all or part of the functions of the vehicle light control module 230 can be implemented or executed through the relevant step process of step S130. The specific implementation or execution process can be referred to the above embodiment and will not be described in detail here.
[0070] In another exemplary embodiment of the present invention, Figure 3As shown, a headlight control device is also provided, comprising: a camera, an ultrasonic radar sensor, a steering sensor, a vehicle speed sensor, a light intensity sensor, a processing unit, and an LED (Light-Emitting Diode, or LED) driver module. The camera, ultrasonic radar sensor, steering sensor, vehicle speed sensor, and light intensity sensor may collectively form the data acquisition module 210 described in other embodiments, and the processing unit and LED driver module may collectively form the obstacle detection module 220 and headlight control module 230 described in other embodiments. Specifically, the camera captures the vehicle's external environment to obtain external image data, the light intensity sensor captures the vehicle's external environment to obtain ambient light intensity, the ultrasonic radar sensor measures the vehicle's external environment to obtain vehicle radar ranging data, the steering sensor generates the vehicle's steering angle based on the vehicle's real-time driving status, and the speed sensor generates the vehicle's speed based on the target vehicle's real-time driving status. The processing unit connects to a camera via the camera interface module to acquire external vehicle image data. It also acquires data such as vehicle steering angle, vehicle speed, vehicle radar ranging data, turn signal status, and gear position via the communication interface module's CAN (Controller Area Network) bus. The processing unit also acquires ambient light intensity via the light intensity sensor module. The processing unit determines whether the ambient light intensity is less than or equal to a preset ambient light threshold. It then determines the target vehicle's headlight control area based on the external vehicle image data and the vehicle radar ranging data. It then performs obstacle detection on the headlight control area based on the external vehicle image data and the vehicle radar ranging data to determine whether the headlight control area contains an obstacle and the type of obstacle it contains. It also determines whether the vehicle is turning based on the turn signal status and whether the vehicle is parked based on the gear position. The processing unit also calculates the minimum perceivable brightness for the driver of the obstructing vehicle and the duration of the LED light cluster's light on time perceived by the driver of the obstructing vehicle. The processing unit then calculates the target brightness of the LED light group based on the vehicle's external image data, vehicle steering angle, vehicle speed, ambient light intensity, vehicle radar ranging data, turn signal status, and gear status. It then outputs the PWM (Pulse Width Modulation) duty cycle corresponding to the target brightness to the LED driver module, controlling the LED driver module to output a drive signal corresponding to the PWM duty cycle to the LED light group, driving the LED light group to emit light according to the corresponding target brightness.The PWM duty cycle ranges from 0% to 100%. The PWM duty cycle is controlled and adjusted by the processing unit. The PWM duty cycle corresponds to the brightness of the LED light group. A 0% duty cycle represents a brightness of 0, indicating that the LED light group is off; a 100% duty cycle represents a brightness of 100%. The brightness of multiple LED light groups can be independently controlled, meaning that the illumination range can be controlled by turning different LED light groups on and off. In some exemplary embodiments, one or more LED light groups can constitute the aforementioned target vehicle lights.
[0071] In another exemplary embodiment of the present invention, Figure 4 As shown, a vehicle light control device is also provided, comprising: a camera interface module, a processing unit, a communication interface module, a light intensity sensor module, and an LED driver module. The communication interface module includes CAN and Ethernet interfaces. The processing unit can obtain data such as vehicle steering angle, vehicle speed, vehicle radar ranging data, turn signal status, and gear position via the CAN bus in the communication interface module. The processing unit can also receive control commands via the Ethernet interface in the communication interface module to directly control the vehicle lights. The processing unit can connect to a camera via the camera interface module to obtain vehicle external image data; the processing unit can also obtain ambient light intensity via the light intensity sensor module. The processing unit then calculates the target brightness of the LED light group based on the vehicle external image data, vehicle steering angle, vehicle speed, ambient light intensity, vehicle radar ranging data, turn signal status, and gear position. The processing unit then outputs a PWM duty cycle corresponding to the target brightness to the LED driver module, controlling the LED driver module to output a drive signal to the LED light group, driving the LED light group to emit light according to the target brightness.
[0072] According to the above description, in a specific embodiment, a vehicle light control process for dynamic fill light is provided. When an obstacle such as a vehicle or pedestrian is detected in the side blind spot of the vehicle, the brightness of the vehicle side lights is enhanced and the brightness of the illumination is adjusted according to the distance of the obstacle. At the same time, when a pedestrian is detected approaching, the side lights flash to alert the pedestrian. Figure 5 As shown, specifically including:
[0073] Step 1: The processing unit obtains the light intensity data collected by the light intensity sensor through the light intensity sensor module. When the ambient light intensity is lower than the ambient light threshold (for example, 300 lux), it is determined that the vehicle is in a dark environment.
[0074] Step 2: The processing unit outputs a PWM duty cycle for the base brightness to the LED driver module, and controls the LED driver module to output a drive signal corresponding to the base brightness PWM duty cycle to illuminate the LED light cluster. The processing unit may initially output a PWM duty cycle of 20%, which defaults the base brightness of the LED light cluster to 20% of the full brightness. In some embodiments, the base brightness may also be referred to as a preset brightness.
[0075] Step 3: The processing unit acquires real-time external vehicle image data through the camera interface, performs image recognition on the data, and determines the types of obstacles in the vehicle's side blind spot. Obstacles include but are not limited to vehicles, pedestrians, cones, rocks, etc. The vehicle's side blind spot can also be called the headlight control area.
[0076] Step 4: a. When the obstacle in the side blind spot of the vehicle is identified as a vehicle, the current vehicle is recorded as the target vehicle, and the vehicle in the side blind spot of the vehicle is recorded as the obstacle vehicle. Then, the obstacle vehicle speed information in the ADAS is obtained through the CAN bus in the communication interface module, and the distance information to the obstacle vehicle is obtained through the ultrasonic radar sensor, and the required brightness is calculated. For example, if the obstacle vehicle's speed is lower than the target vehicle, and the target vehicle is behind the obstacle vehicle and the obstacle vehicle is in front, consider two cases:
[0077] (1) Assuming that the lateral distance between the target vehicle and the obstacle vehicle is lower than a certain value, the target vehicle and the obstacle vehicle will be forced to approach and collide with each other due to the intermediate air pressure difference, so the lateral distance between the target vehicle and the obstacle vehicle needs to be calculated. The specific calculation process of the lateral distance between the target vehicle and the obstacle vehicle can be referred to some of the above embodiments and will not be described in detail here. The minimum lateral distance between the target vehicle and the obstacle vehicle is used as the safe distance between the target vehicle and the obstacle vehicle, and the minimum perceptible brightness of the driver of the obstacle vehicle is calculated taking into account the ambient light intensity. By calculating the minimum perceptible brightness of the driver of the obstacle vehicle, it is convenient for the driver of the obstacle vehicle to observe the driving behavior of the target vehicle during driving and avoid collision accidents between the target vehicle and the obstacle vehicle. Among them, when the lateral aerodynamic force does not exceed the maximum static friction of the tire, the lateral distance between the target vehicle and the obstacle vehicle is the minimum. The specific calculation process of calculating the minimum perceptible brightness of the driver of the obstacle vehicle can be referred to some of the above embodiments and will not be described in detail here.
[0078] (2) Considering the speeds of the target vehicle and the obstacle vehicle, and the distance between the two vehicles, the light-on time of the side lights that can be perceived by the driver of the obstacle vehicle is calculated. By calculating the light-on time of the side lights that can be perceived by the driver of the obstacle vehicle, the target vehicle is controlled to turn on the target lights in advance according to the light-on time, so that the side lights can be perceived by the driver of the obstacle vehicle in the shortest possible time. The specific calculation process of calculating the light-on time of the side lights that can be perceived by the driver of the obstacle vehicle can be referred to some of the above embodiments and will not be repeated here.
[0079] Then calculate the target speed of the target vehicle and the obstacle vehicle, and compare the target speed with the preset speed. When the target speed is greater than the preset speed When the target speed is less than or equal to the preset speed, the processing unit calculates that the brightness of the LED light group can be 80% of the full brightness according to the minimum perceptible brightness of the driver of the obstructing vehicle and the light on time perceived by the driver of the side light of the obstructing vehicle. At this time, based on the minimum perceivable brightness of the driver of the obstructing vehicle and the time the sidelights are perceived to be on by the driver of the obstructing vehicle, the processing unit calculates that the brightness of the LED light cluster at this time can be 50% of the full brightness plus the brightness corresponding to the distance factor. The distance factor and the brightness corresponding to the distance factor can be obtained by the ADAS based on vehicle radar ranging data and are not limited to specific values here. In some exemplary embodiments, 80% of the full brightness of the LED light cluster can also be referred to as the first target brightness, and 50% of the full brightness of the LED light cluster plus the brightness corresponding to the distance factor can also be referred to as the second target brightness.
[0080] b. When a pedestrian is identified as a side obstacle, since a pedestrian can be considered a low-speed obstacle with a certain speed, the following are the conditions: , Where, Indicates the target person's moving speed relative to the vehicle, Indicates the maximum reference speed for pedestrian warning. For example, the average walking speed of pedestrians, 1.4 m / s, can be used as the maximum reference speed for pedestrian warning. It represents the speed sensitivity coefficient, with a value range of 0.2-0.5, and is used to amplify the warning intensity of high-speed pedestrians. The flashing frequency can be close to the peak sensitivity of the human eye to motion stimuli (1.5Hz-3Hz), so as to effectively trigger an alert response, so the flashing frequency when there is an obstacle or pedestrian can be 2Hz. Therefore, the processing unit calculates that the brightness of the LED light group at this time can be 70% of the full brightness + 2Hz flashing frequency. In some exemplary embodiments, 70% of the full brightness of the LED light group + 2Hz flashing frequency can also be called the third target brightness. Brightness strategy description: 70% high brightness can ensure that the driver can quickly perceive, and the human eye has a faster reaction time to high-brightness targets; the 2Hz flashing frequency is close to the peak sensitivity of the human eye to motion stimuli (1.5-3Hz), which can effectively trigger an alert response.
[0081] c. When the side obstacle is identified as another obstacle (such as a cone or rock), the processing unit calculates that the LED light cluster brightness can be set to 50% of its full brightness. Brightness strategy explanation: Other obstacles are typically stationary or moving at low speeds, posing a lower collision risk than pedestrians and requiring no excessive warning. 50% brightness is sufficient to ensure obstacle visibility while reducing visual clutter. In some exemplary embodiments, 50% of the LED light cluster's full brightness can also be referred to as the fourth target brightness.
[0082] Step 5: The processing unit outputs the corresponding PWM duty cycle according to the calculated brightness, and controls the LED driving module to output a driving signal with the corresponding PWM duty cycle to the LED light group, and drives the LED light group to emit light according to the corresponding brightness and flashing frequency through the driving signal.
[0083] According to the above description, in a specific embodiment, a vehicle light control process for turning fill light is provided, which can combine the steering angle and vehicle speed sensor and data to enhance the lighting when the vehicle turns. Thus, when the vehicle turns, the side lights automatically enhance the lighting of the corresponding side and adjust the light brightness according to the steering angle. Figure 6 As shown, specifically including:
[0084] Step 1: The processing unit obtains the light intensity data from the light intensity sensor through the internal communication interface. When the ambient light intensity is lower than the ambient light threshold (for example, 300 lux), it is determined that the environment is dark and the steering boost lighting function is activated;
[0085] Step 2: The processing unit outputs the PWM duty cycle to the LED driver module, and controls the LED driver module to output the corresponding drive signal to light up the LED light group. The default PWM duty cycle of the processing unit is 20%, that is, the default basic brightness of the LED light group is 20% of the full brightness.
[0086] Step 3: Obtain the status information of the vehicle's turn signal in real time through the CAN bus, and determine whether the vehicle is in the turning state based on the turn indicator;
[0087] Step 4: When the vehicle is in a turning state, the processing unit obtains the vehicle's steering angle and speed via the CAN bus and calculates the target brightness corresponding to the turning state: Target brightness corresponding to the turning state = Full brightness * 50% + Brightness corresponding to the vehicle's steering angle coefficient + Brightness corresponding to the vehicle's speed coefficient. The vehicle's steering angle coefficient and the brightness corresponding to the vehicle's steering angle coefficient, as well as the vehicle's speed coefficient and the brightness corresponding to the vehicle's speed coefficient, can be derived by the ESP system based on the vehicle's steering angle and speed, respectively, and are not limited to specific values here. In some exemplary embodiments, the target brightness corresponding to the turning state may also be referred to as the fifth target brightness.
[0088] Step 5: The processing unit outputs the corresponding PWM duty cycle to the LED driver module according to the calculated target brightness corresponding to the steering state, and controls the LED driver module to output the corresponding drive signal to the LED light group, so that the LED light group emits light according to the target brightness corresponding to the steering state.
[0089] According to the above description, in a specific embodiment, a vehicle light control process for turning fill light is provided, which can use a camera and an ultrasonic radar sensor to monitor obstacles in the side blind spots of the vehicle in real time, so that during parking, the side obstacles can be illuminated by the side lights and the brightness can be adjusted according to the distance. Figure 7 As shown, specifically including:
[0090] Step 1: The processing unit obtains the vehicle gear status in real time through the CAN bus;
[0091] Step 2: When the vehicle is parked, the processing unit outputs a PWM duty cycle to the LED driver module and controls the LED driver module to output a corresponding drive signal to light up the LED light group. The default PWM duty cycle initially output by the processing unit is 20%, that is, the default basic brightness of the LED light group is 20% of the full brightness.
[0092] Step 3: The processing unit obtains the vehicle's external image data in real time through the camera interface module, performs image recognition on the vehicle's external image data, and determines whether there are obstacles in the vehicle's side area;
[0093] Step 4: When an obstacle is located to the side of the vehicle, the processing unit calculates that the LED light cluster brightness can be 50% of the full brightness plus the brightness corresponding to the distance coefficient. The distance coefficient and the brightness corresponding to the distance coefficient can be obtained by the ADAS based on the vehicle's radar ranging data, and no specific numerical value is specified here. Simultaneously, the processing unit outputs a PWM duty cycle corresponding to the calculated brightness to the LED driver module, controlling the driver module to output the corresponding PWM signal to drive the LED cluster to emit light according to the calculated brightness.
[0094] In summary, the present invention provides a headlight control device, which obtains sensor data of a target vehicle collected in advance or in real time through a data acquisition module, the sensor data including vehicle external image data, ambient light intensity, and vehicle radar ranging data; then, under the condition that the ambient light intensity is less than or equal to a preset ambient light threshold, the obstacle detection module determines the headlight control area of the target vehicle based on the vehicle external image data and the vehicle radar ranging data, and performs obstacle detection on the headlight control area; finally, under the condition that an obstacle exists in the headlight control area, the headlight control module controls the brightness of the target headlight; wherein, the target headlight is set in the side area of the target vehicle, and the target vehicle includes a vehicle determined in advance or in real time. As can be seen, this device can control the brightness of target vehicle lights located on the side of the target vehicle when the ambient light intensity is less than or equal to a preset threshold and there are obstacles in the light control area. This effectively reduces the target vehicle's blind spot at night or in low-light conditions. Furthermore, when the target vehicle turns or changes lanes, it allows the driver of the target vehicle to better observe the surrounding environment while driving, reducing the incidence of side collisions and improving driving safety. Furthermore, this device can be integrated with advanced driver assistance systems and sensors to achieve more intelligent lighting control, enhancing the target vehicle's intelligence and technological level, and optimizing the user driving experience. Furthermore, when the target vehicle is parked, this device can provide additional illumination support for the target vehicle lights, facilitating actions (such as getting in and out of the vehicle, or retrieving objects) for the driver and passengers, thus increasing driving convenience and safety.
[0095] In another exemplary embodiment of the present invention, a computer device is further provided. The computer device may include a memory, a processor, and a computer program stored in the memory. The processor executes the computer program so that the computer device performs Figure 1 The steps of the vehicle light control method. Figure 8 FIG1 shows a schematic diagram of the structure of a computer device 1000. Figure 8As shown, the computer device 1000 includes: a processor 1010 , a memory 1020 , a power supply 1030 , a display unit 1040 , and an input unit 1060 .
[0096] The processor 1010 is the control center of the computer device 1000. It connects various components using various interfaces and lines, and performs various functions of the computer device 1000 by running or executing computer programs / instructions stored in the memory 1020, thereby monitoring the computer device 1000 as a whole. In this embodiment of the present invention, when the processor 1010 calls the computer program stored in the memory 1020, it executes the following Figure 1 The steps of the vehicle light control method are as follows. Optionally, processor 1010 may include one or more processing units; preferably, processor 1010 may integrate an application processor and a modem processor, wherein the application processor primarily processes the operating system, user interface, and applications, and the modem processor primarily processes wireless communications. In some embodiments, the processor and memory may be implemented on a single chip; in some embodiments, they may also be implemented on separate chips.
[0097] The memory 1020 may primarily include a program storage area and a data storage area. The program storage area may store an operating system, various applications, and the like; the data storage area may store instruction data and the like generated based on the use of the computer device 1000. Furthermore, the memory 1020 may include a high-speed random access memory and a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device.
[0098] The computer device 1000 also includes a power supply 1030 (such as a battery) for supplying power to various components. The power supply can be logically connected to the processor 1010 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.
[0099] The display unit 1040 can be used to display information input by the user or provided to the user, as well as various menus of the computer device 1000. In the embodiment of the present invention, it is mainly used to display the display interface of each application in the computer device 1000 and objects such as text and images displayed on the display interface. The display unit 1040 may include a display panel 1050. The display panel 1050 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
[0100] The input unit 1060 can be used to receive user input, such as numbers or characters. The input unit 1060 may include a touch panel 1070 and other input devices 1080. The touch panel 1070, also known as a touch screen, can receive user touch operations on or near it (e.g., operations performed by a user using a finger, stylus, or any other suitable object or accessory on or near the touch panel 1070).
[0101] Specifically, the touch panel 1070 can detect user touch operations and the signals generated by the touch operations, convert these signals into touch point coordinates, and transmit them to the processor 1010. Furthermore, the touch panel 1070 can receive and execute commands from the processor 1010. Furthermore, the touch panel 1070 can be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. Other input devices 1080 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick.
[0102] Of course, the touch panel 1070 can cover the display panel 1050. When the touch panel 1070 detects a touch operation on or near it, it transmits it to the processor 1010 to determine the type of touch event. Then the processor 1010 provides corresponding visual output on the display panel 1050 according to the type of touch event. Figure 8 In the embodiment, the touch panel 1070 and the display panel 1050 are two independent components to realize the input and output functions of the computer device 1000, but in some embodiments, the touch panel 1070 and the display panel 1050 can be integrated to realize the input and output functions of the computer device 1000.
[0103] The computer device 1000 may further include one or more sensors, such as a pressure sensor, a gravity acceleration sensor, a proximity light sensor, etc. Of course, according to the needs of specific applications, the computer device 1000 may also include other components such as a camera.
[0104] In another exemplary embodiment of the present invention, a computer-readable storage medium is further provided, wherein the storage medium stores a computer program / instruction, and when the computer program / instruction is executed by a processor, the above-mentioned device can perform the present invention as follows: Figure 1 The steps of the vehicle light control method.
[0105] It will be understood by those skilled in the art that Figure 8This is merely an example of a computer device and does not constitute a limitation of the device. The device may include more or fewer components than shown, or may combine certain components or have different components. For ease of description, the above sections are divided into modules (or units) based on their functions and described separately. Of course, when implementing the present invention, the functions of each module (or unit) can be implemented in the same or multiple software or hardware components. As some examples, the aforementioned computer device may be a vehicle, a vehicle computer, etc.
[0106] Those skilled in the art will appreciate that the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, may be implemented by computer program instructions. These computer program instructions may be applied to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions described in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including the instruction device, which implements the function specified in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.
[0107] It is understood that the collection, storage, use, processing, transmission, provision, disclosure, and deletion of relevant data (such as vehicle external image data, vehicle steering angle, vehicle speed, ambient light intensity, and vehicle radar ranging data) in the above-mentioned embodiments are completed with or with the user's consent. For example, vehicle external image data, vehicle steering angle, vehicle speed, ambient light intensity, and vehicle radar ranging data are obtained with the user's knowledge and consent; or are proactively provided by the user after reading the relevant instructions, or are proactively authorized / provided / uploaded by the user when using some or all of the functions described in the above-mentioned embodiments, or are obtained through other means or channels with or with the user's consent.
[0108] It should be understood that although the terms "first," "second," and "third," etc. may be used to describe target brightnesses in some embodiments of the present invention, these terms are merely used to distinguish target brightnesses from one another. For example, without departing from the scope of the present invention, the first target brightness may also be referred to as the second target brightness, and similarly, the second target brightness may also be referred to as the first target brightness.
[0109] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the present invention. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by one of ordinary skill in the art without departing from the spirit and technical principles disclosed herein are intended to be covered by the claims of the present invention.
Claims
1. A vehicle light control method, characterized in that: The method comprises the following steps: Acquiring sensor data of a target vehicle collected in advance or in real time, the sensor data including vehicle external image data, ambient light intensity, and vehicle radar ranging data, the target vehicle including a vehicle determined in advance or in real time; Under the condition that the ambient light intensity is less than or equal to a preset ambient light threshold, determining the headlight control area of the target vehicle based on the vehicle external image data and the vehicle radar ranging data, and performing obstacle detection on the headlight control area; wherein the headlight control area includes an area that cannot be directly observed by the vehicle driver from the driver's seat; Under the condition that there is an obstacle in the headlight control area, the brightness of the target headlight is controlled; wherein the target headlight is set in the side area of the target vehicle; if the obstacle includes a vehicle, the process of controlling the brightness of the target headlight includes: recording the vehicle located in the headlight control area as an obstructing vehicle; calculating the lateral distance between the target vehicle and the obstructing vehicle, and using the minimum lateral distance as the safe distance between the target vehicle and the obstructing vehicle; wherein the lateral distance between the target vehicle and the obstructing vehicle is minimum when the lateral aerodynamic force between the target vehicle and the obstructing vehicle is less than or equal to the maximum static friction of the tires of the target vehicle; calculating the minimum perceptible brightness for the driver of the obstructing vehicle based on the safe distance and the ambient light intensity; wherein the minimum perceptible brightness is used to represent the minimum perceptible brightness or minimum contrast; and increasing the brightness of the target headlight from a preset brightness to a first target brightness or a second target brightness according to the minimum perceptible brightness; wherein the first target brightness and the second target brightness are both greater than the minimum perceptible brightness.
2. The vehicle light control method according to claim 1, characterized in that: Under the condition that there is an obstacle in the headlight control area, the process of controlling the brightness of the target headlight includes: Under the condition that there is a vehicle in the vehicle light control area, increasing the brightness of the target vehicle light from a preset brightness to a first target brightness or a second target brightness; and / or, if a pedestrian is present in the headlight control area, increasing the brightness of the target headlight from a preset brightness to a third target brightness, and controlling the target headlight to flash at a preset flashing frequency; and / or, if there are other obstacles in the headlight control area, increasing the brightness of the target headlight from the preset brightness to a fourth target brightness; wherein the other obstacles include objects other than the vehicle and the pedestrian that affect the normal driving of the vehicle; The preset brightness, the first target brightness, the second target brightness, the third target brightness and the fourth target brightness are different brightnesses respectively.
3. The vehicle light control method according to claim 2, characterized in that: Under the condition that there is a vehicle in the vehicle light control area, the process of increasing the brightness of the target vehicle light from the preset brightness to the first target brightness or the second target brightness includes: Recording a vehicle located in the headlight control area as an obstructing vehicle; The target vehicle speed for brightness selection is calculated based on the vehicle speed of the target vehicle and the vehicle speed of the obstacle vehicle. Under the condition that the target vehicle speed is greater than the preset vehicle speed, the brightness of the target vehicle light is increased from the preset brightness to the first target brightness; or, under the condition that the target vehicle speed is less than or equal to the preset vehicle speed, the brightness of the target vehicle light is increased from the preset brightness to the second target brightness.
4. The vehicle light control method according to claim 1 or 3, characterized in that: If the sensor data also includes vehicle speed and vehicle steering angle, the method further includes: under the condition that the turn signal state of the target vehicle is on, increasing the brightness of the target vehicle light from a preset brightness to a fifth target brightness according to the vehicle steering angle and vehicle speed of the target vehicle; wherein the preset brightness and the fifth target brightness are different brightnesses.
5. The vehicle light control method according to claim 1, characterized in that: The method further comprises: Obtaining the gear status of the target vehicle; Under the condition that the gear state is a parking state, adjusting the brightness of the target vehicle headlight to a preset brightness, and determining the headlight control area of the target vehicle based on the vehicle external image data and the vehicle radar ranging data, and performing obstacle detection on the headlight control area; Under the condition that there is an obstacle in the headlight control area, the brightness of the target headlight is increased from a preset brightness to a second target brightness.
6. The vehicle light control method according to claim 1, characterized in that: If the obstacle includes a vehicle, the process of controlling the brightness of the target vehicle light includes: Recording a vehicle located in the headlight control area as an obstructing vehicle; The light on time of the target headlight perceived by the driver of the obstacle vehicle is calculated based on the lateral distance between the target vehicle and the obstacle vehicle, the relative speed between the target vehicle and the obstacle vehicle, the driver's reaction time, and the response delay time of the target headlight.
7. A vehicle light control device, characterized in that: The device includes: A data acquisition module is used to obtain sensor data of a target vehicle collected in advance or in real time, wherein the sensor data includes vehicle external image data, ambient light intensity, and vehicle radar ranging data. The target vehicle includes a vehicle determined in advance or in real time; an obstacle detection module, configured to determine, under the condition that the ambient light intensity is less than or equal to a preset ambient light threshold, a headlight control area of the target vehicle based on the vehicle external image data and the vehicle radar ranging data, and perform obstacle detection in the headlight control area; wherein the headlight control area includes an area that cannot be directly observed by the vehicle driver from the driver's seat; A headlight control module is configured to control the brightness of a target headlight when an obstacle exists in the headlight control area. The target headlight is located in a lateral area of the target vehicle. If the obstacle is a vehicle, the process of controlling the brightness of the target headlight comprises: marking the vehicle located in the headlight control area as an obstructing vehicle; calculating a lateral distance between the target vehicle and the obstructing vehicle, and using a minimum lateral distance as a safe distance between the target vehicle and the obstructing vehicle; the lateral distance between the target vehicle and the obstructing vehicle is minimum when the lateral aerodynamic force between the target vehicle and the obstructing vehicle is less than or equal to the maximum static friction of the tires of the target vehicle; calculating a minimum perceptible brightness for a driver in the obstructing vehicle based on the safe distance and the ambient light intensity; the minimum perceptible brightness represents a minimum perceptible brightness or minimum contrast; and increasing the brightness of the target headlight from a preset brightness to a first target brightness or a second target brightness according to the minimum perceptible brightness; wherein both the first target brightness and the second target brightness are greater than the minimum perceptible brightness.
8. A computer device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the vehicle light control method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the vehicle light control method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Light control method, control device, storage medium and vehicle
CN117429342A
Vehicle lamp control method and device and storage medium
CN118254665A
Automobile lamp control system and automobile
CN215883465U