Light control method and device, vehicle and storage medium

By responding to steering wheel steering operations in the vehicle headlights, calculating the turning radius and controlling the light offset, the problem of blind spots in the vehicle's field of view on curved roads is solved, and safe driving is achieved.

CN120229174APending Publication Date: 2025-07-01GREAT WALL MOTOR CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311862214.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

The existing vehicle headlights cannot adjust the lighting angle on curved roads, resulting in a blind spot in the driver's field of vision and affecting driving safety.

Method used

By in response to steering wheel steering operations, the vehicle turning radius is determined and the light offset distance is calculated based on the radius, and the headlight light is controlled to move sideways to eliminate blind spots in the field of view.

Benefits of technology

Effectively eliminates the driver's blind spots in vision and ensures that the vehicle drives safely on curved roads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120229174A_ABST
    Figure CN120229174A_ABST
Patent Text Reader

Abstract

The invention provides a light control method and device, a vehicle and a storage medium. According to the method, under the condition that a headlamp of the vehicle is turned on, when a driver rotates a steering wheel, the turning radius of the vehicle during turning is determined, namely the turning amplitude of the vehicle is determined. Generally, when a vehicle is in different turning amplitudes, the deviation degrees of light irradiated by a headlamp are different during turning, and the ranges of'view blind areas' appearing on the inner side of a curve are also different. Therefore, according to the method and the device, the offset distance during transverse movement of the light can be determined based on the turning radius, that is, the offset distance capable of being used for eliminating the view blind area and correcting the deviation of the light is determined. And further, the lamplight is controlled to move by the offset distance in the target direction corresponding to the rotating direction of the steering wheel, so that the lamplight moves by the offset distance in the view blind area range. Therefore, by means of the scheme, the view blind area of the driver can be eliminated, and safe driving of the vehicle is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a method, device, vehicle, and storage medium for controlling vehicle lights in the field of vehicles. Background Art

[0002] With the development of the vehicle industry, vehicles are increasingly involved in our daily life and work. As people's activity time is postponed, the probability of people using the vehicle's headlights also increases.

[0003] In the prior art, the headlights usually installed on a vehicle have a fixed irradiation range. When a vehicle turns on a curved road section at night, due to the inability to adjust the lighting angle, a "vision blind area" often appears inside the curve. This greatly threatens the driving safety of the driver.

[0004] Therefore, there is an urgent need for a method for controlling vehicle lights to control the lights of the vehicle's headlights when the vehicle turns on a curved road section at night, eliminate the vision blind area of the driver, and ensure the safe driving of the vehicle. Summary of the Invention

[0005] The present application provides a method, device, vehicle, and storage medium for controlling vehicle lights. This method can eliminate the vision blind area of the driver and ensure the safe driving of the vehicle.

[0006] In a first aspect, a method for controlling vehicle lights is provided. The method includes: when the vehicle's headlights are turned on, in response to a steering operation of the vehicle's steering wheel, determining the turning radius of the vehicle; based on the turning radius, determining an offset distance when laterally moving the lights irradiated by the headlights; and controlling the lights to move the offset distance in a target direction, where the target direction corresponds to the turning direction of the steering wheel.

[0007] In the above technical solution, when the driver turns the steering wheel with the vehicle's headlights turned on, the present application determines the turning radius of the vehicle when turning, that is, the turning amplitude of the vehicle. Generally, when the vehicle has different turning amplitudes, the deviation degree of the lights irradiated by the headlights when turning is different, and the range of the "vision blind area" appearing inside the curve is also different. Therefore, the present application can determine the offset distance for laterally moving the lights based on the turning radius, that is, determine the offset distance for correcting the lights to eliminate the vision blind area. Furthermore, control the lights to move the offset distance in the target direction corresponding to the turning direction of the steering wheel, so that the lights move the offset distance towards the "vision blind area" range. Therefore, through the solution of the present application, the vision blind area of the driver can be eliminated, and the safe driving of the vehicle can be ensured.

[0008] In combination with the first aspect, in some possible implementation manners, in response to a steering operation on the steering wheel of the vehicle, determining a turning radius of the vehicle includes: in response to the steering operation on the steering wheel, determining a rotation angle of the wheel based on a rotation angle of the steering wheel and a transmission ratio between the steering wheel and the wheel; and determining the turning radius based on a wheelbase of the vehicle and the rotation angle of the wheel.

[0009] In the above technical solution, during the turning of the vehicle, the ratio between the turning radius and the wheelbase of the vehicle is the same as the tangent value of the rotation angle of the wheel. In addition, the rotation angle of the wheel is related to the rotation angle of the steering wheel and the transmission ratio between the steering wheel and the wheel. Therefore, the rotation angle of the wheel can be determined first based on the rotation angle of the steering wheel and the transmission ratio between the steering wheel and the wheel; and then the turning radius can be determined based on the wheelbase of the vehicle and the rotation angle of the wheel.

[0010] In combination with the first aspect and the above implementation manners, in some possible implementation manners, determining an offset distance when laterally moving the light emitted by the headlight based on the turning radius includes: determining the offset distance based on a first correspondence relationship between the turning radius, a sample turning radius, and a sample offset distance when the light moves; or, determining the product of the turning radius and a preset coefficient as the offset distance.

[0011] In the above technical solution, the offset distance when laterally moving the light emitted by the headlight is determined in two ways, which can enrich the ways to obtain the offset distance. Among them, the first correspondence relationship can be obtained through simulation and verified through the real vehicle scenario of the simulation. Therefore, an accurate offset distance can be obtained through the solution of the present application.

[0012] In combination with the first aspect and the above implementation manners, in some possible implementation manners, the headlight is composed of multiple lamp beads, and some of the multiple lamp beads are lit before the light is not laterally moved. Controlling the light to move the offset distance in the target direction includes: determining an adjustment distance of the lit part of the lamp beads based on an irradiation distance of the headlight, the offset distance, and a focal length of the headlight; determining target lamp beads from the multiple lamp beads based on the part of the lamp beads, the target direction, and the adjustment distance; controlling the part of the lamp beads to go out, and controlling the target lamp beads to be lit, so that the light emitted by the headlight moves the offset distance in the target direction.

