Method and device for controlling vehicle lamp, vehicle and storage medium
By configuring ADB module and HD module in the vehicle, dynamically control the headlights according to the vehicle environment and operating parameters, realizing front-vehicle interactive projection and ADB functions, solving the problem of HD module function control, improving the safety of night driving and Lighting effect.
Patent Information
- Application Number
- CN202411213202.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-03
AI Technical Summary
In vehicles, how to effectively control the functions of high-resolution (HD) modules, especially in different driving scenarios to realize front-vehicle interactive projection and adaptive driving beam (ADB) functions, optimize lighting effects, and improve the safety of night driving and comfort to avoid glare to other drivers or pedestrians.
By configuring the ADB module and HD module in the vehicle's headlights, the target lights are determined based on the vehicle's external environment parameters and operating parameters, and the working parameters of the HD module are determined based on these parameters, so as to realize the front projection prompt function and The same functions as the ADB module, dynamically adjusts the lighting effect to avoid glare.
It improves the safety and comfort of the vehicle during driving, optimizes the night lighting effect, reduces glare caused to other road users, and enhances the adaptability of the vehicle's lighting function.
Smart Images

Figure CN119058531A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle light control, and more specifically, to a method, device, vehicle and storage medium for controlling vehicle lights in the field of vehicle light control. Background Art
[0002] In the vehicle field, with the continuous development and improvement of vehicle production technology, vehicles are equipped with a variety of lights with different functions, such as high beam lights, warning lights, ambient lights, etc. The operation of each light will be affected by the vehicle status and the surrounding environment.
[0003] In order to improve and increase the lighting function of the vehicle and provide users with a better lighting environment and advanced lighting technology, pixel-level headlights can also be installed in vehicles, such as Micro Light Emitting Diode (Micro LED) headlights, which are usually used to make high-definition modules (HD) in vehicles.
[0004] The functions realized by the HD module usually include interactive projection in front of the vehicle, adaptive driving beam (Adaptive Driving Beam, ADB) function, dynamic bending light (Dynamic Bending Light, DBL) and dynamic adjustment of low beam cut-off line function. In different vehicle use scenarios, the above functions of the HD module can be combined with other lights in the vehicle to achieve better lighting effects.
[0005] Based on the diverse functions that the above-mentioned HD modules can achieve, how to control the HD modules has become an urgent problem to be solved. Summary of the invention
[0006] The present application provides a method, device, vehicle and storage medium for controlling vehicle lights. The method can enable the HD module to realize the front-of-vehicle interactive projection function or the ADB function when a group of HD modules are configured in the vehicle lights, thereby realizing the diversification of the vehicle light functions.
[0007] In a first aspect, a method for controlling a headlight is provided, wherein the headlight on one side includes a group of ADB modules and a first high and low beam module, and the headlight on the other side includes a group of HD modules and a second high and low beam module, the method comprising: determining a target headlight to be turned on from the headlight according to an external parameter of an environment in which the vehicle is located or an operating parameter of the vehicle, the external parameter being used to indicate a current state of an external environment in which the vehicle is located, and the operating parameter being used to indicate an operating state of the vehicle; when the target headlight includes the HD module, determining a working parameter of the HD module according to the operating parameter and / or the external parameter, the working parameter being used to indicate an operating state of the HD module after being turned on; and controlling the HD module to turn on and run according to the working parameter, so that the HD module realizes a vehicle front projection prompt function, and / or so that the HD module realizes the same function as the ADB module.
[0008] In the above technical solution, when a headlight on one side of the vehicle is equipped with an HD module, the vehicle can determine whether it is necessary to control the HD module to turn on according to the external parameters of the vehicle's environment or the vehicle's operating parameters. When it is determined that the HD module needs to be controlled to turn on, the vehicle can further determine the working parameters of the HD module according to the operating parameters and / or external parameters, so that the HD module can realize the interactive projection function and / or the same function as the ADB module during operation. The above process can control the HD module to realize different functions in different driving scenarios. Among them, the HD module realizes the front projection prompt function, such as obstacle prompt, which can improve the safety of the vehicle during driving. In addition, based on the characteristic that the ADB module can automatically adjust the illumination range of the high beam according to the position of the oncoming vehicle, controlling the HD module to work in coordination with the ADB module can optimize the lighting effect of the vehicle, improve the safety and comfort of the vehicle driving at night, and avoid glare to other drivers or pedestrians.
[0009] In combination with the first aspect, in some possible implementations, the external parameters include external light intensity, the type of road on which the vehicle is located, and an image of the external environment. The target light to be turned on is determined from the lights according to the external parameters of the vehicle's environment or the operating parameters of the vehicle, including: when the external light intensity is less than a preset intensity, determining the target light from the lights according to the road type or the image of the external environment; and / or, determining whether the vehicle meets a preset projection condition according to the operating parameter or the image of the external environment; and when the vehicle meets the preset projection condition, determining the target light to be the HD module.
[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the first high and low beam module and the second high and low beam module both include a group of auxiliary low beam lights and a group of auxiliary high beam lights, and the target headlights are determined from the headlights according to the road type or the external environment image, including: when the road type is a city road or the external environment image indicates that there are obstacles in front of the vehicle, the target headlights are determined to be the auxiliary low beam lights in the first high and low beam module, the auxiliary low beam lights in the second high and low beam module, the ADB module and the HD module; when the road type is a highway or a rural road, the target headlights are determined to be the auxiliary high beam lights in the first high and low beam module, the auxiliary high beam lights in the second high and low beam module, the ADB module and the HD module.
[0011] In the above technical solution, when the road type is an urban road or the image of the external environment indicates that there is an obstacle in front of the vehicle, the target lights are determined to be the auxiliary low beam lights of the first high and low beam module, the auxiliary low beam lights of the second high and low beam module, the ADB module and the HD module. Among them, when the vehicle is driving on an urban road at night, there is generally a lot of traffic. In order to avoid affecting other vehicles, the auxiliary low beam lights in the vehicle need to be turned on at this time; or, when there is an obstacle in front of the vehicle, in order to avoid glare to the obstacle in front, the auxiliary low beam lights also need to be turned on in this case. In addition, during the process of turning on the auxiliary low beam lights, the vehicle can also turn on the ADB module and the HD module at the same time, which can enhance the lighting effect of the low beam lights, and can also dynamically adjust the irradiation distance of the vehicle's low beam cut-off line through the ADB module and the HD module, so as to ensure that the light will not cause glare to other road users (such as the driver in front, pedestrians), etc., during the process of turning on the low beam lights, and reduce the risk factor of night driving of the vehicle.
[0012] When a vehicle is traveling on a highway or a rural road, the speed of the vehicle on the highway is relatively fast, and the driver needs to see the road conditions in the distance in advance to ensure safety. Turning on the high beam can provide the vehicle with a longer lighting distance. On rural roads, there are usually no street lights, and the high beam can provide better lighting effects. In this application, when the vehicle needs to turn on the high beam, the two sets of high and low beam modules also include auxiliary high beams. The vehicle can turn on the auxiliary high beam in the high and low beam modules, and can also turn on the ADB module and the HD module at the same time as the main high beam to enhance the lighting effect of the high beam. The vehicle can also automatically adjust the irradiation position of the high beam according to the surrounding environment of the vehicle through the HD module and the ADB module to avoid glare to other pedestrians or drivers.
[0013] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the operating parameter includes a steering wheel angle or a state of a turn signal, and determining whether the vehicle meets the preset projection condition based on the operating parameter or the external environment image includes any one of the following: when the steering wheel angle is greater than a preset angle, or the state of the turn signal is on, determining that the vehicle meets the preset projection condition; when the external environment image is used to indicate that there is an obstacle in front of the vehicle, determining that the vehicle meets the preset projection condition.
[0014] In the above technical solution, several HD module projection scenarios are proposed. The first one is when the steering wheel angle is greater than the preset angle, or the turn signal is on, indicating that the vehicle is turning. In this case, the HD module can be used to realize the turning light blanket projection function to prompt other vehicles or pedestrians. Another one is when there is an obstacle in front of the vehicle, the vehicle can use the HD module to prompt the obstacle, help the driver to notice the obstacle in front in time, attract the driver's attention, and also remind other pedestrians and other vehicles to pay attention to the vehicle in time.
[0015] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the operating parameters include a projection angle and a projection pattern, and the operating parameters of the HD module are determined according to the operating parameters and / or the external parameters, including: when the target car light is the HD module, determining the turning direction of the vehicle according to the steering wheel angle or the state of the turn signal; determining the projection pattern of the HD module according to the turning direction, and determining that the projection angle of the HD module is a first preset projection angle; when the target car light is the HD module, performing image recognition on the external environment image to determine the type of the obstacle; determining the projection pattern of the HD module according to the type of the obstacle, and determining that the projection angle of the HD module is the first preset projection angle.
[0016] In the above technical solution, when determining the working parameters of the HD module, when the HD module projection is required, if the vehicle is turning, the vehicle can determine the direction of rotation of the vehicle during the turning process according to the steering wheel angle or the state of the turn signal, and determine the pattern that the HD module needs to project according to the direction of rotation, and project the pattern according to the first preset projection angle. The above process can provide the vehicle with correct steering prompts based on the direction of rotation when the vehicle turns, and guide the driver to better complete the turn. In addition, when there is an obstacle in front of the vehicle, the vehicle can also project a projection pattern corresponding to the type of obstacle according to the type of obstacle, which can enable the driver to identify the type of obstacle in front more quickly, and improve the driver's driving safety in poor visibility.
[0017] In combination with the first aspect and the above-mentioned implementation manner, in some possible implementation manners, the external parameter also includes the distance between the vehicle and the obstacle, and the relative direction and relative angle between the vehicle and the obstacle, the operating parameter includes the steering wheel angle, and the working parameter includes the illumination angle. When the target headlight includes the HD module, the working parameter of the HD module is determined according to the operating parameter and / or the external parameter, including: when the target headlight is the auxiliary low beam in the first high and low beam module, the auxiliary low beam in the second high and low beam module, the ADB module and the HD module, according to the relative direction between the vehicle and the obstacle, determining whether the obstacle and the HD module are on the same side. ; When the obstacle and the HD module are on the same side, determine the horizontal distance between the vehicle and the obstacle according to the distance between the vehicle and the obstacle and the relative angle between the vehicle and the obstacle; determine the illumination angle of the HD module according to the horizontal distance; and / or, when the target headlight is the auxiliary low beam headlight in the first high and low beam module, the auxiliary low beam headlight in the second high and low beam module, the ADB module and the HD module, if the steering wheel angle is greater than the preset angle, determine whether the turning direction of the vehicle is on the same side as the HD module according to the steering wheel angle; when the turning direction is on the same side as the HD module, determine the illumination angle of the HD module according to the steering wheel angle.
[0018] In the above technical solution, if the vehicle turns on the auxiliary low beam lamp specifically in the scene where there is an obstacle in front of the vehicle, after turning on the auxiliary low beam lamp, since only one side of the vehicle's headlight is installed with an HD module. Therefore, the vehicle can first determine whether the relative direction between the obstacle and the vehicle is on the same side as the HD module based on the relative direction between the vehicle and the obstacle. For example, the obstacle is in the left front of the vehicle, and the HD module is installed on the left headlight of the vehicle, which means that the obstacle and the HD module are on the same side. In this case, the vehicle can control the HD module to realize the function of dynamically adjusting the low beam cutoff line. Specifically, the vehicle can determine the illumination angle of the HD module based on the distance between the vehicle and the obstacle in front and the relative angle between the vehicle and the obstacle in front. The application scenario of the above HD module can dynamically adjust the low beam cutoff line of the HD module when the HD module is used as a low beam lamp, avoiding glare for pedestrians or vehicles on the opposite side, and ensuring the safety of the vehicle. In another case, when the low beam lamp is turned on, if the vehicle needs to turn during driving, in this case, the HD module and the ADB module can also realize the curve lighting (DBL) function. Similarly, when the vehicle's turning direction is on the same side as the HD module, the vehicle can adaptively adjust the illumination angle of the HD module according to the steering wheel angle. In the above application scenario of the HD module, the vehicle can dynamically adjust the illumination direction of the HD module during the turning process, reduce the lighting blind spot during the turn, and enable the driver to better see the road conditions in the curve.
[0019] In combination with the first aspect and the above-mentioned implementation manner, in some possible implementation manners, the external parameter also includes the relative direction between the obstacle and the vehicle, the distance between the vehicle and the obstacle, and the angle of the obstacle relative to the road, and the working parameter includes the illumination angle. When the target headlight includes the HD module, the working parameter of the HD module is determined according to the operating parameter and / or the external parameter, including: when the target headlight is the auxiliary high beam in the first high and low beam module, the auxiliary high beam in the second high and low beam module, the ADB module and the HD module, if the external environment image indicates that there is no obstacle in front of the vehicle, the illumination angle of the HD module is determined. the degree is a second preset illumination angle; when the target vehicle light is the auxiliary high beam light in the first high and low beam module, the auxiliary high beam light in the second high and low beam module, the ADB module and the HD module, if the external environment image indicates that there is the obstacle in front of the vehicle, determine whether the obstacle and the HD module are on the same side according to the relative direction between the vehicle and the obstacle; when the obstacle and the HD module are on the same side, determine the size of the obstacle according to the distance between the vehicle and the obstacle; determine the target shielding area of the HD module according to the size of the obstacle and the angle of the obstacle relative to the road; and determine the illumination angle of the HD module according to the target shielding area.
[0020] In the above technical solution, when the HD module is used as an ADB light, when there is no obstacle in front of the vehicle, it means that the headlight does not need to be shielded at this time. The HD module can work at the illumination angle when there is no shielding to achieve the best lighting effect. In another scenario, when there is an obstacle in front of the vehicle, if the obstacle and the HD module are on the same side, the vehicle can determine the target shielding area of the HD module according to the size of the obstacle and the angle of the obstacle relative to the road, and determine the illumination angle of the HD module according to the target shielding area. When there is an obstacle in front of the vehicle, the above solution can intelligently adjust the lighting status of the HD module based on the actual position of the obstacle and the vehicle, avoid glare to the obstacle, and ensure the safety of the vehicle.
[0021] In a second aspect, a device for controlling a headlight is provided, wherein the headlight on one side includes a group of ADB modules and a first high and low beam module, and the headlight on the other side includes a group of HD modules and a second high and low beam module, and the device includes: a headlight determination module, used to determine a target headlight to be turned on from the headlight according to an external parameter of the vehicle's environment or an operating parameter of the vehicle, wherein the external parameter is used to indicate the current external environment state of the vehicle, and the operating parameter is used to indicate the operating state of the vehicle; a parameter determination module, used to determine a working parameter of the HD module according to the operating parameter and / or the external parameter when the target headlight includes the HD module, wherein the working parameter is used to indicate the working state of the HD module after being turned on; and a headlight control module, used to control the HD module to turn on and run according to the operating parameter, so that the HD module realizes a front projection prompt function, and / or so that the HD module realizes the same function as the ADB module.
[0022] In combination with the second aspect, in some possible implementations, the external parameters include external light intensity, the type of road on which the vehicle is located, and an external environment image, and the headlight determination module is specifically used to: when the external light intensity is less than a preset intensity, determine the target headlight from the headlights according to the road type or the external environment image; and / or, determine whether the vehicle meets a preset projection condition according to the operating parameter or the external environment image; when the vehicle meets the preset projection condition, determine that the target headlight is the HD module.
[0023] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the first high and low beam module and the second high and low beam module both include a group of auxiliary low beam lights and a group of auxiliary high beam lights, and the vehicle light determination module is also used to: when the road type is an urban road or the external environment image indicates that there is an obstacle in front of the vehicle, determine that the target vehicle lights are the auxiliary low beam lights in the first high and low beam module, the auxiliary low beam lights in the second high and low beam module, the ADB module and the HD module; when the road type is a highway or a rural road, determine that the target vehicle lights are the auxiliary high beam lights in the first high and low beam module, the auxiliary high beam lights in the second high and low beam module, the ADB module and the HD module.
[0024] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the operating parameter includes a steering wheel angle or a state of a turn signal, and the vehicle light determination module is specifically used to perform any of the following: when the steering wheel angle is greater than a preset angle, or the state of the turn signal is on, determining that the vehicle meets the preset projection condition; when the external environment image is used to indicate that there is an obstacle in front of the vehicle, determining that the vehicle meets the preset projection condition.
[0025] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the working parameters include a projection angle and a projection pattern, and the parameter determination module is specifically used to: when the target car light is the HD module, determine the turning direction of the vehicle according to the steering wheel angle or the state of the turn signal; determine the projection pattern of the HD module according to the turning direction, and determine that the projection angle of the HD module is a first preset projection angle; when the target car light is the HD module, perform image recognition on the external environment image to determine the type of the obstacle; determine the projection pattern of the HD module according to the type of the obstacle, and determine that the projection angle of the HD module is the first preset projection angle.
[0026] In combination with the second aspect and the above-mentioned implementation manner, in some possible implementation manners, the external parameter also includes the distance between the vehicle and the obstacle, and the relative direction and relative angle between the vehicle and the obstacle, the operating parameter includes the steering wheel angle, the working parameter includes the illumination angle, and the parameter determination module is further used to: when the target headlight is the auxiliary low beam headlight in the first high and low beam module, the auxiliary low beam headlight in the second high and low beam module, the ADB module and the HD module, determine whether the obstacle and the HD module are on the same side according to the relative direction between the vehicle and the obstacle; when the obstacle and the HD module are on the same side, The horizontal distance between the vehicle and the obstacle is determined according to the distance between the vehicle and the obstacle and the relative angle between the vehicle and the obstacle; the illumination angle of the HD module is determined according to the horizontal distance; and / or, when the target headlight is the auxiliary low beam headlight in the first high and low beam module, the auxiliary low beam headlight in the second high and low beam module, the ADB module and the HD module, if the steering wheel angle is greater than a preset angle, determine whether the turning direction of the vehicle is on the same side as the HD module according to the steering wheel angle; when the turning direction is on the same side as the HD module, determine the illumination angle of the HD module according to the steering wheel angle.
[0027] In combination with the second aspect and the above-mentioned implementation manner, in some possible implementation manners, the external parameters also include the relative direction between the obstacle and the vehicle, the distance between the vehicle and the obstacle, and the angle of the obstacle relative to the road, the working parameters include the illumination angle, and the parameter determination module is also used for: when the target headlight is the auxiliary high beam in the first high and low beam module, the auxiliary high beam in the second high and low beam module, the ADB module and the HD module, if the external environment image indicates that there is no obstacle in front of the vehicle, determining the illumination angle of the HD module to be the second preset illumination angle; when the target headlight is the first high and low beam module, the auxiliary high beam in the second high and low beam module, the ADB module and the HD module In the case of the auxiliary high beam in the first high and low beam module, the auxiliary high beam in the second high and low beam module, the ADB module and the HD module, if the external environment image indicates that the obstacle exists in front of the vehicle, determine whether the obstacle and the HD module are on the same side according to the relative direction between the vehicle and the obstacle; when the obstacle and the HD module are on the same side, determine the size of the obstacle according to the distance between the vehicle and the obstacle; determine the target shielding area of the HD module according to the size of the obstacle and the angle of the obstacle relative to the road; and determine the illumination angle of the HD module according to the target shielding area.
[0028] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.
[0029] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0030] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 This is a schematic diagram of a scene of vehicle light operation provided by an embodiment of the present application;
[0032] Figure 2 is a structural schematic diagram of a vehicle lighting system provided in an embodiment of the present application;
[0033] Figure 3 is a schematic flow chart of a method for controlling a vehicle light provided in an embodiment of the present application;
[0034] Figure 4 is a schematic diagram of a scenario for determining an illumination angle of an HD module provided in an embodiment of the present application;
[0035] Figure 5 is a schematic diagram of the structure of a device for controlling a vehicle light provided in an embodiment of the present application;
[0036] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0038] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying 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 the features.
[0039] Before introducing the contents of the embodiments of the present application, the professional terms that may be involved in the embodiments of the present application are first explained.
[0040] ADB function: An advanced vehicle lighting technology, the ADB function can intelligently control the illumination range of the high beam, which can not only improve the safety of nighttime driving, but also reduce the impact on other road users. The ADB function can monitor the road conditions in front of the vehicle through the camera, identify the position of the oncoming vehicle or the vehicle in front, and automatically adjust the illumination range of the high beam according to the position of the oncoming vehicle.
[0041] Low beam cut-off line: refers to the more obvious boundary line when the low beam is shining.
[0042] Low beam cut-off line adjustment function: refers to the ability of the low beam in the vehicle's headlights to automatically or manually adjust the lighting range of the low beam according to different driving conditions and environments to ensure that it does not cause glare interference to the drivers of oncoming vehicles or vehicles in front.
[0043] DBL function: Same as the ADB function, it is also an advanced vehicle lighting technology. This function can dynamically adjust the direction of the headlights according to the steering wheel angle of the vehicle to illuminate the direction of the upcoming trip.
[0044] HD module: A high-definition modulation unit in a vehicle, which is usually integrated with the vehicle's headlight system to provide more sophisticated and intelligent lighting effects. HD modules are mainly used to improve driving safety at night or in low visibility conditions. HD modules mainly have high-definition lighting, intelligent adjustment, adaptive lighting, glare reduction, front projection prompt functions, and work in conjunction with ADB modules.
[0045] Figure 1 This is a schematic diagram of a scene of vehicle light operation provided by an embodiment of the present application.
[0046] For example, Figure 1 As shown, the vehicle 101 is traveling on the road. If the current time is night, the vehicle 101 detects through a light sensor that the current external light is weak, and the headlights installed in front of the vehicle 101 can be turned on to achieve a better lighting effect.
[0047] In a possible implementation, the headlights for lighting in front of the vehicle 101 include a high beam headlight and a low beam headlight. Depending on the driving state of the vehicle 101, the headlights selected to be turned on are also different.
[0048] For example, when the vehicle 101 is traveling on a city road, since there is generally a lot of traffic on the city road, in order to avoid causing glare to other vehicles, the vehicle 101 can turn on the low beam lighting.
[0049] As another example, when the vehicle 101 is traveling on a highway, since the speed on a highway is generally high, in order to enable the driver to see the road ahead of the vehicle 101 in time, the vehicle 101 may turn on the high beam lighting.
[0050] With the development of vehicle production technology, in order to provide users with a better lighting experience, HD modules are currently installed in vehicles. Compared with common headlights in vehicles, HD modules have the characteristics of high resolution and multi-functions. The functions they can achieve include DBL function, ADB function and front-vehicle interactive projection, etc. In different vehicle use scenarios, the specific functions achieved by HD modules are also different.
[0051] In order to achieve reasonable control of the HD module, an embodiment of the present application proposes a method for controlling vehicle lights. This method can enable the HD module to realize the interactive projection function in front of the vehicle or realize the ADB function when a group of HD modules are configured in the vehicle lights, thereby realizing the diversification of the vehicle light functions.
[0052] Before introducing the method of the embodiment of the present application, the structure and working principle of the vehicle lamp including the HD module provided by the embodiment of the present application are first introduced.
[0053] Figure 2It is a structural schematic diagram of a vehicle lighting system provided in an embodiment of the present application.
[0054] For example, Figure 2 As shown in (a) of FIG. 1 , the vehicle lamp system 200 provided in the embodiment of the present application includes a left vehicle lamp (referred to as “left lamp”) and a right vehicle lamp (referred to as “right lamp”). The left vehicle lamp and the right vehicle lamp here both refer to the headlight.
[0055] In one possible implementation, the left headlight includes a set of high and low beam modules and a set of HD modules; the right headlight includes a set of high and low beam modules and a set of ADB modules. Each high and low beam module includes an auxiliary low beam and an auxiliary high beam. Taking the auxiliary high beam as an example, unlike the common high beam function, the auxiliary high beam is an additional high beam, which is usually used to supplement the lighting range of the main high beam and is intended to provide additional lighting to enhance the visibility of the vehicle under specific conditions. That is to say, in the embodiment of the present application, the HD module and the ADB module can be used as the main high beam and the main low beam.
[0056] Among them, the ADB module in the right lamp in the embodiment of the present application is specifically a 36-zone double-row matrix ADB module. The Matrix ADB module combines the matrix LED lamp and the ADB function, and reduces the glare interference to other drivers or pedestrians by intelligently turning off or dimming the LED lamp beads in a specific area.
[0057] Based on the structure of the above-mentioned vehicle lamp system 200, the working process of the vehicle lamp system 200 can be described as follows: Figure 2 Explanation for (b) in the figure.
[0058] In combination with the structure of the vehicle lamp system 200, the working area of each module is as follows Figure 2 As shown in (b) of FIG. Among them, the functions realized by the HD module include interactive projection (or front projection), dynamic adjustment of the low beam cutoff line, DBL function and ADB function. When the HD module realizes different functions, it corresponds to different lighting areas and different illumination angles. Figure 2 The working area of each module shown in (b) can be understood as the maximum working area of each module, that is, the size of the working area of each module can be adjusted according to actual conditions.
[0059] Among them, area 1 corresponds to the working area of the right lamp ADB module (or the ADB lamp in the right lamp).
[0060] Area 2 corresponds to the working area of the high beam in the left high and low beam module, and the working area of the high beam in the right high and low beam module. The rectangular area corresponding to area 2 is actually the superposition effect of the working areas of the high beam in the two high and low beam modules (the overlapping part is not shown in the figure).
[0061] Area 3 corresponds to the working area of the left lamp HD module when used as an ADB lamp.
[0062] Area 4 corresponds to the working area of the left HD module when it is used as a low beam. When the HD module is used as a low beam, it mainly plays the role of a main low beam, and also has the function of dynamically adjusting the low beam cutoff line and the DBL function.
[0063] Area 5 corresponds to the working area of the left lamp HD module when realizing the interactive projection function in front of the vehicle.
[0064] Area 6 corresponds to the working area of the low beam in the left light high and low beam module, and the working area of the low beam in the right light high and low beam module. Similarly, the rectangular area corresponding to area 6 is actually the effect of the superposition of the two low beam working areas.
[0065] based on Figure 2 The working areas of the various headlights shown in (b) and the application scenarios of the various headlights in the embodiments of the present application are as follows.
[0066] In one application scenario, if the vehicle needs to turn on the low beam while driving, the auxiliary low beam, the HD module and the ADB module in the two sets of high and low beam modules can be controlled to turn on.
[0067] Based on the function achieved when the HD module is used as a low beam, when the low beam is turned on, if there is an obstacle in front of the vehicle, the vehicle can dynamically adjust the low beam cut-off line of the HD module and the low beam cut-off line of the ADB lamp according to the distance between the vehicle and the obstacle in front.
[0068] When the low beam is on, if the vehicle needs to turn, the vehicle can also adjust the illumination angle of the HD module to enable the HD module to implement the DBL function. At the same time, the vehicle can further adjust the illumination angle of the ADB module to enable the ADB module to implement the DBL function.
[0069] In another application scenario, if the vehicle needs to turn on the high beam while driving, the vehicle can control the auxiliary high beam, HD module and ADB module in the two sets of high and low beam modules to turn on.
[0070] When the high beam is on, if there is an obstacle in front of the vehicle, the vehicle can automatically adjust the illumination area of the HD module and the illumination area of the ADB module by obtaining the relative position between the vehicle and the obstacle, so that the vehicle can realize the automatic shielding function when the high beam is turned on to prevent glare to the oncoming obstacles.
[0071] In another application scenario, if the vehicle needs to perform front-vehicle projection while driving, the vehicle can control the HD module to turn on and determine the projection pattern and projection angle of the HD module according to the scene that needs to be projected.
[0072] After introducing the structure and working principle of the vehicle light system, a method for controlling vehicle lights provided in an embodiment of the present application is introduced below.
[0073] Figure 3 is a schematic flow chart of a method for controlling a vehicle light provided in an embodiment of the present application. It should be understood that the method can be applied to Figure 1 The vehicle 101 in the embodiment can be specifically applied to any electronic control unit (ECU) in the vehicle 101. The embodiment of the present application does not limit the execution subject of the method. Among them, when the embodiment of the present application controls the lights, the lights include lights on both sides (i.e., left lights and right lights). Among them, the lights on one side include a group of ADB modules and a first high and low beam module; the lights on the other side include a group of HD modules and a second high and low beam module. In other words, the HD module can be arranged in any one of the left lights or right lights of the vehicle.
[0074] For example, Figure 3 As shown, the method 300 includes:
[0075] 301, determining a target headlight to be turned on from the headlights according to an external parameter of the vehicle's environment or an operating parameter of the vehicle, wherein the external parameter is used to indicate the current state of the vehicle's external environment, and the operating parameter is used to indicate the operating state of the vehicle.
[0076] It should be understood that during the operation of the vehicle, the operating state and external environment of the vehicle may change at any time, and different operating states and external environments may affect the operating state of the headlights. Therefore, during the operation of the vehicle, the controller can obtain the current operating state of the vehicle or the current external environment through various data acquisition devices (such as various sensors) installed in the vehicle, so as to determine the current state of the headlights.
[0077] The operating state of the vehicle may 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.
[0078] The external environment can be represented by external parameters, such as external temperature, weather type, road type, and other parameters related to the environment in which the vehicle is located.
[0079] It should also be understood that the method for controlling vehicle lights provided in the embodiment of the present application is mainly about how to reasonably control the HD module to better realize the corresponding function when a group of HD modules are installed in the vehicle. Therefore, when determining the target vehicle lights to be turned on from the vehicle lights in the embodiment of the present application, the main purpose is to determine whether the target vehicle lights include the HD module.
[0080] According to different external parameters or operating parameters, the process of determining the target vehicle lights is specifically divided into the following cases.
[0081] In a possible implementation, the external parameters include external light intensity, the type of road the vehicle is on, and an image of the external environment of the vehicle. According to the external parameters of the environment in which the vehicle is located or the operating parameters of the vehicle, the target light to be turned on is determined from the lights, including:
[0082] When the external light intensity is less than a preset intensity, determining the target vehicle light from the vehicle lights according to the road type or the image of the vehicle exterior environment; and / or,
[0083] According to the operating parameters or the image of the external environment of the vehicle, it is determined whether the vehicle meets the preset projection conditions; when the vehicle meets the preset projection conditions, it is determined that the target headlight is an HD module.
[0084] For example, the controller can obtain the external light intensity through the light sensor in the vehicle; as for the type of road the vehicle is on, the controller can first obtain the image of the external environment through the camera outside the vehicle, and further perform image recognition on the image of the external environment to determine the type of road the vehicle is currently on.
[0085] When the external light intensity is less than the preset intensity, it means that the current light intensity outside the vehicle is dim and the auxiliary low beam or high beam needs to be turned on. In this case, the controller can make a decision on whether to turn on the low beam or high beam based on the road type or the image of the external environment.
[0086] It should be understood that the vehicle lighting system provided in the embodiment of the present application includes two sets of high and low beam modules, one set of ADB modules and one set of HD modules. Among them, both sets of high and low beam modules include auxiliary low beam and auxiliary high beam. Regardless of whether the low beam or high beam needs to be turned on, the HD module and the ADB module can also be turned on at the same time.
[0087] In a possible implementation, determining a target vehicle light from vehicle lights according to a road type or an image of an external environment includes:
[0088] When the road type is an urban road or the image of the external environment indicates that there is an obstacle in front of the vehicle, the target lights are determined to be the auxiliary low beam lights in the first high and low beam module, the auxiliary low beam lights in the second high and low beam module, the ADB module and the HD module;
[0089] When the road type is a highway or a rural road, the target vehicle lights are determined to be the auxiliary high beam lights in the first high and low beam module, the auxiliary high beam lights in the second high and low beam module, the ADB module and the HD module.
[0090] For example, when the road type is an urban road, the traffic volume is relatively heavy, and it is not appropriate to turn on the high beam. In addition, if the controller identifies that there is an obstacle in front of the vehicle based on the image of the external environment, it is not appropriate to turn on the high beam. In both scenarios, the controller can determine that the target lights are the auxiliary low beam lights, ADB modules, and HD modules in the two sets of high and low beam modules. When the auxiliary low beam lights, ADB modules, and HD modules of the two sets of high and low beam modules are turned on at the same time, the ADB module and the HD module can be considered as the main low beam lights, which play the main lighting function, and when there is an obstacle in front of the vehicle, they play the function of adjusting the low beam cut-off line, and when the vehicle needs to turn, they play the DBL function.
[0091] For example, when the road type is a highway, the vehicle speed is fast, and the driver needs to see the road far ahead of the vehicle in time while driving. In this case, the controller can determine that the target lights are the auxiliary high beam, ADB module, and HD module in the two sets of high and low beam modules. Alternatively, when the road type is a rural road, there are usually no street lights on the road. In order for the driver to see the road ahead in time, when the vehicle is driving on the rural road, the vehicle also needs to provide long-distance lighting. Therefore, the controller determines that the target lights are the auxiliary high beam, ADB module, and HD module in the two sets of high and low beam modules.
[0092] In the above technical solution, when the road type is an urban road or the image of the external environment indicates that there is an obstacle in front of the vehicle, the target lights are determined to be the auxiliary low beam lights of the first high and low beam module, the auxiliary low beam lights of the second high and low beam module, the ADB module and the HD module. Among them, when the vehicle is driving on an urban road at night, there is generally a lot of traffic. In order to avoid affecting other vehicles, the auxiliary low beam lights in the vehicle need to be turned on at this time; or, when there is an obstacle in front of the vehicle, in order to avoid glare to the obstacle in front, the auxiliary low beam lights also need to be turned on in this case. In addition, during the process of turning on the auxiliary low beam lights, the vehicle can also turn on the ADB module and the HD module at the same time, which can enhance the lighting effect of the low beam lights, and can also dynamically adjust the irradiation distance of the vehicle's low beam cut-off line through the ADB module and the HD module, so as to ensure that the light will not cause glare to other road users (such as the driver in front, pedestrians), etc., during the process of turning on the low beam lights, and reduce the risk factor of night driving of the vehicle.
[0093] When a vehicle is traveling on a highway or a rural road, the speed of the vehicle on the highway is relatively fast, and the driver needs to see the road conditions in the distance in advance to ensure safety. Turning on the high beam can provide the vehicle with a longer lighting distance. On rural roads, there are usually no street lights, and the high beam can provide better lighting effects. In this application, when the vehicle needs to turn on the high beam, the two sets of high and low beam modules also include auxiliary high beams. The vehicle can turn on the auxiliary high beam in the high and low beam modules, and can also turn on the ADB module and the HD module at the same time as the main high beam to enhance the lighting effect of the high beam. The vehicle can also automatically adjust the irradiation position of the high beam according to the surrounding environment of the vehicle through the HD module and the ADB module to avoid glare to other pedestrians or drivers.
[0094] In addition to determining the target headlight when the external light intensity is low, the controller can also determine whether projection is required through the HD module based on the operating parameters or the image of the external environment based on the HD module's own interactive projection function in front of the vehicle. When the controller determines that projection in front of the vehicle is required through the HD module, the target headlight is the HD module.
[0095] The following examples of performing front-of-vehicle projection using an HD module are listed in the embodiments of the present application.
[0096] In a possible implementation, the operating parameters include a steering wheel angle or a state of a turn signal, and determining whether the vehicle lights meet a preset projection condition based on the operating parameters or the image of the vehicle's external environment includes any of the following:
[0097] When the steering wheel angle is greater than a preset angle, or the turn signal lamp is turned on, determining that the vehicle meets the preset projection condition;
[0098] When the vehicle exterior environment image is used to indicate that there is an obstacle in front of the vehicle, it is determined that the vehicle meets the preset projection condition.
[0099] For example, the controller may acquire the steering wheel angle through an angle sensor on the steering wheel; and the controller may acquire the status of the turn signal through a status switch of the turn signal.
[0100] The above gives two scenarios in which HD modules are required for front-of-vehicle projection in vehicles, namely, turn light blanket projection and obstacle warning projection.
[0101] For example, when the controller detects that the vehicle steering wheel angle is greater than a preset angle, or detects that the turn signal is on, it means that the vehicle is currently turning. In this case, the controller determines that the vehicle meets the preset projection conditions and needs to enable the HD module for front-of-vehicle projection.
[0102] In another example, when the controller determines that there is an obstacle in front of the vehicle through the image of the external environment, in order to facilitate the driver to notice the obstacle in front, the controller can project the obstacle through the HD module. Therefore, in this case, the controller also determines that the vehicle meets the preset projection conditions and needs to start the HD module for front projection.
[0103] In the above technical solution, several HD module projection scenarios are proposed. The first one is when the steering wheel angle is greater than the preset angle, or the turn signal is on, indicating that the vehicle is turning. In this case, the HD module can be used to realize the turning light blanket projection function to prompt other vehicles or pedestrians. Another one is when there is an obstacle in front of the vehicle, the vehicle can use the HD module to prompt the obstacle, help the driver to notice the obstacle in front in time, attract the driver's attention, and also remind other pedestrians and other vehicles to pay attention to the vehicle in time.
[0104] Thus, through the above steps, the controller can determine the target lights that need to be turned on in the vehicle.
[0105] 302 , when the target vehicle lamp includes an HD module, determining working parameters of the HD module according to the operating parameters and / or external parameters, where the working parameters are used to indicate the working state of the HD module after it is turned on.
[0106] It should be understood that the main core point of the embodiment of the present application is how to reasonably control the operation of the HD module. Therefore, when determining that the target headlight includes an HD module, the controller can further determine the working parameters of the HD module based on the operating parameters and / or external parameters. The working parameters of the HD module are used to indicate the working state of the HD module after it is turned on, that is, how the HD module should operate after it is turned on.
[0107] According to several scenarios of determining the HD module in the target vehicle lamp in step 301 , the process of determining the working parameters of the HD module can be divided into the following categories.
[0108] The first type: the target headlight is the HD module
[0109] In a possible implementation, the working parameters include a projection angle and a projection pattern. The working parameters of the HD module are determined according to the operating parameters and / or external parameters, including:
[0110] When the target vehicle light is an HD module, the turning direction of the vehicle is determined according to the steering wheel angle or the state of the turn signal; the projection pattern of the HD module is determined according to the turning direction, and the projection angle of the HD module is determined to be a first preset projection angle;
[0111] When the target vehicle light is an HD module, image recognition is performed on the external environment image to determine the type of obstacle; according to the type of obstacle, the projection pattern of the HD module is determined, and the projection angle of the HD module is determined to be a first preset projection angle.
[0112] The above scenario corresponds to the specific steps when the HD module realizes interactive projection in front of the car.
[0113] Exemplarily, in combination with the above description, when the controller determines that the target vehicle light is an HD module, it specifically corresponds to two scenarios, one is the projection of a turning light blanket, and the other is an obstacle warning.
[0114] In one case, when the controller controls the HD module to project the turn light blanket, the controller can determine the direction of the vehicle's rotation according to the steering wheel angle or the state of the turn signal, and judge whether the vehicle is turning left or right. Taking the state of the turn signal as an example, when the state of the left turn signal is on and the state of the right turn signal is off, the controller determines that the vehicle's rotation direction is a left turn; when the state of the right turn signal is on and the state of the left turn signal is off, the controller determines that the vehicle's rotation direction is a right turn.
[0115] After the controller determines the direction of rotation of the vehicle, it can further determine the projection pattern of the HD module. When the direction of rotation is left turn, the projection pattern can be a left turn arrow pattern or a special pattern composed of the words "left turn". The embodiment of the application does not limit the form of the projection pattern.
[0116] For example, Figure 2 As shown in FIG. 1 , for the projection angle of the HD module projecting the steering light blanket pattern, the technician can pre-set and store the projection angle of the HD module when implementing different functions in the controller. Specifically, when the HD module implements the interactive projection in front of the vehicle, the corresponding projection area is Figure 2 As shown in (b) in FIG. 8 , area 5 corresponds to a fixed projection angle, namely, a first preset projection angle.
[0117] In the embodiment of the present application, it can be considered that when the HD module implements the interactive projection in front of the vehicle, the projection angle is fixed. That is, no matter which type of interactive projection in front of the vehicle is used, the projection angle corresponding to the HD module is the first preset projection angle.
[0118] In another case, when the HD module performs obstacle projection, the projection angle may be determined to be the first preset projection angle. For the projection pattern, the controller may perform image recognition on the acquired image of the vehicle's external environment to obtain the type of obstacle, such as pedestrians, pets, vehicles, etc. Further, the controller may determine that the projection pattern is a pattern corresponding to the type of obstacle. For example, when the type of obstacle is a pedestrian, the projection pattern may be a virtual man; when the type of obstacle is a puppy, the projection pattern may be a virtual puppy.
[0119] In the above technical solution, when determining the working parameters of the HD module, when the HD module projection is required, if the vehicle is turning, the vehicle can determine the direction of rotation of the vehicle during the turning process according to the steering wheel angle or the state of the turn signal, and determine the pattern that the HD module needs to project according to the direction of rotation, and project the pattern according to the first preset projection angle. The above process can provide the vehicle with correct steering prompts based on the direction of rotation when the vehicle turns, and guide the driver to better complete the turn. In addition, when there is an obstacle in front of the vehicle, the vehicle can also project a projection pattern corresponding to the type of obstacle according to the type of obstacle, which can enable the driver to identify the type of obstacle in front more quickly, and improve the driver's driving safety in poor visibility.
[0120] The second type, the target vehicle lights are two sets of auxiliary low beam lights, ADB modules and HD modules
[0121] In a possible implementation, the external parameters further include the distance between the vehicle and the obstacle, and the relative direction and angle between the vehicle and the obstacle, the operating parameters include the steering wheel angle, and the working parameters include the illumination angle. When the target vehicle light includes an HD module, the working parameters of the HD module are determined according to the operating parameters and / or the external parameters, including:
[0122] When the target vehicle lights are the auxiliary low beam lights in the first high and low beam module, the auxiliary low beam lights in the second high and low beam module, the ADB module and the HD module, determine whether the obstacle and the HD module are on the same side according to the relative direction between the vehicle and the obstacle; when the obstacle and the HD module are on the same side, determine the horizontal distance between the vehicle and the obstacle according to the distance between the vehicle and the obstacle and the relative angle between the vehicle and the obstacle; determine the illumination angle of the HD module according to the horizontal distance; and / or,
[0123] When the target vehicle lights are the auxiliary low beam in the first high and low beam module, the auxiliary low beam in the second high and low beam module, the ADB module and the HD module, if the steering wheel angle is greater than the preset angle, determine whether the turning direction of the vehicle is on the same side as the HD module according to the steering wheel angle; when the turning direction is on the same side as the HD module, determine the illumination angle of the HD module according to the steering wheel angle.
[0124] It should be understood that the illumination angle in the embodiment of the present application includes both the vertical illumination angle of the HD module and the horizontal illumination angle of the HD module. These two illumination angles have a comprehensive effect on the illumination area of the HD module. Among them, the vertical illumination angle is the angle between the light of the HD module and the plane perpendicular to the ground. The larger the vertical illumination angle, the longer the illumination distance; the smaller the vertical illumination angle, the closer the illumination distance. The horizontal illumination angle is the angle between the light of the HD module and the horizontal plane of the vehicle, which determines the distribution of the light in the horizontal direction.
[0125] It should also be understood that when the target vehicle lights are the auxiliary low beam lights, ADB modules and HD modules in the two sets of high and low beam modules, the role of the HD module is to dynamically adjust the low beam cutoff line and the curve lighting function.
[0126] For example, when there is an obstacle in front of the vehicle, for the function of dynamically adjusting the low beam cut-off line, the controller can obtain the distance between the vehicle and the obstacle through a distance measuring device in the vehicle. The distance can refer to the oblique distance between the vehicle and the obstacle in front.
[0127] Regarding the relative direction and relative angle between the vehicle and the obstacle, 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; alternatively, the controller can also use the azimuth 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] Since the HD module is installed on only one side of the headlight in the embodiment of the present application, when the controller obtains the relative direction between the obstacle and the vehicle, in order to control the HD module to dynamically adjust the low beam cutoff line function, the controller can determine whether the obstacle and the HD module are on the same side according to the relative direction.
[0129] For example, when the obstacle is in front of the left side of the vehicle, the HD module is also installed on the left side of the vehicle, which means that the obstacle and the HD module are on the same side; otherwise, it means that the obstacle and the HD module are not on the same side.
[0130] When the controller determines that the obstacle and the HD module are on the same side, the illumination angle of the HD module can be adjusted according to the distance and relative angle between the obstacle and the vehicle.
[0131] It should be understood that when controlling the HD module to dynamically adjust the low-beam cutoff line, the laser radar generally obtains the oblique distance between the vehicle and the obstacle. However, in actual driving, taking the obstacle as an example, even if the oblique distance between the vehicle in front and the vehicle is the same, the position of the vehicle in front will be different. Therefore, there may be errors in dynamically adjusting the low-beam cutoff line according to the oblique distance, while the horizontal distance can accurately reflect the relative distance between the vehicle and the obstacle. Therefore, the distance of the low-beam cutoff line can be adjusted according to the horizontal distance between the vehicle and the obstacle.
[0132] In the following embodiments of the present application, a vehicle is used as an example in which the obstacle ahead is an example to illustrate the process of determining the illumination angle of the HD module.
[0133] Figure 4 A schematic diagram of a scenario for determining the illumination angle of an HD module provided in an embodiment of the present application.
[0134] For example, Figure 4 As shown, vehicle 101 is a moving vehicle located in lane 2, and the distance measuring device in vehicle 101 is a laser radar. Vehicle 102 is an obstacle vehicle in front, located in lane 1. The controller obtains the current oblique distance between vehicle 101 and vehicle 102 as d through the laser radar in vehicle 101, that is, the distance between the vehicle and the obstacle in front required by the embodiment of the present application.
[0135] Based on the angle α (relative position) measured by the laser radar and the trigonometric function relationship, the horizontal distance between the laser radar of vehicle 101 and vehicle 102 is calculated, that is, the component d1 of d perpendicular to the axis of vehicle 101.
[0136] In the embodiment of the present application, the laser radar is installed on the vehicle 101. Therefore, the horizontal distance between the laser radar and the obstacle in front can be approximately considered as the horizontal distance between the vehicle 101 and the obstacle vehicle 102.
[0137] The technicians can pre-set the correspondence between multiple sets of horizontal distances and the illumination angles of the HD module and store them in the controller. After obtaining the horizontal distance between the vehicle and the vehicle in front, the illumination angle of the HD module can be obtained by looking up the table.
[0138] Similarly, for the ADB module on the other side, when realizing the function of dynamically adjusting the low beam cut-off line, the illumination angle of the ADB module can also be obtained in the same manner as above.
[0139] For example, similarly, for the DBL function, the technician can pre-set the correspondence between multiple sets of steering wheel angles and the illumination angles of the HD module. After obtaining the current steering wheel angle, the controller can first determine whether the vehicle's rotation direction is on the same side as the HD module based on the steering wheel angle.
[0140] Among them, for the judgment of the turning direction, in general, when the driver turns the steering wheel to the left, the turning angle collected by the angle sensor is positive; when the driver turns the steering wheel to the right, the turning angle collected by the angle sensor is negative. Therefore, the controller can distinguish whether the vehicle is turning left or right based on the positive or negative steering wheel angle.
[0141] Alternatively, the controller determines whether the left turn signal is currently on or the right turn signal is on based on the acquired state of the turn signal, thereby determining whether the vehicle is turning left or right.
[0142] When the rotation direction and the HD module are on the same side, the controller can look up the table to obtain the illumination angle of the HD module according to the steering wheel angle.
[0143] It should be understood that when the above-mentioned low beam cutoff line function and DBL function are working at the same time, the HD module can determine an illumination angle according to the vehicle and the obstacle in front, and another illumination angle according to the steering wheel angle. The controller can select the smallest illumination angle from the two illumination angles as the illumination angle when the HD module is actually working. The reason is that when the headlights are working, the larger the illumination angle, the longer the illumination distance and the larger the illumination area. Selecting a smaller illumination angle can not only ensure good lighting effects when the vehicle turns, but also ensure that no glare is caused to the vehicle in front.
[0144] In the above technical solution, if the vehicle turns on the auxiliary low beam lamp specifically in the scene where there is an obstacle in front of the vehicle, after turning on the auxiliary low beam lamp, since only one side of the vehicle's headlight is installed with an HD module. Therefore, the vehicle can first determine whether the relative direction between the obstacle and the vehicle is on the same side as the HD module based on the relative direction between the vehicle and the obstacle. For example, the obstacle is in the left front of the vehicle, and the HD module is installed on the left headlight of the vehicle, which means that the obstacle and the HD module are on the same side. In this case, the vehicle can control the HD module to realize the function of dynamically adjusting the low beam cutoff line. Specifically, the vehicle can determine the illumination angle of the HD module based on the distance between the vehicle and the obstacle in front and the relative angle between the vehicle and the obstacle in front. The application scenario of the above HD module can dynamically adjust the low beam cutoff line of the HD module when the HD module is used as a low beam lamp, avoiding glare for pedestrians or vehicles on the opposite side, and ensuring the safety of the vehicle. In another case, when the low beam lamp is turned on, if the vehicle needs to turn during driving, in this case, the HD module and the ADB module can also realize the curve lighting (DBL) function. Similarly, when the vehicle's turning direction is on the same side as the HD module, the vehicle can adaptively adjust the illumination angle of the HD module according to the steering wheel angle. In the above application scenario of the HD module, the vehicle can dynamically adjust the illumination direction of the HD module during the turning process, reduce the lighting blind spot during the turn, and enable the driver to better see the road conditions in the curve.
[0145] The third type: the target vehicle lights are two sets of auxiliary high beam lights, ADB modules and HD modules.
[0146] In a possible implementation, the external parameters further include a relative direction between the obstacle and the vehicle, a distance between the vehicle and the obstacle, and an angle of the obstacle relative to the road; the operating parameters include an illumination angle; and when the target vehicle light includes an HD module, determining the operating parameters of the HD module according to the operating parameters and / or the external parameters includes:
[0147] When the target vehicle lights are the auxiliary high beam lights in the first high and low beam module, the auxiliary high beam lights in the second high and low beam module, the ADB module and the HD module, if the external environment image indicates that there is no obstacle in front of the vehicle, the illumination angle of the HD module is determined to be the second preset illumination angle;
[0148] When the target vehicle lights are the auxiliary high beam in the first high and low beam module, the auxiliary high beam in the second high and low beam module, the ADB module and the HD module, if the external environment image indicates that there is an obstacle in front of the vehicle, determine whether the obstacle and the HD module are on the same side according to the relative direction between the vehicle and the obstacle; when the obstacle and the HD module are on the same side, determine the size of the obstacle according to the distance between the vehicle and the obstacle; determine the target shielding area of the HD module according to the size of the obstacle and the angle of the obstacle relative to the road; and determine the illumination angle of the HD module according to the target shielding area.
[0149] For example, for the angle of the obstacle vehicle relative to the road, the controller can obtain the image of the obstacle vehicle in front of the vehicle through the vehicle's own camera, and estimate the angle of the obstacle vehicle relative to the road through image processing technology; or, the vehicle can also directly obtain the angle of the obstacle vehicle relative to the road from the obstacle vehicle through Vehicle to Everything (V2X) technology.
[0150] When the target lights are the auxiliary high beam lights, ADB modules and HD modules in the two sets of high and low beam modules, if there is no obstacle in front of the vehicle, it means that the HD module does not need adaptive shielding at this time. In this case, the HD module can operate at its maximum illumination angle when realizing the ADB function to achieve the effect of long-distance lighting. The maximum illumination angle is the second preset illumination angle.
[0151] On the contrary, when there is an obstacle in front of the vehicle, and the controller determines that the obstacle and the HD module are on the same side, the controller needs to adaptively shield the illumination area of the HD module. In the process of implementing adaptive shielding, the controller can first obtain the size of the obstacle.
[0152] When obtaining the size of the obstacle, the controller can use the external camera to obtain the pixel size of the obstacle in the external environment image, the distance between the obstacle and the vehicle, the focal length and field of view of the external camera, and estimate the size of the obstacle.
[0153] Specifically, the obstacle size estimation process can be expressed by the following formulas (1)-(2).
[0154]
[0155]
[0156] Wherein, in formulas (1)-(2):
[0157] d: The distance between the vehicle and the obstacle, which is approximately equal to the distance between the light source and the obstacle;
[0158] FOV: the field of view of the camera;
[0159] f: Focal length of the camera.
[0160] Through the above process, the controller can estimate the size of the obstacle. The obstacle size here refers to the size of the obstacle in the two-dimensional plane, without considering the height of the obstacle.
[0161] When calculating the shielding area of the HD module, the controller can calculate the projection area of the obstructing vehicle on the road based on the size of the obstacle and the angle of the obstacle from the road surface.
[0162] Specifically, the projection area of the obstacle vehicle on the road can be calculated by the following formula (3).
[0163] AW×H×cos((αFormula (3)
[0164] Wherein, in formula (3):
[0165] A: The projection area of the obstacle vehicle on the road;
[0166] W: the true width of the obstacle vehicle;
[0167] H: the actual height of the obstacle vehicle;
[0168] α: The angle of the obstacle vehicle relative to the road surface.
[0169] Therefore, through the above formulas (1)-(3), the controller can solve the projection area of the obstacle vehicle on the road.
[0170] Furthermore, the controller may determine the projection area as the target shielding area, or, based on the projection area, appropriately increase a certain margin in the width direction and the length direction to obtain the target shielding area.
[0171] After the target shielding area is obtained, since the size of the HD module shielding area and the illumination angle of the HD module satisfy a corresponding relationship, the controller can obtain the illumination angle of the HD module by looking up the table according to the target shielding area.
[0172] In the above technical solution, when the HD module is used as an ADB light, when there is no obstacle in front of the vehicle, it means that the headlight does not need to be shielded at this time. The HD module can work at the illumination angle when there is no shielding to achieve the best lighting effect. In another scenario, when there is an obstacle in front of the vehicle, if the obstacle and the HD module are on the same side, the vehicle can determine the target shielding area of the HD module according to the size of the obstacle and the angle of the obstacle relative to the road, and determine the illumination angle of the HD module according to the target shielding area. When there is an obstacle in front of the vehicle, the above solution can intelligently adjust the lighting status of the HD module based on the actual position of the obstacle and the vehicle, avoid glare to the obstacle, and ensure the safety of the vehicle.
[0173] 303 , according to the working parameters, controlling the HD module to start and run, so that the HD module can realize the vehicle front projection prompt function, and / or so that the HD module can realize the same function as the ADB module.
[0174] After obtaining the illumination angle of the HD module in different scenes, the controller can determine the lamp beads that need to be turned off among the multiple lamp beads according to the illumination angle to control the operation of the HD module, realize the interactive projection in front of the car and the same functions as the ADB module.
[0175] In summary, the embodiment of the present application provides a method for controlling vehicle lights. When a vehicle light on one side is equipped with an HD module, the vehicle can determine whether it is necessary to control the HD module to turn on according to the external parameters of the vehicle environment or the operating parameters of the vehicle. When it is determined that the HD module needs to be controlled to turn on, the vehicle can further determine the working parameters of the HD module according to the operating parameters and / or external parameters, so that the HD module can realize the interactive projection function and / or the same function as the ADB module during operation. The above process can control the HD module to realize different functions in different driving scenarios. Among them, the HD module realizes the front projection prompt function, such as obstacle prompt, which can improve the safety of the vehicle during driving. In addition, based on the characteristic that the ADB module can automatically adjust the illumination range of the high beam according to the position of the oncoming vehicle, controlling the HD module to work in coordination with the ADB module can optimize the lighting effect of the vehicle, improve the safety and comfort of the vehicle driving at night, and avoid glare to other drivers or pedestrians.
[0176] Figure 5 The schematic diagram of the structure of a device for controlling a vehicle lamp provided in an embodiment of the present application is shown in FIG. One side of the vehicle lamp comprises a set of ADB modules and a first high and low beam module, and the other side of the vehicle lamp comprises a set of HD modules and a second high and low beam module.
[0177] For example, Figure 5 As shown, the device 500 includes:
[0178] A vehicle light determination module 501, configured to determine a target vehicle light to be turned on from the vehicle lights according to an external parameter of the vehicle environment or an operating parameter of the vehicle, wherein the external parameter is used to indicate the current external environment state of the vehicle, and the operating parameter is used to indicate the operating state of the vehicle;
[0179] A parameter determination module 502, configured to determine, when the target vehicle lamp includes the HD module, a working parameter of the HD module according to the operating parameter and / or the external parameter, wherein the working parameter is used to indicate a working state of the HD module after it is turned on;
[0180] The vehicle light control module 503 is used to control the HD module to start and run according to the working parameters, so that the HD module can realize the vehicle front projection prompt function, and / or so that the HD module can realize the same function as the ADB module.
[0181] In one possible implementation, the external parameters include external light intensity, the type of road on which the vehicle is located, and an image of the external environment. The headlight determination module 501 is specifically used to: when the external light intensity is less than a preset intensity, determine the target headlight from the headlights according to the road type or the image of the external environment; and / or, determine whether the vehicle meets a preset projection condition according to the operating parameter or the image of the external environment; when the vehicle meets the preset projection condition, determine that the target headlight is the HD module.
[0182] In one possible implementation, the first high and low beam module and the second high and low beam module each include a group of auxiliary low beam lights and a group of auxiliary high beam lights, and the vehicle light determination module 501 is further used to: when the road type is an urban road or the external environment image indicates that there is an obstacle in front of the vehicle, determine that the target vehicle lights are the auxiliary low beam lights in the first high and low beam module, the auxiliary low beam lights in the second high and low beam module, the ADB module and the HD module; when the road type is a highway or a rural road, determine that the target vehicle lights are the auxiliary high beam lights in the first high and low beam module, the auxiliary high beam lights in the second high and low beam module, the ADB module and the HD module.
[0183] In one possible implementation, the operating parameter includes a steering wheel angle or a state of a turn signal, and the vehicle light determination module 501 is specifically used to perform any of the following: when the steering wheel angle is greater than a preset angle, or the state of the turn signal is on, determining that the vehicle meets the preset projection condition; when the external environment image is used to indicate that there is an obstacle in front of the vehicle, determining that the vehicle meets the preset projection condition.
[0184] In one possible implementation, the working parameters include a projection angle and a projection pattern, and the parameter determination module 502 is specifically used to: when the target headlight is the HD module, determine the turning direction of the vehicle according to the steering wheel angle or the state of the turn signal; determine the projection pattern of the HD module according to the turning direction, and determine the projection angle of the HD module to be a first preset projection angle; when the target headlight is the HD module, perform image recognition on the external environment image to determine the type of the obstacle; determine the projection pattern of the HD module according to the type of the obstacle, and determine the projection angle of the HD module to be the first preset projection angle.
[0185] In a possible implementation, the external parameter also includes the distance between the vehicle and the obstacle, and the relative direction and relative angle between the vehicle and the obstacle, the operating parameter includes the steering wheel angle, the working parameter includes the illumination angle, and the parameter determination module 502 is further used to: when the target headlight is the auxiliary low beam headlight in the first high and low beam module, the auxiliary low beam headlight in the second high and low beam module, the ADB module and the HD module, determine whether the obstacle and the HD module are on the same side according to the relative direction between the vehicle and the obstacle; when the obstacle and the HD module are on the same side, determine whether the obstacle and the HD module are on the same side according to the relative direction between the vehicle and the HD module. The horizontal distance between the vehicle and the obstacle is determined by the distance between the obstacles and the relative angle between the vehicle and the obstacle; the illumination angle of the HD module is determined according to the horizontal distance; and / or, when the target headlight is the auxiliary low beam light in the first high and low beam module, the auxiliary low beam light in the second high and low beam module, the ADB module and the HD module, if the steering wheel angle is greater than the preset angle, determine whether the turning direction of the vehicle is on the same side as the HD module according to the steering wheel angle; when the turning direction is on the same side as the HD module, determine the illumination angle of the HD module according to the steering wheel angle.
[0186] In a possible implementation, the external parameters also include the relative direction between the obstacle and the vehicle, the distance between the vehicle and the obstacle, and the angle of the obstacle relative to the road. The working parameters include the illumination angle. The parameter determination module 502 is also used for: when the target headlight is the auxiliary high beam in the first high and low beam module, the auxiliary high beam in the second high and low beam module, the ADB module, and the HD module, if the external environment image indicates that there is no obstacle in front of the vehicle, determining the illumination angle of the HD module to be the second preset illumination angle; when the target headlight is the first high and low beam module In the case of the auxiliary high beam in the second high and low beam module, the auxiliary high beam in the ADB module and the HD module, if the external environment image indicates that there is the obstacle in front of the vehicle, determine whether the obstacle and the HD module are on the same side according to the relative direction between the vehicle and the obstacle; when the obstacle and the HD module are on the same side, determine the size of the obstacle according to the distance between the vehicle and the obstacle; determine the target shielding area of the HD module according to the size of the obstacle and the angle of the obstacle relative to the road; and determine the illumination angle of the HD module according to the target shielding area.
[0187] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0188] For example, Figure 6 As shown, the vehicle 101 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 6011, and the processor 602 is used to call and execute the executable program code 6011 to perform a method for controlling a vehicle light.
[0189] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to perform a method for controlling a vehicle light provided in an embodiment of the present application.
[0190] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0191] In the case of dividing each functional module according to each function, the device may also include a headlight determination module, a parameter determination module, a headlight control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0192] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method for controlling vehicle lights, and thus can achieve the same effect as the above-mentioned implementation method.
[0193] In the case of 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 may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes, etc.
[0194] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0195] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for controlling vehicle lights provided in the above embodiments.
[0196] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a method for controlling a vehicle light provided in the above embodiment.
[0197] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a method for controlling a vehicle light provided in the above embodiment.
[0198] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0199] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned 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.
[0200] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0201] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for controlling a vehicle light, characterized in that: One side of the headlight comprises a set of ADB modules and a first high and low beam module, and the other side of the headlight comprises a set of HD modules and a second high and low beam module, and the method comprises: Determining a target headlight to be turned on from the headlights according to an external parameter of an environment in which the vehicle is located or an operating parameter of the vehicle, wherein the external parameter is used to indicate a current state of the external environment in which the vehicle is located, and the operating parameter is used to indicate an operating state of the vehicle; In the case where the target vehicle lamp includes the HD module, determining the working parameters of the HD module according to the operating parameters and / or the external parameters, wherein the working parameters are used to indicate the working state of the HD module after it is turned on; According to the working parameters, the HD module is controlled to start and run, so that the HD module can realize the front projection prompt function of the vehicle, and / or so that the HD module can realize the same function as the ADB module.
2. The method according to claim 1, characterized in that The external parameters include external light intensity, the type of road where the vehicle is located, and an image of the external environment of the vehicle. The step of determining the target vehicle light to be turned on from the vehicle lights according to the external parameters of the environment where the vehicle is located or the operating parameters of the vehicle includes: When the external light intensity is less than a preset intensity, determining the target headlight from the headlights according to the road type or the vehicle exterior environment image; and / or, Determine whether the vehicle meets a preset projection condition according to the operating parameter or the external environment image; and determine that the target headlight is the HD module if the vehicle meets the preset projection condition.
3. The method according to claim 2, characterized in that The first high and low beam module and the second high and low beam module each include a group of auxiliary low beam lights and a group of auxiliary high beam lights, and determining the target headlight from the headlights according to the road type or the vehicle exterior environment image includes: When the road type is an urban road or the vehicle exterior environment image indicates that there is an obstacle in front of the vehicle, determining that the target vehicle lights are the auxiliary low beam lights in the first high and low beam modules, the auxiliary low beam lights in the second high and low beam modules, the ADB module, and the HD module; When the road type is a highway or a rural road, the target vehicle lights are determined to be the auxiliary high beam lights in the first high and low beam module, the auxiliary high beam lights in the second high and low beam module, the ADB module and the HD module.
4. The method according to claim 2, characterized in that: The operating parameter includes a steering wheel angle or a state of a turn signal, and determining whether the vehicle meets a preset projection condition based on the operating parameter or the external environment image includes any one of the following: When the steering wheel angle is greater than a preset angle, or the turn signal lamp is turned on, determining that the vehicle meets the preset projection condition; In a case where the vehicle exterior environment image is used to indicate that an obstacle exists in front of the vehicle, it is determined that the vehicle meets a preset projection condition.
5. The method according to claim 4, characterized in that The working parameters include a projection angle and a projection pattern, and determining the working parameters of the HD module according to the operating parameters and / or the external parameters includes: In the case where the target vehicle light is the HD module, determining the rotation direction of the vehicle according to the steering wheel angle or the state of the turn signal; determining the projection pattern of the HD module according to the rotation direction, and determining the projection angle of the HD module to be a first preset projection angle; In the case where the target vehicle light is the HD module, image recognition is performed on the external environment image to determine the type of the obstacle; based on the type of the obstacle, the projection pattern of the HD module is determined, and the projection angle of the HD module is determined to be the first preset projection angle.
6. The method according to claim 3, characterized in that The external parameters further include the distance between the vehicle and the obstacle, and the relative direction and angle between the vehicle and the obstacle, the operating parameters include the steering wheel angle, and the working parameters include the illumination angle. When the target vehicle light includes the HD module, determining the working parameters of the HD module according to the operating parameters and / or the external parameters includes: In the case where the target vehicle light is the auxiliary low beam light in the first high and low beam module, the auxiliary low beam light in the second high and low beam module, the ADB module and the HD module, determine whether the obstacle and the HD module are on the same side according to the relative direction between the vehicle and the obstacle; in the case where the obstacle and the HD module are on the same side, determine the horizontal distance between the vehicle and the obstacle according to the distance between the vehicle and the obstacle and the relative angle between the vehicle and the obstacle; determine the illumination angle of the HD module according to the horizontal distance; and / or, In a case where the target vehicle lights are the auxiliary low beam lights in the first high and low beam module, the auxiliary low beam lights in the second high and low beam module, the ADB module and the HD module, if the steering wheel angle is greater than a preset angle, determine whether the turning direction of the vehicle is on the same side as the HD module according to the steering wheel angle; in a case where the turning direction is on the same side as the HD module, determine the illumination angle of the HD module according to the steering wheel angle.
7. The method according to claim 3, characterized in that The external parameters further include a relative direction between the obstacle and the vehicle, a distance between the vehicle and the obstacle, and an angle of the obstacle relative to the road; the operating parameters include an illumination angle; and when the target vehicle light includes the HD module, determining the operating parameters of the HD module according to the operating parameters and / or the external parameters includes: In a case where the target vehicle lamp is an auxiliary high beam lamp in the first high and low beam module, an auxiliary high beam lamp in the second high and low beam module, the ADB module and the HD module, if the vehicle exterior environment image indicates that there is no obstacle in front of the vehicle, determining that the illumination angle of the HD module is a second preset illumination angle; In the case where the target vehicle lights are the auxiliary high beam lights in the first high and low beam module, the auxiliary high beam lights in the second high and low beam module, the ADB module and the HD module, if the external environment image indicates that the obstacle exists in front of the vehicle, determine whether the obstacle and the HD module are on the same side according to the relative direction between the vehicle and the obstacle; in the case where the obstacle and the HD module are on the same side, determine the size of the obstacle according to the distance between the vehicle and the obstacle; determine the target shielding area of the HD module according to the size of the obstacle and the angle of the obstacle relative to the road; and determine the illumination angle of the HD module according to the target shielding area.
8. A device for controlling a vehicle light, characterized in that: The headlight on one side of the headlight comprises a set of ADB modules and a first high and low beam module, and the headlight on the other side of the headlight comprises a set of HD modules and a second high and low beam module. The device comprises: A vehicle light determination module, used to determine a target vehicle light to be turned on from the vehicle lights according to an external parameter of the vehicle environment or an operating parameter of the vehicle, wherein the external parameter is used to indicate the current external environment state of the vehicle, and the operating parameter is used to indicate the operating state of the vehicle; a parameter determination module, configured to determine, when the target vehicle lamp includes the HD module, a working parameter of the HD module according to the operating parameter and / or the external parameter, wherein the working parameter is used to indicate a working state of the HD module after it is turned on; The vehicle light control module is used to control the HD module to start and run according to the working parameters, so that the HD module can realize the front projection prompt function, and / or so that the HD module can realize the same function as the ADB module.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory so that the vehicle executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.
