Method for generating a brightness compensation table and related device

CN122695946BActive Publication Date: 2026-10-09JINGCHEN SEMICON SHENZHEN CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611183949.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-08-06
Publication Date
2026-10-09
Estimated Expiration
2046-08-06

AI Technical Summary

Technical Problem

[0002]在可变刷新率(Variable Refresh Rate,VRR)模式下,刷新率变化会导致场消隐期间(Vertical Blanking,VBK)变长或变短

Benefits of technology

[0018]本公开实施例的技术方案具有以下优点:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122695946B_ABST
    Figure CN122695946B_ABST
Patent Text Reader

Abstract

The embodiment of the present disclosure provides a luminance compensation table generation method and related equipment, the generation method is applied to a display device supporting variable refresh rate, and includes: acquiring first luminance values corresponding to a plurality of preset gray scale values at a reference refresh rate, and acquiring second luminance values corresponding to the plurality of preset gray scale values at at least one to-be-compensated refresh rate; wherein the to-be-compensated refresh rate is different from the reference refresh rate, and both are within a range of a minimum refresh frequency to a maximum refresh frequency of the display device; determining a gray scale compensation value of each preset gray scale value at the to-be-compensated refresh rate according to the second luminance value and the first luminance value corresponding to each preset gray scale value; and generating a luminance compensation table of each to-be-compensated refresh rate according to the corresponding relationship among the to-be-compensated refresh rate, the preset gray scale value and the gray scale compensation value. By using the above technical solution, the luminance difference under different refresh rates can be reduced, and the display stability and visual consistency under the variable refresh rate mode can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of display technology, and in particular to a method for generating a brightness compensation table and related equipment. Background Technology

[0002] In Variable Refresh Rate (VRR) mode, changes in the refresh rate cause the vertical blanking (VBK) period to become longer or shorter. Because liquid crystal pixels experience slight leakage during the blanking period, the pixel voltage decay varies depending on the VBK period, which in turn causes changes in transmittance and results in brightness differences.

[0003] When the refresh rate frequently switches between high and low frequencies, the difference in brightness can create a noticeable flicker, affecting the user's viewing experience. Summary of the Invention

[0004] In view of this, the present disclosure provides a method and related equipment for generating a brightness compensation table, which can reduce the brightness difference under different refresh rates and improve the display stability and visual consistency in variable refresh rate mode.

[0005] The embodiments disclosed herein provide the following technical solutions.

[0006] In a first aspect, embodiments of this disclosure provide a method for generating a brightness compensation table, applied to a display device supporting a variable refresh rate, the method comprising: The system obtains first brightness values ​​corresponding to multiple preset grayscale values ​​at a reference refresh rate, and obtains second brightness values ​​corresponding to the multiple preset grayscale values ​​at at least one refresh rate to be compensated; wherein the refresh rate to be compensated is different from the reference refresh rate, and both are within the range of the minimum refresh frequency to the maximum refresh frequency of the display device. The grayscale compensation value of the refresh rate to be compensated at each preset grayscale value is determined based on the second brightness value and the first brightness value corresponding to each preset grayscale value. This includes: for each refresh rate to be compensated, in response to the first brightness value being greater than the second brightness value, determining the index grayscale value of each preset grayscale value, and the first brightness value and the second brightness value corresponding to the index grayscale value, according to the arrangement result of the preset grayscale values; for the index grayscale value located between the maximum index grayscale value and the minimum index grayscale value, determining the grayscale compensation value of the current index grayscale value at the frequency to be compensated based on the brightness deviation between the first brightness value and the second brightness value corresponding to the current index grayscale value, the brightness change between the first brightness value corresponding to the current index grayscale value and the first brightness value corresponding to the next adjacent index grayscale value, the preset grayscale value corresponding to the current index grayscale value, and the preset grayscale value corresponding to the current index grayscale value and the preset grayscale value corresponding to the previous adjacent index grayscale value. Based on the correspondence between the refresh rate to be compensated, the preset grayscale value, and the grayscale compensation value, a brightness compensation table is generated for each refresh rate to be compensated.

[0007] Optionally, for index grayscale values ​​located between the maximum and minimum index grayscale values, the grayscale compensation value satisfies the following relationship:

[0008] in, This indicates the current index grayscale value. This indicates the grayscale value of the previous index. Indicates the next index grayscale value. Indicates the current index grayscale value The corresponding preset grayscale value, Indicates the current index grayscale value The corresponding first brightness value, This represents the second brightness value corresponding to the current index grayscale value. This indicates the preset grayscale value corresponding to the current index grayscale value. This indicates the preset grayscale value corresponding to the previous index grayscale value. This indicates the second brightness value corresponding to the next index grayscale value. This represents the grayscale compensation value corresponding to the current index grayscale value.

[0009] Optionally, determining the grayscale compensation value for the refresh rate to be compensated at each of the preset grayscale values ​​based on the second brightness value and the first brightness value corresponding to each preset grayscale value includes: The brightness deviation is determined based on the second brightness value and the first brightness value corresponding to each preset grayscale value; In response to the brightness deviation being greater than the preset brightness value, the preset grayscale value of the refresh rate to be compensated is reduced until the brightness deviation meets the preset brightness value. Then, the difference between the current grayscale value and the preset grayscale value is used as the grayscale compensation value. In response to the brightness deviation being less than the preset brightness value, the preset grayscale value of the refresh rate to be compensated is increased until the brightness deviation meets the preset brightness value. Then, the difference between the current grayscale value and the preset grayscale value is used as the grayscale compensation value. In response to the brightness deviation being equal to the preset brightness value, the preset grayscale value of the refresh rate to be compensated is maintained, and 0 is used as the grayscale compensation value.

[0010] Optionally, the generation method further includes: The refresh rate range from the minimum refresh frequency to the maximum refresh frequency is divided into multiple frequency intervals. For each frequency range, at least one refresh frequency point is selected as the refresh rate to be compensated.