[0013] In the above technical solution, the headlamp is composed of multiple lamp beads, and the light emitted by the headlamp is achieved by lighting at least one of the multiple lamp beads. Before the light moves horizontally, some of the multiple lamp beads are lit. In this regard, in order to achieve the effect of moving the light by the offset distance in the target direction, in this solution, it is necessary to determine the adjustment distance for the offset of the lit part of the lamp beads; and then, based on the part of the lamp beads, the target direction, and the adjustment distance, determine the target lamp beads from the multiple lamp beads; finally, control some of the lamp beads to go out and the target lamp beads to be lit to achieve the offset of the light emitted by the headlamp. That is to say, some of the lamp beads are lit when not turning, some of the lamp beads go out when turning, and the target lamp beads are lit to achieve the horizontal movement of the light emitted by the headlamp. In addition, since there is a corresponding proportional relationship among the illumination distance of the headlamp, the offset distance, the focal length of the headlamp, and the adjustment distance of the lit part of the lamp beads, therefore, the adjustment distance of the lit part of the lamp beads can be determined based on the illumination distance of the headlamp, the offset distance, and the focal length of the headlamp.

[0014] Combined with the first aspect and the above implementation manner, in some possible implementation manners, determining the adjustment distance of the lit part of the lamp beads based on the illumination distance of the headlamp, the offset distance, and the focal length of the headlamp includes: determining a first ratio between the focal length and the illumination distance; and determining the product of the first ratio and the offset distance as the adjustment distance.

[0015] In the above technical solution, there is an equal proportional relationship between the focal length of the headlamp and the adjustment distance, and the illumination distance of the headlamp and the offset distance. Therefore, the first ratio between the focal length and the illumination distance can be determined; and the product of the first ratio and the offset distance is determined as the adjustment distance.

[0016] Combined with the first aspect and the above implementation manner, in some possible implementation manners, controlling the target lamp beads to be lit includes: determining a first part of the lamp beads for illuminating the first lane and a second part of the lamp beads for illuminating the second lane on which the vehicle is traveling from the target lamp beads, where the first lane is located inside the second lane; controlling the first part of the lamp beads to be lit with a first brightness and controlling the second part of the lamp beads to be lit with a second brightness, and the first brightness is greater than the second brightness.

[0017] In the above technical solution, the first part of the lamp beads in the target lamp beads illuminates the inner lane (the first lane) of the vehicle, and the second part of the lamp beads in the target lamp beads illuminates the second lane on which the vehicle is traveling. Usually, when the vehicle is turning, the driver pays more attention to the driving dynamics of the inner lane of the vehicle. Therefore, for the inner lane, the driver needs a clearer field of vision. Therefore, the first part of the lamp beads can illuminate the first lane with a higher brightness. In this way, when the vehicle is turning, the probability of the vehicle colliding with obstacles on the inner lane can be reduced.

[0018] Combined with the first aspect and the above implementation manners, in some possible implementation manners, determining a first part of the target lamp beads for irradiating a first lane and a second part of the target lamp beads for irradiating a second lane on which the vehicle travels includes: determining a second ratio between the number of lamp beads for irradiating the first lane and the number of lamp beads for irradiating the second lane based on the turning radius; determining the first part of the lamp beads and the second part of the lamp beads from the target lamp beads based on the second ratio, the number of the target lamp beads, and the position of the first lane relative to the second lane.

[0019] In the above technical solution, when the vehicle turns, the degree to which the vehicle head deviates towards different lanes is different when the turning amplitude is different. If the vehicle head deviates more towards the second lane, the visual blind area of the inner lane (the first lane) is relatively large. Therefore, more lamp beads are required to irradiate the inner lane. Therefore, the second ratio between the number of lamp beads for irradiating the first lane and the number of lamp beads for irradiating the second lane can be determined based on the turning radius. Furthermore, the first part of the lamp beads and the second part of the lamp beads are determined from the target lamp beads based on the second ratio, the number of the target lamp beads, and the position of the first lane relative to the second lane. This solution can accurately determine the first part of the lamp beads for irradiating the first lane and the second part of the lamp beads for irradiating the second lane.

[0020] Combined with the first aspect and the above implementation manners, in some possible implementation manners, determining the first part of the lamp beads and the second part of the lamp beads from the target lamp beads based on the second ratio, the number of the target lamp beads, and the position of the first lane relative to the second lane includes: determining a first number of the first part of the lamp beads and a second number of the second part of the lamp beads based on the second ratio and the number of the target lamp beads; in a case where the first lane is on the left side of the second lane, determining the lamp beads on the left side and having the first number among the target lamp beads as the first part of the lamp beads, and determining the remaining lamp beads as the second part of the lamp beads; in a case where the first lane is on the right side of the second lane, determining the lamp beads on the left side and having the second number among the target lamp beads as the second part of the lamp beads, and determining the remaining lamp beads as the first part of the lamp beads.

[0021] Combined with the first aspect and the above implementation manners, in some possible implementation manners, controlling the light to move the offset distance in the target direction includes: determining a target duration for laterally moving the light irradiated by the headlamp based on a second correspondence relationship between the traveling speed of the vehicle, a sample speed, and a sample duration when the light moves; controlling the light to move the offset distance in the target direction within the target duration.

[0022] In the above technical solution, the completion time (target duration) of the light offset is controlled by the vehicle speed during turning. In this way, it can be achieved that when the vehicle turns left at a relatively high speed, the light is controlled to complete the left offset within a relatively short duration; when the vehicle turns left at a relatively low speed, the light is controlled to complete the left offset within a relatively long duration. That is to say, the duration for the light to complete the offset adapts to the vehicle speed. This solution can avoid the driver feeling dizzy due to slow offset when the vehicle speed is very fast, and can also avoid potential hidden dangers to driving safety due to fast offset when the vehicle speed is very slow.

[0023] In a second aspect, a device for controlling a light is provided. The device includes: a determination module, configured to: when the vehicle's headlight is turned on, in response to a steering operation of the vehicle's steering wheel, determine the turning radius of the vehicle; based on the turning radius, determine the offset distance when the light irradiated by the headlight is laterally moved; a control module, configured to control the light to move the offset distance in a target direction, and the target direction corresponds to the rotation direction of the steering wheel.

[0024] In combination with the second aspect, in some possible implementation manners, the determination module is specifically configured to: in response to the steering operation of the steering wheel, based on the rotation angle of the steering wheel and the transmission ratio between the steering wheel and the wheels, determine the rotation angle of the wheels; based on the wheelbase of the vehicle and the rotation angle of the wheels, determine the turning radius.

