Light brightness adjustment method and device, vehicle, storage medium and program product
Patent Information
- Application Number
- CN202510442795.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2026-10-16
AI Technical Summary
[0004]本发明提供了一种灯光亮度调节方法、装置、车辆、存储介质及程序产品,以解决固定亮度的照明系统固定亮度的照明系统不能跟随车辆环境的变化自适应调节灯光调度,无法兼顾车辆的节能与驾驶安全的问题
[0017] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions, which are used to cause a processor to execute and implement the light brightness adjustment method described in any embodiment of the present invention.
Smart Images

Figure CN122914951A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of lighting adjustment technology, and in particular to a lighting brightness adjustment method, device, vehicle, storage medium, and program product. Background Technology
[0002] As the primary lighting tool for vehicles, the adjustment of vehicle headlight brightness is of great importance to vehicle driving safety.
[0003] Traditional vehicle lighting systems typically use fixed-brightness lights, unable to flexibly adjust brightness according to external environmental conditions. Excessively high or low brightness can impair driver visibility, potentially leading to traffic accidents; furthermore, excessive brightness is wasteful. Simultaneously, traditional lighting systems lack intelligent adjustment capabilities, requiring drivers to manually control the lights, undoubtedly increasing their workload. Therefore, fixed-brightness lighting systems cannot adaptively adjust light distribution to change in the vehicle's environment, failing to balance energy efficiency and driving safety. Summary of the Invention
[0004] This invention provides a method, device, vehicle, storage medium, and program product for adjusting lighting brightness, in order to solve the problem that fixed-brightness lighting systems cannot adaptively adjust lighting schedules according to changes in the vehicle environment, thus failing to balance energy saving and driving safety.
[0005] In a first aspect, embodiments of the present invention provide a method for adjusting light brightness.
[0006] Acquire vehicle operating environment data and vehicle speed data;
[0007] Determine the target light brightness of the vehicle lights under the operating environment based on the aforementioned operating environment data;
[0008] The brightness of the vehicle lights is adjusted to the target brightness based on the vehicle speed data.
[0009] Secondly, embodiments of the present invention provide a light brightness adjustment device.
[0010] The data acquisition module is used to acquire vehicle operating environment data and vehicle speed data;
[0011] The light brightness determination module is used to determine the target light brightness of the vehicle lights in the operating environment based on the operating environment data;
[0012] The headlight brightness adjustment module is used to adjust the brightness of the vehicle headlights to the target headlight brightness based on the vehicle speed data.
[0013] Thirdly, embodiments of the present invention provide a vehicle, the vehicle comprising:
[0014] At least one processor; and
[0015] A memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the light brightness adjustment method according to any embodiment of the present invention.
[0017] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions, which are used to cause a processor to execute and implement the light brightness adjustment method described in any embodiment of the present invention.
[0018] Fifthly, embodiments of the present invention provide a computer program product including a computer program, which, when executed by a processor, implements the light brightness adjustment method described in any embodiment of the present invention.
[0019] The technical solution of this invention acquires vehicle operating environment data; determines the target brightness of the vehicle lights in the operating environment based on the operating environment data; and adjusts the brightness of the vehicle lights to the target brightness. This enables adaptive adjustment of the vehicle lights' brightness based on the vehicle's operating environment data and vehicle speed, matching the brightness with the driving environment. Furthermore, it avoids over-illumination in well-lit conditions, effectively saving energy consumption. This solves the problem that fixed-brightness lighting systems cannot adaptively adjust their lighting according to changes in the vehicle environment, failing to balance energy saving and driving safety.
[0020] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a flowchart of a light brightness adjustment method provided in Embodiment 1 of the present invention;
[0023] Figure 2This is a schematic diagram of the structure of a light brightness adjustment device provided in Embodiment 3 of the present invention;
[0024] Figure 3 A schematic diagram of the vehicle structure for implementing the headlight brightness adjustment method of this embodiment of the invention. Detailed Implementation
[0025] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "current," "initial," "target," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0027] Example 1
[0028] Figure 1 This is a flowchart of a headlight brightness adjustment method provided in Embodiment 1 of the present invention. This embodiment is applicable to the automatic adjustment of vehicle headlight brightness. The method can be executed by a headlight brightness adjustment device, which can be implemented in hardware and / or software and can be configured in a vehicle. Figure 1 As shown, the method includes:
[0029] S110. Obtain vehicle operating environment data and vehicle speed data.
[0030] The operating environment data can be understood as data collected by the vehicle in its surrounding environment. This includes factors such as ambient light, road conditions, and weather conditions. Road conditions can include road type (e.g., highway, street, or rural road), road surface condition (whether there are obstacles, water accumulation, or ice), and traffic conditions (e.g., traffic flow). Weather conditions can include rainfall, snowfall, fog, concentration of fine particulate matter (e.g., PM2.5), and visibility. Vehicle speed data reflects the vehicle's operating speed, which can be instantaneous speed or average speed over a preset time period.
[0031] For example, ambient brightness can be obtained by collecting ambient light intensity data through a brightness sensor installed on the vehicle. Road conditions can be obtained, and weather conditions can be obtained directly through sensors on the vehicle or by connecting to external data sources (such as weather APIs or traffic information platforms) to obtain real-time data. Vehicle speed data can be obtained through wheel speed sensors or inertial measurement units on the vehicle, or through positioning via a global positioning system. This embodiment of the invention does not limit the methods for obtaining vehicle operating environment data and vehicle speed data; those skilled in the art can choose one or a combination of multiple acquisition methods according to actual needs.
[0032] For example, ambient brightness data from the operating environment can be used as the primary basis for adjusting the brightness of vehicle headlights. Other operating environment data can also be processed and used as auxiliary information for further adjustments to headlight brightness. Vehicle speed data is used to control the adjustment speed of headlight brightness, ensuring that the vehicle headlights adjust according to vehicle speed, thereby improving driving safety and comfort.
[0033] S120. Determine the target light brightness of the vehicle lights under the operating environment based on the operating environment data.
[0034] In this context, vehicle lights can be understood as lights used for illumination on a vehicle, typically located at the front. Vehicle lights usually consist of multiple or groups of LED lights; however, this embodiment of the invention does not limit the type or material of the vehicle lights. Target light brightness can be understood as the light brightness of the vehicle lights adapted to the operating environment.
[0035] Specifically, based on the collected or processed operating environment data, a target headlight brightness that is compatible with the vehicle's operating environment is determined through a preset algorithm or matching strategy, which serves as one of the bases for adjusting headlight brightness.
[0036] For example, the target headlight brightness best matched to the operating environment can be determined based on operating environment data; alternatively, an initial headlight brightness matching the operating environment can be determined based on the mapping relationship between ambient brightness and headlight brightness in the operating environment data. Environmental visibility can be determined by filtering, cleaning, and quantizing operating environment data such as road conditions and weather conditions. The initial headlight brightness can then be further adjusted based on the environmental visibility to obtain a target headlight brightness more suitable for the environment. For instance, in situations with weak lighting and poor road conditions, the headlight brightness can be appropriately increased to ensure good visibility for the driver. In adverse weather conditions, the headlight brightness can be adjusted to the maximum to ensure safe driving. Conversely, in situations with good lighting, clear weather, and good road conditions, the headlight brightness can be appropriately reduced to avoid light interference with pedestrians or vehicles on the road, while also reducing vehicle energy consumption.
[0037] S130. Adjust the brightness of the vehicle lights to the target brightness based on the vehicle speed data.
[0038] Specifically, the headlight brightness adjustment speed is determined based on vehicle speed data. Within a certain time period, the brightness of the vehicle's headlights is adjusted to the target brightness according to this speed. For example, when the vehicle is traveling at high speed, the time between brightness changes is increased, and the adjustment speed is decreased to avoid visual discomfort or distraction to the driver caused by rapid changes in brightness. When the vehicle is traveling at low speed or stationary, the time between brightness changes is shortened, and the adjustment speed is increased, allowing the headlight brightness adjustment to quickly adapt to environmental changes and improving the adaptability of headlight brightness to the vehicle's operating environment.
[0039] The technical solution of this invention acquires vehicle operating environment data; determines the target brightness of the vehicle lights in the operating environment based on the operating environment data; and adjusts the brightness of the vehicle lights to the target brightness. This enables adaptive adjustment of the vehicle lights' brightness based on the vehicle's operating environment data and vehicle speed, matching the brightness with the driving environment. Furthermore, it avoids over-illumination in well-lit conditions, effectively saving energy consumption and balancing energy saving with driving safety and comfort.
[0040] As an optional embodiment of this application, S130, adjusting the brightness of the vehicle headlights to the target headlight brightness based on the vehicle speed data, includes:
[0041] S131. Obtain the current brightness of the vehicle's headlights.
[0042] The current light brightness can be understood as the light brightness of the vehicle's lights at the current moment. It can be the default light brightness setting or the light brightness after the last adjustment.
[0043] S132. Determine the headlight brightness adjustment parameters based on the vehicle speed data, the current headlight brightness, and the target headlight brightness.
[0044] Among them, the light brightness adjustment parameters can be understood as parameters used to control the light brightness adjustment, which can include the light brightness adjustment step size and the number of light brightness adjustments; the light brightness adjustment step size can reflect the speed of light brightness adjustment, and the number of light brightness adjustments can reflect the transition time of light adjustment.
[0045] Specifically, the difference between the target light brightness and the current light brightness is determined as the light brightness adjustment value. Based on the light brightness adjustment value and vehicle speed data, the light adjustment parameters are determined through a preset algorithm or mapping relationship to control the speed of light adjustment.
[0046] For example, when the vehicle is traveling at high speed, the headlight brightness adjustment time is extended, the headlight adjustment step size is reduced, and the headlight brightness adjustment speed is slowed down to avoid visual discomfort or distraction to the driver caused by rapid changes in headlight brightness; when the vehicle is traveling at low speed or parked, the headlight brightness adjustment time is shortened, the headlight adjustment step size is increased, and the headlight brightness adjustment speed is increased, so that the headlight brightness adjustment can quickly adapt to environmental changes and improve the adaptability of headlight brightness to the vehicle's operating environment.
[0047] S133. Adjust the brightness of the vehicle headlights to the target brightness according to the brightness adjustment parameters.
[0048] Specifically, the brightness of the vehicle lights is gradually adjusted to the target brightness based on the brightness adjustment parameters, including the brightness adjustment step size and the number of brightness adjustments, so that the brightness adjustment of the vehicle lights during operation is adapted to the vehicle's operating environment.
[0049] This embodiment determines the headlight brightness adjustment parameters based on vehicle speed data. When the vehicle is traveling at high speed, the headlight brightness is controlled to change slowly to avoid visual discomfort or distraction to the driver caused by rapid changes in headlight brightness, which could threaten driving safety. When traveling at low speed or stationary, the headlight brightness is controlled to change rapidly to quickly adapt to environmental changes and ensure the safety and comfort of driving.
[0050] In an optional embodiment, S132, determining the headlight brightness adjustment parameters based on the vehicle speed data, the current headlight brightness, and the target headlight brightness includes:
[0051] Determine the headlight brightness adjustment time corresponding to the vehicle speed range based on the vehicle speed data;
[0052] The product of the light brightness adjustment time and the light brightness adjustment frequency is determined as the number of light brightness adjustments;
[0053] The difference between the target light brightness and the current light brightness is determined as the light brightness adjustment value;
[0054] The ratio of the light brightness adjustment value to the number of light brightness adjustments is determined as the light brightness adjustment step size;
[0055] The light brightness adjustment step size and the number of light brightness adjustments are defined as light brightness adjustment parameters.
[0056] The headlight brightness adjustment time can be understood as the time required for the vehicle's headlights to adjust from the current brightness to the target brightness. The headlight brightness adjustment frequency can be understood as the number of times the headlight brightness is adjusted per unit time, and can be set according to actual needs, with the unit being times per unit time, such as 10 times / second. This embodiment of the invention does not impose any limitation on this. The headlight brightness adjustment step size can be understood as the brightness value changed each time the headlight brightness is adjusted, such as an increase of 0.75% or a decrease of 0.45%. The number of headlight brightness adjustments can be understood as the number of adjustments required for the vehicle's headlights to adjust from the current brightness to the target brightness.
[0057] Specifically, the vehicle speed range is pre-divided into multiple consecutive speed intervals, and a mapping table is constructed based on the speed intervals and the headlight brightness adjustment time. For example, Table 1 shows the mapping table between speed intervals and headlight brightness adjustment time. It is understood that Table 1 is merely an example of headlight brightness adjustment time and is not intended as a limitation; the mapping relationship between speed intervals and headlight brightness adjustment time can be set according to actual needs.
[0058] Table 1
[0059] Vehicle speed range (km / h) Light brightness adjustment time (s) >80 3 60~80 2.5 40~60 2 20~40 1.5 0~20 1
[0060] Based on the vehicle speed data, determine the speed range to which the vehicle belongs. Then, consult the mapping table between speed ranges and headlight brightness adjustment times to obtain the corresponding headlight brightness adjustment time for that speed range. Finally, calculate the headlight brightness adjustment step size and the number of headlight brightness adjustments based on the headlight brightness adjustment time, target headlight brightness, current headlight brightness, and preset headlight brightness adjustment frequency. The specific calculation method is as follows:
[0061] M = T × p;
[0062] ΔL=(Dtination_brightness-Initial_brightness) / M;
[0063] Where ΔL is the step size for adjusting light brightness, Dtination_brightness is the target light brightness, Initial_brightness is the current light brightness, T is the light brightness adjustment time, p is the light brightness adjustment frequency, and M is the number of light brightness adjustments.
[0064] For example, with a vehicle speed of 50 km / h, and the headlight brightness adjustment time found in the mapping table shown in Table 1 is 2 seconds, the adjustment frequency is 10 times / second, the current headlight brightness is 50%, and the target headlight brightness is 65%. Therefore, the calculated number of headlight brightness adjustments is 20, and the adjustment step size is 0.75%. Based on the headlight brightness adjustment parameters—the adjustment step size and the number of adjustments—the vehicle's headlights are controlled to increase brightness by 0.75% every 0.1 seconds, for a total of 20 times, completing the adjustment from 50% to 65% brightness.
[0065] This embodiment determines the headlight brightness adjustment parameters based on vehicle speed data: headlight brightness adjustment step size and headlight brightness adjustment number. The headlight brightness of the vehicle is adjusted according to the headlight brightness adjustment parameters to control the rate of change of headlight brightness to match the change of vehicle speed.
[0066] In an optional embodiment, S133, adjusting the brightness of the vehicle headlights to the target brightness according to the headlight brightness adjustment parameters includes:
[0067] The brightness of the target light is converted into a pulse width modulation signal;
[0068] The pulse width modulation signal is sent to the lighting control module of the vehicle headlights to control the brightness of the vehicle headlights to be adjusted to the target brightness.
[0069] Pulse Width Modulation (PWM) is a technique that controls parameters such as power, brightness, or speed by changing the duty cycle of a pulse signal (i.e., the ratio of pulse width to period). PWM signals are used to adjust the brightness of vehicle headlights.
[0070] Specifically, the corresponding PWM duty cycle is calculated based on the target light brightness. For example, if the target light brightness is 50%, the duty cycle can be set to 50%. A PWM signal is generated based on the calculated duty cycle. The PWM signal is sent to the lighting control module through the vehicle's communication bus (such as the CAN bus) or directly through a circuit connection. The drive circuit in the lighting control module controls the current of the vehicle's lights according to the duty cycle of the PWM signal, thereby achieving light brightness adjustment.
[0071] This embodiment utilizes PWM modulation technology to adjust the duty cycle according to the target light brightness to control the brightness of the vehicle lights, which can achieve precise and fast light brightness adjustment and save energy.
[0072] As an optional embodiment of this application, S120, determining the target light brightness of the vehicle headlights in the operating environment based on the operating environment data, includes:
[0073] S121. Determine the initial light brightness of the vehicle lights under the operating environment based on the ambient brightness data in the operating environment data.
[0074] The initial light brightness can be understood as the light brightness initially determined based on ambient light data.
[0075] Specifically, the operating environment data can include ambient brightness data and weather data. The initial brightness of the vehicle lights can be initially determined based on the ambient brightness data. However, in addition to ambient brightness, weather conditions can also affect the driver's vision. For example, visibility is reduced in rainy, snowy, foggy, or hazy weather, requiring higher lighting. Therefore, it is necessary to further fine-tune the initial brightness of the lights based on the weather data.
[0076] For example, the initial light brightness of vehicle lights in the operating environment can be determined by querying a mapping table between ambient brightness and initial light brightness to determine the initial light brightness corresponding to the ambient brightness, or by using linear interpolation and spline interpolation algorithms to determine the initial light brightness corresponding to the ambient brightness.
[0077] S122. Determine the light brightness correction coefficient corresponding to the environmental visibility range based on the weather data in the operating environment data.
[0078] The environmental visibility light rating can be understood as the result of quantifying weather data into environmental visibility and classifying it into different levels. Weather data and environmental visibility are related; for example, visibility is highest on clear days, reaching up to 10 kilometers. Environmental visibility decreases with increasing rainfall or snowfall, and it decreases with increasing fog intensity or PM2.5 concentration. The light brightness correction factor can be understood as a factor that fine-tunes the light brightness, ranging from 0 to 100%. A higher value indicates a greater adjustment to the light brightness. The worse the environmental visibility, the larger the light brightness correction factor.
[0079] Specifically, based on the relationship between ambient visibility and light intensity, a mapping table is constructed between ambient visibility ranges and light intensity correction coefficients. For example, Table 2 shows the mapping table between ambient visibility ranges and light intensity correction coefficients. It is understood that Table 2 is merely an example of light intensity correction coefficients and is not intended as a limitation; the mapping relationship between ambient visibility ranges and light intensity correction coefficients can be set based on actual needs.
[0080] Table 2
[0081] Visibility range (km) Lighting brightness correction factor (%) >8 +0 4~8 +10 2~4 +20 1~2 +30 0.5~1 +40 <0.5 +50
[0082] The weather data in the operating environment data is processed, and the environmental visibility is estimated based on the weather data. The environmental visibility range is determined, and the mapping relationship table between the environmental visibility range and the light brightness correction coefficient is consulted to obtain the light brightness correction coefficient corresponding to the environmental visibility range of the weather data.
[0083] S123. The product of the light brightness correction coefficient and the initial light brightness is determined as the light brightness correction value, and the sum of the light brightness correction value and the initial light brightness is determined as the corrected light brightness.
[0084] Specifically, the corrected light brightness is determined based on the light brightness correction factor and the initial light brightness, as follows:
[0085] Correct_brightness=Initial_brightness×(1+γ);
[0086] Where Correct_brightness is the corrected light brightness, Initial_brightness is the initial light brightness, γ is the light brightness correction coefficient, and Initial_brightness×γ is the light brightness correction value.
[0087] S124. The target light brightness is obtained by constraining the corrected light brightness according to the light brightness threshold.
[0088] Specifically, when the headlight brightness correction coefficient is large, the corrected headlight brightness may exceed the headlight brightness threshold of the vehicle headlights. Therefore, the corrected headlight brightness is constrained according to the headlight brightness threshold to obtain the target headlight brightness, that is, the headlight brightness threshold is set as Brightness_threshold, and the target headlight brightness Dtination_brightness=min{Correct_brightness,Brightness_threshold}.
[0089] For example, the initial brightness value is 60%, the visibility corresponding to the weather data is 3km, and the mapping relationship table between the environmental visibility range and the light brightness correction coefficient is queried according to the visibility range to obtain the light brightness correction coefficient of +20%, and the target light brightness is 72% (60%×(1+20%)=72%).
[0090] This embodiment adjusts the initial headlight brightness determined by the ambient brightness data based on weather data, which can comprehensively consider the impact of ambient brightness and weather conditions on visibility, and accurately control the target headlight brightness of the vehicle to adapt to the environment in which the vehicle is located.
[0091] In an optional embodiment, S121, determining the initial light brightness of the vehicle lights under the operating environment based on the ambient brightness data in the operating environment data, includes:
[0092] S1211. Determine the ambient brightness range to which the ambient brightness belongs based on the ambient brightness data, and determine the initial light brightness range corresponding to the ambient brightness range.
[0093] Specifically, based on actual road condition tests, a mapping table between ambient brightness and initial headlight brightness is constructed. For example, Table 3 shows the mapping table between ambient brightness and initial headlight brightness. It is understood that Table 3 is merely an example of initial headlight brightness and is not intended as a limitation; the mapping relationship between ambient brightness and initial headlight brightness can be set based on actual needs.
[0094] Table 3
[0095] Ambient light range (Lux) Initial light intensity range (%) 1000~10000 10~30 100~1000 30~45 10~100 45~60 0~10 60~90
[0096] The ambient brightness data is processed to determine the ambient brightness range. Based on this range, a mapping table between ambient brightness and initial light brightness is used to obtain the corresponding initial light brightness range. For example, if the ambient brightness is 300, the corresponding initial light brightness range is 30–45.
[0097] S1212. Based on the linear interpolation algorithm, determine the initial light brightness of the ambient brightness according to the upper limit and lower limit of the ambient brightness of the ambient brightness range, and the upper limit and lower limit of the initial light brightness of the initial light brightness range.
[0098] Among them, the linear interpolation algorithm is an algorithm used to estimate unknown values between known data points.
[0099] Specifically, given that the ambient brightness x falls within the range of (x0, x1), where x0 is the lower limit and x1 is the upper limit; and the corresponding initial light brightness range is (y0, y1), where y0 is the lower limit and y1 is the upper limit; a linear interpolation algorithm is used to estimate the initial light brightness y corresponding to the ambient brightness x between the two points (x0, y0) and (x1, y1). The formula for calculating the initial light brightness using the linear interpolation algorithm is:
[0100]
[0101] In this embodiment, based on the mapping relationship between ambient brightness and initial light brightness, a linear interpolation algorithm can be used to simply, efficiently and stably determine the initial light brightness that matches the ambient brightness, providing a basis for determining the target light brightness.
[0102] Example 2
[0103] Figure 2 This is a schematic diagram of a light brightness adjustment device provided in Embodiment 3 of the present invention. Figure 2 As shown, the device includes: a data acquisition module 210, a light brightness determination module 220, and a light brightness adjustment module 230; wherein,
[0104] The data acquisition module 210 is used to acquire vehicle operating environment data and vehicle speed data;
[0105] The light brightness determination module 220 is used to determine the target light brightness of the vehicle lights in the operating environment based on the operating environment data.
[0106] The headlight brightness adjustment module 230 is used to adjust the headlight brightness of the vehicle to the target headlight brightness according to the vehicle speed data.
[0107] The technical solution of this invention acquires vehicle operating environment data; determines the target brightness of the vehicle lights in the operating environment based on the operating environment data; and adjusts the brightness of the vehicle lights to the target brightness. This enables adaptive adjustment of the vehicle lights' brightness based on the vehicle's operating environment data and vehicle speed, matching the brightness with the driving environment. Furthermore, it avoids over-illumination in well-lit conditions, effectively saving energy consumption and balancing energy saving with driving safety and comfort.
[0108] Optionally, the light brightness adjustment module 230 includes:
[0109] A headlight brightness acquisition unit is used to acquire the current headlight brightness of the vehicle headlights;
[0110] The parameter determination unit is used to determine the light brightness adjustment parameters based on the vehicle speed data, the current light brightness, and the target light brightness.
[0111] A brightness adjustment unit is used to adjust the brightness of the vehicle headlights to the target brightness according to the light brightness adjustment parameters.
[0112] Optionally, the parameter determining unit is specifically used for:
[0113] Determine the headlight brightness adjustment time corresponding to the vehicle speed range based on the vehicle speed data;
[0114] The product of the light brightness adjustment time and the light brightness adjustment frequency is determined as the number of light brightness adjustments;
[0115] The difference between the target light brightness and the current light brightness is determined as the light brightness adjustment value;
[0116] The ratio of the light brightness adjustment value to the number of light brightness adjustments is determined as the light brightness adjustment step size;
[0117] The light brightness adjustment step size, the light brightness adjustment frequency, and the number of light brightness adjustments are defined as the light brightness adjustment parameters.
[0118] Optionally, the brightness adjustment unit is specifically used for:
[0119] The brightness of the target light is converted into a pulse width modulation signal;
[0120] The pulse width modulation signal is sent to the lighting control module of the vehicle headlights to control the brightness of the vehicle headlights to be adjusted to the target brightness.
[0121] Optionally, the light brightness determination module 220 includes:
[0122] An initial brightness determination unit is used to determine the initial light brightness of the vehicle lights under the operating environment based on the ambient brightness data in the operating environment data.
[0123] The correction coefficient determination unit is used to determine the light brightness correction coefficient corresponding to the environmental visibility range based on the weather data in the operating environment data.
[0124] A brightness correction unit is used to determine the product of the light brightness correction coefficient and the initial light brightness as the light brightness correction value, and to determine the sum of the light brightness correction value and the initial light brightness as the corrected light brightness;
[0125] The target brightness determination unit is used to constrain the modified light brightness according to the light brightness threshold to obtain the target light brightness.
[0126] Optionally, the initial brightness determination unit is specifically used for:
[0127] Based on the ambient brightness data, determine the ambient brightness range to which the ambient brightness belongs, and determine the initial light brightness range corresponding to the ambient brightness range;
[0128] Based on the linear interpolation algorithm, the initial light brightness of the ambient light is determined according to the upper and lower limits of the ambient light range, as well as the upper and lower limits of the initial light brightness of the initial light brightness range.
[0129] The light brightness adjustment device provided in the embodiments of the present invention can execute the light brightness adjustment method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the method.
[0130] Example 3
[0131] Figure 3 A schematic diagram of the structure of a vehicle 10 that can be used to implement embodiments of the present invention is shown. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the invention described and / or claimed herein.
[0132] like Figure 3 As shown, vehicle 10 includes at least one processor 11 and a memory, such as read-only memory (ROM) 12 and random access memory (RAM) 13, communicatively connected to at least one processor 11. The memory stores computer programs executable by at least one processor. Processor 11 can perform various appropriate actions and processes based on the computer program stored in ROM 12 or loaded from storage unit 18 into RAM 13. RAM 13 can also store various programs and data required for the operation of vehicle 10. Processor 11, ROM 12, and RAM 13 are interconnected via bus 14. Input / output (I / O) interface 15 is also connected to bus 14.
[0133] Multiple components in vehicle 10 are connected to I / O interface 15, including: input units 16, such as a steering wheel, braking device, and sensors; output units 17, such as various types of displays and speakers; storage units 18, such as disks and optical discs; and communication units 19, such as network cards, modems, and wireless transceivers. Communication unit 19 allows vehicle 10 to exchange information / data with other devices via computer networks such as the Internet and / or various telecommunications networks.
[0134] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the light brightness adjustment method.
[0135] In some embodiments, the headlight brightness adjustment method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on vehicle 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the headlight brightness adjustment method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the headlight brightness adjustment method by any other suitable means (e.g., by means of firmware).
[0136] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0137] In some embodiments, the light brightness adjustment method may be implemented as a computer program, which is implicitly included in a computer program product. When executed by a processor, the computer program implements the light brightness adjustment method of the present invention. The computer program product can be understood as a software product that primarily implements its solution through a computer program. The computer program used to implement the method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on a machine, partially on a machine, partially on a remote machine as a standalone software package, or entirely on a remote machine or server.
[0138] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0139] To provide interaction with the user, the systems and technologies described herein can be implemented in a vehicle having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a sound acquisition device (e.g., a microphone) and a touch display screen through which the user can provide input to the vehicle. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0140] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0141] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0142] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0143] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for adjusting light brightness, characterized in that, Applied to vehicles, the method includes: Acquire vehicle operating environment data and vehicle speed data; Determine the target light brightness of the vehicle lights under the operating environment based on the aforementioned operating environment data; The brightness of the vehicle lights is adjusted to the target brightness based on the vehicle speed data.
2. The method according to claim 1, characterized in that, Adjusting the brightness of the vehicle lights to the target brightness based on the vehicle speed data includes: Obtain the current brightness of the vehicle's headlights; The headlight brightness adjustment parameters are determined based on the vehicle speed data, the current headlight brightness, and the target headlight brightness. The brightness of the vehicle headlights is adjusted to the target brightness according to the brightness adjustment parameters.
3. The method according to claim 2, characterized in that, The step of determining the headlight brightness adjustment parameters based on the vehicle speed data, the current headlight brightness, and the target headlight brightness includes: Determine the headlight brightness adjustment time corresponding to the vehicle speed range based on the vehicle speed data; The product of the light brightness adjustment time and the light brightness adjustment frequency is determined as the number of light brightness adjustments; The difference between the target light brightness and the current light brightness is determined as the light brightness adjustment value; The ratio of the light brightness adjustment value to the number of light brightness adjustments is determined as the light brightness adjustment step size; The light brightness adjustment step size, the light brightness adjustment frequency, and the number of light brightness adjustments are defined as the light brightness adjustment parameters.
4. The method according to any one of claims 2-3, characterized in that, Adjusting the brightness of the vehicle headlights to the target brightness according to the brightness adjustment parameters includes: The brightness of the target light is converted into a pulse width modulation signal; The pulse width modulation signal is sent to the lighting control module of the vehicle headlights to control the brightness of the vehicle headlights to be adjusted to the target brightness.
5. The method according to any one of claims 2-3, characterized in that, Determining the target light brightness of the vehicle lights under the operating environment based on the operating environment data includes: The initial light brightness of the vehicle lights under the operating environment is determined based on the ambient brightness data in the operating environment data; Determine the light brightness correction coefficient corresponding to the environmental visibility range based on the weather data in the operating environment data; The product of the light brightness correction coefficient and the initial light brightness is determined as the light brightness correction value, and the sum of the light brightness correction value and the initial light brightness is determined as the corrected light brightness; The target light brightness is obtained by constraining the corrected light brightness based on the light brightness threshold.
6. The method according to claim 5, characterized in that, Determining the initial brightness of the vehicle lights under the operating environment based on the ambient brightness data in the operating environment data includes: Based on the ambient brightness data, determine the ambient brightness range to which the ambient brightness belongs, and determine the initial light brightness range corresponding to the ambient brightness range; Based on the linear interpolation algorithm, the initial light brightness of the ambient light is determined according to the upper and lower limits of the ambient light range, as well as the upper and lower limits of the initial light brightness of the initial light brightness range.
7. A light brightness adjustment device, characterized in that, Applied to vehicles, the device includes: The data acquisition module is used to acquire vehicle operating environment data and vehicle speed data; The light brightness determination module is used to determine the target light brightness of the vehicle lights in the operating environment based on the operating environment data; The headlight brightness adjustment module is used to adjust the brightness of the vehicle headlights to the target headlight brightness based on the vehicle speed data.
8. A vehicle, characterized in that, The vehicles include: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the light brightness adjustment method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the light brightness adjustment method according to any one of claims 1-6.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the light brightness adjustment method according to any one of claims 1-6.