Vehicle light adjustment method and device, electronic equipment and storage medium
By acquiring vehicle speed, road conditions, and driver parameters, the system intelligently adjusts the headlight detection distance and illumination angle, solving the problem of poor headlight adjustment intelligence and improving nighttime driving safety.
Patent Information
- Application Number
- CN202610700288.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-20
- Publication Date
- 2026-06-23
Smart Images

Figure CN122253759A_ABST
Abstract
Description
Technical Field
[0001] This application relates to vehicle control technology, and more particularly to a vehicle lighting adjustment method, device, electronic device, and storage medium. Background Technology
[0002] Nighttime driving presents limited visibility and is one of the high-risk scenarios for autonomous driving. Therefore, lighting control is a crucial aspect of ensuring driving safety. During autonomous driving, the system can autonomously control the lights to enhance driving safety.
[0003] In existing technologies, switching between high beams and low beams is usually done manually. However, manual switching is affected by the driver's experience and current condition, resulting in poor intelligence in headlight adjustment and failing to guarantee safety during nighttime driving. Summary of the Invention
[0004] This application provides a vehicle headlight adjustment method, device, electronic device, and storage medium to improve the intelligence of headlight adjustment and enhance the safety of nighttime driving.
[0005] In a first aspect, embodiments of this application provide a vehicle headlight adjustment method, which includes: Obtain current vehicle speed, current road conditions, and driver's driving parameters; Determine the target light detection distance based on current vehicle speed, current road conditions, and driving parameters; The target light illumination angle is determined based on the target light detection distance, and the vehicle light illumination angle is adjusted to match the target light illumination angle.
[0006] Secondly, embodiments of this application also provide a vehicle headlight adjustment device, which includes: The data acquisition module is used to acquire current vehicle speed, current road conditions, and driver's driving parameters. The target light detection distance determination module is used to determine the target light detection distance based on the current vehicle speed, current road condition information, and driving parameter information. The illumination angle adjustment module is used to determine the illumination angle of the target light based on the target light detection distance, and adjust the illumination angle of the vehicle light to match the illumination angle of the target light.
[0007] Thirdly, embodiments of this application also provide an electronic device, which includes: One or more processors; Storage device for storing one or more programs; When one or more programs are executed by one or more processors, the one or more processors implement any of the vehicle lighting adjustment methods provided in the embodiments of this application.
[0008] Fourthly, embodiments of this application also provide a storage medium including computer-executable instructions, which, when executed by a computer processor, are used to perform any of the vehicle lighting adjustment methods provided in embodiments of this application.
[0009] Fifthly, embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements any of the vehicle lighting adjustment methods provided in embodiments of this application.
[0010] This application acquires current vehicle speed, current road conditions, and driver's driving parameters. By gathering relevant information from three perspectives—driver's personalized information, real-time road conditions, and current vehicle speed—it provides multi-dimensional current information for determining the target headlight detection distance, ensuring the accuracy of the subsequent target headlight detection distance calculation. Based on the current vehicle speed, current road conditions, and driving parameters, the target headlight detection distance is determined, taking the current vehicle speed into account to ensure a match between the target headlight detection distance and the current speed. Simultaneously, the driving parameters reflect the driver's personalized parameters, and the current road conditions reflect real-time changes in the current driving environment, further improving the matching between the target headlight detection distance and the current vehicle speed. This ensures that the determined target headlight detection distance guarantees driving safety and enhances the intelligence of the target headlight detection distance determination. Finally, the target headlight illumination angle is determined based on the target headlight detection distance, and the vehicle's headlight illumination angle is adjusted to match the target headlight illumination angle. This ensures that after an obstacle is detected within the headlight illumination range, the vehicle can brake in time before a collision occurs, guaranteeing nighttime driving safety. Therefore, the technical solution of this application solves the problem that manual switching is affected by the driver's own experience and current state, resulting in poor intelligence of headlight adjustment and inability to guarantee the safety of night driving. It achieves the effect of improving the intelligence of headlight adjustment and improving the safety of night driving. Attached Figure Description
[0011] Figure 1 This is a flowchart of a vehicle headlight adjustment method according to Embodiment 1 of this application; Figure 2 This is a flowchart of a vehicle headlight adjustment method according to Embodiment 2 of this application; Figure 3 This is a flowchart of a vehicle headlight adjustment method according to Embodiment 3 of this application; Figure 4 This is a schematic diagram of the structure of a vehicle headlight adjustment device according to Embodiment 4 of this application; Figure 5 This is a schematic diagram of the structure of an electronic device according to Embodiment 5 of this application. Detailed Implementation
[0012] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present application.
[0013] It should be noted that the terms "first" and "second," etc., in the specification, claims, and accompanying drawings 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. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0014] Example 1 Figure 1 This is a flowchart of a vehicle headlight adjustment method provided in Embodiment 1 of this application. This embodiment is applicable to the intelligent control of the headlights of vehicles driving at night. The method can be executed by a vehicle headlight adjustment device, which can be implemented in software and / or hardware and specifically configured in the vehicle.
[0015] See Figure 1 The vehicle headlight adjustment method shown includes the following steps: S110: Obtain current vehicle speed, current road condition information, and driver's driving parameter information.
[0016] The current vehicle speed refers to the vehicle's current travel speed and can be used to determine the target headlight detection distance. Specifically, the current vehicle speed can be acquired in real time through onboard controllers and speed sensors. Current road condition information refers to information about the lane the vehicle is currently traveling in and can be used to determine the target headlight detection distance. For example, current road condition information may include congestion status, road surface information, and road type. Specifically, current road condition information can be acquired in real time through GPS, forward-facing cameras, side and rear-facing cameras, and millimeter-wave radar. Driving parameter information refers to the driver's driving behavior parameters and can be used to determine the target headlight detection distance. For example, driving parameter information may include the driver's reaction time and braking habits. Specifically, driving parameter information can be obtained from stored historical driving behavior parameters. If the driver is driving the vehicle for the first time, the currently collected driving behavior parameters can be used as driving parameter information. For example, the driver can register driver identification information before driving the vehicle. After obtaining the driver identification information, the vehicle retrieves the corresponding driving parameter information from the relevant database based on that identification.
[0017] S120. Determine the target light detection distance based on the current vehicle speed, current road conditions, and driving parameters.
[0018] The target headlight detection distance can be used to determine the target headlight illumination angle, ensuring vehicle safety during nighttime driving. For example, a safe minimum braking distance can be determined based on current vehicle speed, road conditions, and driving parameters, and a length greater than or equal to this minimum braking distance can be selected as the target headlight detection distance.
[0019] Driving parameter information describes the driver's personalized driving information, including reaction time and habitual braking rate. Current road condition information reflects the complexity of traffic on the current road, allowing for more accurate determination of driver parameters. It can also determine braking friction based on road surface conditions, thereby improving the accuracy of target headlight detection distance. For example, a driver's reaction time may vary under different road conditions. For instance, braking distance increases significantly when there is rain or snow on the road. Based on current road condition information, corresponding driving parameter information can be determined. Then, based on the current vehicle speed, current road condition information, and driving parameter information, the minimum braking distance can be determined, which in turn determines the target headlight detection distance. By considering human factors and real-time road conditions, the accuracy of target headlight detection distance is improved, thus enhancing driving safety.
[0020] S130. Determine the target light illumination angle based on the target light detection distance, and adjust the vehicle light illumination angle to match the target light illumination angle.
[0021] The target headlight illumination angle can be the illumination angle corresponding to the target headlight detection distance. It should be noted that the target headlight illumination angle refers to the illumination angle in high beam mode. For example, the target headlight illumination angle can be determined based on the Pythagorean theorem, considering the distance between the headlights and the ground and the target headlight detection distance. After determining the target headlight illumination angle, the vehicle's headlights are adjusted to match it to ensure that the driver can brake in time within a safe distance upon detecting an obstacle, preventing a collision and ensuring nighttime driving safety.
[0022] It should be noted that all information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data comply with the relevant laws, regulations and standards of the relevant regions.
[0023] Existing nighttime intelligent driving systems have the following shortcomings: the lighting control is not matched with the vehicle speed; the fixed illumination distance cannot meet the road detection needs at different vehicle speeds; when the vehicle speed is high, the insufficient illumination distance may lead to an inability to respond to emergencies in a timely manner; and when the vehicle speed is low, the excessive illumination distance may cause energy waste and interference with oncoming vehicles.
[0024] The technical solution of this embodiment acquires current vehicle speed, current road condition information, and driver's driving parameter information. It obtains relevant information from three perspectives: driver's personalized information, real-time road conditions, and current vehicle speed. This provides multi-dimensional current information for determining the target light detection distance, ensuring the accuracy of the subsequent target light detection distance. The target light detection distance is determined based on the current vehicle speed, considering the current vehicle speed to ensure a match between the target light detection distance and the current speed. Simultaneously, the driving parameter information reflects the driver's personalized parameters, and the current road condition information reflects the real-time changes in the current driving environment, further improving the matching between the target light detection distance and the current vehicle speed. This ensures that the determined target light detection distance guarantees driving safety and enhances the intelligence of the target light detection distance determination. The target light illumination angle is determined based on the target light detection distance, and the vehicle's light illumination angle is adjusted to match the target light illumination angle. This ensures that after detecting an obstacle within the light illumination range, the vehicle can brake in time before a collision occurs, guaranteeing nighttime driving safety. Therefore, the technical solution of this application solves the problem that manual switching is affected by the driver's own experience and current state, resulting in poor intelligence of headlight adjustment and inability to guarantee the safety of night driving. It achieves the effect of improving the intelligence of headlight adjustment and improving the safety of night driving.
[0025] Example 2 Figure 2 This is a flowchart of a vehicle headlight adjustment method provided in Embodiment 2 of this application. The technical solution of this embodiment is further refined based on the above technical solution.
[0026] Furthermore, the phrase "determine the target light detection distance based on the current vehicle speed, current road conditions, and driving parameters" is further refined into: "determine the target reaction time and target braking habits based on the road type and driving parameters; determine the target light detection distance based on the current vehicle speed, target reaction time, target braking habits, and road surface information," in order to determine the target light detection distance.
[0027] See Figure 2 A method for adjusting vehicle headlights, as shown, includes: S210: Obtain current vehicle speed, current road condition information, and driver's driving parameter information.
[0028] S220. Based on road type and driving parameter information, determine the target reaction time and target braking habits.
[0029] Current road condition information includes road surface information and road type. Road surface information can be relevant to determining the friction of the road surface. For example, road surface information may include road surface material, road surface moisture, and whether it is covered by snow or ice. Road type can be the type of road being traveled on, used to determine the target's reaction time and braking habits. For example, road type may include village roads, provincial highways, national highways, etc., and this application does not specifically limit this.
[0030] Reaction time is the delay between a driver observing a sudden situation and pressing the brake pedal, used to determine braking distance. Braking habit is the angle at which a driver habitually presses the brake pedal when braking, used to determine braking distance. Target reaction time is the reaction time matched to the road type, and correspondingly, target braking habit is the braking habit matched to the road type. Due to the varying complexity of driving environments on different road types, drivers' target reaction time and target braking habits differ. For example, when driving on rural roads, due to the greater number of factors to observe, the target reaction time is longer than on national highways. However, because there are fewer vehicles, the brake pedal angle is larger on rural roads, meaning the target braking habit value is larger. Therefore, corresponding driving parameter information can be determined based on the road type to improve the matching of driving parameter information with the road type of the current driving lane.
[0031] S230. Determine the target light detection distance based on the current vehicle speed, target reaction time, target braking habits, and road surface information.
[0032] Based on road surface information, the friction force during braking can be determined; based on the target's braking habits, the deceleration during braking can be determined; and based on the current vehicle speed, target reaction time, target braking habits, and road surface information, the braking distance can be determined. A value greater than or equal to the braking distance can then be selected as the target headlight detection distance. For example, a buffer distance can be preset; after determining the braking distance, the sum of the braking distance and the preset buffer distance is used as the target headlight detection distance, further ensuring nighttime driving safety.
[0033] S240. Determine the target light illumination angle based on the target light detection distance, and adjust the vehicle light illumination angle to match the target light illumination angle.
[0034] The technical solution of this embodiment improves the accuracy of target reaction time and target braking habits by determining them based on road type and driving parameter information; it determines the target headlight detection distance based on current vehicle speed, target reaction time, target braking habits, and road surface information, and accurately determines the target headlight detection distance matching the current vehicle speed by considering the driver's personalized parameters and road surface information. It comprehensively considers multiple influencing factors, improves the accuracy and intelligence of headlight adjustment, and enhances the safety of nighttime driving.
[0035] In an optional embodiment, the method further includes: if no control signal from the driver is detected, issuing a takeover vehicle control prompt; determining whether a takeover signal from the driver is detected within a preset takeover waiting time; if not, obtaining road condition information of the right lane of the vehicle, and controlling the vehicle to stop in the rightmost lane based on the road condition information of the right lane, and controlling the hazard warning lights to sound an alarm.
[0036] Control signals may include steering wheel control signals and pedal control signals, used to determine whether the driver is controlling the vehicle. A takeover of vehicle control prompt may be a signal prompting the driver to take over vehicle control. For example, a takeover of vehicle control prompt may include at least one of an audible prompt and an instrument panel display prompt. The vehicle's steering wheel sensor and pedal sensor detect control signals in real time. If neither the steering wheel sensor nor the pedal sensor detects a control signal, or if neither sensor detects a control signal for an extended period, it is determined that no driver control signal has been detected, and a takeover of vehicle control prompt is issued.
[0037] The preset takeover waiting time can be the waiting period from issuing a takeover vehicle control prompt to confirming that the driver's takeover is invalid. For example, the preset takeover waiting time can be determined by a professional technician based on experience or experimentation, and this application does not specifically limit it. For instance, the preset takeover waiting time could be 15 seconds. The takeover signal can be a control signal detected within the preset takeover waiting time by at least one of the steering wheel sensor or pedal sensor. If the control signal triggering the takeover vehicle control prompt is a steering wheel sensor or a pedal sensor, then the takeover signal is the control signal of the corresponding sensor; if the control signal triggering the takeover vehicle control prompt is both a steering wheel sensor and a pedal sensor, then the takeover signal includes the control signals of both sensors.
[0038] If no driver takeover signal is detected within the preset takeover waiting time, the system acquires the road condition information of the right lane and, based on this information, controls the vehicle to stop in the far right lane, and activates the hazard warning lights. The road condition information of the right lane can be obtained through a side and rear camera and millimeter-wave radar to determine whether conditions permit a lane change to the right.
[0039] For example, if no driver takeover signal is detected within the preset takeover waiting time, the intelligent driving system can control the external intelligent driving status indicator light to flash red, and at the same time determine the vehicle's current lane: if the vehicle is not in the rightmost lane, the onboard controller controls the steering system to turn on the right turn signal, and combined with the monitoring results of the side and rear cameras and millimeter-wave radar, changes lanes to the right under the premise of ensuring safety, and then pulls over to the side of the road after changing lanes to the rightmost lane, and turns on the hazard warning lights after stopping; if the vehicle is already in the rightmost lane, the onboard controller directly controls the vehicle to stop smoothly in this lane, turns on the hazard warning lights after stopping, and can also link the onboard emergency call system to send driver abnormality and vehicle location information to the rescue platform.
[0040] Optionally, with the driver's authorization, the driver's physical condition can be monitored in real time through the driver monitoring device. When the driver is detected to be unwell, a prompt to take over vehicle control is issued; it is determined whether the driver's takeover signal is detected within the preset takeover waiting time; if not, the road condition information of the right lane of the vehicle is obtained, and the vehicle is controlled to stop in the rightmost lane according to the road condition information of the right lane, and the hazard warning lights are activated.
[0041] Driver monitoring devices may include cameras and physiological sensors. Physical condition may include the driver's heart rate, respiratory rate, and facial appearance. Driver discomfort may include abnormal heart rate, rapid breathing, paleness, and loss of consciousness.
[0042] If no driver control signal is detected, a takeover vehicle control prompt is issued; it is determined whether a driver takeover signal is detected within a preset takeover waiting time; if not, the road condition information of the right lane is obtained, and the vehicle is controlled to stop in the rightmost lane based on the road condition information of the right lane, and the hazard warning lights are activated. After failing to receive driver control information, the vehicle is controlled to stop in the rightmost lane, and the hazard warning lights are activated to alert following vehicles of the abnormal status of the vehicle, ensuring vehicle safety.
[0043] Example 3 Figure 3 This is a flowchart of a vehicle headlight adjustment method provided in Embodiment 3 of this application. The technical solution of this embodiment is further refined based on the above technical solution.
[0044] Furthermore, the following is added: "If the adjacent lane is an oncoming lane, then detect whether there are vehicles in the adjacent lane; if so, determine that the current lighting adjustment scenario is oncoming headlight adjustment, and obtain the oncoming speed of the oncoming vehicles in the adjacent lane and the waiting distance to the oncoming vehicles; determine the oncoming switching distance based on the current vehicle speed, the oncoming vehicle speed and the target headlight illumination angle; and perform oncoming headlight adjustment based on the waiting distance and the oncoming switching distance," in order to perform oncoming headlight adjustment.
[0045] See Figure 3 A method for adjusting vehicle headlights, as shown, includes: S310: Obtain current vehicle speed, current road conditions, and driver's driving parameters.
[0046] S320: Determine the target light detection distance based on the current vehicle speed, current road conditions, and driving parameters.
[0047] S330. Determine the target light illumination angle based on the target light detection distance, and adjust the vehicle light illumination angle to match the target light illumination angle.
[0048] S340. If the adjacent lane is a lane for vehicles traveling in opposite directions, then check whether there are vehicles in the adjacent lane.
[0049] The adjacent lane can be the lane immediately next to the lane being traveled, with no other lanes in between. The system can determine whether the adjacent lane is for oncoming traffic based on a map or images from a camera. If the adjacent lane is for oncoming traffic, side cameras and millimeter-wave radar are used to detect whether there are vehicles in the adjacent lane.
[0050] S350 If so, determine that the current lighting adjustment scenario is oncoming headlight adjustment, and obtain the oncoming speed of the oncoming vehicle in the adjacent lane and the waiting distance to the oncoming vehicle.
[0051] If so, meaning there are vehicles in the adjacent lane, the current headlight adjustment scenario is determined to be oncoming headlight adjustment. The oncoming vehicle speed can be the speed of the oncoming vehicle in the adjacent lane, used to determine the oncoming headlight switching distance. For example, the oncoming vehicle speed can be obtained using millimeter-wave radar. The waiting distance can be the distance between this vehicle and the oncoming vehicle in the adjacent lane. For example, the waiting distance can be obtained using millimeter-wave radar.
[0052] S360 determines the passing distance based on the current vehicle speed, the oncoming vehicle speed, and the target headlight illumination angle.
[0053] When meeting oncoming traffic, to ensure the safety of the oncoming driver, you should switch your headlights from high beam to low beam before your headlights reach the oncoming driver to avoid affecting their visibility. The greater the relative speed between the two vehicles, the higher the risk. Therefore, to ensure driving safety, when the relative speed between the two vehicles is high, you can switch your headlights a certain distance in advance to fully guarantee driving safety.
[0054] The oncoming vehicle switching distance is the distance between two vehicles when switching lighting modes in a meeting headlight adjustment scene. Based on the current vehicle speed and the oncoming vehicle speed, the advance switching distance can be determined. Based on the target headlight illumination angle, the vehicle's illumination distance can be determined. The sum of the advance switching distance and the vehicle's illumination distance is determined as the oncoming vehicle switching distance.
[0055] In one optional embodiment, determining the meeting switching distance based on the current vehicle speed, the oncoming vehicle speed, and the target headlight illumination angle includes: determining the advance switching time based on the current vehicle speed and the oncoming vehicle speed; and determining the meeting switching distance based on the current vehicle speed, the oncoming vehicle speed, the advance switching time, and the target headlight illumination angle.
[0056] The advance switching duration can be preset to indicate the time required for switching headlights ahead of oncoming traffic at different relative speeds. The relative speed is determined based on the current vehicle speed and the oncoming vehicle speed, and the corresponding advance switching duration is determined based on the relative speed. The advance switching distance is determined based on the advance switching duration, the current vehicle speed, and the oncoming vehicle speed. The target headlight detection distance is determined based on the target headlight illumination angle. If the vehicle has stored the target headlight detection distance corresponding to the target headlight illumination angle, the target headlight detection distance can be directly read. The sum of the advance switching distance and the target headlight detection distance is used as the oncoming traffic switching distance.
[0057] By determining the advance switching time based on the current vehicle speed and the oncoming vehicle speed, the switching timing is advanced accordingly. Considering that the higher the speed, the greater the danger of high beams, the advance switching time is matched with the current vehicle speed and the oncoming vehicle speed to ensure driving safety when the relative speed of vehicles is high. Based on the current vehicle speed, the oncoming vehicle speed, the advance switching time, and the target light illumination angle, the passing switching distance is determined to avoid the high beams shining directly into the eyes of oncoming drivers and ensure passing safety.
[0058] S370: Adjust the passing lights according to the distance to the waiting vehicle and the passing switching distance.
[0059] When the distance to the oncoming vehicle is equal to the oncoming vehicle switching distance, determine to adjust the oncoming vehicle lights, that is, switch the high beams to low beams.
[0060] In an optional embodiment, after adjusting the oncoming headlights based on the distance to the oncoming vehicle and the oncoming vehicle switching distance, the method further includes: detecting whether the oncoming vehicle has adjusted its headlight mode to low beam; if not, flashing the headlights as a warning, and detecting whether the oncoming vehicle's headlights affect the vehicle's driving safety; if so, obtaining the road condition information of the right lane, and controlling the vehicle to decelerate, change lanes to the right lane, or stop based on the road condition information of the right lane, and simultaneously turning on the hazard warning lights when controlling the vehicle to stop.
[0061] After adjusting the oncoming headlights based on the distance to the oncoming vehicle and the oncoming vehicle switching distance, the system detects whether the oncoming vehicle has switched its headlights to low beam to ensure driving safety. For example, an image of the oncoming vehicle can be captured by a camera, and the system can then determine whether the oncoming vehicle has switched its headlights to low beam based on the captured image.
[0062] If not, meaning the oncoming vehicle is still using high beams, flash your lights as a warning and continue monitoring whether the oncoming vehicle's lights affect your vehicle's driving safety. The flashing warning can be achieved by quickly flashing your high beams once for 0.3-0.5 seconds to alert the oncoming driver. Immediately after flashing, switch back to low beams to avoid excessive interference with oncoming vehicles. If yes, maintain your current speed.
[0063] Detecting whether the lights of oncoming vehicles affect the driving safety of one's own vehicle can involve checking whether the lights of oncoming vehicles impair the driver's vision, preventing the driver from recognizing road information ahead. If, after detecting whether the lights of oncoming vehicles affect the driving safety of one's own vehicle, that is, after flashing warning lights, the oncoming vehicle continues to use high beams and affects the driving safety of one's own vehicle, then the driver should control the vehicle to slow down, change lanes to the right, or stop based on the road conditions in the right lane to ensure the safety of one's own vehicle. The system can acquire road condition information of the right lane using side and rear cameras and millimeter-wave radar to determine if a lane change to the right is permissible. If a lane change to the right is permissible, the system automatically changes lanes to the right by activating the right turn signal. If a lane change is not possible, the vehicle can be slowed down, for example, by 20%-30% of its current speed, while continuously monitoring the right lane status using the side and rear cameras and millimeter-wave radar. If the system still cannot identify road information ahead after slowing down (e.g., the road ahead is obstructed or visibility is completely blocked), the vehicle will be brought to an emergency stop. During the stopping process, the hazard warning lights will activate simultaneously, and the external intelligent driving status lights will change from solid blue to flashing red to alert following vehicles to take evasive action. After detecting whether the lights of oncoming vehicles affect the vehicle's driving safety, if not, the system can slow down and flash the lights again as a warning. Simultaneously, the system will acquire road condition information of the right lane using the side and rear cameras and millimeter-wave radar to determine if a lane change to the right is permissible, and if so, will proceed with the lane change in advance.
[0064] The system detects whether oncoming vehicles have switched their headlights to low beam. If not, it flashes its lights as a warning and checks whether the oncoming vehicles' lights affect the vehicle's driving safety. If so, it obtains traffic information from the right lane and controls the vehicle to slow down, change lanes to the right, or stop based on this information. When controlling the vehicle to stop, it simultaneously activates the hazard warning lights. When oncoming vehicles use high beams, the system provides timely warnings, and if the warnings are ineffective, it promptly controls the vehicle to slow down, change lanes to the right, or stop based on the right lane's traffic information to ensure the vehicle's safety.
[0065] The technical solution of this embodiment detects whether there are vehicles in the adjacent lane if the adjacent lane is an oncoming lane; if so, it determines that the current lighting adjustment scenario is oncoming headlight adjustment, and obtains the oncoming speed of the oncoming vehicles in the adjacent lane and the waiting distance to the oncoming vehicles; based on the current vehicle speed, the oncoming vehicle speed, and the target headlight illumination angle, it determines the oncoming switching distance, considering that the higher the vehicle speed, the greater the danger of high beams when meeting oncoming vehicles, so the oncoming switching distance is matched with the vehicle speed to improve the safety when meeting oncoming vehicles; based on the waiting distance to the oncoming vehicles and the oncoming switching distance, it adjusts the oncoming headlights to ensure the safety of vehicles in the oncoming lane when meeting oncoming vehicles.
[0066] Example 4 Figure 4 The diagram shown is a structural schematic of a vehicle headlight adjustment device according to Embodiment 4 of this application. This embodiment is applicable to the intelligent control of the headlights of vehicles driving at night. It is configured at the vehicle end, and the specific structure of the vehicle headlight adjustment device is as follows: The data acquisition module 410 is used to acquire the current vehicle speed, current road condition information, and driver's driving parameter information; The target light detection distance determination module 420 is used to determine the target light detection distance based on the current vehicle speed, current road condition information, and driving parameter information; The illumination angle adjustment module 430 is used to determine the illumination angle of the target light based on the target light detection distance, and adjust the illumination angle of the vehicle light to the illumination angle of the target light.
[0067] The technical solution of this embodiment acquires current vehicle speed, current road condition information, and driver's driving parameter information. It obtains relevant information from three perspectives: driver's personalized information, real-time road conditions, and current vehicle speed. This provides multi-dimensional current information for determining the target light detection distance, ensuring the accuracy of the subsequent target light detection distance. The target light detection distance is determined based on the current vehicle speed, considering the current vehicle speed to ensure a match between the target light detection distance and the current speed. Simultaneously, the driving parameter information reflects the driver's personalized parameters, and the current road condition information reflects the real-time changes in the current driving environment, further improving the matching between the target light detection distance and the current vehicle speed. This ensures that the determined target light detection distance guarantees driving safety and enhances the intelligence of the target light detection distance determination. The target light illumination angle is determined based on the target light detection distance, and the vehicle's light illumination angle is adjusted to match the target light illumination angle. This ensures that after detecting an obstacle within the light illumination range, the vehicle can brake in time before a collision occurs, guaranteeing nighttime driving safety. Therefore, the technical solution of this application solves the problem that manual switching is affected by the driver's own experience and current state, resulting in poor intelligence of headlight adjustment and inability to guarantee the safety of night driving. It achieves the effect of improving the intelligence of headlight adjustment and improving the safety of night driving.
[0068] Optionally, the current road condition information includes road surface information and road type. Correspondingly, the target light detection distance determination module 420 includes: The driving parameter information determination unit is used to determine the target reaction time and the target braking habits based on the road type and driving parameter information. The target light detection distance determination unit is used to determine the target light detection distance based on the current vehicle speed, target reaction time, target braking habits, and road surface information.
[0069] Optionally, the vehicle lighting adjustment device also includes: The adjacent lane detection module is used to detect whether there are vehicles in the adjacent lane if the adjacent lane is a lane for oncoming traffic. The current lighting adjustment scenario determination module is used to determine the current lighting adjustment scenario as oncoming traffic lighting adjustment if the scenario is true, and to obtain the oncoming speed of oncoming vehicles in the adjacent lane and the waiting distance to the oncoming vehicles. The oncoming vehicle switching distance determination module is used to determine the oncoming vehicle switching distance based on the current vehicle speed, the oncoming vehicle speed, and the target headlight illumination angle. The passing headlight adjustment module is used to adjust the passing headlights based on the distance to the oncoming vehicle and the passing switching distance.
[0070] Optional, the meeting distance determination module includes: The advance switching duration determination unit is used to determine the advance switching duration based on the current vehicle speed and the oncoming vehicle speed; The vehicle meeting switching distance determination unit is used to determine the vehicle meeting switching distance based on the current vehicle speed, the oncoming vehicle speed, the advance switching time, and the target headlight illumination angle.
[0071] Optionally, the vehicle lighting adjustment device also includes: The headlight mode detection module is used to detect whether oncoming vehicles have switched their headlight mode to low beam. The flashing light warning confirmation module is used to flash the lights if no, and to detect whether the lights of oncoming vehicles affect the driving safety of this vehicle. The vehicle control module is used to obtain the road condition information of the right lane if the condition is met, and control the vehicle to decelerate, change lanes to the right lane or stop based on the road condition information of the right lane, and simultaneously turn on the hazard warning lights when controlling the vehicle to stop.
[0072] Optionally, the vehicle lighting adjustment device also includes: The vehicle control takeover prompt module is used to issue a vehicle control takeover prompt if no driver control signal is detected. The takeover signal detection module is used to determine whether a takeover signal from the driver is detected within a preset takeover waiting time. The hazard warning light control module is used to obtain the road condition information of the right lane of the vehicle if not, and control the vehicle to stop in the rightmost lane based on the road condition information of the right lane, and control the hazard warning lights to sound an alarm.
[0073] The vehicle headlight adjustment device provided in this application embodiment can execute the vehicle headlight adjustment method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing the vehicle headlight adjustment method.
[0074] According to embodiments of the present invention, the present invention also provides an electronic device, a readable storage medium, and a computer program product.
[0075] Example 5 Figure 5 This is a schematic diagram of the structure of an electronic device provided in Embodiment 5 of this application, as shown below. Figure 5 As shown, the electronic device includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of processors 510 in the electronic device can be one or more. Figure 5 Taking a processor 510 as an example; the processor 510, memory 520, input device 530, and output device 540 in the electronic device can be connected via a bus or other means. Figure 5 Taking the example of a connection between China and Israel via a bus.
[0076] The memory 520, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the vehicle headlight adjustment method in this embodiment (e.g., data acquisition module 410, target light detection distance determination module 420, and illumination angle adjustment module 430). The processor 510 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 520, thereby implementing the aforementioned vehicle headlight adjustment method.
[0077] The memory 520 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function; the data storage area may store data created based on terminal usage. Furthermore, the memory 520 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 520 may further include memory remotely located relative to the processor 510, which can be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0078] Input device 530 can be used to receive input character information and generate key signal inputs related to user settings and function control of the electronic device. Output device 540 may include display devices such as a display screen.
[0079] Example 6 Embodiment Six of this application also provides a storage medium containing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to perform a vehicle headlight adjustment method. The method includes: acquiring current vehicle speed, current road condition information, and driver's driving parameter information; determining a target headlight detection distance based on the current vehicle speed, current road condition information, and driving parameter information; determining a target headlight illumination angle based on the target headlight detection distance; and adjusting the vehicle headlight illumination angle to the target headlight illumination angle.
[0080] Of course, the computer-executable instructions provided in the embodiments of this application are not limited to the method operations described above, but can also perform related operations in the vehicle headlight adjustment method provided in any embodiment of this application.
[0081] Based on the above description of the implementation methods, those skilled in the art can clearly understand that this application can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0082] It is worth noting that in the above embodiments of the vehicle lighting adjustment device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the scope of protection of this application.
[0083] Note that the above are merely preferred embodiments and the technical principles employed in this application. Those skilled in the art will understand that this application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of this application, the scope of which is determined by the scope of the appended claims.
Claims
1. A method for adjusting vehicle lights, characterized in that, include: Obtain current vehicle speed, current road conditions, and driver's driving parameters; The target headlight detection distance is determined based on the current vehicle speed, the current road condition information, and the driving parameter information; The target light illumination angle is determined based on the target light detection distance, and the vehicle light illumination angle is adjusted to match the target light illumination angle.
2. The method according to claim 1, characterized in that, The current road condition information includes road surface information and road type. Correspondingly, determining the target headlight detection distance based on the current vehicle speed, the current road condition information, and the driving parameter information includes: Based on the road type and the driving parameter information, determine the target reaction time and the target braking habits; The target light detection distance is determined based on the current vehicle speed, the target reaction time, the target braking habits, and the road surface information.
3. The method according to claim 1, characterized in that, The method further includes: If the adjacent lane is a lane for oncoming traffic, then check whether there are vehicles in the adjacent lane; If so, the current lighting adjustment scenario is determined to be oncoming headlight adjustment, and the oncoming speed of the oncoming vehicle in the adjacent lane and the waiting distance to the oncoming vehicle are obtained. The passing distance is determined based on the current vehicle speed, the oncoming vehicle speed, and the target headlight illumination angle. Adjust the passing lights according to the waiting distance and the passing switching distance.
4. The method according to claim 3, characterized in that, Determining the passing distance based on the current vehicle speed, the oncoming vehicle speed, and the target headlight illumination angle includes: Determine the advance switching time based on the current vehicle speed and the oncoming vehicle speed; The passing distance is determined based on the current vehicle speed, the oncoming vehicle speed, the advance switching time, and the target headlight illumination angle.
5. The method according to claim 3, characterized in that, After adjusting the meeting lights based on the waiting distance and the meeting switching distance, the method further includes: Detect whether the oncoming vehicle has switched its headlights to low beam. If not, the vehicle will flash its lights as a warning and check whether the lights of the oncoming vehicle affect its driving safety. If so, obtain the road condition information of the right lane, and control the vehicle to decelerate, change lanes to the right lane or stop according to the road condition information of the right lane, and simultaneously turn on the hazard warning lights when controlling the vehicle to stop.
6. The method according to claim 1, characterized in that, The method further includes: If no control signal from the driver is detected, a prompt to take over vehicle control will be issued. Determine whether a driver takeover signal is detected within a preset takeover waiting time; If not, obtain the road condition information of the right lane of the vehicle, and control the vehicle to stop in the rightmost lane according to the road condition information of the right lane, and control the hazard warning lights to sound an alarm.
7. A vehicle headlight adjustment device, characterized in that, include: The data acquisition module is used to acquire current vehicle speed, current road conditions, and driver's driving parameters. The target light detection distance determination module is used to determine the target light detection distance based on the current vehicle speed, the current road condition information, and the driving parameter information; The illumination angle adjustment module is used to determine the target light illumination angle based on the target light detection distance, and adjust the vehicle light illumination angle to the target light illumination angle.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the vehicle lighting adjustment method as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the vehicle lighting adjustment method as described in any one of claims 1-6.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the vehicle lighting adjustment method as described in any one of claims 1-6.