[0011] Optionally, the generation method further includes: For each refresh rate to be compensated, in response to the current grayscale value not being the preset grayscale value, a first preset grayscale value that is less than the current grayscale value and closest to the current grayscale value, and a second preset grayscale value that is greater than the current grayscale value and closest to the current grayscale value are selected from among the multiple preset grayscale values. The gray level compensation value of the current gray level is determined based on the gray level compensation values ​​corresponding to the first preset gray level value and the second preset gray level value.

[0012] Optionally, the refresh rate to be compensated corresponds to a preset refresh rate range, and the grayscale compensation value generated based on the refresh rate to be compensated is applicable to the preset refresh rate range. The generation method further includes: In response to the current refresh rate not being the base refresh rate or the refresh rate to be compensated, a preset refresh rate range is determined for the current refresh rate; In response to the current refresh rate being the common endpoint of two adjacent preset refresh rate intervals, the grayscale compensation value of the current refresh rate in the corresponding grayscale value is determined from two grayscale compensation values ​​corresponding to the two preset refresh rate intervals, based on the refresh rate to be compensated used in the previous moment. In response to the fact that the current refresh rate is only within a preset refresh rate range, the grayscale compensation value of the refresh rate to be compensated corresponding to the preset refresh rate range is used as the grayscale compensation value of the current refresh rate in the corresponding grayscale value.

[0013] Optionally, the generation method further includes: In response to the display device operating in the variable refresh rate mode, the current refresh rate and the current input grayscale value are obtained; based on the current refresh rate and the current input grayscale value, the brightness compensation table is queried to obtain the corresponding target output grayscale value, and the display device is controlled to display according to the target output grayscale value; Export the brightness compensation table for each refresh rate to be compensated and save it in a preset file format.

[0014] Secondly, embodiments of this disclosure provide a brightness compensation table generation apparatus, disposed in a display device supporting a variable refresh rate, the generation apparatus comprising: The acquisition unit is used to acquire first brightness values ​​corresponding to multiple preset grayscale values ​​at a reference refresh rate, and to acquire second brightness values ​​corresponding to the multiple preset grayscale values ​​at at least one refresh rate to be compensated; wherein the refresh rate to be compensated is different from the reference refresh rate, and both are within the range of the minimum refresh frequency to the maximum refresh frequency of the display device; The determining unit is configured to determine the grayscale compensation value of the refresh rate to be compensated at each preset grayscale value based on the second brightness value and the first brightness value corresponding to each preset grayscale value, including: for each refresh rate to be compensated, in response to the first brightness value being greater than the second brightness value, determining the index grayscale value of each preset grayscale value, and the first brightness value and the second brightness value corresponding to the index grayscale value according to the arrangement result of the preset grayscale values; for the index grayscale value located between the maximum index grayscale value and the minimum index grayscale value, determining the grayscale compensation value of the current index grayscale value at the frequency to be compensated based on the brightness deviation between the first brightness value and the second brightness value corresponding to the current index grayscale value, the brightness change between the first brightness value corresponding to the current index grayscale value and the first brightness value corresponding to the next adjacent index grayscale value, the preset grayscale value corresponding to the current index grayscale value, and the preset grayscale value corresponding to the current index grayscale value and the preset grayscale value corresponding to the previous adjacent index grayscale value. The generation unit is used to generate a brightness compensation table for each refresh rate to be compensated based on the correspondence between the refresh rate to be compensated, the preset grayscale value, and the grayscale compensation value.

[0015] Thirdly, embodiments of this disclosure provide an electronic device, including a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor executes the steps of the brightness compensation table generation method described in any of the foregoing embodiments when running the computer program.

[0016] Fourthly, embodiments of this disclosure provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the method for generating a brightness compensation table as described in any of the foregoing embodiments to be performed.

[0017] Fifthly, embodiments of this disclosure provide a computer program product, including a computer program / instructions, which, when executed by a processor, implement the steps of the brightness compensation table generation method described in any of the foregoing embodiments.

[0018] The technical solution of this disclosure has the following advantages: In the brightness compensation table generation method provided in this disclosure, the display device should support a variable refresh rate. Within the range from the minimum refresh rate to the maximum refresh rate, it is possible to obtain first brightness values ​​corresponding to multiple preset grayscale values ​​at a reference refresh rate, and second brightness values ​​for the multiple preset grayscale values ​​at at least one refresh rate to be compensated. Thus, using the first brightness value as a reference, and based on the difference between the second brightness value corresponding to each preset grayscale value and the first brightness value, the grayscale compensation value for each preset grayscale value of the refresh rate to be compensated can be determined, thereby establishing a brightness compensation table for each refresh rate to be compensated. Therefore, when the display device operates in a variable refresh rate mode, based on this brightness compensation table, the brightness difference at different refresh rates can be reduced, improving display stability and visual consistency in the variable refresh rate mode. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments of this disclosure or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram illustrating how the field blanking time changes with the refresh rate.

[0021] Figure 2 This is a flowchart of a method for generating a brightness compensation table according to an embodiment of this disclosure.

[0022] Figure 3 This is a schematic diagram illustrating the principle of frequency band segmentation in one embodiment of this disclosure.

[0023] Figure 4 This is a flowchart illustrating how to determine grayscale compensation values ​​in an embodiment of this disclosure.

[0024] Figure 5 This is a diagram illustrating the brightness differences of grayscale values ​​at different refresh rates.

[0025] Figure 6 This is a schematic diagram of a brightness compensation principle according to an embodiment of this application.

[0026] Figure 7 This is a schematic diagram of the structure of a brightness compensation table generation device according to an embodiment of this disclosure. Detailed Implementation