[0025] In combination with the second aspect and the above implementation manners, in some possible implementation manners, the determination module is specifically further configured to: based on a first correspondence relationship between the turning radius, a sample turning radius, and a sample offset distance during light movement, determine the offset distance; or, determine the product of the turning radius and a preset coefficient as the offset distance.

[0026] In combination with the second aspect and the above implementation manners, in some possible implementation manners, the headlight is composed of multiple lamp beads, and some of the multiple lamp beads are lit before the light is laterally moved. The control module is specifically configured to: based on the irradiation distance of the headlight, the offset distance, and the focal length of the headlight, determine the adjustment distance of the lit part of the lamp beads; based on the part of the lamp beads, the target direction, and the adjustment distance, determine target lamp beads from the multiple lamp beads; control the part of the lamp beads to go out, and control the target lamp beads to be lit, so that the light irradiated by the headlight moves the offset distance in the target direction.

[0027] In combination with the second aspect and the above implementation manners, in some possible implementation manners, the determination module is specifically further configured to: determine a first ratio between the focal length and the irradiation distance; determine the product of the first ratio and the offset distance as the adjustment distance.

[0028] Combined with the second aspect and the above implementation manners, in some possible implementation manners, the control module is further specifically configured to: determine a first part of lamp beads for irradiating a first lane and a second part of lamp beads for irradiating a second lane on which the vehicle travels from the target lamp beads, where the first lane is located inside the second lane; control the first part of lamp beads to be lit with a first brightness, and control the second part of lamp beads to be lit with a second brightness, where the first brightness is greater than the second brightness.

[0029] Combined with the second aspect and the above implementation manners, in some possible implementation manners, the determination module is further specifically configured to: determine a second ratio between the number of lamp beads for irradiating the first lane and the number of lamp beads for irradiating the second lane based on the turning radius; determine the first part of lamp beads and the second part of lamp beads from the target lamp beads based on the second ratio, the number of the target lamp beads, and the position of the first lane relative to the second lane.

[0030] Combined with the second aspect and the above implementation manners, in some possible implementation manners, the determination module is further specifically configured to: determine a first number of the first part of lamp beads and a second number of the second part of lamp beads based on the second ratio and the number of the target lamp beads; when the first lane is located on the left side of the second lane, determine the lamp beads on the left side and with the number of the first number among the target lamp beads as the first part of lamp beads, and determine the remaining lamp beads as the second part of lamp beads; when the first lane is located on the right side of the second lane, determine the lamp beads on the left side and with the number of the second number among the target lamp beads as the second part of lamp beads, and determine the remaining lamp beads as the first part of lamp beads.

[0031] Combined with the second aspect and the above implementation manners, in some possible implementation manners, the control module is further specifically configured to: determine a target duration for laterally moving the light irradiated by the headlamp based on a second correspondence relationship between the traveling speed of the vehicle, a sample speed, and a sample duration when the light moves; control the light to move the offset distance in the target direction within the target duration.

[0032] In a third aspect, a vehicle is provided, including a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any one of the possible implementation manners of the first aspect.

[0033] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores computer program code, and when the computer program code runs on a computer, the computer is enabled to execute the method in the first aspect or any one of the possible implementation manners of the first aspect. Description of the Drawings

[0034] Figure 1 It is a scene diagram of vehicle turning in the prior art provided by an embodiment of the present application;

[0035] Figure 2 It is a schematic flowchart of a method for controlling lights provided by an embodiment of the present application;

[0036] Figure 3 It is a schematic diagram of a turning radius provided by an embodiment of the present application;

[0037] Figure 4 It is a schematic structural diagram of a headlamp provided by an embodiment of the present application;

[0038] Figure 5 It is a schematic diagram of determining a target lamp bead provided by an embodiment of the present application;

[0039] Figure 6 It is a schematic diagram of laterally moving the light provided by an embodiment of the present application;

[0040] Figure 7 It is a schematic structural diagram of a device for controlling lights provided by an embodiment of the present application;

[0041] Figure 8 It is a schematic structural diagram of a vehicle provided by an embodiment of the present application. Detailed implementation manners

[0042] Next, the technical solutions in the present application will be clearly and elaborately described in conjunction with the accompanying drawings. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may mean A or B. The "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B may mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.

[0043] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.

[0044] Figure 1 It is a scene diagram of vehicle turning in the prior art provided by an embodiment of the present application.

[0045] It should be understood that during daily driving, we often encounter turning sections. In addition to terrain factors, turning sections can also ensure the driving safety of the driver. Because when driving on a straight section for a long time, the driver is prone to distraction and even fatigue driving due to monotony, which may lead to traffic accidents and so on.

[0046] It should also be understood that in a driving scenario with poor visibility, the driver will turn on the headlights of the vehicle to see the road conditions ahead and ensure driving safety. In the prior art, the headlights installed on the vehicle usually have a fixed illumination range. This will cause a "vision blind area" on the inner side of the curve when the vehicle turns on a turning section at night because the lighting angle cannot be adjusted. This greatly threatens the driving safety of the driver.

[0047] Exemplarily, as Figure 1 shown, it shows a schematic diagram of vehicle A turning on a two-way two-lane curved road section at night. As can be seen from Figure 1 , the light emitted by the headlights of vehicle A cannot cover the adjacent inner lane of vehicle A, and there is a "vision blind area" for the driver of vehicle A. In this case, if there is an oncoming vehicle approaching vehicle A in the vision blind area, vehicle A has no time to avoid. This will cause vehicle A to collide with the oncoming vehicle.

[0048] To solve the above problems, the present application proposes a method for controlling the lights. For the specific method steps, please refer to Figure 2 shown.

[0049] Figure 2 is a schematic flowchart of a method for controlling the lights provided by an embodiment of the present application.

[0050] It should be understood that a method for controlling the lights provided by an embodiment of the present application can be applied to the vehicle shown in Figure 1 . Specifically, the method for controlling the lights can be applied to the target controller in the vehicle, and the target controller is any one of the vehicle controller and the body domain controller in the vehicle. The body domain controller is used to control the vehicle components in the vehicle. When the target controller is the body domain controller, the vehicle component is the headlight.

[0051] Exemplarily, as Figure 2 shown, the method 200 includes:

[0052] Step 201, when the headlights of the vehicle are turned on, the vehicle controller determines the turning radius of the vehicle in response to the steering operation of the vehicle's steering wheel.

