Brightness compensation method and device, storage medium and computer program product
By combining gamma compensation and voltage compensation parameters, the ghosting problem caused by insufficient brightness of the first frame of the OLED display is solved, adapting to the individual differences of different display panels and achieving better brightness compensation effect.
Patent Information
- Application Number
- CN202510449802.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2045-04-10
AI Technical Summary
When switching between black and white images on an OLED display, insufficient brightness in the first frame causes ghosting. Existing technologies cannot effectively address the differences between different display panels, resulting in poor compensation effects.
A brightness compensation method combining gamma compensation parameters and voltage compensation parameters is adopted, where one parameter adopts the chip-adjusted value and the other adopts the public version value, to overcome the differences between chips and ensure the ghosting improvement requirements of all display panels.
By combining gamma compensation and voltage compensation parameters, the brightness ratio of the first frame is increased, the ghosting phenomenon is improved, and the individual differences of different display panels are adapted to achieve better compensation effects.
Smart Images

Figure CN120014976B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of display. More particularly, it relates to a brightness compensation method, device, storage medium and computer program product. BACKGROUND
[0002] Organic Light-Emitting Diode (OLED) display screen has the advantages of high contrast, wide color gamut, fast response time, etc., and has become one of the important representatives of the new generation of display technology, which is widely used in smart mobile phones, tablet computers, wearable devices, vehicle displays and other fields.
[0003] During the switching process of black and white pictures, due to the influence of driving circuit and device structure, a problem will be caused: the brightness of the first frame of white picture is often lower than the final determined white brightness value, that is, the first frame brightness is insufficient. For the more sensitive human eye, the phenomenon is that the first frame after switching pictures will appear trailing, and the smaller the first frame brightness ratio, the more obvious the trailing. SUMMARY
[0004] The purpose of the present disclosure is to provide a brightness compensation method, device, storage medium and computer program product to solve the technical problem of first frame trailing in related technologies.
[0005] To achieve the above purpose, the present disclosure adopts the following technical solution:
[0006] The first aspect of the present disclosure provides a brightness compensation method, comprising the following steps:
[0007] Obtaining brightness compensation data of a display panel, the brightness compensation data comprising gamma compensation parameters and voltage compensation parameters, one of the gamma compensation parameters and the voltage compensation parameters being obtained by debugging the display panel, and the other of the gamma compensation parameters and the voltage compensation parameters being a public compensation value;
[0008] Compensating the data voltage of the image frame to be displayed on the display panel by using the brightness compensation data and driving the display panel to display by using the compensated data voltage, the first frame brightness ratio of the display panel when displaying the compensated image frame to be displayed meeting a preset condition.
[0009] Optionally, the step of obtaining the brightness compensation data of the display panel further comprises:
[0010] set a parameter value of a first compensation parameter as a first common compensation value and set a parameter value of a second compensation parameter as a first initial value, the first compensation parameter being one of a gamma compensation parameter and a voltage compensation parameter, and the second compensation parameter being the other of the gamma compensation parameter and the voltage compensation parameter;
[0011] measure a first-frame brightness ratio of the display panel when switching from a first gray-scale picture to a second gray-scale picture, and determine whether the first-frame brightness ratio meets a preset condition;
[0012] when the determination result is yes, set the first common compensation value and a current parameter value of the second compensation parameter as brightness compensation data of the display panel;
[0013] when the determination result is no, adjust the parameter value of the second compensation parameter, and repeatedly perform the steps of measuring the first-frame brightness ratio of the display panel when switching from the first gray-scale picture to the second gray-scale picture, and determining whether the first-frame brightness ratio meets the preset condition until the determination result is yes.
[0014] Optionally, the first initial value is a second common compensation value, and the step of setting the parameter value of the second compensation parameter as the first initial value further comprises:
[0015] obtaining a plurality of sample display panels, setting a parameter value of a first compensation parameter in the sample display panel as a first common compensation value, and debugging each sample display panel to obtain a parameter value of a second compensation parameter as a measurement parameter value;
[0016] determining a second common compensation value according to the measurement parameter values corresponding to the plurality of sample display panels.
[0017] Optionally, the step of determining the second common compensation value according to the measurement parameter values corresponding to the plurality of sample display panels comprises:
[0018] taking a measurement parameter value with the highest frequency among the measurement parameter values corresponding to the plurality of sample display panels as the second common compensation value.
[0019] Optionally, the display panel comprises a first color channel, a second color channel, and a third color channel, the first gray-scale picture comprises a first gray-scale monochrome picture and a first gray-scale white picture, and the second gray-scale picture comprises a second gray-scale monochrome picture and a second gray-scale white picture.
[0020] the step of measuring the first-frame brightness ratio of the display panel when switching from the first gray-scale picture to the second gray-scale picture, and determining whether the first-frame brightness ratio meets the preset condition comprises:
[0021] measure a first-frame brightness ratio of the display panel when switching from a first gray scale monochrome picture to a second gray scale monochrome picture, and a first-frame brightness ratio of the display panel when switching from a first gray scale white picture to a second gray scale white picture;
[0022] determine whether the first-frame brightness ratio meets a preset condition.
[0023] In a case where the determination result is that the first-frame brightness ratio of the white picture and the first-frame brightness ratio of the monochrome picture both meet the preset condition, it is determined that the first-frame brightness ratio meets the preset condition.
[0024] Optionally, the preset condition comprises that the first-frame brightness ratio is greater than a preset first-frame brightness ratio threshold.
[0025] The step of determining whether the first-frame brightness ratio meets the preset condition comprises: determining whether the first-frame brightness ratio of the white picture and the first-frame brightness ratio of the monochrome picture are both greater than a preset first-frame brightness ratio threshold, and in a case where the determination result is that the first-frame brightness ratio of the white picture and the first-frame brightness ratio of the monochrome picture are both greater than the preset first-frame brightness ratio threshold, it is determined that the first-frame brightness ratio meets the preset condition.
[0026] Optionally, the preset condition further comprises that a maximum difference between the first-frame brightness ratios of the monochrome pictures is less than a preset difference threshold.
[0027] The step of determining whether the first-frame brightness ratio meets the preset condition further comprises: determining whether a maximum difference between the first-frame brightness ratios of the monochrome pictures is less than a preset difference threshold, and in a case where the determination result is that the first-frame brightness ratio of the white picture and the first-frame brightness ratio of the monochrome picture are both greater than the preset first-frame brightness ratio threshold, and the maximum difference between the first-frame brightness ratios of the monochrome pictures is less than the preset difference threshold, it is determined that the first-frame brightness ratio meets the preset condition.
[0028] Optionally, before the step of measuring the first-frame brightness ratio of the display panel when switching from a first gray scale picture to a second gray scale picture, and determining whether the first-frame brightness ratio meets a preset condition, the method further comprises:
[0029] detecting whether a current value of the display panel when displaying the first gray scale picture is greater than a preset current threshold;
[0030] in a case where the detection result is yes, ending the debugging process of the second compensation parameter;
[0031] in a case where the detection result is no, performing the step of measuring the first-frame brightness ratio of the display panel when switching from a first gray scale picture to a second gray scale picture, and determining whether the first-frame brightness ratio meets a preset condition.
[0032] Optionally, after the step of judging whether the first-frame brightness ratio meets the preset condition, the method further comprises:
[0033] When the result of the judgment is yes, the parameter value of the second compensation parameter is increased;
[0034] The first-frame brightness ratio when the display panel is switched from a first gray scale picture to a second gray scale picture is measured, and whether over-compensation occurs is determined according to the first-frame brightness ratio;
[0035] When the result of the judgment is over-compensation, the parameter value of the second compensation parameter before the present adjustment is set as the luminance compensation data of the display panel;
[0036] When the result of the judgment is no over-compensation, the step of increasing the parameter value of the second compensation parameter is repeatedly executed until the result of the judgment is over-compensation.
[0037] Optionally, the gamma compensation parameter is a gamma compensation coefficient corresponding to a 0 gray scale picture, the product of the gamma compensation coefficient and a gamma value of a target gray scale picture is a gamma value of the 0 gray scale picture, the display panel comprises a plurality of sub-pixels, and for any sub-pixel, the data voltage of the 0 gray scale sub-pixel is represented as:
[0038] V0=VGMP-(VGMP-VGSP)*(L0*G k ) / 4096-Offset;
[0039] Wherein, V0 represents the data voltage of the 0 gray scale sub-pixel, VGMP represents a first voltage value, VGSP represents a second voltage value, L0 represents the gamma compensation coefficient, G k represents the gamma value of the target gray scale picture, and Offset represents a voltage compensation parameter.
[0040] Optionally, the display panel comprises a plurality of pixels, each pixel comprises a first color sub-pixel, a second color sub-pixel, and a third color sub-pixel, the gamma compensation coefficient comprises a gamma compensation coefficient corresponding to the first color sub-pixel, a gamma compensation coefficient corresponding to the second color sub-pixel, and a gamma compensation coefficient corresponding to the third color sub-pixel, and the voltage compensation parameter comprises a voltage compensation parameter corresponding to the first color sub-pixel, a voltage compensation parameter corresponding to the second color sub-pixel, and a voltage compensation parameter corresponding to the third color sub-pixel.
[0041] When the second compensation parameter is a gamma compensation parameter, the step of adjusting the parameter value of the second compensation parameter comprises adjusting the gamma compensation coefficient corresponding to the first color sub-pixel, the gamma compensation coefficient corresponding to the second color sub-pixel, and the gamma compensation coefficient corresponding to the third color sub-pixel.
[0042] When the second compensation parameter is a voltage compensation parameter, the step of adjusting the parameter value of the second compensation parameter comprises adjusting a voltage compensation parameter corresponding to the first color sub-pixel, a voltage compensation parameter corresponding to the second color sub-pixel, and a voltage compensation parameter corresponding to the third color sub-pixel.
[0043] Optionally, the step of adjusting the parameter value of the second compensation parameter comprises:
[0044] increasing or decreasing the parameter value of the second compensation parameter by a preset value.
[0045] The second aspect of the present disclosure provides a luminance compensation device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the luminance compensation method as described above when executing the program.
[0046] The third aspect of the present disclosure provides a computer readable storage medium having a computer program stored thereon, wherein the program is executable on a processor to implement the steps of the luminance compensation method as described above.
[0047] The fourth aspect of the present disclosure provides a computer program product comprising a computer program, wherein the computer program is executable on a processor to implement the steps of the luminance compensation method as described above.
[0048] The present disclosure has the following beneficial effects:
[0049] The luminance compensation method of the present disclosure utilizes the combined effect of voltage compensation parameters and gamma compensation parameters to improve the smear phenomenon, and one of the voltage compensation parameters and the gamma compensation parameters adopts a public value, and the other adopts a slice adjustment value, so that the inter-slice difference can be overcome, and the smear improvement requirements of all display panels can be ensured, and the compensation effect is better. BRIEF DESCRIPTION OF DRAWINGS
[0050] The specific embodiments of the present disclosure will be described in further detail below with reference to the accompanying drawings.
[0051] Figure 1 Effect diagram before and after compensation using the traditional compensation method;
[0052] Figure 2 Flowchart of the luminance compensation method provided by the present disclosure;
[0053] Figure 3 Flowchart of obtaining luminance compensation data by debugging the display panel;
[0054] Figure 4 Diagram showing the relationship between the smear level and the gamma compensation coefficient L0;
[0055] Figure 5 Schematic diagram of the relationship between the smear level and the voltage compensation parameter ODC;
[0056] Figure 6 A flow chart for determining brightness compensation data when the first compensation parameter is a voltage compensation parameter and the second compensation parameter is a gamma compensation parameter;
[0057] Figure 7 This is a flow chart for determining brightness compensation data when the first compensation parameter is a gamma compensation parameter and the second compensation parameter is a voltage compensation parameter. DETAILED DESCRIPTION
[0058] To make the purpose, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0059] Unless otherwise defined, the technical or scientific terms used in this disclosure should have the usual meanings understood by people with ordinary skills in the field to which this disclosure belongs. The words "first", "second" and similar words used in this disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "one", "an" or "the" do not indicate a quantity limitation, but rather indicate the existence of at least one. Words such as "include" or "comprise" mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connect" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the object being described changes, the relative positional relationship may also change accordingly.
[0060] In order to alleviate the first frame ghosting problem, the related technology usually pre-debugs the display panel to obtain a compensation value, and then uses the compensation value to compensate the display panel. The effect diagram of the display panel before and after compensation is as follows: Figure 1 As shown, Figure 1The horizontal coordinate represents time, and the vertical coordinate represents display brightness. The unit of display brightness is nit. White compensation before indicates the brightness when a black picture is switched to a white picture without compensation using a compensation value. White compensation after indicates the brightness when a black picture is switched to a white picture after compensation using a compensation value. Red compensation before and Red compensation after indicate the brightness when a picture is switched only for a red sub-pixel in two cases of compensation and no compensation. Similarly, Green compensation before and Green compensation after indicate the brightness when a picture is switched only for a green sub-pixel in two cases of compensation and no compensation. Blue compensation before and Blue compensation after indicate the brightness when a picture is switched only for a blue sub-pixel in two cases of compensation and no compensation. Figure 1 It can be seen that, after compensation using a compensation value, the first-frame brightness when a black and white picture is switched can be improved, the first-frame brightness drop phenomenon can be improved, and thus the smear can be improved.
[0061] However, there are differences between different batches of display panels and between different display panels in the same batch, and the degree of smear is also different. Compensation using the compensation value cannot meet the smear improvement needs of all display panels, and the compensation effect is poor. Please refer to Table 1. Table 1 is the first-frame brightness ratio improvement when a compensation value is used to compensate for multiple display panels. In Table 1, Item indicates a display panel to be tested. #1, #2, #3, and #4 respectively indicate four different display panels. In the test scenario, White indicates that a picture of 0 gray scale RGB(0, 0, 0) is switched to a white picture of 255 gray scale RGB(255, 255, 255). Red indicates that a monochrome picture of 0 gray scale RGB(0, 0, 0) is switched to a monochrome picture of 255 gray scale RGB(255, 0, 0). Green indicates that a monochrome picture of 0 gray scale RGB(0, 0, 0) is switched to a monochrome picture of 255 gray scale RGB(0, 255, 0). Blue indicates that a monochrome picture of 0 gray scale RGB(0, 0, 0) is switched to a monochrome picture of 255 gray scale RGB(0, 0, 255). IP ON indicates that the compensation function is turned on, that is, the compensation function using a compensation value is turned on. IP OFF indicates that the compensation function is turned off, that is, the compensation function using a compensation value is turned off, that is, there is no compensation at this time. Delta RGB indicates the difference between the maximum and minimum first-frame brightness ratios in the four test scenarios of White, Red, Green, and Blue.
[0062] Table 1 shows the first-frame brightness ratio before and after compensation for a display panel
[0063]
[0064]
[0065] As can be seen from Table 1, there is a certain difference in the degree of smearing of different display panels, and it is impossible to meet the smearing improvement needs of all display panels by using one compensation value to compensate all display panels, and the compensation effect is poor.
[0066] To solve the above technical problems, the embodiments of the present disclosure provide a brightness compensation method, device, storage medium and computer program product, and the overall technical concept of the embodiments of the present disclosure is that: L0 value and ODC compensation value are used for compensation, and one of the L0 value and the ODC compensation value is used for slice adjustment, and the other uses a public value to overcome the difference between slices, so as to ensure that the smearing improvement needs of all display panels can be met, and the compensation effect is good.
[0067] In the embodiments of the present disclosure, the essence of L0 assignment is to adjust the gamma value (Gamma value) of 0 gray scale, which can be represented as G0=L0*G3, where G0 represents the gamma value of 0 gray scale, G3 represents the gamma value of 3 gray scale, and L0 represents the gamma compensation coefficient, which is a value greater than 0 and less than 1. For example, L0=0.7, which means that the gamma value of 0 gray scale is set to 0.7 times the gamma value of 3 gray scale. By increasing the gamma value of 0 gray scale, the starting brightness of 0 gray scale can be improved, and in the picture switching process, the target brightness can be quickly reached, thereby improving the first frame brightness ratio and improving the smearing. The first frame brightness ratio can be used to represent the degree of reduction of the brightness of the first frame display picture after picture switching. The greater the first frame brightness ratio, the greater the first frame brightness after picture switching, and the smaller the degree of reduction of the first frame brightness. At this time, the previous frame image is less residual, and the first frame smearing phenomenon is less obvious. Conversely, the smaller the first frame brightness ratio, the smaller the first frame brightness after picture switching, and the greater the degree of reduction of the first frame brightness. At this time, the previous frame image is more residual, and the smearing phenomenon is obvious.
[0068] In the embodiments of the present disclosure, the essence of ODC (Over Driven Compensation) compensation is to compensate the data voltage, that is, to compensate the source voltage. By increasing the data voltage of the first frame picture, the first frame brightness can be made to reach the target brightness more quickly, thereby improving the first frame brightness ratio and improving the smearing.
[0069] Please refer to Figure 2 , Figure 2 The flowchart of the brightness compensation method provided by the embodiments of the present disclosure is shown in Figure 2 as follows, which includes the following steps:
[0070] In step S101, the brightness compensation data of the display panel is obtained, the brightness compensation data including gamma compensation parameters and voltage compensation parameters, one of the gamma compensation parameters and the voltage compensation parameters being obtained by debugging the display panel, and the other being a public compensation value.
[0071] In the embodiments of the present disclosure, the data voltage of the image frame to be displayed is compensated by using the gamma compensation parameter and the voltage compensation parameter together, and the first frame brightness ratio is improved by compensating the data voltage. The brightness compensation data is obtained by pre-tuning and stored in the Flash memory of the display panel. In the display process, the Driver Integrated Circuit (DIC) reads the brightness compensation data from the Flash memory and compensates the data voltage of the image frame to be displayed by using the brightness compensation data, so as to improve the picture trailing phenomenon in the display process of the display panel.
[0072] Considering the difference in trailing level between different batches of display panels and between different display panels of the same batch, one of the voltage compensation parameter and the gamma compensation parameter adopts a chip tuning value, and the other adopts a public version value. The chip tuning value refers to a value obtained by actually tuning each display panel, and the public version value refers to a value obtained by actually tuning a sample display panel and applied to all other display panels. In specific implementation, there are two schemes: one is that the voltage compensation parameter adopts a public compensation value, and the gamma compensation parameter adopts a chip tuning value; the other is that the voltage compensation parameter adopts a chip tuning value, and the gamma compensation parameter adopts a public version value.
[0073] In step S102, the data voltage of the image frame to be displayed on the display panel is compensated by using the brightness compensation data, and the display panel is driven to display by using the compensated data voltage. When the display panel displays the compensated image frame to be displayed, the first frame brightness ratio meets the preset condition.
[0074] In the embodiments of the present disclosure, the brightness compensation data makes the first frame brightness ratio when the display panel switches from the first gray scale picture to the second gray scale picture meet the preset condition. Optionally, for the display panel with 8-bit depth, the gray value interval is 0-255, the first gray scale picture is the 0 gray scale picture, and the second gray scale picture is the 255 gray scale picture; for the display panel with 10-bit depth, the gray value interval is 0-1023, and at this time, the first gray scale picture is the 0 gray scale picture, and the second gray scale picture is the 1023 gray scale picture, that is, the first gray scale picture and the second gray scale picture are black picture and white picture respectively.
[0075] Specifically, the display panel can have a ghosting phenomenon when switching from a display picture of one gray value to a display picture of another gray value, and the greater the difference between the gray values, the more obvious the ghosting phenomenon. For example, for a display panel with 8-bit depth, the ghosting phenomenon is most obvious when the display panel switches from a 0 gray level picture to a 255 gray level picture, at which time the parameter values of the gamma compensation parameter and the voltage compensation parameter are the largest. In the embodiments of the present disclosure, the parameter values of the gamma compensation parameter and the voltage compensation parameter required when the display panel switches from a 0 gray level picture to a 255 gray level picture are pre-stored in the Flash memory. During the display process of the display panel, for different gray level switching scenarios, for example, switching from a 32 gray level to a 128 gray level, the pre-stored parameter values can be used to determine the parameter values of the gamma compensation parameter and the voltage compensation parameter required in the current gray level switching scenario by interpolation, and the determined parameter values are used to compensate the data voltage of the image frame to be displayed. Optionally, the interpolation method can be linear interpolation.
[0076] It can be understood that in other embodiments, in addition to the interpolation method, the parameter values of the gamma compensation parameter and the voltage compensation parameter required in other individual gray level switching scenarios can also be obtained by other methods. For example, a plurality of sets of brightness compensation data can also be pre-adjusted and stored in the Flash memory, wherein each set of brightness compensation data corresponds to a gray level switching scenario, and then the display panel can search for the brightness compensation data matching the current gray level switching scenario from the Flash memory for compensation.
[0077] Optionally, when the brightness compensation data is the parameter value when the display panel switches from a first gray level picture to a second gray level picture, the specific process of the driving chip compensating the data voltage of the image frame to be displayed using the brightness compensation data includes the following steps:
[0078] (11) Obtain the gray values of the current image frame to be displayed and the adjacent previous image frame. In order to distinguish, the gray value of the current image frame to be displayed is denoted as a first gray value, and the gray value of the adjacent previous image frame is denoted as a second gray value;
[0079] (12) Obtain the parameter values of the gamma compensation parameter and the voltage compensation parameter from the Flash memory, and perform interpolation calculation on the parameter values of the gamma compensation parameter and the voltage compensation parameter according to the first gray value and the second gray value to obtain the parameter values of the gamma compensation parameter and the voltage compensation parameter currently required;
[0080] (13) Compensate the data voltage of the current image frame to be displayed using the calculated parameter values of the gamma compensation parameter and the voltage compensation parameter.
[0081] Compared with the related art, the brightness compensation method of the embodiment of the present disclosure utilizes the joint action of the voltage compensation parameter and the gamma compensation parameter to improve the smear phenomenon, and one of the voltage compensation parameter and the gamma compensation parameter adopts a public value, and the other adopts a slice adjustment value, so that the inter-slice difference can be overcome, and the smear improvement requirement of all display panels can be ensured to be met, and the compensation effect is better.
[0082] In the embodiment of the present disclosure, before the step of obtaining the brightness compensation data of the display panel, the display panel needs to be debugged to obtain the brightness compensation data of the display panel and stored in the Flash memory. Optionally, as shown in Figure 3 The method for debugging the display panel to obtain the brightness compensation data comprises the following steps.
[0083] In step S201, the parameter value of the first compensation parameter in the display panel is set to a first public compensation value, and the parameter value of the second compensation parameter is set to a first initial value, the first compensation parameter is one of the gamma compensation parameter and the voltage compensation parameter, and the second compensation parameter is the other of the gamma compensation parameter and the voltage compensation parameter.
[0084] Wherein, the gamma compensation parameter is a gamma compensation coefficient corresponding to a 0 gray scale picture, which is denoted as L0, and the product of the gamma compensation coefficient L0 and the gamma value of a target gray scale picture is the gamma value of the 0 gray scale picture. For example, the gamma value of the 0 gray scale picture is denoted as G0, and the gamma value of the target gray scale picture is denoted as G k Therefore, G0=L0*G k Wherein, L0 is a value greater than 0 and less than 1.
[0085] Optionally, the target gray scale picture refers to a 3 gray scale picture, and the gamma value of the target gray scale picture can be represented as G3. In the embodiment of the present disclosure, the gamma value of the target gray scale picture is an actual value obtained by debugging the display panel. It can be understood that in other embodiments, the gray scale value of the target gray scale picture can also be other values, such as a 4 gray scale picture, a 5 gray scale picture, etc. When the gray scale value of the target gray scale picture is larger, the L0 obtained by debugging may be reduced.
[0086] Optionally, the display panel comprises a plurality of pixels, each pixel comprises a first color sub-pixel, a second color sub-pixel and a third color sub-pixel, the gamma compensation coefficient comprises a first color sub-pixel corresponding gamma compensation coefficient, a second color sub-pixel corresponding gamma compensation coefficient and a third color sub-pixel corresponding gamma compensation coefficient. For example: for the display panel of RGB data format, each pixel comprises 3 sub-pixels, which are respectively represented as R sub-pixel, G sub-pixel and B sub-pixel. For each pixel, its gamma value can be represented by 3 sub-pixel corresponding gamma value, correspondingly, the gamma compensation coefficient L0 can also be represented by 3 sub-pixel corresponding gamma compensation coefficient, and the voltage compensation parameter ODC can also be represented by 3 sub-pixel corresponding voltage compensation parameter.
[0087] For example, the gamma value obtained by debugging 3 gray scale pictures is represented as: G 3R =833, G 3G =414, G 3B =1182, wherein G 3R represents the gamma value corresponding to the red sub-pixel, G 3G represents the gamma value corresponding to the green sub-pixel, and G 3B represents the gamma value corresponding to the blue sub-pixel, then the gamma value of 0 gray scale picture can be represented as: G 0R =L 0R *833, G 0G =L 0G *414, G 0B =L 0B *1182, wherein L 0R represents the gamma compensation coefficient corresponding to 0 gray scale red sub-pixel, L 0G represents the gamma compensation coefficient corresponding to 0 gray scale green sub-pixel, and L 0B represents the gamma compensation coefficient corresponding to 0 gray scale blue sub-pixel. Wherein, L 0R , L 0G and L 0B may be the same or different. For example, when L 0R =L 0G =L 0B =0.67, the gamma value of 0 gray scale R sub-pixel is G 0R =0.67*833=558, the gamma value of 0 gray scale G sub-pixel is G 0G =0.67*414=277, and G 0B =0.67*1182=792. By adjusting the gamma compensation coefficient L 0R , L 0G and L 0BThe values of the gamma compensation coefficients L 0R , L 0G , and L 0B can adjust the display brightness of the 0 gray scale, and the target brightness can be quickly reached during the picture switching process, thereby improving the first frame brightness ratio and improving the smear.
[0088] In the embodiments of the present disclosure, the display panel includes a plurality of sub-pixels, and for any sub-pixel, the relationship between the data voltage Vsource and the gamma value can be represented as:
[0089] Vsource=VGMP-(VGMP-VGSP)*Gamma / a (Formula 1)
[0090] wherein VGMP represents a first voltage value, the value of which is generally 5.5V, VGSP represents a second voltage value, the value of which is generally 0.5V, a represents a fixed value, and the value of a is 4096 in an example, the data voltage Vsource generally varies between VGSP and VGMP, and Gamma represents a gamma value, the value of which generally ranges from 0 to 4095.
[0091] In the embodiments of the present disclosure, the data voltage is compensated by the first compensation parameter and the second compensation parameter, and for the 0 gray scale picture, the data voltage of the sub-pixel after compensation is represented as:
[0092] V0=VGMP-(VGMP-VGSP)*(L0*G k ) / 4096-Offset (Formula 2)
[0093] wherein V0 represents the data voltage of the 0 gray scale sub-pixel, L0 represents the gamma compensation parameter, i.e., the gamma compensation coefficient of the 0 gray scale, G k represents the gamma value of the target gray scale picture, and Offset represents the voltage compensation parameter. When the target gray scale picture is a 3 gray scale picture, L0*G k , i.e., the gamma value of the 0 gray scale picture after compensation. For R, G, and B sub-pixels, the gamma compensation coefficients can be represented as L 0R , L 0G , and L 0B , respectively, and the voltage compensation parameters can be represented as Offset R , Offset G , and Offset B , respectively.
[0094] As can be seen from formula 2, the greater the gamma compensation coefficient L0, the smaller the data voltage V0 of the 0 gray scale sub-pixel, at this time, the greater the brightness of the 0 gray scale sub-pixel, and the greater the first frame brightness ratio. The greater the value of the voltage compensation parameter Offset, the smaller the data voltage V0 of the 0 gray scale sub-pixel, at this time, the greater the brightness of the 0 gray scale sub-pixel, and the greater the first frame brightness ratio.
[0095] In the embodiments of the present disclosure, considering the difference in smear level between different batches of display panels and between different display panels of the same batch, one of the voltage compensation parameter and the gamma compensation parameter is obtained by using the chip tuning mode, and the other is obtained by using the public version value. There are two specific implementation schemes: one is that the voltage compensation parameter uses the public version value, and the gamma compensation parameter uses the chip tuning value; the other is that the voltage compensation parameter uses the chip tuning value, and the gamma compensation parameter uses the public version value.
[0096] In step S201, the first compensation parameter is set to a first public compensation value. Here, the first public compensation value refers to a public version value, that is, the first compensation parameter of all the display panels uses the public version value, and the second compensation parameter uses the chip tuning mode.
[0097] For example, when the first compensation parameter is the voltage compensation parameter, and the second compensation parameter is the gamma compensation parameter, step S201 is: setting Offset R , Offset G , Offset B to the first public compensation value, and setting L 0R , L 0G , L 0B to a first initial value, wherein Offset R , Offset G , Offset B may be the same or different, L 0R , L 0G , L 0B may be the same or different. Offset R , Offset G , Offset B , L 0R , L 0G , L 0B are obtained by debugging the sample display panel.
[0098] In specific implementation, the parameter values of the first compensation parameter and the second compensation parameter are burned into the Flash memory through a burning program in advance, and the first frame brightness ratio obtained in step S202 is the first frame brightness ratio after compensation by the first compensation parameter and the second compensation parameter.
[0099] Step S202, measure the first frame brightness ratio when the display panel is switched from the first gray scale picture to the second gray scale picture.
[0100] In the embodiments of the present disclosure, for the display panel with 8-bit depth, the ghosting phenomenon is most obvious when switching from the 0 gray scale picture to the 255 gray scale picture. Therefore, in the debugging process of the embodiments of the present disclosure, the test environment for measuring the first frame brightness ratio is that the display panel is switched from the 0 gray scale picture to the 255 gray scale picture, that is, the first gray scale picture is the 0 gray scale picture, and the second gray scale picture is the 255 gray scale picture.
[0101] Optionally, the display panel comprises a first color channel, a second color channel and a third color channel, the first gray scale picture comprises a first gray scale monochrome picture and a first gray scale white picture, and the second gray scale picture comprises a second gray scale monochrome picture and a second gray scale white picture.
[0102] For example, the first color channel is the R channel, the second color channel is the G channel, and the third color channel is the B channel. At this time, the first gray scale monochrome picture comprises a first gray scale R monochrome picture, a first gray scale G monochrome picture and a first gray scale B monochrome picture, and the RGB representation is (0, 0, 0). The RGB representation of the first gray scale white picture is also (0, 0, 0). Correspondingly, the second gray scale monochrome picture comprises a second gray scale R monochrome picture, a second gray scale G monochrome picture and a second gray scale B monochrome picture, and the RGB representation is (255, 0, 0), (0, 255, 0) and (0, 0, 255) respectively. The RGB representation of the second gray scale white picture is (255, 255, 255).
[0103] The step of measuring the first frame brightness ratio when the display panel is switched from the first gray scale picture to the second gray scale picture comprises:
[0104] (21) measuring the first frame brightness ratio when the display panel is switched from the first gray scale white picture (0, 0, 0) to the second gray scale white picture (255, 255, 255), and recording the first frame brightness ratio P as P W ;
[0105] (22) measuring the first frame brightness ratio when the display panel is switched from the first gray scale R monochrome picture (0, 0, 0) to the second gray scale R monochrome picture (255, 0, 0), and recording the first frame brightness ratio P as P R ;
[0106] (23) measuring the first frame brightness ratio when the display panel is switched from the first gray scale G monochrome picture (0, 0, 0) to the second gray scale G monochrome picture (0, 255, 0), and recording the first frame brightness ratio P as P G ;
[0107] (24) measuring a first frame brightness ratio P when the display panel is switched from a first gray scale B monochrome picture (0, 0, 0) to a second gray scale B monochrome picture (0, 0, 255), and recording the first frame brightness ratio P as P B .
[0108] The first frame brightness ratio P can be expressed as P = L F1 / L max , where L F1 represents the brightness of the first frame after picture switching, and L max represents the maximum brightness after picture switching, which is usually the stable brightness after picture switching. Specifically, the first frame brightness is usually low after picture switching, and then the brightness rises and tends to be stable, for example, the brightness remains at a larger value after the third frame, at which time L max may also be understood as the brightness after the third frame after picture switching. In a specific implementation, the second gray scale picture can include multiple frames, and the first frame brightness ratio can be calculated by measuring the brightness values of several consecutive frames.
[0109] Step S203: determining whether the first frame brightness ratio meets a preset condition, and executing step S204 when the determination result is yes, and executing step S205 when the determination result is no.
[0110] Optionally, the preset condition includes that the first frame brightness ratio is greater than a preset first frame brightness ratio threshold. The preset first frame brightness ratio threshold can be set according to actual product needs, for example, can be set to 90%, 92%, 95%, etc. For example, when the preset first frame brightness ratio threshold is 90%, the display panel is determined to meet the preset condition when the first frame brightness ratio is greater than 90%.
[0111] Correspondingly, the step S203 of determining whether the first frame brightness ratio meets the preset condition includes: determining whether the first frame brightness ratio of the white picture and the first frame brightness ratio of each monochrome picture are greater than a preset first frame brightness ratio threshold, and determining that the first frame brightness ratio meets the preset condition when the determination result is that the first frame brightness ratio of the white picture and the first frame brightness ratio of each monochrome picture are greater than the preset first frame brightness ratio threshold, that is, P W , P R , P G , and P B are all greater than the preset first frame brightness ratio threshold.
[0112] Step S204: setting the first common compensation value and the current parameter value of the second compensation parameter as the brightness compensation data of the display panel.
[0113] When the first-frame brightness ratio of the display panel meets the preset condition, the slice tuning process of the display panel ends at this time, and the parameter values of the first compensation parameter and the second compensation parameter at this time are set as the brightness compensation data of the display panel. When the display panel displays subsequently, the data voltage is compensated by using the brightness compensation data, which can improve the first-frame brightness ratio and improve the ghosting problem. Specifically, when the first compensation parameter is a gamma compensation parameter and the second compensation parameter is a voltage compensation parameter, the slice tuning process shown in steps S201 to S205 is a slice tuning process of the voltage compensation parameter, that is, the slice tuning of the ODC value. When the first compensation parameter is a voltage compensation parameter and the second compensation parameter is a gamma compensation parameter, the slice tuning process shown in steps S201 to S205 is a slice tuning process of the gamma compensation parameter, that is, the slice tuning of the L0.
[0114] In step S205, the parameter value of the second compensation parameter is adjusted, and the steps of measuring the first-frame brightness ratio when the display panel switches from the first gray scale picture to the second gray scale picture and determining whether the first-frame brightness ratio meets the preset condition are repeatedly executed until the determination result is yes, that is, steps S202 to S205 are repeatedly executed until the parameter value of the second compensation parameter makes the first-frame brightness ratio of the display panel meet the preset condition.
[0115] When the first-frame brightness ratio of the display panel does not meet the preset condition, the display panel needs to be debugged until a suitable parameter value of the second compensation parameter is found. After adjusting the parameter value of the second compensation parameter, the adjusted parameter value of the second compensation parameter needs to be reprogrammed into the Flash memory, so that the adjusted parameter value of the second compensation parameter is used for compensation subsequently.
[0116] Optionally, when the second compensation parameter is a gamma compensation parameter, the step of adjusting the parameter value of the second compensation parameter includes adjusting the gamma compensation coefficient corresponding to the first color sub-pixel, the gamma compensation coefficient corresponding to the second color sub-pixel, and the gamma compensation coefficient corresponding to the third color sub-pixel, that is, adjusting L 0R , L 0G , and L 0B Finally, a group of L 0R , L 0G , and L 0B is obtained through slice tuning, so that the first-frame brightness ratio of the display panel meets the preset condition, wherein the L 0R , L 0G , and L 0B may be the same or different.
[0117] Optionally, when the second compensation parameter is a voltage compensation parameter, the step of adjusting the parameter value of the second compensation parameter comprises: adjusting the voltage compensation parameter corresponding to the first color sub-pixel, the voltage compensation parameter corresponding to the second color sub-pixel, and the voltage compensation parameter corresponding to the third color sub-pixel, that is, adjusting Offset R , Offset G , Offset B , and finally obtaining a group of Offset R , Offset G , Offset B so that the first-frame brightness ratio of the display panel meets the preset condition, wherein the Offset R , Offset G , Offset B may be the same or different.
[0118] In a specific implementation, the method of adjusting the parameter value of the second compensation parameter comprises: increasing or decreasing the parameter value of the second compensation parameter by a preset value. Specifically: when under-compensation, the parameter value of the second compensation parameter is increased by the preset value; and when over-compensation, the parameter value of the second compensation parameter is decreased by the preset value. Wherein, under-compensation refers to the first-frame brightness ratio being less than or equal to a preset first-frame brightness ratio threshold, and over-compensation refers to the first-frame brightness ratio being greater than 100%.
[0119] For example, when the first compensation parameter is a gamma compensation parameter and the second compensation parameter is a voltage compensation parameter, the voltage interval of VGSP-VGMP can be divided into 1024 parts, that is, the preset value is (VGMP-VGSP) / 1024. The compensation strength is adjusted by increasing or decreasing the share of the preset value in the voltage compensation parameter. Specifically, the first-frame brightness ratio under the condition that the voltage compensation parameter is the first initial value is measured. If the first-frame brightness ratio is less than or equal to a preset first-frame brightness ratio threshold, the parameter value of the voltage compensation parameter is increased by (VGMP-VGSP) / 1024. If the first-frame brightness ratio is greater than 100%, the parameter value of the voltage compensation parameter is decreased by (VGMP-VGSP) / 1024. The parameter value that meets the preset condition is obtained by multiple adjustments.
[0120] In a possible implementation, the first initial value is a second common compensation value, and the step of setting the parameter value of the second compensation parameter to the first initial value further comprises:
[0121] (31) obtaining a plurality of sample display panels, setting the parameter value of the first compensation parameter in the sample display panel to a first common compensation value, and debugging each sample display panel to obtain the parameter value of the second compensation parameter as a measurement parameter value.
[0122] The first common compensation value is a public value, which can be obtained by performing slice tuning on a plurality of sample display panels. For example, 10 sample display panels are selected from a batch of display panels, and then the slice tuning is performed on each sample display panel to obtain 10 measured parameter values of the first compensation parameter. Then, the measured parameter value with the highest frequency among the 10 measured parameter values is taken as the public value, that is, the public value is taken as the parameter value of the first compensation parameter of the batch of display panels. During the debugging of the first common compensation value, the parameter value of the second compensation parameter can be set to 0.
[0123] (32) determining the second common compensation value according to the measured parameter values corresponding to the plurality of sample display panels.
[0124] In the embodiments of the present disclosure, when the slice tuning is performed on the second compensation parameter, the initial value of the second compensation parameter is set to the public value, that is, the second common compensation value, and then the slice tuning is performed on each display panel. In this way, the parameter value meeting the requirements can be quickly obtained during the slice tuning, and the slice tuning time of each display panel is reduced, that is, the debugging time is shortened.
[0125] Specifically, the second common compensation value can be obtained by performing slice tuning on a plurality of sample display panels. For example, 10 sample display panels are set, and then the slice tuning is performed on each sample display panel to obtain 10 measured parameter values. Then, the second common compensation value is determined according to the 10 measured parameter values.
[0126] The scheme for determining the second common compensation value according to the plurality of measured parameter values can be various, for example, the average of the 10 measured parameter values is taken as the second common compensation value, or the measured parameter value with the highest frequency among the 10 measured parameter values is taken as the second common compensation value. In this way, the second common compensation value is closer to the actual value of each display panel, that is, the measured parameter value, so that the actual value of each display panel can be quickly reached during the debugging of the display panel, and the slice tuning period is shortened.
[0127] Optionally, the step of determining the second common compensation value according to the measured parameter values corresponding to the plurality of sample display panels comprises: determining the measured parameter value with the highest frequency among the measured parameter values corresponding to the plurality of sample display panels as the second common compensation value.
[0128] It can be understood that the principle of determining the first common compensation value is the same as that of determining the second common compensation value, and the embodiments of the present disclosure will not be described again.
[0129] In a possible implementation, in addition to the first frame brightness ratio being greater than the preset first frame brightness ratio threshold, the preset condition further comprises that the maximum difference between the first frame brightness ratios of the single-color pictures is less than a preset difference threshold.
[0130] Correspondingly, the step of judging whether the first-frame brightness ratio meets the preset condition comprises judging whether the first-frame brightness ratio of the white picture and the first-frame brightness ratio of each single-color picture are greater than a preset first-frame brightness ratio threshold, and judging whether a maximum difference between the first-frame brightness ratios of the single-color pictures is less than a preset difference threshold, and determining that the first-frame brightness ratio meets the preset condition when the first-frame brightness ratio of the white picture and the first-frame brightness ratio of each single-color picture are greater than the first-frame brightness ratio threshold, and the maximum difference between the first-frame brightness ratios of the single-color pictures is less than the preset difference threshold.
[0131] Continuing to take the display panel in the RGB format as an example, the step of judging whether the first-frame brightness ratio meets the preset condition comprises:
[0132] (41) judging whether P W , P R , P G , and P B are greater than a preset first-frame brightness ratio threshold. Exemplarily, the preset first-frame brightness ratio threshold is 90%.
[0133] (42) judging whether a maximum difference between P R , P G , and P B is less than a preset difference threshold, wherein the maximum difference is a maximum value of each difference obtained by subtracting each two of P R , P G , and P B , and can also be understood as a difference between a maximum value and a minimum value of P R , P G , and P B . Exemplarily, the preset difference threshold is 0.6.
[0134] Then, when P W , P R , P G , and P B are all greater than 90% and the maximum difference between P R , P G , and P B is less than 0.6, it is determined that the first-frame brightness ratio meets the preset condition, and a parameter value of the second compensation parameter can be used as the final brightness compensation data.
[0135] In the embodiments of the present disclosure, when judging whether the first-frame brightness ratio meets the preset condition, the judgment condition of the difference of the first-frame brightness ratio of the monochrome picture is added. In this way, the brightness difference between the color channels is considered. If the brightness of a certain color channel is much higher or lower than that of other channels, even if the overall brightness meets the requirement, it may cause the imbalance of image color or unnatural appearance. By limiting the maximum difference, the image can be more balanced in brightness, and obvious color deviation can be avoided.
[0136] In a possible implementation, before step S202, i.e., the step of measuring the first-frame brightness ratio when the display panel is switched from the first gray scale picture to the second gray scale picture and judging whether the first-frame brightness ratio meets the preset condition, the method further includes: detecting whether a current value of the display panel when displaying the first gray scale picture is greater than a preset current threshold; and when the detection result is yes, ending the debugging process of the second compensation parameter; and when the detection result is no, performing the step of measuring the first-frame brightness ratio when the display panel is switched from the first gray scale picture to the second gray scale picture and judging whether the first-frame brightness ratio meets the preset condition.
[0137] In the embodiments of the present disclosure, before step S202, it is necessary to first judge whether the display panel has the black-to-light phenomenon. The black-to-light phenomenon refers to that the 0 gray scale does not completely go black, and in a dark room environment, a slight lightening can be seen, i.e., the 0 gray scale has a certain brightness. The black-to-light phenomenon is usually not allowed to occur. When the display panel has the black-to-light phenomenon, the slice tuning process is directly ended. When the black-to-light phenomenon does not exist, step S202 is performed to measure the first-frame brightness ratio.
[0138] In specific implementation, the current value of the display panel when displaying the 0 gray scale picture can be detected. When the current value is greater than a preset current threshold (for example, 0.005 A), it is determined that the display panel has the black-to-light phenomenon. If the current value is less than or equal to 0.005 A, it is determined that the display panel does not have the black-to-light phenomenon. It can be understood that the preset current threshold can be set to different values according to the actual current when the display panel has the black-to-light phenomenon.
[0139] In a possible implementation, the brightness compensation method further includes:
[0140] (51) When the first-frame brightness ratio meets the preset condition, the parameter value of the second compensation parameter is increased, and the first-frame brightness ratio when the display panel is switched from the first gray scale picture to the second gray scale picture is measured.
[0141] (52) Whether overcompensation occurs is judged according to the first-frame brightness ratio. When the judgment result is overcompensation, step (53) is performed. When the judgment result is no overcompensation, the step of increasing the parameter value of the second compensation parameter is repeatedly performed until the judgment result is overcompensation.
[0142] (53) setting the parameter value of the second compensation parameter before the present adjustment as the luminance compensation data of the display panel.
[0143] The luminance compensation method of the embodiments of the present disclosure, in the slice adjustment process, after obtaining the parameter value of the first frame luminance ratio satisfying the preset condition in the slice adjustment, will continue to find the critical parameter value of the display panel causing over compensation, and finally take the maximum parameter value less than the critical parameter value as the luminance compensation data.
[0144] For the display panel, in the case where the parameter value of the voltage compensation parameter is determined, the relationship between the trailing level and the gamma compensation coefficient L0 is as shown in Figure 4 The greater the gamma compensation coefficient L0 is, the greater the first frame luminance ratio P w , P R , P G , P B is, and the lighter the trailing phenomenon is at this time. Conversely, the smaller the gamma compensation coefficient L0 is, the smaller the first frame luminance ratio P w , P R , P G , P B is, and the more obvious the trailing phenomenon is at this time. When the gamma compensation coefficient L0 increases to a certain extent, over compensation will be caused, that is, the first frame luminance is greater than the finally determined luminance, which can be specifically manifested as that the first frame luminance ratio is greater than 100%, which is also not allowed. In the process of adjusting the gamma compensation coefficient L0, the value of L0 needs to be increased as much as possible on the basis of ensuring that over compensation is not caused.
[0145] In addition, for the display panel, in the case where the parameter value of the gamma compensation parameter is determined, the relationship between the trailing level and the voltage compensation parameter ODC is as shown in Figure 5 The greater the parameter value of the voltage compensation parameter ODC is, the greater the first frame luminance ratio P w , P R , P G , P B is, and the lighter the trailing phenomenon is at this time. Conversely, the smaller the parameter value of the voltage compensation parameter ODC is, the smaller the first frame luminance ratio P w , P R , P G , P B is, and the more obvious the trailing phenomenon is at this time. However, with the increase of the voltage compensation parameter ODC, when the voltage compensation parameter ODC increases to a certain extent, over compensation will be caused, that is, the first frame luminance is greater than the finally determined luminance, which can be specifically manifested as that the first frame luminance ratio is greater than 100%, which is also not allowed. In the process of adjusting the voltage compensation parameter ODC, the parameter value of the voltage compensation parameter ODC needs to be increased as much as possible on the basis of ensuring that over compensation is not caused.
[0146] The maximum gamma compensation coefficient L0 and the voltage compensation parameter ODC satisfying the requirements can be obtained through the steps (51) to (53) described above, which can improve the first frame brightness ratio as much as possible and improve the ghosting phenomenon on the premise of ensuring that the display panel does not appear overcompensation.
[0147] The overall process of determining the brightness compensation data of the embodiments of the present disclosure is described below taking the first compensation parameter as the voltage compensation parameter and the second compensation parameter as the gamma compensation parameter, as shown in Figure 6 The steps include the following steps:
[0148] In step S301, the sample display panel is debugged to obtain the parameter value of the voltage compensation parameter and the parameter value of the gamma compensation parameter, wherein the parameter value of the voltage compensation parameter is the first common compensation value, and the parameter value of the gamma compensation parameter is the first initial value.
[0149] In step S302, the parameter value of the voltage compensation parameter in the display panel is set to the first common compensation value, and the parameter value of the gamma compensation parameter is set to the first initial value.
[0150] In specific implementation, the first common compensation value and the first initial value are written into the Flash memory, and then when the display panel displays, the driving chip reads the brightness compensation data from the Flash memory and compensates the data voltage of the image to be displayed by using the brightness compensation data.
[0151] In step S303, the first frame brightness ratio P W , the first frame brightness ratio P R , the first frame brightness ratio P G , and the first frame brightness ratio P B of the display panel when switching from the first gray scale white picture to the second gray scale white picture, from the first gray scale R monochrome picture to the second gray scale R monochrome picture, from the first gray scale G monochrome picture to the second gray scale G monochrome picture, and from the first gray scale B monochrome picture to the second gray scale B monochrome picture are measured, respectively, and the current value when displaying the first gray scale picture is measured. The P W , P R , P G , and P B measured in step S303 are all the first frame brightness ratios after compensating the display picture by using the parameter values of the voltage compensation parameter and the gamma compensation parameter.
[0152] In step S304, it is judged whether the current value when the display panel displays the first gray scale picture is greater than a preset current threshold value. If the judgment result is no, it means that the black-to-white phenomenon does not occur, and step S305 is executed. If the judgment result is yes, it means that the black-to-white phenomenon occurs, and step S311 is executed, i.e., the trimming process is ended.
[0153] Step S305, judging whether the first frame brightness ratio P W , P R , P G , P B are all greater than a preset first frame brightness ratio threshold and the maximum difference between the first frame brightness ratios P R , P G , P B is less than a preset difference threshold, if the result is yes, it means that the preset condition is met, and step S306 is executed, if the result is no, it means that the preset condition is not met, and step S310 is executed.
[0154] Step S306, increasing the parameter value of the gamma compensation coefficient L 0R , L 0G , L 0B , and writing the parameter value of the gamma compensation coefficient L 0R , L 0G , L 0B into the Flash memory.
[0155] Step S307, measuring and judging whether the current value when the display panel displays the first gray scale picture is greater than a preset current threshold, if the result is yes, it means that the black hair bright phenomenon appears after the gamma compensation coefficient is increased, and step S309 is executed.
[0156] Step S308, measuring the first frame brightness ratios P W , P R , P G , P B and judging whether the first frame brightness ratios P W , P R , P G , P B are greater than 100%, if the result is yes, it means that over compensation appears, and step S309 is executed, if the result is no, it means that over compensation does not appear, and step S306 is executed.
[0157] In step S308, the first frame brightness ratio P W may be firstly judged whether it is greater than 100%, if the result is yes, it means that over compensation appears, and there is no need to further judge the first frame brightness ratios P R , P G , P B , if the result is no, the first frame brightness ratios P R , P G , P B need to be further judged whether they are greater than 100%, if any of them is greater than 100%, it also means that over compensation appears.
[0158] Step S309, taking the parameter value of the gamma compensation coefficient L 0R , L 0G , L 0B as the luminance compensation data and writing it into the Flash memory.
[0159] Step S310, adjusting the parameter value of the gamma compensation coefficient L 0R , L 0G , L 0B , writing it into the Flash memory, and returning to step S303.
[0160] Step S311, ending the slice adjustment process.
[0161] In the embodiments of the present disclosure, through the above steps S301 to S311, the maximum gamma compensation coefficient can be obtained on the basis that the black hair bright phenomenon does not occur, and the luminance ratio of the first frame meets the preset condition.
[0162] The overall process of the luminance compensation method of the embodiments of the present disclosure will be described below taking the first compensation parameter as the gamma compensation parameter and the second compensation parameter as the voltage compensation parameter as an example, as shown in Figure 7 , the process includes the following steps:
[0163] Step S401, adjusting the sample display panel to obtain the parameter value of the voltage compensation parameter and the parameter value of the gamma compensation parameter, wherein the parameter value of the gamma compensation parameter is the first common compensation value, and the parameter value of the voltage compensation parameter is the first initial value.
[0164] Step S402, setting the parameter value of the gamma compensation parameter in the display panel as the first common compensation value, and setting the parameter value of the voltage compensation parameter as the first initial value.
[0165] In specific implementation, the first common compensation value and the first initial value are written into the Flash memory, and then when the display panel displays, the driving chip reads the luminance compensation data from the Flash memory and compensates the data voltage of the image to be displayed using the luminance compensation data.
[0166] Step S403, measuring the first frame luminance ratio P W of the display panel when switching from a first gray scale white picture to a second gray scale white picture, the first frame luminance ratio P R of the display panel when switching from a first gray scale R monochrome picture to a second gray scale R monochrome picture, the first frame luminance ratio P G of the display panel when switching from a first gray scale G monochrome picture to a second gray scale G monochrome picture, the first frame luminance ratio P B of the display panel when switching from a first gray scale B monochrome picture to a second gray scale B monochrome picture, and the current value when displaying the first gray scale picture. Wherein, the PW , P R , P G , P B are all first frame brightness ratios after the display picture is compensated by using the parameter values of the voltage compensation parameter and the gamma compensation parameter.
[0167] In step S404, it is judged whether the current value when the display panel displays the first gray scale picture is greater than a preset current threshold. If the judgment result is no, it means that the black-to-white phenomenon does not occur, and step S405 is executed. If the judgment result is yes, it means that the black-to-white phenomenon occurs, and step S411 is executed, i.e., the slice adjustment process is ended.
[0168] In step S405, it is judged whether the first frame brightness ratios P W , P R , P G , P B are all greater than a preset first frame brightness ratio threshold and the maximum difference is less than a preset difference threshold. If the judgment result is yes, it means that the preset condition is met, and step S406 is executed. If the judgment result is no, it means that the preset condition is not met, and step S410 is executed.
[0169] In step S406, the parameter value of the voltage compensation parameter Offset 0R , Offset 0G , Offset 0B is increased, and the parameter value of the voltage compensation parameter Offset 0R , Offset 0G , Offset 0B is written into the Flash memory.
[0170] In step S407, it is judged whether the current value when the display panel displays the first gray scale picture is greater than a preset current threshold. If the judgment result is yes, it means that the black-to-white phenomenon occurs after the gamma compensation coefficient is increased, and step S409 is executed.
[0171] In step S408, the first frame brightness ratios P W , P R , P G , P B are measured, and it is judged whether the first frame brightness ratios P W , P R , P G , P B are greater than 100%. If the judgment result is yes, it means that over-compensation occurs, and step S409 is executed. If the judgment result is no, it means that over-compensation does not occur, and step S406 is executed, i.e., the parameter value of the voltage compensation parameter can be continuously increased.
[0172] In step S409, the parameter value of the voltage compensation parameter Offset0R 、Offset 0G 、Offset 0B The parameter value is used as brightness compensation data and written into the Flash memory.
[0173] Step S410: Adjust the voltage compensation parameter Offset 0R 、Offset 0G 、Offset 0B The parameter value is written into the Flash memory and the process returns to step S403.
[0174] Step S411, ending the film adjustment process.
[0175] Based on the same inventive concept, a second aspect of the present disclosure provides a brightness compensation device, comprising a memory, a processor, and a computer program stored in the memory and executable by the processor. When the processor executes the program, the steps of the brightness compensation method described above are implemented. Exemplarily, the brightness compensation device may be a display driver chip.
[0176] It is understandable that in addition to the OLED display, the above-mentioned display can also be set to other types according to actual needs. For example, the display can also be a quantum dot light emitting diode (QLED) display or a micro light emitting diode (Micro LED) display.
[0177] Based on the same inventive concept, a third aspect of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the brightness compensation method described above when executed by a processor.
[0178] In a specific implementation process, computer storage media may include: Universal Serial Bus Flash Drive (USB), mobile hard disk, Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk, and other storage media that can store program code.
[0179] Based on the same inventive concept, the fourth aspect of the present disclosure provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the brightness compensation method as described above. Since the principle of the computer program to solve the problem is similar to that of the brightness compensation method, the implementation of the computer program can refer to the implementation of the brightness compensation method, and the repeated parts will not be described again.
[0180] The computer program product can employ any combination of one or more computer readable media. The computer readable media can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of the computer readable storage medium include an electrical connection having one or more wires, a portable disc, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0181] Obviously, the above embodiments of the present disclosure are only examples for clearly illustrating the present disclosure, and are not intended to limit the implementation manners of the present disclosure. Based on the above description, other different forms of changes or variations can also be made by those skilled in the art, and it is impossible to enumerate all the implementation manners here. Any changes or variations derived from the technical solutions of the present disclosure still fall within the protection scope of the present disclosure.
Claims
1. A brightness compensation method, characterized in that: The following steps are involved: Obtaining brightness compensation data of the display panel, the brightness compensation data including a gamma compensation parameter and a voltage compensation parameter, one of the gamma compensation parameter and the voltage compensation parameter being obtained by debugging the display panel, and the other of the gamma compensation parameter and the voltage compensation parameter being a common compensation value; Compensating the data voltage of the image frame to be displayed on the display panel using the brightness compensation data and driving the display panel to display using the compensated data voltage, wherein the brightness ratio of the first frame meets a preset condition when the display panel displays the compensated image frame to be displayed; The step of obtaining the brightness compensation data of the display panel also includes: Setting a parameter value of a first compensation parameter in the display panel to a first common compensation value, and setting a parameter value of a second compensation parameter to a first initial value, wherein the first compensation parameter is one of a gamma compensation parameter and a voltage compensation parameter, and the second compensation parameter is the other of the gamma compensation parameter and the voltage compensation parameter; measuring a first frame brightness ratio when the display panel switches from a first grayscale image to a second grayscale image, and determining whether the first frame brightness ratio meets a preset condition; When the judgment result is yes, setting the first common compensation value and the current parameter value of the second compensation parameter as the brightness compensation data of the display panel; When the judgment result is no, adjusting the parameter value of the second compensation parameter, and repeatedly performing the steps of measuring the first frame brightness ratio when the display panel switches from the first grayscale image to the second grayscale image, and judging whether the first frame brightness ratio meets a preset condition until the judgment result is yes; The first initial value is the second common compensation value, and before the step of setting the parameter value of the second compensation parameter to the first initial value, the step further includes: Acquire multiple sample display panels, set the parameter value of the first compensation parameter in the sample display panels to a first common compensation value, and debug each sample display panel to obtain the parameter value of the second compensation parameter as a measurement parameter value; A second common compensation value is determined according to the measurement parameter values corresponding to the plurality of sample display panels.
2. The brightness compensation method according to claim 1, wherein: The step of determining a second common compensation value according to the measured parameter values corresponding to the plurality of sample display panels comprises: The measured parameter value with the highest frequency among the measured parameter values corresponding to the plurality of sample display panels is used as the second common compensation value.
3. The brightness compensation method according to claim 1, wherein: The display panel includes a first color channel, a second color channel, and a third color channel, the first grayscale image includes a first grayscale monochrome image and a first grayscale white image, and the second grayscale image includes a second grayscale monochrome image and a second grayscale white image; The steps of measuring the first frame brightness ratio when the display panel switches from a first grayscale image to a second grayscale image, and determining whether the first frame brightness ratio meets a preset condition include: measuring the brightness ratio of the first frame of the monochrome picture when the display panel switches from the first grayscale monochrome picture to the second grayscale monochrome picture, and the brightness ratio of the first frame of the white picture when the display panel switches from the first grayscale white picture to the second grayscale white picture; Determine whether the brightness ratio of the first frame of the white picture and the brightness ratio of the first frame of each monochrome picture meet preset conditions; When the judgment result is that both the brightness ratio of the first frame of the white picture and the brightness ratio of the first frame of the monochrome picture meet the preset conditions, it is determined that the brightness ratio of the first frame meets the preset conditions.
4. The brightness compensation method according to claim 3, wherein: The preset condition includes that the first frame brightness ratio is greater than a preset first frame brightness ratio threshold; The step of determining whether the first frame brightness ratio meets the preset conditions includes: determining whether the first frame brightness ratio of the white picture and the first frame brightness ratio of each monochrome picture are greater than the preset first frame brightness ratio threshold; when the judgment result is that the first frame brightness ratio of the white picture and the first frame brightness ratio of the monochrome picture are both greater than the preset first frame brightness ratio threshold, it is determined that the first frame brightness ratio meets the preset conditions.
5. The brightness compensation method according to claim 4, characterized in that: The preset condition also includes that the maximum difference between the brightness proportions of the first frames of each monochrome image is less than a preset difference threshold; The step of determining whether the first frame brightness ratio meets the preset conditions also includes: determining whether the maximum difference between the first frame brightness ratios of each monochrome screen is less than a preset difference threshold; when the judgment result is that the first frame brightness ratio of the white screen and the first frame brightness ratio of the monochrome screen are both greater than the preset first frame brightness ratio threshold, and the maximum difference between the first frame brightness ratios of each monochrome screen is less than the preset difference threshold, it is determined that the first frame brightness ratio meets the preset conditions.
6. The brightness compensation method according to claim 1, wherein: Before the step of measuring the first frame brightness ratio when the display panel switches from the first grayscale image to the second grayscale image and determining whether the first frame brightness ratio meets a preset condition, the step further includes: detecting whether a current value when the display panel displays the first grayscale image is greater than a preset current threshold; When the detection result is yes, the debugging process of the second compensation parameter is ended; When the detection result is no, the steps of measuring the first frame brightness ratio when the display panel switches from the first grayscale image to the second grayscale image and determining whether the first frame brightness ratio meets a preset condition are performed.
7. The brightness compensation method according to claim 1, wherein: After the step of determining whether the brightness ratio of the first frame meets the preset condition, the method further includes: When the judgment result is yes, increasing the parameter value of the second compensation parameter; measuring a first frame brightness ratio when the display panel switches from a first grayscale image to a second grayscale image, and determining whether overcompensation is present based on the first frame brightness ratio; When the judgment result is overcompensation, setting the parameter value of the second compensation parameter before the current adjustment as the brightness compensation data of the display panel; When the result of the determination is that the compensation is not over-compensated, the step of increasing the parameter value of the second compensation parameter is repeatedly performed until the result of the determination is that the compensation is over-compensated.
8. The brightness compensation method according to claim 1, wherein: The gamma compensation parameter is a gamma compensation coefficient corresponding to a 0 grayscale image. The product of the gamma compensation coefficient and the gamma value of the target grayscale image is the gamma value of the 0 grayscale image. The display panel includes a plurality of sub-pixels. For any sub-pixel, the data voltage of the sub-pixel at 0 grayscale is expressed as: V0=VGMP-(VGMP-VGSP)*(L0*G k ) / 4096-Offset; Wherein, V0 represents the data voltage of the 0 grayscale sub-pixel, VGMP represents the first voltage value, VGSP represents the second voltage value, L0 represents the gamma compensation coefficient, G k Indicates the gamma value of the target grayscale image, and Offset indicates the voltage compensation parameter.
9. The brightness compensation method according to claim 8, wherein: The display panel includes a plurality of pixels, each pixel includes a first color sub-pixel, a second color sub-pixel, and a third color sub-pixel, the gamma compensation coefficient includes a gamma compensation coefficient corresponding to the first color sub-pixel, a gamma compensation coefficient corresponding to the second color sub-pixel, and a gamma compensation coefficient corresponding to the third color sub-pixel, and the voltage compensation parameter includes a voltage compensation parameter corresponding to the first color sub-pixel, a voltage compensation parameter corresponding to the second color sub-pixel, and a voltage compensation parameter corresponding to the third color sub-pixel; When the second compensation parameter is a gamma compensation parameter, the step of adjusting the parameter value of the second compensation parameter includes: adjusting the gamma compensation coefficient corresponding to the first color sub-pixel, the gamma compensation coefficient corresponding to the second color sub-pixel, and the gamma compensation coefficient corresponding to the third color sub-pixel; When the second compensation parameter is a voltage compensation parameter, the step of adjusting the parameter value of the second compensation parameter includes: adjusting the voltage compensation parameter corresponding to the first color sub-pixel, the voltage compensation parameter corresponding to the second color sub-pixel, and the voltage compensation parameter corresponding to the third color sub-pixel.
10. The brightness compensation method according to claim 1, wherein: The step of adjusting the parameter value of the second compensation parameter includes: The parameter value of the second compensation parameter is increased or decreased by a preset value.
11. A brightness compensation device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the brightness compensation method according to any one of claims 1 to 10 are implemented.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the brightness compensation method according to any one of claims 1 to 10 are implemented.
13. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the brightness compensation method according to any one of claims 1 to 10 are implemented.
Citation Information
Patent Citations
Brightness compensation method and device of display panel
CN118471144A
Brightness compensation method, electronic device, storage medium and computer program product
CN119314431A