[0027] As described in the background section, the field blanking period varies with the refresh rate, resulting in different field blanking times for different refresh rates. During the field blanking time, pixels maintain transmittance by retaining their charge.

[0028] However, during the blanking period, which includes the entire frame, the pixel voltage gradually decays due to leakage, resulting in a weakening of voltage maintenance and changes in transmittance.

[0029] See Figure 1 , Figure 1 This is a schematic diagram illustrating how the field blanking time changes with the refresh rate.

[0030] In one playback scenario, the duration of the actual displayed image (data active) in each frame is basically the same, and the duration between adjacent frames includes the field blanking period. However, the field blanking period varies with the refresh rate.

[0031] like Figure 1 As shown, the LCD screen enters frequency conversion mode during VRR timing. As the playback time (frametime) increases, the refresh rate of the LCD screen gradually decreases and then increases again.

[0032] Correspondingly, the field disappearance period shows a trend of gradually increasing and then decreasing. For example, VBK2 is greater than VBK1, VBK3 is greater than VBK2, and VBK3 is greater than VBK4.

[0033] When the duration of the vertical blanking period increases, the time the pixel holds its voltage increases, making leakage more noticeable and causing brightness shift. If the length of the vertical blanking period changes continuously, the human eye may perceive brightness flickering.

[0034] Furthermore, the LCD screen itself also has a slight leakage current. In addition, the leakage current varies during different blanking periods, which will further cause different brightness differences at different frequencies when the refresh rate keeps changing.

[0035] Specifically, for LCD screens with normal white characteristics, changes in refresh rate cause black levels to become brighter; for LCD screens with normal black characteristics, changes in refresh rate cause black levels to become darker.

[0036] To reduce the difference between frequency and brightness, variable refresh rate de-flicker (VDF) technology is usually used to compensate for brightness and reduce flickering.

[0037] VDF technology relies on grayscale lookup tables to compensate for the flickering caused by the instantaneous brightness difference during low-frequency brightness transitions and high-frequency image switching. However, looking up the table requires manually adjusting test values ​​back and forth one by one to determine the optimal value. This is time-consuming and introduces errors due to manual adjustments.

[0038] Currently, application-side manufacturers face the challenge of outputting multiple different grayscale combinations for each frequency band, requiring repeated debugging and comparison. Relying on manual testing is a lengthy process prone to human error, extremely time-consuming, and impacts debugging efficiency.

[0039] Furthermore, if the lookup data provided by the panel manufacturer is used, the best results may not be achieved because the current hardware driver environment is different from that of the panel manufacturer.

[0040] Based on this, embodiments of this disclosure provide a method for generating a brightness compensation table, wherein the display device should support a variable refresh rate. Within the range from the minimum refresh rate to the maximum refresh rate, it is possible to obtain first brightness values ​​corresponding to multiple preset grayscale values ​​at a reference refresh rate, and second brightness values ​​of the multiple preset grayscale values ​​at at least one refresh rate to be compensated. Thus, using the first brightness value as a reference, and based on the difference between the second brightness value corresponding to each preset grayscale value and the first brightness value, the grayscale compensation value for each preset grayscale value of the refresh rate to be compensated can be determined, thereby establishing a brightness compensation table for each refresh rate to be compensated. Therefore, when the display device operates in a variable refresh rate mode, based on this brightness compensation table, the brightness difference at different refresh rates can be reduced, improving display stability and visual consistency in the variable refresh rate mode.

[0041] To enable those skilled in the art to better understand, implement, and realize the embodiments of this disclosure, the following exemplary description is provided with reference to the accompanying drawings.

[0042] See Figure 2 , Figure 2 This is a flowchart of a method for generating a brightness compensation table according to an embodiment of this disclosure.

[0043] The method for generating this brightness compensation table can be applied to display devices that support variable refresh rates.

[0044] Display devices may include: LCD displays, in-vehicle displays, televisions, monitors, laptops, tablets, etc.

[0045] Accordingly, the method for generating the brightness compensation table includes steps S201 to S203: S201, obtain the first brightness value corresponding to a plurality of preset grayscale values ​​under the reference refresh rate, and obtain the second brightness value corresponding to the plurality of preset grayscale values ​​under at least one refresh rate to be compensated; wherein, the refresh rate to be compensated is different from the reference refresh rate, and both are within the range of the minimum refresh frequency to the maximum refresh frequency of the display device.

[0046] In some embodiments, the refresh rate of the display device can vary within a range from the minimum refresh rate to the maximum refresh rate.

[0047] Different refresh rates result in different blanking periods, leading to variations in brightness. Therefore, this solution uses a first brightness value (based on a first preset grayscale value at a reference refresh rate) to adjust the second brightness value of at least one refresh rate to be compensated, thereby reducing the impact of the blanking period.

[0048] Specifically, while keeping the baseline refresh rate constant, the first brightness value corresponding to each preset grayscale value can be obtained by changing the preset grayscale value applied to the pixel. The brightness value can be obtained using detection devices such as a color analyzer or a photoelectric sensor.

[0049] In practice, the number of preset grayscale values ​​and the specific values ​​selected can be determined by referring to the bit depth of the display device. The higher the bit depth, the more grayscale levels there are. For example, for an 8-bit system, the grayscale range is 0 to 255, corresponding to 256 brightness levels; for a 10-bit system, the grayscale range is 0 to 1023, corresponding to 1024 brightness levels; and for a 12-bit system, the grayscale range is 0 to 4095, corresponding to 4096 brightness levels.

[0050] At any given bit depth, multiple preset grayscale values ​​can be selected from the corresponding grayscale range. For example, for an 8-bit system, grayscale values ​​0, 8, 16, ..., 255 can be selected as preset grayscale values.

[0051] In this way, all selected preset grayscale values ​​can be polled in an incremental, decremental, or other manner until the first brightness of all grayscale values ​​at the base refresh rate is obtained. In other words, one grayscale value corresponds to one first brightness.

