Method and device for controlling vehicle lamp and vehicle
By installing two sets of high-definition modules in each of the left and right headlights of the vehicle, and controlling their activation and operating parameters using environmental and operational parameters, the problem of reasonable control of multiple sets of high-definition modules in the vehicle is solved, thereby improving driving safety and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2026-03-10
AI Technical Summary
How to reasonably control the activation and operating parameters of multiple high-definition modules in a vehicle to improve driving safety and user experience.
Two high-definition modules are installed in each of the vehicle's left and right headlights. The activation and operating parameters of the four high-definition modules are controlled by environmental and operational parameters, including the dynamic adjustment of the lighting angle and projected pattern, to adapt to different driving environments and conditions.
It improves vehicle safety and user experience during driving, provides personalized lighting effects, reduces glare interference, and enhances driver safety and driving experience.
Smart Images

Figure CN121625939A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle lighting control, and more specifically, to a method, apparatus, and vehicle for controlling vehicle lighting. Background Technology
[0002] In the automotive industry, with the continuous development and improvement of vehicle manufacturing technology, vehicles are equipped with various types of lights with different functions, such as high beams, warning lights, and ambient lights. The operation of each type of light is affected by the vehicle's condition and the surrounding environment.
[0003] To improve and enhance vehicle lighting capabilities and provide users with a better lighting environment and advanced lighting technology, pixel-level headlights, such as Micro Light Emitting Diode (Micro LED) headlights, can now be installed in vehicles. These are typically used to create high-resolution (HD) modules in vehicles.
[0004] The functions implemented by HD modules typically include interactive projection to the front of the vehicle, Adaptive Driving Beam (ADB), Dynamic Bending Light (DBL), and dynamically adjusted low beam cutoff. In different driving scenarios, these functions of the HD module can be combined with other lights in the vehicle to achieve better lighting effects.
[0005] Given the diverse functions that HD modules can achieve, how to control HD modules has become an urgent problem to be solved. Summary of the Invention
[0006] This application provides a method, device, and vehicle for controlling vehicle lights. The method can reasonably control the activation of four HD modules on both sides of the vehicle according to the actual driving conditions, when two HD modules are installed on each side of the vehicle lights, thereby providing the driver with a comfortable and convenient driving experience.
[0007] Firstly, a method for controlling vehicle lights is provided. The vehicle lights include four high-definition modules, wherein the left headlight is equipped with a first high-definition module and a second high-definition module, and the right headlight is equipped with a third high-definition module and a fourth high-definition module. The first and third high-definition modules are symmetrically installed, and the second and fourth high-definition modules are symmetrically installed. The method includes: determining whether the four high-definition modules need to be turned on based on environmental parameters or the vehicle's operating parameters, wherein the operating parameters represent the vehicle's operating state, and the environmental parameters represent the environmental state in which the vehicle is located; if it is determined that the four high-definition modules need to be turned on, determining the operating parameters of the four high-definition modules based on the environmental parameters and / or the operating parameters, wherein the operating parameters represent the operating state of the high-definition modules after they are turned on; and controlling the operation of the four high-definition modules based on the operating parameters.
[0008] In the aforementioned technical solution, where two HD modules are installed on each side of the vehicle's left and right headlights, this application proposes a method for controlling the headlights, enabling on-demand control of all four HD modules. Specifically, the left headlight houses a first and second HD module, while the right headlight houses a third and a fourth HD module. The first and third HD modules are symmetrically installed, as are the second and fourth HD modules. By analyzing environmental and operational parameters during vehicle operation, the vehicle can individually control the operating status of the four HD modules, improving vehicle safety and providing a personalized user experience, thus achieving accurate control of the HD modules. Furthermore, by controlling the HD module operation based on environmental and operational parameters, the vehicle can improve headlight responsiveness, allowing the HD modules to adapt to different driving environments and conditions.
[0009] In conjunction with the first aspect, in some possible implementations, the environmental parameters include external light intensity and an image of the vehicle's external environment, and the operating parameters include gear position, signal strength between the vehicle and the target key, and steering wheel angle. Determining whether to activate the four high-definition modules based on the environmental parameters or the vehicle's operating parameters includes: activating the four high-definition modules when the external light intensity is less than a preset light intensity; activating the four high-definition modules when the external environment image indicates an obstacle in front of the vehicle or when the steering wheel angle is greater than or equal to a preset angle; and activating the four high-definition modules when the gear position is a preset gear and the signal strength between the vehicle and the target key is greater than or equal to a preset signal strength.
[0010] The above technical solution provides several application scenarios for the HD module. In the first scenario, when the vehicle's external light intensity is lower than a preset light intensity, activating the HD module can improve road visibility during driving, especially at night or in low-light conditions, thus enhancing driving safety. In the second scenario, when the vehicle detects an obstacle ahead or the steering wheel angle is greater than or equal to a preset angle, activating the HD module can alert the driver to potential hazards ahead, improving driving safety. In the third scenario, if the vehicle detects a user activating the HD module nearby while parked, it can project a welcome message, enhancing the user's driving experience.
[0011] In combination with the first aspect and the above implementation methods, in some possible implementation methods, determining the operating parameters of the four high-definition modules based on the environmental parameters and / or the operating parameters includes: determining the road type where the vehicle is located based on the external environment image when the external light intensity is less than the preset light intensity; and determining the operating parameters of the four high-definition modules based on the road type, the environmental parameters and / or the operating parameters.
[0012] In conjunction with the first aspect and the above implementation methods, in some possible implementation methods, the environmental parameters also include the distance between the vehicle and the obstacle, the angle of the obstacle relative to the road, and the relative position of the obstacle and the vehicle. The operating parameters of the four high-definition modules include the first illumination angle of the first high-definition module, the second illumination angle of the second high-definition module, the third illumination angle of the third high-definition module, and the fourth illumination angle of the fourth high-definition module. Determining the operating parameters of the four high-definition modules based on the road type, the environmental parameters, and / or the operating parameters includes: when the road type is an urban road, if the steering wheel angle is greater than or equal to a preset angle, determining the vehicle's rotation direction based on the steering wheel angle; and determining the vehicle's rotation direction based on the rotation direction and the steering wheel angle. For cornering, determine the first lighting angle and the second lighting angle, or the third lighting angle and the fourth lighting angle; and / or, if the external environment image indicates that there is an obstacle in front of the vehicle, determine the first lighting angle and the second lighting angle, and / or the third lighting angle and the fourth lighting angle based on the relative position and the distance between the vehicle and the obstacle; if the road type is a highway or rural road, if the external environment image indicates that there is an obstacle in front of the vehicle, determine the size of the obstacle based on the distance between the obstacle and the vehicle; determine the first lighting angle and the second lighting angle, and / or the third lighting angle and the fourth lighting angle based on the size of the obstacle, the relative position, and the angle of the obstacle relative to the road.
[0013] The aforementioned technical solution specifically provides steps for determining the operating parameters of the four HD modules when they are used as low beam headlights or ADB lights in a vehicle. When driving on urban roads, where traffic is generally heavy, the vehicle can control all four HD modules to function as low beam headlights. When turning on urban roads, the vehicle can dynamically adjust the illumination angle of the HD modules based on the steering wheel angle, allowing the HD modules to better illuminate the road ahead of the curve and reduce blind spots. Furthermore, if there is an obstacle in front of the vehicle on urban roads, the vehicle can also dynamically adjust the illumination angle of the HD modules based on the distance between the vehicle and the obstacle, preventing glare interference to road users ahead and ensuring vehicle safety.
[0014] When vehicles are traveling on highways, where speeds are generally high, long-range lighting is required; similarly, when driving on rural roads where the environment is dark, long-range lighting is also necessary. Therefore, in both of these situations, the four HD modules can be used as ADB (Adaptive Damping) lights. When the four HD modules are used as ADB lights, based on the adaptive adjustment of the ADB light's shading area, when there is an obstacle in front of the vehicle, the vehicle can dynamically adjust the illumination angle of the four HD modules as ADB lights according to the distance between the obstacle and the vehicle, the relative position of the obstacle and the vehicle, and the angle between the obstacle and the road, thus avoiding glare to oncoming obstacles.
[0015] In conjunction with the first aspect and the above-described implementations, in some possible implementations, determining the first lighting angle and the second lighting angle, and / or the third lighting angle and the fourth lighting angle based on the rotation direction and the steering wheel angle, includes any one of the following: when the rotation direction is left-hand, determining the first lighting angle and the second lighting angle based on the steering wheel angle; when the rotation direction is right-hand, determining the third lighting angle and the fourth lighting angle based on the steering wheel angle; and, the relative position includes relative direction and relative angle, and the determination of the first lighting angle and the second lighting angle based on the relative position and the distance between the vehicle and the obstacle, and / or... The third and fourth lighting angles include at least one of the following: when the relative direction is left, determining a first horizontal distance between the vehicle and the left obstacle based on a first distance between the vehicle and the left obstacle and a first relative angle between the left obstacle and the vehicle; determining the first lighting angle and the second lighting angle based on the first horizontal distance; when the relative direction is right, determining a second horizontal distance between the vehicle and the right obstacle based on a second distance between the vehicle and the right obstacle and a second relative angle between the right obstacle and the vehicle; determining the third and fourth lighting angles based on the second horizontal distance.
[0016] In the above technical solution, when the vehicle is driving on urban roads and is turning, the vehicle can select which two HD modules on which side need to be adjusted according to its own turning direction. This allows all four HD modules to be used as low beam headlights, enabling more accurate local DBL (Digital Beam Lighting) functionality and preventing misguidance of the driver. It also avoids unnecessary adjustments to all four HD modules. If there is an obstacle in front of the vehicle, the vehicle can also select which two HD modules on which side need to be adjusted according to the relative position of the obstacle and the vehicle, determine the appropriate lighting angle, and change the illumination area of the corresponding HD module. This prevents the HD modules from interfering with oncoming vehicles when illuminating, allowing the driver to see the obstacle more clearly and avoiding the risk of a collision.
[0017] In conjunction with the first aspect and the above implementations, in some possible implementations, the relative position includes a relative direction. Determining the first lighting angle and the second lighting angle, and / or the third lighting angle and the fourth lighting angle based on the size of the obstacle, the relative position, and the angle of the obstacle relative to the road, includes at least one of the following: when the relative direction is left, determining a first shading area based on the size of the left-side obstacle and the angle of the left-side obstacle relative to the road; determining the first lighting angle and the second lighting angle based on the first shading area; when the relative direction is right, determining a second shading area based on the size of the right-side obstacle and the angle of the right-side obstacle relative to the road; and determining the third lighting angle and the fourth lighting angle based on the second shading area.
[0018] In the above technical solution, when the vehicle is driving on a highway or rural road, if there is an obstacle in front of the vehicle, the vehicle can adjust part or all of the shielding area of the four HD modules according to the relative position between the vehicle and the obstacle, the distance between the obstacle and the vehicle, and the angle of the obstacle relative to the road, so as to prevent glare to the obstacle in front when the four HD modules are turned on as high beams.
[0019] In conjunction with the first aspect and the above-described implementation, in some possible implementations, the operating parameters of the four high-definition modules include the first projection angle and first projection pattern of the first high-definition module, the second projection angle and second projection pattern of the second high-definition module, the third projection angle and third projection pattern of the third high-definition module, and the fourth projection angle and fourth projection pattern of the fourth high-definition module. Determining the operating parameters of the four high-definition modules based on the environmental parameters and / or the operating parameters includes: when the external environment image indicates the presence of an obstacle in front of the vehicle, determining the type of obstacle based on the external environment image; and determining the first projection pattern based on the type of obstacle. The system comprises: the second projection pattern, the third projection pattern, and the fourth projection pattern; determining that the first projection angle and the third projection angle are both first preset projection angles, and determining that the second projection angle and the fourth projection angle are both second preset projection angles; when the steering wheel angle is greater than or equal to a preset angle, determining the vehicle's rotation direction based on the steering wheel angle; determining the first projection pattern, the second projection pattern, the third projection pattern, and the fourth projection pattern based on the rotation direction; determining that the first projection angle and the third projection angle are both first preset projection angles, and determining that the second projection angle and the fourth projection angle are both second preset projection angles.
[0020] The aforementioned technical solution specifically provides the steps for the four HD modules to perform the front-projection function. When the vehicle detects an obstacle ahead, it can simultaneously control the four HD modules to display corresponding projected patterns based on the type of obstacle. The simultaneous projection of the same pattern by the four HD modules makes the projection effect more prominent, helping the driver better identify obstacles ahead. Furthermore, dynamically adjusting the projected pattern according to the obstacle type provides the driver with personalized and targeted obstacle cues.
[0021] In conjunction with the first aspect and the above-described implementation, in some possible implementations, the environmental parameter further includes the distance between the driver / passenger and the vehicle. The operating parameters of the four high-definition modules include the first projection angle and first projection pattern of the first high-definition module, the second projection angle and second projection pattern of the second high-definition module, the third projection angle and third projection pattern of the third high-definition module, and the fourth projection angle and fourth projection pattern of the fourth high-definition module. Determining the operating parameters of the four high-definition modules based on the environmental parameter and / or the operating parameter includes: performing image recognition on the external environment image of the vehicle when the gear is a preset gear and the signal strength between the vehicle and the target key is greater than or equal to the preset signal strength to determine the appearance parameters of the driver / passenger, which are used to represent the external characteristics of the driver / passenger; determining the first projection pattern, the second projection pattern, the third projection pattern, and the fourth projection pattern based on the appearance parameters; and determining the first projection angle, the third projection angle, the second projection angle, and the fourth projection angle based on the distance between the driver / passenger and the vehicle.
[0022] The aforementioned technical solution specifically provides the steps for the four HD modules to implement the welcome projection function. The vehicle customizes the projected pattern by recognizing the facial parameters of the driver and passengers, providing a more personalized welcome experience and enhancing the sense of belonging for the drivers and passengers. Furthermore, the first and third HD modules are installed symmetrically, as are the second and fourth HD modules. By adjusting the first and third projection angles, as well as the second and fourth projection angles, based on the distance between the driver and passengers and the vehicle, the projected pattern remains clearly visible even as the user's position changes. This ensures that the projected pattern is clearly visible during the driver's or passengers' movement, improving the user experience.
[0023] Secondly, a device for controlling vehicle lights is provided. The vehicle lights include four high-definition modules, wherein the left headlight is equipped with a first high-definition module and a second high-definition module, and the right headlight is equipped with a third high-definition module and a fourth high-definition module. The first high-definition module and the third high-definition module are symmetrically installed, and the second high-definition module and the fourth high-definition module are symmetrically installed. The device includes: a condition judgment module, used to determine whether the four high-definition modules need to be turned on based on environmental parameters or the vehicle's operating parameters, wherein the operating parameters represent the vehicle's operating state, and the environmental parameters represent the environmental state in which the vehicle is located; a parameter determination module, used to determine the operating parameters of the four high-definition modules based on the environmental parameters and / or the operating parameters when it is determined that the four high-definition modules need to be turned on, wherein the operating parameters represent the operating state of the high-definition modules after they are turned on; and an operation control module, used to control the operation of the four high-definition modules based on the operating parameters.
[0024] In conjunction with the second aspect, in some possible implementations, the environmental parameters include external light intensity and an image of the vehicle's external environment, and the operating parameters include gear position, signal strength between the vehicle and the target key, and steering wheel angle. The condition judgment module is specifically used to: determine that the four high-definition modules need to be activated when the external light intensity is less than a preset light intensity; determine that the four high-definition modules need to be activated when the image of the vehicle's external environment indicates that there is an obstacle in front of the vehicle or when the steering wheel angle is greater than or equal to a preset angle; and determine that the four high-definition modules need to be activated when the gear position is a preset gear and the signal strength between the vehicle and the target key is greater than or equal to a preset signal strength.
[0025] In combination with the second aspect and the above implementation methods, in some possible implementation methods, the parameter determination module is specifically used to: determine the road type where the vehicle is located based on the external environment image when the external light intensity is less than the preset light intensity; and determine the operating parameters of the four high-definition modules based on the road type, the environmental parameters and / or the operating parameters.
[0026] In conjunction with the second aspect and the above implementation methods, in some possible implementations, the environmental parameters also include the distance between the vehicle and the obstacle, the angle of the obstacle relative to the road, and the relative position of the obstacle to the vehicle. The operating parameters of the four high-definition modules include the first illumination angle of the first high-definition module, the second illumination angle of the second high-definition module, the third illumination angle of the third high-definition module, and the fourth illumination angle of the fourth high-definition module. The parameter determination module is further configured to: when the road type is an urban road, if the steering wheel angle is greater than or equal to a preset angle, determine the vehicle's rotation direction based on the steering wheel angle; and determine the first illumination angle and the second illumination angle based on the rotation direction and the steering wheel angle. The lighting angle, or the third lighting angle and the fourth lighting angle; and / or, if the external environment image indicates that there is an obstacle in front of the vehicle, the first lighting angle and the second lighting angle, and / or the third lighting angle and the fourth lighting angle, are determined based on the relative position and the distance between the vehicle and the obstacle; if the road type is a highway or a rural road, if the external environment image indicates that there is an obstacle in front of the vehicle, the size of the obstacle is determined based on the distance between the obstacle and the vehicle; the first lighting angle and the second lighting angle, and / or the third lighting angle and the fourth lighting angle, are determined based on the size of the obstacle, the relative position and the angle of the obstacle relative to the road.
[0027] In conjunction with the second aspect and the above implementation, in some possible implementations, the parameter determining module is further configured to perform any of the following: when the turning direction is left, determining the first lighting angle and the second lighting angle based on the steering wheel angle; when the turning direction is right, determining the third lighting angle and the fourth lighting angle based on the steering wheel angle; and, since the relative position includes relative direction and relative angle, the parameter determining module is further configured to perform at least one of the following: when the relative direction is left, determining the first horizontal distance between the vehicle and the left obstacle based on the first distance between the vehicle and the left obstacle and the first relative angle between the left obstacle and the vehicle; determining the first lighting angle and the second lighting angle based on the first horizontal distance; when the relative direction is right, determining the second horizontal distance between the vehicle and the right obstacle based on the second distance between the vehicle and the right obstacle and the second relative angle between the right obstacle and the vehicle; determining the third lighting angle and the fourth lighting angle based on the second horizontal distance.
[0028] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, the relative position includes the relative direction, and the parameter determining module is further configured to: when the relative direction is to the left, determine a first occlusion area based on the size of the left obstacle and the angle of the left obstacle relative to the road; determine a first lighting angle and a second lighting angle based on the first occlusion area; when the relative direction is to the right, determine a second occlusion area based on the size of the right obstacle and the angle of the right obstacle relative to the road; and determine a third lighting angle and a fourth lighting angle based on the second occlusion area.
[0029] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, the operating parameters of the four high-definition modules include the first projection angle and first projection pattern of the first high-definition module, the second projection angle and second projection pattern of the second high-definition module, the third projection angle and third projection pattern of the third high-definition module, and the fourth projection angle and fourth projection pattern of the fourth high-definition module. The parameter determination module is further configured to: determine the type of obstacle based on the external environment image when the external environment image indicates the presence of an obstacle in front of the vehicle; and determine the first projection pattern, the second projection pattern, and the third projection pattern based on the type of obstacle. Two projection patterns, the third projection pattern, and the fourth projection pattern; determining that the first projection angle and the third projection angle are both first preset projection angles, and determining that the second projection angle and the fourth projection angle are both second preset projection angles; or, determining the vehicle's rotation direction based on the steering wheel angle; determining the first projection pattern, the second projection pattern, the third projection pattern, and the fourth projection pattern based on the rotation direction; determining that the first projection angle and the third projection angle are both first preset projection angles, and determining that the second projection angle and the fourth projection angle are both second preset projection angles.
[0030] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, the environmental parameters also include the distance between the driver / passenger and the vehicle. The operating parameters of the four high-definition modules include the first projection angle and first projection pattern of the first high-definition module, the second projection angle and second projection pattern of the second high-definition module, the third projection angle and third projection pattern of the third high-definition module, and the fourth projection angle and fourth projection pattern of the fourth high-definition module. The parameter determination module is further configured to: perform image recognition on the external environment image of the vehicle when the gear is a preset gear and the signal strength between the vehicle and the target key is greater than or equal to the preset signal strength, and determine the appearance parameters of the driver / passenger, which are used to represent the external characteristics of the driver / passenger; determine the first projection pattern, the second projection pattern, the third projection pattern, and the fourth projection pattern based on the appearance parameters; and determine the first projection angle, the third projection angle, and the second projection angle and the fourth projection angle based on the distance between the driver / passenger and the vehicle.
[0031] Thirdly, 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, causing the vehicle to perform the methods described in the first aspect or any possible implementation thereof.
[0032] Fourthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof.
[0033] Fifthly, a computer-readable storage medium is provided that stores computer program code, which, when executed on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof. Attached Figure Description
[0034] Figure 1 This is a schematic diagram of a vehicle headlight operating scenario provided in an embodiment of this application.
[0035] Figure 2 This is a schematic diagram of the structure of a vehicle lighting system provided in an embodiment of this application;
[0036] Figure 3 This is a schematic flowchart of a method for controlling vehicle lights provided in an embodiment of this application;
[0037] Figure 4 This is a schematic diagram of a device for controlling vehicle lights provided in an embodiment of this application;
[0038] Figure 5 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. Detailed Implementation
[0039] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0040] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
[0041] Before introducing the contents of the embodiments of this application, the technical terms that may be involved in the embodiments of this application will be explained first.
[0042] ADB (Adaptive Driving Beam) Function: An advanced vehicle lighting technology that intelligently controls the illumination range of high beams, improving nighttime driving safety and reducing the impact on other road users. ADB uses cameras to monitor the road ahead, identifying the position of oncoming or preceding vehicles and automatically adjusting the high beam's illumination range accordingly.
[0043] Low beam cutoff line: refers to the relatively obvious boundary line when low beam headlights are illuminating the area.
[0044] Low beam cutoff adjustment function: This refers to the ability of the low beam headlights in the vehicle's headlights to automatically or manually adjust the illumination range of the low beam headlights according to different driving conditions and environments, so as to ensure that they do not cause glare interference to the drivers of oncoming vehicles or vehicles in front.
[0045] DBL function: Similar to ADB function, it is also an advanced vehicle lighting technology. This function dynamically adjusts the direction of the headlights according to the steering wheel angle to illuminate the direction of travel.
[0046] HD Module (also known as "High Definition Module"): A high-definition modulation unit in a vehicle, typically integrated with the vehicle's headlight system, providing more refined and intelligent lighting effects. HD modules are primarily used to improve driving safety at night or in low-visibility conditions. Key features of HD modules include high-definition lighting, intelligent adjustment, adaptive lighting, glare reduction, front projection warnings, and collaboration with the ADB module.
[0047] Figure 1 This is a schematic diagram of a vehicle headlight operating scenario provided in an embodiment of this application.
[0048] For example, such as Figure 1 As shown, when vehicle 101 is driving on the road, if it is nighttime, vehicle 101 can turn on the headlights installed in front of vehicle 101 when the light sensor detects that the ambient light is weak, so as to achieve a better lighting effect.
[0049] In one possible implementation, the headlights for illumination at the front of vehicle 101 include high beams and low beams. The headlights selected for activation vary depending on the driving status of vehicle 101.
[0050] For example, when vehicle 101 is driving on urban roads, since there is usually a lot of traffic on urban roads, vehicle 101 can turn on the low beam headlights to avoid glare to other vehicles.
[0051] Another example is when vehicle 101 is traveling on a highway. Since the speed of vehicles on highways is generally high, vehicle 101 can turn on its high beams to enable the driver to see the road ahead of vehicle 101 in time.
[0052] With the development of vehicle manufacturing technology, HD modules are now installed in vehicles to provide users with a better lighting experience. Compared to common headlights, HD modules feature high resolution and multiple functions, including DBL (Digital Lighting Booth), ADB (Adaptive Driving Beam) functionality, and front-view interactive projection. The specific functions implemented by HD modules vary depending on the vehicle's usage scenario.
[0053] In order to achieve reasonable control of HD modules, this application proposes a method for controlling vehicle lights. This method can reasonably control the activation of four HD modules on both sides according to the actual driving conditions of the vehicle when two HD modules are installed on each side of the vehicle lights, so as to provide the driver with a comfortable and convenient driving experience.
[0054] Before introducing the method of the embodiments of this application, the structure and working principle of the vehicle lamp containing the HD module provided in the embodiments of this application will be introduced first.
[0055] Figure 2 This is a schematic diagram of the structure of a vehicle lighting system provided in an embodiment of this application.
[0056] For example, such as Figure 2 As shown in (a) of this application, the vehicle lighting system 200 provided in this embodiment includes a left-side vehicle light and a right-side vehicle light. The left-side vehicle light includes a set of high / low beam modules, a first HD module, and a third HD module, while the right-side vehicle light includes a set of high / low beam modules, a second HD module, and a fourth HD module. The first and second HD modules are mounted on the left-side vehicle light; the third and fourth HD modules are mounted on the right-side vehicle light. The first and third HD modules are symmetrically mounted; the second and fourth HD modules are also symmetrically mounted.
[0057] In one possible implementation, each high / low beam module includes an auxiliary low beam and an ADB (Adaptive Down Beam) lamp. The auxiliary low beam is used to enhance the illumination effect of the main low beam, providing additional lighting.
[0058] Optionally, in this embodiment, the auxiliary low beam headlight can be either a static auxiliary low beam headlight or a dynamic auxiliary low beam headlight. A static auxiliary low beam headlight refers to a low beam headlight that only serves an illumination function and does not have an automatic beam angle adjustment function; a dynamic auxiliary low beam headlight refers to a low beam headlight that can automatically adjust its beam angle according to the vehicle's steering wheel angle and speed.
[0059] Specifically, the ADB lights in the high and low beam modules can be 16-zone matrix ADB modules or 32-zone matrix ADB modules, etc. Matrix ADB modules combine matrix LED lights and ADB functionality, intelligently turning off or dimming LEDs in specific areas to reduce glare interference to other drivers or pedestrians.
[0060] The four HD modules included in the left and right headlights enable functions such as interactive projection (or front projection), welcome projection, dynamic adjustment of the low beam cutoff line, DBL function, and ADB function.
[0061] Based on the functions of each of the vehicle lights mentioned above, during the operation of the vehicle lighting system 200, the working areas of each vehicle light are as follows: Figure 2 (b) or Figure 2 As shown in (c) in the figure.
[0062] Figure 2 (b) shows the working area of each lamp in the vehicle lighting system 200 when the configuration of the first HD module of the left lamp and the third HD module of the right lamp are the same, and the configuration parameters of the second HD module of the left lamp and the fourth HD module of the right lamp are exactly the same.
[0063] In this diagram, Region 1 corresponds to the working area of the ADB lamp in the left headlight's high / low beam module, and Region 2 corresponds to the working area of the ADB lamp in the right headlight's high / low beam module. The rectangular area formed by Regions 1 and 2 is actually the effect of the two ADB lamp working areas being superimposed (the overlapping part is not shown in the diagram).
[0064] Region 3 corresponds to the working area of the low beam in the left headlight's high / low beam module, and Region 4 corresponds to the working area of the low beam in the right headlight's high / low beam module. Similarly, the rectangular area formed by Regions 3 and 4 is actually the effect of the two low beam working areas being superimposed.
[0065] Area 5 corresponds to the working area of the first and second HD modules in the left lamp when used as ADB lamps, and Area 6 corresponds to the working area of the third and fourth HD modules in the right lamp when used as ADB lamps.
[0066] Since area 5 corresponds to the working area when the two HD modules are used as ADB lights, that is to say, the working areas of the first and second HD modules in the left light completely overlap when they are used as ADB lights.
[0067] Similarly, since area 6 corresponds to the working area of the two HD modules when they are used as ADB lights, the working areas of the third and fourth HD modules in the right light completely overlap when they are used as ADB lights.
[0068] The rectangular area formed by regions 5 and 6 is actually the superimposed working areas of the two HD modules of the left headlight and the two HD modules of the right headlight. Regions 5 and 6 are symmetrically distributed with the vehicle's vertical axis as the dividing line, meaning that the projection angles of the first and third HD modules are also symmetrical—that is, the projection angles are the same in magnitude but opposite in direction. Similarly, the projection angles of the second and fourth HD modules are also symmetrical.
[0069] Area 7 corresponds to the working area of the first and second HD modules in the left headlight when used as low beam headlights, and Area 8 corresponds to the working area of the third and fourth HD modules in the right headlight when used as low beam headlights.
[0070] Similarly, since area 7 corresponds to the working area of the two HD modules when they are used as low beam headlights, that is to say, the working areas of the first and second HD modules in the left headlight completely overlap when they are used as low beam headlights.
[0071] Since area 8 corresponds to the working area of the two HD modules when they are used as low beam headlights, this means that the working areas of the third and fourth HD modules in the right headlight completely overlap when they are used as low beam headlights.
[0072] The rectangular area formed by regions 7 and 8 is actually the superimposed effect of the working areas of the two HD modules of the left headlight and the two HD modules of the right headlight. Among them, regions 7 and 8 are symmetrically distributed with the vertical axis of the vehicle as the dividing line, which means that the projection angles of the first and third HD modules are also symmetrical, as are the projection angles of the second and fourth HD modules.
[0073] It should be understood that when the first HD module, the second HD module, the third HD module, and the fourth HD module are used as low beam headlights, they mainly function as main low beam headlights, while also having the functions of dynamically adjusting the low beam cutoff line and DBL (Digital Low Beam) function.
[0074] Region 9 corresponds to the working area of the four HD modules when implementing the front-of-vehicle interactive projection function. As can be seen from the figure, the working areas of the four HD modules are the same when implementing the front-of-vehicle interactive projection function, that is, the working areas overlap.
[0075] Area 10 corresponds to the working area of the four HD modules when implementing the front welcome projection function. Similar to Area 9, the working areas of the four HD modules are the same when implementing the front welcome projection function.
[0076] Under the two projection functions mentioned above, the working areas of the four HD modules overlap, which is a special scenario of symmetrical working areas. This indicates that the projection angles of the first HD module and the third HD module are also symmetrical, as are the projection angles of the second HD module and the fourth HD module.
[0077] It should be understood that the above-mentioned area can be understood as the maximum working area of each headlight when it is working. In actual driving, the vehicle can dynamically adjust the size of the working area according to the driving conditions.
[0078] As high-resolution lighting modules, the resolution of HD modules directly affects the quality of lighting or projection. The lower the resolution value, the clearer and more detailed the image produced by the HD module. Its resolution can be dynamically adjusted according to actual needs.
[0079] In practical applications, technicians can set different configuration parameters for the four HD modules according to different lighting requirements. In this case, the working areas of the HD modules in the left and right headlights will no longer be exactly the same.
[0080] Figure 2 (c) shows the working area of each light in the vehicle lighting system 200 when the configuration parameters of the two HD modules of the left and right lights are different.
[0081] For example, such as Figure 2 As shown in (c) in the figure, with Figure 2 Compared to (b) in the previous example, the area (or size) of region 6 has changed, indicating that the two HD modules of the right lamp and the two HD modules of the left lamp have different illumination areas when used as ADB lamps. The illumination area of the two HD modules of the right lamp is larger than that of the two HD modules of the left lamp, that is, the field of view of the two HD modules of the right lamp is larger than that of the two HD modules of the left lamp, and the two HD modules of the right lamp can achieve a wider lighting effect.
[0082] The configuration methods of the four HD modules provided above are merely two examples listed in the embodiments of this application. Depending on actual needs, the four HD modules can be configured in other ways. For example, technicians can set different working areas for the first HD module as an ADB lamp compared to the second HD module, and different working areas for the third HD module and the fourth HD module as ADB lamps.
[0083] The following is based on Figure 2 Taking the working area of each vehicle light in (b) as an example, the application scenarios of each vehicle light in the vehicle light system 200 in this application embodiment are introduced.
[0084] In one application scenario, if the vehicle needs to turn on the low beam headlights while driving, the auxiliary low beam headlights in both high and low beam modules can be turned on, as well as the first HD module, the second HD module, the third HD module, and the fourth HD module can all be turned on.
[0085] Based on the functions of the first, second, third, and fourth HD modules when used as low beam headlights, when the low beam headlights are on, if there is an obstacle in front of the vehicle, the vehicle can dynamically adjust the low beam cutoff lines of the two left-hand and two right-hand HD modules according to the distance between the vehicle and the obstacle. If the vehicle needs to turn, it can also adjust the illumination area of the two left-hand or two right-hand HD modules according to the steering wheel angle, so that all four HD modules can achieve the DBL (Distance Beam) function.
[0086] In another application scenario, if the vehicle needs to turn on the high beams while driving, the vehicle can control the ADB lights in both high and low beam modules to turn on, as well as all four HD modules: the first HD module, the second HD module, the third HD module, and the fourth HD module.
[0087] Based on the functions of the first, second, third, and fourth HD modules when used as high beams, if there is an obstacle in front of the vehicle when the high beams are turned on, the vehicle can automatically adjust the illumination areas of the first and third HD modules, as well as the illumination areas of the second and fourth HD modules, according to the relative position and distance between the vehicle and the obstacle, so that the four HD modules can achieve automatic masking function.
[0088] In another application scenario, if a vehicle needs to project images in front of it while it is in motion, the vehicle can control the first, second, third, and fourth HD modules to be activated simultaneously. The vehicle can determine the pattern and projection angle to be projected by the four HD modules based on the scene requiring projection.
[0089] In another application scenario, if a vehicle needs to project a welcome message while in motion, the vehicle can control the first, second, third, and fourth HD modules to be activated simultaneously. The vehicle can then control all four HD modules to project a welcome message to the user or a farewell message to the user at the front of the vehicle.
[0090] After introducing the structure and working principle of the vehicle lighting system, the following describes a method for controlling vehicle lights provided by an embodiment of this application.
[0091] Figure 3 This is a schematic flowchart illustrating a method for controlling vehicle lights provided in an embodiment of this application. It should be understood that this method can be applied to... Figure 1The method described in this application can be applied to any Electronic Control Unit (ECU) within the vehicle 101. This application does not limit the subject executing the method. Specifically, when controlling the vehicle lights, the vehicle lights include two side lights (i.e., the left and right side lights). The vehicle lights include four high-definition modules: a first high-definition module, a second high-definition module, a third high-definition module, and a fourth high-definition module. The first and second high-definition modules are installed in the left side light, and the third and fourth high-definition modules are installed in the right side light. Furthermore, the first and third high-definition modules are symmetrically installed, as are the second and fourth high-definition modules. Here, symmetry refers to the symmetry of the installation positions, not whether the configuration parameters are the same.
[0092] For example, such as Figure 3 As shown, the method 300 includes:
[0093] 301. Based on environmental parameters or vehicle operating parameters, determine whether it is necessary to activate the four high-definition modules. Operating parameters are used to indicate the vehicle's operating status, and environmental parameters are used to indicate the environmental status in which the vehicle is located.
[0094] It should be understood that the core of this application's embodiments lies in how to reasonably control the HD modules to achieve corresponding functions when two HD modules are installed on each side of the vehicle's headlights, so as to improve the user's driving experience.
[0095] It should also be understood that the HD modules can implement various vehicle lighting functions, each corresponding to different driving scenarios. During vehicle operation, the vehicle's operating status and external environment may change at any time, and different operating statuses and external environments may affect the operating status of the vehicle lights. Therefore, during vehicle operation, the controller can obtain the vehicle's current operating status or external environment through various data acquisition devices installed in the vehicle (such as various sensors) to determine whether the vehicle currently meets the activation conditions of the four HD modules.
[0096] The vehicle's operating status can be represented by operating parameters, such as vehicle speed, steering wheel angle, acceleration, engine speed, and other parameters related to the operation of vehicle components.
[0097] The external environment can be represented by environmental parameters, such as outside temperature, weather type, road type, and other parameters related to the environment in which the vehicle is located.
[0098] Depending on the environmental or operational parameters, the following scenarios may be considered when determining whether to enable the four HD modules.
[0099] In one possible implementation, environmental parameters include external light intensity and an image of the vehicle's external environment, while operational parameters include gear position, signal strength between the vehicle and the target key, and steering wheel angle. Based on the environmental parameters or the vehicle's operational parameters, it is determined whether four high-definition modules need to be activated, including:
[0100] If the external light intensity is less than the preset light intensity, it is determined that four high-definition modules need to be turned on;
[0101] If the external environment image indicates that there is an obstacle in front of the vehicle or the steering wheel angle is greater than or equal to the preset angle, it is determined that four high-definition modules need to be activated.
[0102] If the gear is in the preset gear and the signal strength between the vehicle and the target key is greater than or equal to the preset signal strength, it is determined that four high-definition modules need to be activated.
[0103] For example, the controller can obtain the external light intensity through a light sensor in the vehicle; and the controller can obtain the external environment image through a camera outside the vehicle.
[0104] The controller can obtain the gear position from the gear position controller in the vehicle; the controller can obtain the steering wheel angle from the angle sensor installed on the steering wheel.
[0105] The target key refers to the key used to unlock and lock the vehicle.
[0106] Optionally, the target key can be categorized by form into digital keys and remote control keys. Digital keys can be further categorized by type into Near Field Communication (NFC) keys, Ultra Wideband (UWB) keys, and Bluetooth Low Energy (BLE) keys. Correspondingly, depending on the type of digital key, the communication methods between the digital key and the vehicle include NFC communication, UWB communication, and Bluetooth communication. This application does not limit the type of digital key. Optionally, the smart device used to integrate the digital key can be a smartphone, smartwatch, etc.
[0107] For example, taking the target key as a Bluetooth key, when obtaining the signal strength between the vehicle and the target key, if the vehicle and the Bluetooth key are able to communicate, the controller can obtain the signal strength during the communication process through the Received Signal Strength Indication (RSSI, also known as "signal strength").
[0108] In one scenario, when the external light intensity detected by the controller is less than a preset light intensity, it indicates that the vehicle's driving environment is relatively dark. This could be due to driving at night or in a tunnel. To ensure safety, the vehicle needs to be illuminated by either low beam or high beam headlights. Since the HD modules can be used as low beam or ADB lights, the controller can determine that in this situation, all four HD modules need to be activated. The above scenario corresponds to the application scenario where four HD modules are used as low beam or ADB lights.
[0109] In another scenario, when the steering wheel angle is greater than or equal to a preset angle, or when the external environment image indicates an obstacle in front of the vehicle, the controller can determine that four HD modules need to be activated to attract the driver's attention. The above scenario corresponds to the application scenario where four HD modules are used to implement interactive projection in front of the vehicle.
[0110] It should be understood that when the four HD modules are used for front projection, they can be used both during the day and in low-light conditions. In other words, the front projection function of the HD modules, along with the low beam or high beam function, can be used simultaneously or independently. When used simultaneously, the controller activates the corresponding LEDs for these two functions on the HD modules, causing the HD modules to project onto the areas corresponding to those functions.
[0111] In another scenario, the preset gear is Parking (P), the vehicle gear is in the preset gear, and the signal strength between the vehicle and the target key is greater than or equal to the preset strength. This indicates that the driver is near the vehicle, possibly about to get in or just getting out. The controller can control the four HD modules to project a welcome or farewell message. Therefore, the controller determines that the vehicle needs to activate the four HD modules. The above scenario corresponds to the application scenario where the four HD modules implement the welcome projection function.
[0112] The above technical solution provides several application scenarios for the HD module. In the first scenario, when the vehicle's external light intensity is lower than a preset light intensity, activating the HD module can improve road visibility during driving, especially at night or in low-light conditions, thus enhancing driving safety. In the second scenario, when the vehicle detects an obstacle ahead or the steering wheel angle is greater than or equal to a preset angle, activating the HD module can alert the driver to potential hazards ahead, improving driving safety. In the third scenario, if the vehicle detects a user activating the HD module nearby while parked, it can project a welcome message, enhancing the user's driving experience.
[0113] 302. If it is determined that four high-definition modules need to be turned on, the working parameters of the four high-definition modules shall be determined according to the environmental parameters and / or operating parameters. The working parameters are used to indicate the working status of the high-definition modules after they are turned on.
[0114] When the controller determines in step 301 that four HD modules need to be activated, the operating parameters of the HD modules will be different according to the different functions they perform.
[0115] The following section describes the process of determining the operating parameters for each of the four HD modules, based on the different functions they perform.
[0116] The first method involves determining the operating parameters when the HD module is used as a low beam or high beam headlight.
[0117] In one possible implementation, the operating parameters of the four high-definition modules are determined based on environmental parameters and / or operating parameters, including:
[0118] When the external light intensity is less than the preset light intensity, the road type where the vehicle is located is determined based on the external environment image;
[0119] The operating parameters of the four high-definition modules are determined based on the road type, as well as environmental and / or operational parameters.
[0120] When the external light intensity is less than the preset light intensity, the vehicle can turn on either the low beam headlights or the high beam headlights. The controller needs to further determine whether to turn on the low beam headlights or the high beam headlights based on other parameters.
[0121] Specifically, during actual vehicle operation, different road types affect the use of vehicle lights. Therefore, the controller can perform image analysis on the external environment to determine the road type where the vehicle is located, and then determine the operating parameters of the four HD modules based on the road type, environmental parameters, and operating parameters.
[0122] In one possible implementation, the environmental parameters also include the distance between the vehicle and the obstacle, the angle of the obstacle relative to the road, and the relative position of the obstacle to the vehicle. The operating parameters of the four high-definition modules include a first illumination angle of the first high-definition module, a second illumination angle of the second high-definition module, a third illumination angle of the third high-definition module, and a fourth illumination angle of the fourth high-definition module. The operating parameters of the four high-definition modules are determined based on the road type, as well as the environmental parameters and / or operating parameters, including:
[0123] When the road type is urban road, if the steering wheel angle is greater than or equal to the preset angle, the vehicle's turning direction is determined based on the steering wheel angle; the first lighting angle and the second lighting angle, or the third lighting angle and the fourth lighting angle, are determined based on the turning direction and the steering wheel angle; and / or, if the external environment image indicates that there is an obstacle in front of the vehicle, the first lighting angle and the second lighting angle, and / or the third lighting angle and the fourth lighting angle, are determined based on the relative position and the distance between the vehicle and the obstacle.
[0124] When the road type is a highway or rural road, if the external environment image indicates that there is an obstacle in front of the vehicle, the size of the obstacle is determined based on the distance between the obstacle and the vehicle; the first lighting angle and the second lighting angle, and / or the third lighting angle and the fourth lighting angle are determined based on the size of the obstacle, its relative position and the angle of the obstacle relative to the road.
[0125] For example, the distance between the vehicle and the obstacle can be measured by the controller using a ranging device (such as LiDAR) in the vehicle. Specifically, the distance between the vehicle and the obstacle refers to the diagonal distance between them.
[0126] Regarding the angle of an obstacle relative to the road, the controller can obtain an image of the obstacle in front of the vehicle through the vehicle's built-in camera and estimate the angle of the obstacle relative to the road through image processing technology; or, when the obstacle in front is a vehicle, the vehicle can also obtain the angle of the obstacle vehicle relative to the road surface from the obstacle vehicle through Vehicle to Everything (V2X) technology.
[0127] Regarding the relative position of the obstacle and the vehicle, the controller can use computer vision technology to analyze the image of the external environment to determine whether the obstacle is on the left or right side of the vehicle; or, the controller can also use the azimuth angle measured by the ranging device to determine whether the obstacle is on the left or right side of the vehicle, and obtain the relative angle between the vehicle and the obstacle.
[0128] When the four HD modules are used as low beam or high beam, their function is illumination rather than projection. Therefore, the specific operating parameters are the first illumination angle, the second illumination angle, the third illumination angle, and the fourth illumination angle corresponding to the four HD modules, respectively.
[0129] It should be understood that the illumination angle in this embodiment includes both the vertical illumination angle and the horizontal illumination angle of the HD module. These two illumination angles collectively affect the illumination area of the HD module. The vertical illumination angle is the angle between the light from the HD module and a plane perpendicular to the ground. A larger vertical illumination angle results in a farther illumination distance; a smaller vertical illumination angle results in a shorter illumination distance. The horizontal illumination angle is the angle between the light from the HD module and the horizontal plane of the vehicle, and this angle determines the horizontal distribution of the light.
[0130] Depending on the type of road, the process of determining the lighting angle can be divided into the following situations.
[0131] (1) The road type is urban road
[0132] When a vehicle is driving on urban roads with heavy traffic, it is not advisable to use long-distance lighting, so it is necessary to turn on the low beam headlights. In this embodiment of the application, turning on the low beam headlights specifically refers to turning on the low beam headlights of the two sets of high and low beam modules, as well as the four sets of HD modules (as main low beam headlights).
[0133] As described above, when the four HD modules are used as the main low beam headlights, they also have the function of dynamically adjusting the low beam cutoff line and DBL.
[0134] For example, when a vehicle is driving on a city road, if the steering wheel angle is greater than or equal to the preset angle, it means that the vehicle is turning. The controller can control four HD modules to achieve the DBL function.
[0135] Specifically, during the DBL (Dual-Low Beam) function implementation of the HD module, the controller first determines the vehicle's turning direction—whether the vehicle is turning left or right—based on the steering wheel angle. Since the left side houses the first and second HD modules, and the right side has the third and fourth HD modules, the controller then determines, based on the turning direction and steering wheel angle, which two HD modules on which side of the four modules need their illumination angle adjusted.
[0136] In one possible implementation, a first lighting angle and a second lighting angle, or a third lighting angle and a fourth lighting angle, are determined based on the direction of rotation and the steering wheel angle, including any one of the following:
[0137] When the steering wheel is turned to the left, the first lighting angle and the second lighting angle are determined based on the steering wheel angle.
[0138] When the steering wheel is turned to the right, the third and fourth lighting angles are determined based on the steering wheel angle.
[0139] For example, generally, when the driver turns the steering wheel to the left, the angle sensor collects a positive rotation angle; when the driver turns the steering wheel to the right, the angle sensor collects a negative rotation angle. Therefore, the controller can distinguish whether the vehicle is turning left or right based on the sign of the steering wheel angle.
[0140] When the vehicle is making a left turn, the controller can adjust the illumination angle of the two HD modules of the left light only, without adjusting the illumination angle of the two HD modules of the right light.
[0141] It should be understood that since both the first and second HD modules are installed in the left-side headlight, their installation positions must be different. Therefore, to ensure that the illumination areas of the first and second HD modules overlap, the illumination angles of the first and second HD modules must be different. Technicians can pre-set multiple sets of correspondences between first illumination angles and steering wheel angles, as well as multiple sets of correspondences between second illumination angles and steering wheel angles, and store these in the controller. When the controller obtains the steering wheel angle, it can look up the corresponding tables to obtain the first illumination angle after the first HD module is activated, and the second illumination angle after the second HD module is activated.
[0142] Similarly, when the vehicle is turning right, the controller can adjust the illumination angles of only the two HD modules of the right headlight, without adjusting the illumination angles of the two HD modules of the left headlight. Since the third and fourth HD modules are both installed on the right headlight, their installation positions must be different. Therefore, to ensure that the illumination areas of the third and fourth HD modules overlap, their illumination angles must be different. Technicians can pre-set multiple sets of correspondences between the third illumination angle and the steering wheel angle, as well as multiple sets of correspondences between the fourth illumination angle and the steering wheel angle, and store these in the controller. Once the controller obtains the steering wheel angle, it can look up the corresponding tables to obtain the third illumination angle after the third HD module is activated, and the fourth illumination angle after the fourth HD module is activated.
[0143] Another example is when a vehicle is driving on a city road. If the controller determines that there is an obstacle in front of the vehicle based on the image of the external environment, the controller can control four HD modules to dynamically adjust the low beam cutoff line.
[0144] Specifically, the controller determines, based on the relative position of the obstacle and the vehicle, as well as the distance between the obstacle and the vehicle, whether the illumination angles of the two HD modules on one side of the two HD modules need to be adjusted, or whether the illumination angles of all four HD modules on both sides need to be adjusted.
[0145] Optionally, relative position includes relative direction and relative angle. Relative direction indicates whether the obstacle is on the left or right side of the vehicle, while relative angle indicates the azimuth angle between the obstacle and the vehicle.
[0146] In one possible implementation, a first lighting angle and a second lighting angle, and / or a third lighting angle and a fourth lighting angle are determined based on the relative position and the distance between the vehicle and the obstacle, including at least one of the following:
[0147] When the relative direction is to the left, a first horizontal distance between the vehicle and the obstacle on the left is determined based on a first distance between the vehicle and the obstacle on the left, and a first relative angle between the obstacle on the left and the vehicle; a first lighting angle and a second lighting angle are determined based on the first horizontal distance.
[0148] When the relative direction is to the right, the second horizontal distance between the vehicle and the obstacle on the right is determined based on the second distance between the vehicle and the obstacle on the right, and the second relative angle between the obstacle on the right and the vehicle; the third lighting angle and the fourth lighting angle are determined based on the second horizontal distance.
[0149] It should be understood that when controlling the HD module to dynamically adjust the low beam cutoff line, the LiDAR typically acquires the diagonal distance between the vehicle and the obstacle. However, in actual driving, taking the obstacle as an example, even if the diagonal distance between the vehicle in front and the vehicle is the same, the position of the vehicle in front will be different. Therefore, dynamically adjusting the low beam cutoff line based on the diagonal distance may result in errors. Horizontal distance, on the other hand, accurately reflects the relative distance between the vehicle and the obstacle, thus allowing the low beam cutoff line to be adjusted based on the horizontal distance between the vehicle and the obstacle.
[0150] The obstacle is located on the left side of the vehicle. The controller can adjust the illumination angle of the two HD modules of the left light only, without adjusting the illumination angle of the HD module of the right light.
[0151] The controller obtains the first distance between the vehicle and the obstacle on the left using a LiDAR scanner, and based on the LiDAR's azimuth angle, obtains the first relative angle between the obstacle and the vehicle. The controller then calculates the first horizontal distance between the vehicle and the obstacle using trigonometric functions. Based on the above description, when the illumination area is the same, the first illumination angle and the second illumination angle are different. Technicians can pre-set multiple sets of correspondences between horizontal distances and the illumination angles of the first HD module, as well as multiple sets of correspondences between horizontal distances and the illumination angles of the second HD module, and store these in the controller. After obtaining the first horizontal distance, the controller retrieves the first and second illumination angles by looking up tables.
[0152] Similarly, if the obstacle is located on the right side of the vehicle, the controller can adjust the illumination angle of the two HD modules of the right light only, without adjusting the illumination angle of the two HD modules of the left light.
[0153] The controller obtains the second distance between the vehicle and the obstacle on the right using a LiDAR scanner, and based on the LiDAR's azimuth angle, obtains the second relative angle between the obstacle and the vehicle. The controller then calculates the second horizontal distance between the vehicle and the obstacle using trigonometric functions. Technicians can pre-set multiple sets of correspondences between horizontal distances and the illumination angles of the third HD module, as well as multiple sets of correspondences between horizontal distances and the illumination angles of the fourth HD module, and store these in the controller. After obtaining the second horizontal distance, the controller looks up the tables to obtain the third and fourth illumination angles respectively.
[0154] It should be understood that obstacles may exist on both sides of the vehicle while it is in motion. In this case, the controller can adjust the first lighting angle, the second lighting angle, the third lighting angle, and the fourth lighting angle simultaneously.
[0155] For example, such as Figure 2 As shown in (b)-(c), in the above process, by adjusting the first lighting angle and the second lighting angle, and / or the third lighting angle and the fourth lighting angle, it is actually equivalent to changing the area of region 7 and / or the area of region 8.
[0156] In another example, when the vehicle is driving on urban roads, if the vehicle is not turning and there are no obstacles in front of it, the controller does not need to adjust the lighting angles of the two HD modules. It can determine that the first lighting angle is a first preset low beam angle, the second lighting angle is a second preset low beam angle, the third lighting angle is a third preset low beam angle, and the fourth lighting angle is a fourth preset low beam angle. The first preset low beam angle and the third preset low beam angle are symmetrical, as are the second preset low beam angle and the fourth preset low beam angle.
[0157] like Figure 2 As shown in (b), the illumination angle corresponding to region 7 is the first preset low beam angle corresponding to the first HD module and the second preset low beam angle corresponding to the second HD module. The illumination angle corresponding to region 8 is the third preset low beam angle corresponding to the third HD module and the fourth preset low beam angle corresponding to the fourth HD module. The above four preset low beam angles are the illumination angles of each of the four HD modules when they are used as low beam lights to ensure the maximum illumination area.
[0158] The above process describes the specific steps for using the HD module as a low beam headlight.
[0159] In the above technical solution, when the vehicle is driving on urban roads and is turning, the vehicle can select which two HD modules on which side need to be adjusted according to its own turning direction. This allows all four HD modules to be used as low beam headlights, enabling more accurate local DBL (Digital Beam Lighting) functionality and preventing misguidance of the driver. It also avoids unnecessary adjustments to all four HD modules. If there is an obstacle in front of the vehicle, the vehicle can also select which two HD modules on which side need to be adjusted according to the relative position of the obstacle and the vehicle, determine the appropriate lighting angle, and change the illumination area of the corresponding HD module. This prevents the HD modules from interfering with oncoming vehicles when illuminating, allowing the driver to see the obstacle more clearly and avoiding the risk of a collision.
[0160] (2) The road type is a highway or a rural road.
[0161] When a vehicle is traveling on a highway at a high speed, the driver needs to be able to see the road ahead in a timely manner. In this case, the controller can activate the high beams. Alternatively, when the road type is a rural road, there are usually no streetlights. To ensure the driver can see the road ahead in time, the controller also needs to activate the high beams. In this embodiment of the application, activating the high beams specifically refers to activating the ADB lights in the two sets of high and low beam modules, as well as the four HD modules (as ADB lights).
[0162] As described above, when the four HD modules are used as ADB lights, they have the function of adaptively adjusting the shading area.
[0163] For example, when the vehicle is on a highway or rural road, the four HD modules are equivalent to four ADB lights. If the controller determines that there is an obstacle in front of the vehicle based on the image of the external environment, it can estimate the size of the obstacle based on the distance between the obstacle and the vehicle.
[0164] When the controller determines the size of the obstacle based on the distance between the obstacle and the vehicle, it can calculate it using the following formulas (1)-(2).
[0165]
[0166]
[0167] In formulas (1)-(2):
[0168] d: The distance between the vehicle and the obstacle is approximately equal to the distance between the light source or lidar and the obstacle;
[0169] FOV: The field of view of a camera;
[0170] f: The focal length of the camera.
[0171] Through the above process, the controller can estimate the size of the obstacle. Here, the obstacle size refers to the size of the obstacle in a two-dimensional plane, without considering the height of the obstacle.
[0172] After obtaining the obstacle's dimensions, the controller, combined with the relative position of the obstacle and the vehicle, as well as the obstacle's angle relative to the road, determines whether the lighting angles of the two HD modules on one side of the headlights need to be adjusted, or whether the lighting angles of all four HD modules need to be adjusted.
[0173] In one possible implementation, a first lighting angle and a second lighting angle, and / or a third lighting angle and a fourth lighting angle are determined based on the size, relative position, and angle of the obstacle relative to the road, including at least one of the following:
[0174] When the relative direction is to the left, a first shading area is determined based on the size of the obstacle on the left and the angle of the obstacle on the left relative to the road; a first lighting angle and a second lighting angle are determined based on the first shading area.
[0175] When the relative direction is to the right, the second shading area is determined based on the size of the obstacle on the right and the angle of the obstacle on the right relative to the road; the third and fourth lighting angles are determined based on the second shading area.
[0176] It should be understood that when calculating the occlusion area of the HD module, it is only necessary to ensure that the projected area of the obstacle is accurately occluded. Therefore, calculating the occlusion area is equivalent to calculating the projected area of the obstacle.
[0177] Specifically, the projected area of an obstacle on the road can be calculated using the following formula (3).
[0178] A = W × H × cos(α) Formula (3)
[0179] In formula (3):
[0180] A: The projected area of the obstacle vehicle on the road;
[0181] W: The actual width of the obstacle;
[0182] H: The actual height of the obstacle;
[0183] α: The angle of the obstacle relative to the road surface.
[0184] When the obstacle in front is located on the left side of the vehicle, after calculating the size of the obstacle on the left side using formulas (1)-(2), the controller can calculate the area that the left HD module needs to cover, i.e. the first covering area, according to formula (3).
[0185] Since the illumination angle of the ADB light directly affects the size of the illuminated area, as described above, when the first and second HD modules of the left-side headlight are used as ADB lights, the illumination angles of the first and second HD modules must be different to ensure overlapping working areas. Technicians can pre-set multiple correspondences between the illumination angles of the first HD modules and the left-side obscured area, as well as multiple correspondences between the illumination angles of the second HD modules and the left-side obscured area. After obtaining the first obscured area, the controller can obtain the first and second illumination angles by looking up tables.
[0186] Similarly, when the obstacle in front is located on the right side of the vehicle, after calculating the size of the obstacle on the right side using formulas (1)-(2), the controller can calculate the area that the right HD module needs to be shielded, i.e. the second shielding area, according to formula (3).
[0187] Since the illumination angle of the ADB lamp directly affects the size of the illuminated area, similar to the process of determining the first and second illumination angles, technicians can pre-set the correspondence between the illumination angles of multiple sets of third HD modules and the right-side shading area, as well as the correspondence between the illumination angles of multiple sets of fourth HD modules and the right-side shading area. After obtaining the second shading area, the controller can obtain the third and fourth illumination angles respectively by looking up tables.
[0188] For example, such as Figure 2 As shown in (b)-(c), in the above process, by adjusting the first lighting angle and the second lighting angle, and / or the third lighting angle and the fourth lighting angle, it is actually equivalent to changing the area of region 5 and / or the area of region 6.
[0189] In another example, when the vehicle is traveling on a highway or rural road, if there are no obstacles in front of the vehicle, the controller can determine that the first lighting angle is a first preset high beam angle, the second lighting angle is a second preset high beam angle, the third lighting angle is a third preset high beam angle, and the fourth lighting angle is a fourth preset high beam angle. The first preset high beam angle and the third preset high beam angle are symmetrical, as are the second preset high beam angle and the fourth preset high beam angle.
[0190] like Figure 2 As shown in (b), the illumination angle corresponding to region 5 is the first preset high beam angle corresponding to the first HD module and the second preset high beam angle corresponding to the second HD module. The illumination angle corresponding to region 6 is the third preset high beam angle corresponding to the third HD module and the fourth preset high beam angle corresponding to the fourth HD module. The above four preset high beam angles are the illumination angles of each of the four HD modules when they are used as ADB lights to ensure the maximum illumination area.
[0191] The above process describes the specific steps for using the HD module as an ADB lamp.
[0192] In the above technical solution, when the vehicle is driving on a highway or rural road, if there is an obstacle in front of the vehicle, the vehicle can adjust part or all of the shielding area of the four HD modules according to the relative position between the vehicle and the obstacle, the distance between the obstacle and the vehicle, and the angle of the obstacle relative to the road, so as to prevent glare to the obstacle in front when the four HD modules are turned on as high beams.
[0193] After explaining how to determine the operating parameters when using the HD module as a low beam or high beam headlight, the following describes the steps for determining the operating parameters when using the HD module for interactive projection in front of the vehicle.
[0194] The second method involves determining the operating parameters when the HD module performs a front-projection function.
[0195] In one possible implementation, the operating parameters of the four high-definition modules include a first projection angle and a first projection pattern of the first high-definition module, a second projection angle and a second projection pattern of the second high-definition module, a third projection angle and a third projection pattern of the third high-definition module, and a fourth projection angle and a fourth projection pattern of the fourth high-definition module. The operating parameters of the four high-definition modules are determined based on environmental parameters and / or operating parameters, including:
[0196] When the external environment image indicates the presence of an obstacle in front of the vehicle, the type of obstacle is determined based on the external environment image; based on the type of obstacle, a first projection pattern, a second projection pattern, a third projection pattern, and a fourth projection pattern are determined; the first projection angle and the third projection angle are both determined to be a first preset projection angle, and the second projection angle and the fourth projection angle are both determined to be a second preset projection angle; or,
[0197] Based on the steering wheel angle, determine the vehicle's rotation direction; based on the rotation direction, determine the first projection pattern, the second projection pattern, the third projection pattern, and the fourth projection pattern; determine that the first projection angle and the third projection angle are both first preset projection angles, and determine that the second projection angle and the fourth projection angle are both second preset projection angles.
[0198] It should be understood that in the embodiments of this application, the projection areas of the four HD modules completely overlap during the projection process. To ensure the consistency and aesthetics of the projection, it is generally possible to control that the patterns projected by the four HD modules on both sides of the vehicle are the same and the projection angles are the same. This helps to create a unified visual effect and, more importantly, will not mislead the driver.
[0199] Because the two HD modules on the same side are installed in different positions, their projection areas will not completely overlap when the projection angles are the same. Therefore, the aforementioned "same projection angle" refers to the same projection angle for the two HD modules on the left and right sides that are symmetrically positioned. That is, the first HD module and the third HD module have the same projection angle, and the second HD module and the fourth HD module have the same projection angle.
[0200] When the four HD modules implement the vehicle front projection function, the specific operating parameters include the first projection pattern and first projection angle, the second projection pattern and second projection angle, the third projection pattern and third projection angle, and the fourth projection pattern and fourth projection angle corresponding to each of the four HD modules. This application provides two examples of vehicle front projection scenarios.
[0201] The first scenario is obstacle warning. Specifically, when the controller determines that there is an obstacle in front of the vehicle through an image of the external environment, it can further identify the type of obstacle by analyzing the image. For different types of obstacles, the HD modules need to project different patterns to accurately alert the driver. Technicians can pre-store the projection patterns corresponding to different types of obstacles in the controller. After determining the type of the current obstacle, the controller can determine the projection patterns of the HD modules, which will serve as the first, second, third, and fourth projection patterns for the four HD modules.
[0202] Regarding the projection angle, since the HD module is mainly used in some simple warning scenarios when realizing interactive projection in front of the vehicle, the projection area of the HD module can be kept unchanged, that is, the projection angle remains unchanged.
[0203] Regarding the projection angle, technicians can pre-set the projection angles for the front-of-vehicle interactive projection function (i.e., the first preset projection angles corresponding to the first HD module and the third HD module, and the second preset projection angles corresponding to the second HD module and the fourth HD module) and store them in the controller. When it is necessary to activate the HD module for front-of-vehicle interactive projection, the first preset projection angle is used as the first projection angle corresponding to the first HD module and the third projection angle corresponding to the third HD module, and the second preset projection angle is used as the second projection angle corresponding to the second HD module and the fourth projection angle corresponding to the fourth HD module.
[0204] The second scenario is turn warning, also known as turn signal projection. Specifically, when the controller determines the vehicle is turning based on the steering wheel angle or turn signal status, it can further determine whether the vehicle is turning left or right based on the steering wheel angle. Different patterns need to be projected for different turning directions. Technicians can pre-store the corresponding projection patterns for each of the two turning directions in the controller. After determining the current turning direction, the controller can determine the projection pattern of the HD modules in that turning direction, serving as the first, second, third, and fourth projection patterns for the four HD modules, respectively.
[0205] Optionally, regardless of the type of vehicle-front interactive projection scenario, the projected pattern can be either an image or text. This application embodiment does not limit the form of the projected pattern.
[0206] Regarding the projection angle, the controller can use the first preset projection angle as the first projection angle corresponding to the first HD module and the third projection angle corresponding to the third HD module, and use the second preset projection angle as the second projection angle corresponding to the second HD module and the fourth projection angle corresponding to the fourth HD module.
[0207] Therefore, the above process corresponds to the specific steps when the HD module realizes the interactive projection function in front of the vehicle.
[0208] In the above technical solution, when the vehicle detects an obstacle ahead, it can simultaneously control four HD modules to display corresponding projected patterns based on the type of obstacle. The simultaneous projection of the same pattern by all four HD modules makes the projection effect more prominent, helping the driver to better identify obstacles ahead. Furthermore, dynamically adjusting the projected pattern according to the obstacle type provides the driver with personalized and targeted obstacle cues.
[0209] After explaining how to determine the working parameters when implementing the interactive projection function in front of the vehicle using the HD module, the following describes the steps for determining the working parameters when the HD module performs a welcome projection in front of the vehicle.
[0210] The third method involves determining the operating parameters when the HD module implements a welcome projection in front of the vehicle.
[0211] In one possible implementation, the environmental parameters also include the distance between the driver / passenger and the vehicle. The operating parameters of the four high-definition modules include the first projection angle and first projection pattern of the first high-definition module, the second projection angle and second projection pattern of the second high-definition module, the third projection angle and third projection pattern of the third high-definition module, and the fourth projection angle and fourth projection pattern of the fourth high-definition module. The operating parameters of the four high-definition modules are determined based on the environmental parameters and / or operating parameters, including:
[0212] When the gear is in the preset gear and the signal strength between the vehicle and the target key is greater than or equal to the preset signal strength, image recognition is performed on the external environment image to determine the appearance parameters of the driver and passengers. The appearance parameters are used to represent the external characteristics of the driver and passengers. Based on the appearance parameters, a first projection pattern, a second projection pattern, a third projection pattern, and a fourth projection pattern are determined. Based on the distance between the driver and passengers and the vehicle, a first projection angle, a third projection angle, a second projection angle, and a fourth projection angle are determined.
[0213] It should be understood that when the controller implements the vehicle front welcome projection function through the HD module, there are two scenarios: one is to welcome users into the vehicle, and the other is to bid farewell to users as they leave the vehicle.
[0214] Regardless of the projection scenario mentioned above, the HD module can promptly welcome or bid farewell to the user when they are near the vehicle.
[0215] For example, to determine whether a user is near a vehicle, the controller can detect the vehicle's gear position and the signal strength between the vehicle and the target key.
[0216] When the vehicle is in P gear, it indicates that the vehicle is parked. If the signal strength between the vehicle and the target key is greater than the preset signal strength, it means that the user is near the vehicle. When the vehicle meets both of these conditions, it is possible that the user is about to get in the car or has just left the car. The controller can recognize the image of the external environment and determine the user's appearance parameters.
[0217] Optionally, a user's appearance parameters can include age, gender, etc.
[0218] For users of different genders and age groups, technicians can pre-set corresponding projection patterns and store them in the controller. Once the appearance parameters of the driver and passengers are determined, the controller can determine the first, second, third, and fourth projection patterns based on the user's appearance parameters.
[0219] Because the distance between the user and the vehicle changes dynamically as the user gets in and out of the vehicle, and because the two symmetrically installed HD modules have the same projection angle, the controller can determine the projection angles of the two symmetrically installed HD modules—namely, the first and third projection angles, and the second and fourth projection angles—based on the distance between the user and the vehicle, to ensure the user can continuously see the projected image as they approach or move away from the vehicle. Technicians can pre-set the correspondence between different distances and the first (or third) projection angle, as well as the correspondence between different distances and the second (or fourth) projection angle. After obtaining the distance between the user and the vehicle, the controller can retrieve the current first and third projection angles, as well as the second and fourth projection angles, by looking up a table.
[0220] The above process describes the specific steps an HD module takes to implement the welcome projection function.
[0221] In the aforementioned technical solution, the vehicle customizes the projected pattern by recognizing the facial features of the occupants, providing a more personalized welcome experience and enhancing their sense of belonging. Furthermore, the first and third HD modules are symmetrically installed, as are the second and fourth HD modules. By adjusting the first and third projection angles, as well as the second and third projection angles, based on the distance between the occupants and the vehicle, the projected pattern remains clearly visible even as the user's position changes. This ensures that the projected pattern is clearly visible during the occupants' movement, improving the user experience.
[0222] 303 controls the operation of four high-definition modules according to the working parameters.
[0223] Once the controller determines the operating parameters of each of the four HD modules in step 302, it can control the working state of the LEDs in the four HD modules according to their respective operating parameters to turn on the four HD modules and achieve different functions.
[0224] While the four HD modules are in operation, the controller can continue to dynamically adjust the operating parameters of the four HD modules according to the actual driving conditions of the vehicle, so as to realize the dynamic control of the HD modules and make the HD modules suitable for various driving scenarios.
[0225] In summary, with two HD modules installed on each side of the vehicle's left and right headlights, this application proposes a method for controlling the headlights, enabling on-demand control of all four HD modules. Specifically, the left headlight houses a first and second HD module, while the right headlight houses a third and a fourth HD module. The first and third HD modules are symmetrically installed, as are the second and fourth HD modules. By analyzing environmental and operational parameters during vehicle operation, the vehicle can individually control the operating status of the four HD modules, improving vehicle safety and providing a personalized user experience, thus achieving accurate control of the HD modules. Furthermore, by controlling the HD module operation based on environmental and operational parameters, the vehicle can improve headlight responsiveness, allowing the HD modules to adapt to different driving environments and conditions.
[0226] Figure 4 This is a schematic diagram of a device for controlling vehicle lights according to an embodiment of this application. The vehicle lights include four high-definition modules, wherein the left headlight is equipped with a first high-definition module and a second high-definition module, and the right headlight is equipped with a third high-definition module and a fourth high-definition module. The first high-definition module and the third high-definition module are symmetrically installed, and the second high-definition module and the fourth high-definition module are symmetrically installed.
[0227] For example, such as Figure 4 As shown, the device 400 includes:
[0228] The condition judgment module 401 is used to determine whether the four high-definition modules need to be turned on based on environmental parameters or the vehicle's operating parameters. The operating parameters are used to indicate the vehicle's operating status, and the environmental parameters are used to indicate the environmental status of the vehicle.
[0229] The parameter determination module 402 is used to determine the working parameters of the four high-definition modules based on the environmental parameters and / or the operating parameters when it is determined that the four high-definition modules need to be turned on. The working parameters are used to indicate the working status of the high-definition modules after they are turned on.
[0230] The operation control module 403 is used to control the operation of the four high-definition modules according to the operating parameters.
[0231] In one possible implementation, the environmental parameters include external light intensity and an image of the vehicle's external environment, and the operating parameters include gear position, signal strength between the vehicle and the target key, and steering wheel angle. The condition judgment module 401 is specifically used to: determine that the four high-definition modules need to be activated when the external light intensity is less than a preset light intensity; determine that the four high-definition modules need to be activated when the image of the vehicle's external environment indicates that there is an obstacle in front of the vehicle or when the steering wheel angle is greater than or equal to a preset angle; and determine that the four high-definition modules need to be activated when the gear position is a preset gear and the signal strength between the vehicle and the target key is greater than or equal to a preset signal strength.
[0232] In one possible implementation, the parameter determination module 402 is specifically used to: determine the road type where the vehicle is located based on the external environment image when the external light intensity is less than the preset light intensity; and determine the operating parameters of the four high-definition modules based on the road type, the environmental parameters, and / or the operating parameters.
[0233] In one possible implementation, the environmental parameters further include the distance between the vehicle and the obstacle, the angle of the obstacle relative to the road, and the relative position of the obstacle to the vehicle. The operating parameters of the four high-definition modules include the first illumination angle of the first high-definition module, the second illumination angle of the second high-definition module, the third illumination angle of the third high-definition module, and the fourth illumination angle of the fourth high-definition module. The parameter determination module 402 is further configured to: when the road type is an urban road, if the steering wheel angle is greater than or equal to a preset angle, determine the vehicle's rotation direction based on the steering wheel angle; and determine the first illumination angle and the second illumination angle based on the rotation direction and the steering wheel angle. Alternatively, the third and fourth lighting angles; and / or, if the external environment image indicates an obstacle in front of the vehicle, the first and second lighting angles are determined based on the relative position and the distance between the vehicle and the obstacle, and / or, the third and fourth lighting angles; if the road type is a highway or rural road, if the external environment image indicates an obstacle in front of the vehicle, the size of the obstacle is determined based on the distance between the obstacle and the vehicle; the first and second lighting angles are determined based on the size of the obstacle, the relative position, and the angle of the obstacle relative to the road, and / or, the third and fourth lighting angles.
[0234] In one possible implementation, the parameter determination module 402 is further configured to perform any of the following: when the turning direction is left, determine the first lighting angle and the second lighting angle based on the steering wheel angle; when the turning direction is right, determine the third lighting angle and the fourth lighting angle based on the steering wheel angle; and, since the relative position includes relative direction and relative angle, the parameter determination module 402 is further configured to perform at least one of the following: when the relative direction is left, determine the first horizontal distance between the vehicle and the left obstacle based on the first distance between the vehicle and the left obstacle and the first relative angle between the left obstacle and the vehicle; determine the first lighting angle and the second lighting angle based on the first horizontal distance; when the relative direction is right, determine the second horizontal distance between the vehicle and the right obstacle based on the second distance between the vehicle and the right obstacle and the second relative angle between the right obstacle and the vehicle; determine the third lighting angle and the fourth lighting angle based on the second horizontal distance.
[0235] In one possible implementation, the relative position includes a relative direction, and the parameter determining module 402 is further configured to: determine a first occlusion area based on the size of the left obstacle and the angle of the left obstacle relative to the road when the relative direction is to the left; determine a first lighting angle and a second lighting angle based on the first occlusion area; determine a second occlusion area based on the size of the right obstacle and the angle of the right obstacle relative to the road when the relative direction is to the right; and determine a third lighting angle and a fourth lighting angle based on the second occlusion area.
[0236] In one possible implementation, the operating parameters of the four high-definition modules include the first projection angle and first projection pattern of the first high-definition module, the second projection angle and second projection pattern of the second high-definition module, the third projection angle and third projection pattern of the third high-definition module, and the fourth projection angle and fourth projection pattern of the fourth high-definition module. The parameter determination module 402 is further configured to: determine the type of obstacle based on the external environment image when the external environment image indicates that there is an obstacle in front of the vehicle; determine the first projection pattern, the second projection pattern, the third projection pattern, and the fourth projection pattern based on the type of obstacle; determine that the first projection angle and the third projection angle are both first preset projection angles, and determine that the second projection angle and the fourth projection angle are both second preset projection angles; or, determine the turning direction of the vehicle based on the steering wheel angle; determine the first projection pattern, the second projection pattern, the third projection pattern, and the fourth projection pattern based on the turning direction; determine that the first projection angle and the third projection angle are both first preset projection angles, and determine that the second projection angle and the fourth projection angle are both second preset projection angles.
[0237] In one possible implementation, the environmental parameters also include the distance between the driver / passenger and the vehicle. The operating parameters of the four high-definition modules include the first projection angle and first projection pattern of the first high-definition module, the second projection angle and second projection pattern of the second high-definition module, the third projection angle and third projection pattern of the third high-definition module, and the fourth projection angle and fourth projection pattern of the fourth high-definition module. The parameter determination module 402 is further configured to: perform image recognition on the external environment image of the vehicle when the gear is a preset gear and the signal strength between the vehicle and the target key is greater than or equal to the preset signal strength, and determine the appearance parameters of the driver / passenger, which are used to represent the external characteristics of the driver / passenger; determine the first projection pattern, the second projection pattern, the third projection pattern, and the fourth projection pattern based on the appearance parameters; and determine the first projection angle, the third projection angle, the second projection angle, and the fourth projection angle based on the distance between the driver / passenger and the vehicle.
[0238] Figure 5 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.
[0239] For example, such as Figure 5 As shown, the vehicle 101 includes a memory 501 and a processor 502. The memory 501 stores executable program code 5011, and the processor 502 is used to call and execute the executable program code 5011 to perform a method for controlling vehicle lights.
[0240] Furthermore, embodiments of this application also protect an apparatus that may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to perform a method for controlling vehicle lights provided in embodiments of this application.
[0241] This embodiment can divide the device into functional modules based on the above method example. For example, each module can correspond to a separate function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0242] When each functional module is divided according to its corresponding function, the device may also include a condition judgment module, a parameter determination module, and an operation control module. It should be noted that all relevant content regarding each step in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here.
[0243] It should be understood that the device provided in this embodiment is used to perform the above-described method for controlling vehicle lights, and therefore can achieve the same effect as the above-described implementation method.
[0244] When using an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module can be used to control and manage the vehicle's movements. The storage module can be used to support the vehicle in executing relevant program code.
[0245] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits shown in conjunction with the disclosure of this application. The processor may also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module may be a memory.
[0246] In addition, the device provided in the embodiments of this application may specifically be a chip, component or 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 can execute a method for controlling vehicle lights provided in the above embodiments.
[0247] This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described related method steps to implement a method for controlling vehicle lights provided in the above embodiment.
[0248] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement a method for controlling vehicle lights provided in the above embodiment.
[0249] In this embodiment, the device, computer-readable storage medium, computer program product, or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0250] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0251] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0252] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method of controlling a vehicle light, characterized by, The vehicle lamp comprises four high-definition modules, wherein the first high-definition module and the second high-definition module are installed on the left side lamp, the third high-definition module and the fourth high-definition module are installed on the right side lamp, the first high-definition module and the third high-definition module are symmetrically installed, the second high-definition module and the fourth high-definition module are symmetrically installed, and the method comprises: According to the environmental parameters or the running parameters of the vehicle, it is determined whether the four high-definition modules need to be turned on, the running parameters are used to represent the running state of the vehicle, and the environmental parameters are used to represent the environmental state of the vehicle; In the case of determining that the four high-definition modules need to be turned on, the working parameters of the four high-definition modules are determined according to the environmental parameters and / or the running parameters, and the working parameters are used to represent the working state of the high-definition modules after being turned on; According to the working parameters, the four high-definition modules are controlled to run.
2. The method of claim 1, wherein, The environmental parameters comprise external light intensity and an out-of-vehicle environmental image, the running parameters comprise gear, signal strength between the vehicle and a target key, steering wheel angle, and the determination of whether the four high-definition modules need to be turned on according to the environmental parameters or the running parameters of the vehicle comprises: In the case that the external light intensity is less than a preset light intensity, it is determined that the four high-definition modules need to be turned on; In the case that the out-of-vehicle environmental image indicates that there is an obstacle in front of the vehicle or the steering wheel angle is greater than or equal to a preset angle, it is determined that the four high-definition modules need to be turned on; In the case that the gear is a preset gear and the signal strength between the vehicle and the target key is greater than or equal to a preset signal strength, it is determined that the four high-definition modules need to be turned on.
3. The method of claim 2, wherein, The determination of the working parameters of the four high-definition modules according to the environmental parameters and / or the running parameters comprises: In the case that the external light intensity is less than a preset light intensity, the road type in which the vehicle is located is determined according to the out-of-vehicle environmental image; According to the road type, the environmental parameters and / or the running parameters, the working parameters of the four high-definition modules are determined.
4. The method of claim 3, wherein, The environmental parameters further comprise the distance between the vehicle and the obstacle, the angle of the obstacle relative to the road, and the relative position of the obstacle and the vehicle, the working parameters of the four high-definition modules comprise the first illumination angle of the first high-definition module, the second illumination angle of the second high-definition module, the third illumination angle of the third high-definition module, and the fourth illumination angle of the fourth high-definition module, and the determination of the working parameters of the four high-definition modules according to the road type, the environmental parameters and / or the running parameters comprises: In the case that the road type is an urban road, if the steering wheel angle is greater than or equal to a preset angle, a turning direction of the vehicle is determined according to the steering wheel angle; the first and second illumination angles, or the third and fourth illumination angles, are determined according to the turning direction and the steering wheel angle; and / or, if the vehicle exterior environment image indicates that there is an obstacle in front of the vehicle, the first and second illumination angles, and / or the third and fourth illumination angles, are determined according to the relative position and the distance between the vehicle and the obstacle. In the case that the road type is an expressway or a country road, if the vehicle exterior environment image indicates that there is an obstacle in front of the vehicle, the size of the obstacle is determined according to the distance between the obstacle and the vehicle; the first and second illumination angles, and / or the third and fourth illumination angles, are determined according to the size of the obstacle, the relative position and the angle of the obstacle relative to the road.
5. The method of claim 4, wherein, The determination of the first and second illumination angles, and / or the third and fourth illumination angles, according to the turning direction and the steering wheel angle, comprises any one of the following: In the case that the turning direction is left turning, the first and second illumination angles are determined according to the steering wheel angle; In the case that the turning direction is right turning, the third and fourth illumination angles are determined according to the steering wheel angle; The relative position comprises a relative direction and a relative angle, and the determination of the first and second illumination angles, and / or the third and fourth illumination angles, according to the relative position and the distance between the vehicle and the obstacle, comprises at least one of the following: In the case that the relative direction is left, a first horizontal distance between the vehicle and a left obstacle is determined according to a first distance between the vehicle and the left obstacle and a first relative angle between the left obstacle and the vehicle; the first and second illumination angles are determined according to the first horizontal distance; In the case that the relative direction is right, a second horizontal distance between the vehicle and a right obstacle is determined according to a second distance between the vehicle and the right obstacle and a second relative angle between the right obstacle and the vehicle; the third and fourth illumination angles are determined according to the second horizontal distance.
6. The method of claim 4, wherein, The relative position comprises a relative direction, and the determination of the first and second illumination angles, and / or the third and fourth illumination angles, according to the size of the obstacle, the relative position and the angle of the obstacle relative to the road, comprises at least one of the following: In the case that the relative direction is the left side, a first shielding area is determined according to the size of the left-side obstacle and the angle of the left-side obstacle relative to the road; the first illumination angle and the second illumination angle are determined according to the first shielding area; In the case that the relative direction is the right side, a second shielding area is determined according to the size of the right-side obstacle and the angle of the right-side obstacle relative to the road; the third illumination angle and the fourth illumination angle are determined according to the second shielding area. The fourth illumination angle and the fourth projection pattern of the fourth high-definition module, the working parameters of the four high-definition modules are determined according to the environmental parameters and / or the running parameters, including:
7. The method of claim 2, wherein, In the case that the out-of-vehicle environment image indicates that there is an obstacle in front of the vehicle, the type of the obstacle is determined according to the out-of-vehicle environment image; the first projection pattern, the second projection pattern, the third projection pattern and the fourth projection pattern are determined according to the type of the obstacle; it is determined that the first projection angle and the third projection angle are both a first preset projection angle, and it is determined that the second projection angle and the fourth projection angle are both a second preset projection angle; or, The direction of rotation of the vehicle is determined according to the steering wheel rotation angle; the first projection pattern, the second projection pattern, the third projection pattern and the fourth projection pattern are determined according to the direction of rotation; it is determined that the first projection angle and the third projection angle are both the first preset projection angle, and it is determined that the second projection angle and the fourth projection angle are both the second preset projection angle. The environmental parameters further include the distance between the driver or passenger and the vehicle, and the working parameters of the four high-definition modules include the first projection angle and the first projection pattern of the first high-definition module, the second projection angle and the second projection pattern of the second high-definition module, the third projection angle and the third projection pattern of the third high-definition module, and the fourth projection angle and the fourth projection pattern of the fourth high-definition module. The working parameters of the four high-definition modules are determined according to the environmental parameters and / or the running parameters, including:
8. The method of claim 2, wherein, In the case that the gear position is a preset gear position and the signal strength between the vehicle and the target key is greater than or equal to a preset signal strength, the out-of-vehicle environment image is subjected to image recognition to determine the appearance parameters of the driver or passenger, the appearance parameters being used to represent the external characteristics of the driver or passenger; the first projection pattern, the second projection pattern, the third projection pattern and the fourth projection pattern are determined according to the appearance parameters; the first projection angle and the third projection angle, and the second projection angle and the fourth projection angle are determined according to the distance between the driver or passenger and the vehicle. 9. An apparatus for controlling a vehicle light, characterized by The vehicle lamp of the vehicle comprises four high-definition modules, wherein the first high-definition module and the second high-definition module are installed on the left side lamp, the third high-definition module and the fourth high-definition module are installed on the right side lamp, the first high-definition module and the third high-definition module are symmetrically installed, the second high-definition module and the fourth high-definition module are symmetrically installed, and the device comprises: a condition judging module, configured to determine whether the four high-definition modules need to be turned on according to an environmental parameter or an operation parameter of the vehicle, the operation parameter being used to represent an operation state of the vehicle, and the environmental parameter being used to represent an environmental state in which the vehicle is located; a parameter determining module, configured to determine working parameters of the four high-definition modules according to the environmental parameter and / or the operation parameter in a case where it is determined that the four high-definition modules need to be turned on, the working parameters being used to represent working states of the high-definition modules after being turned on; an operation control module, configured to control the four high-definition modules to operate according to the working parameters.
10. A vehicle characterized by comprising: The vehicle comprises: a memory, configured to store executable program codes; a processor, configured to call and run the executable program codes from the memory, so that the vehicle executes the method according to any one of claims 1 to 8.