Brightness adjusting method and device, computer device and storage medium
By obtaining the correlation between light intensity and display brightness, using the Weber-Fechner law and fuzzy rules to process the difference and rate of change, and calculating the control parameters, the AR-HUD brightness can be gently adjusted, solving the brightness discomfort problem of the AR-HUD when the light changes, and improving the driving experience and safety.
Patent Information
- Application Number
- CN202311669318.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2043-12-01
AI Technical Summary
In scenarios where light intensity changes rapidly, AR-HUD may display brightness that is too bright or too dark, causing discomfort to the driver and affecting driving experience and safety.
By obtaining the correlation between light intensity and display brightness, the target display brightness is determined using the Weber-Fechner law, and the difference and rate of change are processed through fuzzy rules to calculate the proportional, integral, and differential control parameters to achieve soft brightness adjustment.
While ensuring the comfort of display brightness, it avoids the discomfort caused by sudden changes in brightness, improving driving experience and driving safety.
Smart Images

Figure CN117608090B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a brightness adjustment method, device, computer equipment, and storage medium. Background Art
[0002] With the rapid development of the automotive industry, road traffic safety has received increasing attention. In order to prevent drivers from having visual blind spots caused by looking down at the dashboard, which in turn may lead to accidents, AR-HUD (Augmented Reality Head Up Display) came into being. AR-HUD projects a virtual image on the front windshield, presenting the vehicle's operating information directly in the driver's field of view, thereby reducing the number of times the driver lowers his head. However, AR-HUD itself has some disadvantages. When passing through scenes with rapidly changing light intensity, such as tunnels or continuous shade, the driver may feel uncomfortable because the brightness of the operating information displayed on the AR-HUD is too bright or too dark. How to adjust the display brightness of the head-up display is a research focus in this field. Summary of the Invention
[0003] The embodiments of the present application provide a brightness adjustment method, apparatus, computer device, and storage medium that ensure comfortable display brightness while making brightness adjustment smoother. This prevents sudden brightness changes from causing discomfort to people inside the vehicle, thereby improving the driving experience and ensuring driving safety. The technical solution is as follows:
[0004] In one aspect, a brightness adjustment method is provided, the method comprising:
[0005] Obtaining a correlation between light intensity and display brightness, where the light intensity is the light intensity in the external natural environment, the display brightness is the brightness of operating information displayed on a head-up display in a vehicle, the head-up display being used to project the vehicle operating information onto the vehicle's windshield, the display brightness representing the brightness experienced by objects within the vehicle, and the correlation representing the relationship between stimulation of the light intensity on the objects within the vehicle and the objects' sense organs;
[0006] Determining the target display brightness based on the current light intensity and the association relationship, wherein the current light intensity is the light intensity in the external natural environment at the current moment;
[0007] determining a difference between the target display brightness and the current display brightness and a rate of change of the difference based on the target display brightness and the current display brightness, wherein the current display brightness is the brightness of the operating information displayed on the head-up display at the current moment;
[0008] Based on preset fuzzy rules, the difference and the rate of change of the difference are processed to obtain a proportional control parameter, an integral control parameter, and a differential control parameter;
[0009] The current display brightness is adjusted based on the proportional control parameter, the integral control parameter, and the differential control parameter.
[0010] In another aspect, a brightness adjustment device is provided, comprising:
[0011] a first acquisition module, configured to acquire a correlation between light intensity and display brightness, wherein the light intensity is the light intensity in the external natural environment, the display brightness is the brightness of operating information displayed on a head-up display in a vehicle, the head-up display being configured to project the vehicle operating information onto the vehicle's windshield, the display brightness being configured to represent the brightness experienced by objects within the vehicle, and the correlation being configured to represent a relationship between the stimulation of the light intensity on the objects within the vehicle and the sense organs of the objects;
[0012] A first determining module is configured to determine a target display brightness based on a current light intensity and the association relationship, wherein the current light intensity is the light intensity in the external natural environment at a current moment;
[0013] a second determining module, configured to determine a difference between the target display brightness and the current display brightness and a rate of change of the difference based on the target display brightness and the current display brightness, wherein the current display brightness is the brightness of the operating information displayed on the head-up display at a current moment;
[0014] a processing module, configured to process the difference and the rate of change of the difference based on a preset fuzzy rule to obtain a proportional control parameter, an integral control parameter, and a differential control parameter;
[0015] An adjustment module is used to adjust the current display brightness based on the proportional control parameter, the integral control parameter and the differential control parameter.
[0016] In some embodiments, the first acquisition module includes:
[0017] an acquisition unit, configured to acquire a plurality of sample pairs, each sample pair comprising a sample illumination intensity and a sample display brightness, wherein the sample display brightness in each sample pair is the brightness adjusted by the sample object itself under the sample illumination intensity in the sample pair;
[0018] A determining unit is configured to determine a correlation function between illumination intensity and display brightness based on the plurality of sample pairs and the Weber-Fechner law, wherein the correlation function is configured to represent a correlation relationship between illumination intensity and display brightness.
[0019] In some embodiments, the acquisition unit is used to acquire multiple reference display brightnesses under the sample light intensity in the sample pair during the process of acquiring any sample pair, where the multiple reference display brightnesses are display brightnesses adjusted by multiple sample objects themselves under the sample light intensity; and average the multiple reference display brightnesses to obtain the sample display brightness in the sample pair.
[0020] In some embodiments, the processing module is used to perform fuzzy processing on the difference and the rate of change of the difference based on the preset fuzzy rules, respectively, to obtain fuzzy parameters of the difference and fuzzy parameters of the rate of change, and the fuzzy parameters are used to represent the degree of fuzziness of the corresponding numerical values; based on the fuzzy parameters of the difference, the fuzzy parameters of the rate of change and the fuzzy rule table in the preset fuzzy rules, fuzzy reasoning is performed to obtain the fuzzy parameters corresponding to the proportional control parameter, the integral control parameter and the differential control parameter, respectively, and the preset fuzzy rules include the fuzzy rule tables corresponding to the proportional control parameter, the integral control parameter and the differential control parameter; based on the fuzzy parameters corresponding to the proportional control parameter, the integral control parameter and the differential control parameter, defuzzification is performed to obtain the proportional control parameter, the integral control parameter and the differential control parameter.
[0021] In some embodiments, the processing module is used to process the difference and the rate of change of the difference based on preset fuzzy rules to obtain the proportional control parameter, the integral control parameter and the differential control parameter when at least one of the difference and the rate of change of the difference meets a condition.
[0022] In some embodiments, the apparatus further comprises:
[0023] a second acquisition module, configured to acquire at least one of a scene color, a background color, and a brightness inside the vehicle, wherein the scene color is the color of a scene in front of the vehicle, and the background color is the color of a background of operating information currently displayed on the head-up display;
[0024] The adjustment module is further configured to adjust the current display brightness based on at least one of the scene color, the background color, and the brightness of the interior of the vehicle.
[0025] In some embodiments, the adjustment module is used to determine a first display brightness based on the scene color; determine a second display brightness based on the background color; determine a third display brightness based on the brightness inside the vehicle; obtain a fourth display brightness by weighted summation of the first display brightness, the second display brightness, and the third display brightness; and adjust the current display brightness based on the fourth display brightness.
[0026] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory is used to store at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the brightness adjustment method in the embodiment of the present application.
[0027] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the brightness adjustment method in the embodiment of the present application.
[0028] On the other hand, a computer program product is provided, including a computer program, which is stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device performs the brightness adjustment method provided in the above-mentioned various aspects or various optional implementations of each aspect.
[0029] An embodiment of the present application provides a brightness adjustment method. Since the correlation between light intensity and display brightness can reflect the relationship between the stimulation of light intensity on an object in a vehicle and the sensory perception of the object, the target display brightness determined based on the current light intensity and the correlation conforms to the sensory characteristics of the object. That is, the target display brightness is more closely aligned with the display brightness desired by the object under the current light intensity, ensuring that the object in the vehicle can clearly see the vehicle's operating information. Then, through preset fuzzy rules, the difference between the target display brightness and the current display brightness and the rate of change of the difference are fuzzy processed to determine the proportional control parameter, the integral control parameter, and the differential control parameter, so that the display brightness can be stably adjusted according to the proportional control parameter, the integral control parameter, and the differential control parameter. That is, while ensuring the comfort of the display brightness, the brightness adjustment is softer, especially when passing through tunnels, tree shades, and continuous shadows, the brightness change will not suddenly cause discomfort to the objects in the vehicle, thereby improving the driving experience of the objects and ensuring driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0031] Figure 1 Schematic diagram of an implementation environment of a brightness adjustment method provided in an embodiment of the present application;
[0032] Figure 2 This is a flow chart of a brightness adjustment method provided according to an embodiment of the present application;
[0033] Figure 3 is a graph of a correlation function provided according to an embodiment of the present application;
[0034] Figure 4 is a schematic diagram of a brightness adjustment method provided according to an embodiment of the present application;
[0035] Figure 5 is a block diagram of a brightness adjustment device provided according to an embodiment of the present application;
[0036] Figure 6 This is a structural block diagram of a terminal provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0038] In this application, the terms "first", "second", etc. are used to distinguish identical or similar items with substantially the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there any limitation on the quantity and execution order.
[0039] In the present application, the term "at least one" means one or more, and the term "plurality" means two or more.
[0040] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, storage, display, etc.), and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the light intensity and display brightness involved in this application are obtained with full authorization.
[0041] The brightness adjustment method provided in the embodiment of the present application can be executed by a computer device. In some embodiments, the computer device is a terminal or a server. The following first takes the computer device as an example to introduce the implementation environment of the brightness adjustment method provided in the embodiment of the present application. Figure 1 Schematic diagram of an implementation environment of a brightness adjustment method provided in accordance with an embodiment of the present application. Figure 1 In (a), the implementation environment includes terminal 101.
[0042] In some embodiments, the terminal 101 is a vehicle-mounted terminal. The terminal 101 is equipped with a head-up display. The head-up display may be a C-HUD (Combiner Head-Up Display), a W-HUD (Windshield Head-Up Display) or an AR-HUD, etc., which is not limited in the embodiments of the present application. The head-up display can project the vehicle's operating information onto the front windshield of the vehicle so that the driver of the vehicle can see the operating information at any time through the front windshield. The vehicle's operating information may include information such as the vehicle's driving speed, speed limit, and fuel level, which is not limited in the embodiments of the present application. The terminal 101 can determine the display brightness required for the head-up display based on the light intensity in the external natural environment. Then, the terminal 101 can adjust the current display brightness based on the display brightness.
[0043] Those skilled in the art will appreciate that the number of the above-mentioned terminals may be more or less. For example, the above-mentioned terminal may be only one, or the above-mentioned terminals may be dozens or hundreds, or a larger number. The embodiments of the present application do not limit the number of terminals and device types.
[0044] In some embodiments, the implementation environment may further include a server 102. Figure 1 In (b), the terminal 101 and the server 102 can be connected directly or indirectly via wired or wireless communication, which is not limited in this application.
[0045] In some embodiments, the server 102 is an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), big data and artificial intelligence platforms. The server 102 is used to provide background services for the head-up display. For example, the display brightness of the head-up display can be determined by the server 102, and this embodiment of the present application is not limited to this. In some embodiments, the server 102 undertakes the main computing work and the terminal 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work and the terminal 101 undertakes the main computing work; or, the server 102 and the terminal 101 adopt a distributed computing architecture for collaborative computing.
[0046] Figure 2 This is a flow chart of a brightness adjustment method provided in accordance with an embodiment of the present application. Figure 2 In the embodiment of the present application, the brightness adjustment method is described as being executed by a terminal. The brightness adjustment method includes the following steps:
[0047] 201. The terminal obtains a correlation between light intensity and display brightness.
[0048] In this embodiment of the present application, the terminal is a car. This embodiment does not restrict information such as the type and model of the car. The terminal is equipped with a heads-up display (HUD). The HUD can project vehicle operating information onto the vehicle's windshield, allowing the driver to view this information at any time. Vehicle operating information may include information such as the vehicle's speed, speed limit, and fuel level, though this embodiment of the present application does not restrict this. Light intensity refers to the light intensity in the external natural environment. Display brightness refers to the brightness of the operating information displayed on the vehicle's HUD. In other words, display brightness refers to the brightness of the HUD. The HUD on the terminal projects the vehicle's operating information onto the terminal's windshield based on this brightness. In the relationship between light intensity and display brightness, display brightness represents the brightness perceived by an object within the vehicle. The object is the driver of the vehicle. That is, in this relationship, each display brightness is the brightness that the driver would find comfortable under the corresponding light intensity. Accordingly, this relationship represents the relationship between the stimulation of light intensity on an object within the vehicle and the object's senses.
[0049] In some embodiments, the terminal may determine the correlation between light intensity and display brightness based on the Weber-Fechner law. Accordingly, the process of the terminal obtaining the correlation between light intensity and display brightness includes: the terminal obtains multiple sample pairs. Each sample pair includes a sample light intensity and a sample display brightness. The sample display brightness in each sample pair is the brightness adjusted by the sample object itself under the sample light intensity in the sample pair. Then, the terminal determines the correlation function between light intensity and display brightness based on the multiple sample pairs and the Weber-Fechner law. The correlation function is used to represent the correlation between light intensity and display brightness. The multiple sample pairs can be obtained based on collecting the display brightness adjusted autonomously by the sample object under different sample light intensities. That is, the multiple sample pairs reflect the display brightness adjusted by the sample object when it is stimulated by each sample light intensity under real conditions. The solution provided in the embodiment of the present application, since the Weber-Fechner law describes the law of human response to stimuli, points out that human perception is proportional to the logarithm of the intensity of the physical quantity corresponding to the stimulus, therefore, the correlation between light intensity and display brightness is determined by the Weber-Fechner law and the actual situation of the display brightness adjusted when the sample object is stimulated by each sample light intensity, so that the correlation can accurately reflect the influence of the external light intensity on the display brightness required by the object in the vehicle, that is, the correlation is more in line with the human eye photosensitivity characteristics of the object, which is conducive to the subsequent more accurate calculation of the required target display brightness based on the correlation, thereby adjusting to the target display brightness that the object feels comfortable, without the need for manual adjustment by the object, and can improve the driving experience and driving safety of the object.
[0050] In the process of obtaining any sample pair in the plurality of sample pairs, the terminal obtains a plurality of reference display brightnesses under the sample illumination intensity in the sample pair. The plurality of reference display brightnesses are display brightnesses adjusted by the plurality of sample objects under the sample illumination intensity. Then, the terminal averages the plurality of reference display brightnesses to obtain the sample display brightness in the sample pair. That is, under the same sample illumination intensity, the terminal obtains the reference illumination intensity adjusted by different sample objects (drivers) themselves. Then, the terminal averages the plurality of reference display brightnesses to calculate the sample display brightness corresponding to the sample illumination intensity. In other words, through experiments under the same illumination intensity, the adaptability of different drivers to different display brightnesses is recorded and counted, and the average of the display brightnesses adjusted by different drivers is taken as the corresponding display brightness value under the illumination intensity. Then, the illumination intensity is adjusted to repeat the experiment, thereby obtaining the plurality of sample pairs. The scheme provided in the embodiment of the application avoids the case that the correlation determined by a single sample object cannot accurately represent the current objects in the vehicle, weakens the specificity of the objects, and makes the determination of the sample display brightness more accurately reflect the display brightness required by the objects of this group, that is, the accuracy of the correlation can be improved.
[0051] In some embodiments, the terminal can determine the correlation function between the illumination intensity and the display brightness by the following formula one.
[0052] Formula one:
[0053] L=S / M=(K*lgR+B) / M
[0054] Wherein, R is used to represent the sample illumination intensity, which can be obtained by reading the forward light illumination intensity by the sunlight sensor on the terminal; lg is used to represent the logarithmic operation; M is used to represent the maximum value of the forward light illumination intensity that can be read by the sunlight sensor on the terminal; L and S are both used to represent the sample display brightness, L is the display brightness in the form of percentage, the value range of L is 0-1, S is the display brightness in the form of specific numerical value, the unit of S is lux; K and B are used to represent the correlation parameters between the illumination intensity and the display brightness, which are unknown quantities. The terminal can bring the plurality of sample pairs into the above formula one, thereby determining the correlation parameters (K and B) between the illumination intensity and the display brightness. The terminal can use the least square method to calculate and determine the correlation parameters between the illumination intensity and the display brightness, and the calculation method is not limited in the embodiment of the application. The sample display brightness in the plurality of sample pairs can be the display brightness in the form of percentage, or the display brightness in the form of specific numerical value, which is not limited in the embodiment of the application.
[0055] For example, Figure 3is a graph of a correlation function provided according to an embodiment of the present application. Figure 3 The HUD's display brightness increases with the ambient light intensity. In other words, there's a positive correlation between light intensity and display brightness. When the light intensity is below 1000 lux, the HUD's display brightness increases significantly as the ambient light intensity increases. When the light intensity is above 1000 lux, the HUD's display brightness increases gradually and more gradually.
[0056] 202. The terminal determines the target display brightness based on the current light intensity and the association relationship, where the current light intensity is the light intensity in the external natural environment at the current moment.
[0057] In an embodiment of the present application, the terminal uses a sunlight sensor to read the forward light intensity, thereby obtaining the current light intensity in the external natural environment. The terminal then substitutes the current light intensity into a correlation function to obtain the target display brightness. The terminal can read the light intensity in real time through the sunlight sensor, thereby calculating the required display brightness of the head-up display in real time and adjusting it in real time.
[0058] 203. The terminal determines a difference between the target display brightness and the current display brightness and a rate of change of the difference based on the target display brightness and the current display brightness, where the current display brightness is the brightness of the operating information displayed on the head-up display at the current moment.
[0059] In an embodiment of the present application, the terminal obtains the current display brightness. Then, the terminal subtracts the target display brightness from the current display brightness to obtain the difference between the target display brightness and the current display brightness. The terminal can then derive the difference with time to obtain the rate of change of the difference.
[0060] In some embodiments, the terminal may record the difference between the target display brightness and the current display brightness at each moment. Accordingly, the terminal may obtain the difference at the previous moment. The terminal then subtracts the difference at the previous moment from the difference at the current moment to obtain the rate of change of the difference. The present embodiment does not limit the method for calculating the rate of change of the difference.
[0061] 204. The terminal processes the difference and the rate of change of the difference based on a preset fuzzy rule to obtain a proportional control parameter, an integral control parameter, and a differential control parameter.
[0062] In some embodiments, the present application does not impose specific limitations on the preset fuzzy rules. Based on the preset fuzzy rules, the terminal performs fuzzy processing on the difference and the rate of change of the difference to obtain PID (Proportional-Integral-Differential) parameters. PID parameters include a proportional control parameter Kp, an integral control parameter Ki, and a differential control parameter Kd. The proportional control parameter Kp accelerates the display brightness adjustment speed. A larger proportional control parameter Kp indicates a faster display brightness adjustment speed; conversely, a smaller proportional control parameter Kp indicates a slower display brightness adjustment speed. The integral control parameter Ki eliminates steady-state errors during the brightness adjustment process. A larger integral control parameter Ki eliminates steady-state errors during the brightness adjustment process; conversely, a smaller integral control parameter Ki eliminates steady-state errors during the brightness adjustment process. The differential control parameter Kd improves the dynamic characteristics of the brightness adjustment process. Specifically, the differential control parameter Kd suppresses deviation changes in any direction during the brightness adjustment process, providing early warning of deviation changes.
[0063] In some embodiments, step 204 may be implemented based on steps 2041 to 2043 described below.
[0064] 2041. The terminal performs fuzzy processing on the difference and the rate of change of the difference based on a preset fuzzy rule to obtain a fuzzy parameter of the difference and a fuzzy parameter of the rate of change.
[0065] The fuzzy parameter is used to represent the degree of fuzziness of the corresponding value. For any value between the difference and the rate of change of the difference, the terminal can calculate the fuzzy parameter of the value based on the membership function in the preset fuzzy rule. The embodiment of the present application does not limit the membership function.
[0066] During the calculation of the fuzzy parameters of the difference, the terminal obtains the value range corresponding to the difference. The terminal then divides the value range into multiple value intervals. The critical value between two adjacent value intervals can be considered a membership value. Based on the value interval in which the difference lies, the terminal determines the membership value corresponding to the difference. Then, based on the membership value corresponding to the difference and the membership function, the terminal determines the membership degree of the membership value corresponding to the difference. Each membership degree represents the degree to which the difference approximates its corresponding membership value. The membership value can be considered the difference after fuzzy processing. The membership degree can be considered a fuzzy parameter of the difference.
[0067] For example, if the display brightness L ranges from 0 to 1, the difference between the target display brightness and the current display brightness ranges from -1 to 1. The terminal can divide the value range from -1 to 1 into eight value intervals. These eight value intervals are -1 to -0.75, -0.75 to -0.5, -0.5 to -0.25, -0.25 to 0, 0 to 0.25, 0.25 to 0.5, 0.5 to 0.75, and 0.75 to 1. The critical values between two adjacent value intervals are -0.75, -0.5, -0.25, 0, 0.25, 0.5, and 0.75. The terminal can represent -0.75, -0.5, -0.25, 0, 0.25, 0.5, and 0.75 as NL (Negative Large), NM (Negative Middle), NS (Negative Small), ZE (ZERO), PS (Positive Small), PM (Positive Middle), and PL (Positive Large), respectively. If the difference is 0.2, the difference belongs to the range of 0 to 0.25, that is, the range of ZE to PS. In this case, the difference corresponds to two membership values: 0 and 0.25. The terminal can calculate the membership degree of the difference to each membership value based on the membership function. Optionally, the degree of membership of the difference to ZE(0) = (0.2-0) / (PS-ZE) = (0.2-0) / (0.25-0) = 0.8; the degree of membership of the difference to PS(0.25) = (0.25-0.2) / (PS-ZE) = (0.25-0.2) / (0.25-0) = 0.2. If the difference = 0.8, then the difference belongs to the interval 0.75-1, that is, the interval PM-PL. In this case, the difference has a corresponding membership value of 0.75. The degree of membership of the difference to PL(0.75) = (0.8-0.75) / (PL-PM) = (0.8-0.75) / (1-0.75) = 0.2.
[0068] In the process of calculating the fuzzy parameter of the rate of change of the difference, the terminal may also use the above method to calculate, which will not be repeated here.
[0069] 2042. The terminal performs fuzzy reasoning based on the fuzzy parameter of the difference, the fuzzy parameter of the rate of change, and the fuzzy rule table in the preset fuzzy rules to obtain the fuzzy parameters corresponding to the proportional control parameter, the integral control parameter, and the differential control parameter.
[0070] Among them, the preset fuzzy rules include fuzzy rule tables corresponding to the proportional control parameter, the integral control parameter and the differential control parameter. The embodiment of the present application does not limit the fuzzy rule tables corresponding to the various control parameters. For the fuzzy rule table corresponding to any control parameter, the fuzzy rule table includes the corresponding relationship between the membership value of the difference, the membership value of the rate of change of the difference and the membership value of the control parameter. That is, when the membership value of the difference and the membership value of the rate of change of the difference are known, the terminal can query the fuzzy rule table to determine the membership value of the corresponding control parameter. Then, the terminal calculates the membership degree (fuzzy parameter) of the membership value of the corresponding control parameter based on the membership degree of the membership value of the difference and the membership degree of the membership value of the rate of change of the difference.
[0071] The following is an example of a fuzzy rule table in the preset fuzzy rules. Table 1 is the fuzzy rule table for the proportional control parameter Kp; Table 2 is the fuzzy rule table for the integral control parameter Ki; Table 3 is the fuzzy rule table for the differential control parameter Kd.
[0072] Table 1
[0073]
[0074] Table 2
[0075]
[0076] Table 3
[0077]
[0078] During the calculation of the fuzzy parameters for the proportional control parameter, the terminal determines the membership value corresponding to the proportional control parameter based on the membership value of the difference, the membership value of the rate of change of the difference, and the fuzzy rule table for the proportional control parameter (Table 1). For any membership value corresponding to the proportional control parameter, the terminal calculates the membership degree of the membership value based on the membership degree of the membership value of the difference corresponding to the membership value and the membership degree of the membership value of the rate of change of the difference corresponding to the membership value.
[0079] For example, the membership values of the difference are PM and PL, the membership of the difference to PM is a, and the membership of the difference to PL is (1-a). The membership values of the rate of change of the difference are NL and NM, the membership of the rate of change of the difference to NL is b, and the membership of the rate of change of the difference to NM is (1-b). According to Table 1, the membership values of the proportional control parameter are PS, ZE, and NS. The membership of the proportional control parameter to PS = the membership of the difference to PM * the membership of the rate of change of the difference to NL = a*b. The membership of the proportional control parameter to ZE = the membership of the difference to PM * the membership of the rate of change of the difference to NM + the membership of the difference to PL * the membership of the rate of change of the difference to NL = a*(1-b)+(1-a)*b. The membership of the proportional control parameter to NS = the membership of the difference to PL * the membership of the rate of change of the difference to NM = (1-a)*(1-b).
[0080] 2043. The terminal performs defuzzification based on the fuzzy parameters corresponding to the proportional control parameter, the integral control parameter, and the differential control parameter to obtain the proportional control parameter, the integral control parameter, and the differential control parameter.
[0081] For any control parameter among the proportional control parameter, the integral control parameter and the differential control parameter, the terminal defuzzifies the membership value corresponding to the control parameter based on the membership degree of the membership value corresponding to the control parameter to obtain the control parameter.
[0082] When calculating any control parameter, the terminal obtains the value range corresponding to the control parameter. The terminal then divides the value range into multiple value intervals. The critical value between two adjacent value intervals can be considered a membership value. Based on the value interval in which the difference value falls, the terminal determines the membership value corresponding to the difference value. Then, based on the degree of membership of the membership value corresponding to the control parameter, the terminal performs a weighted summation of the specific values of the corresponding membership value to obtain the control parameter. The specific value of the membership value is the value within the value range.
[0083] For example, the proportional control parameter's membership to PS = a*b, the proportional control parameter's membership to ZE = a*(1-b)+(1-a)*b, and the proportional control parameter's membership to NS = (1-a)*(1-b). Thus, the proportional control parameter = a*b*the specific value corresponding to PS + [a*(1-b)+(1-a)*b]*the specific value corresponding to ZE + (1-a)*(1-b)*the specific value corresponding to NS.
[0084] As can be seen from Tables 1-3, if the difference E is too large, the control parameters Kp, Ki, and Kd will also be relatively large, causing the head-up display brightness to be adjusted relatively quickly to quickly enter the human eye's comfort zone. In this case, the difference E will gradually decrease. Correspondingly, the control parameters Kp, Ki, and Kd will also be relatively reduced. The head-up display brightness is gradually adjusted in the above manner to reach the target display brightness. The advantage of this is that if the scene is entering or exiting a tunnel, the head-up display brightness adjustment will not be excessive, that is, it will not cause discomfort to the driver; if the scene is continuous shade, the brightness adjustment should be small while the head-up display brightness is in the human eye's comfort zone and is not abrupt.
[0085] In some embodiments, the terminal may adjust the current display brightness if the difference between the target display brightness and the current display brightness is not zero. That is, if the desired display brightness of the head-up display does not match the current display brightness, the terminal adjusts the display brightness of the head-up display. Alternatively, the terminal may process the difference and the rate of change of the difference based on preset fuzzy rules to obtain proportional control parameters, integral control parameters, and differential control parameters, if at least one of the difference and the rate of change of the difference meets a condition. That is, the terminal will only adjust the display brightness of the head-up display if the difference between the desired display brightness of the head-up display and the current display brightness meets a condition. The condition may be that the difference or the rate of change of the difference does not exceed a difference threshold, which is not limited in this embodiment of the present application. If the difference between the desired display brightness of the head-up display and the current display brightness is small, the human eye generally cannot distinguish the object, and even if adjusted, it will not significantly change. Therefore, in this case, adjustment is not required, thereby saving terminal operating power.
[0086] 205. The terminal adjusts the current display brightness based on the proportional control parameter, the integral control parameter, and the differential control parameter.
[0087] In an embodiment of the present application, the terminal substitutes the proportional control parameter, integral control parameter, differential control parameter, and current display brightness into the PID formula and calculates a new display brightness using the PID formula's control algorithm. The terminal's head-up display can then project the vehicle's operating information onto the front windshield based on the new display brightness. The terminal then makes the next adjustment based on the difference between the new display brightness and the target display brightness, which will not be further described here.
[0088] In order to more clearly describe the brightness adjustment method provided in the embodiment of the present application, it is further described below with reference to the accompanying drawings. Figure 4 FIG is a schematic diagram of a brightness adjustment method provided according to an embodiment of the present application. Figure 4, the terminal can read the current light intensity in the external natural environment through the sunlight sensor installed on the back of the mirror base of the rearview mirror inside the front windshield. Then, the terminal determines the target display brightness based on the Weber-Fechner law and the current light intensity. Then, the terminal determines the difference between the target display brightness and the current display brightness and the rate of change of the difference. Then, the terminal processes the difference and the rate of change of the difference through a fuzzy controller to obtain proportional control parameters, integral control parameters, and differential control parameters. Then, the terminal processes the proportional control parameters, integral control parameters, differential control parameters and the current display brightness through a PID controller to obtain a new display brightness. Then, the terminal's head-up display uses the new display brightness to project the vehicle's operating information onto the front windshield, so that the driver in the vehicle can view the operating information without lowering his head.
[0089] In some embodiments, the terminal can also obtain at least one of the scene color, background color, and brightness inside the vehicle. The scene color is the color of the scene in front of the vehicle. The background color is the color of the background of the operating information currently displayed on the head-up display. Then, the terminal adjusts the current display brightness based on at least one of the scene color, background color, and brightness inside the vehicle. The solution provided in the embodiment of the present application adjusts the current display brightness according to at least one of the scene color, background color, and brightness inside the vehicle, so that the adjusted display brightness is more in line with the current scene, making it easier for objects in the vehicle to view the operating information more clearly.
[0090] In the process of adjusting the current display brightness, the terminal can determine the first display brightness based on the scene color. The terminal determines the second display brightness based on the background color. Then, the terminal determines the third display brightness based on the brightness inside the vehicle. Then, the terminal performs a weighted summation of the first display brightness, the second display brightness, and the third display brightness to obtain the fourth display brightness. Then, the terminal adjusts the current display brightness based on the fourth display brightness. For any of the above-mentioned first display brightness, second display brightness, and third display brightness, the terminal can obtain it in the manner of steps 201 to 205, which will not be repeated here. The terminal can further adjust the current display brightness based on the fourth display brightness after adjusting the current display brightness based on the target display brightness determined by the light intensity. Alternatively, the terminal can also adjust the current display brightness in combination with the target display brightness and the fourth display brightness, which is not limited in this embodiment of the present application.
[0091] In some embodiments, actual vehicle testing can be conducted under various road conditions and different external natural environments (different lighting intensities) to observe the display brightness of the head-up display. During actual vehicle testing, the driver can clearly and comfortably obtain the operating information displayed on the head-up display, bringing convenience to the driver while ensuring driving safety.
[0092] The embodiment of the present application provides a brightness adjustment method. Since the correlation between light intensity and display brightness can reflect the relationship between the stimulation of light intensity on an object in a vehicle and the object's sensory perception, the target display brightness determined based on the current light intensity and the correlation is consistent with the object's sensory characteristics. That is, the target display brightness is more closely aligned with the object's desired display brightness under the current light intensity, ensuring that the object in the vehicle can clearly see the vehicle's operating information. Then, using preset fuzzy rules, the difference between the target display brightness and the current display brightness and the rate of change of the difference are fuzzy processed to determine proportional control parameters, integral control parameters, and differential control parameters. This allows the display brightness to be stably adjusted according to the proportional control parameters, integral control parameters, and differential control parameters. That is, the brightness adjustment is gentler while ensuring display brightness comfort. In particular, when driving through tunnels, under the shade of trees, or through continuous shadows, the brightness change does not suddenly cause discomfort to the objects in the vehicle, thereby improving the driving experience of the objects and ensuring driving safety. In addition, by integrating the algorithm of the brightness adjustment method on the host chip of the terminal, automatic control and adjustment of the display brightness can be achieved without increasing hardware costs.
[0093] Figure 5 This is a block diagram of a brightness adjustment device according to an embodiment of the present application. The brightness adjustment device is used to perform the steps of the brightness adjustment method described above. Figure 5 The brightness adjustment device includes: a first acquisition module 501, a first determination module 502, a second determination module 503, a processing module 504 and an adjustment module 505.
[0094] A first acquisition module 501 is configured to acquire a correlation between light intensity and display brightness, where light intensity refers to the light intensity in the external natural environment, and display brightness refers to the brightness of operating information displayed on a head-up display in a vehicle. The head-up display is configured to project the vehicle's operating information onto the vehicle's windshield. Display brightness represents the brightness perceived by objects within the vehicle. The correlation represents the relationship between the stimulation of the light intensity on the objects within the vehicle and their sense organs.
[0095] A first determining module 502 is configured to determine a target display brightness based on a current light intensity and a correlation relationship, where the current light intensity is the light intensity in the external natural environment at the current moment;
[0096] a second determining module 503 for determining a difference between the target display brightness and the current display brightness and a rate of change of the difference based on the target display brightness and the current display brightness, where the current display brightness is the brightness of the operating information displayed on the head-up display at the current moment;
[0097] The processing module 504 is used to process the difference and the rate of change of the difference based on a preset fuzzy rule to obtain a proportional control parameter, an integral control parameter, and a differential control parameter;
[0098] The adjustment module 505 is used to adjust the current display brightness based on the proportional control parameter, the integral control parameter and the differential control parameter.
[0099] In some embodiments, the first acquisition module 501 includes:
[0100] an acquisition unit, configured to acquire a plurality of sample pairs, each sample pair including a sample illumination intensity and a sample display brightness, wherein the sample display brightness in each sample pair is the brightness adjusted by the sample object itself under the sample illumination intensity in the sample pair;
[0101] The determination unit is used to determine a correlation function between the illumination intensity and the display brightness based on multiple sample pairs and the Weber-Fechner law, where the correlation function is used to represent the correlation relationship between the illumination intensity and the display brightness.
[0102] In some embodiments, the acquisition unit is used to obtain multiple reference display brightnesses under the sample illumination intensity in the sample pair during the process of acquiring any sample pair. The multiple reference display brightnesses are the display brightnesses adjusted by multiple sample objects themselves under the sample illumination intensity; and the multiple reference display brightnesses are averaged to obtain the sample display brightness in the sample pair.
[0103] In some embodiments, the processing module 504 is used to perform fuzzy processing on the difference and the rate of change of the difference based on preset fuzzy rules, respectively, to obtain fuzzy parameters of the difference and fuzzy parameters of the rate of change, where the fuzzy parameters are used to represent the degree of fuzziness of the corresponding numerical values; perform fuzzy reasoning based on the fuzzy parameters of the difference, the fuzzy parameters of the rate of change and the fuzzy rule table in the preset fuzzy rules to obtain fuzzy parameters corresponding to the proportional control parameter, the integral control parameter and the differential control parameter, respectively, where the preset fuzzy rules include fuzzy rule tables corresponding to the proportional control parameter, the integral control parameter and the differential control parameter; perform defuzzification based on the fuzzy parameters corresponding to the proportional control parameter, the integral control parameter and the differential control parameter to obtain the proportional control parameter, the integral control parameter and the differential control parameter.
[0104] In some embodiments, the processing module 504 is used to process the difference and the rate of change of the difference based on preset fuzzy rules to obtain proportional control parameters, integral control parameters and differential control parameters when at least one of the difference and the rate of change of the difference meets a condition.
[0105] In some embodiments, the apparatus further comprises:
[0106] a second acquisition module, configured to acquire at least one of a scene color, a background color, and a brightness inside the vehicle, wherein the scene color is the color of the scene in front of the vehicle, and the background color is the color of the background of the operating information currently displayed on the head-up display;
[0107] The adjustment module 505 is further configured to adjust the current display brightness based on at least one of the scene color, the background color, and the brightness inside the vehicle.
[0108] In some embodiments, the adjustment module 505 is used to determine a first display brightness based on the scene color; determine a second display brightness based on the background color; determine a third display brightness based on the brightness inside the vehicle; obtain a fourth display brightness by weighted summation of the first display brightness, the second display brightness, and the third display brightness; and adjust the current display brightness based on the fourth display brightness.
[0109] An embodiment of the present application provides a brightness adjustment device. Since the correlation between light intensity and display brightness can reflect the relationship between the stimulation of light intensity on an object in a vehicle and the sensory perception of the object, the target display brightness determined based on the current light intensity and the correlation conforms to the sensory characteristics of the object. That is, the target display brightness is more in line with the display brightness desired by the object itself under the current light intensity, ensuring that the object in the vehicle can clearly see the vehicle's operating information. Then, through preset fuzzy rules, the difference between the target display brightness and the current display brightness and the rate of change of the difference are fuzzy processed to determine the proportional control parameter, the integral control parameter, and the differential control parameter, so that the display brightness can be stably adjusted according to the proportional control parameter, the integral control parameter, and the differential control parameter. That is, while ensuring the comfort of the display brightness, the brightness adjustment is softer, especially when passing through tunnels, tree shades, and continuous shadows, the brightness change will not suddenly cause discomfort to the objects in the vehicle, thereby improving the driving experience of the objects and ensuring driving safety.
[0110] Figure 6 6 is a block diagram of a terminal 600 according to an embodiment of the present application. Generally, the terminal 600 includes a processor 601 and a memory 602.
[0111] The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 601 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0112] The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 602 is used to store at least one computer program, which is executed by the processor 601 to implement the brightness adjustment method provided in the method embodiment of the present application.
[0113] In some embodiments, terminal 600 may optionally include a peripheral device interface 603 and at least one peripheral device. Processor 601, memory 602, and peripheral device interface 603 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 603 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 604, a display screen 605, a camera assembly 606, an audio circuit 607, and a power supply 608.
[0114] The peripheral device interface 603 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 601 and the memory 602. In some embodiments, the processor 601, the memory 602, and the peripheral device interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 601, the memory 602, and the peripheral device interface 603 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0115] The radio frequency circuit 604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 604 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. In some embodiments, the radio frequency circuit 604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 604 can communicate with other terminals via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 604 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0116] Display screen 605 is used to display a user interface (UI). This UI may include graphics, text, icons, videos, or any combination thereof. If display screen 605 is a touchscreen display, it is also capable of collecting touch signals on or above the surface of display screen 605. These touch signals can be input as control signals to processor 601 for processing. Display screen 605 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there can be a single display screen 605, located on the front panel of terminal 600. In other embodiments, there can be at least two display screens 605, located on different surfaces of terminal 600 or in a foldable design. In still other embodiments, display screen 605 can be a flexible display screen, located on a curved or foldable surface of terminal 600. Display screen 605 can also be configured as a non-rectangular, irregular shape, also known as a special-shaped screen. Display screen 605 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0117] The camera assembly 606 is used to capture images or videos. In some embodiments, the camera assembly 606 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 606 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0118] The audio circuit 607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals that are input into the processor 601 for processing, or input into the radio frequency circuit 604 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, each located in different parts of the terminal 600. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert electrical signals from the processor 601 or the radio frequency circuit 604 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 607 may also include a headphone jack.
[0119] Power supply 608 is used to power various components in terminal 600. Power supply 608 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 608 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is charged via a wired line, while a wireless rechargeable battery is charged via a wireless coil. The rechargeable battery can also support fast charging technology.
[0120] In some embodiments, the terminal 600 further includes one or more sensors 609 , including but not limited to: an acceleration sensor 610 , a gyroscope sensor 611 , a pressure sensor 612 , an optical sensor 613 , and a proximity sensor 614 .
[0121] The accelerometer 610 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the terminal 600. For example, the accelerometer 610 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 601 can control the display screen 605 to display the user interface in a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 610. The accelerometer 610 can also be used to collect game or user motion data.
[0122] The gyroscope sensor 611 can detect the orientation and rotation angle of the terminal 600. It can also work with the accelerometer 610 to collect the user's 3D movements of the terminal 600. Based on the data collected by the gyroscope sensor 611, the processor 601 can implement the following functions: motion sensing (for example, changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0123] The pressure sensor 612 can be provided on the side frame of the terminal 600 and / or below the display screen 605. When the pressure sensor 612 is provided on the side frame of the terminal 600, it can detect the user's gripping signal of the terminal 600. The processor 601 performs left and right hand recognition or shortcut operations based on the gripping signal collected by the pressure sensor 612. When the pressure sensor 612 is provided below the display screen 605, the processor 601 controls the operable controls on the UI interface based on the user's pressure operation on the display screen 605. Operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0124] The optical sensor 613 is used to detect ambient light intensity. In one embodiment, the processor 601 can control the display brightness of the display screen 605 based on the ambient light intensity detected by the optical sensor 613. Specifically, when the ambient light intensity is high, the display brightness of the display screen 605 is increased; when the ambient light intensity is low, the display brightness of the display screen 605 is decreased. In another embodiment, the processor 601 can also dynamically adjust the shooting parameters of the camera assembly 606 based on the ambient light intensity detected by the optical sensor 613.
[0125] Proximity sensor 614, also known as a distance sensor, is typically located on the front panel of terminal 600. Proximity sensor 614 is used to detect the distance between the user and the front of terminal 600. In one embodiment, when proximity sensor 614 detects that the distance between the user and the front of terminal 600 is gradually decreasing, processor 601 controls display screen 605 to switch from the screen-on state to the screen-off state. When proximity sensor 614 detects that the distance between the user and the front of terminal 600 is gradually increasing, processor 601 controls display screen 605 to switch from the screen-off state to the screen-on state.
[0126] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation on the terminal 600, and the terminal 600 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0127] The present application also provides a computer-readable storage medium that stores at least one computer program. The at least one computer program is loaded and executed by a processor of a computer device to implement the operations performed by the computer device in the brightness adjustment method of the above embodiment. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0128] The present application also provides a computer program product, including a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the brightness adjustment method provided in the various optional implementations described above.
[0129] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0130] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A brightness adjustment method, characterized in that: The method comprises: Obtaining a correlation between light intensity and display brightness, where the light intensity is the light intensity in the external natural environment, the display brightness is the brightness of operating information displayed on a head-up display in a vehicle, the head-up display being used to project the vehicle operating information onto the vehicle's windshield, the display brightness representing the brightness experienced by objects within the vehicle, and the correlation representing the relationship between stimulation of the light intensity on the objects within the vehicle and the objects' sense organs; Determining the target display brightness based on the current light intensity and the association relationship, wherein the current light intensity is the light intensity in the external natural environment at the current moment; determining a difference between the target display brightness and the current display brightness and a rate of change of the difference based on the target display brightness and the current display brightness, wherein the current display brightness is the brightness of the operating information displayed on the head-up display at the current moment; Based on preset fuzzy rules, the difference and the rate of change of the difference are processed to obtain a proportional control parameter, an integral control parameter, and a differential control parameter; The current display brightness is adjusted based on the proportional control parameter, the integral control parameter, and the differential control parameter.
2. The method according to claim 1, characterized in that The obtaining of the correlation between the light intensity and the display brightness includes: Acquire multiple sample pairs, each sample pair including a sample illumination intensity and a sample display brightness, the sample display brightness in each sample pair being the brightness adjusted by the sample object itself under the sample illumination intensity in the sample pair; Based on the multiple sample pairs and the Weber-Fechner law, a correlation function between the illumination intensity and the display brightness is determined, where the correlation function is used to represent a correlation relationship between the illumination intensity and the display brightness.
3. The method according to claim 2, characterized in that The obtaining of multiple sample pairs comprises: In the process of acquiring any sample pair, acquiring a plurality of reference display brightnesses under the sample illumination intensity in the sample pair, wherein the plurality of reference display brightnesses are display brightnesses adjusted by the plurality of sample objects themselves under the sample illumination intensity; The plurality of reference display brightnesses are averaged to obtain the sample display brightness in the sample pair.
4. The method according to claim 1, wherein The method of processing the difference and the rate of change of the difference based on a preset fuzzy rule to obtain a proportional control parameter, an integral control parameter, and a differential control parameter includes: Based on the preset fuzzy rule, fuzzy processing is performed on the difference and the rate of change of the difference to obtain a fuzzy parameter of the difference and a fuzzy parameter of the rate of change, wherein the fuzzy parameter is used to represent the fuzziness degree of the corresponding numerical value; Performing fuzzy reasoning based on the fuzzy parameter of the difference, the fuzzy parameter of the rate of change, and a fuzzy rule table in the preset fuzzy rule to obtain fuzzy parameters corresponding to the proportional control parameter, the integral control parameter, and the differential control parameter, respectively; the preset fuzzy rule includes a fuzzy rule table corresponding to the proportional control parameter, the integral control parameter, and the differential control parameter, respectively; Defuzzification is performed based on the fuzzy parameters corresponding to the proportional control parameter, the integral control parameter, and the differential control parameter to obtain the proportional control parameter, the integral control parameter, and the differential control parameter.
5. The method according to claim 1, wherein The method of processing the difference and the rate of change of the difference based on a preset fuzzy rule to obtain a proportional control parameter, an integral control parameter, and a differential control parameter includes: When at least one of the difference and the rate of change of the difference meets a condition, the difference and the rate of change of the difference are processed based on preset fuzzy rules to obtain the proportional control parameter, the integral control parameter and the differential control parameter.
6. The method according to claim 1, characterized in that The method further comprises: Acquiring at least one of a scene color, a background color, and a brightness inside the vehicle, wherein the scene color is the color of a scene in front of the vehicle, and the background color is the color of a background of operating information currently displayed on the head-up display; The current display brightness is adjusted based on at least one of the scene color, the background color, and the brightness of the interior of the vehicle.
7. The method according to claim 6, characterized in that The adjusting the current display brightness based on at least one of the scene color, the background color, and the brightness of the interior of the vehicle includes: determining a first display brightness based on the scene color; determining a second display brightness based on the background color; determining a third display brightness based on the brightness of the vehicle interior; performing a weighted summation of the first display brightness, the second display brightness, and the third display brightness to obtain a fourth display brightness; The current display brightness is adjusted based on the fourth display brightness.
8. A brightness adjustment device, characterized in that: The device comprises: a first acquisition module, configured to acquire a correlation between light intensity and display brightness, wherein the light intensity is the light intensity in the external natural environment, the display brightness is the brightness of operating information displayed on a head-up display in a vehicle, the head-up display being configured to project the vehicle operating information onto the vehicle's windshield, the display brightness being configured to represent the brightness experienced by objects within the vehicle, and the correlation being configured to represent a relationship between the stimulation of the light intensity on the objects within the vehicle and the sense organs of the objects; A first determining module is configured to determine a target display brightness based on a current light intensity and the association relationship, wherein the current light intensity is the light intensity in the external natural environment at a current moment; a second determining module, configured to determine a difference between the target display brightness and the current display brightness and a rate of change of the difference based on the target display brightness and the current display brightness, wherein the current display brightness is the brightness of the operating information displayed on the head-up display at a current moment; a processing module, configured to process the difference and the rate of change of the difference based on a preset fuzzy rule to obtain a proportional control parameter, an integral control parameter, and a differential control parameter; An adjustment module is used to adjust the current display brightness based on the proportional control parameter, the integral control parameter and the differential control parameter.
9. A computer device, characterized in that: The computer device includes a processor and a memory, the memory is used to store at least one computer program, and the at least one computer program is loaded by the processor to execute the brightness adjustment method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store at least one computer program, and the at least one computer program is used to execute the brightness adjustment method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Fuzzy self-adaptive control system for parameters of visual sensor
CN102135761A
LED lamp array audio frequency display apparatus and Fourier fuzzy control method therefor
CN107306462A