[0053] It should be understood that the "headlights" in the above step 201 include high-beam lights and low-beam lights on both sides of the front of the vehicle. The "turning radius" in the above step 201 refers to the radius of the trajectory circle presented by the center plane of the outer steering wheel of the vehicle on the vehicle support plane during the turning process of the vehicle.

[0054] Figure 3 It is a schematic diagram of a turning radius provided by an embodiment of the present application.

[0055] Exemplarily, as Figure 3 shown, during the process of turning the steering wheel of vehicle B to the right, the outer steering wheel (left front wheel) and the right front wheel turn to the right to meet the right-turning requirement of the vehicle. Among them, the driving trajectory of the right rear wheel is route l1, the driving trajectory of the right front wheel is route l2, the driving trajectory of the left front wheel is route l3, the trajectory circle radius corresponding to route l3 is the turning radius, the distance between route l1 and route l2 is the inner wheel difference, and the distance between route l1 and route l3 is the turning width.

[0056] In a possible implementation manner, the vehicle controller in step 201 determines the turning radius of the vehicle in response to the steering operation of the steering wheel of the vehicle, including: in response to the steering operation of the steering wheel, the vehicle controller determines the turning angle of the wheel based on the turning angle of the steering wheel and the transmission ratio between the steering wheel and the wheel; the vehicle controller determines the turning radius based on the wheelbase of the vehicle and the turning angle of the wheel.

[0057] It should be understood that the wheelbase in the above solution is the distance between the center of the front axle and the center of the rear axle of the vehicle. The wheels responsible for steering in the vehicle are the front wheels. Therefore, the wheel in the above solution refers to the front wheel in the vehicle.

[0058] In the above technical solution, during the turning process of the vehicle, the ratio between the turning radius and the wheelbase of the vehicle is the same as the tangent value of the turning angle of the wheel. In addition, the turning angle of the wheel is related to the turning angle of the steering wheel and the transmission ratio between the steering wheel and the wheel. Therefore, the turning angle of the wheel can be determined first based on the turning angle of the steering wheel and the transmission ratio between the steering wheel and the wheel; then the turning radius can be determined based on the wheelbase of the vehicle and the turning angle of the wheel.

[0059] In some embodiments, the vehicle controller determines the turning angle of the wheel based on the turning angle of the steering wheel and the transmission ratio between the steering wheel and the wheel, including: the vehicle controller determines the ratio between the turning angle of the steering wheel and the transmission ratio as the turning angle of the wheel.

[0060] In some embodiments, the vehicle controller determines the turning radius based on the wheelbase of the vehicle and the rotation angle of the wheel, including: the vehicle controller takes the tangent value of the rotation angle of the wheel as a first value; the vehicle controller determines the ratio between the wheelbase and the first value as the turning radius.

[0061] Step 202, the vehicle controller determines the offset distance when laterally moving the light irradiated by the headlight based on the turning radius.

[0062] It should be understood that the turning direction of the vehicle is the left-turning direction or the right-turning direction. In the prior art, when the vehicle is turning left, for the driver, there will be a "blind spot of vision" in the left front area of the vehicle. Therefore, the light irradiated by the headlight can be moved leftward in the horizontal direction, and the lateral movement at this time refers to moving leftward in the horizontal direction. When the vehicle is turning right, for the driver, there will be a "blind spot of vision" in the right front area of the vehicle. Therefore, the light irradiated by the headlight can be moved rightward in the horizontal direction, and the lateral movement at this time refers to moving rightward in the horizontal direction.

[0063] It should also be understood that the "offset distance" in the above step 202 can be understood as: the distance for correcting the light toward the target direction to eliminate the "blind spot of vision", and the target direction corresponds to the rotation direction of the steering wheel. Specifically, when the rotation direction of the steering wheel is the clockwise direction, the target direction is the right direction; when the rotation direction of the steering wheel is the counterclockwise direction, the target direction is the left direction.

[0064] In a possible implementation, step 202 includes: the vehicle controller determines the offset distance based on the first correspondence relationship between the turning radius, the sample turning radius, and the sample offset distance when the light moves; or, the vehicle controller determines the product of the turning radius and a preset coefficient as the offset distance.

[0065] It should be understood that the "first correspondence relationship" in the above solution can be obtained through simulation and verified through the real vehicle scenario of the simulation. Specifically, in the real vehicle scenario, when the first vehicle turns left in its own lane with the first sample turning radius, the light irradiated by the headlight of the first vehicle is moved leftward by the first sample offset distance corresponding to the first sample turning radius; it is determined whether there is a blind spot of vision in the adjacent lane (inner lane) on the left side of the own lane when the first vehicle turns left; in the case that there is no blind spot of vision in the adjacent lane, it is determined that the correspondence relationship between the first sample turning radius and the first sample offset distance passes the verification.

[0066] It should also be understood that the larger the turning radius, the larger the offset distance; the smaller the turning radius, the smaller the offset distance.

[0067] It should also be understood that the "preset coefficient" in the above solution can be obtained by the average value of multiple ratios between multiple turning radii and corresponding offset distances obtained from multiple actual vehicle tests.

[0068] In the above technical solution, the offset distance when the light irradiated by the headlight is horizontally moved is determined in two ways, which can enrich the ways to obtain the offset distance. Among them, the first corresponding relationship can be obtained through simulation, and the first corresponding relationship can be verified by the actual vehicle scenario of the simulation. Therefore, an accurate offset distance can be obtained through the solution of this application.

[0069] Step 203, the vehicle controller controls the light to move the offset distance in the target direction, and the target direction corresponds to the rotation direction of the steering wheel.

[0070] It should be understood that the "target direction corresponds to the rotation direction of the steering wheel" in the above step 203 means that the target direction can be determined by the rotation direction of the steering wheel. The rotation direction of the steering wheel is the clockwise direction or the counterclockwise direction. When the rotation direction of the steering wheel is the clockwise direction, the target direction is the right direction; when the rotation direction of the steering wheel is the counterclockwise direction, the target direction is the left direction.

[0071] In some embodiments, the headlight is the left headlight and the right headlight of the vehicle, and step 203 includes: the vehicle controller controls the light irradiated by the left headlight and the light irradiated by the right headlight to move the offset distance in the target direction.

[0072] In some other embodiments, the rotation direction of the steering wheel is the clockwise direction, and step 203 includes: the vehicle controller controls the light irradiated by the right headlight to move to the right by the offset distance.

