Vehicle light control methods, devices and storage media
By acquiring road conditions through ultraviolet and weather sensors, selecting appropriate radar to detect traffic conditions, and controlling vehicle lights, the problem of driving safety in dim environments and complex traffic conditions is solved, achieving appropriate lighting and warnings, and improving driving safety.
Patent Information
- Application Number
- CN202410575408.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2044-05-10
AI Technical Summary
When vehicles are traveling in dimly lit environments or in complex road conditions, existing technologies struggle to effectively identify and control vehicle lights, which can impair the driver's vision and increase safety risks.
By acquiring road environment conditions through ultraviolet sensors and weather sensors, selecting appropriate radar types to detect traffic conditions, and controlling the on/off of driving lights and overtaking lights based on ultraviolet intensity and weather category, appropriate lighting and warnings can be provided.
It improves driving safety in dimly lit environments and complex traffic conditions, reduces dangers caused by driver visual interference, and ensures adequate lighting and warnings in front of the vehicle.
Smart Images

Figure CN118254665B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, and in particular to a method, device and storage medium for controlling vehicle lights. Background Technology
[0002] Accidents are more likely to occur when vehicles are traveling in dimly lit or complex traffic conditions. Therefore, when vehicles enter such environments, their lighting systems are essential to assist driving, reducing the danger caused by impaired driver visibility and ensuring safe driving. A key challenge is how to identify dim lighting conditions and potential traffic hazards while the vehicle is in motion, and how to control the vehicle's lights accordingly. Summary of the Invention
[0003] This application provides a method, device, and storage medium for controlling vehicle lights, which can be used to identify dim ambient light and traffic conditions requiring warning on the road, and to control the vehicle lights accordingly. The technical solution is as follows:
[0004] On one hand, embodiments of this application provide a method for controlling the lights of a vehicle, the method comprising:
[0005] The environmental conditions of the road where the vehicle is located are obtained, including ultraviolet radiation intensity and weather type.
[0006] The on / off status of the vehicle's driving lights is determined based on the ultraviolet radiation intensity.
[0007] The type of radar to be used to detect traffic conditions on the road where the vehicle is located will be determined based on the weather category.
[0008] The traffic conditions on the road where the vehicle is located are detected by radar of the determined category;
[0009] The vehicle's overtaking lights are controlled based on the on / off status of the driving lights and the traffic conditions of the road where the vehicle is located.
[0010] On the other hand, a control device for vehicle lights is provided, the device comprising:
[0011] The acquisition module is used to acquire the environmental conditions of the road where the vehicle is located, including ultraviolet intensity and weather type.
[0012] The first determining module is used to determine the on / off status of the vehicle's driving lights based on the ultraviolet intensity.
[0013] The second determining module is used to determine the type of radar to be used to detect the traffic conditions of the road where the vehicle is located based on the weather category;
[0014] A detection module is used to detect the traffic conditions of the road where the vehicle is located using radar of the determined category;
[0015] The control module is used to control the on / off state of the vehicle's overtaking lights based on the on / off state of the driving lights and the traffic conditions of the road where the vehicle is located.
[0016] On the other hand, a non-transitory computer-readable storage medium is also provided, wherein at least one computer program is stored in the computer-readable storage medium, the at least one computer program being loaded and executed by a processor to enable a computer to implement the above-described method for controlling the lights of a vehicle.
[0017] On the other hand, a computer program product or computer program is also provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform any of the above-described methods for controlling the lights of a vehicle.
[0018] The technical solution provided in this application brings at least the following beneficial effects:
[0019] This application determines the on / off status of a vehicle's driving lights by analyzing the ultraviolet radiation intensity of the road where the vehicle is located, and determines the type of radar used to detect the traffic conditions of the road by analyzing the weather category of the road. This allows for the selection of a suitable radar type for detecting the traffic conditions of the road under the current weather conditions, improving the accuracy of traffic condition detection. After selecting the radar type, the radar is activated to detect the traffic conditions of the road. The on / off status of the vehicle's passing lights is then controlled based on the driving lights and the traffic conditions of the road, providing appropriate illumination for the current environment and ensuring driver visibility. This application reduces the danger caused by driver visual interference, thereby improving driving safety. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a schematic diagram of an implementation environment provided in an embodiment of this application;
[0022] Figure 2 This is a flowchart of a vehicle light control method provided in an embodiment of this application;
[0023] Figure 3 This is a structural diagram of a millimeter-wave radar provided in an embodiment of this application;
[0024] Figure 4 This is a structural diagram of a lidar provided in an embodiment of this application;
[0025] Figure 5 This is a schematic diagram of the structure of a vehicle light control device provided in an embodiment of this application. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0027] This application provides a method for controlling vehicle lights. Please refer to [the relevant documentation]. Figure 1 The diagram illustrates the implementation environment of the method provided in this application embodiment. This implementation environment may include: an ECU (Electronic Control Unit) 11, an ultraviolet sensor 12, a raindrop sensor 13, a snow depth sensor 14, a humidity sensor 15, a photoelectric sensor 16, a lidar or millimeter-wave radar 17, a driving light 18, a passing light 19, and a target object 110.
[0028] Optionally, the ECU 11 measures the ultraviolet intensity of the road where the vehicle is located using an ultraviolet sensor 12, and detects the weather category of the road using a raindrop sensor 13, a snow depth sensor 14, a humidity sensor 15, and a photoelectric sensor 16. The ECU 11 determines the on / off status of the driving lights 18 based on the ultraviolet intensity. The ECU 11 also determines the type of radar to be used to detect the traffic conditions of the road where the vehicle is located based on the weather category; this radar type includes lidar or millimeter-wave radar 17.
[0029] The traffic conditions of the road where the vehicle is located are detected by radar of a defined category, namely whether the road contains the target object 110, the category of the target object 110, and the distance between the target object 110 and the vehicle. The on / off status of the driving lights 18 and the traffic conditions of the road where the vehicle is located are used to control the on / off status of the overtaking lights 19. The ECU 11, ultraviolet sensor 12, raindrop sensor 13, snow depth sensor 14, humidity sensor 15, photoelectric sensor 16, lidar or millimeter-wave radar 17, driving lights 18, and overtaking lights 19 establish a communication connection through a wired or wireless network.
[0030] Based on the above Figure 1The implementation environment shown in this application provides a method for controlling vehicle lights, such as... Figure 2 As shown, taking the application of this method to an ECU as an example, the method includes steps 201-205.
[0031] In step 201, the environmental conditions of the road where the vehicle is located are obtained, including ultraviolet radiation intensity and weather type.
[0032] For example, the environmental condition includes ultraviolet (UV) intensity and weather category, where the weather category includes sunny, cloudy, rainy, snowy, foggy, and sandstorm. Obtaining the environmental condition of the road where the vehicle is located includes: the ECU measuring the UV intensity of the road using a UV sensor installed on the vehicle; detecting whether the environmental condition of the road is rainy, snowy, or foggy using a raindrop sensor, snow depth sensor, and humidity sensor installed on the vehicle; and detecting whether the environmental condition of the road is a sandstorm using a photoelectric sensor installed on the vehicle. The UV sensor can be an ultraviolet photodiode.
[0033] In one possible implementation, detecting whether the environmental condition of the road where the vehicle is located is at least one of rain, snow, and fog by using a rain sensor, a snow depth sensor, and a humidity sensor installed on the vehicle includes: if one of the following conditions is met, the environmental condition of the road where the vehicle is located is indicated to be one of rain, snow, and fog.
[0034] Optionally, the environmental condition of the road where the vehicle is located is detected by a photoelectric sensor installed on the vehicle, including: if the intensity of the scattered light output by the photoelectric sensor is greater than the light intensity threshold, it indicates that the environmental condition of the road where the vehicle is located is a sandstorm.
[0035] For example, the raindrop sensor outputs an analog voltage value, which is higher when the raindrop sensor surface is dry and lower when the raindrop sensor surface is covered with rainwater. The analog voltage value output by the raindrop sensor when it starts to rain can be set as a voltage threshold. The snow depth sensor outputs the depth of snow accumulation on the road, and the snow depth threshold can be set to 0. The humidity sensor outputs the percentage of humidity in the air surrounding the road, and the lowest percentage value output by the humidity sensor when it starts to rain, snow, or fog can be set as a percentage threshold. The photoelectric sensor output includes the intensity of scattered light around the road; the intensity of scattered light increases during a sandstorm, and the intensity of scattered light output by the photoelectric sensor during a sandstorm can be set as a light intensity threshold.
[0036] In step 202, the on / off status of the vehicle's driving lights is determined based on the ultraviolet light intensity.
[0037] In one possible implementation, after measuring the ultraviolet intensity of the road where the vehicle is located, the on / off status of the vehicle's driving lights is determined based on the ultraviolet intensity, including: controlling the driving lights to turn on at a first brightness in response to the ultraviolet intensity being less than a first reference threshold and greater than or equal to a second reference threshold; and controlling the driving lights to turn on at a second brightness in response to the ultraviolet intensity being less than the second reference threshold, wherein the second brightness is greater than the first brightness.
[0038] For example, if the ultraviolet radiation intensity is less than a first reference threshold but greater than or equal to a second reference threshold, indicating that the road light intensity is low, the ECU controls the driving lights to turn on at a first brightness level. If the ultraviolet radiation intensity is less than the second reference threshold, indicating that the road light intensity is extremely low, the ECU controls the driving lights to turn on at a second brightness level. The driving lights are located on the vehicle and are used to illuminate the road while the vehicle is in motion. The driving lights have three states: off, on at the first brightness level, and on at the second brightness level. Optionally, the first and second brightness levels can be set according to needs and / or experiments, ensuring that the second brightness level is greater than the first brightness level. The first and second reference thresholds can be set in conjunction with the visibility settings when the vehicle is driving under different lighting conditions, ensuring that the first reference threshold is greater than the second reference threshold.
[0039] When the road light intensity is low, the driving lights are turned on at a first brightness level. When the road light intensity is extremely low, the driving lights are turned on at a second brightness level. This ensures that the vehicle provides suitable lighting for the road ahead and suitable visibility for the driver. Since visibility is also lower when the light intensity is lower, the second brightness level needs to be greater than the first brightness level.
[0040] Optionally, the ultraviolet sensor can measure the ultraviolet intensity of the road where the vehicle is located at a measurement frequency, calculate the difference between the current measured ultraviolet intensity and the previous measured ultraviolet intensity, and if the difference exceeds a third reference threshold and the current measured ultraviolet intensity is lower than the previous measured ultraviolet intensity, it indicates that the light brightness of the road where the vehicle is located has changed significantly and has dimmed, and controls the vehicle's headlights to turn on at a first brightness level to alert the driver that the light brightness of the road where the vehicle is located has changed significantly and that caution is needed. In one possible implementation, the measurement frequency can be set according to requirements.
[0041] In step 203, the category of radar to be used to detect traffic conditions on the road where the vehicle is located is determined based on the weather category.
[0042] For example, after obtaining the weather category of the road where the vehicle is located, the category of radar to be used to detect the traffic status of the road where the vehicle is located is determined based on the weather category, including: in response to the weather category not being any one of rain, snow, fog and sandstorm, selecting lidar to detect the traffic status of the road where the vehicle is located; in response to the weather category being at least one of rain, snow, fog and sandstorm, selecting millimeter wave radar to detect the traffic status of the road where the vehicle is located.
[0043] Optionally, if the weather category is not rain, snow, fog, or sandstorm, indicating that the current weather has a relatively small impact on the radar, the ECU will select lidar to detect the traffic conditions of the road where the vehicle is located. If the weather category is at least one of rain, snow, fog, or sandstorm, indicating that the current weather has a relatively large impact on the radar, the ECU will select millimeter-wave radar to detect the traffic conditions of the road where the vehicle is located.
[0044] When choosing between lidar and millimeter-wave radar, lidar offers high accuracy and strong directionality in distance measurement and can quickly detect the shape and type of pedestrians, other vehicles, or obstacles. However, lidar is significantly affected by weather conditions; its accuracy, directionality, and detection speed decrease in rainy, snowy, foggy, and sandstorm weather. Therefore, lidar should be prioritized for detecting traffic conditions on roads where vehicles are located, except in rainy, snowy, foggy, and sandstorm weather. Millimeter-wave radar should be selected for detecting traffic conditions on roads where vehicles are located during rainy, snowy, foggy, and sandstorm weather.
[0045] In one possible implementation, if a radar of the category used to detect the traffic conditions of the road where the vehicle is located reports an error, the ECU, upon receiving the error message from that radar, selects another radar of the category that did not report an error as the radar used to detect the traffic conditions of the road where the vehicle is located. For example, if the radar used to detect the traffic conditions of the road where the vehicle is located is determined to be a lidar, but the ECU receives an error message from the lidar, the ECU switches the radar used to detect the traffic conditions of the road where the vehicle is located to a millimeter-wave radar. If the radar used to detect the traffic conditions of the road where the vehicle is located is determined to be a millimeter-wave radar, but the ECU receives an error message from the millimeter-wave radar, the ECU switches the radar used to detect the traffic conditions of the road where the vehicle is located to a lidar.
[0046] In step 204, the traffic conditions on the road where the vehicle is located are detected by radar of a determined category.
[0047] For example, the traffic condition of the road where the vehicle is located includes whether there is a target object in front of the vehicle and the distance of the target object from the vehicle. After determining the radar used to detect the traffic condition of the road where the vehicle is located, detecting the traffic condition of the road where the vehicle is located by the determined type of radar includes: controlling the lidar to emit a laser pulse in response to the determined type of radar being a lidar; calculating a first distance from the target object to the vehicle in response to receiving a reflected signal of the laser pulse, wherein the target object is an object that causes the laser pulse to be reflected; and indicating that there is a target object within the first reference distance of the road where the vehicle is located in response to the first distance being less than or equal to a first reference distance, wherein the target object includes at least one of pedestrians, other vehicles, or obstacles.
[0048] Optionally, if the radar used to detect the traffic conditions of the road where the vehicle is located is a lidar, the ECU controls the lidar to emit laser pulses. When the laser pulse illuminates a target object, it is reflected, generating a first reflected signal. This first reflected signal returns to the lidar along the emitted path. In one possible implementation, the lidar's receiving lens receives the first reflected signal. When the lidar emits a laser pulse, a quartz clock inside the lidar records the first time interval between the emission of the laser pulse and the receipt of the first reflected signal. The first distance from the lidar to the reflection point on the target object can be calculated using this first time interval. The formula for calculating the first distance is as follows:
[0049] First distance = (First time interval × Speed of light) ÷ 2
[0050] Among them, the speed of light can be 300,000 kilometers per second, the first distance can be measured in kilometers, and the first time interval can be measured in seconds.
[0051] In one possible implementation, the distance from the reflection point corresponding to each received first reflection signal to the lidar is calculated using the same method. Combined with the angle of each reflection signal received by the receiving lens, the category of the target object is determined as a pedestrian, other vehicles, or an obstacle, and the first distance between the target object and the lidar is determined.
[0052] For example, in response to the determined category of radar being millimeter-wave radar, the ECU controls the lidar to emit millimeter waves; in response to receiving the reflected signal of the millimeter waves, a second distance from the target object to the vehicle is calculated, the target object being an object that causes the millimeter waves to be reflected; in response to the second distance being less than or equal to a second reference distance, it indicates that a target object exists within the second reference distance of the road where the vehicle is located, the target object including at least one of pedestrians, other vehicles, or obstacles.
[0053] Optionally, if the determined radar type is millimeter-wave radar, the millimeter-wave radar transmits millimeter waves through its antenna. When the millimeter waves illuminate the target object, they are reflected, generating a second reflected signal. This second reflected signal returns to the millimeter-wave radar along the transmission path. In one possible implementation, the millimeter-wave radar's receiver receives the second reflected signal. When the millimeter-wave radar transmits millimeter waves, a second time interval is recorded between the transmission and receipt of the second reflected signal. The second distance from the millimeter-wave radar to the reflection point on the target object can be calculated using this second time interval. The formula for calculating the second distance is as follows:
[0054] Second distance = (Second time interval × millimeter wave velocity) ÷ 2
[0055] Among them, the millimeter wave speed can be 300,000 kilometers per second, the second distance can be in kilometers, and the second time interval can be in seconds.
[0056] For example, the second distance between the reflection point corresponding to each received second reflection signal and the millimeter-wave radar is calculated in the same way. Combined with the angle of each reflection signal received by the receiver, the category of the target object is determined as a pedestrian, other vehicles, or an obstacle, and the second distance between the target object and the millimeter-wave radar is determined.
[0057] Optionally, if, during the process of using lidar to detect the traffic conditions of the road where the vehicle is located, the weather category of the road changes to any one of rain, snow, fog, and sandstorm, the millimeter-wave radar and lidar are activated together to detect the traffic conditions of the road where the vehicle is located. The target object detected by the lidar and its first distance to the vehicle are compared with the target object detected by the millimeter-wave radar and its second distance to the vehicle. If the target object detected by the millimeter-wave radar is the same as the target object detected by the lidar, and the difference between the first and second distances is less than a difference threshold, the lidar is turned off. If the target object detected by the millimeter-wave radar is different from the target object detected by the lidar, or if at least one of the following conditions is met: the difference between the first and second distances is greater than or equal to a difference threshold, then the detection continues using both the millimeter-wave radar and lidar until the target object detected by the millimeter-wave radar is the same as the target object detected by the lidar and the first distance equals the second distance, at which point the lidar is turned off.
[0058] In one possible implementation, if, during the process of using millimeter-wave radar to detect the traffic conditions of the road where the vehicle is located, the weather category of the road changes from any of the following—rain, snow, fog, and sandstorm—to other weather conditions that will not affect the lidar function, the lidar and millimeter-wave radar are activated to detect the traffic conditions of the road together. The system compares the target object detected by the lidar and its first distance from the vehicle with the target object detected by the millimeter-wave radar and its second distance from the vehicle. Optionally, other weather conditions that will not affect the lidar function include, but are not limited to, cloudy or sunny weather.
[0059] For example, if the target object detected by the millimeter-wave radar is the same as the target object detected by the lidar, and the difference between the first distance and the second distance is less than a difference threshold, then the millimeter-wave radar is turned off. If the target object detected by the millimeter-wave radar is not the same as the target object detected by the lidar, or at least one of the following conditions is met: the difference threshold is greater than or equal to the difference threshold, then detection continues by both the millimeter-wave radar and the lidar until the target object detected by the millimeter-wave radar is the same as the target object detected by the lidar and the first distance is equal to the second distance, at which point the millimeter-wave radar is turned off. Optionally, the difference threshold can be set empirically.
[0060] In step 205, the vehicle's overtaking lights are controlled based on the on / off status of the driving lights and the traffic conditions of the road where the vehicle is located.
[0061] In one possible implementation, after determining the traffic conditions of the road where the vehicle is located, the overtaking lights of the vehicle are controlled based on the on / off status of the driving lights and the traffic conditions of the road where the vehicle is located, including: in response to the presence of a target object within a first reference distance of the road where the vehicle is located or the presence of a target object within a second reference distance of the road where the vehicle is located, and the on / off status of the driving lights being either off or on with a first brightness, the overtaking lights are controlled to turn on and flash.
[0062] For example, if the radar used to detect the traffic conditions of the road where the vehicle is located is a lidar, a first distance is compared with a first reference distance. If the first distance is less than the first reference distance, it indicates that a target object exists within the first reference distance of the road where the vehicle is located. If the radar used to detect the traffic conditions of the road where the vehicle is located is a millimeter-wave radar, a second distance is compared with a second reference distance. If the second distance is less than the second reference distance, it indicates that a target object exists within the second reference distance of the road where the vehicle is located.
[0063] Optionally, if a target object exists within a first reference distance or a second reference distance on the road where the vehicle is located, and the driving lights are either off or on at a first brightness level, the overtaking light is controlled to turn on and flash, including: controlling the overtaking light to turn on and flash at a preset frequency for a preset period. The overtaking light is located on the vehicle. In one possible implementation, the preset frequency and preset period can be set as needed; for example, the preset frequency can be set to 5 Hz and the preset period to 3 cycles.
[0064] For example, if a target object exists within a first reference distance of the road where the vehicle is located or a target object exists within a second reference distance of the road where the vehicle is located, and the driving lights are on at a second brightness, the driving lights remain on at the second brightness until neither the existence of a target object within the first reference distance of the road where the vehicle is located nor the existence of a target object within the second reference distance of the road where the vehicle is located is found to be true.
[0065] When at least one of a pedestrian, other vehicle, or obstacle is present in front of the vehicle, the overtaking lights are activated and flashed to alert the driver of this presence, while also providing a warning to the pedestrian or other vehicle ahead. In dimly lit or complex traffic conditions, this reduces the risk of delayed reaction to pedestrians, other vehicles, or obstacles due to impaired driver visibility, thereby improving driving safety and reducing traffic accidents.
[0066] This application embodiment determines the on / off status of the driving lights by measuring the ultraviolet radiation intensity of the road where the vehicle is located, and determines the type of radar to be used to detect the traffic conditions of the road where the vehicle is located by measuring the weather type of the road where the vehicle is located. This allows for the selection of a suitable type of radar for detecting the traffic conditions of the road where the vehicle is located under the current weather conditions, thereby improving the accuracy of detecting the traffic conditions of the road where the vehicle is located.
[0067] After selecting the radar type, the radar is activated to detect the traffic conditions of the road where the vehicle is located. The vehicle's overtaking lights are then controlled by adjusting the operation of the driving lights and the traffic conditions. When at least one of a pedestrian, other vehicle, or obstacle is present ahead of the vehicle, the overtaking lights are activated and flashed, alerting the driver to the presence of this obstacle and providing a warning to the pedestrian or other vehicle ahead. When the ambient light on the road is dim or the traffic conditions are complex, this application can reduce the danger caused by interference with the driver's vision, thereby improving driving safety.
[0068] Combining the above methods and processes, with Figure 3The following is an example of the structure of a millimeter-wave radar provided in an embodiment of this application. The millimeter-wave radar includes a voltage-controlled oscillator 301, a transmitter 302, a transmitting antenna 303, a receiving antenna 304, a receiver 305, an amplifier 306, and a processing unit 307. The voltage-controlled oscillator 301 generates millimeter waves, which are emitted by the transmitting antenna 303 of the transmitter 302. Upon reaching the target object, the millimeter waves are reflected, generating a second reflected signal. The receiving antenna 304 of the receiver 305 receives the second reflected signal, amplifies it through the amplifier 306, and transmits it to the processing unit 307. The processing unit 307 identifies the type, location, and distance of the target object from the millimeter-wave radar based on the second reflected signal, providing this information to the electronic control unit 308 for reference. The electronic control unit 308 issues control commands based on the type, location, and distance of the target object from the millimeter-wave radar.
[0069] Combining the above methods and processes, with Figure 4 The following is an example of a lidar structure provided in an embodiment of this application. The lidar includes a laser pulse generator 401, a emitting lens 402, a scanning mirror 403, a receiving lens 404, a photodetector 405, a photodiode 406, and a quartz clock 407. The laser pulse generator 401 generates a laser beam, which passes through the emitting lens 402. The emitting lens 402 focuses the laser beam, increasing its energy density and enabling it to propagate over longer distances. After being focused by the emitting lens 402, the laser beam reaches the scanning mirror 403, which controls the scanning direction and range of the laser beam. The laser beam emitted by the scanning mirror 403 reaches the target object 408 and is reflected, generating a first reflected signal.
[0070] The receiving lens 404 receives the first reflected signal and focuses it to accurately detect the distance to the target object. The first reflected signal passes through the receiving lens 404 to the photodetector 405 and photodiode 406, which convert the optical signal into an electrical signal for processing and analysis. A quartz clock 407 records the first time interval between the laser beam emanating from the scanning mirror 403 and the arrival of the first reflected signal at the receiving lens 404; this time interval is used to record the first distance between the target object and the lidar.
[0071] See Figure 5 This application provides a control device for vehicle lights, the device comprising:
[0072] The acquisition module 501 is used to acquire the environmental conditions of the road where the vehicle is located, including ultraviolet intensity and weather type.
[0073] The first determining module 502 is used to determine the on / off status of the vehicle's driving lights based on the ultraviolet intensity.
[0074] The second determining module 503 is used to determine the type of radar that will be used to detect the traffic conditions of the road where the vehicle is located based on the weather category;
[0075] The detection module 504 is used to detect the traffic conditions of the road where the vehicle is located by using radar of a defined category;
[0076] The control module 505 is used to control the on / off status of the vehicle's overtaking lights based on the on / off status of the driving lights and the traffic conditions of the road where the vehicle is located.
[0077] In one possible implementation, the first determining module 502 is configured to control the driving lights to turn on at a first brightness in response to the ultraviolet intensity being less than a first reference threshold and greater than or equal to a second reference threshold; and to control the driving lights to turn on at a second brightness in response to the ultraviolet intensity being less than the second reference threshold, wherein the second brightness is greater than the first brightness.
[0078] In one possible implementation, the weather categories include rain, snow, fog, and sandstorm; the radar categories include lidar and millimeter-wave radar; the second determining module 503 is used to select lidar to detect the traffic status of the road where the vehicle is located in response to the weather category not being any one of rain, snow, fog, and sandstorm; and to select millimeter-wave radar to detect the traffic status of the road where the vehicle is located in response to the weather category being at least one of rain, snow, fog, and sandstorm.
[0079] In one possible implementation, the detection module 504 is configured to control the lidar to emit laser pulses in response to the determination that the radar of a certain category is lidar; to calculate a first distance from a target object to the vehicle in response to receiving a reflection signal of the laser pulse, wherein the target object is an object that causes the laser pulse to be reflected; and to indicate that a target object exists within a first reference distance of the road where the vehicle is located in response to the first distance being less than or equal to a first reference distance, wherein the target object includes at least one of pedestrians, other vehicles, or obstacles.
[0080] In one possible implementation, the detection module 504 is configured to control the lidar to emit millimeter waves in response to the determination that the radar is a millimeter-wave radar; to calculate a second distance from a target object to the vehicle in response to receiving a reflected signal of the millimeter waves, wherein the target object is an object that causes the millimeter waves to be reflected; and to indicate the target object in the second reference distance of the road where the vehicle is located in response to the second distance being less than or equal to a second reference distance, wherein the target object includes at least one of pedestrians, other vehicles, or obstacles.
[0081] In one possible implementation, the control module 505 is configured to control the overtaking lights to turn on and flash in response to the presence of a target object within a first reference distance of the road where the vehicle is located or the presence of a target object within a second reference distance of the road where the vehicle is located, and the driving lights being off or turned on at a first brightness.
[0082] In one possible implementation, the control module 505 is used to control the overtaking lights to turn on and flash at a preset frequency for a preset period.
[0083] This device determines the on / off status of a vehicle's driving lights by measuring the ultraviolet radiation intensity of the road where the vehicle is located, and determines the type of radar to be used to detect the traffic conditions of the road by measuring the weather type of the road where the vehicle is located. This allows for the selection of a suitable type of radar for detecting the traffic conditions of the road where the vehicle is located under the current weather conditions, thereby improving the accuracy of detecting the traffic conditions of the road where the vehicle is located.
[0084] After selecting the radar type, the radar is activated to detect the traffic conditions of the road where the vehicle is located. The vehicle's overtaking lights are then controlled by adjusting the operation of the driving lights and the traffic conditions. When at least one of a pedestrian, other vehicle, or obstacle is present ahead of the vehicle, the overtaking lights are activated and flashed, alerting the driver to the presence of this obstacle and providing a warning to the pedestrian or other vehicle ahead. When the ambient light on the road is dim or the traffic conditions are complex, this application can reduce the danger caused by interference with the driver's vision, thereby improving driving safety.
[0085] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0086] In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, which stores at least one computer program that is loaded and executed by a processor of a computer device to enable the computer to implement the above-described method for controlling the lights of any of the vehicles.
[0087] In one possible implementation, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0088] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the above-described method for controlling the lights of any of the vehicles.
[0089] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the environmental conditions of the road where the vehicle is located, the traffic conditions of the road where the vehicle is located, the on / off status of the vehicle's driving lights, and the on / off status of the vehicle's overtaking lights involved in this application were all obtained with full authorization.
[0090] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0091] It should be noted that the terms "first," "second," etc. (if applicable) in the specification and claims of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0092] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. A method for controlling vehicle lights, characterized in that, The method includes: The environmental conditions of the road where the vehicle is located are obtained, including ultraviolet radiation intensity and weather type. Determining the on / off status of the vehicle's driving lights based on the ultraviolet radiation intensity includes: In response to the ultraviolet intensity being less than a first reference threshold and greater than or equal to a second reference threshold, the driving lights are controlled to turn on at a first brightness. In response to the ultraviolet intensity being less than the second reference threshold, the driving lights are controlled to turn on at a second brightness, which is greater than the first brightness; The weather categories include rain, snow, fog, and sandstorms; the radar categories include lidar and millimeter-wave radar; based on the weather categories, the category of radar to be used to detect the traffic conditions of the road where the vehicle is located is determined, including: In response to the weather category not being any of the rainy day, snowy day, foggy day, and sandstorm, the lidar is selected to detect the traffic status of the road where the vehicle is located; In response to the weather category being at least one of rain, snow, fog, and sandstorm, the millimeter-wave radar is selected to detect the traffic status of the road where the vehicle is located; Detecting the traffic conditions of the road where the vehicle is located using radar of the determined category includes: In response to the determined category of radar being the lidar, the lidar is controlled to emit laser pulses; In response to receiving the reflection signal of the laser pulse, a first distance from the target object to the vehicle is calculated, wherein the target object is the object that causes the laser pulse to be reflected; In response to the first distance being less than or equal to a first reference distance, the system indicates that the target object exists within the first reference distance of the road where the vehicle is located, the target object including at least one of pedestrians, other vehicles, or obstacles; The vehicle's overtaking lights are controlled based on the on / off status of the driving lights and the traffic conditions of the road where the vehicle is located.
2. The method according to claim 1, characterized in that, The step of detecting the traffic conditions of the road where the vehicle is located using radar of the determined category includes: In response to the determined category of radar being millimeter-wave radar, the millimeter-wave radar is controlled to transmit millimeter waves; In response to receiving the reflected signal of the millimeter wave, a second distance from the target object to the vehicle is calculated, wherein the target object is the object that causes the millimeter wave to be reflected; In response to the second distance being less than or equal to the second reference distance, the target object is indicated to be present within the second reference distance of the road where the vehicle is located.
3. The method according to claim 1 or 2, characterized in that, The method of controlling the on / off state of the vehicle's overtaking lights based on the on / off state of the driving lights and the traffic conditions of the road where the vehicle is located includes: In response to the presence of the target object within a first reference distance of the road where the vehicle is located or within a second reference distance of the road where the vehicle is located, and the driving lights being either off or on at a first brightness, the overtaking lights are controlled to turn on and flash.
4. The method according to claim 3, characterized in that, The control of turning on and flashing the overtaking light includes: Control the overtaking lights to turn on and flash at a preset frequency for a preset period.
5. A control device for vehicle lights, characterized in that, The device includes: The acquisition module is used to acquire the environmental conditions of the road where the vehicle is located, including ultraviolet intensity and weather type. The first determining module is used to determine the on / off status of the vehicle's driving lights based on the ultraviolet intensity. The second determining module is used to determine the type of radar to be used to detect the traffic conditions of the road where the vehicle is located based on the weather category; A detection module is used to detect the traffic conditions of the road where the vehicle is located using radar of the determined category; The control module is used to control the on / off state of the vehicle's overtaking lights based on the on / off state of the driving lights and the traffic conditions of the road where the vehicle is located.
6. The apparatus according to claim 5, characterized in that, The first determining module is configured to control the driving lights to turn on at a first brightness level in response to the ultraviolet intensity being less than a first reference threshold and greater than or equal to a second reference threshold; and to control the driving lights to turn on at a second brightness level in response to the ultraviolet intensity being less than the second reference threshold, wherein the second brightness level is greater than the first brightness level.
7. A non-transitory computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to enable the computer to implement the method for controlling the lights of the vehicle as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Driverless vehicle driving control system with variable front illumination lamp
CN109353269A
Vehicle lamp control method and device and computer readable storage medium
CN115107634A