[0052] In some embodiments, the minimum refresh rate or the maximum refresh rate is used as the base refresh rate. For example, for a display device with a frequency range of 40Hz to 120Hz, 40Hz can be used as the base refresh rate; or, for example, 120Hz can be used as the base refresh rate. Of course, one of the frequency points within 40Hz to 120Hz can also be used as the base refresh rate, for example, 60Hz.

[0053] In one embodiment, if the display device has a long white characteristic, the minimum frequency is used as the reference refresh rate; if the display device has a long black characteristic, the maximum frequency is used as the reference refresh rate.

[0054] In some embodiments, within the range of minimum refresh frequency to maximum refresh frequency, at least one refresh rate to be compensated is selected, and the second brightness value corresponding to the plurality of preset grayscale values ​​is determined respectively.

[0055] The method for obtaining the second brightness value is as follows: keeping the refresh rate to be compensated unchanged, the second brightness value is determined by changing the grayscale value applied to the pixel.

[0056] The grayscale values ​​used for the refresh rate to be compensated are the same as those used for the base refresh rate. For example, for an 8-bit system, grayscale values ​​of 0, 8, 16, ..., 255 are selected as the preset grayscale values ​​for the refresh rate to be compensated.

[0057] In this embodiment, the refresh rate to be compensated is different from the reference refresh rate. This allows the first brightness value at the reference refresh rate to be used as a reference to adjust the second brightness value at other refresh rates.

[0058] In some embodiments, when determining the refresh rate to be compensated, an interval division operation can also be performed to obtain multiple frequency intervals.

[0059] Specifically, the refresh rate range from the minimum refresh frequency to the maximum refresh frequency is divided into multiple frequency intervals; for each frequency interval, at least one refresh frequency point is selected as the refresh rate to be compensated.

[0060] The refresh frequency point can be the center frequency of each frequency interval, or a segment of that center frequency. This allows the refresh frequency point to characterize the frequency interval, and then, based on this refresh frequency point, the relevant parameters of other refresh points within that frequency interval can be determined. This further reduces the number of selected refresh rates to be compensated, improving generation efficiency.

[0061] See Figure 3 , Figure 3 This is a schematic diagram illustrating the principle of frequency band segmentation in one embodiment of this disclosure.

[0062] The refresh rate range from the minimum refresh rate (min_fr) to the maximum refresh rate (max_fr) is divided into n frequency intervals. The length of each frequency interval can be the same or different. The specific division method can be set according to actual needs.

[0063] S202, determine the grayscale compensation value of the refresh rate to be compensated for each preset grayscale value based on the second brightness value and the first brightness value corresponding to each preset grayscale value.

[0064] In some embodiments, each preset grayscale value has a first brightness value at a reference refresh rate and a second brightness value at the frequency to be compensated. The first brightness value and the second brightness value can reflect the brightness difference of the current display device at the same preset grayscale value but different refresh rates. Based on the second brightness value and the first brightness value, the grayscale compensation value for the refresh rate to be compensated at each preset grayscale value can be determined.

[0065] The grayscale compensation value is used to compensate for the first brightness value, so that the first brightness value tends to the second brightness value.

[0066] In some embodiments, the compensation values ​​corresponding to the maximum and minimum grayscale values ​​among the selected preset grayscale values ​​are known. Based on the maximum and minimum grayscale values ​​among the preset grayscale values, the grayscale compensation value for each preset grayscale value with the same refresh rate to be compensated is determined by fitting.

[0067] See Figure 3 , Figure 4 And Table 1, Figure 4 This is a flowchart of determining grayscale compensation values ​​in an embodiment of this disclosure. Table 1 is a table showing the correspondence between grayscale values ​​and grayscale compensation values.

[0068] The steps for determining the grayscale compensation value include: S401, for each refresh rate to be compensated, in response to the first brightness value being greater than the second brightness value, according to the arrangement result of the preset grayscale values, determine the index grayscale value of each preset grayscale value, and the first brightness value and the second brightness value corresponding to the index grayscale value.

[0069] In some embodiments, there are multiple preset grayscale values, and each preset grayscale value has its own corresponding numerical value. In this way, the index grayscale value of each preset grayscale value can be determined according to the arrangement result.

[0070] For example, referring to Table 1, the index number of the grayscale value is determined as the index grayscale value according to the sorting method from smallest to largest. Specifically, for grayscale level 0, the index number is 0, and the corresponding index grayscale value is 0; for the second grayscale level, the index number is 1, and its corresponding index grayscale value is... ...; For the maximum gray level, the index number is MAX, and its corresponding index gray level value is... .

[0071] For more details on the index grayscale values ​​of the preset grayscale values, please refer to Table 1.

[0072] It should be noted that Table 1 is arranged in ascending order of grayscale values. In some other embodiments, the values ​​can also be arranged in descending order.

[0073] Since there is a one-to-one correspondence between the indexed grayscale value and the preset grayscale value, each indexed grayscale value corresponds to a first brightness value and a second brightness value.

[0074]

[0075] Table 1 shows the correspondence between grayscale values ​​and grayscale compensation values. S402, for an index grayscale value located between the maximum index grayscale value and the minimum index grayscale value, the grayscale compensation value of the current index grayscale value at the frequency to be compensated is determined based on the brightness deviation between the first brightness value and the second brightness value corresponding to the current index grayscale value, the brightness change between the first brightness value corresponding to the current index grayscale value and the first brightness value corresponding to the adjacent next index grayscale value, the preset grayscale value corresponding to the current index grayscale value, and the preset grayscale value corresponding to the current index grayscale value and the preset grayscale value corresponding to the adjacent previous index grayscale value.

[0076] In some embodiments, the index grayscale value is determined by the arrangement of preset grayscale values. Therefore, for any index grayscale value between the maximum and minimum index grayscale values, the brightness value of the current index grayscale value, the brightness value of the previous index grayscale value adjacent to the current index grayscale value, and the grayscale compensation value of the previous index grayscale value can be determined.