[0073] It should be understood that the above solution describes: when the headlights of the vehicle (the left headlight and the right headlight of the vehicle) are turned on, the vehicle controller responds to the clockwise steering operation of the steering wheel of the vehicle to determine the turning radius of the vehicle; the vehicle controller determines the offset distance when the light irradiated by the right headlight is horizontally moved based on the turning radius; the vehicle controller controls the light irradiated by the right headlight to move to the right by the offset distance, and the light irradiated by the left headlight does not move horizontally.

[0074] In some other embodiments, the rotation direction of the steering wheel is the counterclockwise direction, and step 203 includes: the vehicle controller controls the light irradiated by the left headlight to move to the left by the offset distance.

[0075] It should be understood that the above solution describes that when the vehicle's headlights (the left and right headlights of the vehicle) are turned on, the vehicle controller determines the turning radius of the vehicle in response to a counterclockwise steering operation of the vehicle's steering wheel; based on the turning radius, the vehicle controller determines the offset distance when laterally moving the light beam irradiated by the left headlight; the vehicle controller controls the light beam irradiated by the left headlight to move leftward by the offset distance, while the light beam irradiated by the right headlight does not move laterally.

[0076] In a possible implementation, the headlight is composed of multiple lamp beads, and some of the multiple lamp beads are lit before the light beam moves laterally. Step 203 includes: the vehicle controller determines the adjustment distance of the lit part of the lamp beads based on the irradiation distance of the headlight, the offset distance, and the focal length of the headlight; the vehicle controller determines the target lamp beads from the multiple lamp beads based on the part of the lamp beads, the target direction, and the adjustment distance; the vehicle controller controls the part of the lamp beads to go out and controls the target lamp beads to be lit, so that the light beam irradiated by the headlight moves in the target direction by the offset distance.

[0077] It should be understood that the headlight in the above solution is composed of multiple lamp beads arranged in a target array. In some embodiments, the target array is a trapezoidal array.

[0078] It should also be understood that the headlight includes a high beam and a low beam, and the irradiation distances of the high beam and the low beam are different. The irradiation distance of the high beam is greater than that of the low beam.

[0079] In some embodiments, the irradiation distance of the high beam in the vehicle is 100 meters, and the irradiation distance of the low beam in the vehicle is 20 meters.

[0080] It should be understood that when the vehicle controller determines the target lamp beads from the multiple lamp beads based on the part of the lamp beads, the target direction, and the adjustment distance, in fact, the vehicle controller determines the target lamp beads from the multiple lamp beads based on the position of the part of the lamp beads among the multiple lamp beads, the target direction, and the adjustment distance. Once the part of the lamp beads is determined, the position of the part of the lamp beads among the multiple lamp beads can be determined.

[0081] In some embodiments, the sizes of all the lamp beads among the multiple lamp beads are the same, and the unit of the adjustment distance is the number of lamp beads.

[0082] In the above technical solution, the headlamp is composed of multiple lamp beads, and the light emitted by the headlamp is realized by lighting at least one of the multiple lamp beads. Before the light moves horizontally, some of the multiple lamp beads are lit. In this regard, in order to achieve the effect of moving the light by the offset distance in the target direction, in this solution, it is necessary to determine the adjustment distance for the offset of the lit part of the lamp beads; and then, based on this part of the lamp beads, the target direction, and the adjustment distance, determine the target lamp beads from the multiple lamp beads; finally, control some of the lamp beads to go out and the target lamp beads to be lit to achieve the offset of the light emitted by the headlamp. That is to say, some of the lamp beads are lit when not turning, and some of the lamp beads go out while the target lamp beads are lit when turning, so as to realize the horizontal movement of the light emitted by the headlamp. In addition, since there is a corresponding proportional relationship among the irradiation distance of the headlamp, the offset distance, the focal length of the headlamp, and the adjustment distance of the lit part of the lamp beads, therefore, the adjustment distance of the lit part of the lamp beads can be determined based on the irradiation distance of the headlamp, the offset distance, and the focal length of the headlamp.

[0083] Figure 4 It is a schematic structural diagram of a headlamp provided by an embodiment of the present application.

[0084] Exemplarily, taking the target array as a trapezoidal array and the number of lamp beads as 39, the structure of the headlamp is described. As Figure 4 shown, it can be seen that the headlamp is composed of 39 lamp beads arranged in a trapezoidal array. Lighting lamp beads at different positions can emit lights of different shapes.

[0085] In some possible implementation manners, the vehicle controller determines the adjustment distance of the lit part of the lamp beads based on the irradiation distance of the headlamp, the offset distance, and the focal length of the headlamp, including: the vehicle controller determines the first ratio between the focal length and the irradiation distance; the vehicle controller determines the product of the first ratio and the offset distance as the adjustment distance.

[0086] In the above technical solution, there is an equal proportional relationship among the focal length of the headlamp, the adjustment distance, the irradiation distance of the headlamp, and the offset distance. Therefore, the first ratio between the focal length and the irradiation distance can be determined; the product of the first ratio and the offset distance is determined as the adjustment distance.

[0087] Figure 5 It is a schematic diagram for determining target lamp beads provided by an embodiment of the present application.

[0088] Exemplarily, taking Figure 5 the shown part of the lamp beads as lamp beads 18 to lamp beads 23 and lamp beads 32 to lamp beads 39, the target direction as the left direction, and the adjustment distance as 5 lamp beads as an example, the process of determining the target lamp beads is described.

[0089] Specifically, based on each of the lamp beads from lamp bead 18 to lamp bead 23 and from lamp bead 32 to lamp bead 39, the vehicle controller moves 5 lamp beads to the left in the horizontal direction to determine lamp beads 13 to lamp bead 18 and lamp beads 27 to lamp bead 34; the vehicle controller determines lamp beads 13 to lamp bead 18 and lamp beads 27 to lamp bead 34 as the target lamp beads. As Figure 5 shown, some of the lamp beads are the lamp beads indicated by the black solid frame, the target lamp beads are the lamp beads indicated by the gray dashed frame, and the black solid line with an arrow is used to indicate the adjustment distance.

[0090] Figure 6 FIG. is a schematic diagram of laterally moving the light provided by an embodiment of the present application.

[0091] Exemplarily, as Figure 6 shown, the illumination area of the light irradiated by the headlamp before movement is the Figure 1 light gray area in, and the illumination area of the light irradiated by the headlamp after movement is the Figure 6 dark gray area in. It should be understood that the light in the light gray area is generated by the irradiation of some lamp beads, and the light in the dark gray area is generated by the irradiation of the target lamp beads. When driving at night, the driver can clearly observe the road surface condition ahead under the light in the light gray area and reasonably control the vehicle, thereby ensuring the safe driving of the vehicle.

