Vehicle lamp control method, vehicle lamp controller, and storage medium
By using array light source and environmental information perception technology in the vehicle, target pictures are generated to control the brightness of the light source of the headlights, the problem of single traditional headlight control methods is solved, and more refined and efficient lighting control is achieved.
Patent Information
- Application Number
- PCT/CN2024/129753
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-20
- Filing Date
- 2024-11-04
- Publication Date
- 2025-06-26
AI Technical Summary
The traditional headlight control method is single, resulting in poor lighting experience and the inability to finely control the brightness of the headlights.
An array light source with multiple point light sources is adopted to obtain vehicle environment information, determine the headlight control mode, and generate a target picture to control the brightness of each point light source.
It realizes the refinement of headlight control, enriches the control methods of headlights, optimizes the lighting experience, and improves driving safety.
Smart Images

Figure CN2024129753_26062025_PF_FP_ABST
Abstract
Description
Vehicle light control method, vehicle light controller and storage medium
[0001] This application claims priority to a patent application filed with the Patent Office of China on December 20, 2023, with application number 202311769134.5 and invention name “Vehicle Light Control Method, Vehicle Light Controller and Storage Medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of automotive technology, and in particular to a vehicle light control method, a vehicle light controller, and a storage medium. Background Art
[0003] With the popularization of vehicles, driving safety is becoming more and more important, especially in driving environments with poor lighting. Improving the brightness of the vehicle's driving environment through headlights has become an important way to ensure vehicle driving safety.
[0004] In related technologies, conventional headlights are used to enhance the brightness of a vehicle's driving environment. These headlights are typically manually controlled by the driver. Accordingly, upon receiving a driver's light-on command, the headlights are turned on; upon receiving a driver's light-off command, the headlights are turned off.
[0005] In the above-mentioned related technologies, the brightness of the vehicle's driving environment can only be ensured to meet the brightness required for driving safety by the driver turning on or off the headlights. The control method of the headlights is single and the refined control of the headlights is insufficient, resulting in a poor lighting experience.
[0006] Summary of the Invention
[0007] The purpose of this application is to provide a vehicle light control method, a vehicle light controller and a storage medium, aiming to solve the problem of poor lighting experience in the traditional vehicle light control process.
[0008] A first aspect of an embodiment of the present application provides a method for controlling a vehicle lamp, wherein the vehicle lamp is an array light source including a plurality of point light sources, and the method includes:
[0009] During the driving process of the vehicle, environmental information of the driving environment of the vehicle is obtained;
[0010] determining a vehicle light control mode that matches the environmental information;
[0011] generating a target image according to the vehicle light control mode, wherein each pixel of the target image corresponds to a point light source in the array light source;
[0012] According to the grayscale value of each pixel in the target image, the brightness of the point light source corresponding to each pixel is controlled.
[0013] In an embodiment of the present application, the headlight control mode is determined by environmental information, and then under different headlight control modes, a grayscale image is generated to control the brightness of the point light source in the headlight. In this way, the brightness of each point light source is controlled by the grayscale value of the pixel point in the grayscale image, and the control of the headlight is refined to the point light source, which enriches the control method of the headlight and optimizes the lighting experience.
[0014] In some embodiments, generating a target image according to the vehicle light control mode includes:
[0015] Acquiring headlight control data according to the headlight control mode, wherein the headlight control data is data related to factors affecting control of the headlight under the headlight control mode;
[0016] determining the lighting area and lighting brightness of the headlight according to the headlight control data;
[0017] Determine the grayscale value of each pixel in the target image based on the lighting area and lighting brightness of the vehicle lamp.
[0018] In this implementation, in different car light control modes, different lighting brightness is set for different lighting areas, so that the car lights are controlled by the lighting brightness corresponding to different lighting areas in the target image, thereby achieving precise control of the point light sources in the light source array and improving the lighting experience.
[0019] In some embodiments, the vehicle light control mode is an anti-reflective mode;
[0020] The acquiring of vehicle light control data according to the vehicle light control mode includes:
[0021] In the anti-reflective mode, obtaining position information of a reflective road surface and an area of the reflective road surface;
[0022] Accordingly, determining the lighting area and lighting brightness of the headlight according to the headlight control data includes:
[0023] determining a first illumination area where light emitted by the array light source will be reflected based on the position information of the reflective road surface and the area of the reflective road surface;
[0024] The illumination brightness of the point light source in the first illumination area is reduced by a first brightness threshold.
[0025] In this implementation, by activating the anti-reflective mode in bad weather and identifying the position information and area of the reflective road surface in front of the vehicle, the overall lighting brightness of the vehicle is maintained while reducing the brightness of the point light source corresponding to the first lighting area that emits reflected light, thereby reducing the light irradiated on the reflective road surface, preventing the reflective road surface from generating light spots, and further preventing the driver's vision from being affected, thereby improving the lighting experience in bad weather.
[0026] In some embodiments, the vehicle light control mode is an energy-saving mode;
[0027] The acquiring of vehicle light control data according to the vehicle light control mode includes:
[0028] In the energy-saving mode, obtaining the brightness of the driving environment;
[0029] Accordingly, determining the lighting area and lighting brightness of the headlight according to the headlight control data includes:
[0030] determining a second lighting area in the lighting area in the energy-saving mode, wherein the second lighting area is a low-beam area;
[0031] According to the brightness of the driving environment, the illumination brightness of the point light sources in the second illumination area is reduced by a second brightness threshold.
[0032] In this implementation, by starting the energy-saving mode under good lighting conditions and reducing the vehicle's lighting brightness, the vehicle's lighting brightness is reduced while ensuring the vehicle's safe driving brightness, thereby reducing the power of the headlights and achieving energy-saving effects.
[0033] In some embodiments, the vehicle light control mode is a high-speed mode;
[0034] The acquiring of vehicle light control data according to the vehicle light control mode includes:
[0035] In the high-speed mode, obtaining the driving speed of the vehicle;
[0036] Accordingly, determining the lighting area and lighting brightness of the headlight according to the headlight control data includes:
[0037] determining a third lighting area in the lighting area in the high-speed mode, wherein the third lighting area is a low-beam area;
[0038] Dividing the third lighting area into a first sub-area and a second sub-area according to the driving speed, wherein the first sub-area is a lighting area whose illumination range is within a preset distance from the vehicle head, and the second sub-area is a lighting area whose illumination range is outside the preset distance from the vehicle head, and the proportion of the second sub-area in the third lighting area is positively correlated with the driving speed;
[0039] The illumination brightness of the point light sources in the first sub-area is increased by a third brightness threshold, and the brightness of the point light sources in the second sub-area is increased by a fourth brightness threshold, wherein the fourth brightness threshold is greater than the third brightness threshold.
[0040] In this implementation, when the vehicle is traveling on a highway, the high-speed mode is activated to increase the overall brightness of the low beam, and the brightness of the far end of the low beam is further increased, so that the driver can promptly detect emergencies in the road conditions far end of the low beam, thereby reserving more reaction time for the driver and improving driving safety.
[0041] In some embodiments, the vehicle light control mode is an enhanced high beam mode;
[0042] The acquiring of vehicle light control data according to the vehicle light control mode includes:
[0043] In the enhanced high beam mode, obtaining the driving environment brightness;
[0044] Accordingly, determining the lighting area and lighting brightness of the headlights according to the headlight control data includes:
[0045] Determine a fourth lighting area and a fifth lighting area of the lighting area in the enhanced high beam mode, wherein the fourth lighting area is a low beam area and the fifth lighting area is a high beam area;
[0046] Maintaining the brightness of the point light source in the fourth lighting area unchanged;
[0047] According to the driving environment brightness, the illumination brightness of the point light source in the fifth illumination area is increased by a sixth brightness threshold.
[0048] In this implementation, by starting the enhanced high beam mode when there is no external lighting and no other vehicles on the road, the vehicle's far-end lighting brightness is increased, thereby meeting the driver's lighting needs and improving driving safety.
[0049] In some embodiments, determining a vehicle light control mode that matches the environmental information includes:
[0050] If the environmental information indicates that the current road surface is a flooded road surface, or the environmental information indicates that it is raining weather, determining that the vehicle light control mode is an anti-reflective mode; or,
[0051] If the environmental information indicates that the brightness of the current driving environment is greater than a first preset brightness, determining that the vehicle light control mode is an energy-saving mode; or
[0052] If the environmental information indicates that the current driving road is a highway and the vehicle speed is greater than a first preset speed, determining that the headlight control mode is a high-speed mode; or,
[0053] If the environmental information indicates that the brightness of the current driving environment is less than a second preset brightness, and the speed of the vehicle is greater than the second preset speed, it is determined that the headlight control mode is the enhanced high beam mode.
[0054] In this implementation, different headlight control modes are used to control the headlights based on different environmental information, so that the headlight control system can switch to the most suitable headlight control mode according to the environmental information, thereby improving the accuracy of headlight control.
[0055] In some embodiments, controlling the brightness of the point light source corresponding to each pixel point in the target image according to the grayscale value of each pixel point includes:
[0056] Analyze the target image to obtain the grayscale value of each pixel;
[0057] Determine the point light source corresponding to each pixel point according to the position of the pixel point in the target image;
[0058] Determining the brightness corresponding to the grayscale value of the pixel point from a preset correspondence between grayscale value and brightness;
[0059] The point light source corresponding to the pixel is controlled to light up at a brightness corresponding to the grayscale value of the pixel.
[0060] In this implementation, the brightness of the corresponding point light source is determined by the grayscale value of the pixel in the target image, thereby achieving precise control of the point light sources in the light source array and improving the lighting experience.
[0061] A second aspect of an embodiment of the present application provides a vehicle light control device, wherein the vehicle light is an array light source including a plurality of point light sources, and the device includes:
[0062] An acquisition unit, configured to acquire environmental information of a driving environment of the vehicle while the vehicle is driving;
[0063] a determination unit, configured to determine a vehicle light control mode that matches the environmental information;
[0064] A generating unit, configured to generate a target image according to the vehicle light control mode, wherein each pixel of the target image corresponds to a point light source in the array light source;
[0065] A control unit is used to control the brightness of the point light source corresponding to each pixel point according to the grayscale value of each pixel point in the target image.
[0066] In some embodiments, the generating unit is used to obtain headlight control data according to the headlight control mode, where the headlight control data is relevant data of the influencing factors of controlling the headlight under the headlight control mode; determine the lighting area and lighting brightness of the headlight according to the headlight control data; and determine the grayscale value of each pixel in the target image according to the lighting area and lighting brightness of the headlight.
[0067] In some embodiments, the vehicle light control mode is an anti-reflective mode;
[0068] The generating unit is configured to obtain, in the anti-reflective mode, position information of a reflective road surface and an area of the reflective road surface; determine, based on the position information of the reflective road surface and the area of the reflective road surface, a first illumination area where light emitted from the array light source will be reflected; and reduce the illumination brightness of the point light source in the first illumination area by a first brightness threshold.
[0069] In some embodiments, the vehicle light control mode is an energy-saving mode;
[0070] The generating unit is used to obtain the brightness of the driving environment in the energy-saving mode; determine a second lighting area in the lighting area in the energy-saving mode, where the second lighting area is a low beam area; and reduce the lighting brightness of the point light source in the second lighting area by a second brightness threshold according to the brightness of the driving environment.
[0071] In some embodiments, the vehicle light control mode is a high-speed mode;
[0072] The generating unit is configured to obtain the driving speed of the vehicle in the high-speed mode; determine a third lighting area in the lighting area in the high-speed mode, wherein the third lighting area is a low-beam area; divide the third lighting area into a first sub-area and a second sub-area according to the driving speed, wherein the first sub-area is a lighting area whose illumination range is within a preset distance from the front of the vehicle, and the second sub-area is a lighting area whose illumination range is outside the preset distance from the front of the vehicle, and the proportion of the second sub-area in the third lighting area is positively correlated with the driving speed; and increase the illumination brightness of the point light source in the first sub-area by a third brightness threshold, and increase the brightness of the point light source in the second sub-area by a fourth brightness threshold, wherein the fourth brightness threshold is greater than the third brightness threshold.
[0073] In some embodiments, the vehicle light control mode is an enhanced high beam mode;
[0074] The generation unit is used to obtain the brightness of the driving environment in the enhanced high beam mode; determine the fourth lighting area and the fifth lighting area of the lighting area in the enhanced high beam mode, the fourth lighting area being the low beam area, and the fifth lighting area being the high beam area; maintain the brightness of the point light source in the fourth lighting area unchanged; and increase the lighting brightness of the point light source in the fifth lighting area by a sixth brightness threshold according to the brightness of the driving environment.
[0075] In some embodiments, the determining unit is configured to determine that the vehicle light control mode is an anti-reflective mode if the environmental information indicates that the current road surface is a flooded road surface, or if the environmental information indicates that it is currently raining; or
[0076] The determining unit is configured to determine that the vehicle light control mode is the energy-saving mode if the environmental information indicates that the brightness of the current driving environment is greater than a first preset brightness; or
[0077] The determining unit is configured to determine that the headlight control mode is a high-speed mode if the environmental information indicates that the current driving road is a highway and the vehicle speed is greater than a first preset speed; or
[0078] The determining unit is configured to determine that the vehicle light control mode is the enhanced high beam mode if the environmental information indicates that the brightness of the current driving environment is less than a second preset brightness and the vehicle speed is greater than the second preset speed.
[0079] In some embodiments, the control unit is used to parse the target image to obtain the grayscale value of each pixel; determine the point light source corresponding to the pixel based on the position of each pixel in the target image; determine the brightness corresponding to the grayscale value of the pixel from a preset correspondence between grayscale value and brightness; and control the point light source corresponding to the pixel to light up with the brightness corresponding to the grayscale value of the pixel.
[0080] A third aspect of an embodiment of the present application provides a vehicle light controller, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the vehicle light control method described above when executing the computer program.
[0081] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle light control method described above is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] FIG1 shows a schematic diagram of a vehicle light control system involved in a vehicle light control method provided by an exemplary embodiment;
[0083] FIG2 shows a schematic diagram of a vehicle light control system involved in a vehicle light control method provided by an exemplary embodiment;
[0084] FIG3 shows a schematic structural diagram of an array light source provided by an exemplary embodiment;
[0085] FIG4 is a schematic flow chart showing a vehicle light control method provided by an exemplary embodiment;
[0086] FIG5 is a schematic flow chart showing a vehicle light control method provided by an exemplary embodiment;
[0087] FIG6 shows a schematic diagram of a target image provided by an exemplary embodiment;
[0088] FIG7 is a schematic diagram showing an illumination effect provided by an exemplary embodiment;
[0089] FIG8 is a schematic flow chart showing a method for controlling a vehicle light provided by an exemplary embodiment;
[0090] FIG9 shows a schematic diagram of a target image provided by an exemplary embodiment;
[0091] FIG10 is a schematic diagram showing an illumination effect provided by an exemplary embodiment;
[0092] FIG11 is a schematic flow chart showing a vehicle light control method provided by an exemplary embodiment;
[0093] FIG12 is a schematic diagram showing a target image provided by an exemplary embodiment;
[0094] FIG13 is a schematic diagram showing an illumination effect provided by an exemplary embodiment;
[0095] FIG14 is a schematic flow chart showing a vehicle light control method provided by an exemplary embodiment;
[0096] FIG15 is a schematic diagram showing a target image provided by an exemplary embodiment;
[0097] FIG16 is a schematic diagram showing an illumination effect provided by an exemplary embodiment;
[0098] FIG17 shows a schematic structural diagram of a vehicle light control device provided by an exemplary embodiment;
[0099] FIG18 is a schematic structural diagram of a vehicle light controller provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0100] In order to make the technical problems, technical solutions and beneficial effects to be solved by this application more clearly understood, this application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0101] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. Throughout the description of this application, "plurality" means two or more, unless otherwise specifically defined.
[0102] With the popularization of vehicles, driving safety has become increasingly important, especially in driving environments with poor lighting. Improving the brightness of the driving environment through headlights has become an important way to ensure vehicle driving safety.
[0103] In the related art, traditional headlights are used to increase the brightness of the vehicle's driving environment. These headlights are generally manually controlled by the driver. Accordingly, upon receiving the driver's instruction to turn on the lights, the headlights are turned on; upon receiving the driver's instruction to turn off the lights, the headlights are turned off. In this way, the brightness of the vehicle's driving environment can only be guaranteed to meet driving safety standards by the driver turning the lights on or off, and the control method for the headlights is single. Furthermore, since these traditional headlights generally use light-emitting diodes (LEDs) as light sources, and are limited by the technology of the LEDs themselves, the lighting area of the headlights can only be turned on and off over a large area. Therefore, refined control of the headlights is insufficient. In summary, traditional headlights provide a poor lighting experience.
[0104] To solve the above technical problems, the embodiments of the present application provide a vehicle light control method, a vehicle light controller, and a storage medium. By adopting a new type of micro-LED (Micro LED) as the light source of the vehicle light, taking advantage of the characteristics of Micro LED having multiple point light sources and each point light source being independently controllable, and combining it with the vehicle perception system, different vehicle light control modes can be switched in different environments. Therefore, in different vehicle light control modes, different environmental information is used to control each point light source in the vehicle light to achieve illumination, so that the vehicle light can switch control modes according to different environments, enriching the control methods of the vehicle light. In addition, since Micro LED is used as the array light source of the vehicle light, the vehicle light control can be refined to each light source, thereby improving the lighting experience.
[0105] Please refer to Figure 1, which shows a headlight control system involved in the headlight control method provided in an embodiment of the present application. The headlight control system includes a vehicle perception system 10, a domain controller 20, a headlight controller 30, and headlights 40. The vehicle perception system 10 is connected to the domain controller 20, the domain controller 20 is connected to the headlight controller 30, and the headlight controller 30 is connected to the headlight 40.
[0106] The vehicle perception system 10 is used to collect environmental information about the vehicle's driving environment and transmit this environmental information to the domain controller 20. The vehicle perception system 10 includes multiple environmental sensors, each of which is used to collect different environmental information about the vehicle's driving environment. The number and type of environmental sensors in the environmental perception system can be set based on the type of environmental information to be collected. For example, the environmental perception system may include a camera, a rain sensor, a light sensor, a speed sensor, and the like.
[0107] The domain controller 20 is used to receive environmental information sent by the vehicle perception system 10, determine the headlight control mode that matches the environmental information, generate headlight control information according to the headlight control mode, and send the headlight control signal to the headlight controller 30 via a variable-speed controller area network bus (CAN with Flexible Data rate, CAN FD, where CAN is a Controller Area Network) or Ethernet.
[0108] The headlight controller 30 is used to receive the headlight control signal sent by the domain controller 20, generate a target icon according to the headlight control signal, and send the target image to the headlight 40. The headlight 40 determines the brightness of each point light source by analyzing the target image, thereby controlling each point light source to emit light.
[0109] In some embodiments, the headlight 40 includes a Micro LED module and an adaptive driving beam (ADB) module that integrates high and low beams. Referring to Figure 2, the headlight controller 30 includes a high-definition headlight controller 30 for controlling the Micro LED module and a headlight controller 30 for controlling the ADB module. The domain controller 20 sends headlight control signals to the high-definition headlight controller 30 and the headlight controller 30, respectively. The high-definition headlight controller 30 generates a target image based on the headlight control signal and sends the target image to the Micro LED module via a differential signal transmission (Low-Voltage Differential Signaling, LVDS) line. After receiving the target image, the Micro LED module decodes the target image through the Micro LED chip in the Micro LED module, converts the grayscale value of each pixel in the target image into the brightness of the corresponding point light source, and then controls the light emission of each point light source. The headlight controller 30 determines whether high beam or low beam lighting is currently being used based on the headlight control signal, and then controls the light emission of the ADB module.
[0110] One thing that needs to be explained is that the number of point light sources in the Micro LED module can be set as needed. In the embodiment of the present application, the number of point light sources in the Micro LED module is not specifically limited. For example, referring to Figure 3, the Micro LED module can be a Micro LED module including 25,600 independently controllable point light sources. The array light source in the Micro LED module can illuminate within a preset range. For example, it illuminates within a range of 15 degrees to the left and right, 2 degrees horizontally and 4 degrees below. In addition, in the embodiment of the present application, a Micro LED module of a headlight 40 is used as an example for explanation. Any number of Micro LED modules can be set in the vehicle as needed. For example, a vehicle can set Micro LED modules in each of the two headlights, that is, the whole vehicle uses 51,200 point light sources as headlights.
[0111] The following specifically introduces the vehicle light control method provided by an embodiment of the present application. Referring to FIG4 , a flow chart of the vehicle light control method provided by an embodiment of the present application is shown. The method is applied to the above-mentioned vehicle light control system.
[0112] S401: During the driving of a vehicle, a headlight control system obtains environmental information of the driving environment of the vehicle.
[0113] The environmental information includes road condition information, rainfall information, wiper operation information, driving environment brightness, vehicle speed, etc. The road condition information includes the humidity or water accumulation of the road in front of the vehicle; the rainfall information includes the rainfall amount; and the wiper operation information includes the duration of the wiper operation.
[0114] The headlight control system can use different environmental sensors in the environmental perception system to obtain different environmental information. For example, the headlight control system can use a camera to capture images of the road ahead of the vehicle and perform image processing on the captured images to obtain road condition information. The headlight control system can obtain rainfall information from a rain sensor. The headlight control system can obtain wiper operation information from a wiper controller. The headlight control system can obtain driving environment brightness from a light sensor. The headlight control system can obtain vehicle speed from a speed sensor. In the embodiments of this application, the type and method of obtaining environmental information by the headlight control system are not specifically limited.
[0115] S402: The vehicle light control system determines a vehicle light control mode that matches the environmental information.
[0116] The headlight control mode can be set based on development needs. In the embodiments of this application, the type and number of headlight control modes are not specifically limited. For example, the headlight control mode may include at least one of an anti-reflective mode, an energy-saving mode, a high-speed mode, and an enhanced high-beam mode. The headlight control system analyzes the acquired environmental information and, based on preset trigger conditions corresponding to different headlight control modes, determines a headlight control mode that matches the environmental information.
[0117] S403: The vehicle light control system generates a target image according to the vehicle light control mode, where each pixel of the target image corresponds to a point light source in the array light source.
[0118] The number of pixels in the target image can be set according to the number of point light sources. For example, the array light source has 25,600 point light sources. Then the target image can be set to a picture with 320 pixels horizontally and 80 pixels vertically according to the position of the point light sources in the array light source. The grayscale value of each pixel in the target image represents the brightness of the point light source corresponding to the pixel. The headlight control system obtains the headlight control data according to different headlight control modes, determines the grayscale value of each pixel in the target image according to the headlight control data, and obtains the target image. This process can be implemented by the following steps, including:
[0119] The headlight control system obtains headlight control data based on the headlight control mode. The headlight control data is data related to factors affecting the headlight control under the headlight control mode. Based on the headlight control data, the headlight control system determines the lighting area and lighting brightness of the headlight. Based on the lighting area and lighting brightness of the headlight, the control system determines the grayscale value of each pixel in the target image.
[0120] Among them, the brightness of the point light source can be adjusted according to a percentage, that is, 0-100%. Correspondingly, the grayscale value of the pixel point 0-255 is divided into 0-100 to obtain the brightness of each grayscale value, and then the brightness of each point light source is adjusted according to the grayscale value of the pixel point in the target image.
[0121] In this implementation, in different car light control modes, different lighting brightness is set for different lighting areas, so that the car lights are controlled by the lighting brightness corresponding to different lighting areas in the target image, thereby achieving precise control of the point light sources in the light source array and improving the lighting experience.
[0122] S404: The vehicle light control system controls the brightness of the point light source corresponding to each pixel according to the grayscale value of each pixel in the target image.
[0123] The lighting control system maps pixels in the target image to the positions of point light sources in the array light source. Therefore, based on the grayscale value of each pixel in the target image, the lighting control system determines the brightness of the point light source at the corresponding position. This process includes: the lighting control system analyzes the target image to obtain the grayscale value of each pixel; determines the point light source corresponding to each pixel based on its position in the target image; determines the brightness corresponding to the pixel's grayscale value based on a preset grayscale-brightness correspondence; and controls the point light source corresponding to the pixel to illuminate at the brightness corresponding to the pixel's grayscale value.
[0124] In this implementation, the brightness of the corresponding point light source is determined by the grayscale value of the pixel in the target image, thereby achieving precise control of the point light sources in the light source array and improving the lighting experience.
[0125] In an embodiment of the present application, the headlight control mode is determined by environmental information, and then under different headlight control modes, a grayscale image is generated to control the brightness of the point light source in the headlight. In this way, the brightness of each point light source is controlled by the grayscale value of the pixel point in the grayscale image, and the control of the headlight is refined to the point light source, which enriches the control method of the headlight and optimizes the lighting experience.
[0126] The following describes in detail the process of obtaining headlight control data and determining the lighting area based on the headlight control data in different headlight control modes.
[0127] In one implementation, when the road is flooded during rainy days or after rain, the accumulated water at a preset distance from the front of the vehicle will reflect the light emitted by the headlights. As a result, there will be obvious bright spots in the water-logged area, which will affect the driver's vision and affect driving safety. In order to reduce the brightness of the reflection of the accumulated water and maintain the brightness of the entire vehicle, the present application provides an anti-reflective mode headlight control mode. Accordingly, if the environmental information indicates that the current road surface is flooded, or the environmental information indicates that it is currently raining, the headlight control mode is determined to be anti-reflective mode. The preset distance has different values depending on the vehicle model, and is generally 15-30 meters.
[0128] Among them, the headlight control system analyzes the acquired road condition information, rainfall information, wiper operation information and other information to determine whether the environmental information meets the environmental information corresponding to the anti-reflective mode. Accordingly, the headlight control system performs image analysis on the image of the road surface in front of the vehicle included in the road condition information to determine whether the current road surface is a flooded road surface. If the image of the road surface in front of the vehicle includes accumulated water, the current road surface is determined to be a flooded road surface. If the rainfall information indicates that the current weather is raining and the wiper operation information indicates that the wiper operation time is greater than the preset operation time, it is determined that the current weather is raining. Among them, the preset operation time can be set as needed. In the embodiment of the present application, the preset operation time is not specifically limited. For example, the preset operation time is 2 minutes, 3 minutes or 5 minutes, etc. If the environmental information indicates that the current road surface is a flooded road surface, or the environmental information indicates that the current weather is raining, it means that there is accumulated water on the road surface where the vehicle is traveling, which may cause reflection, and the headlights can adopt the anti-reflective mode.
[0129] In the anti-reflective mode, the vehicle light control system controls the brightness of the vehicle light by the following method: Referring to FIG5 , it shows a vehicle light control method in the anti-reflective mode provided by an embodiment of the present application.
[0130] S501: During the driving of a vehicle, a headlight control system obtains environmental information of the driving environment of the vehicle.
[0131] The principle of this step is the same as that of step S401 and will not be repeated here.
[0132] S502: The vehicle light control system determines a vehicle light control mode that matches the environmental information.
[0133] The principle of this step is the same as that of step S402 and will not be repeated here.
[0134] S503: The vehicle light control system obtains position information and area of the reflective road surface in the anti-reflective mode.
[0135] The headlight control system can obtain the position information and area of the reflective road surface by performing image analysis on the collected image of the road surface in front of the vehicle. In the embodiment of the present application, the process by which the headlight control system obtains the position information and area of the reflective road surface is not specifically limited.
[0136] It should be noted that this step can be performed by a high-definition headlight controller in the headlight control system. Accordingly, when the high-definition headlight controller receives a headlight control signal corresponding to the anti-reflective mode, it obtains the position information and area of the reflective road surface in the anti-reflective mode. This step can also be implemented by a domain controller in the headlight control system. Accordingly, when the domain controller determines that the anti-reflective mode is currently being used, it obtains the position information and area of the reflective road surface in the anti-reflective mode, and sends the position information and area of the reflective road surface to the high-definition headlight controller. In the embodiments of the present application, the specific execution device of this step is not specifically limited.
[0137] S504: The vehicle light control system determines, in the anti-reflection mode, a first illumination area where light emitted from the array light source will be reflected based on the position information of the reflective road surface and the area of the reflective road surface.
[0138] The vehicle light control system determines the first illumination area where the light emitted from the array light source will be reflected, corresponding to the position information and area of the reflective road surface, according to the light reflection law.
[0139] S505: The vehicle light control system reduces the illumination brightness of the point light source in the first illumination area by a first brightness threshold.
[0140] The first brightness threshold can be set as needed. In the embodiment of the present application, the first brightness threshold is not specifically limited. For example, the first brightness threshold can be 50%, 45%, or 30%. It should be noted that the first brightness threshold can also be represented by a grayscale value. In the embodiment of the present application, this is not specifically limited. If the first brightness threshold is greater than or equal to the original brightness of the point light source in the first lighting area, it means that the point light source in the first lighting area is extinguished.
[0141] S506: The vehicle light control system determines the grayscale value of each pixel in the target image according to the lighting area and lighting brightness of the vehicle light.
[0142] For example, see Figure 6, which shows a target image. The target image includes a first lighting area, a fifth lighting area, and a sixth lighting area. The fifth lighting area is the high beam area, and its corresponding point light source is not illuminated. The sixth lighting area is the normally illuminated area of the low beam, and its corresponding point light source is normally illuminated. Based on the position information and area of the reflective road surface, the first lighting area is set to the center of the sixth lighting area.
[0143] One thing that needs to be explained is that for the lighting brightness of the point light source corresponding to the sixth lighting area, the car light control system can keep the lighting brightness of the point light source in the sixth lighting area unchanged, and the car light control system can also increase the lighting brightness of the point light source in the first lighting area to ensure the overall lighting effect of the car light.
[0144] S507 , the vehicle light control system controls the brightness of the point light source corresponding to each pixel according to the grayscale value of each pixel in the target image.
[0145] The principle of this step is the same as that of step S404 and will not be repeated here.
[0146] Refer to Figure 7, which shows a schematic diagram of the lighting effect produced by controlling the vehicle headlights in anti-reflective mode. The shaded portion corresponds to the lighting effect produced by the first lighting zone, i.e., a reduced-brightness lighting effect, and the blank area within the curve represents the lighting effect produced by the sixth lighting zone, i.e., a normal lighting effect.
[0147] In this implementation, by activating the anti-reflective mode in bad weather and identifying the position information and area of the reflective road surface in front of the vehicle, the overall lighting brightness of the vehicle is maintained while reducing the brightness of the point light source corresponding to the first lighting area that emits reflected light, thereby reducing the light irradiated on the reflective road surface, preventing the reflective road surface from generating light spots, and further preventing the driver's vision from being affected, thereby improving the lighting experience in bad weather.
[0148] In one implementation, under well-lit road conditions, such as on well-lit urban roads, the good lighting eliminates the need for high-brightness illumination to ensure safe vehicle driving. Therefore, to conserve vehicle energy, embodiments of the present application provide an energy-saving headlight control mode. Accordingly, if the environmental information indicates that the brightness of the current driving environment is greater than a first preset brightness, the headlight control mode is determined to be the energy-saving mode.
[0149] Among them, the headlight control system can obtain the brightness of the driving environment through the picture of the driving environment captured by the camera and the light sensor, and compare the driving environment brightness with the first preset brightness. If the driving environment brightness is greater than the first preset brightness, it is determined that the lighting of the vehicle's current driving environment is good, and the headlights can adopt energy-saving mode.
[0150] In the energy-saving mode, the vehicle light control system controls the brightness of the vehicle lights by the following method: Referring to FIG8 , a vehicle light control method in the energy-saving mode provided by an embodiment of the present application is shown.
[0151] S801: During the driving of a vehicle, a headlight control system obtains environmental information of the driving environment of the vehicle.
[0152] The principle of this step is the same as that of step S401 and will not be repeated here.
[0153] S802: The vehicle light control system determines a vehicle light control mode that matches the environmental information.
[0154] The principle of this step is the same as that of step S402 and will not be repeated here.
[0155] S803: The vehicle light control system obtains the brightness of the driving environment in the energy-saving mode.
[0156] The vehicle lighting control system obtains the brightness of the driving environment through the light sensor.
[0157] It should be noted that this step can be performed by a high-definition headlight controller in the headlight control system. Accordingly, when the high-definition headlight controller receives a headlight control signal corresponding to energy-saving mode, it uses a light sensor to obtain the brightness of the driving environment in that energy-saving mode. This step can also be performed by a domain controller in the headlight control system. Accordingly, when the domain controller determines that energy-saving mode is currently in effect, it uses a light sensor to obtain the brightness of the driving environment in that energy-saving mode and transmits the brightness of the driving environment to the high-definition headlight controller. In the embodiments of this application, the specific device executing this step is not specifically limited.
[0158] S804: The vehicle light control system determines a second lighting area in the lighting area in the energy-saving mode, where the second lighting area is a low beam area.
[0159] The second lighting area may be a low beam area in a pre-defined array light source for generating low beam. Accordingly, the vehicle light control system determines the second lighting area according to a preset high and low beam division method.
[0160] S805: The vehicle light control system reduces the illumination brightness of the point light source in the second illumination area by a second brightness threshold according to the brightness of the driving environment.
[0161] The second brightness threshold can be set as needed. In the embodiment of the present application, the second brightness threshold is not specifically limited. For example, the second brightness threshold can be 10%, 15%, or 20%. It should be noted that the second brightness threshold can also be represented by a grayscale value. In the embodiment of the present application, this is not specifically limited. In order to ensure continuous illumination of the vehicle, the second brightness threshold is less than the original illumination brightness of the point light source in the second illumination area. The second brightness threshold is positively correlated with the brightness of the driving environment.
[0162] S806: The vehicle light control system determines the grayscale value of each pixel in the target image according to the lighting area and lighting brightness of the vehicle light.
[0163] For example, referring to FIG9 , a target image is shown, wherein the target image includes a second lighting area and a seventh lighting area, wherein the seventh lighting area is a high beam area, and the corresponding point light source is not lit.
[0164] S807 , the vehicle light control system controls the brightness of the point light source corresponding to each pixel according to the grayscale value of each pixel in the target image.
[0165] The principle of this step is the same as that of step S404 and will not be repeated here.
[0166] 10 , which shows a schematic diagram of a lighting effect produced by controlling the vehicle lighting in energy-saving mode, wherein the shaded portion corresponds to the lighting effect corresponding to the second lighting area, i.e., a lighting effect with reduced brightness.
[0167] In this implementation, by starting the energy-saving mode under good lighting conditions and reducing the vehicle's lighting brightness, the vehicle's lighting brightness is reduced while ensuring the vehicle's safe driving brightness, thereby reducing the power of the headlights and achieving energy-saving effects.
[0168] In one implementation, when a vehicle's low beams are on, the brightness of the low beams on the road surface is negatively correlated with the distance from the vehicle's front end. That is, the farther from the vehicle's front end, the dimmer the brightness. When a vehicle is traveling at high speed on a highway, the driver has very little time to react in an emergency. Increasing the brightness of locations farther from the vehicle's front end within the low beam's illumination range allows the driver to promptly detect emergencies, thereby improving driving safety. Therefore, to increase the brightness of the far end of the low beams, the present embodiment provides a high-speed headlight control mode. Accordingly, if the environmental information indicates that the current road is a highway and the vehicle's speed is greater than a first preset speed, the headlight control mode is determined to be high-speed.
[0169] The headlight control system can capture an image of the vehicle's current driving environment via a camera, analyze the image, and determine whether the vehicle is currently traveling on a highway. If the vehicle is currently traveling on a highway and the speed detected by the speed sensor is greater than a first preset speed, the vehicle is determined to be traveling at high speed on the highway, and the headlights can be in high-speed mode. The first preset speed can be set as needed and is not specifically limited in the embodiments of the present application. For example, the first preset speed can be 80 kilometers per hour or 85 kilometers per hour.
[0170] In the high-speed mode, the vehicle light control system controls the brightness of the vehicle lights by the following method: Referring to FIG11 , a vehicle light control method in the high-speed mode provided by an embodiment of the present application is shown.
[0171] S1101: During vehicle driving, the headlight control system obtains environmental information of the vehicle's driving environment.
[0172] The principle of this step is the same as that of step S401 and will not be repeated here.
[0173] S1102: The vehicle light control system determines a vehicle light control mode that matches the environmental information.
[0174] The principle of this step is the same as that of step S402 and will not be repeated here.
[0175] S1103: The vehicle light control system obtains the vehicle's driving speed in the high-speed mode.
[0176] The headlight control system obtains the vehicle speed through a speed sensor.
[0177] It should be noted that this step can be performed by a high-definition headlight controller in the headlight control system. Accordingly, when the high-definition headlight controller receives a headlight control signal corresponding to high-speed mode, it obtains the driving speed in that high-speed mode via a speed sensor. This step can also be performed by a domain controller in the headlight control system. Accordingly, when the domain controller determines that high-speed mode is currently in use, it obtains the driving speed in that high-speed mode via a speed sensor and sends the speed to the high-definition headlight controller. In the embodiments of this application, the specific device executing this step is not specifically limited.
[0178] S1104 , the vehicle light control system determines a third lighting area in the lighting area in the high-speed mode, where the third lighting area is a low beam area.
[0179] The third lighting area may be a low beam area in a pre-defined array light source for generating low beam. Accordingly, the vehicle light control system determines the third lighting area according to a preset high and low beam division method.
[0180] S1105, the headlight control system divides the third lighting area into a first sub-area and a second sub-area according to the driving speed, the first sub-area being a lighting area whose illumination range is within a preset distance from the front of the vehicle, and the second sub-area being a lighting area whose illumination range is outside the preset distance from the front of the vehicle, and the proportion of the second sub-area in the third lighting area is positively correlated with the driving speed.
[0181] In this step, the vehicle light controller further divides the third lighting area according to the driving speed. The preset distance can be determined based on the driving speed. The preset distance is negatively correlated with the driving speed. For example, when the vehicle speed is 80 kilometers per hour, the preset distance is 40 meters.
[0182] S1106: The vehicle light control system increases the illumination brightness of the point light source in the first sub-area by a third brightness threshold, and increases the brightness of the point light source in the second sub-area by a fourth brightness threshold, wherein the fourth brightness threshold is greater than the third brightness threshold.
[0183] The third and fourth brightness thresholds can be set as needed, and are not specifically limited in the embodiments of the present application. For example, the third and fourth brightness thresholds can both be 10%, 15%, or 20%. It should be noted that the second brightness threshold can also be represented by a grayscale value, which is not specifically limited in the embodiments of the present application.
[0184] S1107 , the vehicle light control system determines the grayscale value of each pixel in the target image according to the lighting area and lighting brightness of the vehicle light.
[0185] For example, see Figure 12, which shows a target image. The target image includes a third lighting area and an eighth lighting area. The eighth lighting area is a high-beam area, and the corresponding point light source is not illuminated. The third lighting area includes a first sub-area and a second sub-area, wherein the brightness of the point light source in the second sub-area is higher than the brightness of the light source in the first sub-area.
[0186] S1108 , the vehicle light control system controls the brightness of the point light source corresponding to each pixel according to the grayscale value of each pixel in the target image.
[0187] The principle of this step is the same as that of step S404 and will not be repeated here.
[0188] Refer to Figure 13, which shows a schematic diagram of the lighting effects produced when controlling vehicle headlights in high-speed mode. The shaded area corresponds to the lighting effect corresponding to the second sub-region, i.e., the lighting effect with increased brightness. The blank area within the curve corresponds to the lighting effect corresponding to the first sub-region, i.e., the lighting effect with less brightness than the lighting effect of the second sub-region.
[0189] In this implementation, when the vehicle is traveling on a highway, the high-speed mode is activated to increase the overall brightness of the low beam, and the brightness of the far end of the low beam is further increased, so that the driver can promptly detect emergencies in the road conditions far end of the low beam, thereby reserving more reaction time for the driver and improving driving safety.
[0190] In one implementation, when external lighting conditions are poor and there are no obstacles such as pedestrians or vehicles on the road, drivers often desire higher brightness and a longer illumination range to improve driving safety. Therefore, to meet these driving needs, embodiments of the present application provide a headlight control mode that uses an enhanced high-beam mode. Accordingly, if the environmental information indicates that the brightness of the current driving environment is less than a second preset brightness and the vehicle's speed is greater than the second preset speed, the headlight control mode is determined to be the enhanced high-beam mode.
[0191] The second preset brightness is lower than the first preset brightness. The first preset brightness and the second preset brightness can be set as needed. In the embodiment of the present application, there is no specific limitation on the first preset brightness and the second preset brightness. For example, the first preset brightness can be 45 lux or 50 lux, and the second preset brightness can be 25 lux or 30 lux. The second preset vehicle speed can be set as needed. In the embodiment of the present application, there is no specific limitation on the second preset vehicle speed. For example, the second preset vehicle speed can be 55 kilometers per hour or 60 kilometers per hour, etc.
[0192] In the enhanced high beam mode, the vehicle light control system controls the vehicle light brightness by the following method: Referring to FIG14 , a vehicle light control method in the enhanced high beam mode provided by an embodiment of the present application is shown.
[0193] S1401: During vehicle driving, the headlight control system obtains environmental information of the vehicle's driving environment.
[0194] The principle of this step is the same as that of step S401 and will not be repeated here.
[0195] S1402: The vehicle light control system determines a vehicle light control mode that matches the environmental information.
[0196] The principle of this step is the same as that of step S402 and will not be repeated here.
[0197] S1403: The vehicle light control system obtains the brightness of the driving environment in the enhanced high beam mode.
[0198] The principle of this step is the same as that of step S803 and will not be repeated here.
[0199] S1404, the vehicle light control system determines a fourth lighting area and a fifth lighting area of the lighting area in the enhanced high beam mode, wherein the fourth lighting area is a low beam area and the fifth lighting area is a high beam area.
[0200] The fourth lighting area and the fifth lighting area may be a low beam area and a high beam area in the array light source that are pre-determined to generate low beam and high beam, respectively. Accordingly, the vehicle light control system determines the fourth lighting area and the fifth lighting area according to a preset high and low beam division method.
[0201] S1405: The vehicle light control system maintains the brightness of the point light source in the fourth lighting area unchanged.
[0202] S1406: The vehicle light control system increases the illumination brightness of the point light source in the fifth illumination area by a sixth brightness threshold according to the brightness of the driving environment.
[0203] The sixth brightness threshold can be set as needed and is not specifically limited in the present embodiment. For example, the sixth brightness threshold can be 10%, 15%, or 20%. It should be noted that the sixth brightness threshold can also be represented by a grayscale value, which is not specifically limited in the present embodiment. The sixth brightness threshold is negatively correlated with the brightness of the driving environment.
[0204] S1407: The vehicle light control system determines the grayscale value of each pixel in the target image according to the lighting area and lighting brightness of the vehicle light.
[0205] For example, see Figure 15, which shows a target image. The target image includes a fourth lighting area and a fifth lighting area. The fifth lighting area is a high-beam area, and the corresponding point light source has increased brightness. The fourth lighting area is a low-beam area, and the corresponding point light source has unchanged brightness.
[0206] S1408: The vehicle light control system controls the brightness of the point light source corresponding to each pixel according to the grayscale value of each pixel in the target image.
[0207] The principle of this step is the same as that of step S404 and will not be repeated here.
[0208] 16 , which shows a schematic diagram of the lighting effect produced when controlling the vehicle headlights in high-speed mode, wherein the shaded portion corresponds to the lighting effect of the fourth and fifth lighting areas, i.e., the high-beam enhancement effect.
[0209] In this implementation, by starting the enhanced high beam mode when there is no external lighting and no other vehicles on the road, the vehicle's far-end lighting brightness is increased, thereby meeting the driver's lighting needs and improving driving safety.
[0210] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0211] Referring to FIG. 17 , which shows a schematic structural diagram of a vehicle light control device provided by the present application, the various units included are used to perform the various steps in the above embodiment. Referring to FIG. 17 , the vehicle light control device includes:
[0212] The acquisition unit 1701 is used to acquire environmental information of the driving environment of the vehicle during the driving process of the vehicle;
[0213] a determining unit 1702, configured to determine a vehicle light control mode that matches the environmental information;
[0214] A generating unit 1703 is configured to generate a target image according to the vehicle light control mode, wherein each pixel of the target image corresponds to a point light source in the array light source;
[0215] The control unit 1704 is configured to control the brightness of the point light source corresponding to each pixel point in the target image according to the grayscale value of each pixel point in the target image.
[0216] In some embodiments, the generation unit 1703 is used to obtain headlight control data according to the headlight control mode, where the headlight control data is relevant data of the influencing factors of controlling the headlight under the headlight control mode; determine the lighting area and lighting brightness of the headlight according to the headlight control data; and determine the grayscale value of each pixel in the target image according to the lighting area and lighting brightness of the headlight.
[0217] In some embodiments, the vehicle light control mode is an anti-reflective mode;
[0218] The generating unit 1703 is used to obtain the position information and the area of the reflective road surface in the anti-reflective mode; determine the first illumination area where the light emitted by the array light source will be reflected based on the position information and the area of the reflective road surface; and reduce the illumination brightness of the point light source in the first illumination area by a first brightness threshold.
[0219] In some embodiments, the vehicle light control mode is an energy-saving mode;
[0220] The generation unit 1703 is used to obtain the brightness of the driving environment in the energy-saving mode; determine the second lighting area in the lighting area in the energy-saving mode, where the second lighting area is a low beam area; and reduce the lighting brightness of the point light source in the second lighting area by a second brightness threshold according to the brightness of the driving environment.
[0221] In some embodiments, the vehicle light control mode is a high-speed mode;
[0222] The generation unit 1703 is used to obtain the driving speed of the vehicle in the high-speed mode; determine a third lighting area in the lighting area in the high-speed mode, where the third lighting area is a low beam area; divide the third lighting area into a first sub-area and a second sub-area according to the driving speed, where the first sub-area is a lighting area whose illumination range is within a preset distance from the front of the vehicle, and the second sub-area is a lighting area whose illumination range is outside the preset distance from the front of the vehicle, and the proportion of the second sub-area in the third lighting area is positively correlated with the driving speed; increase the illumination brightness of the point light source in the first sub-area by a third brightness threshold, and increase the brightness of the point light source in the second sub-area by a fourth brightness threshold, wherein the fourth brightness threshold is greater than the third brightness threshold.
[0223] In some embodiments, the vehicle light control mode is an enhanced high beam mode;
[0224] The generation unit 1703 is used to obtain the brightness of the driving environment in the enhanced high beam mode; determine the fourth lighting area and the fifth lighting area of the lighting area in the enhanced high beam mode, the fourth lighting area being the low beam area, and the fifth lighting area being the high beam area; keep the brightness of the point light source in the fourth lighting area unchanged; and increase the brightness of the point light source in the fifth lighting area by a sixth brightness threshold according to the brightness of the driving environment.
[0225] In some embodiments, the determining unit 1702 is configured to determine that the vehicle light control mode is an anti-glare mode if the environmental information indicates that the current road surface is a flooded road surface, or if the environmental information indicates that it is currently raining; or
[0226] The determining unit 1702 is configured to determine that the vehicle light control mode is the energy-saving mode if the environmental information indicates that the brightness of the current driving environment is greater than a first preset brightness; or
[0227] The determining unit 1702 is configured to determine that the vehicle light control mode is a high-speed mode if the environmental information indicates that the current driving road is a highway and the vehicle speed is greater than a first preset speed; or
[0228] The determining unit 1702 is configured to determine that the vehicle light control mode is the enhanced high beam mode if the environmental information indicates that the brightness of the current driving environment is less than a second preset brightness and the vehicle speed is greater than the second preset speed.
[0229] In some embodiments, the control unit 1704 is used to parse the target image to obtain the grayscale value of each pixel; determine the point light source corresponding to the pixel based on the position of each pixel in the target image; determine the brightness corresponding to the grayscale value of the pixel from the preset correspondence between grayscale value and brightness; and control the point light source corresponding to the pixel to light up with the brightness corresponding to the grayscale value of the pixel.
[0230] In an embodiment of the present application, the headlight control mode is determined by environmental information, and then under different headlight control modes, a grayscale image is generated to control the brightness of the point light source in the headlight. In this way, the brightness of each point light source is controlled by the grayscale value of the pixel point in the grayscale image, and the control of the headlight is refined to the point light source, which enriches the control method of the headlight and optimizes the lighting experience.
[0231] Figure 18 is a schematic diagram of a vehicle light controller provided by an exemplary embodiment of the present application. As shown in Figure 18 , the vehicle light controller 18 of this embodiment includes: a processor 180, a memory 181, and a computer program 182 stored in the memory 181 and executable on the processor 180, such as a vehicle light control program. When the processor 180 executes this computer program 182, it implements the steps described in the various vehicle light control method embodiments, such as steps S401 through S404 shown in Figure 4 . Alternatively, when the processor 180 executes this computer program 182, it implements the functions of the various units in the various device embodiments described above, such as the functions of units 1701 through 1704 shown in Figure 17 .
[0232] Exemplarily, the computer program 182 may be divided into one or more units, which are stored in the memory 181 and executed by the processor 180 to implement the present application. The one or more units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 182 in the vehicle light controller 18. For example, the computer program 182 may be divided into an acquisition unit, a determination unit, a generation unit, and a control unit. The specific functions of each module are as follows:
[0233] The acquisition unit 1701 is used to acquire environmental information of the driving environment of the vehicle during the driving process of the vehicle;
[0234] a determining unit 1702, configured to determine a vehicle light control mode that matches the environmental information;
[0235] A generating unit 1703 is configured to generate a target image according to the vehicle light control mode, wherein each pixel of the target image corresponds to a point light source in the array light source;
[0236] The control unit 1704 is configured to control the brightness of the point light source corresponding to each pixel point in the target image according to the grayscale value of each pixel point in the target image.
[0237] The headlight controller 18 can be any headlight controller capable of controlling headlights. The headlight controller 18 can include, but is not limited to, a processor 180 and a memory 181. Those skilled in the art will appreciate that FIG18 is merely an example of a headlight controller 18 and does not limit the headlight controller 18. The headlight controller 18 can include more or fewer components than shown, or a combination of certain components or different components. For example, the headlight controller 18 can also include input / output devices, network access devices, buses, and the like.
[0238] The processor 180 may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0239] The memory 181 can be an internal storage unit of the headlight controller 18, such as a hard drive or memory of the headlight controller 18. The memory 181 can also be an external storage device of the headlight controller 18, such as a plug-in hard drive, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the headlight controller 18. Furthermore, the memory 181 can also include both the internal storage unit of the headlight controller 18 and an external storage device. The memory 181 is used to store the computer program and other programs and data required by the terminal device. The memory 181 can also be used to temporarily store data that has been output or is about to be output.
[0240] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0241] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
[0242] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0243] In the embodiments provided in this application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are merely illustrative. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, 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.
[0244] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0245] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0246] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0247] An embodiment of the present application further provides a vehicle, which includes the above-mentioned vehicle light control system, and is used to implement the steps in the above-mentioned various method embodiments.
[0248] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0249] The embodiments of the present application further provide a computer program product, which, when executed on a mobile terminal, enables the mobile terminal to implement the steps of the above-mentioned method embodiments.
[0250] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A vehicle light control method, characterized in that: The vehicle lamp is an array light source including a plurality of point light sources, and the method comprises: During the driving of the vehicle, environmental information of the driving environment of the vehicle is obtained; Determining a vehicle light control mode that matches the environmental information; Generate a target image according to the vehicle light control mode, wherein each pixel of the target image corresponds to a point light source in the array light source; According to the grayscale value of each pixel in the target image, the brightness of the point light source corresponding to each pixel is controlled.
2. The method according to claim 1, characterized in that The generating a target image according to the vehicle light control mode includes: According to the vehicle light control mode, acquiring vehicle light control data, wherein the vehicle light control data is relevant data of influencing factors for controlling the vehicle light under the vehicle light control mode; Determining the lighting area and lighting brightness of the headlight according to the headlight control data; The grayscale value of each pixel in the target image is determined according to the lighting area and lighting brightness of the vehicle lamp.
3. The method according to claim 2, characterized in that The vehicle light control mode is an anti-reflection mode; The acquiring the vehicle light control data according to the vehicle light control mode includes: In the anti-reflective mode, obtaining position information of a reflective road surface and an area of the reflective road surface; Correspondingly, determining the lighting area and lighting brightness of the headlight according to the headlight control data includes: Determining a first illumination area where light emitted from the array light source will be reflected according to the position information of the reflective road surface and the area of the reflective road surface; The illumination brightness of the point light source in the first illumination area is reduced by a first brightness threshold.
4. The method according to claim 2, characterized in that The vehicle light control mode is an energy-saving mode; The acquiring the vehicle light control data according to the vehicle light control mode includes: In the energy-saving mode, obtaining the brightness of the driving environment; Correspondingly, determining the lighting area and lighting brightness of the headlight according to the headlight control data includes: Determine a second lighting area in the lighting area in the energy-saving mode, wherein the second lighting area is a low-beam area; According to the brightness of the driving environment, the illumination brightness of the point light source in the second illumination area is reduced by a second brightness threshold.
5. The method according to claim 2, characterized in that The vehicle light control mode is a high-speed mode; The acquiring the vehicle light control data according to the vehicle light control mode includes: In the high-speed mode, obtaining the driving speed of the vehicle; Correspondingly, determining the lighting area and lighting brightness of the headlight according to the headlight control data includes: Determine a third lighting area in the lighting area in the high-speed mode, wherein the third lighting area is a low-beam area; The third lighting area is divided into a first sub-area and a second sub-area according to the driving speed, the first sub-area is a lighting area whose illumination range is within a preset distance from the front of the vehicle, the second sub-area is a lighting area whose illumination range is outside the preset distance from the front of the vehicle, and the proportion of the second sub-area in the third lighting area is positively correlated with the driving speed; The illumination brightness of the point light sources in the first sub-area is increased by a third brightness threshold, and the brightness of the point light sources in the second sub-area is increased by a fourth brightness threshold, wherein the fourth brightness threshold is greater than the third brightness threshold.
6. The method according to claim 2, characterized in that The vehicle light control mode is an enhanced high beam mode; The acquiring the vehicle light control data according to the vehicle light control mode includes: In the enhanced high beam mode, obtaining the driving environment brightness; Accordingly, determining the lighting area and lighting brightness of the headlight according to the headlight control data includes: Determine a fourth lighting area and a fifth lighting area of the lighting area in the enhanced high beam mode, wherein the fourth lighting area is a low beam area, and the fifth lighting area is a high beam area; Maintaining the brightness of the point light source in the fourth lighting area unchanged; According to the driving environment brightness, the illumination brightness of the point light source in the fifth illumination area is increased by a sixth brightness threshold.
7. The method according to any one of claims 1 to 6, characterized in that: The determining of the vehicle light control mode matching the environmental information includes: If the environmental information indicates that the current road surface is a flooded road surface, or the environmental information indicates that it is currently raining, determining that the vehicle light control mode is an anti-reflective mode; or, If the environmental information indicates that the brightness of the current driving environment is greater than a first preset brightness, determining that the vehicle light control mode is an energy-saving mode; or, If the environmental information indicates that the current driving road is a highway and the vehicle speed is greater than a first preset speed, determining that the vehicle light control mode is a high-speed mode; or, If the environmental information indicates that the brightness of the current driving environment is less than a second preset brightness, and the vehicle speed is greater than the second preset speed, it is determined that the vehicle light control mode is an enhanced high beam mode.
8. The method according to any one of claims 1 to 6, characterized in that: The step of controlling the brightness of a point light source corresponding to each pixel point according to the grayscale value of each pixel point in the target image includes: Analyze the target image to obtain the grayscale value of each pixel; Determine the point light source corresponding to each pixel point according to the position of the pixel point in the target image; Determine the brightness corresponding to the grayscale value of the pixel point from a preset correspondence relationship between grayscale value and brightness; The point light source corresponding to the pixel is controlled to light up with a brightness corresponding to the grayscale value of the pixel.
9. A vehicle light controller, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the vehicle light control method according to any one of claims 1 to 8 is implemented.
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 by a processor, the vehicle light control method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
System for relieving light-reflecting dazzling of wet road surface based on geometric multi-beam LED lamps
CN106183966A
Vehicle, vehicle illumination system and vehicle control method of vehicle illumination system
CN107128242A
Brightness-adjustable car intelligent headlamp system based on environment, and method
CN108657062A
Vehicle high beam control method and device, vehicle and storage medium
CN111923824A
Vehicle light control method and device, storage medium and equipment
CN115942534A
Cited By
Vehicle lamp control method and device, computer equipment and storage medium
CN120503699A