[0077] Based on the above parameters, the grayscale compensation value corresponding to the current index grayscale value can be determined.

[0078] In one embodiment, for index grayscale values ​​located between the maximum index grayscale value and the minimum index grayscale value, the grayscale compensation value satisfies the following relationship: .

[0079] in, This indicates the current index grayscale value. This indicates the grayscale value of the previous index. Indicates the next index grayscale value. Indicates the current index grayscale value The corresponding preset grayscale value, Indicates the current index grayscale value The corresponding first brightness value, This represents the second brightness value corresponding to the current index grayscale value. This indicates the preset grayscale value corresponding to the current index grayscale value. This indicates the preset grayscale value corresponding to the previous index grayscale value. This indicates the second brightness value corresponding to the next index grayscale value. This represents the grayscale compensation value corresponding to the current index grayscale value.

[0080] Using the above-mentioned method for confirming grayscale compensation values, for index grayscale values ​​located between the maximum and minimum index grayscale values, the grayscale compensation value is not determined directly based solely on the brightness deviation between the first and second brightness values ​​corresponding to the index grayscale value. Instead, it is further determined by combining the brightness change between the first brightness value corresponding to the current index grayscale value and the first brightness value corresponding to the previous index grayscale value, as well as the grayscale compensation value corresponding to the previous index grayscale value.

[0081] Therefore, when determining the grayscale compensation value corresponding to the current index grayscale value, it can simultaneously reflect the brightness deviation between the current grayscale at the reference refresh rate and the frequency to be compensated, as well as the brightness change relationship between adjacent grayscales at the reference refresh rate, thereby improving the matching degree between the grayscale compensation value and the brightness deviation at the frequency to be compensated.

[0082] Meanwhile, since the determination of the grayscale compensation value corresponding to the current index grayscale value is related to the grayscale compensation value corresponding to the previous index grayscale value, the grayscale compensation values ​​corresponding to adjacent index grayscale values ​​can maintain correlation and change, reducing the possibility of sudden changes in adjacent grayscale compensation results, which is conducive to generating a grayscale correction lookup table with better continuity.

[0083] Therefore, when the grayscale correction lookup table generated based on the grayscale compensation value is applied to the frequency to be compensated, it can make the display brightness of each grayscale level at the frequency to be compensated closer to the display brightness of the corresponding grayscale level at the reference refresh rate, reduce the brightness deviation caused by frequency changes, and improve the consistency of grayscale brightness at different frequencies.

[0084] In some embodiments, the grayscale compensation value can be determined by adjusting the grayscale value corresponding to the first brightness value based on the deviation between the second brightness value and the first brightness value.

[0085] Specifically, a brightness deviation is determined based on the second brightness value and the first brightness value corresponding to each preset grayscale value; in response to the brightness deviation being greater than the preset brightness value, the preset grayscale value of the refresh rate to be compensated is decreased until the brightness deviation meets the preset brightness value, and the difference between the current grayscale value and the preset grayscale value is used as the grayscale compensation value; in response to the brightness deviation being less than the preset brightness value, the preset grayscale value of the refresh rate to be compensated is increased until the brightness deviation meets the preset brightness value, and the difference between the current grayscale value and the preset grayscale value is used as the grayscale compensation value; in response to the brightness deviation being equal to the preset brightness value, the preset grayscale value of the refresh rate to be compensated is maintained, and 0 is used as the grayscale compensation value.

[0086] In some embodiments, after determining the first brightness value and the second brightness value, the brightness difference between the first brightness value and the second brightness value at the same grayscale value is determined. The method for determining the brightness difference includes, but is not limited to, calculation methods such as percentage or direct subtraction.

[0087] In this way, the direction of the deviation can be further determined based on the brightness difference. This deviation direction determines the trend of the compensation direction, that is, whether the compensated grayscale value increases or decreases.

[0088] For example, if the brightness deviation is greater than the preset brightness value, the preset grayscale value of the refresh rate to be compensated is reduced until the brightness deviation meets the preset brightness value. Then, the difference between the current grayscale value and the preset grayscale value is used as the grayscale compensation value.

[0089] If the brightness deviation is less than the preset brightness value, the preset grayscale value of the refresh rate to be compensated is increased until the brightness deviation meets the preset brightness value. Then, the difference between the current grayscale value and the preset grayscale value is used as the grayscale compensation value.

[0090] In response to the brightness deviation being equal to the preset brightness value, the preset grayscale value of the refresh rate to be compensated is maintained, and 0 is used as the grayscale compensation value.

[0091] It should be noted that the preset brightness value can be a specific value or a range. The specific value of the preset brightness is set according to actual needs.

[0092] See Figure 5 , Figure 5 This is a diagram illustrating the brightness differences of grayscale values ​​at different refresh rates.

[0093] like Figure 5 As shown, the brightness value changes with increasing refresh rate. Figure 5In the scenario shown, the base refresh rate base_fr is greater than the refresh rate to be compensated m_fr, and the brightness values ​​at these two refresh rates are different.

[0094] Furthermore, the trend of brightness value change is different for display devices with different display characteristics.

[0095] For display devices with long white characteristics, as the refresh rate increases, the second brightness value L... m_fr_w Greater than the first brightness value L base_fr The brightness decreases as the screen darkens. For display devices with long black levels, the second brightness value corresponds to the first brightness value L as the refresh rate increases. base_fr Greater than the second brightness value L m_fr_w It shows a trend of increasing brightness.

[0096] Therefore, based on the brightness difference between each refresh rate to be compensated and the reference refresh rate, the grayscale compensation value is determined according to the direction of the deviation.

[0097] In some embodiments, the compensation value for each grayscale value to be compensated is determined in an increasing or decreasing manner according to the deviation direction of the brightness difference.

