Vehicle lighting control methods, electronic equipment and vehicles
Patent Information
- Application Number
- CN202611122154.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-27
- Publication Date
- 2026-09-11
AI Technical Summary
[0002]汽车LED(Light Emitting Diode,发光二极管)照明模组的驱动模块通常采用统一的驱动控制方式,无法对模组内不同色温的LED光源进行独立的输出调控,导致照明模组的色温固定,无法适配雨天、雾天等不同的行车环境,难以解决车辆灯光在恶劣天气下光线穿透力差、路面反光强等问题
Smart Images

Figure CN122742227A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, specifically to vehicle lighting control methods, electronic devices, and vehicles. Background Technology
[0002] The driving modules of automotive LED (Light Emitting Diode) lighting modules typically use a uniform driving control method, which cannot independently adjust the output of LED light sources with different color temperatures within the module. This results in a fixed color temperature for the lighting module, making it unsuitable for different driving environments such as rain and fog. It also makes it difficult to solve problems such as poor light penetration and strong road reflection caused by vehicle lights in adverse weather conditions.
[0003] Most adaptive control strategies for multi-color temperature light sources adopt simple threshold judgment control logic (such as turning on the lights when the illuminance is below a certain threshold, or switching to high beams when the vehicle speed is above a certain threshold). The control logic is rigid and simple, and cannot cope with complex and ever-changing real driving scenarios. Summary of the Invention
[0004] To address the aforementioned problems, this application provides a vehicle lighting control method, electronic device, and vehicle.
[0005] In a first aspect, this application provides a vehicle lighting control method, the method comprising: Acquire multidimensional information about the target vehicle; the multidimensional information includes road environment information, meteorological environment information, and vehicle status information; Based on the road environment information and the meteorological environment information, scene recognition is performed to determine the main scene type and at least one overlay scene type corresponding to the current scene; Determine the basic lighting parameters based on the main scene type; The weight coefficients corresponding to each lighting influence factor are determined based on the main scene type and the overlay scene type. Determine the current feature value corresponding to each of the lighting influencing factors based on the multidimensional information; Based on the basic lighting parameters, the current feature values corresponding to each of the lighting influencing factors, and the weighting coefficients, the target lighting parameters are obtained through weighted fusion calculation. The lighting module of the target vehicle is controlled according to the target lighting parameters.
[0006] Secondly, this application provides a vehicle lighting control device, the device comprising: The acquisition module is used to acquire multi-dimensional information about the target vehicle; the multi-dimensional information includes road environment information, meteorological environment information, and vehicle status information. The scene recognition module is used to perform scene recognition based on the road environment information and the meteorological environment information, and determine the main scene type and at least one overlay scene type corresponding to the current scene; The processing module is configured to: determine basic lighting parameters based on the main scene type; determine weight coefficients corresponding to each lighting influence factor based on the main scene type and the overlay scene type; determine the current feature value corresponding to each lighting influence factor based on the multidimensional information; and obtain target lighting parameters by weighted fusion calculation based on the basic lighting parameters, the current feature value corresponding to each lighting influence factor, and the weight coefficients. A control module is used to control the lighting module of the target vehicle according to the target lighting parameters.
[0007] Thirdly, this application provides a vehicle, including: a controller and a lighting module; The controller is connected to the lighting module; the controller is used to execute the vehicle lighting control method of the first aspect or any corresponding embodiment described above, so as to control the lighting module.
[0008] Fourthly, this application provides an electronic device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the vehicle lighting control method of the first aspect or any corresponding embodiment described above.
[0009] Fifthly, this application provides a computer-readable storage medium storing computer instructions for causing a computer to execute the vehicle lighting control method of the first aspect or any corresponding embodiment described above.
[0010] Sixthly, this application provides a computer program product, including computer instructions for causing a computer to execute the vehicle lighting control method of the first aspect or any corresponding embodiment described above.
[0011] The vehicle lighting control method provided in this application, by acquiring multi-dimensional information, enables lighting control to comprehensively consider factors such as roads, weather, and vehicles, improving the accuracy of lighting control decisions. It can cope with complex and ever-changing real-world driving scenarios and achieve scenario-based precise lighting. The method specifically divides the current scenario into a relatively stable main scenario type and a short-term changing superimposed scenario type. Based on the main scenario, basic lighting parameters are determined, providing a stable parameter reference benchmark. Weighting coefficients are preset for multiple scenarios, and parameter correction is performed based on the superimposed scenarios. A weighted fusion method can be used to determine the target lighting parameters, avoiding abrupt changes caused by rigid control with a single threshold. This method balances the stability and flexibility of the lighting control process, facilitating smooth transitions in lighting parameters such as color temperature and brightness, and effectively improving the safety, comfort, and intelligence level of the lighting system. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in the specific embodiments of this application or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0013] Figure 1 This is a schematic flowchart of a first embodiment of a vehicle lighting control method according to this application. Figure 2 This is an application diagram of a multidimensional environment according to an embodiment of this application; Figure 3 This is a schematic diagram of a control lighting module according to an embodiment of this application; Figure 4 This is a second flowchart illustrating a vehicle lighting control method according to an embodiment of this application; Figure 5 This is a schematic diagram of a vehicle lighting control architecture according to an embodiment of this application; Figure 6 This is a structural block diagram of a vehicle lighting control device according to an embodiment of this application; Figure 7 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0014] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0015] It is understood that before using the technical solutions disclosed in the various embodiments of this application, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this application in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0016] 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 technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0017] According to an embodiment of this application, a vehicle lighting control method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0018] This embodiment provides a vehicle lighting control method, which can be applied to controllers in vehicles, such as vehicle domain controllers. Figure 1 This is a flowchart of a vehicle lighting control method according to an embodiment of this application, such as... Figure 1 As shown, the process includes the following steps.
[0019] Step S101: Obtain multi-dimensional information of the target vehicle; the multi-dimensional information includes road environment information, meteorological environment information, and vehicle status information.
[0020] In this embodiment, when controlling a vehicle, the vehicle being controlled is referred to as the target vehicle, meaning that the method can be applied to the target vehicle, specifically to the controller of the target vehicle.
[0021] Furthermore, during vehicle control, multi-dimensional information about the target vehicle can be obtained in real time, including road environment information, meteorological environment information, and vehicle status information.
[0022] This road environment information is used to represent the environmental information corresponding to the road where the target vehicle is currently located, such as... Figure 2 As shown, the road environment information may include: road type, road geographical location (determined based on vehicle location), road lighting conditions, road surface conditions (dry / slippery / waterlogged / snowy, etc.), environmental objects (representing traffic participants, such as vehicles ahead, oncoming vehicles, pedestrians, non-motorized vehicles, etc. in the surrounding environment), road surface reflectivity, and curve curvature. Meteorological environment information includes: weather information and visibility; vehicle status information includes: vehicle speed, steering angle, and headlight temperature.
[0023] Based on sensors in the target vehicle (such as onboard cameras and radar), the type of road the target vehicle is on can be determined, i.e., the road type. This road type can include, for example, paved roads (such as asphalt roads and concrete roads) and unpaved roads (such as dirt roads). It can also be specifically classified as: urban roads, rural roads, expressways, mountain roads, forest roads, dirt roads, etc. By collecting ambient light intensity in real time through onboard light sensors, and combining this with the number and intensity of streetlights / bright spots identified by the camera, as well as the streetlight or road attributes recorded in the high-precision map, the road lighting conditions can be determined. Based on the camera and the high-precision map, the curvature of the road can also be identified.
[0024] By using rain sensors, temperature and humidity sensors, or weather data from the vehicle-to-everything (V2X) cloud, real-time weather information (such as whether it is raining or snowing) can be determined; based on camera image analysis and millimeter-wave radar data fusion, the visibility of target vehicles can be determined.
[0025] Based on the target vehicle's CAN bus, the vehicle speed can be obtained; the steering angle can be obtained based on the steering angle sensor; and the headlight temperature can be obtained using the temperature sensor built into the lighting module. Furthermore, the vehicle's location can be determined based on GNSS positioning, high-precision maps, and other methods, thus representing the road's geographical location.
[0026] Step S102: Based on road environment information and meteorological environment information, perform scene recognition to determine the main scene type and at least one overlay scene type corresponding to the current scene.
[0027] In this embodiment, when performing scene recognition based on multi-dimensional scenes, the scene is divided into two layers: the main scene and the overlay scene. Both the main scene and the overlay scene are further divided into multiple categories. Through scene recognition, the category corresponding to the vehicle's current scene can be determined, namely the main scene type and the overlay scene type. The main scene type is used to represent the relatively stable basic state of the road environment, while the overlay scene type is used to represent short-term changing or superimposed environmental states.
[0028] In this embodiment, as Figure 2As shown, the road type, road geographical location, and road lighting conditions in the above road environment information and meteorological environment information are used to determine the main scene type; weather information, road surface conditions, environmental objects, and curve curvature are used to determine the overlay scene type.
[0029] Specifically, the main scene type can be determined based on information such as road type, road geographical location, and road lighting conditions. This main scene type may include, for example, urban roads with streetlights, urban roads without streetlights, rural roads, highways, mountain bends, forest roads, coastal roads, plateau roads, and internal roads (such as private roads within residential areas or factory areas).
[0030] The overlay scene type can be determined based on short-term changes in weather information, road conditions, environmental objects, and curve curvature. This overlay scene type can include, for example, rainy days, foggy days, snowy days, flooded roads, snow-covered roads, curves, oncoming traffic, and late at night. This type can also be further subdivided, for example, into multiple overlay scene types such as light rain, moderate rain, heavy rain, and torrential rain.
[0031] Scene recognition for the current scenario requires determining a unique primary scene type. Since the target scene may be in multiple overlapping scenes simultaneously, one or more overlapping scene types can be determined based on the actual situation. For example, if the target vehicle is currently driving on a city road (with good street lighting), it is currently raining, the road surface is flooded, and there are oncoming vehicles, then the primary scene type is "city road with streetlights," and the overlapping scene types include: rainy day, flooded road surface, and oncoming traffic.
[0032] In this embodiment, scene recognition can be performed based on rule engines or model prediction to determine the main scene type and overlay scene type to which the current scene belongs. This embodiment does not limit the specific method of scene recognition.
[0033] Step S103: Determine the basic lighting parameters based on the main scene type.
[0034] In this embodiment, basic lighting parameters are determined based on the identified main scene type. These basic lighting parameters serve as the baseline values for lighting control, providing the foundation for subsequent weighted fusion calculations. For example, if it is necessary to control the color temperature and brightness of the target vehicle's headlights, these basic lighting parameters may specifically include the basic color temperature. and base brightness .
[0035] For example, the correspondence between various main scene types and basic lighting parameters can be pre-set and maintained. After determining the main scene type corresponding to the current scene, the corresponding basic lighting parameters can be determined based on this correspondence. For example, if the main scene type is S, its corresponding basic color temperature can be determined. and base brightness .
[0036] In this embodiment, the calibration of basic lighting parameters can be based on the following principles: In urban roads with streetlights, due to the good ambient lighting, the basic color temperature can be cooler (higher color temperature), and the basic brightness can be moderate; In rural roads without streetlights, due to the darker environment, the basic color temperature can be warmer (lower color temperature) to improve penetration, and the basic brightness can be higher to increase illumination distance; In mountainous areas or roads with many curves, the basic color temperature can be warmer to enhance road visibility.
[0037] In some examples, base color temperature The value range can be, for example, 3000K-6000K. Examples of base color temperatures for different main scene types are as follows: For urban roads with streetlights, the base color temperature can be 5000K-5500K; for rural roads, it can be 4000K-4500K; for mountain roads, it can be 3500K-4200K; for forest roads, it can be 3800K-4500K; and for coastal or plateau roads, it can be 5200K-5800K.
[0038] In some examples, base brightness The value range can be, for example, 0-100% (relative brightness percentage). Examples of base brightness for different main scene types are as follows: the base brightness of urban roads with streetlights can be medium brightness, such as 40%-60%; the base brightness of rural roads can be high brightness, such as 70%-90%, etc.
[0039] Step S104: Determine the weight coefficients corresponding to each lighting influence factor based on the main scene type and the overlay scene type.
[0040] In this embodiment, vehicle lighting is affected by a variety of factors, which may include: weather factors, visibility factors, road lighting factors, road surface reflectivity factors, environmental object factors, curve factors, vehicle speed factors, steering factors, headlight temperature protection factors, etc. If the multidimensional information includes time information (early morning / daytime / dusk / night / late night, or may also include seasonal information such as spring / summer / autumn / winter), the lighting influencing factors may also include time rhythm factors.
[0041] Weight templates can be pre-defined for different combinations of main scene types and overlay scene types. These weight templates include the weight coefficients corresponding to each lighting influencing factor. After determining the main scene type and overlay scene type of the current scene, each weight coefficient can be determined through querying or other means. These weight coefficients can reflect the importance of the lighting influencing factors in the current scene.
[0042] For example, if the main scene type of the current scene is S and the overlay scene type is A, then the corresponding weight template W(S,A) can be determined, and this weight template W(S,A) includes the weight coefficients W corresponding to each lighting influence factor. i (S,A), W i (S,A) represents the weight coefficient corresponding to the i-th lighting influence factor. It can be understood that if the lighting parameters include multiple parameters such as color temperature and luminance, then the weight template W(S,A) can contain the weight coefficients corresponding to various parameters, such as the weight coefficient WT corresponding to color temperature. i (S,A), weighting coefficient WL corresponding to brightness i (S,A).
[0043] Alternatively, a base weight W0(S) can be set for each main scene type, and a weight adjustment amount can be set for each overlay scene type. Given the main scene S and the overlay scene A, the weight template W(S,A) of the current scene can be determined as: W(S,A) = W0(S) + W(A). This weight template W(S,A) also includes the weight coefficients W corresponding to each lighting influence factor. i (S,A), which will not be elaborated further.
[0044] Step S105: Determine the current characteristic values corresponding to each lighting influencing factor based on multidimensional information.
[0045] In this embodiment, for each of the above-mentioned lighting influencing factors, the corresponding feature values, i.e., the current features, can be determined according to the relevant multidimensional information. The current feature value is the real-time value of the lighting influencing factor and is the input data for subsequent weighted fusion calculation.
[0046] like Figure 2 As shown, if the lighting influencing factors specifically include: weather factors, visibility factors, road lighting factors, road surface reflectivity factors, environmental object factors, curve factors, vehicle speed factors, steering factors, headlight temperature protection factors, and time rhythm factors, then the characteristic values corresponding to the weather factors can be determined based on weather information, the characteristic values corresponding to the visibility factors can be determined based on visibility, the characteristic values corresponding to the road lighting factors can be determined based on road lighting conditions, the characteristic values corresponding to the road surface reflectivity factors can be determined based on road surface reflectivity, the characteristic values corresponding to the environmental object factors can be determined based on environmental object factors, the characteristic values corresponding to the curve factors can be determined based on curve curvature, the characteristic values corresponding to the vehicle speed factors can be determined based on vehicle speed, the characteristic values corresponding to the steering factors can be determined based on steering angle, the characteristic values corresponding to the headlight temperature protection factors can be determined based on headlight temperature, and the characteristic values corresponding to the time rhythm factors can be determined based on time information.
[0047] The eigenvalues of each lighting influencing factor can be uniformly constrained within a certain range, such as normalized to the interval between 0 and 1. Alternatively, the eigenvalue, used to represent the offset of the lighting parameters, can also be normalized to the interval between 0 and the maximum offset.
[0048] For example, the characteristic value of the weather factor is 0 for sunny days, 0.3 for light rain, 0.6 for moderate rain, 0.9 for heavy rain, and 1.0 for torrential rain. The characteristic value of the speed factor is 0.3 for vehicle speeds between 0-40 km / h, 0.6 for speeds between 40-80 km / h, and 1.0 for speeds above 80 km / h.
[0049] The current characteristic value range and specific values of the above lighting influence factors are for illustrative purposes only, and can be adjusted according to specific needs in actual applications.
[0050] Step S106: Based on the basic lighting parameters, the current characteristic values and weight coefficients of each lighting influencing factor, the target lighting parameters are obtained through weighted fusion calculation.
[0051] In this embodiment, by weighting the current feature values and weight coefficients of each lighting influencing factor, the adjustment amount corresponding to the illumination parameters can be obtained. Furthermore, by adding the corresponding adjustment amount to the basic lighting parameters, the weighted fusion of lighting parameters can be achieved, and the lighting parameters required for subsequent control, i.e., the target lighting parameters, can be calculated.
[0052] The main scene type is determined based on relatively stable factors such as road type, road geographical location, and road lighting conditions, providing a stable reference benchmark for basic lighting parameters. The overlay scene type is determined based on short-term changing factors such as weather information, road surface conditions, environmental objects, and curve curvature, enabling dynamic correction of basic lighting parameters. This dual-scene approach allows the control strategy to balance stability and flexibility.
[0053] Taking the vehicle speed factor as an example, its characteristic value Fv is no longer used as a separate threshold switch, but as a continuous factor in the calculation of lighting parameters, and its effect intensity is determined by the weight coefficient in the corresponding scene.
[0054] Low-speed driving (0-40km / h): The vehicle speed characteristic value Fv can keep the brightness and illumination distance moderate, focusing on close-range clarity.
[0055] Medium speed driving (40-80km / h): The vehicle speed characteristic value Fv can be gradually increased by increasing the brightness and illumination distance, and the color temperature can be slightly corrected to a cooler color according to the basic value of the road scene.
[0056] High-speed driving (above 80km / h): The vehicle speed characteristic value Fv can improve the long-distance lighting requirements, but the final brightness is still limited by the ambient illuminance, oncoming traffic, road type and regulatory constraints; the vehicle speed weight is greater in the main highway scenario than in the main urban road scenario.
[0057] Step S107: Control the lighting module of the target vehicle according to the target lighting parameters.
[0058] After determining the target lighting parameters such as target color temperature and target brightness, control commands for the lighting module can be generated. Based on these control commands, the light-emitting elements (such as LEDs) in the lighting module are driven to adapt to the operation, thereby adjusting the parameters such as color temperature and brightness of the lighting module.
[0059] Figure 3 A schematic diagram of a control lighting module is shown, such as Figure 3 As shown, the lighting module includes a first light-emitting element and a second light-emitting element, which have different color temperatures; for example, the first light-emitting element is a high color temperature LED, such as a white LED; and the second light-emitting element is a low color temperature LED, such as a yellow LED. After determining the target color temperature, the duty cycle of at least one of the white LED and the yellow LED can be adjusted, thereby adjusting the overall color temperature of the lighting module.
[0060] Alternatively, the lighting module can also use RGB mixing to achieve color temperature adjustment. By adjusting the brightness ratio of red, green, and blue LEDs, light with different color temperatures and brightness can be synthesized.
[0061] The vehicle lighting control method provided in this embodiment acquires multi-dimensional information, enabling lighting control to comprehensively consider factors such as road conditions, weather, and vehicles, thereby improving the accuracy of lighting control decisions. It can cope with complex and ever-changing real-world driving scenarios and achieve scenario-based precise lighting. The current scenario is specifically divided into a relatively stable main scenario type and a short-term changing superimposed scenario type. Basic lighting parameters are determined based on the main scenario, providing a stable parameter reference benchmark. Weighting coefficients are preset for multiple scenarios, and parameter corrections are performed based on the superimposed scenarios. A weighted fusion method can be used to determine the target lighting parameters, avoiding abrupt changes caused by rigid control with a single threshold. This method balances the stability and flexibility of the lighting control process, facilitating smooth transitions in lighting parameters such as color temperature and brightness, and effectively improving the safety, comfort, and intelligence level of the lighting system.
[0062] This embodiment provides a vehicle lighting control method, which can be applied to controllers in vehicles, such as vehicle domain controllers. Figure 4 This is a flowchart of a vehicle lighting control method according to an embodiment of this application, such as... Figure 4 As shown, the process includes the following steps.
[0063] Step S401: Obtain multi-dimensional information of the target vehicle; the multi-dimensional information includes road environment information, meteorological environment information, and vehicle status information.
[0064] Please see details Figure 1 Step S101 of the illustrated embodiment will not be described again here.
[0065] Step S402: Based on road environment information and meteorological environment information, perform scene recognition to determine the main scene type and at least one overlay scene type corresponding to the current scene.
[0066] Please see details Figure 1 Step S102 of the illustrated embodiment will not be described again here.
[0067] Optionally, during scene recognition, the confidence levels of various identified scene types can also be determined. Specifically, this may include the main scene confidence level corresponding to the main scene type and the superimposed scene confidence level corresponding to the superimposed scene type. The main scene confidence level represents the probability that the current scene belongs to that main scene type, and the superimposed scene confidence level represents the probability that the current scene belongs to that superimposed scene type.
[0068] The confidence score for each scenario can be obtained from the output probability of the scenario classification model or calculated from the rule matching degree. For example, for a rainy day scenario, the confidence score (a value between 0 and 1) can be calculated by comprehensively considering factors such as the readings of the rain sensor, the raindrop features in the camera image, and the matching degree of cloud weather data.
[0069] While performing scene recognition, the scene confidence score is output simultaneously, which can provide a basis for processing when multiple scenes coexist or when scene switching occurs. The role of the scene confidence score will be explained later.
[0070] Step S403: Determine the basic lighting parameters based on the main scene type.
[0071] Please see details Figure 1 Step S103 of the illustrated embodiment will not be described again here.
[0072] Step S404: Determine the weight coefficients corresponding to each lighting influence factor based on the main scene type and the overlay scene type.
[0073] Please see details Figure 1 Step S104 of the illustrated embodiment will not be described again here.
[0074] In some optional implementations, step S404, "determining the weight coefficients corresponding to each lighting influence factor based on the main scene type and the overlay scene type," may specifically include steps a1 to a3.
[0075] Step a1: When the current scene corresponds to multiple overlay scene types, determine the overlay scene confidence level corresponding to each overlay scene type; the overlay scene confidence level is used to characterize the recognition probability that the current scene belongs to the overlay scene type.
[0076] Step a2: For any overlay scene type, determine the preset weight coefficients corresponding to each lighting influence factor based on the main scene type and the overlay scene type.
[0077] Step a3: Based on the confidence level of each overlay scene, the preset weight coefficients corresponding to the same lighting influence factor are weighted to obtain the weight coefficients corresponding to the lighting influence factor.
[0078] If the current scene corresponds to one type of overlay scene, the retrieved weight template can be directly used as the weight coefficient for each lighting influencing factor. If the current scene corresponds to multiple types of overlay scene, in this embodiment, the corresponding weights are weighted based on the confidence level (i.e., overlay scene confidence level) of each type of overlay scene to determine the weight coefficients under multiple overlay scenes.
[0079] Specifically, if the main scene is S, and there are multiple overlay scenes A1, A2, …, An (n is the number of overlay scenes), then based on the main scene S and the j-th overlay scene Aj, its corresponding weight template W(S,Aj) can be determined. This weight template W(S,Aj) includes the weight coefficients corresponding to each lighting influence factor, i.e., the preset weight coefficients W. i (S,Aj).
[0080] Furthermore, for the j-th overlay scenario Aj, the corresponding overlay scenario confidence C can be determined. Aj For the same lighting influence factor, such as the i-th lighting influence factor, the confidence level C of each overlay scene can be used. Aj For each preset weight coefficient W corresponding to the i-th lighting influence factor i (S,Aj) are weighted to obtain the weight coefficient W corresponding to the i-th lighting influence factor. i (S,A).
[0081] For example, Alternatively, the confidence level C for each overlay scenario can be... Aj Normalization is performed at this time. .
[0082] Through the aforementioned weighting process, when multiple overlay scenarios coexist, weights can be reasonably allocated based on the confidence level of each scenario, avoiding control bias caused by a single scenario dominating and improving the adaptability of the control strategy. Furthermore, weighting based on the confidence level of overlay scenarios allows for a greater impact on lighting parameters from more accurately and reliably identified overlay scenarios, making it more applicable to accurately identified overlay scenarios.
[0083] Step S405: Determine the current characteristic values corresponding to each lighting influencing factor based on the multidimensional information.
[0084] Please see details Figure 1 Step S105 of the illustrated embodiment will not be described again here.
[0085] Step S406: Based on the basic lighting parameters, the current characteristic values and weight coefficients of each lighting influencing factor, the target lighting parameters are obtained through weighted fusion calculation.
[0086] Please see details Figure 1 Step S106 of the illustrated embodiment will not be described again here.
[0087] In some optional implementations, step S406, "obtaining the target lighting parameters by weighted fusion calculation based on the basic lighting parameters, the current characteristic values and weight coefficients corresponding to each lighting influence factor," specifically includes steps b1 to b2.
[0088] Step b1 involves weighting the current characteristic values and weight coefficients of each lighting influencing factor to determine the adjustment amount of the lighting parameters.
[0089] Step b2: Combine the basic lighting parameters and the lighting parameter adjustment amounts to determine the target lighting parameters.
[0090] In this embodiment, the basic lighting parameters may include the basic color temperature. and base brightness For the i-th type of lighting influence factor, its corresponding current eigenvalue F can be determined. i And the weighting coefficient WT corresponding to color temperature i (S,A), weighting coefficient WL corresponding to brightness i (S,A). Through weighted processing, the adjustment amount of lighting parameters, including the color temperature adjustment amount, can be determined. and color temperature adjustment amount .
[0091] Based on the basic lighting parameters, the target lighting parameters can be obtained by incorporating the aforementioned lighting parameter adjustments.
[0092] For example, target color temperature for: .
[0093] Target brightness for: .
[0094] Optionally, step b2 above, "integrating the basic lighting parameters and the lighting parameter adjustment amount to determine the target lighting parameters," may include steps b21 to b24.
[0095] Step b21 involves adding lighting parameter adjustment amounts to the basic lighting parameters to obtain the lighting parameters to be determined.
[0096] Step b22: Determine the range of lighting parameters corresponding to the main scene type and / or the overlay scene type.
[0097] Step b23: If the lighting parameters to be determined are within the range of lighting parameters, the lighting parameters to be determined are taken as the target lighting parameters.
[0098] Step b24: If the lighting parameter to be determined is not within the range of lighting parameters, take the extreme value in the range of lighting parameters that is close to the lighting parameter to be determined as the target lighting parameter.
[0099] In this embodiment, the lighting parameters may be subject to certain range constraints in different scenarios, and corresponding lighting parameter ranges can be set accordingly. Specifically, in the main scene S and the overlay scene A, the allowable color temperature range is [T]. min (S,A),T max (S,A)], allowable brightness range [L] min (S,A), L max (S,A)].
[0100] For example, in foggy scenes, the color temperature should not be too high; for instance, the permissible color temperature range could be [3000K, 4500K]. In scenes involving oncoming traffic, the upper limit of the permissible brightness range is L. max (S,A) can be tightened up to 50% to avoid dazzling oncoming vehicles.
[0101] After determining the basic lighting parameters and the lighting parameter adjustment amount, the parameters determined by superimposing the two are called the lighting parameters to be determined, and the parameters are constrained according to the lighting parameter range under the current scene.
[0102] For example, target color temperature Target brightness They are respectively: ; .
[0103] Here, "clamp" represents clipping, ensuring that the calculated result does not exceed the allowable range, i.e., the target color temperature. The color temperature should not exceed the allowable range of [T]. min (S,A), T max [(S,A)], target brightness Not exceeding the allowable brightness range [L] min (S,A),L max (S,A)].
[0104] Optionally, step b22, "determining the range of lighting parameters corresponding to the main scene type and / or the overlay scene type", may specifically include steps b221 to b223.
[0105] Step b221: Determine whether to implement security protection based on multidimensional information.
[0106] Step b222: If safety protection is required, determine the range of lighting parameters that meet the safety protection requirements.
[0107] Step b223: If safety protection is not required, determine the range of lighting parameters corresponding to the main scene type and / or the overlay scene type.
[0108] In this embodiment, special safety-related scenarios are pre-set and given the highest priority. After determining the multi-dimensional information, it can be used to determine whether safety protection is needed. For example, it can be determined whether there are safety-related states such as fault protection (vehicle malfunction), anti-glare for oncoming traffic (oncoming traffic scenario), or headlight thermal protection (headlight overheating). If these exist, it can be determined that safety protection is needed, and therefore, lighting parameters that meet the safety protection requirements can be used directly. For example, when the headlight temperature is too high, the headlight brightness can be reduced to protect the headlight.
[0109] If no safety protection is required, the lighting parameter range preset for the current main scene type and overlay scene type can be determined, and this lighting parameter range can be used for parameter constraints.
[0110] Step S407: Control the lighting module of the target vehicle according to the target lighting parameters.
[0111] In this embodiment, the vehicle lighting is smoothly controlled to avoid sudden changes in color temperature and brightness. Specifically, step S407, "controlling the lighting module of the target vehicle according to the target lighting parameters," includes steps S4071 to S4073.
[0112] Step S4071: If the target lighting parameters are different from the previously determined historical lighting parameters, determine the transition time period.
[0113] In this embodiment, target lighting parameters can be determined periodically, and lighting control can be performed. For example, target lighting parameters can be determined every 10 seconds or 1 minute. Within the current processing cycle, in addition to determining the target lighting parameters, lighting parameters determined in the previous processing cycle, i.e., historical lighting parameters, can also be determined. If the historical lighting parameters differ from the target lighting parameters, for example, if the deviation between the two is greater than a preset threshold, the lighting parameters can be switched, and a smooth transition process can be adopted.
[0114] Specifically, a time period for smooth transition can be determined, i.e., the transition period, during which the lighting parameters are smoothly changed to transition them from historical lighting parameters to target lighting parameters.
[0115] In some alternative implementations, as shown above, the vehicle status information includes vehicle speed; and the above step S4071 "determine the transition time period" may include steps c1 to c2.
[0116] Step c1: When the scene in which the target vehicle is located changes, determine the change in lighting parameters, the change in scene confidence, and the scene priority corresponding to the current scene. The change in lighting parameters is the difference between the target lighting parameters and the historical lighting parameters. The change in scene confidence corresponds to the change in scene recognition confidence for the main scene type and / or the overlay scene type. The scene priority is the pre-set safety level for the corresponding scene.
[0117] Step c2: Determine the transition duration corresponding to the transition period based on the changes in vehicle speed, lighting parameters, scene confidence, and scene priority. The transition duration is positively correlated with the time of changes in vehicle speed, lighting parameters, and scene priority, and negatively correlated with the changes in scene confidence.
[0118] In this embodiment, the transition time period is a certain period of time starting from the current time point, with a certain transition duration τ. This transition duration τ is adaptively determined based on the following factors: changes in lighting parameters, changes in scene confidence, scene priority, and vehicle speed. Specifically, the transition duration is positively correlated with changes in lighting parameters, vehicle speed, and scene priority, and negatively correlated with changes in scene confidence. More specifically, the greater the change in lighting parameters, the longer the transition duration, avoiding visual discomfort caused by sudden changes; the higher the vehicle speed, the longer the transition duration, avoiding frequent adjustments during high-speed driving; the higher the scene priority (such as safety-related scenes), the shorter the transition duration, ensuring rapid response; the greater the change in scene confidence, the faster the scene recognition result changes, and the shorter the transition duration, avoiding excessively long transition times when the scene changes rapidly.
[0119] In this embodiment, a smooth transition process is used to avoid visual discomfort caused by abrupt changes in lighting parameters. The transition duration is adaptively determined based on multiple factors, ensuring both comfort and rapid response in safety-related scenarios.
[0120] Step S4072: Based on the historical lighting parameters and the target lighting parameters, determine the intermediate lighting parameters at each time point within the transition period. Each intermediate lighting parameter transitions from the historical lighting parameters to the target lighting parameters.
[0121] If the transition time period is τ, then the transition time period can be represented as [t0, t0+τ], where t0 represents the current time. For any time point t within this transition time period, intermediate lighting parameters, such as intermediate color temperature T(t) and intermediate brightness L(t), can be generated according to a preset transition curve. Furthermore, if the historical lighting parameters include historical color temperature... and historical brightness Target illumination parameters include target color temperature and target brightness ,but , Similarly, , .
[0122] The transition curve needs to be monotonic to ensure a smooth transition of intermediate lighting parameters from historical parameters to the target lighting parameters. This transition curve can employ linear transition, S-curve transition, exponential smoothing transition, etc. For example, taking color temperature as an example, the formula for a linear transition can be: .
[0123] Step S4073: Control the lighting module of the target vehicle according to each intermediate lighting parameter.
[0124] Once the intermediate lighting parameters for each time point are determined during this transition period, corresponding control commands can be generated, thereby controlling the color temperature and brightness of the lighting module.
[0125] Optionally, the above step S407 "controlling the lighting module of the target vehicle according to the target lighting parameters" may also include steps d1 to d2.
[0126] Step d1: Determine the lighting parameter offset corresponding to the user's preference.
[0127] Step d2: Correct the target lighting parameters according to the lighting parameter offset, and control the lighting module of the target vehicle according to the corrected target lighting parameters.
[0128] In this embodiment, the manual adjustment behavior of users (e.g., drivers) can be recorded to learn personalized lighting preferences. Specifically, the lighting parameters manually adjusted by users in different scenarios can be recorded, and the amount of change in user adjustments can be determined, which is the lighting parameter offset. For example, in a rainy scenario, a user might manually lower the color temperature by 200K and increase the brightness by 10%.
[0129] Based on this lighting parameter offset, a user preference model can be established. The calculated target lighting parameters can then be corrected according to this offset to ensure that the corrected lighting parameters conform to user habits. The lighting module of the target vehicle can then be controlled based on these corrected lighting parameters. Furthermore, multiple user profiles can be supported, with corresponding preferences automatically loaded when different drivers switch between platforms.
[0130] For example, lighting parameter offsets include color temperature offsets. T user Brightness offset L user Target illumination parameters can be adjusted based on user preference parameters, for example: T final = T tar + T user L final = L tar + L user T final L final This refers to the corrected color temperature and brightness. Additionally, user preferences may include a preference for transition duration τ. user It is used to correct the smooth transition time.
[0131] It is understandable that user preference parameters have lower priority than safety constraints such as regulations, safety, anti-glare, and thermal protection. When user preferences conflict with safety constraints, safety constraints take precedence.
[0132] Optionally, the method may further include: predicting the candidate scene type (including candidate main scene type and candidate overlay scene type) of the target vehicle at a future time point, and obtaining the basic lighting parameters and weight coefficients corresponding to the candidate scene type in advance; when the current scene is detected to switch to the scene corresponding to the candidate scene type, determining the latest target lighting parameters based on the obtained basic lighting parameters and weight coefficients in advance, so as to control the lighting module of the target vehicle.
[0133] In this embodiment, candidate scene parameters can be generated in advance based on navigation data and XPU perception prediction, and subsequent transition strategies can be adjusted. The prediction information itself does not directly switch to a fixed mode, but participates in the calculation of lighting parameters after confirmation by vehicle position, camera, or weather sensors. This can reduce abrupt changes and response lag when entering a new scene. For example, candidate parameters for rural roads without streetlights, tunnels, and rainy / foggy areas can be prepared in advance, and the convergence time can be shortened after confirmation. For example, if the weather forecast indicates rain / fog ahead: basic lighting parameters, weight templates, and transition time strategies for rainy / foggy scenes can be prepared in advance, and the system can quickly converge to the corresponding target lighting parameters after detecting actual changes in rainfall, visibility, or road surface reflectivity.
[0134] To facilitate understanding, the following examples illustrate the color temperature and brightness control strategies in different scenarios.
[0135] Scene 1: City road scene.
[0136] The scenario can be determined by factors such as vehicle location, road type, street lighting conditions, ambient object density, and vehicle speed. The presence of streetlights is determined by a combination of ambient illuminance, camera luminance detection, and map road attributes. For urban roads with streetlights, the base color temperature T0 can be set to 5000K-5500K, the base brightness L0 to medium brightness, and the weights of anti-glare factors such as road lighting factors and traffic participant factors should be increased. For urban roads without streetlights, the weights of L0 and visibility factors should be appropriately increased.
[0137] The target color temperature and target brightness can be obtained through calculation. In addition, if vehicles, pedestrians, or oncoming vehicles are detected ahead, anti-glare and safety constraints can be further applied to limit high beams or reduce glare-related output; light pollution constraints can be added to commercial areas, residential areas, etc., and negative corrections can be applied to brightness.
[0138] Scene 2: Rural road scene.
[0139] In this scenario, the road type is a rural road with weak street lighting. The optimal settings can be determined by combining vehicle speed, intersection / village entrance map information, and environmental images captured by cameras. The base color temperature T0 can be set to 4000K-4500K, and the base brightness L0 can be set to a higher brightness. The weights of visibility factor, vehicle speed factor, and environmental object factor can be increased to balance long-distance lighting and roadside target recognition.
[0140] Furthermore, when there are no oncoming vehicles and the regulations are met, if the vehicle is equipped with high beam, ADB, or AFS functions, it can additionally output high beam permission or beam pattern request; when approaching intersections or village entrances, it can smoothly increase brightness or short-range visibility in advance. If the vehicle model is only equipped with variable color temperature and brightness control, only the color temperature and brightness will be adjusted.
[0141] Scene 3: Mountain road scene.
[0142] The scenario can be determined by the road type of the high-precision map, the curvature of the curve, the steering angle, the road boundary recognition by the camera, and optional slope / elevation change information; if the vehicle model does not provide slope data, only the map curvature, vehicle speed and steering angle can be used for calculation.
[0143] In this scenario, the base color temperature T0 can be set to 3500K-4200K, and the weights of the curve factor, visibility factor, and road condition factor can be increased. If fog, dust, or slippery road surface are detected, the weather / road surface overlay factor will further reduce the color temperature and adjust the brightness.
[0144] Calculations yield a warmer color temperature and dynamic brightness. If the vehicle is equipped with ADB / AFS, cornering illumination is applied based on the cornering factor; cornering illumination is a beam pattern control capability. If not equipped, compensation is achieved solely through color temperature and brightness.
[0145] Scene 4: Forest road scene.
[0146] Scene recognition can be determined jointly by road type, forest area on the map, frequency of brightness changes in camera images, and roadside occlusion recognition results. The degree of tree occlusion can be estimated by the brightness variance of the camera image and the occlusion ratio of the road edge. Its base color temperature T0 can be set to 3800K-4500K, and a preset forest road weight template can be used. Based on this weight template, the weights of environmental object factors such as ambient light variation factors and obstacles can be appropriately increased.
[0147] In this scenario, the output features warm color temperature and smoothed brightness variations, while also enhancing visibility at roadside edges. This enhancement can be achieved through light pattern control, or through brightness allocation and color temperature correction when no relevant hardware is configured.
[0148] Scene 5: Seaside / Highland Highway Scene.
[0149] The scene can be determined by geographical location, road type, altitude or coastline map information, ambient illumination, and road surface wetness / reflection recognition results. When the air is clear and the road surface is dry, the base color temperature T0 can be set to 5200K-5800K to improve long-distance clarity; if wet road surface, rain, fog, or strong reflective scenes are superimposed, the weight of road surface reflectivity and weather factors is increased, the color temperature is corrected to a warmer color, and the brightness is appropriately reduced.
[0150] The above configuration allows for different target values to be obtained based on road surface and weather overlay factors in the same seaside / plateau main scene, avoiding the use of a fixed cool color temperature mode.
[0151] The vehicle lighting control method provided in this embodiment integrates multi-dimensional parameters such as geographical location, weather, vehicle speed, and road type. It defines long-term basic states such as road / geographical environment as the main scene to determine basic parameter values; and defines short-term or superimposed states such as rain, fog, oncoming traffic, and curves as superimposed scenes to determine the weights of various impression factors. This allows for dynamic adjustment of lighting parameters, achieving continuous and smooth adjustment of color temperature and brightness. Based on positioning and map data, it identifies different road scenes such as urban / rural / mountain roads / forest roads / coastal areas, and optimizes color temperature, brightness, and light pattern strategies accordingly, achieving scene-specific precise lighting. Furthermore, it adds smooth transition processing. When the target lighting parameters differ from historical lighting parameters, a transition period is determined, and intermediate lighting parameters are generated within this period to gradually transition from historical lighting parameters to the target lighting parameters. The transition duration is adaptively determined based on factors such as vehicle speed, the amount of change in lighting parameters, and scene priority, avoiding visual discomfort caused by sudden parameter changes and enabling rapid response in safety-related scenarios.
[0152] This application also provides a vehicle, which includes a controller and a lighting module; wherein the controller is connected to the lighting module; the controller is used to execute the vehicle lighting control method provided in any of the above embodiments to control the lighting module. A schematic diagram of the vehicle's architecture can be found here. Figure 3 As shown, it will not be elaborated further here.
[0153] Optionally, such as Figure 5 As shown, the vehicle also includes a constant current source and a bypass switch.
[0154] The lighting module includes a first light-emitting element and a second light-emitting element; the first and second light-emitting elements have different color temperatures. The input terminal of the constant current source is connected to the power supply Vin, and the output terminal is connected to the first terminal of the first light-emitting element. The second terminal of the first light-emitting element is connected to the first terminal of the second light-emitting element, and also connected to the first terminal of a bypass switch. The second terminal of the second light-emitting element and the second terminal of the bypass switch are both grounded.
[0155] The controller is connected to the control terminal of the constant current source and the control terminal of the bypass switch. The controller is used to determine and output current control signal and PWM control signal according to the target lighting parameters. The current control signal is used to control the output current of the constant current source, and the PWM control signal is used to control the duty cycle of the bypass switch.
[0156] In this embodiment, a topology of single constant current source + bypass switch is used to achieve color temperature and brightness adjustment. For example... Figure 5As shown, the lighting module includes a first light-emitting element (e.g., a white LED group) and a second light-emitting element (e.g., a yellow LED group), with different color temperatures. The output terminal of the constant current source is connected to the positive terminal of the first light-emitting element, the negative terminal of the first light-emitting element is connected to the positive terminal of the second light-emitting element, and the negative terminal of the second light-emitting element is grounded. A bypass switch is connected between the positive terminal of the second light-emitting element and the ground terminal.
[0157] The controller can determine the PWM duty cycle of the bypass switch based on the target color temperature: when the target color temperature is low, the PWM duty cycle is small, the bypass switch has a short conduction time, and more current flows through the yellow LED group, resulting in a lower color temperature; when the target color temperature is high, the PWM duty cycle is large, the bypass switch has a long conduction time, more current is bypassed, and the current mainly flows through the white LED group, resulting in a higher color temperature. By continuously adjusting the PWM duty cycle of the bypass switch, stepless color temperature control can be achieved, for example, stepless color temperature control between 3000K and 6000K can be achieved.
[0158] In addition, the controller can also determine the output current of the constant current source based on the target brightness: when the target brightness is high, the output current of the constant current source is increased through the current control signal; when the target brightness is low, the output current of the constant current source is decreased through the current control signal.
[0159] In another implementation, the lighting module can use a multi-channel independent drive to achieve color temperature adjustment. For example, the white LED group and the yellow LED group are each driven by an independent constant current source, and the controller adjusts the color temperature by adjusting the output current ratio of the two constant current sources, thereby adjusting the overall brightness.
[0160] The lighting adjustment topology described above, consisting of a single constant current source and a bypass switch, can use one PWM duty cycle to control the bypass ratio of the yellow LED to achieve stepless adjustment of the color temperature, and use another PWM duty cycle to control the output current of the constant current source to achieve brightness control. The circuit structure is simple and efficient.
[0161] This embodiment also provides a vehicle lighting control device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0162] This embodiment provides a vehicle lighting control device, such as... Figure 6 As shown, the device includes: The acquisition module 601 is used to acquire multi-dimensional information of the target vehicle; the multi-dimensional information includes road environment information, meteorological environment information and vehicle status information; Scene recognition module 602 is used to perform scene recognition based on the road environment information and the meteorological environment information, and determine the main scene type and at least one overlay scene type corresponding to the current scene; Processing module 603 is configured to: determine basic lighting parameters based on the main scene type; determine weight coefficients corresponding to each lighting influence factor based on the main scene type and the overlay scene type; determine current feature values corresponding to each lighting influence factor based on the multidimensional information; and obtain target lighting parameters by weighted fusion calculation based on the basic lighting parameters, the current feature values corresponding to each lighting influence factor, and the weight coefficients. The control module 604 is used to control the lighting module of the target vehicle according to the target lighting parameters.
[0163] In some optional implementations, determining the weighting coefficients corresponding to each lighting influence factor based on the main scene type and the overlay scene type includes: When the current scene corresponds to multiple overlay scene types, the overlay scene confidence level corresponding to each of the overlay scene types is determined; the overlay scene confidence level is used to characterize the recognition probability that the current scene belongs to the overlay scene type. For any of the aforementioned overlay scene types, a preset weight coefficient corresponding to each lighting influence factor is determined based on the main scene type and the overlay scene type; The preset weight coefficients corresponding to the same lighting influence factor are weighted according to the confidence level of each superimposed scene to obtain the weight coefficients corresponding to the lighting influence factor.
[0164] In some optional implementations, the step of obtaining the target lighting parameters through weighted fusion calculation based on the basic lighting parameters, the current feature values corresponding to each of the lighting influence factors, and the weighting coefficients includes: The current feature value and the weight coefficient corresponding to each of the lighting influencing factors are weighted to determine the lighting parameter adjustment amount; The target lighting parameters are determined by combining the basic lighting parameters and the lighting parameter adjustment amount.
[0165] In some optional implementations, determining the target lighting parameters by fusing the base lighting parameters and the lighting parameter adjustment amount includes: The lighting parameter adjustment amount is added to the basic lighting parameters to obtain the lighting parameters to be determined; Determine the range of lighting parameters corresponding to the main scene type and / or the overlay scene type; If the undetermined lighting parameter is within the range of the lighting parameters, the undetermined lighting parameter is taken as the target lighting parameter; If the desired lighting parameter is not within the range of lighting parameters, the extreme value in the range of lighting parameters that is close to the desired lighting parameter shall be taken as the target lighting parameter.
[0166] In some optional implementations, determining the range of lighting parameters corresponding to the main scene type and / or the overlay scene type includes: Determine whether to implement security protection based on the multidimensional information; In cases where safety protection is required, determine the range of lighting parameters that meet the safety protection requirements; In the absence of safety protection, determine the range of lighting parameters corresponding to the main scene type and / or the overlay scene type.
[0167] In some optional implementations, controlling the lighting module of the target vehicle according to the target lighting parameters includes: If the target lighting parameters differ from the previously determined historical lighting parameters, a transition period is determined. Based on the historical lighting parameters and the target lighting parameters, intermediate lighting parameters are determined at each time point within the transition period; each intermediate lighting parameter transitions from the historical lighting parameters to the target lighting parameters. The lighting module of the target vehicle is controlled according to each of the intermediate lighting parameters.
[0168] In some alternative implementations, the vehicle status information includes vehicle speed; The determination of the transition period includes: When the scene in which the target vehicle is located changes, the amount of change in lighting parameters, the amount of change in scene confidence, and the scene priority corresponding to the current scene are determined; the amount of change in lighting parameters is the difference between the target lighting parameters and the historical lighting parameters; the amount of change in scene confidence is the amount of change in scene recognition confidence corresponding to the main scene type and / or the overlay scene type; and the scene priority is the security level of the corresponding scene that is preset. The transition duration is determined based on the vehicle speed, the change in lighting parameters, the change in scene confidence, and the scene priority. The transition duration is positively correlated with the vehicle speed, the change in lighting parameters, and the scene priority, and negatively correlated with the change in scene confidence.
[0169] In some optional implementations, controlling the lighting module of the target vehicle according to the target lighting parameters includes: Determine the lighting parameter offsets corresponding to user preferences; The target lighting parameters are corrected based on the lighting parameter offset, and the lighting module of the target vehicle is controlled based on the corrected target lighting parameters.
[0170] The vehicle lighting control device provided in this disclosure can execute the vehicle lighting control method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the various modules and units described above are the same as in the corresponding embodiments described above, and will not be repeated here.
[0171] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0172] The following is a detailed reference. Figure 7 The diagram illustrates a structural schematic suitable for implementing the electronic device described in the embodiments of this application. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 701, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 702 or a program loaded from memory 708 into random access memory (RAM) 703. The RAM 703 also stores various programs and data required for the operation of the electronic device. The processor 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0173] Typically, the following devices can be connected to I / O interface 705: input devices 706 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 707 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 708 including, for example, magnetic tapes, hard disks, etc.; and communication devices 709. Communication device 709 allows electronic devices to exchange data via wireless or wired communication with other devices. Although Figure 7 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.
[0174] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 709, or installed from memory 708, or installed from ROM 702. When the computer program is executed by processor 701, it performs the functions defined in the vehicle lighting control method of embodiments of this application.
[0175] Figure 7 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0176] This application also provides a computer-readable storage medium. The methods described in this application can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the vehicle lighting control method shown in the above embodiments is implemented.
[0177] A portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0178] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and all such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A vehicle lighting control method, characterized in that, The method includes: Acquire multidimensional information about the target vehicle; the multidimensional information includes road environment information, meteorological environment information, and vehicle status information; Based on the road environment information and the meteorological environment information, scene recognition is performed to determine the main scene type and at least one overlay scene type corresponding to the current scene; Determine the basic lighting parameters based on the main scene type; The weight coefficients corresponding to each lighting influence factor are determined based on the main scene type and the overlay scene type. Determine the current feature value corresponding to each of the lighting influencing factors based on the multidimensional information; Based on the basic lighting parameters, the current feature values corresponding to each of the lighting influencing factors, and the weighting coefficients, the target lighting parameters are obtained through weighted fusion calculation. The lighting module of the target vehicle is controlled according to the target lighting parameters.
2. The method according to claim 1, characterized in that, The step of determining the weight coefficients corresponding to each lighting influence factor based on the main scene type and the overlay scene type includes: When the current scene corresponds to multiple overlay scene types, the overlay scene confidence level corresponding to each of the overlay scene types is determined; the overlay scene confidence level is used to characterize the recognition probability that the current scene belongs to the overlay scene type. For any of the aforementioned overlay scene types, a preset weight coefficient corresponding to each lighting influence factor is determined based on the main scene type and the overlay scene type; The preset weight coefficients corresponding to the same lighting influence factor are weighted according to the confidence level of each superimposed scene to obtain the weight coefficients corresponding to the lighting influence factor.
3. The method according to claim 1, characterized in that, The step of obtaining the target lighting parameters through weighted fusion calculation based on the basic lighting parameters, the current feature values corresponding to each of the lighting influence factors, and the weight coefficients includes: The current feature value and the weight coefficient corresponding to each of the lighting influencing factors are weighted to determine the lighting parameter adjustment amount; The target lighting parameters are determined by combining the basic lighting parameters and the lighting parameter adjustment amount.
4. The method according to claim 3, characterized in that, The process of determining the target lighting parameters by integrating the basic lighting parameters and the lighting parameter adjustment amounts includes: The lighting parameter adjustment amount is added to the basic lighting parameters to obtain the lighting parameters to be determined; Determine the range of lighting parameters corresponding to the main scene type and / or the overlay scene type; If the undetermined lighting parameter is within the range of the lighting parameters, the undetermined lighting parameter is taken as the target lighting parameter; If the desired lighting parameter is not within the range of lighting parameters, the extreme value in the range of lighting parameters that is close to the desired lighting parameter shall be taken as the target lighting parameter.
5. The method according to claim 3, characterized in that, Determining the range of lighting parameters corresponding to the main scene type and / or the overlay scene type includes: Determine whether to implement security protection based on the multidimensional information; In cases where safety protection is required, determine the range of lighting parameters that meet the safety protection requirements; In the absence of safety protection, determine the range of lighting parameters corresponding to the main scene type and / or the overlay scene type.
6. The method according to claim 1, characterized in that, The step of controlling the lighting module of the target vehicle according to the target lighting parameters includes: If the target lighting parameters differ from the previously determined historical lighting parameters, a transition period is determined. Based on the historical lighting parameters and the target lighting parameters, intermediate lighting parameters are determined at each time point within the transition period; each intermediate lighting parameter transitions from the historical lighting parameters to the target lighting parameters. The lighting module of the target vehicle is controlled according to each of the intermediate lighting parameters.
7. The method according to claim 6, characterized in that, The vehicle status information includes vehicle speed; The determination of the transition period includes: When the scene in which the target vehicle is located changes, the amount of change in lighting parameters, the amount of change in scene confidence, and the scene priority corresponding to the current scene are determined; the amount of change in lighting parameters is the difference between the target lighting parameters and the historical lighting parameters; the amount of change in scene confidence is the amount of change in scene recognition confidence corresponding to the main scene type and / or the overlay scene type; and the scene priority is the security level of the corresponding scene that is preset. The transition duration is determined based on the vehicle speed, the change in lighting parameters, the change in scene confidence, and the scene priority. The transition duration is positively correlated with the vehicle speed, the change in lighting parameters, and the scene priority, and negatively correlated with the change in scene confidence.
8. The method according to claim 1, characterized in that, The step of controlling the lighting module of the target vehicle according to the target lighting parameters includes: Determine the lighting parameter offsets corresponding to user preferences; The target lighting parameters are corrected based on the lighting parameter offset, and the lighting module of the target vehicle is controlled based on the corrected target lighting parameters.
9. An electronic device, characterized in that, include: A memory and a processor are communicatively connected, the memory storing computer instructions, and the processor executing the computer instructions to perform the vehicle lighting control method according to any one of claims 1 to 8.
10. A vehicle, characterized in that, include: Controller and lighting module; The controller is connected to the lighting module; The controller is used to execute the vehicle lighting control method according to any one of claims 1 to 8 to control the lighting module.
11. The vehicle according to claim 10, characterized in that, The vehicle also includes: a constant current source and a bypass switch; The lighting module includes a first light-emitting element and a second light-emitting element; the first light-emitting element and the second light-emitting element have different color temperatures; The input terminal of the constant current source is used to connect to a power supply, and the output terminal is connected to the first terminal of the first light-emitting element. The second end of the first light-emitting element is connected to the first end of the second light-emitting element, and is also connected to the first end of the bypass switch; The second terminal of the second light-emitting element and the second terminal of the bypass switch are both grounded; The controller is connected to the control terminal of the constant current source and the control terminal of the bypass switch; the controller is used to determine and output a current control signal and a PWM control signal according to the target lighting parameters, the current control signal is used to control the output current of the constant current source, and the PWM control signal is used to control the duty cycle of the bypass switch.