[0092] The following describes in detail the process of "controlling each of the target lamp beads to light up with different brightnesses".

[0093] In some possible implementation manners, the vehicle controller controls the target lamp beads to light up, including: the vehicle controller determines a first part of lamp beads for irradiating the first lane from the target lamp beads and a second part of lamp beads for irradiating the second lane on which the vehicle travels, and the first lane is located inside the second lane; the vehicle controller controls the first part of lamp beads to light up with a first brightness and controls the second part of lamp beads to light up with a second brightness, and the first brightness is greater than the second brightness.

[0094] It should be understood that "the first lane is located inside the second lane" in the above solution specifically refers to the inside of the curve on which the vehicle travels when turning.

[0095] In the above technical solution, the first part of lamp beads in the target lamp beads irradiates the inner lane (the first lane) of the vehicle, and the second part of lamp beads in the target lamp beads irradiates the second lane on which the vehicle travels. Generally, when the vehicle turns, the driver pays more attention to the driving dynamics of the inner lane of the vehicle. Therefore, for the inner lane, the driver needs a clearer field of vision. Therefore, the first part of lamp beads can irradiate the first lane with a higher brightness. In this way, the probability of the vehicle colliding with obstacles on the inner lane can be reduced when the vehicle turns.

[0096] In some possible implementations, the vehicle controller determines a first portion of the target light beads for illuminating a first lane and a second portion of the target light beads for illuminating a second lane on which the vehicle travels, including: the vehicle controller determines a second ratio between the number of light beads for illuminating the first lane and the number of light beads for illuminating the second lane based on the turning radius; the vehicle controller determines the first portion of the light beads and the second portion of the light beads from the target light beads based on the second ratio, the number of the target light beads, and the position of the first lane relative to the second lane.

[0097] It should be understood that the number of the target light beads is the same as the number of the partial light beads. It should also be understood that the position of the first lane relative to the second lane in the above solution includes that the first lane is on the left side of the second lane and the first lane is on the right side of the second lane.

[0098] In the above technical solution, when the vehicle turns, the degree to which the vehicle head deviates from different lanes is different when the turning amplitude is different. If the vehicle head deviates more from the second lane, the visual blind area of the inner lane (the first lane) is relatively larger. Therefore, more light beads are needed to illuminate the inner lane. Therefore, the second ratio between the number of light beads for illuminating the first lane and the number of light beads for illuminating the second lane can be determined based on the turning radius. Furthermore, the first portion of the light beads and the second portion of the light beads are determined from the target light beads based on the second ratio, the number of the target light beads, and the position of the first lane relative to the second lane. This solution can accurately determine the first portion of the light beads for illuminating the first lane and the second portion of the light beads for illuminating the second lane.

[0099] In some embodiments, the vehicle controller determines the second ratio between the number of light beads for illuminating the first lane and the number of light beads for illuminating the second lane based on the turning radius, including: the vehicle controller determines the second ratio between the number of light beads for illuminating the first lane and the number of light beads for illuminating the second lane based on the turning radius and a third corresponding relationship between the sample turning radius and the sample ratio, where the sample ratio is the ratio between the number of sample light beads for illuminating the first lane and the number of sample light beads for illuminating the second lane.

[0100] It should be understood that the third correspondence relationship in the above solution can be obtained through simulation and verified through the real vehicle scenarios of the simulation. Specifically, in the real vehicle scenario, when controlling the first vehicle to turn left at the first sample turning radius in its own lane (the second lane in the foregoing), control the first sample part of the light beads in the target light beads to irradiate the first lane, and control the second sample part of the light beads in the target light beads to irradiate the own lane. Among them, the first sample part of the light beads is obtained by multiplying the number of the target light beads by the first sample ratio. The first sample turning radius corresponds to the first sample ratio, and the sum of the number of the second sample part of the light beads and the number of the first sample part of the light beads is the number of the target light beads; determine whether the light irradiated by the first sample part of the light beads completely covers the first lane, that is, whether there is a visual blind area in the adjacent lane on the left side of the own lane; in the case that there is no visual blind area in the adjacent lane, determine that the correspondence relationship between the first sample turning radius and the first sample ratio is verified.

[0101] In some possible implementation manners, the vehicle controller determines the first part of the light beads and the second part of the light beads from the target light beads based on the second ratio, the number of the target light beads, and the position of the first lane relative to the second lane, including: the vehicle controller determines the first number of the first part of the light beads and the second number of the second part of the light beads based on the second ratio and the number of the target light beads; when the first lane is on the left side of the second lane, the vehicle controller determines the light beads on the left side and with the number of the first number in the target light beads as the first part of the light beads, and determines the remaining light beads as the second part of the light beads; when the first lane is on the right side of the second lane, the vehicle controller determines the light beads on the left side and with the number of the second number in the target light beads as the second part of the light beads, and determines the remaining light beads as the first part of the light beads.

[0102] The following describes in detail the process of "controlling the lateral movement of the light with different completion durations".

[0103] The first type: controlling the lateral movement of the light based on the driving speed of the vehicle

[0104] In some possible implementation manners, step 203 includes: the vehicle controller determines the target duration when the light irradiated by the headlight is laterally moved based on the driving speed of the vehicle, the second correspondence relationship between the sample speed and the sample duration during the light movement; the vehicle controller controls the light to move the offset distance in the target direction within the target duration.

[0105] It should be understood that the second corresponding relationship in the above solution can be obtained through simulation and verified through the actual vehicle scenarios of the simulation. Specifically, in the actual vehicle scenario, when the first vehicle makes a left turn in its own lane (the second lane in the foregoing) at the first sample turning radius and the first sample driving speed, the light beads are controlled to horizontally move the offset distance within the first sample time period; it is determined whether the vehicle has passed through the curved road section and whether the driver feels dizzy; in the case that the vehicle has not passed through the curved road section and the driver does not feel dizzy, it is determined that the correspondence verification between the first sample driving speed and the first sample time period is passed.