[0098] For example, the incremental method can refer to starting from the current grayscale value to be compensated and gradually increasing the grayscale value, such as starting from 80 and increasing to 83, 85, or even 90, until the second brightness value is the same as the first brightness value of the current grayscale value to be compensated at the reference refresh rate, and they tend to be the same.

[0099] Conversely, a decreasing method can refer to gradually reducing the grayscale value starting from the current grayscale value to be compensated. These methods allow for flexible adjustment of the grayscale compensation value for each grayscale value to be compensated, ensuring the accuracy and consistency of the LCD screen's brightness performance.

[0100] In some embodiments, when the first brightness value and the second brightness value are different, another grayscale value to be compensated may be selected from the same refresh rate, and the second brightness value of this other grayscale value to be compensated is the same as the first brightness value. Then, the current grayscale value to be compensated is adjusted towards this other grayscale value to be compensated.

[0101] It should be noted that in the adjustment methods listed above, each change in grayscale value is followed by a change in brightness difference until the brightness difference is less than the brightness deviation threshold.

[0102] S203, based on the correspondence between the refresh rate to be compensated, the preset grayscale value, and the grayscale compensation value, generate a brightness compensation table for each refresh rate to be compensated.

[0103] In some embodiments, a corresponding brightness compensation table is established for each refresh rate to be compensated.

[0104] Refer to Table 2. For each refresh rate to be compensated, there is a corresponding compensation table. The refresh rates to be compensated are listed below. Corresponding brightness compensation table lut1, refresh rate to be compensated Corresponding brightness compensation table lut2, ..., refresh rate to be compensated The corresponding brightness compensation table is lutm.

[0105]

[0106] Table 2 Refresh Rate and Brightness Compensation Table In some embodiments, when determining the brightness compensation table for each refresh rate to be compensated, the brightness compensation table for each refresh rate to be compensated can also be exported and stored in a preset file format.

[0107] Specifically, based on the brightness deviation, grayscale compensation values ​​for multiple frequencies to be compensated at multiple gray levels can be obtained, and the grayscale compensation values ​​for all frequencies to be compensated can form a complete lookup table. The lookup table can be saved in binary format or a specific format.

[0108] To ensure data consistency and compatibility across different platforms, the lookup table can be formatted and stored in a preset file format. For example, common formats such as CSV, BIN, or TXT can be selected. CSV format facilitates viewing and editing data in spreadsheet tools; BIN format improves data storage compactness; and TXT format enhances file versatility. This flexible storage format selection not only facilitates the access to calibration data but also adapts to different parsing environments, improving the lookup table's compatibility across multiple platforms.

[0109] In some embodiments, for each refresh rate to be compensated, a second brightness value of a subset of grayscale values ​​is selected and compared with a first brightness value.

[0110] In practical applications, the grayscale values ​​configured for pixels are not necessarily the preset grayscale values. For example, the selected preset grayscale values ​​include 8 and 16, while the current grayscale value may be 9. In this case, it may be necessary to determine the grayscale compensation value corresponding to 9 based on 8 and 16.

[0111] Specifically, for each refresh rate to be compensated, in response to the current grayscale value not being the preset grayscale value, a first preset grayscale value that is less than the current grayscale value and closest to the current grayscale value, and a second preset grayscale value that is greater than the current grayscale value and closest to the current grayscale value are selected from among the multiple preset grayscale values; the grayscale compensation value of the current grayscale value is determined according to the grayscale compensation values ​​corresponding to the first preset grayscale value and the second preset grayscale value.

[0112] One approach is to use linear interpolation to determine the gray level compensation value of the current gray level by using the gray level compensation values ​​of the first and second preset gray levels.

[0113] Similarly, for multiple refresh rates in variable refresh rate mode, only a portion of the refresh rates are selected. For example, the maximum refresh rate, the minimum refresh rate, or commonly used typical refresh rates (e.g., 60Hz, 90Hz).

[0114] In practical applications, the refresh rate of a display device can be any value between the minimum and maximum refresh rates. For example, if the current refresh rate is 54Hz, and the selected refresh rates are 60Hz and 40Hz, then the parameters for 54Hz can be determined based on 60Hz and 40Hz.

[0115] Specifically, the refresh rate to be compensated corresponds to a preset refresh rate range, and the grayscale compensation value generated based on the refresh rate to be compensated is applicable to the preset refresh rate range. For example, assuming 60Hz is the refresh rate to be compensated, then a parameter of 60Hz can be used to adjust the grayscale compensation value from 50Hz to 70Hz.

[0116] Accordingly, in response to the current refresh rate not being the base refresh rate and the refresh rate to be compensated, the preset refresh rate range in which the current refresh rate is located is determined; in response to the current refresh rate being the common endpoint of two adjacent preset refresh rate ranges, based on the refresh rate to be compensated used at the previous moment, the grayscale compensation value of the current refresh rate at the corresponding grayscale value is determined from two grayscale compensation values ​​corresponding to the two preset refresh rate ranges respectively; in response to the current refresh rate being in only one preset refresh rate range, the grayscale compensation value of the refresh rate to be compensated corresponding to that preset refresh rate range is used as the grayscale compensation value of the current refresh rate at the corresponding grayscale value.

[0117] Specifically, it is determined which preset refresh rate range the current refresh rate falls within. If the current refresh rate is determined to be within a preset refresh rate range, then the grayscale compensation value of the refresh rate to be compensated corresponding to that preset refresh rate range is used as the grayscale compensation value of the current refresh rate at the corresponding grayscale value.

[0118] When the current refresh rate is exactly at the endpoint of two adjacent preset refresh rate intervals, the grayscale compensation value to be used is determined based on the previous state of the current refresh rate.

