Display brightness compensation method, display device and storage medium
By dynamically adjusting the grayscale voltage in the liquid crystal display device, using the mapping table of refresh rate and display sequence number, odd frames use initial compensation value, and even frames add additional compensation value, which solves the flickering problem caused by large brightness differences during refresh rate switching, and achieves a better brightness compensation effect.
Patent Information
- Application Number
- CN202310446468.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-19
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2043-04-19
AI Technical Summary
In the case of large differences in refresh rate, there is an error in the brightness compensation in the prior art, resulting in large differences in brightness during refresh rate switching, resulting in strong flickering.
By obtaining the refresh rate and display number of the current frame, using the initial compensation value and additional compensation value mapping table, the grayscale voltage is dynamically adjusted for brightness compensation, odd frames use the initial compensation value, and even frames add additional compensation value on the initial compensation value to reduce brightness changes.
It reduces the brightness compensation error when switching refresh rate, reduces flickering, and improves the brightness compensation effect.
Smart Images

Figure CN116665608B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technology, and in particular to a display brightness compensation method, a display device, and a storage medium. Background Art
[0002] Freesync (a display frequency conversion technology) is a technology that can achieve dynamic refresh rates. By synchronizing the refresh rate of a compatible monitor with the frame rate of the user's graphics card, dynamic refresh rates can minimize input lag and reduce or completely eliminate stuttering, screen distortion, and tearing during gaming and video playback. LCDs (Liquid Crystal Displays) maintain brightness by maintaining a voltage difference across the liquid crystal after scanning and charging. However, the charged electricity leaks slowly, and the leakage duration varies at different refresh rates. Therefore, Freesync switches between refresh rates with large differences in refresh rate, and the difference in leakage duration is large. Under the two refresh rates, there will be perceptible changes in brightness and dark, resulting in a large difference in brightness. Brightness is usually compensated by adjusting the grayscale voltage to reduce the brightness difference.
[0003] At present, the compensation for brightness still has a large error. If the refresh rate switches back and forth between maximum and minimum, the brightness will also switch between maximum and minimum, causing severe flickering. Since different refresh rates require different compensation voltages, at the moment of switching from maximum refresh rate to minimum refresh rate, the first frame of minimum refresh rate still uses the compensation voltage corresponding to the maximum refresh rate, resulting in a large drop in brightness and strong flickering. Summary of the Invention
[0004] The main purpose of the present invention is to provide a display brightness compensation method, a display device and a storage medium, aiming to solve the technical problem in the prior art that when switching between refresh rates with large refresh rate differences, there are errors in brightness compensation, which affects the compensation effect.
[0005] To achieve the above object, the present invention provides a display brightness compensation method, which includes:
[0006] Obtaining a refresh rate of a current frame, and determining a current initial compensation value corresponding to the refresh rate of the current frame in an initial compensation value mapping table;
[0007] Obtaining a display sequence number of the current frame, and determining whether the current frame requires additional compensation according to the display sequence number of the current frame;
[0008] When the display sequence number of the current frame is an even number, determining that the current frame requires additional compensation, and determining a current additional compensation value corresponding to the refresh rate of the current frame in an additional compensation value mapping table;
[0009] determining a current compensation value according to the current initial compensation value and the current additional compensation value;
[0010] The grayscale voltage of the current frame is compensated according to the current compensation value, so that the display brightness of the current frame is compensated.
[0011] Optionally, after obtaining the display sequence number of the current frame and determining whether the current frame requires additional compensation according to the display sequence number of the current frame, the method further includes:
[0012] When the display sequence number of the current frame is an odd number, determining that the current frame does not require additional compensation, and determining the current compensation value according to the current initial compensation value;
[0013] The step of compensating the grayscale voltage of the current frame according to the current compensation value is performed so that the brightness of the current frame is compensated.
[0014] Optionally, determining the current compensation value according to the current initial compensation value and the current additional compensation value includes:
[0015] Acquire a correspondence between the current initial compensation value, the current additional compensation value, and the current compensation value;
[0016] The current compensation value is determined according to the current initial compensation value, the current additional compensation value, and a correspondence between the current initial compensation value, the current additional compensation value, and the current compensation value.
[0017] Optionally, before obtaining the refresh rate of the current frame and determining the current initial compensation value corresponding to the refresh rate of the current frame in the initial compensation value mapping table, the method further includes:
[0018] Performing a compensation test on the grayscale voltage of a preset test frame according to a preset refresh rate and a preset initial compensation value to obtain brightness test data, and establishing the initial compensation value mapping table according to the brightness test data;
[0019] A compensation test is performed on the grayscale voltage of the preset test frame according to the preset refresh rate, the preset initial compensation value and the preset additional compensation value to obtain brightness fluctuation test data, and the additional compensation value mapping table is established according to the brightness fluctuation test data.
[0020] Optionally, performing a compensation test on the grayscale voltage of a preset test frame according to a preset refresh rate and a preset initial compensation value to obtain brightness test data, and establishing the initial compensation value mapping table according to the brightness test data includes:
[0021] Under the preset refresh rate, the grayscale voltage of the preset test frame is compensated according to the preset initial compensation value to obtain brightness test data corresponding to each preset initial compensation value;
[0022] Comparing the brightness test data with the target brightness data, determining optimal brightness test data among the brightness test data, and determining an optimal initial compensation value corresponding to the optimal brightness test data among the preset initial compensation values;
[0023] The initial compensation value mapping table is established according to the preset refresh rates and the optimal initial compensation values. The initial compensation value mapping table stores the preset refresh rates and the optimal initial compensation values corresponding to the preset refresh rates.
[0024] Optionally, the brightness fluctuation test data includes initial brightness fluctuation data and compensated brightness fluctuation data. The compensation test is performed on the grayscale voltage of the preset test frame according to the preset refresh rate, the preset initial compensation value, and the preset additional compensation value to obtain the brightness fluctuation test data. The additional compensation value mapping table is established based on the brightness fluctuation test data, including:
[0025] Determining a refresh rate switching sequence according to the preset refresh rate;
[0026] Under the switching refresh rate sequence, compensating the grayscale voltage of the preset test frame according to the optimal initial compensation value to obtain initial brightness fluctuation data;
[0027] Under the switching refresh rate sequence, the grayscale voltage of the preset test frame is compensated according to the preset additional compensation value and the optimal initial compensation value to obtain compensated brightness fluctuation data corresponding to each of the preset additional compensation values;
[0028] comparing the initial brightness fluctuation data with the compensated brightness fluctuation data, determining optimal brightness fluctuation data among the compensated brightness fluctuation data, and determining an optimal additional compensation value corresponding to the optimal brightness fluctuation data among the preset additional compensation values;
[0029] The additional compensation value mapping table is established according to the preset refresh rates and the optimal additional compensation values. The additional compensation value mapping table stores the preset refresh rates and the optimal additional compensation values corresponding to the preset refresh rates.
[0030] Optionally, obtaining the refresh rate of the current frame includes:
[0031] Acquire display area data of the current frame, and determine the number of display area rows of the current frame according to the display area data of the current frame;
[0032] Determining a starting row of a blank area of the current frame according to the number of rows in the display area of the current frame;
[0033] Determining an end row of the blank area of the current frame according to a preset end condition;
[0034] Obtaining the number of blank area rows of the current frame according to the blank area start row of the current frame and the blank area end row of the current frame;
[0035] Determining the number of rows of the current frame according to the number of rows of the blank area of the current frame and the number of rows of the display area of the current frame;
[0036] Obtaining a correspondence between the number of rows of the current frame and the refresh rate of the current frame;
[0037] The refresh rate of the current frame is determined according to the number of rows of the current frame and the corresponding relationship between the number of rows of the current frame and the refresh rate of the current frame.
[0038] Optionally, compensating the grayscale voltage of the current frame according to the current compensation value so as to compensate for the display brightness of the current frame includes:
[0039] Converting the display area data of the current frame into the grayscale voltage of the current frame;
[0040] Compensating the grayscale voltage of the current frame according to the current compensation value to obtain a compensated grayscale voltage;
[0041] The current frame is displayed according to the compensated grayscale voltage, so that the display brightness of the current frame is compensated.
[0042] To achieve the above objectives, the present invention also proposes a display device, comprising a memory, a processor, and a display brightness compensation program stored in the memory and executable on the processor, wherein the display brightness compensation program is configured to implement the steps of the display brightness compensation method described above.
[0043] To achieve the above object, the present invention further provides a storage medium having a display brightness compensation program stored thereon. When the display brightness compensation program is executed by a processor, the steps of the display brightness compensation method described above are implemented.
[0044] In the present invention, the refresh rate of the current frame is obtained, the current initial compensation value corresponding to the refresh rate of the current frame is determined in an initial compensation value mapping table, the display sequence number of the current frame is obtained, and based on the display sequence number of the current frame, whether the current frame requires additional compensation is determined. When the display sequence number of the current frame is even, it is determined that the current frame requires additional compensation. The current additional compensation value corresponding to the refresh rate of the current frame is determined in the additional compensation value mapping table. The current compensation value is determined based on the current initial compensation value and the current additional compensation value. The grayscale voltage of the current frame is compensated according to the current compensation value so that the brightness of the current frame is compensated. After detecting the refresh rate switching pattern, it can be found that the switching intervals are mostly even frames. Therefore, at the same refresh rate, the present invention compensates the initial value for odd frames and adds an additional value to the compensated initial value for even frames. Compared with directly using a uniform compensation value to compensate the grayscale voltage of each frame at the same refresh rate, which still has strong flicker, the present invention can reduce the brightness compensation error when the refresh rate switches, alleviate the flicker problem caused by excessive brightness drop at the switching moment, and improve the compensation effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0046] Figure 1 Schematic diagram of the flow of a first embodiment of a display brightness compensation method according to the present invention;
[0047] Figure 2 A schematic diagram of a Blank area in an embodiment of a display brightness compensation method of the present invention;
[0048] Figure 3 A schematic diagram of a refresh rate switching flickering condition in an embodiment of a display brightness compensation method of the present invention;
[0049] Figure 4 A schematic diagram of a refresh rate switching rule for an embodiment of a display brightness compensation method of the present invention;
[0050] Figure 5 A data processing diagram of an embodiment of a display brightness compensation method according to the present invention;
[0051] Figure 6 A schematic diagram of compensation results of an embodiment of a display brightness compensation method according to the present invention;
[0052] Figure 7Schematic diagram of the flow of a second embodiment of the display brightness compensation method of the present invention;
[0053] Figure 8 It is a structural schematic diagram of an embodiment of a display device of the present invention.
[0054] Description of Figure Numbers:
[0055] Label name Label name 10 Display devices 102 processor 101 Memory
[0056] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0057] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0058] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0059] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0060] In addition, the descriptions of "first", "second", etc. in the present invention are for descriptive purposes only and should not be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0061] Example 1
[0062] Reference Figure 1 , Figure 1 FIG1 is a flow chart of a first embodiment of a display brightness compensation method according to the present invention. The present invention provides a first embodiment of a display brightness compensation method.
[0063] In this embodiment, the display brightness compensation method includes:
[0064] Step S10: obtaining the refresh rate of the current frame, and determining the current initial compensation value corresponding to the refresh rate of the current frame in the initial compensation value mapping table.
[0065] It should be noted that the implementation subject of this embodiment is a display device, typically a liquid crystal display device, such as a liquid crystal display (LCD). The display device comprises at least a display panel, a timing controller and data processing chip (TCON), a signal source (SoC), and a driver, and may also include other related components. The display device uses Freesync display frequency conversion technology to achieve a dynamic refresh rate. The display device is equipped with a display brightness compensation program, which compensates for brightness by running the display brightness compensation program to reduce flicker caused by refresh rate switching.
[0066] It is understandable that LCD display devices maintain brightness by maintaining a voltage difference across the liquid crystal after scanning and charging (Vcom voltage on one side of the liquid crystal, and the charged grayscale voltage on the other side). However, the charged electricity will slowly leak away. Since the frame duration of different refresh rates is different, the leakage duration of different refresh rates is different, which causes brightness changes when the refresh rate switches. Especially when switching between refresh rates with large refresh rate differences, there will be visible changes in brightness and darkness. For example, the frame duration of a 240Hz refresh rate is 5 times that of a 48Hz refresh rate. In other words, the leakage duration of a 240Hz refresh rate is 5 times that of a 48Hz refresh rate, which is a large difference. Although the liquid crystal itself has a mechanism to improve leakage (the liquid crystal capacitor is connected in parallel with the storage capacitor, and when a little charge leaks, the capacitance value will be larger, and the grayscale voltage change will be smaller), it cannot solve the brightness change caused by refresh rate switching. Therefore, for the refresh rate switching of Freesync technology, it is usually necessary to compensate the grayscale voltage of each frame to reduce the brightness change and achieve the purpose of brightness compensation.
[0067] It should be understood that the current frame refers to a frame currently being displayed, and the refresh rate of the current frame is the current refresh rate. The initial compensation value can be considered as the basic compensation voltage value required for each frame, and the current initial compensation value refers to the basic compensation voltage value required for the current frame at the current refresh rate. The initial compensation value mapping table refers to a mapping table for querying the basic compensation voltage value. Since different refresh rates require different basic compensation voltage values, that is, different current refresh rates correspond to different current initial compensation values, this embodiment establishes an initial compensation value mapping table. The refresh rate and the initial compensation value in the table correspond one to one, so that the corresponding basic compensation voltage value can be found at different refresh rates.
[0068] In a specific implementation, the basic compensation voltage value required for the current frame at the current refresh rate is searched in the initial compensation value mapping table.
[0069] Furthermore, since the refresh rate is dynamically switched, it is necessary to determine the current refresh rate before searching for the basic compensation voltage value to ensure the accuracy of the compensation. The obtaining of the refresh rate of the current frame includes: obtaining the display area data of the current frame, determining the number of display area rows of the current frame according to the display area data of the current frame, determining the starting row of the blank area of the current frame according to the number of display area rows of the current frame, determining the ending row of the blank area of the current frame according to a preset end condition, obtaining the number of blank area rows of the current frame according to the starting row of the blank area of the current frame and the ending row of the blank area of the current frame, determining the number of rows of the current frame according to the number of blank area rows of the current frame and the number of display area rows of the current frame, obtaining the correspondence between the number of rows of the current frame and the refresh rate of the current frame, and determining the refresh rate of the current frame according to the number of rows of the current frame and the correspondence between the number of rows of the current frame and the refresh rate of the current frame.
[0070] It's important to note that a frame can be divided into the active area (Active Area) and the blank area (Blank Area) before the next frame. For example, an FHD display with a resolution of 1920×1080 scans and charges 1080 lines. These 1080 lines constitute the active area, followed by a 45-line pause. This 45-line pause constitutes the blank area, making a frame 1125 lines. Freesync technology adjusts the refresh rate by varying the number of lines in the blank area. For example, if the refresh rate is 240Hz and the number of lines in a frame (V Total) is 1125, adding 1125 blank lines increases the V Total to 2250. Because each line takes the same amount of time to scan, the refresh rate switches from 240Hz to 120Hz.
[0071] It can be understood that the display area data refers to the data of the Active area, and the display area data of the current frame is the data of the Active area of the current frame, and data can usually be transmitted line by line. The number of display area rows refers to the number of rows in the Active area, that is, the number of rows corresponding to the scanning and charging time of the Active area. In the same display device, different refresh rates have the same number of display area rows. The number of display area rows of the current frame is the number of rows in the Active area in the current frame. The starting row of the blank area refers to the starting row of the Blank area, which is usually the next row of the ending row of the Active area. For example: if the number of rows in the Active area is 1080, the 1080th row is the ending row of the Active area, and the 1081st row is the starting row of the Blank area. It needs to be calculated according to the actual situation. This embodiment does not limit this. The starting row of the blank area of the current frame is the starting row of the Blank area in the current frame, and the ending row of the blank area refers to the ending row of the Blank area. The ending row of the blank area of the current frame is the ending row of the Blank area in the current frame. The preset end condition refers to the condition for judging the end of the Blank area in the current frame, such as Figure 2 As shown, the preset end condition in this embodiment is to identify the frame start of the next frame. When the frame start of the next frame is identified, the end of the Blank area can be determined, so that the previous line of the frame start is determined to be the end line of the Blank area in the current frame. Figure 2 A is the Active area, and B, C, D, and E are Blank areas at different refresh rates respectively. The number of blank area rows refers to the number of rows in the Blank area, that is, the number of rows corresponding to the pause time in the Blank area, which can be obtained by calculating the number of rows paused between the starting row and the ending row of the Blank area. For example: from the starting row to the ending row of the Blank area, there are a total of 45 rows paused, then the number of rows in the Blank area is 45 rows. It needs to be calculated according to the actual situation. This embodiment does not limit this. The number of blank area rows in the current frame is the number of rows in the Blank area in the current frame. The number of rows in the current frame is the total number of rows in the current frame, which is obtained by adding the number of blank area rows in the current frame and the number of display area rows in the current frame, that is, the number of rows in the Active area in the current frame plus the number of rows in the Blank area.
[0072] It should be understood that the correspondence between the number of rows of the current frame and the refresh rate of the current frame refers to the calculation method of the current refresh rate, which can be calculated based on the benchmark value (benchmark number of rows and benchmark refresh rate): current refresh rate = (current frame number of rows / benchmark number of rows) × benchmark refresh rate. For example: take the refresh rate of 240Hz as the benchmark refresh rate, and take the number of rows of a frame corresponding to the benchmark refresh rate, 1125, as the benchmark number of rows. If the current frame number of rows is 2250, the current refresh rate can be calculated to be 120Hz.
[0073] In the specific implementation, SOC transmits the data of the Active area to TCON line by line starting from the first line. TCON receives and processes it line by line, and then enters the Blank area of the current frame. After finding the starting and ending lines of the Blank area in the current frame, TCON can determine the number of lines in the entire Blank area in the current frame and calculate the refresh rate of the current frame.
[0074] It should be noted that in the same display panel, since the Active area is the same under different refresh rates, the longer the Blank area is, the more leakage there is, the greater the grayscale voltage change is, and the greater the brightness difference is.
[0075] Step S20: Obtain the display sequence number of the current frame, and determine whether the current frame needs additional compensation according to the display sequence number of the current frame.
[0076] It is understandable that even if the basic compensation voltage value is used to compensate the grayscale voltage, flickering may still occur during switching, such as Figure 3 As shown in the figure, when the refresh rate switches back and forth between 144Hz and 48Hz, after voltage compensation, the brightness drops significantly at the moment of switching from 144Hz to 48Hz. This is because at the moment of switching from 144Hz to 48Hz, the first frame of 48Hz still uses the compensation value of 144Hz. Without using the compensation value of 48Hz, there will still be strong flickering. Therefore, the current initial compensation value is not the final compensation voltage value of the current frame, and further processing is required.
[0077] It should be understood that the display sequence number of the current frame refers to the frame number of the current frame being displayed. For example, if the display sequence number is 1, the current frame is the first frame; if the display sequence number is 2, the current frame is the second frame, and so on.
[0078] It should be noted that by detecting the refresh rate switching, it is found that the switching intervals are mostly even frames, such as Figure 4 As shown, according to this switching rule, this embodiment performs additional compensation on even frames to reduce the error of the basic compensation voltage value. Therefore, it is necessary to determine whether the current frame is an odd frame or an even frame.
[0079] In a specific implementation, the display sequence number of the current frame is used to determine whether the current frame is an odd frame or an even frame. If the current frame is an even frame, it is considered that additional compensation is required based on the initial compensation voltage value. If the current frame is an odd frame, no additional compensation is required.
[0080] Step S30: when the display sequence number of the current frame is an even number, determining that the current frame requires additional compensation, and determining a current additional compensation value corresponding to the refresh rate of the current frame in an additional compensation value mapping table.
[0081] It can be understood that the additional compensation value refers to a smaller compensation value added on the basis of the initial compensation voltage value, usually in the range of 0.01V-0.05V, and can also be adjusted according to actual conditions. This embodiment does not limit this. The current additional compensation value refers to the additional compensation value required for even frames at the current refresh rate.
[0082] It should be understood that the additional compensation value mapping table refers to a mapping table used to query additional compensation values. Since the additional compensation values required for even frames are different under different refresh rates, that is, different current refresh rates correspond to different current additional compensation values, this embodiment establishes an additional compensation value mapping table, in which the refresh rates and additional compensation values correspond one-to-one, so that the corresponding additional compensation voltage values can be found under different refresh rates.
[0083] It should be noted that if the display sequence number of the current frame is an even number, it means that the current frame is an even frame; if the display sequence number of the current frame is an odd number, it means that the current frame is an odd frame.
[0084] In a specific implementation, when the current frame is an even frame, the extra compensation value required for the even frame at the current refresh rate is found in the extra compensation value mapping table.
[0085] Step S40: determining a current compensation value according to the current initial compensation value and the current additional compensation value.
[0086] It can be understood that the current compensation value refers to the compensation value required for the current frame, and the current compensation value of the even frame is calculated based on the current initial compensation value and the current additional compensation value.
[0087] Further, the step S40 includes: obtaining the correspondence between the current initial compensation value, the current additional compensation value and the current compensation value, and determining the current compensation value according to the current initial compensation value, the current additional compensation value and the correspondence between the current initial compensation value, the current additional compensation value and the current compensation value.
[0088] It should be understood that the corresponding relationship among the current initial compensation value, the current additional compensation value and the current compensation value refers to a calculation formula of the current compensation value of the even frame, as shown below:
[0089] (Even frame) Current compensation value = current initial compensation value + current additional compensation value
[0090] In a specific implementation, when the current frame is an even frame, the current initial compensation value found in the initial compensation value mapping table is added to the current additional compensation value found in the additional compensation value mapping table to calculate the current compensation value required for the current frame.
[0091] Step S50: compensating the grayscale voltage of the current frame according to the current compensation value, so that the brightness of the current frame is compensated.
[0092] Furthermore, the step S50 includes: converting the display area data of the current frame into the grayscale voltage of the current frame, compensating the grayscale voltage of the current frame according to the current compensation value to obtain a compensated grayscale voltage, and displaying the current frame according to the compensated grayscale voltage so that the display brightness of the current frame is compensated.
[0093] It should be noted that the grayscale voltage of the current frame refers to the initial grayscale voltage, that is, the grayscale voltage converted according to the active area data, and the compensated grayscale voltage refers to the compensated grayscale voltage.
[0094] It is understandable that if Figure 5 As shown, the SOC transmits the data of the Active area to the TCON line by line starting from the first line. The TCON receives and processes the data line by line and sends the data of the Active area to the Driver. After receiving the data, the Driver performs digital-to-analog conversion and converts it into grayscale voltage to be displayed in the display panel.
[0095] It should be understood that after step S20, it also includes: when the display sequence number of the current frame is an odd number, determining that the current frame does not require additional compensation, determining the current compensation value based on the current initial compensation value, at this time the current frame is an odd frame, and no additional compensation is required, directly using the current initial compensation value as the current compensation value, and then directly jumping to step S50 for compensation.
[0096] In the specific implementation, the current initial compensation value and the current additional compensation value under the current refresh rate are found. The odd frames use the current initial compensation value to compensate the grayscale voltage, and the even frames use the current initial compensation value + the current additional compensation value to compensate the grayscale voltage, such as Figure 6 As shown, it can be seen that the degree of decline at some points is significantly reduced and the degree of flicker is significantly reduced.
[0097] In this embodiment, the refresh rate of the current frame is obtained, a current initial compensation value corresponding to the refresh rate of the current frame is determined from an initial compensation value mapping table, the display sequence number of the current frame is obtained, and whether the current frame requires additional compensation is determined based on the display sequence number of the current frame. If the display sequence number of the current frame is even, the current frame is determined to require additional compensation. The current additional compensation value corresponding to the refresh rate of the current frame is determined from the additional compensation value mapping table, and a current compensation value is determined based on the current initial compensation value and the current additional compensation value. The grayscale voltage of the current frame is compensated based on the current compensation value to compensate for the display brightness of the current frame. By detecting the refresh rate switching pattern, it can be found that the switching intervals are mostly even-numbered frames. Therefore, at the same refresh rate, this embodiment compensates the initial value for odd-numbered frames and adds an additional value to the compensated initial value for even-numbered frames. Compared with directly using a uniform compensation value to compensate the grayscale voltage of each frame at the same refresh rate, which still results in strong flicker, the present invention can reduce the brightness compensation error during refresh rate switching, alleviate the flicker problem caused by the excessive brightness drop at the switching moment, and improve the compensation effect.
[0098] Example 2
[0099] Reference Figure 7 , Figure 7 FIG2 is a flow chart of a second embodiment of a display brightness compensation method according to the present invention. Based on the first embodiment described above, the present invention proposes a second embodiment of a display brightness compensation method.
[0100] In this embodiment, before step S10, the method further includes:
[0101] Step S01: performing a compensation test on the grayscale voltage of a preset test frame according to a preset refresh rate and a preset initial compensation value to obtain brightness test data, and establishing the initial compensation value mapping table according to the brightness test data.
[0102] It should be noted that the preset refresh rate refers to a preset refresh rate that needs to be tested, which is usually a refresh rate that the display device can switch. For example, the refresh rate of an FHD (Full HD) type display device can be switched between 48Hz-240Hz. The preset refresh rate can be set to 48Hz, 72Hz, 120Hz, 144Hz and 240Hz, etc., which can be set according to actual needs. This embodiment does not impose any restrictions on this. The preset initial compensation value refers to a preset initial compensation value that needs to be tested. The numerical range can be set according to actual experience, and then several numerical values can be set. This embodiment does not impose any restrictions on this. The preset test frame refers to a frame used for testing that is preset, for example: specifying certain frames as preset test frames, and several dozen frames as preset test frames. It can be selected according to actual needs. This embodiment does not impose any restrictions on this. The brightness test data refers to the brightness value obtained by the test. Each preset initial compensation value has corresponding brightness test data.
[0103] In a specific implementation, compensation tests are performed under conditions of different refresh rates and different initial compensation values to find the most appropriate initial compensation value under each refresh rate.
[0104] Furthermore, the step S01 includes: at the preset refresh rate, compensating the grayscale voltage of the preset test frame according to the preset initial compensation value, obtaining brightness test data corresponding to each of the preset initial compensation values, comparing the brightness test data with the target brightness data, determining the optimal brightness test data in the brightness test data, and determining the optimal initial compensation value corresponding to the optimal brightness test data in the preset initial compensation value, establishing the initial compensation value mapping table according to the preset refresh rate and the optimal initial compensation value, the initial compensation value mapping table storing the preset refresh rate and the optimal initial compensation value corresponding to each of the preset refresh rates.
[0105] It is understood that the target brightness data refers to the brightness value to be achieved, and a reference value can be set based on actual conditions. The optimal brightness test data refers to the value of the brightness test data that is closest to the target brightness data, and the optimal initial compensation value refers to the preset initial compensation value corresponding to the optimal brightness test data, that is, the most appropriate initial compensation value. The corresponding optimal initial compensation value needs to be found for each preset refresh rate.
[0106] In the specific implementation, a preset refresh rate is selected, and a compensation test is performed on the selected preset test frame using a preset initial compensation value to obtain the brightness value corresponding to each preset initial compensation value. The preset initial compensation value whose brightness value is closest to the target brightness value is found as the optimal initial compensation value. Finally, the optimal initial compensation value under all preset refresh rates is found, and an initial compensation value mapping table is established.
[0107] Step S02: performing compensation test on the grayscale voltage of the preset test frame according to the preset refresh rate, the preset initial compensation value and the preset additional compensation value to obtain brightness fluctuation test data, and establishing the additional compensation value mapping table according to the brightness fluctuation test data.
[0108] It should be understood that the preset additional compensation value refers to a pre-set additional compensation value that needs to be tested. The preset additional compensation value generally ranges from 0.01V to 0.05V and can be set to five levels, for example, 0.01V, 0.02V, 0.03V, 0.04V, and 0.05V. It can be adjusted according to actual conditions and is not limited in this embodiment. The brightness fluctuation test data refers to the brightness fluctuation obtained during the test, including initial brightness fluctuation data and compensated brightness fluctuation data. The initial brightness fluctuation data refers to the brightness fluctuation obtained by compensating using the preset initial compensation value, and the compensated brightness fluctuation data refers to the brightness fluctuation obtained by compensating using the preset initial compensation value + the preset additional compensation value.
[0109] In a specific implementation, compensation tests are performed under conditions of different refresh rates, different initial compensation values, and different additional compensation values to find the most appropriate additional compensation value at each refresh rate.
[0110] Further, the step S02 includes: determining a switching refresh rate sequence according to the preset refresh rate, compensating the grayscale voltage of the preset test frame according to the optimal initial compensation value under the switching refresh rate sequence to obtain initial brightness fluctuation data, compensating the grayscale voltage of the preset test frame according to the preset additional compensation value and the optimal initial compensation value under the switching refresh rate sequence to obtain compensated brightness fluctuation data corresponding to each of the preset additional compensation values, comparing the initial brightness fluctuation data with the compensated brightness fluctuation data to determine the optimal brightness fluctuation data in the compensated brightness fluctuation data, and determining the optimal additional compensation value corresponding to the optimal brightness fluctuation data in the preset additional compensation value, establishing the additional compensation value mapping table according to the preset refresh rate and the optimal additional compensation value, the additional compensation value mapping table storing the preset refresh rate and the optimal additional compensation value corresponding to each of the preset refresh rates.
[0111] It should be noted that the switching refresh rate sequence refers to a sequence composed of different refresh rates. For example, when the preset refresh rates are 120Hz and 48Hz, the refresh rate sequence can be a sequence of 120Hz and 48Hz alternating (120Hz-48Hz-120Hz-48Hz...); when the preset refresh rates are 240Hz, 120Hz and 48Hz, the refresh rate sequence can be a sequence of 240Hz, 120Hz and 48Hz alternating (240Hz-120Hz-48Hz-240Hz-120Hz-48Hz...). This embodiment does not impose any restrictions on this and can be determined according to actual needs.
[0112] It can be understood that the optimal brightness fluctuation data refers to the compensated brightness fluctuation data with the smoothest fluctuation compared with the initial brightness fluctuation data, and the optimal additional compensation value refers to the preset additional compensation value corresponding to the optimal brightness fluctuation data, that is, the most appropriate additional compensation value.
[0113] In a specific implementation, a switching refresh rate sequence is selected, and the optimal initial compensation value is used to compensate the selected preset test frame to obtain the initial brightness fluctuation corresponding to the optimal initial compensation value. The optimal initial compensation value + the preset additional compensation value are used to perform a compensation test on the selected preset test frame to obtain the brightness fluctuation corresponding to each preset additional compensation value. The preset additional compensation value with the smoothest brightness fluctuation compared to the initial brightness fluctuation is found as the optimal additional compensation value. Finally, the optimal additional compensation value under all preset refresh rates is found, and an additional compensation value mapping table is established.
[0114] In this embodiment, a compensation test is performed on the grayscale voltage of a preset test frame according to a preset refresh rate and a preset initial compensation value to obtain brightness test data. An initial compensation value mapping table is established based on the brightness test data. A compensation test is performed on the grayscale voltage of the preset test frame according to the preset refresh rate, the preset initial compensation value, and a preset additional compensation value to obtain brightness fluctuation test data. An additional compensation value mapping table is established based on the brightness fluctuation test data. This embodiment establishes the initial compensation value mapping table and the additional compensation value mapping table through compensation testing, thereby enabling optimal initial compensation values and additional compensation values to be found when performing compensation at different refresh rates, ensuring compensation accuracy and improving compensation effectiveness.
[0115] Reference Figure 8 , Figure 8FIG2 is a schematic structural diagram of an embodiment of a display device according to the present invention. To achieve the above-mentioned objectives, the present invention further provides a display device 10, comprising a memory 101, a processor 102, and a display brightness compensation program stored in the memory 101 and executable on the processor 102. The display brightness compensation program is configured to implement the above-mentioned embodiments. Since the present display device 10 can adopt the technical solutions of all the above-mentioned embodiments, it at least has the beneficial effects brought about by the technical solutions of the above-mentioned embodiments, which will not be described in detail here.
[0116] In addition, an embodiment of the present invention further provides a storage medium, on which a display brightness compensation program is stored. When the display brightness compensation program is executed by a processor, the steps of the display brightness compensation method described above are implemented.
[0117] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A display brightness compensation method, characterized in that: The display brightness compensation method comprises: Obtaining a refresh rate of a current frame, and determining a current initial compensation value corresponding to the refresh rate of the current frame in an initial compensation value mapping table; Obtaining a display sequence number of the current frame, and determining whether the current frame requires additional compensation according to the display sequence number of the current frame; When the display sequence number of the current frame is an even number, determining that the current frame requires additional compensation, and determining a current additional compensation value corresponding to the refresh rate of the current frame in an additional compensation value mapping table; determining a current compensation value according to the current initial compensation value and the current additional compensation value; Compensating the grayscale voltage of the current frame according to the current compensation value so that the display brightness of the current frame is compensated; Before the step of obtaining the refresh rate of the current frame and determining the current initial compensation value corresponding to the refresh rate of the current frame in the initial compensation value mapping table, the display brightness compensation method includes: Under a preset refresh rate, the grayscale voltage of the preset test frame is compensated according to the preset initial compensation value to obtain brightness test data corresponding to each of the preset initial compensation values; Comparing the brightness test data with the target brightness data, determining optimal brightness test data among the brightness test data, and determining an optimal initial compensation value corresponding to the optimal brightness test data among the preset initial compensation values; The initial compensation value mapping table is established according to the preset refresh rates and the optimal initial compensation values. The initial compensation value mapping table stores the preset refresh rates and the optimal initial compensation values corresponding to the preset refresh rates.
2. The method according to claim 1, wherein After obtaining the display sequence number of the current frame and determining whether the current frame requires additional compensation according to the display sequence number of the current frame, the method further includes: When the display sequence number of the current frame is an odd number, determining that the current frame does not require additional compensation, and determining the current compensation value according to the current initial compensation value; The step of compensating the grayscale voltage of the current frame according to the current compensation value is performed so that the brightness of the current frame is compensated.
3. The method according to claim 1, wherein The determining the current compensation value according to the current initial compensation value and the current additional compensation value includes: When the current frame is an even frame, the current initial compensation value is added to the current additional compensation value to obtain a current compensation value required for the current frame.
4. The method according to claim 1, wherein After the step of establishing the initial compensation value mapping table according to the preset refresh rate and the optimal initial compensation value, the display brightness compensation method further includes: A compensation test is performed on the grayscale voltage of the preset test frame according to the preset refresh rate, the preset initial compensation value and the preset additional compensation value to obtain brightness fluctuation test data, and the additional compensation value mapping table is established according to the brightness fluctuation test data.
5. The method according to claim 4, wherein The brightness fluctuation test data includes initial brightness fluctuation data and compensated brightness fluctuation data. The compensation test is performed on the grayscale voltage of the preset test frame according to the preset refresh rate, the preset initial compensation value, and the preset additional compensation value to obtain the brightness fluctuation test data. The additional compensation value mapping table is established according to the brightness fluctuation test data, including: Determining a refresh rate switching sequence according to the preset refresh rate; Under the switching refresh rate sequence, compensating the grayscale voltage of the preset test frame according to the optimal initial compensation value to obtain initial brightness fluctuation data; Under the switching refresh rate sequence, the grayscale voltage of the preset test frame is compensated according to the preset additional compensation value and the optimal initial compensation value to obtain compensated brightness fluctuation data corresponding to each of the preset additional compensation values; comparing the initial brightness fluctuation data with the compensated brightness fluctuation data, determining optimal brightness fluctuation data among the compensated brightness fluctuation data, and determining an optimal additional compensation value corresponding to the optimal brightness fluctuation data among the preset additional compensation values; The additional compensation value mapping table is established according to the preset refresh rates and the optimal additional compensation values. The additional compensation value mapping table stores the preset refresh rates and the optimal additional compensation values corresponding to the preset refresh rates.
6. The method according to any one of claims 1 to 5, characterized in that The obtaining of the refresh rate of the current frame includes: Acquire display area data of the current frame, and determine the number of display area rows of the current frame according to the display area data of the current frame; Determining a starting row of a blank area of the current frame according to the number of rows in the display area of the current frame; Determining an end row of the blank area of the current frame according to a preset end condition; Obtaining the number of blank area rows of the current frame according to the blank area start row of the current frame and the blank area end row of the current frame; Determining the number of rows of the current frame according to the number of rows of the blank area of the current frame and the number of rows of the display area of the current frame; Obtaining a correspondence between the number of rows of the current frame and the refresh rate of the current frame; The refresh rate of the current frame is determined according to the number of rows of the current frame and the corresponding relationship between the number of rows of the current frame and the refresh rate of the current frame.
7. The method according to claim 6, wherein The compensating the grayscale voltage of the current frame according to the current compensation value so as to compensate the display brightness of the current frame includes: Converting the display area data of the current frame into the grayscale voltage of the current frame; Compensating the grayscale voltage of the current frame according to the current compensation value to obtain a compensated grayscale voltage; The current frame is displayed according to the compensated grayscale voltage, so that the display brightness of the current frame is compensated.
8. A display device, characterized in that: The display device includes: a memory, a processor, and a display brightness compensation program stored in the memory and running on the processor, wherein the display brightness compensation program, when executed by the processor, implements the steps of the display brightness compensation method according to any one of claims 1 to 7.
9. A storage medium, characterized in that: The storage medium stores a display brightness compensation program, which, when executed by a processor, implements the steps of the display brightness compensation method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Drive method and device for liquid crystal display
CN107610665A
Driving method of display device and display device
US20220327984A1