[0106] In the above technical solution, the completion time (target time period) of the light offset is controlled by the vehicle speed during the vehicle turn. In this way, it can be achieved that when the vehicle makes a left turn at a relatively fast speed, the light is controlled to complete the left offset within a shorter time period; when the vehicle makes a left turn at a relatively slow speed, the light is controlled to complete the left offset within a longer time period. That is to say, the time period for the light to complete the offset adapts to the vehicle speed. This solution can avoid the driver feeling dizzy due to slow offset when the vehicle speed is very fast, and can also avoid potential hidden dangers to driving safety due to fast offset when the vehicle speed is very slow.

[0107] The second type: based on the turning time period, control the light to move horizontally

[0108] In some possible implementation manners, step 203 includes: the vehicle controller determines the driving state of the vehicle based on the vision sensor on the vehicle; in the case that the driving state indicates that the turning behavior of the vehicle is caused by the turning road section where the vehicle is traveling, the vehicle controller determines the shortest time period for passing through the turning road section; the vehicle controller determines the product of the shortest time period and a preset factor as the target time period, and the preset factor is positively correlated with the road curvature of the turning road section; the vehicle controller controls the light to move the offset distance in the target direction within the target time period.

[0109] It should be understood that the driving state indicating that the turning behavior of the vehicle is caused by the turning road section where the vehicle is traveling can be understood as: the vehicle must turn when traveling on the turning road section, otherwise it cannot pass through the turning road section.

[0110] In the above technical solution, the shortest time duration for the vehicle to pass through a turning section and a preset factor are used to control the completion time (target time duration) when the light is offset. In this way, it can be achieved that when the vehicle turns left in a turning section with a large road curvature, the light is controlled to complete the leftward offset within a relatively long time duration; when the vehicle turns left in a turning section with a small road curvature, the light is controlled to complete the leftward offset within a relatively short time duration. That is to say, the time duration for the light to complete the offset adapts to the road curvature of the turning section and the reference time duration (the shortest time duration for the vehicle to pass through the turning section). This solution can avoid the situation where the light has not completed the offset when passing through the turning section in a very short time duration, and can also avoid the situation where the light is completed in a very short time duration when passing through the turning section in a very long time duration, resulting in the driver getting dizzy.

[0111] In some embodiments, the vision sensor is various types of cameras on the vehicle.

[0112] In some embodiments, the vehicle controller determines the shortest time duration for passing through the turning section, including: the vehicle controller determines the ratio between the length of the turning section and the maximum allowable vehicle speed on the turning section as the shortest time duration.

[0113] Figure 7 It is a schematic structural diagram of a device for controlling a light provided by an embodiment of the present application.

[0114] Exemplarily, as Figure 7 shown, the device 700 includes:

[0115] A determination module 701: for:

[0116] When the vehicle's headlight is turned on, in response to the steering operation of the vehicle's steering wheel, determine the turning radius of the vehicle; based on the turning radius, determine the offset distance when the light irradiated by the headlight is laterally moved;

[0117] A control module 702: for controlling the light to move the offset distance in the target direction, and the target direction corresponds to the rotation direction of the steering wheel.

[0118] Optionally, the determination module 701 is specifically configured to: in response to the steering operation of the steering wheel, based on the rotation angle of the steering wheel and the transmission ratio between the steering wheel and the wheels, determine the rotation angle of the wheels; based on the wheelbase of the vehicle and the rotation angle of the wheels, determine the turning radius.

[0119] Optionally, the determination module 702 is specifically further configured to: based on the first correspondence between the turning radius, the sample turning radius, and the sample offset distance when the light moves, determine the offset distance; or, determine the product of the turning radius and a preset coefficient as the offset distance.

[0120] Optionally, the headlight is composed of multiple lamp beads. Before the light moves horizontally, some of the multiple lamp beads are lit. The control module 702 is specifically configured to: determine the adjustment distance of the lit part of the lamp beads based on the illumination distance of the headlight, the offset distance, and the focal length of the headlight; determine the target lamp beads from the multiple lamp beads based on the part of the lamp beads, the target direction, and the adjustment distance; control the extinguishing of the part of the lamp beads and control the lighting of the target lamp beads, so that the light irradiated by the headlight moves the offset distance in the target direction.

[0121] Optionally, the determination module 701 is specifically further configured to: determine a first ratio between the focal length and the illumination distance; determine the product of the first ratio and the offset distance as the adjustment distance.

[0122] Optionally, the control module 702 is specifically further configured to: determine a first part of the lamp beads for irradiating the first lane and a second part of the lamp beads for irradiating the second lane on which the vehicle travels from the target lamp beads, where the first lane is located inside the second lane; control the first part of the lamp beads to be lit with a first brightness and control the second part of the lamp beads to be lit with a second brightness, where the first brightness is greater than the second brightness.

[0123] Optionally, the determination module 701 is specifically further configured to: determine a second ratio between the number of lamp beads for irradiating the first lane and the number of lamp beads for irradiating the second lane based on the turning radius; determine the first part of the lamp beads and the second part of the lamp beads from the target lamp beads based on the second ratio, the number of the target lamp beads, and the position of the first lane relative to the second lane.

[0124] Optionally, the determination module 701 is specifically further configured to: determine a first number of the first part of the lamp beads and a second number of the second part of the lamp beads based on the second ratio and the number of the target lamp beads; in the case where the first lane is located on the left side of the second lane, determine the lamp beads on the left side and with the number of the first number among the target lamp beads as the first part of the lamp beads, and determine the remaining lamp beads as the second part of the lamp beads; in the case where the first lane is located on the right side of the second lane, determine the lamp beads on the left side and with the number of the second number among the target lamp beads as the second part of the lamp beads, and determine the remaining lamp beads as the first part of the lamp beads.

[0125] Optionally, the control module 702 is specifically further configured to: determine a target duration when the light irradiated by the headlight is horizontally moved based on the driving speed of the vehicle, a second correspondence relationship between the sample speed and the sample duration when the light moves; control the light to move the offset distance in the target direction within the target duration.

[0126] Figure 8It is a schematic structural diagram of a vehicle provided by an embodiment of the present application.

[0127] Exemplarily, as Figure 8 shown, the vehicle 800 includes: a memory 801 and a processor 802. Among them, a computer program 803 is stored in the memory 801, and the processor 802 is used to call and execute the computer program 803 to execute a method for controlling lights.

[0128] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor. Among them, executable program code is stored in the memory, and the processor is used to call and execute the executable program code to execute a method for controlling lights provided by an embodiment of the present application.