[0119] For example, if the refresh rate at the previous moment is greater than the current refresh rate, then a preset refresh rate range with a larger frequency value is used; if the refresh rate at the previous moment is less than the current refresh rate, then a preset refresh rate range with a smaller frequency value is used.

[0120] For example, 60Hz can be applied to [50Hz, 70Hz], and 40Hz can be applied to [35Hz, 50Hz]. When the current refresh rate is 50Hz, if the previous frequency state was less than 50Hz, then [35Hz, 50Hz] is applied; if the previous frequency state was greater than 50Hz, then [50Hz, 70Hz] is applied.

[0121] In some embodiments, after determining the brightness compensation table for each refresh rate to be compensated, the brightness compensation operation can be performed according to the brightness compensation table.

[0122] Specifically, in response to the display device operating in the variable refresh rate mode, the current refresh rate and the current input grayscale value are obtained; based on the current refresh rate and the current input grayscale value, the brightness compensation table is queried to obtain the corresponding target output grayscale value, and the display device is controlled to display according to the target output grayscale value.

[0123] See Figure 6 , Figure 6 This is a schematic diagram of a brightness compensation principle according to an embodiment of this application.

[0124] Based on the current refresh rate in and the current grayscale value in By performing a lookup table (LUT) operation, the target output grayscale value can be determined. out The pixels in a display device can target the output grayscale value. out Display it.

[0125] It is understood that the above embodiments provide multiple implementation schemes, and these implementation schemes can be combined and cross-referenced with each other without conflict, thereby extending to multiple possible implementation schemes. These can all be considered as the implementation schemes disclosed and made public in this application.

[0126] This disclosure also provides an apparatus corresponding to the above-described method for generating a brightness compensation table, which will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0127] See Figure 7 , Figure 7 This is a schematic diagram of the structure of a brightness compensation table generation device according to an embodiment of this disclosure. Figure 7 As shown, the brightness compensation table generation device 700 can be installed on a display device that supports a variable refresh rate.

[0128] The brightness compensation table generating device 700 may include: The acquisition unit 710 is used to acquire first brightness values ​​corresponding to multiple preset grayscale values ​​at a reference refresh rate, and to acquire second brightness values ​​corresponding to the multiple preset grayscale values ​​at at least one refresh rate to be compensated; wherein the refresh rate to be compensated is different from the reference refresh rate, and both are within the range of the minimum refresh frequency to the maximum refresh frequency of the display device. The determining unit 720 is used to determine the grayscale compensation value of the refresh rate to be compensated for each preset grayscale value based on the second brightness value and the first brightness value corresponding to each preset grayscale value. The generation unit 730 is used to generate a brightness compensation table for each refresh rate to be compensated based on the correspondence between the refresh rate to be compensated, the preset grayscale value, and the grayscale compensation value.

[0129] about Figure 7 For more details on the working principle, operation method, and beneficial effects of the brightness compensation table generation device shown, please refer to the specific descriptions in the preceding text and figures; they will not be repeated here.

[0130] It is understandable that the above division of units is only a logical functional division; in actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, the above modules can be implemented by the processor calling software.

[0131] This disclosure also provides an apparatus configured to perform the brightness compensation table generation method described in any one of Examples 1 to 7.

[0132] This disclosure also provides an electronic device, including: a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor executes the steps of the brightness compensation table generation method described in any of the foregoing embodiments when running the computer program.

[0133] This disclosure also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the method for generating a brightness compensation table as described in any of the foregoing embodiments to be performed.

[0134] This disclosure also provides a computer program product, including a computer program / instructions, which, when executed by a processor, implement the steps of the brightness compensation table generation method described in any of the foregoing embodiments.

[0135] The storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc. The storage medium may also include non-volatile memory or non-transitory memory, etc.

[0136] It should be understood that in the embodiments of this disclosure, the processor can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0137] It should also be understood that the memory in the embodiments of this disclosure may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Non-volatile memory may be ROM, programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DRRAM).

[0138] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means.

[0139] While the embodiments disclosed herein are as described above, this disclosure is not limited thereto. Any person skilled in the art can make various alterations and modifications without departing from the spirit and scope of this disclosure; therefore, the scope of protection of this disclosure should be determined by the scope defined in the claims.

Claims

1. A method for generating a brightness compensation table, characterized in that, For use in display devices that support variable refresh rates, the generation method includes: The system obtains first brightness values ​​corresponding to multiple preset grayscale values ​​at a reference refresh rate, and obtains second brightness values ​​corresponding to the multiple preset grayscale values ​​at at least one refresh rate to be compensated; wherein the refresh rate to be compensated is different from the reference refresh rate, and both are within the range of the minimum refresh frequency to the maximum refresh frequency of the display device. The grayscale compensation value of the refresh rate to be compensated at each preset grayscale value is determined based on the second brightness value and the first brightness value corresponding to each preset grayscale value. This includes: for each refresh rate to be compensated, in response to the first brightness value being greater than the second brightness value, determining the index grayscale value of each preset grayscale value, and the first brightness value and the second brightness value corresponding to the index grayscale value, according to the arrangement result of the preset grayscale values; for the index grayscale value located between the maximum index grayscale value and the minimum index grayscale value, determining the grayscale compensation value of the current index grayscale value at the frequency to be compensated based on the brightness deviation between the first brightness value and the second brightness value corresponding to the current index grayscale value, the brightness change between the first brightness value corresponding to the current index grayscale value and the first brightness value corresponding to the next adjacent index grayscale value, the preset grayscale value corresponding to the current index grayscale value, and the preset grayscale value corresponding to the current index grayscale value and the preset grayscale value corresponding to the previous adjacent index grayscale value. Based on the correspondence between the refresh rate to be compensated, the preset grayscale value, and the grayscale compensation value, a brightness compensation table is generated for each refresh rate to be compensated.

