Display brightness adjusting method and device and storage medium
By obtaining the ambient brightness and temperature parameters in real time, and adjusting the screen brightness of electronic equipment using fuzzy control algorithms, the problems of insufficient brightness and over-temperature protection during outdoor use are solved, and the user experience and equipment safety are improved.
Patent Information
- Application Number
- CN202310677579.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-08
- Publication Date
- 2024-12-10
AI Technical Summary
When electronic devices are used outdoors, the screen brightness is insufficient due to strong sunlight, which affects the user's visual experience. At the same time, the driving efficiency is reduced and over-temperature protection occurs frequently in the maximum brightness mode, which affects the user experience.
By obtaining the temperature parameters of the ambient brightness and power management circuit in real time, fuzzy control algorithms are used to calculate the adjustment parameters, and dynamically adjust the screen brightness to adapt to different environments and temperature conditions, avoid overtemperature protection and improve driving efficiency.
The optimal display effect is achieved under different environments and temperatures, improving user experience and equipment safety, and avoiding the occurrence of reduced driving efficiency and over-temperature protection.
Smart Images

Figure CN119107919A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic devices, and in particular to a display brightness adjustment method, device and storage medium. Background Art
[0002] With the continuous advancement of communication technology, electronic devices have become an indispensable communication tool in modern people's lives. However, when used outdoors, the brightness of the device screen may be low due to sunlight and other reasons, thus affecting the user's visual experience. Therefore, in order to provide a better user experience, more and more electronic devices have added the function of adjusting the screen brightness to adapt to different usage scenarios and needs. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a display brightness adjustment method, device and storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a display brightness adjustment method is provided, comprising the steps of: deriving a target brightness parameter based on a real-time ambient brightness parameter and a current brightness parameter; acquiring a real-time temperature parameter of a preset position of a display device; and outputting an adjustment parameter according to a fuzzy control algorithm based on the target brightness parameter and the real-time temperature parameter.
[0005] In some embodiments, the preset position of the display device is a power management circuit.
[0006] In some embodiments, the outputting of adjustment parameters according to a fuzzy control algorithm based on the target brightness parameter and the real-time temperature parameter includes the steps of: obtaining the difference between the current brightness parameter and the target brightness parameter as a first input parameter; obtaining the difference between the real-time temperature parameter and the target temperature parameter as a second input parameter; and outputting the adjustment parameters according to a fuzzy control algorithm based on the first input parameter and the second input parameter.
[0007] In some embodiments, the output of the adjustment parameter according to the fuzzy control algorithm based on the first input parameter and the second input parameter is carried out in the following manner: a first fuzzy rule base is established based on the domain of the first input parameter; a second fuzzy rule base is established based on the domain of the second input parameter; a third fuzzy rule base is established based on the domain of the adjustment parameter; and a fuzzy set of the adjustment parameters of the third fuzzy rule base is determined based on the fuzzy set of the first input parameter of the first fuzzy rule base and the fuzzy set of the second input parameter of the second fuzzy rule base.
[0008] In some embodiments, the outputting of the adjustment parameter according to the fuzzy control algorithm based on the first input parameter and the second input parameter includes the steps of: determining a first fuzzy variable of the first input parameter based on the first input parameter and the first fuzzy rule base; determining a second fuzzy variable of the second input parameter based on the second input parameter and the second fuzzy rule base; determining a third fuzzy variable of the adjustment parameter based on the first fuzzy variable and the second fuzzy variable; and determining the adjustment parameter based on the third fuzzy variable.
[0009] In some embodiments, the third fuzzy variable is determined in the following manner: an output fuzzy rule base is established based on empirical data; and the third fuzzy variable is determined based on the first fuzzy variable, the second fuzzy variable and the output fuzzy rule base.
[0010] In some embodiments, the third fuzzy variable is determined based on the first fuzzy variable, the second fuzzy variable and the output fuzzy rule base to satisfy the following formula: U = (eT × eB)oR, wherein U is the third fuzzy variable, eT is the first fuzzy variable, × is the multiplication operation of the fuzzy rule base, eB is the second fuzzy variable, o is a fuzzy operator, R is the output fuzzy rule base, and () is a symbol indicating priority.
[0011] In some embodiments, the display brightness adjustment method also has a step of obtaining the temperature change rate of a preset position: obtaining the real-time temperature parameters at adjacent time points; deriving the temperature change rate based on the real-time temperature parameters at multiple time points; based on the target brightness parameter and the real-time temperature parameter or the temperature change rate parameter, outputting the adjustment parameter according to the fuzzy control algorithm.
[0012] According to the second aspect of the embodiment of the present disclosure, a display brightness adjustment device is also provided, including: an ambient brightness acquisition module, used to obtain real-time ambient brightness parameters; a target brightness parameter acquisition module, used to derive target brightness parameters based on the real-time ambient brightness parameters and the current brightness parameters; a real-time temperature acquisition module, used to obtain real-time temperature parameters of a preset position of the display device; and an adjustment parameter output module, used to output adjustment parameters according to a fuzzy control algorithm based on the target brightness parameters and the real-time temperature parameters.
[0013] According to a third aspect of an embodiment of the present disclosure, a display brightness adjustment device is also provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to: execute a display brightness adjustment method as described in any one of the above-mentioned first aspect and its embodiments.
[0014] According to the fourth aspect of the embodiments of the present disclosure, a non-temporary computer-readable storage medium is also provided. When the instructions in the storage medium are executed by the processor of the terminal, the terminal can execute the display brightness adjustment method as described in any one of the above-mentioned first aspect and its embodiments.
[0015] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0016] By deriving the target brightness parameter based on the real-time ambient brightness parameter and the current brightness parameter, obtaining the real-time temperature parameter of the preset position of the display device, and outputting the adjustment parameter according to the fuzzy control algorithm based on the target brightness parameter and the real-time temperature parameter, the present invention can adjust the target brightness and the temperature of the screen terminal according to the ambient brightness and the real-time temperature of the screen terminal, thereby improving the display driving efficiency and enhancing the user experience.
[0017] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0019] Figure 1 The figure is a flow chart of a method for adjusting display brightness according to an exemplary embodiment.
[0020] Figure 2 The flowchart shows how to output an adjustment parameter according to a fuzzy algorithm based on a first input parameter and a second input parameter according to an exemplary embodiment.
[0021] Figure 3 is a flow chart showing how to obtain a temperature change speed at a preset position according to an exemplary embodiment.
[0022] Figure 4 The flowchart shows how to output an adjustment parameter according to a fuzzy algorithm based on a first input parameter and a second input parameter according to another exemplary embodiment.
[0023] Figure 5 The figure is a block diagram of a display brightness adjustment device according to an exemplary embodiment.
[0024] Figure 6 The invention is a block diagram showing a device for adjusting display brightness according to an exemplary embodiment. DETAILED DESCRIPTION
[0025] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0026] In the related art, when an electronic device is used outdoors, due to factors such as strong sunlight, the device screen may sometimes appear too dim, which has a negative impact on the user's visual experience. Therefore, in order to improve the user's experience, more and more electronic devices are now equipped with the function of adjusting the screen brightness, which adjusts the screen brightness by adjusting the screen voltage, so as to better meet people's different needs and usage scenarios.
[0027] However, current electronic devices usually use maximum brightness mode when used outdoors. When the light-sensitive brightness detector detects that the outdoor light intensity exceeds a certain value, the screen brightness will be directly set to the maximum value. This method causes the driving electric field intensity of the screen power management circuit (PMIC) to increase sharply, resulting in a significant decrease in driving efficiency and a rapid increase in temperature. Due to exceeding the over-temperature protection threshold of the screen power management circuit (PMIC), flickering or black screen problems may occur, thus affecting the user experience.
[0028] In order to solve the above technical problems, according to an embodiment of the present disclosure, a display brightness adjustment method is provided, which can adjust the screen brightness based on the real-time ambient brightness and the real-time temperature.
[0029] Figure 1 is a flow chart of a method for adjusting display brightness according to an exemplary embodiment. Figure 1 As shown, the display brightness adjustment method is used for electronic devices (such as mobile phones, tablet computers, etc.), including the following steps S11-S13:
[0030] In this embodiment, the electronic device can obtain real-time environment brightness parameters, and the electronic device can obtain environment brightness parameters such as those detected by a light sensor when a set condition is met. The set condition may include receiving an instruction for turning on the screen of the electronic device, or receiving an instruction for adjusting the screen brightness of the electronic device, or detecting a change in the brightness of the environment in which the electronic device is located.
[0031] Taking the setting condition including receiving an instruction for turning on the screen of an electronic device as an example, when a user wants to watch a program through an electronic device, an instruction for turning on the screen of the electronic device can be sent to the electronic device through the remote control device of the electronic device, and then when the electronic device receives the instruction, the ambient brightness parameters can be obtained in real time.
[0032] In step S11 , a target brightness parameter is obtained based on the real-time environment brightness parameter and the current brightness parameter.
[0033] The target brightness parameter may be calculated by inputting the real-time environment brightness parameter and the current brightness parameter of the display device. The target brightness parameter may be regarded as a reference value to control the brightness of the display device. Specifically, by comparing the difference between the real-time environment brightness parameter and the current brightness parameter, the parameter to be adjusted is calculated, thereby adjusting the brightness of the display device, and the adjustment is stopped after reaching the target brightness parameter.
[0034] In step S12, the real-time temperature parameter of the preset position of the display device is obtained.
[0035] Among them, the brightness is adjusted by obtaining the temperature parameters of a specific position of the display device to achieve a more suitable display effect. Obtaining the real-time temperature parameters of the preset position of the display device depends on the actual device and application scenario. In many circuits in some devices, the temperature needs to be monitored and controlled to ensure the long-term stability and reliability of the circuit. For example, in electronic devices, a temperature detector can be set on the physical interface to monitor the temperature information in real time and transmit it back to the processor. In addition, infrared cameras or other sensors can be used to obtain real-time temperature parameters of preset positions to provide instant information about temperature changes to the external system.
[0036] It is worth noting that the preset positions may be certain fixed positions of the display device, which are preset during design, such as certain circuits preset in a television or mobile phone. The temperature parameters of these positions may be obtained in real time by using sensors or other temperature detection technologies.
[0037] In some embodiments, the preset location of the display device is a power management circuit.
[0038] Among them, the power management circuit in the display device (such as a mobile phone) is responsible for managing the power supply and power consumption of the device. Its working process consumes a certain amount of energy, which will cause heat. However, when the temperature is too high, the transistors and other electronic components in the power management circuit will be affected by thermal expansion, resulting in poor electrical performance or even damage, and thus unable to work normally. At this time, the power management circuit will trigger the over-temperature protection mechanism and shut down the power to avoid further harm.
[0039] In step S13, an adjustment parameter is output according to a fuzzy control algorithm based on the target brightness parameter and the real-time temperature parameter.
[0040] After obtaining the target brightness parameter and the real-time temperature parameter of the preset position, the present disclosure uses a fuzzy control algorithm to output an adjustment parameter, which will be used for the next step of brightness control.
[0041] Among them, the fuzzy control algorithm is a method in control technology, and the fuzzy control algorithm can achieve effective control in complex, uncertain or difficult to accurately model systems. In the present disclosure, the fuzzy control algorithm is used to process the target brightness parameter and the real-time temperature parameter, generate appropriate adjustment parameters, and adjust the parameters to achieve better brightness control.
[0042] Specifically, after the output adjustment parameters are obtained, the brightness of the display device can be adjusted by controlling the current, voltage, etc. to achieve a more suitable display effect.
[0043] For example, in a darker environment, using traditional brightness settings may cause the display to be too glaring or reflective, resulting in an uncomfortable visual experience. If the brightness is too low, it may affect the user's visual effects and experience. At this time, the method disclosed in the present invention will calculate the appropriate target brightness and adjustment parameters based on the ambient brightness and temperature conditions, thereby achieving a more comfortable and natural display effect. Specifically, the present disclosure can take into account the target brightness parameters and real-time temperature parameters at the same time. The following takes the preset position as an example of a power management circuit: If the real-time temperature of the power management circuit is relatively low, then the brightness of the display device can be adjusted to avoid reflections and glare. If the real-time temperature of the power management circuit is relatively high but does not reach the overheating protection threshold, the brightness can also be precisely controlled to improve the visual effect while reducing the irradiation energy consumption, thereby minimizing the occurrence of over-temperature protection.
[0044] For example, in a brighter environment, the following also takes the preset position as the power management circuit as an example: if the temperature of the power management circuit is too high, the user will be reminded to take measures to avoid overheating. At the same time, the present disclosure can also obtain the real-time temperature of the power management circuit and determine whether to reduce the temperature by limiting the brightness. If this is necessary, after quickly adjusting the screen brightness, the present disclosure can continue to output adjustment parameters based on the real-time temperature parameters to reduce heat while maintaining a good display effect.
[0045] In one embodiment, the above method of outputting adjustment parameters according to the fuzzy control algorithm based on the target brightness parameter and the real-time temperature parameter can also be referred to as follows Figure 2 or Figure 4 The illustrated embodiment will not be described in detail here.
[0046] In the above embodiment, the real-time environment brightness parameter and the preset position temperature parameter are obtained, and then the fuzzy control algorithm is used to calculate the adjustment parameter, thereby realizing accurate adjustment of the brightness. This method allows the display device to have the best display effect in different environments, thereby improving the user experience. So that no matter how the environment changes, the electronic device can output the adjustment parameter according to the real-time environment brightness and the real-time temperature of the preset position to adjust the screen brightness. The present disclosure avoids the situation in the related art where the screen of the electronic device is set to the maximum brightness and cannot be adjusted in the sunlight screen mode, resulting in a decrease in the default drive efficiency and / or the occurrence of a black screen phenomenon due to over-temperature protection.
[0047] Figure 2 It is a flowchart showing how to output adjustment parameters according to a fuzzy algorithm based on a first input parameter and a second input parameter according to an exemplary embodiment. This embodiment is based on the above embodiment and takes how to output adjustment parameters as an example for exemplary description.
[0048] like Figure 2 As shown, the above step S14 outputs the adjustment parameters based on the target brightness parameter and the real-time temperature parameter according to the fuzzy control algorithm, which may include the following steps S141-S143:
[0049] In step S141, a difference between a current brightness parameter and a target brightness parameter is obtained as a first input parameter.
[0050] The current brightness parameter refers to the intensity of light emitted by the display device in real time or the current brightness value recorded in the device display parameters. The target brightness parameter is the expected brightness value that the user needs to adjust based on the usage scenario requirements.
[0051] The current brightness parameter can be obtained through hardware, for example, by obtaining the current brightness data of the display screen through a sensor. At the same time, it can also be obtained at the software level such as the operating system and application program, and read through a specific API function or the like. The specific method can be set according to the actual situation, and the present disclosure does not specifically limit the method of obtaining the current brightness parameter.
[0052] Among them, the acquisition method of the target brightness parameter can be completed by manual setting by the user, preset mode or automatic brightness control technology of the device. Specifically, the manual setting by the user means that the user can usually make manual adjustments on the operation interface of the device, such as modifying in the setting menu or quick operation panel of the TV, mobile phone, tablet computer, etc., in which the required manually set target brightness parameter is entered and saved directly. The preset mode is that some devices will be preset for different usage scenarios (such as sunlight during the day, soft light at night, etc.), and the brightness parameters for each scene will be integrated. The user can choose his favorite mode in these preset scenes, and the system will automatically adjust the brightness value according to the ambient brightness conditions to achieve a better display effect. The automatic brightness control technology is an automatic brightness control technology in the related art. It detects the main lighting source in the environment in real time according to the hardware sensor and algorithm of the device to determine the brightness of the light in the current environment, and adjusts the screen brightness accordingly to achieve the target brightness parameter. According to the feasibility of the automatic brightness control technology, the target brightness parameter can also be automatically set by the device according to the detected light brightness. The specific method can be set according to the actual situation, and the present disclosure does not specifically limit the method of obtaining the target brightness parameter.
[0053] In this embodiment, the difference between the current brightness parameter and the target brightness parameter is obtained, and the difference is obtained by calculating the numerical difference between the two, and a parameter is obtained as the first input parameter for subsequent fuzzy control algorithm processing. It is worth noting that the purpose of obtaining the first input parameter is to better execute the display brightness adjustment method. Without the first input parameter, there will be no way to know the specific difference between the current brightness parameter and the target brightness parameter, and it is impossible to accurately calculate how many adjustment parameters need to be output in the next step to gradually narrow the gap between them and reach the final appropriate brightness value. By obtaining the difference to determine the first input parameter, the fuzzy control algorithm can better determine the display effect deviation in the current state, so as to obtain the adjustment parameter and determine whether the display screen brightness is close to the target brightness, and perform real-time adjustment, feedback and monitoring, etc.
[0054] In step S142, the difference between the real-time temperature parameter and the target temperature parameter is obtained as a second input parameter.
[0055] Among them, the real-time temperature parameters refer to the current temperature parameters of the screen power management circuit, rather than old data or predicted data.
[0056] It is worth noting that the target temperature parameter can be an over-temperature protection threshold of the power management circuit, or it can be a temperature set by the user. When the target temperature parameter is the over-temperature protection threshold of the power management circuit, the target temperature parameter will no longer be a user-settable parameter, but a predefined system standard or a specific threshold designed for the hardware device. The method of obtaining the target temperature parameter depends on the specific usage scenario and needs. For the target temperature parameters set by the user, they can be set and saved through the system's adjustment interface or setting menu. For the target temperature parameters set by the power management circuit threshold, it is necessary to confirm the set threshold according to the relevant design documents and specifications of the hardware device. The specific method for determining the target temperature parameter can be set according to the actual situation, and the present disclosure does not specifically limit the method for obtaining the target temperature parameter.
[0057] In this embodiment, the difference between the real-time temperature parameter and the target temperature parameter is obtained, and a parameter is obtained by calculating the numerical difference between the two as the second input parameter for subsequent fuzzy control algorithm processing. It is worth noting that the purpose of obtaining the second input parameter is to better execute the temperature adjustment method. If there is no second input parameter, there will be no way to know the specific difference between the current real-time temperature and the target temperature parameter, and it will not be possible to accurately calculate how many adjustment parameters need to be output in the next step to gradually narrow the gap between them and reach the final appropriate temperature value. By obtaining the difference to determine the second input parameter, the fuzzy control algorithm can better determine the temperature deviation in the current state, and accurately calculate the temperature adjustment ratio required in the next step, so as to meet the temperature requirements.
[0058] In step S143 , an adjustment parameter is output according to a fuzzy control algorithm based on the first input parameter and the second input parameter.
[0059] The output adjustment parameters will be used to control the brightness of the display device. Specifically, after obtaining the output adjustment parameters, the present disclosure can adjust the brightness of the display device by controlling current, voltage, etc. to achieve a more optimized display effect.
[0060] In this embodiment, the first input parameter is the brightness factor of the display device, and the second input parameter is the temperature factor of the power management circuit of the display device. In this adjustment process, a specific measurement value of the current usage is obtained through the first input parameter and the second input parameter, and on this basis, a suitable adjustment parameter is output according to the selected fuzzy control algorithm.
[0061] In the above embodiments, it can be understood that the present disclosure is different from the related art, and takes into account the brightness factor of the display device and the temperature factor of the power management circuit. While ensuring the appropriate range of the brightness of the display device, the over-temperature protection phenomenon can also be prevented. After taking the temperature factor into account, the brightness adjustment parameter of the final output can be calculated more accurately to avoid the situation where the temperature of the power management circuit is increased due to excessive brightness, which can better ensure the safety and reliability of users and devices. For example, when an electronic device (such as a mobile phone) is in a high temperature environment, the electronic device overheats, resulting in increased power consumption, slowed down operation speed and other adverse effects. The present disclosure can detect the real-time temperature increase of the power management circuit in time, output appropriate adjustment parameters, and reduce the hardware heat generation by adjusting the parameters to control the brightness of the display screen, so that the safety of the electronic device is improved to a certain extent. For another example, when an electronic device (such as a mobile phone) is in a sunlight screen mode, the temperature of the electronic device will rise, and the temperature rise will lead to a decrease in driving efficiency. The present disclosure can also output appropriate adjustment parameters according to the current real-time temperature, and reduce the display brightness by adjusting the parameters to control the brightness of the display screen, so that the driving efficiency of the electronic device is improved to a certain extent.
[0062] Figure 3 It is a flowchart showing how to obtain the temperature change speed of a preset position according to an exemplary embodiment. This embodiment is based on the above embodiment and illustrates that the display brightness adjustment method further includes the step of obtaining the temperature change speed of a preset position.
[0063] like Figure 3 As shown, the display brightness adjustment method further comprises steps S21-S23 of obtaining the temperature change speed of the preset position:
[0064] In step S21, real-time temperature parameters at adjacent time points are obtained.
[0065] In some embodiments, the temperature sensor of the power management circuit can be set with corresponding data acquisition logic, and the real-time temperature parameters at adjacent time points can be automatically collected and saved by the temperature sensor. However, the present disclosure is not limited to this. In other embodiments, the real-time temperature parameters can also be stored in a database, and the real-time temperature parameters at adjacent time points can be read from the database and calculated each time the program is run.
[0066] In step S22, the temperature change rate is obtained based on the real-time temperature parameters at multiple time points.
[0067] It is worth noting that the temperature change rate can be calculated based on the average of all the real-time temperature parameters collected at multiple different time points, so that the influence of instantaneous temperature jitter caused by noise and other factors can be eliminated, and a relatively stable temperature reference value can be obtained. Then, the temperature change rate is calculated based on the difference between the real-time temperature parameters at adjacent time points and the time interval between adjacent time points. For example, the temperature difference is first calculated. The difference between the real-time temperature parameter at the current time point and the real-time temperature parameter within the previous second or a certain time interval is obtained to obtain the temperature difference collected twice, that is, the actual temperature change at the preset position at this time. Then the time difference is calculated. The time difference can be calculated by taking the time interval between the current time point and the previous second time point or within a certain time interval. Finally, the temperature change rate is obtained, and the temperature difference can be divided by the time difference to obtain the desired temperature change rate.
[0068] In step S23, based on the target brightness parameter and the real-time temperature parameter or the temperature change speed parameter, the adjustment parameter is output according to the fuzzy control algorithm.
[0069] Among them, based on the target brightness parameter and the real-time temperature parameter, the adjustment parameter is output according to the fuzzy control algorithm, which is consistent with the above Figure 1 The steps in the examples are the same and will not be repeated here.
[0070] In this embodiment, adjustment parameters can also be output according to the fuzzy control algorithm based on the target brightness parameter and the temperature change rate parameter. Fuzzy control adjustment based on the temperature change rate parameter can output different adjustment parameters, which can understand the temperature change trend and adjust the brightness more accurately, thereby improving the brightness adjustment effect. Specifically, when the light or ambient temperature changes instantly, the real-time temperature parameter may experience short-term abnormal fluctuations. At this time, the temperature change rate can be calculated to eliminate the noise interference and the influence of temperature changes between cells that may exist in a short period of time, thereby more accurately reflecting the temperature change trend and improving the accuracy of the adjustment parameter.
[0071] In some embodiments, the following method is used to output the adjustment parameter according to the fuzzy control algorithm based on the first input parameter and the second input parameter: a first fuzzy rule base is established based on the domain of the first input parameter, a second fuzzy rule base is established based on the domain of the second input parameter, a third fuzzy rule base is established based on the domain of the adjustment parameter, and the fuzzy set of the adjustment parameter of the third fuzzy rule base is determined based on the fuzzy set of the first input parameter of the first fuzzy rule base and the fuzzy set of the second input parameter of the second fuzzy rule base.
[0072] The domain is the value range of a specific input, output or variable in fuzzy control. It is worth noting that the domain of the first input parameter refers to the value range of the first input parameter, the domain of the second input parameter refers to the value range of the second input parameter, and the domain of the adjustment parameter refers to the value range of the adjustment parameter.
[0073] Among them, fuzzy set is a concept in fuzzy control algorithm, which is used to describe information with uncertainty or ambiguity. In the fuzzy control algorithm, the first input parameter, the second input parameter and the adjustment parameter are usually expressed as fuzzy sets, in which each element has a certain degree of membership, which can indicate that its corresponding linguistic variable satisfies a fuzzy condition to some extent. For example, the concept of "the difference between the real-time temperature parameter and the target temperature parameter" can be expressed as a fuzzy set, in which each element represents the meaning of "the difference between the real-time temperature parameter and the target temperature parameter" to varying degrees, and the fuzzy set of adjustment parameters can be expressed as a set of related states that can be selected and derived according to the requirements of these fuzzy conditions. It can be understood that the fuzzy set of the adjustment parameters of the third fuzzy rule base refers to the fuzzy set generated and output according to the input of the first fuzzy rule base and the second fuzzy rule base.
[0074] Figure 4 It is a flowchart showing how to output adjustment parameters according to a fuzzy algorithm based on a first input parameter and a second input parameter according to another exemplary embodiment. This embodiment is based on the above embodiment and takes how to output adjustment parameters as an example for exemplary description.
[0075] like Figure 4 As shown, the above step S143 outputs the adjustment parameter according to the fuzzy control algorithm based on the first input parameter and the second input parameter, and may include the following steps S1431-S1434:
[0076] In step S1431 , a first fuzzy variable of the first input parameter is determined based on the first input parameter and a first fuzzy rule base.
[0077] It is worth noting that the first input parameter is the difference between the current brightness parameter and the target brightness parameter, which can be divided into multiple different fuzzy sets. For example, the first input parameter corresponds to the language variable (NL, NM, NS, ZO, PS, PM, PL), and the representative language is abbreviated as (negative large, negative medium, negative small, negative zero, positive zero, positive small, positive medium, positive large). According to the rules of the fuzzy control algorithm, the domain range of the first input parameter is set to 0 to 6, and the corresponding membership function can be used to establish the first fuzzy rule base. The following is an exemplary case of the first fuzzy rule base:
[0078]
[0079] It is worth noting that the first fuzzy variable is calculated based on the first input parameter and the first fuzzy rule base. Specifically, according to the first fuzzy rule base, for example, "the current brightness is X and the target brightness is Y", the membership function on the domain in the first fuzzy rule base is used to calculate which set "the current brightness is X and the target brightness is Y" belongs to and the confidence value of the closeness of this value to the set. Finally, the membership function corresponding to the set with the highest confidence is selected to calculate a value as the first fuzzy variable.
[0080] It is worth noting that the present disclosure does not specifically limit the domain scope of the first input parameter and the first fuzzy rule base, and the above is only an exemplary case.
[0081] In step S1432, a second fuzzy variable of the second input parameter is determined based on the second input parameter and the second fuzzy rule base.
[0082] Among them, the second input parameter is the difference between the real-time temperature parameter and the target temperature parameter, which can be divided into multiple different fuzzy sets. For example, the second input parameter corresponds to the language variable (NL, NM, NS, ZO, PS, PM, PL), and the representative language is abbreviated as (negative large, negative medium, negative small, negative zero, positive zero, positive small, positive medium, positive large). According to the rules of the fuzzy control algorithm, the domain range of the second input parameter is set to 0 to 6, and the corresponding membership function can be used to establish the second fuzzy rule base.
[0083] In step S1433 , a third fuzzy variable of the adjustment parameter is determined based on the first fuzzy variable and the second fuzzy variable.
[0084] It is worth noting that after the first output parameter and the second input parameter are fuzzified, fuzzy reasoning needs to be performed on the first fuzzy variable and the second fuzzy variable according to the fuzzy rule base. The fuzzy reasoning rule can be expressed as (if the first fuzzy variable and the second fuzzy variable, then the output fuzzy variable), that is, this rule expresses that if the first input parameter belongs to a certain fuzzy set, and the second output parameter belongs to another fuzzy set, then it can be deduced that the adjustment parameter belongs to a certain fuzzy set. After fuzzy reasoning, the third fuzzy variable of the adjustment parameter can be obtained.
[0085] In step S1434, an adjustment parameter is determined based on the third fuzzy variable.
[0086] Among them, after the third fuzzy variable, it is necessary to further obtain the output precise variable. This step is the reverse process of fuzzification, that is, defuzzification. Generally, the precise output is obtained according to the maximum membership degree. According to the first fuzzy rule base, the second fuzzy rule base and the third fuzzy rule base, and the output fuzzy rule base R formulated above, the defuzzified value of the third fuzzy variable U can be obtained. The following is an exemplary case of obtaining the defuzzified value of the third fuzzy variable U:
[0087] For example, the domains of the first input parameter and the second input parameter are (NL, NM, NS, ZO, PS, PM, PL) and (NL, NM, NS, ZO, PS, PM, PL) respectively, and the domain range of the adjustment parameter is also set to (NL, NM, NS, ZO, PS, PM, PL). Then, the fuzzy values of the first input parameter, the second input parameter and the adjustment parameter can be calculated according to the above-mentioned output fuzzy rule base. For example, when the first input parameter is "NS" and the second input parameter is "PM", the fuzzy value vector of the adjustment parameter can be obtained as (0, 0.5, 0.5, 0, 0, 0, 0) according to the output fuzzy rule base R. Then, the defuzzification result of the third fuzzy variable U can be obtained by multiplying the vector with the corresponding membership degree of the elements in the domain range and then summing them.
[0088] It is worth noting that the present disclosure does not limit the fuzzy rule base of the first input parameter, the second input parameter, and the adjustment parameter, nor does it specifically limit the output fuzzy rule base. The above is only an exemplary case.
[0089] In some embodiments, the third fuzzy variable is determined in the following manner: an output fuzzy rule base is established based on empirical data, and the third fuzzy variable is determined based on the first fuzzy variable, the second fuzzy variable and the output fuzzy rule base.
[0090] Among them, establishing an output fuzzy rule base based on empirical data means that when formulating a fuzzy control algorithm, it is necessary to first obtain a large amount of input and output data based on the actual use environment, and use these data for empirical analysis to establish an output fuzzy rule base. The output fuzzy rule base is used to describe the relationship between the brightness of the display under different brightness parameters. The purpose is to determine the third fuzzy variable based on the first fuzzy variable and the second fuzzy variable. The following is an exemplary case of the output fuzzy rule base:
[0091]
[0092] It is worth noting that the first input parameter and the second input parameter are first mapped to the corresponding fuzzy sets using the fuzzy control algorithm to obtain the first fuzzy variable and the second fuzzy variable, and then based on the established output fuzzy rule base, the membership function is used to calculate the confidence of the output variable to obtain the third fuzzy variable.
[0093] In some embodiments, the third fuzzy variable is determined based on the first fuzzy variable, the second fuzzy variable, and the output fuzzy rule base to satisfy the following formula:
[0094] U=(eT×eB)oR
[0095] Among them, U is the third fuzzy variable, eT is the first fuzzy variable, × is the multiplication operation of the fuzzy rule base, eB is the second fuzzy variable, o is the fuzzy operator, R is the output fuzzy rule base, and () is a symbol indicating priority.
[0096] It is worth noting that the first fuzzy variable eT and the second fuzzy variable eB are combined by multiplication to obtain a binary group (x, y), which represents the weighted value of the output result at (x, y) in the output fuzzy rule base R. This weighted value activates the output result through the fuzzy operator o, and finally becomes the membership degree of U, which determines the influence of the adjustment parameter on the difference between the current brightness parameter and the target brightness parameter. In this way, the appropriate third fuzzy variable can be obtained according to the first input parameter and the second input parameter.
[0097] The display brightness adjustment method provided by the embodiment of the present disclosure can output corresponding adjustment parameters to optimize the brightness of the display based on the current real-time environmental brightness parameter and the real-time temperature parameter obtained at the preset position in the power management circuit. By analyzing and calculating information such as the target brightness parameter, the current brightness parameter and the real-time temperature parameter, the system can adaptively adjust the brightness of the display. If the real-time temperature parameter is low and the real-time environmental parameter is high, the adjustment parameter can be increased. If the current temperature changes slowly, the adjustment parameter can also be increased, thereby controlling the power management circuit to ensure that the display drive function is normal. If the real-time environmental brightness parameter is low, the adjustment parameter is reduced to reduce the real-time temperature parameter of the power management circuit and improve the display drive efficiency.
[0098] Based on the same concept, an embodiment of the present disclosure also provides a display brightness adjustment device.
[0099] It is understandable that the display brightness adjustment device provided by the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
[0100] Figure 5 is a block diagram of a display brightness adjustment device according to an exemplary embodiment. Figure 5 The device includes an environment brightness acquisition module 110, a target brightness parameter acquisition module 120, a real-time temperature acquisition module 130 and an adjustment parameter output module 140.
[0101] The environment brightness acquisition module 110 is configured to acquire real-time environment brightness parameters.
[0102] The target brightness parameter acquisition module 120 is configured to obtain a target brightness parameter based on a real-time environment brightness parameter and a current brightness parameter.
[0103] The real-time temperature acquisition module 130 is configured to acquire a real-time temperature parameter of a preset position of the display device.
[0104] The adjustment parameter output module 140 is configured to output the adjustment parameter according to the fuzzy control algorithm based on the target brightness parameter and the real-time temperature parameter.
[0105] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0106] Figure 6 8 is a block diagram of a display brightness adjustment device 800 according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0107] Reference Figure 6 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0108] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0109] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0110] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0111] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0112] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0113] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0114] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800 and the temperature change of the device 800. The sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0115] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0116] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0117] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0118] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.
[0119] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0120] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0121] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.
[0122] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.
Claims
1. A method for adjusting display brightness, characterized in that: Includes steps: derive a target brightness parameter based on the real-time environment brightness parameter and the current brightness parameter; Obtaining real-time temperature parameters of a preset position of the display device; Based on the target brightness parameter and the real-time temperature parameter, an adjustment parameter is output according to a fuzzy control algorithm.
2. The method according to claim 1, characterized in that The preset position of the display device is a power management circuit.
3. The method according to claim 1, characterized in that The step of outputting adjustment parameters according to a fuzzy control algorithm based on the target brightness parameter and the real-time temperature parameter comprises the following steps: Obtaining a difference between the current brightness parameter and the target brightness parameter as a first input parameter; Obtaining a difference between the real-time temperature parameter and the target temperature parameter as a second input parameter; The adjustment parameter is output according to a fuzzy control algorithm based on the first input parameter and the second input parameter.
4. The method according to claim 3, characterized in that The outputting of the adjustment parameter according to the fuzzy control algorithm based on the first input parameter and the second input parameter adopts the following method: Establishing a first fuzzy rule base based on the domain of the first input parameter; Establishing a second fuzzy rule base based on the domain of the second input parameter; Establishing a third fuzzy rule base based on the domain of the adjustment parameter; Based on the fuzzy set of the first input parameter of the first fuzzy rule base and the fuzzy set of the second input parameter of the second fuzzy rule base, a fuzzy set of adjustment parameters of the third fuzzy rule base is determined.
5. The method according to claim 4, characterized in that The step of outputting the adjustment parameter according to a fuzzy control algorithm based on the first input parameter and the second input parameter comprises the following steps: determining a first fuzzy variable of the first input parameter based on the first input parameter and the first fuzzy rule base; determining a second fuzzy variable of the second input parameter based on the second input parameter and the second fuzzy rule base; Determine a third fuzzy variable of the adjustment parameter based on the first fuzzy variable and the second fuzzy variable; The adjustment parameter is determined based on the third fuzzy variable.
6. The method according to claim 5, characterized in that The third fuzzy variable is determined in the following manner: Establish output fuzzy rule base based on empirical data; The third fuzzy variable is determined based on the first fuzzy variable, the second fuzzy variable, and the output fuzzy rule base.
7. The method according to claim 6, characterized in that The third fuzzy variable is determined based on the first fuzzy variable, the second fuzzy variable and the output fuzzy rule base to satisfy the following formula: U=(eT×eB)oR Among them, U is the third fuzzy variable, eT is the first fuzzy variable, × is the multiplication operation of the fuzzy rule base, eB is the second fuzzy variable, o is the fuzzy operator, R is the output fuzzy rule base, and () is a symbol indicating priority.
8. The method according to claim 1, characterized in that The display brightness adjustment method also includes a step of obtaining a temperature change rate at a preset position: Acquire the real-time temperature parameters at adjacent time points; Determine the temperature change rate based on the real-time temperature parameters at multiple time points; Based on the target brightness parameter and the real-time temperature parameter or the temperature change speed parameter, an adjustment parameter is output according to a fuzzy control algorithm.
9. A display brightness adjustment device, characterized in that: include: The environment brightness acquisition module is used to obtain real-time environment brightness parameters; A target brightness parameter acquisition module is used to obtain a target brightness parameter based on the real-time environment brightness parameter and the current brightness parameter; A real-time temperature acquisition module, used to acquire real-time temperature parameters of a preset position of the display device; The adjustment parameter output module is used to output the adjustment parameter according to the fuzzy control algorithm based on the target brightness parameter and the real-time temperature parameter.
10. A display brightness adjustment device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: execute the display brightness adjustment method as described in any one of claims 1-8.
11. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of the terminal, the terminal is enabled to execute the display brightness adjustment method according to any one of claims 1 to 8.
