Brightness data processing method, display device, brightness adjusting method and storage medium
By fitting the sample data of the display screen, the objective function is obtained to control the brightness of the backlight, which solves the problem of insufficient backlight flicker and brightness adjustment accuracy in the prior art, achieving more efficient brightness adjustment and better user experience.
Patent Information
- Application Number
- CN202311604755.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2025-05-30
AI Technical Summary
When adjusting the backlight brightness of the existing peak brightness curve, due to problems such as uneven manual calibration, the backlight of the display device may flicker. As the APL accuracy increases, the accuracy of the existing peak brightness curve cannot meet the dimming accuracy requirements.
By obtaining the sample average APL value of the display screen and its corresponding sample current signal and sample PWM signal, the sample driving current corresponding to the sample average APL value is determined, and the sample data is fitted to obtain an objective function so that the target driving current is output based on the APL value of any input display area and perform backlight brightness control.
This method can reduce the possibility of backlight flashing when the display device adjusts brightness, improve user experience, and even if the APL accuracy increases, there is no need to manually perform more annotations. You only need to get the objective function through fitting function, which improves the universality of brightness adjustment accuracy.
Smart Images

Figure CN120071841A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to display technology. More specifically, it relates to a method for processing brightness data, a display device, a method for adjusting brightness, and a storage medium. Background Art
[0002] Mini-LED display screens are widely used in display devices such as smart TVs. With the development of display screen technology, the brightness adjustment accuracy that can be achieved by current mini-LED display screens is getting higher and higher. Currently, when adjusting the backlight brightness, it is necessary to adjust the brightness based on the average APL value of the display screen and the peak brightness curve, etc. However, when using the existing peak brightness curve to adjust the backlight brightness, due to problems such as uneven artificial calibration of brightness, there may be a problem of backlight flickering when the display device is displaying. Moreover, as the APL accuracy increases, the accuracy of the existing peak brightness curve gradually cannot meet the accuracy requirements of dimming. Summary of the Invention
[0003] Exemplary embodiments of the present application provide a method for processing brightness data, a display device, a method for adjusting brightness, and a storage medium, which can avoid the problem of backlight flickering of the display device and meet the accuracy requirements of brightness adjustment.
[0004] In a first aspect, the present application provides a method for processing brightness data. The display screen includes at least one display area, and the average value of the average brightness level APL values of the at least one display area is the average APL value of the display screen. The method includes:
[0005] Obtain the sample average APL value of the display screen, and the sample current signal and sample PWM signal of the display area corresponding to the sample average APL value;
[0006] Determine the sample drive current corresponding to the sample average APL value according to the sample current signal and the sample PWM signal; the sample current signal and the sample PWM signal are used to characterize the magnitude of the sample drive current;
[0007] Fit at least two groups of the sample average APL values and the sample drive currents corresponding to the sample average APL values to obtain an objective function; the objective function is used to output the target drive current of the display area based on the input APL value of any display area; the target drive current is used for backlight brightness control of the display screen.
[0008] In some embodiments, the ratio of the sample drive current to the sample current signal is equal to the ratio of the sample PWM signal to the preset PWM signal.
[0009] Second aspect, the present application provides a display device, and the display device includes:
[0010] A display screen for image display; the display screen includes at least one display area;
[0011] A processor connected to the display screen, configured to:
[0012] Determine the average pixel level APL value of the display area according to the backlight brightness data of the display screen;
[0013] Input the APL value into a preset objective function to obtain the target drive current of the display area; the objective function is obtained based on the method described in any item of the first aspect;
[0014] Perform backlight brightness control of the display screen according to the target drive current of the display area.
[0015] In some embodiments, the performing backlight brightness control of the display screen according to the target drive current of the display area includes:
[0016] Determine the target current signal and the target PWM signal of the display area according to the target drive current;
[0017] Perform backlight brightness control of the display area according to the target current signal and the target PWM signal.
[0018] In some embodiments, the ratio of the target drive current to the target current signal is equal to the ratio of the target PWM signal to the preset PWM signal; the determining the target current signal and the target PWM signal of the display area according to the target drive current includes:
[0019] Judge whether the value of the target drive current is an integer;
[0020] Determine the target current signal and the target PWM signal of the display area according to the target drive current and the judgment result of whether the value of the target drive current is an integer.
[0021] In some embodiments, the determining the target current signal and the target PWM signal of the display area according to the target drive current and the judgment result of whether the value of the target drive current is an integer includes:
[0022] If the value of the target drive current is an integer, then determine the target current signal as the target drive current and the target PWM signal as the preset PWM signal;
[0023] Or,
[0024] If the value of the target drive current is not an integer, determine the target current signal according to the integer part of the value of the target drive current, and determine the target PWM signal according to the decimal part of the value of the target drive current.
[0025] In some embodiments, the determining the target current signal according to the integer part of the value of the target drive current, and determining the target PWM signal according to the decimal part of the value of the target drive current includes:
[0026] Use the sum of the integer part of the value of the target drive current and a preset value as the target current signal;
[0027] Determine the target PWM signal according to the decimal part of the value of the target drive current and the mapping relationship between the decimal value range and the PWM signal.
[0028] In a third aspect, the present application provides a brightness adjustment method. The display screen includes at least one display area. The method includes:
[0029] Determine the average pixel level APL value of the display area according to the backlight brightness data of the display screen;
[0030] Input the APL value into a preset target function to obtain the target drive current of the display area; the target function is obtained based on the method described in any item of the first aspect;
[0031] Perform backlight brightness control of the display screen according to the target drive current of the display area.
[0032] In a fourth aspect, the present application provides a computer-readable storage medium, on which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the methods described in any item of the first aspect and / or the third aspect are implemented.
[0033] In a fifth aspect, the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, the methods described in any item of the first aspect and / or the third aspect are implemented.
[0034] The brightness data processing method, display device, brightness adjustment method, and storage medium provided by this application can determine the sample drive current corresponding to the sample average APL value through the sample current signal and the sample PWM signal, and then can perform fitting based on the sample average APL value and the sample drive current corresponding to this sample average APL value to obtain the target function. Subsequently, this target function can be used to output the target drive current of the display area based on the APL value of any input display area and perform backlight brightness control. Through the above method, the electronic device can perform fitting on the sample average APL value and the sample drive current corresponding to this sample average APL value to obtain the target function, without the need for manual calibration of all target drive currents and APL values, reducing the possibility of backlight flicker when the display device adjusts the brightness based on this target function and improving the user experience. And through the above method, even if the APL accuracy increases, there is no need for more manual annotation, and only need to obtain this target function through fitting the fitting function, improving the universality of the brightness adjustment accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of this application or the implementation manners in related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings in the following description are some embodiments of this application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.
[0036] Figure 1 It is a schematic diagram of the architecture of the backlight system of a display device;
[0037] Figure 2 It is a schematic flowchart of a brightness data processing method provided by this application;
[0038] Figure 3 It is a schematic flowchart of a brightness adjustment method provided by this application;
[0039] Figure 4 It is a schematic flowchart of another brightness adjustment method provided by this application;
[0040] Figure 5 It is a schematic diagram of the structure of a brightness data processing device provided by this application;
[0041] Figure 6 It is a schematic diagram of the structure of a brightness adjustment device provided by this application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0042] To make the objectives, embodiments, and advantages of this application clearer, the following will clearly and completely describe the exemplary embodiments of this application with reference to the accompanying drawings in the exemplary embodiments of this application. Obviously, the described exemplary embodiments are only a part of the embodiments of this application, rather than all of the embodiments.
[0043] It should be noted that the brief description of the terms in this application is only for the convenience of understanding the following described embodiments, rather than intending to limit the embodiments of this application. Unless otherwise specified, these terms should be understood in their ordinary and common meanings.
[0044] In addition, the terms "comprising" and "having" and any variations thereof are intended to cover but not exclude inclusion. For example, a product or device comprising a series of components does not necessarily have to be limited to those components clearly listed, but may include other components not clearly listed or inherent to these products or devices.
[0045] With the development of mini light emitting diode (mini-LED) liquid crystal televisions (in some embodiments, miniLED can also be referred to as micro-LED), in order to provide users with a better picture quality experience, in terms of backlight display, the driving method of display gradually changes from the passive matrix (PM) driving method to the active matrix (AM) driving method.
[0046] When using the AM driving method to drive the display screen for display, the display brightness of the screen can be adjusted. Currently, the main methods for adjusting the screen brightness are: adjusting the brightness based on a single pulse width modulation (PWM) signal, or adjusting the brightness by mixing current and PWM signals (which can be simply referred to as hybrid dimming), etc.
[0047] Taking hybrid dimming as an example, Figure 1 is a schematic diagram of the architecture of the backlight system of a display device. Taking the backlight system as shown in Figure 1 as an example, during the process of hybrid dimming, the picture quality processing chip can obtain the video stream to be displayed and process the video stream. The picture quality processing chip can divide the processed video stream into image data and backlight data, which are respectively used to light up the screen (for example, the picture quality processing chip can transmit the image data to the TCON so that the TCON can light up the screen according to the image data) and the backlight panel.
[0048] For the backlight part, the image quality processing chip can determine the average pixel level (APL) value of each partition of the backlight panel according to the backlight data, and the average value of the APL values of each partition of the backlight panel (which can also be called the average APL value of the display screen). Then, the image quality processing chip can send the APL value of each partition of the backlight panel and the average APL value of the display screen to the Microcontroller Unit (MCU). The MCU can determine the current value and PWM signal of each partition above according to the average APL value, the APL value of each partition, and the pre-stored peak brightness curve, and send the current value and PWM signal of each partition to the backlight controller (BCON). The BCON can send the current value and PWM signal of each partition to the driver chip on the lamp board (that is, the backlight panel), so that the driver chip can light up the lamp board according to the current value and PWM signal of each partition, realizing hybrid dimming based on the current and PWM signal.
[0049] As mentioned above, when adjusting the backlight brightness currently, it is necessary to be based on the average APL value of the display screen and the peak brightness curve. The currently common APL value is usually 8-bit, that is, there are 256 APL values. That is to say, when determining the peak brightness curve, it is necessary to determine the brightness values corresponding to 256 points. Currently, the existing method for determining the peak brightness curve is to calibrate the brightness of each point of the peak brightness curve through manual offline experiments.
[0050] However, when using the existing peak brightness curve for brightness control, due to problems such as uneven manual calibration of brightness, there may be a problem of backlight flicker when the display device is displaying. And as the APL accuracy increases, the accuracy of the existing peak brightness curve gradually cannot meet the accuracy requirements of dimming.
[0051] Considering the above problems existing in the existing brightness adjustment method, therefore, this application proposes a brightness adjustment method for determining the target drive current by obtaining a target function that can be used to characterize the mapping relationship between the target drive current and the APL value of the display area through a fitting function. Through the above method, the target function does not need to manually calibrate all the target drive currents and APL values, reducing the possibility of backlight flicker when the display device adjusts the brightness and improving the user experience. And through the above method, even if the APL accuracy increases, it is not necessary to manually perform more annotations, and only need to obtain the target function through fitting by the fitting function, improving the universality of the brightness adjustment accuracy.
[0052] The execution subject of the above brightness adjustment method may be the processor of the display device, or rather, the display device. The display device further includes a display screen connected to the processor. The display screen may include at least one display area.
[0053] First, the technical solution of how to obtain the above objective function in the present application will be described in detail with reference to specific embodiments. These specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The execution subject of the method for determining the objective function may be, for example, any kind of electronic device such as a terminal or a server, and the present application does not limit this.
[0054] First, Figure 2 is a schematic flowchart of a brightness data processing method provided by the present application. As Figure 2 shown, the method may include the following steps:
[0055] S101. Obtain the sample average APL value of the display screen, and the sample current signal and sample PWM signal of the display area corresponding to the sample average APL value.
[0056] As mentioned above, the display screen of the display device may include at least one display area (or may also be referred to as a display partition). Among them, the average value of the APL values of the at least one display area is the average APL value of the display screen. For example, assuming that the display screen includes 64 display areas, the average APL value of the display screen is the average value of the APL values of the 64 display areas. The sample average APL value of the above display screen is the average value of the sample APL values of the respective display areas of the display screen.
[0057] The duty cycles and / or amplitudes, etc. between the above different sample PWM signals may be different, for example.
[0058] Optionally, the electronic device may, for example, receive the sample average APL value of the above-mentioned display screen input by the user, and the sample current signal and sample PWM signal of the display area corresponding to the sample average APL value. The sample average APL value of the display screen, and the sample current signal and sample PWM signal of the display area corresponding to the sample average APL value may be determined by the user through offline experiments, for example. Exemplarily, the user may first determine the brightness that the display screen needs to reach at at least one sample display window size percentage, and then configure the above-mentioned sample current signal and sample PWM signal for the display device so that the display screen reaches this brightness. Then, the user may record the above-mentioned sample display window size percentage and the corresponding sample current signal and sample PWM signal. The electronic device may, for example, receive the sample display window size percentage input by the user and the corresponding sample current signal and sample PWM signal, and obtain the sample average APL value of the display screen, and the sample current signal and sample PWM signal of the display area corresponding to the sample average APL value according to the mapping relationship between the sample display window size percentage and the average APL value of the display screen.
[0059] Exemplarily, within the above-mentioned sample display window, the brightness of each display area may be the same, that is, the APL value of each display area is the same. Therefore, in this implementation manner, the average APL value of the display screen is the same as the APL value of the display area.
[0060] S102. Determine the sample drive current corresponding to the sample average APL value according to the sample current signal and the sample PWM signal.
[0061] Among them, the sample current signal and the sample PWM signal may be used to characterize the magnitude of the sample drive current. That is to say, the above-mentioned sample current signal and the sample PWM signal are used together to characterize the magnitude of the sample drive current through these two parameters. The display device may control the brightness of the display screen based on the magnitude of the sample drive current.
[0062] In some embodiments, the ratio of the above-mentioned sample drive current to the sample current signal may, for example, be equal to the ratio of the sample PWM signal to the preset PWM signal. Optionally, the preset PWM signal may be stored in the electronic device in advance, for example. Exemplarily, the preset PWM signal may be related to the brightness adjustment accuracy that the display device can achieve. For example, the greater the brightness adjustment accuracy that the display device can achieve, the greater the preset PWM signal may be. The smaller the brightness adjustment accuracy that the display device can achieve, the smaller the preset PWM signal may be.
[0063] Optionally, after obtaining the above sample current signal and sample PWM signal, the electronic device can, for example, divide the sample PWM signal by the quotient of the above preset PWM signal, and then multiply it by the above sample current signal to obtain the above sample drive current, that is, the sample drive current corresponding to the sample average APL value.
[0064] S103. Fit at least two groups of sample average APL values and the sample drive current corresponding to the sample average APL value to obtain an objective function.
[0065] Among them, the objective function can be used to output the target drive current of any display area based on the input APL value of the display area. The target drive current can be used for backlight brightness control of the display screen.
[0066] Optionally, the fitting function can be pre-stored in the electronic device, for example. The electronic device can use the fitting function to fit at least two groups of sample average APL values and the sample drive current corresponding to the sample average APL value to obtain the above objective function. It should be understood that the present application does not limit the above fitting function. For example, the fitting function can be a Gaussian distribution function, etc.
[0067] In addition, the present application does not limit the number of groups of the "sample average APL value and the sample drive current corresponding to the sample average APL value" used to fit the objective function. For example, the number of the sample average APL value and the sample drive current corresponding to the sample average APL value required by different fitting functions can be different or the same.
[0068] Exemplarily, the above objective function can be shown as the following formula (1), for example:
[0069] CUR = F(APL) (1)
[0070] Among them, F(APL) represents the objective function with the APL value as a variable. CUR represents the target drive current. That is to say, the target drive current is the function value of the objective function.
[0071] In this embodiment, based on the sample current signal and the sample PWM signal, the sample drive current corresponding to the sample average APL value can be determined. Furthermore, fitting can be performed based on the sample average APL value and the sample drive current corresponding to this sample average APL value to obtain the objective function. Subsequently, this objective function can be used to output the target drive current of the display area based on the APL value of any input display area and perform backlight brightness control. Through the above method, the electronic device can obtain the objective function by fitting the sample average APL value and the sample drive current corresponding to this sample average APL value, without the need for manual calibration of all target drive currents and APL values, reducing the possibility of backlight flicker when the display device adjusts the brightness based on this objective function and improving the user experience. Moreover, through the above method, even if the APL accuracy increases, there is no need for more manual annotation. Only the objective function needs to be obtained by fitting with the fitting function, improving the universality of the brightness adjustment accuracy.
[0072] After determining the above objective function, the objective function can be pre-stored in the processor of the display device, so that the processor of the display device can perform backlight brightness control of the display screen based on this preset objective function.
[0073] First, the technical solution of the brightness adjustment method proposed in this application will be described in detail in combination with specific embodiments below. These specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0074] Figure 3 It is a schematic flowchart of a brightness adjustment method provided in this application. As Figure 3 shown, the method may include the following steps:
[0075] S201. Determine the APL value of the display area according to the backlight brightness data of the display screen.
[0076] Optionally, the specific implementation manner for the processor of the display device to determine the APL value of the display area according to the backlight brightness data of the display screen may refer to any existing implementation method, which will not be elaborated in this application. The APL values of different display areas may be the same or different.
[0077] It should be understood that this application is about how the display device obtains the above backlight brightness data of the display screen. For example, after obtaining the image to be displayed, the display device can determine the backlight brightness data of the display screen according to this image to be displayed. This backlight brightness data can be used to indicate the brightness that each display area of the display screen needs to reach.
[0078] S202. Input the APL value into the preset objective function to obtain the target drive current of the display area.
[0079] Among them, the objective function is obtained based on the luminance data processing method described in any of the foregoing embodiments.
[0080] For the APL value of any display area, the display device may use the APL value of the display area as the independent variable of the objective function, input it into the objective function, and obtain the output of the objective function as the target drive current value of the display area. The target drive current value may be an integer or may not be an integer.
[0081] S203. Perform backlight brightness control of the display screen according to the target drive current of the display area.
[0082] Taking the example that the magnitude of the above target drive current can be represented by a current signal and a PWM signal, the display device may determine the target current signal and the target PWM signal corresponding to the display area according to the target drive current, and perform backlight brightness control of the display area according to the target current signal and the target PWM signal. Exemplarily, taking the example that each display area of the above display screen corresponds to a driving chip for backlight brightness control, the processor of the display device may output the target current signal and the target PWM signal to the driving chip of the display area, so that the driving chip may output the above target drive current to the backlight panel of the display area according to the target current signal and the target PWM signal, so that the backlight panel of the display area emits the brightness corresponding to the target drive current.
[0083] In this embodiment, the processor of the display device may determine the target drive current corresponding to each display area through the above objective function, and perform backlight brightness control of the display screen based on the target drive current. Since the objective function is a fitted objective function, the smoothness of the brightness change of the display device can be improved. Furthermore, the possibility of backlight flicker when the display device adjusts the brightness based on the objective function can be reduced, improving the user experience.
[0084] The following will detail how the display device performs backlight brightness control of the display screen according to the target drive current of the display area:
[0085] As a possible implementation manner, the processor of the display device may determine the target current signal and the target PWM signal of the display area according to the above target drive current. Then, the processor of the display device may perform backlight brightness control of the display area according to the target current signal and the target PWM signal.
[0086] Exemplarily, the above-mentioned target PWM signal can be, for example, a PWM signal with a target duty cycle or a target amplitude, etc., and the present application does not limit this. Exemplarily, taking the example that each display area of the display device corresponds to a driving chip, the display device can, for example, configure the above-mentioned target current signal and target PWM signal obtained based on the target driving current into the driving chip corresponding to the display area, so that the driving chip drives the backlight panel of the display area to have the brightness corresponding to the target current signal and target PWM signal according to the target current signal and target PWM signal, realizing the control of the backlight brightness of the display area.
[0087] In some embodiments, the processor of the display device can, for example, pre-store a conversion formula for converting the target driving current into a target current signal and a target PWM signal. The processor can, for example, input the above-mentioned target driving current into the conversion formula to obtain the target current signal and target PWM signal output by the conversion formula.
[0088] Or, in some embodiments, taking the example that the ratio of the target driving current to the target current signal is equal to the ratio of the target PWM signal to the preset PWM signal, the processor can, for example, first determine whether the value of the target driving current is an integer, and then, the processor can determine the target current signal and target PWM signal of the display area according to the above-mentioned target driving current and the determination result of whether the value of the target driving current is an integer.
[0089] It should be understood that the method by which the processor determines whether the value of the above-mentioned target driving current is an integer can refer to any existing method for determining whether a numerical value is an integer, and the present application does not limit this.
[0090] As a possible implementation manner, if the value of the above-mentioned target driving current is an integer, the processor can determine that the target current signal is the target driving current, and the target PWM signal is the preset PWM signal. Among them, the preset PWM signal can be, for example, the maximum value of the PWM signal. When the value of the above-mentioned target driving current is an integer, it means that the fractional part of the target driving current is 0, that is to say, the target PWM signal can be equal to the preset PWM signal, and fine dimming of the fractional part is not required. Through the above method, the value of the target driving current can be directly used as the value of the target current signal, and the value of the preset PWM signal can be directly used as the value of the target PWM signal, improving the efficiency of the processor to determine the target current signal and target PWM signal of the display area.
[0091] If the value of the above-mentioned target driving current is non-integer, the processor can continue to determine the target current signal according to the integer part of the value of the target driving current, and determine the above-mentioned target PWM signal according to the fractional part of the value of the target driving current.
[0092] For example, the processor may use the sum of the integer part of the value of the target drive current and a preset value as the above-mentioned target current signal. Exemplarily, the preset value may be 1 or the like. Taking the preset value as 1 as an example, the processor may add 1 to the integer part of the value of the target drive current as the value of the above-mentioned target current signal.
[0093] The processor may, for example, determine the target PWM signal based on the fractional part of the value of the target drive current and the mapping relationship between the fractional value range and the PWM signal. Exemplarily, the mapping relationship between the fractional value range and the PWM signal may be pre-stored in the processor of the display device. Exemplarily, taking the above-mentioned preset PWM signal as the maximum PWM signal and the maximum PWM signal being 2048 as an example, the mapping relationship between the fractional value range and the PWM signal may be as shown in Table 1 below:
[0094] Table 1
[0095] Decimal value range PWM signal 0.100-0.499 1000 0.500-0.799 1500 0.800-1.000 2048
[0096] Exemplarily, taking the fractional value of the fractional part of the value of the target drive current as 0.165 as an example, since 0.165 is within the range of 0.100 - 0.499, the processor of the display device may determine that the target PWM signal is 1000.
[0097] Through the above method, the target PWM signal can be determined by intervals, improving the efficiency of determining the target PWM signal based on the fractional part of the value of the above-mentioned target drive current.
[0098] Alternatively, in some embodiments, the processor may, for example, also determine the target PWM signal based on the fractional part of the value of the target drive current and the mapping relationship between the fractional value and the PWM signal.
[0099] Taking the fitting of the objective function by an electronic device through Matlab as an example, Figure 4 This is a schematic flowchart of another brightness adjustment method provided by this application. As Figure 4 shown, the method may include the following steps:
[0100] The user can first determine several key points of the peaking curve (i.e., the aforementioned peak brightness curve) offline (such as the highest point of the curve, the white point, etc.) to clarify the peaking curve. During this process, the user can set the current value and PWM value in the driving chips of each display area configured to the display device, so that the display device can reach the corresponding brightness value at the corresponding window size of the peak brightness curve, and record the APL value of each display area within the display window (the APL values of each display area can be the same to make the average APL value of the display screen the same as the APL value of each display area). It should be understood that the number of the above-mentioned key points determined by the user offline can be determined according to the algorithm of the fitting function used later.
[0101] Then, as Figure 4 shown, the electronic device can use software such as matlab or python to fit the data of the above-mentioned several key points to obtain the aforementioned objective function. Before fitting the objective function, the electronic device can first convert the above-mentioned current value and PWM value into a driving current value (which can also be called the actual current value). For example, assume that the accuracy of the PWM signal is 12bit, that is, the maximum PWM signal is 4096. This maximum PWM signal can be a preset PWM signal. If the current value configured for a certain point is 13mA and the PWM value is 2000, the conversion process can be as shown in the following formula (2):
[0102] (2000 / 4096)*13=6.34765625 (2)
[0103] Through the above method, the electronic device can obtain at least two sets of sample driving currents, and the sample average APL value. Then, the electronic device can fit the at least two sets of sample driving currents and the sample average APL value to obtain the aforementioned objective function, such as the one shown in the aforementioned formula (1).
[0104] The above-mentioned objective function can be pre-stored in the MCU of the display device.
[0105] After the display device is powered on, it can obtain the backlight brightness data of the display screen and determine the APL value of the display area based on this backlight brightness data. Then, the display device can use the above-mentioned objective function in the MCU, for example, input the APL value into the above-mentioned objective function to obtain the backlight value of the display area (that is, the aforementioned target driving current).
[0106] Then, the display device can light up the backlight according to the backlight value. For example, the display device can convert the target drive current into a target current signal and a target PWM signal that need to be configured into the drive chip. When converting, if the fractional part of the value of the target drive current is 0, the target current signal can be, for example, the integer part of the value of the target drive current, and the target PWM signal can be, for example, a preset PWM signal, which can be the maximum value of the PWM signal at the dimming accuracy of the display device. If the fractional part of the value of the target drive current is not zero, the target current signal can be, for example, the integer part of the value of the target drive current plus 1, and the target PWM signal can be, for example, normalized into several discrete values according to the fractional part of the value of the target drive current. For example, refer to the mapping relationship shown in Table 1 above. Then, the display device can configure the calculated target current signal and target PWM signal to light up the backlight.
[0107] In this embodiment, the above target function can be determined by the method of function fitting. When determining the target current signal and target PWM signal configured into the drive chip, the value of the target current signal is converted using the integer part of the drive current, and the value of the target PWM signal is converted using the fractional part of the drive current, and the fractional part is normalized into several discrete values, thereby improving the conversion speed. By the above method, it is not necessary to manually calibrate all target drive currents and APL values, reducing the possibility of backlight flickering when the display device adjusts the brightness based on the target function, and improving the user experience. And by the above method, even if the APL accuracy increases, it is not necessary to perform more manual markings, and only need to obtain the target function by fitting the fitting function, improving the universality of the brightness adjustment accuracy.
[0108] Figure 5 The following is a schematic structural diagram of a brightness data processing device provided by the present application. As Figure 5 shown, the device includes: an acquisition module 31, a determination module 32, and a fitting module 33. Among them,
[0109] The acquisition module 31 is configured to acquire the sample average APL value of the display screen, and the sample current signal and sample PWM signal of the display area corresponding to the sample average APL value. Among them, the display screen includes at least one display area, and the average value of the average brightness level APL values of the at least one display area is the average APL value of the display screen.
[0110] The determination module 32 is configured to determine the sample drive current corresponding to the sample average APL value according to the sample current signal and the sample PWM signal. The sample current signal and the sample PWM signal are used to characterize the magnitude of the sample drive current.
[0111] A fitting module 33 is configured to fit at least two groups of the average APL values of the samples and the sample drive currents corresponding to the average APL values of the samples to obtain an objective function. Wherein, the objective function is used to output the target drive current of any display area based on the input APL value of the display area; the target drive current is used for controlling the backlight brightness of the display screen.
[0112] Optionally, the ratio of the sample drive current to the sample current signal is equal to the ratio of the sample PWM signal to the preset PWM signal.
[0113] The brightness data processing device provided in this application is used to execute the embodiments of the brightness data processing method executed by the foregoing electronic device. Its implementation principle and technical effects are similar, and will not be elaborated here.
[0114] Figure 6 It is a schematic structural diagram of a brightness adjustment device provided in this application. As Figure 6 shown, the device includes: a determination module 41, a processing module 42, and a control module 43. Wherein,
[0115] The determination module 41 is configured to determine the average pixel level (APL) value of the display area according to the backlight brightness data of the display screen.
[0116] The processing module 42 is configured to input the APL value into a preset objective function to obtain the target drive current of the display area. Wherein, the objective function is obtained based on any of the foregoing brightness data processing methods.
[0117] The control module 43 is configured to control the backlight brightness of the display screen according to the target drive current of the display area.
[0118] Optionally, the control module 43 is specifically configured to determine the target current signal and the target PWM signal of the display area according to the target drive current; and control the backlight brightness of the display area according to the target current signal and the target PWM signal.
[0119] Taking the ratio of the target drive current to the target current signal being equal to the ratio of the target PWM signal to the preset PWM signal as an example, optionally, the control module 43 is specifically configured to determine whether the value of the target drive current is an integer; and determine the target current signal and the target PWM signal of the display area according to the target drive current and the determination result of whether the value of the target drive current is an integer.
[0120] Optionally, the control module 43 is specifically configured to determine that the target current signal is the target drive current and the target PWM signal is a preset PWM signal when the value of the target drive current is an integer; or, optionally, the control module 43 is specifically configured to determine the target current signal according to the integer part of the value of the target drive current and determine the target PWM signal according to the fractional part of the value of the target drive current when the value of the target drive current is not an integer.
[0121] Optionally, the control module 43 is specifically configured to use the sum of the integer part of the value of the target drive current and a preset value as the target current signal; and determine the target PWM signal according to the fractional part of the value of the target drive current and the mapping relationship between the fractional value interval and the PWM signal.
[0122] The brightness adjustment device provided in this application is used to execute the brightness adjustment method embodiments executed by the processor of the foregoing display device, and its implementation principle and technical effects are similar, which will not be elaborated here.
[0123] This application also provides a computer-readable storage medium, which may include: various media that can store program codes such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks or optical discs, etc. Specifically, program instructions are stored in the computer-readable storage medium, and the program instructions are used for the methods in the foregoing embodiments.
[0124] This application also provides a program product, which includes execution instructions stored in a readable storage medium. At least one control module of the display device can read the execution instructions from the readable storage medium, and at least one control module executes the execution instructions to enable the display device to implement the brightness data processing and / or brightness adjustment methods provided by the above various embodiments.
[0125] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit them; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0126] For ease of explanation, the above description has been presented in connection with specific embodiments. However, the foregoing exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Numerous modifications and variations are possible in light of the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A method for processing brightness data, characterized in that, the display screen includes at least one display area, and the average value of the average brightness level APL values of the at least one display area is the average APL value of the display screen. The method includes: obtaining the sample average APL value of the display screen, and the sample current signal and sample PWM signal of the display area corresponding to the sample average APL value; determining the sample drive current corresponding to the sample average APL value according to the sample current signal and the sample PWM signal; the sample current signal and the sample PWM signal are used to characterize the magnitude of the sample drive current; fitting at least two groups of the sample average APL values and the sample drive currents corresponding to the sample average APL values to obtain an objective function; the objective function is used to output the target drive current of the display area based on the input APL value of any display area; the target drive current is used for backlight brightness control of the display screen.
2. The method according to claim 1, characterized in that, the ratio of the sample drive current to the sample current signal is equal to the ratio of the sample PWM signal to the preset PWM signal.
3. A display device, characterized in that, the display device includes: a display screen for image display; the display screen includes at least one display area; a processor connected to the display screen, configured to: determine the average pixel level APL value of the display area according to the backlight brightness data of the display screen; input the APL value into a preset objective function to obtain the target drive current of the display area; the objective function is obtained based on the method according to any one of claims 1-2; perform backlight brightness control of the display screen according to the target drive current of the display area.
4. The display device according to claim 3, characterized in that, the performing backlight brightness control of the display screen according to the target drive current of the display area includes: determining the target current signal and target PWM signal of the display area according to the target drive current; performing backlight brightness control of the display area according to the target current signal and the target PWM signal.
5. The display device according to claim 4, characterized in that, the ratio of the target drive current to the target current signal is equal to the ratio of the target PWM signal to the preset PWM signal; the determining the target current signal and target PWM signal of the display area according to the target drive current includes: judging whether the value of the target drive current is an integer; determining the target current signal and target PWM signal of the display area according to the target drive current and the judgment result of whether the value of the target drive current is an integer.
6. The display device according to claim 5, characterized in that, the determining the target current signal and target PWM signal of the display area according to the target drive current and the judgment result of whether the value of the target drive current is an integer includes: If the value of the target driving current is an integer, determine that the target current signal is the target driving current, and the target PWM signal is a preset PWM signal; Or, If the value of the target driving current is non-integer, determine the target current signal according to the integer part of the value of the target driving current, and determine the target PWM signal according to the decimal part of the value of the target driving current.
7. The display device according to claim 6, wherein, The determining the target current signal according to the integer part of the value of the target driving current, and determining the target PWM signal according to the decimal part of the value of the target driving current includes: Taking the sum of the integer part of the value of the target driving current and a preset value as the target current signal; Determining the target PWM signal according to the decimal part of the value of the target driving current and the mapping relationship between the decimal value range and the PWM signal.
8. A brightness adjustment method, wherein, The display screen includes at least one display area, and the method includes: Determining the average pixel level APL value of the display area according to the backlight brightness data of the display screen; Inputting the APL value into a preset objective function to obtain the target driving current of the display area; the objective function is obtained based on the method according to any one of claims 1-2; Performing backlight brightness control of the display screen according to the target driving current of the display area.
9. A computer-readable storage medium, wherein, Computer-executable instructions are stored on the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, the method according to any one of claims 1-2, and / or, claim 8 is implemented.
10. A computer program product, wherein, including a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1-2, and / or, claim 8 is implemented.