2. The generation method according to claim 1, characterized in that, For index grayscale values ​​located between the maximum and minimum index grayscale values, the grayscale compensation value satisfies the following relationship: in, This indicates the current index grayscale value. This indicates the grayscale value of the previous index. Indicates the next index grayscale value. Indicates the current index grayscale value The corresponding preset grayscale value, Indicates the current index grayscale value The corresponding first brightness value, This represents the second brightness value corresponding to the current index grayscale value. This indicates the preset grayscale value corresponding to the current index grayscale value. This indicates the preset grayscale value corresponding to the previous index grayscale value. This indicates the second brightness value corresponding to the next index grayscale value. This represents the grayscale compensation value corresponding to the current index grayscale value.

3. The generation method according to claim 1, characterized in that, The step of determining the grayscale compensation value of the refresh rate to be compensated for in each of the preset grayscale values ​​based on the second brightness value and the first brightness value corresponding to each preset grayscale value also includes: The brightness deviation is determined based on the second brightness value and the first brightness value corresponding to each preset grayscale value; In response to the brightness deviation being greater than a preset brightness value, the preset grayscale value of the refresh rate to be compensated is reduced until the brightness deviation meets the preset brightness value. Then, the difference between the current grayscale value and the preset grayscale value is used as the grayscale compensation value. In response to the brightness deviation being less than the preset brightness value, the preset grayscale value of the refresh rate to be compensated is increased until the brightness deviation meets the preset brightness value. Then, the difference between the current grayscale value and the preset grayscale value is used as the grayscale compensation value. In response to the brightness deviation being equal to the preset brightness value, the preset grayscale value of the refresh rate to be compensated is maintained, and 0 is used as the grayscale compensation value.

4. The generation method according to claim 1, characterized in that, Also includes: The refresh rate range from the minimum refresh frequency to the maximum refresh frequency is divided into multiple frequency intervals. For each frequency range, at least one refresh frequency point is selected as the refresh rate to be compensated.

5. The generation method according to claim 1, characterized in that, Also includes: For each refresh rate to be compensated, in response to the current grayscale value not being the preset grayscale value, a first preset grayscale value that is less than the current grayscale value and closest to the current grayscale value, and a second preset grayscale value that is greater than the current grayscale value and closest to the current grayscale value are selected from among the multiple preset grayscale values. The gray level compensation value of the current gray level is determined based on the gray level compensation values ​​corresponding to the first preset gray level value and the second preset gray level value.

6. The generation method according to claim 1, characterized in that, The refresh rate to be compensated corresponds to a preset refresh rate range, and the grayscale compensation value generated based on the refresh rate to be compensated is applicable to the preset refresh rate range. The generation method further includes: In response to the current refresh rate not being the base refresh rate or the refresh rate to be compensated, a preset refresh rate range is determined for the current refresh rate; In response to the current refresh rate being the common endpoint of two adjacent preset refresh rate intervals, the grayscale compensation value of the current refresh rate in the corresponding grayscale value is determined from two grayscale compensation values ​​corresponding to the two preset refresh rate intervals, based on the refresh rate to be compensated used in the previous moment. In response to the fact that the current refresh rate is only within a preset refresh rate range, the grayscale compensation value of the refresh rate to be compensated corresponding to the preset refresh rate range is used as the grayscale compensation value of the current refresh rate in the corresponding grayscale value.

7. The generation method according to claim 1, characterized in that, Also includes: In response to the display device operating in the variable refresh rate mode, the current refresh rate and the current input grayscale value are obtained; Based on the current refresh rate and the current input grayscale value, the brightness compensation table is queried to obtain the corresponding target output grayscale value, and the display device is controlled to display according to the target output grayscale value; Export the brightness compensation table for each refresh rate to be compensated and save it in a preset file format.

8. A device for generating a brightness compensation table, characterized in that, The device is configured to be used in a display device that supports variable refresh rates, and the generating apparatus includes: The acquisition unit is used to acquire first brightness values ​​corresponding to multiple preset grayscale values ​​at a reference refresh rate, and to acquire second brightness values ​​corresponding to the multiple preset grayscale values ​​at at least one refresh rate to be compensated; wherein the refresh rate to be compensated is different from the reference refresh rate, and both are within the range of the minimum refresh frequency to the maximum refresh frequency of the display device; The determining unit is configured to determine the grayscale compensation value of the refresh rate to be compensated at each preset grayscale value based on the second brightness value and the first brightness value corresponding to each preset grayscale value, including: for each refresh rate to be compensated, in response to the first brightness value being greater than the second brightness value, determining the index grayscale value of each preset grayscale value, and the first brightness value and the second brightness value corresponding to the index grayscale value according to the arrangement result of the preset grayscale values; for the index grayscale value located between the maximum index grayscale value and the minimum index grayscale value, determining the grayscale compensation value of the current index grayscale value at the frequency to be compensated based on the brightness deviation between the first brightness value and the second brightness value corresponding to the current index grayscale value, the brightness change between the first brightness value corresponding to the current index grayscale value and the first brightness value corresponding to the next adjacent index grayscale value, the preset grayscale value corresponding to the current index grayscale value, and the preset grayscale value corresponding to the current index grayscale value and the preset grayscale value corresponding to the previous adjacent index grayscale value. The generation unit is used to generate a brightness compensation table for each refresh rate to be compensated based on the correspondence between the refresh rate to be compensated, the preset grayscale value, and the grayscale compensation value.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, characterized in that, When the processor runs the computer program, it performs the steps of the method for generating a brightness compensation table as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is run by the processor, the method for generating the brightness compensation table according to any one of claims 1 to 7 is executed.

11. A computer program product, comprising a computer program / instructions, characterized in that, When executed by a processor, the computer program / instructions implement the steps of the method for generating a brightness compensation table as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Target gray-scale value generation method and device, and display panel

    CN117475812A

  • Display device and brightness compensation method

    CN121260125A