[0129] This embodiment can divide the functions of the device according to the above method examples. For example, it can correspond to each functional module, or integrate two or more functions into one processing module. The above integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, only a logical function division, and there may be other division methods in actual implementation.

[0130] In the case of dividing each functional module corresponding to each function, the device may further include a determination module, a control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be cited in the function description of the corresponding functional module, which will not be elaborated here.

[0131] It should be understood that the device provided by this embodiment is used to execute the above method for controlling lights, so it can achieve the same effect as the above implementation method.

[0132] In the case of adopting an integrated unit, the device may include a processing module and a storage module. Among them, when the device is applied to a vehicle, the processing module can be used to control and manage the actions of the vehicle. The storage module can be used to support the vehicle to execute mutual program codes, etc.

[0133] Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logical blocks, modules and circuits described in combination with the disclosure of the present application. The processor can also be a combination for implementing computing functions, such as including a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory.

[0134] In addition, the device provided by the embodiments of the present application may specifically be a chip, a component or a module. The chip may include a connected processor and a memory. The memory is used to store instructions. When the processor calls and executes the instructions, the chip may execute the method for controlling lights provided by the above embodiments.

[0135] This embodiment also provides a computer-readable storage medium. Computer program code is stored in the computer-readable storage medium. When the computer program code runs on a computer, the computer is caused to execute the above relevant method steps to implement the method for controlling lights provided by the above embodiments.

[0136] This embodiment also provides a computer program product. When the computer program product runs on a computer, the computer is caused to execute the above relevant steps to implement the method for controlling lights provided by the above embodiments.

[0137] Among them, the device, computer-readable storage medium, computer program product or chip provided by this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be elaborated here.

[0138] Through the description of the above embodiments, those skilled in the art can understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0139] In the embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0140] The above content is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present application, and all should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method for controlling a light, characterized in that, The method includes: When the vehicle's headlight is turned on, in response to a steering operation of the vehicle's steering wheel, determining the turning radius of the vehicle; Based on the turning radius, determining an offset distance when laterally moving the light beam irradiated by the headlight; Controlling the light beam to move the offset distance in a target direction, where the target direction corresponds to the rotation direction of the steering wheel.

2. The method according to claim 1, wherein The determining the turning radius of the vehicle in response to a steering operation of the vehicle's steering wheel includes: In response to the steering operation of the steering wheel, based on the rotation angle of the steering wheel and the transmission ratio between the steering wheel and the wheels, determining the rotation angle of the wheels; Based on the wheelbase of the vehicle and the rotation angle of the wheels, determining the turning radius.

3. The method according to claim 1, characterized in that, The determining the offset distance when laterally moving the light beam irradiated by the headlight based on the turning radius includes: Based on a first correspondence relationship between the turning radius, a sample turning radius, and a sample offset distance when the light moves, determining the offset distance; or, Determining the product of the turning radius and a preset coefficient as the offset distance.

4. The method according to claim 1, characterized in that The headlight is composed of multiple lamp beads, and some of the multiple lamp beads are lit before the light beam is laterally moved. Controlling the light beam to move the offset distance in the target direction includes: Based on the irradiation distance of the headlight, the offset distance, and the focal length of the headlight, determining an adjustment distance for the lit part of the lamp beads; Based on the part of the lamp beads, the target direction, and the adjustment distance, determining target lamp beads from the multiple lamp beads; Controlling the part of the lamp beads to go out and controlling the target lamp beads to be lit, so that the light beam irradiated by the headlight moves the offset distance in the target direction.

5. The method according to claim 4, wherein The determining the adjustment distance for the lit part of the lamp beads based on the irradiation distance of the headlight, the offset distance, and the focal length of the headlight includes: Determining a first ratio between the focal length and the irradiation distance; Determining the product of the first ratio and the offset distance as the adjustment distance.

6. The method according to claim 4, characterized in that, The controlling the target lamp beads to be lit includes: Determining a first part of the lamp beads for irradiating a first lane and a second part of the lamp beads for irradiating a second lane on which the vehicle is traveling from the target lamp beads, where the first lane is located inside the second lane; Controlling the first part of the lamp beads to be lit with a first brightness and controlling the second part of the lamp beads to be lit with a second brightness, where the first brightness is greater than the second brightness.

7. The method according to claim 6, characterized in that, The determining the first part of the lamp beads for irradiating a first lane and the second part of the lamp beads for irradiating a second lane on which the vehicle is traveling from the target lamp beads includes: Based on the turning radius, determining a second ratio between the number of lamp beads for irradiating the first lane and the number of lamp beads for irradiating the second lane; Based on the second ratio, the number of the target lamp beads, and the position of the first lane relative to the second lane, determining the first part of the lamp beads and the second part of the lamp beads from the target lamp beads.

8. The method according to claim 7, wherein Determining the first part of the target lamp beads and the second part of the target lamp beads from the target lamp beads based on the second ratio, the number of the target lamp beads, and the position of the first lane relative to the second lane includes: Determining a first quantity of the first part of the target lamp beads and a second quantity of the second part of the target lamp beads based on the second ratio and the number of the target lamp beads; When the first lane is on the left side of the second lane, determining the lamp beads on the left side and having the first quantity among the target lamp beads as the first part of the target lamp beads, and determining the remaining lamp beads as the second part of the target lamp beads; When the first lane is on the right side of the second lane, determining the lamp beads on the left side and having the second quantity among the target lamp beads as the second part of the target lamp beads, and determining the remaining lamp beads as the first part of the target lamp beads.

9. The method according to any one of claims 1-8, characterized in that, Controlling the light to move the offset distance in the target direction includes: Determining a target duration for laterally moving the light irradiated by the headlamp based on a second correspondence relationship between the driving speed of the vehicle, a sample speed, and a sample duration when the light moves; Controlling the light to move the offset distance in the target direction within the target duration.

10. A device for controlling a light, characterized in that, The device includes: A determining module configured to: When the headlamp of the vehicle is turned on, determining a turning radius of the vehicle in response to a steering operation of the steering wheel of the vehicle; Determining an offset distance for laterally moving the light irradiated by the headlamp based on the turning radius; A control module configured to control the light to move the offset distance in a target direction, where the target direction corresponds to a rotation direction of the steering wheel.

11. A vehicle, characterized in that, The vehicle includes: A memory configured to store executable program code; A processor configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 9 is implemented.

Citation Information

Cited By

  • Lamplight control method and apparatus, and vehicle and storage medium

    WO2025139566A1