Brightness compensation method and device, storage medium and computer program product
By compensating the brightness of the OLED display, and using gamma compensation parameters and voltage compensation parameters to improve the brightness of the first frame, the problem of OLED display when switching black and white pictures is solved, and a better brightness compensation effect is achieved.
Patent Information
- Application Number
- CN202510449802.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2045-04-10
AI Technical Summary
During the black and white screen switching process of OLED display, the brightness of the first white screen is often lower than the final white brightness value, resulting in the shadowing phenomenon.
By obtaining the brightness compensation data of the display panel, including gamma compensation parameters and voltage compensation parameters, data voltage compensation is performed to increase the brightness proportion of the first frame.
It effectively improves the brightness of the first frame of the OLED display when switching black and white screens, reduces the phenomenon of shadowing, and ensures the brightness compensation needs of all display panels.
Smart Images

Figure CN120014976A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of display technology, and more specifically, to a brightness compensation method, device, storage medium, and computer program product. Background Art
[0002] Organic Light-Emitting Diode (OLED) display has the advantages of high contrast, wide color gamut, and fast response time. It has become one of the important representatives of the new generation of display technology and is widely used in smart phones, tablets, wearable devices, car displays and other fields.
[0003] When the OLED display is switching between black and white images, due to the influence of the driving circuit and device structure, a problem will occur: the brightness of the first frame of white image is often lower than the final white brightness value, that is, the brightness of the first frame is insufficient. For the more sensitive human eye, the phenomenon seen is that there will be a ghosting in the first frame after the image is switched. The smaller the proportion of the first frame brightness, the more obvious the ghosting. Summary of the invention
[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 smear in the related art.
[0005] In order to achieve the above objectives, the present invention adopts the following technical solutions:
[0006] The present disclosure provides a brightness compensation method according to a first aspect, comprising the following steps:
[0007] Acquire 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 is obtained by debugging the display panel, and the other of the gamma compensation parameter and the voltage compensation parameter is a common compensation value;
[0008] The data voltage of the image frame to be displayed on the display panel is compensated by the brightness compensation data and the compensated data voltage is used to drive the display panel for display. When the display panel displays the compensated image frame to be displayed, the brightness ratio of the first frame meets the preset condition.
[0009] Optionally, before the step of obtaining the brightness compensation data of the display panel, the step further includes:
[0010] 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;
[0011] 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;
[0012] 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;
[0013] When the judgment result is no, adjust the parameter value of the second compensation parameter, and repeat 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 the preset conditions until the judgment result is yes.
[0014] Optionally, the first initial value is a 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:
[0015] Acquire multiple sample display panels, set the parameter value of the first compensation parameter in the sample display panels as the first common compensation value, and debug each sample display panel to obtain the parameter value of the second compensation parameter as the measurement parameter value;
[0016] A second common compensation value is determined according to the measured parameter values corresponding to the plurality of sample display panels.
[0017] Optionally, the step of determining the second common compensation value according to the measured parameter values corresponding to the plurality of sample display panels includes:
[0018] 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.
[0019] Optionally, the display panel includes a first color channel, a second color channel and a third color channel, the first grayscale picture includes a first grayscale monochrome picture and a first grayscale white picture, and the second grayscale picture includes a second grayscale monochrome picture and a second grayscale white picture;
[0020] 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 include:
[0021] Measuring the first frame brightness ratio of a monochrome picture when the display panel switches from a first grayscale monochrome picture to a second grayscale monochrome picture, and measuring the first frame brightness ratio of a white picture when the display panel switches from a first grayscale white picture to a second grayscale white picture;
[0022] 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 the preset conditions;
[0023] 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.
[0024] Optionally, the preset condition includes that the first frame brightness ratio is greater than a preset first frame brightness ratio threshold;
[0025] The step of judging whether the first frame brightness ratio meets the preset conditions includes: judging 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 judged that the first frame brightness ratio meets the preset conditions.
[0026] Optionally, 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;
[0027] 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 picture is less than a preset difference threshold; when 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 each monochrome picture is less than the preset difference threshold, it is determined that the first frame brightness ratio meets the preset conditions.
[0028] Optionally, 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:
[0029] Detecting whether a current value when the display panel displays the first grayscale image is greater than a preset current threshold;
[0030] When the detection result is yes, the debugging process of the second compensation parameter is ended;
[0031] 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.
[0032] Optionally, after the step of determining whether the brightness ratio of the first frame meets a preset condition, the step further includes:
[0033] When the judgment result is yes, increasing the parameter value of the second compensation parameter;
[0034] Measuring a first frame brightness ratio when the display panel switches from a first grayscale image to a second grayscale image, and determining whether over-compensation is performed according to the first frame brightness ratio;
[0035] When the judgment result is over-compensation, setting the parameter value of the second compensation parameter before the current adjustment as the brightness compensation data of the display panel to be debugged;
[0036] When the judgment result 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 judgment result is that the compensation is over-compensated.
[0037] Optionally, 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, and for any sub-pixel, the data voltage of the sub-pixel 0 grayscale is expressed as:
[0038] V0=VGMP-(VGMP-VGSP)*(L0*G k ) / 4096-Offset;
[0039] 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 It indicates the gamma value of the target grayscale image, and Offset indicates the voltage compensation parameter.
[0040] Optionally, 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;
[0041] 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;
[0042] 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.
[0043] Optionally, the step of adjusting the parameter value of the second compensation parameter includes:
[0044] The parameter value of the second compensation parameter is increased or decreased by a preset value.
[0045] A second aspect of the present disclosure provides a brightness compensation device, including 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 brightness compensation method described above when executing the program.
[0046] A third aspect of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the brightness compensation method described above are implemented.
[0047] A fourth aspect of the present disclosure provides a computer program product, including a computer program, which implements the steps of the brightness compensation method described above when the computer program is executed by a processor.
[0048] The beneficial effects of the present disclosure are as follows:
[0049] The brightness compensation method of the disclosed embodiment utilizes the combined effect of voltage compensation parameters and gamma compensation parameters to improve the ghosting phenomenon, and one of the voltage compensation parameters and the gamma compensation parameters adopts a public version value, and the other adopts a film adjustment value. In this way, the difference between films can be overcome, ensuring that the ghosting improvement requirements of all display panels can be met, and the compensation effect is better. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The specific implementation methods of the present disclosure are further described in detail below with reference to the accompanying drawings.
[0051] Figure 1 This is a schematic diagram of the effect before and after compensation using the traditional compensation method;
[0052] Figure 2 A flowchart of a brightness compensation method provided by an embodiment of the present disclosure;
[0053] Figure 3 A flow chart for debugging a display panel to obtain brightness compensation data;
[0054] Figure 4 Schematic diagram of the relationship between the smear level and the gamma compensation coefficient L0;
[0055] Figure 5 It is a 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 The present invention 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] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the 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 terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one", "one" or "the" do not indicate quantity restrictions, but indicate that there is at least one. Similar words such as "include" or "comprise" mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Similar words such as "connect" or "connected" are not limited to physical or mechanical connections, but can 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 described object 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, wherein the effect diagram of the display panel before and after compensation is as follows: Figure 1 As shown, Figure 1The horizontal axis represents time, and the vertical axis represents display brightness. The unit of display brightness is nit. Before White compensation represents the brightness when the black screen switches to the white screen without using the compensation value. After White compensation represents the brightness when the black screen switches to the white screen after using the compensation value. Before Red compensation and after Red compensation represent the brightness when only the red sub-pixel switches the screen with and without compensation. Similarly, before Green compensation and after Green compensation represent the brightness when only the green sub-pixel switches the screen with and without compensation. Before Blue compensation and after Blue compensation represent the brightness when only the blue sub-pixel switches the screen with and without compensation. Figure 1 It can be seen that after using the compensation value for compensation, the brightness of the first frame when switching between black and white images can be improved, the brightness drop phenomenon of the first frame can be improved, and thus the ghosting can be improved.
[0061] However, there are certain differences between display panels from different batches and between different display panels in the same batch, and their degrees of ghosting are also different. Using this compensation value to compensate all display panels cannot meet the ghosting improvement needs of all display panels, and the compensation effect is poor. Please refer to Table 1, which shows the improvement of the first frame brightness ratio when the compensation value is used to compensate multiple display panels. In Table 1, Item represents the display panel being tested, #1, #2, #3, and #4 represent four different display panels respectively, and in the test scene, White represents the switching from 0 grayscale RGB (0,0,0) to 255 grayscale white RGB (255,255,255), Red represents the switching from 0 grayscale monochrome RGB (0,0,0) to 255 grayscale monochrome RGB (255,0,0), Green represents the switching from 0 grayscale monochrome RGB (0,0,0) to 255 grayscale monochrome RGB (0,255,0), Blue represents the switching from 0 grayscale monochrome RGB (0,0,0) to 255 grayscale monochrome RGB (0,0,255), IP ON represents the switching of the compensation function, that is, the function of using the compensation value to compensate is turned on, IP OFF means the compensation function is turned off, that is, the function of using the compensation value for compensation is turned off, that is, there is no compensation at this time. Delta RGB represents the difference between the maximum and minimum values of the brightness proportion of the first frame in the four test scenes of White, Red, Green, and Blue.
[0062] Table 1: The first frame brightness ratio before and after compensation of the display panel
[0063]
[0064]
[0065] It can be seen from Table 1 that the degree of smearing of different display panels is different to a certain extent. When one compensation value is used to compensate all display panels, the smearing improvement requirements of all display panels cannot be met, and the compensation effect is poor.
[0066] In order to solve the above technical problems, the embodiments of the present disclosure provide a brightness compensation method, device, storage medium and computer program product. The overall technical concept of the embodiments of the present disclosure is: compensation is performed using L0 value and ODC compensation value, and one of the L0 value and ODC compensation value is used for film adjustment, and the other uses a public version value to overcome the difference between films, ensuring that the ghosting improvement requirements of all display panels can be met and the compensation effect is better.
[0067] In the disclosed embodiment, the essence of L0 assignment is to adjust the gamma value (Gamma value) of grayscale 0, which can be expressed as G0=L0*G3, where G0 represents the gamma value of grayscale 0, G3 represents the gamma value of grayscale 3, and L0 represents the gamma compensation coefficient, which is a value greater than 0 and less than 1. Exemplarily, L0=0.7 means that the gamma value of grayscale 0 is set to 0.7 times the gamma value of grayscale 3. By increasing the gamma value of grayscale 0, the brightness of grayscale 0 can be increased. During the screen switching process, the target brightness can be quickly reached, thereby increasing the brightness ratio of the first frame and improving the ghosting. Among them, the first frame brightness ratio can be used to indicate the degree of brightness reduction of the first frame display screen after the screen switches. The larger the first frame brightness ratio, the greater the first frame brightness after the screen switches, and the smaller the degree of brightness reduction of the first frame. At this time, the less the image residue of the previous frame is, and the less obvious the ghosting phenomenon of the first frame is. Conversely, the smaller the first frame brightness ratio, the smaller the first frame brightness after the screen switches, and the greater the degree of brightness reduction of the first frame, the more the image residue of the previous frame is, and the obvious ghosting phenomenon is.
[0068] In the disclosed embodiment, the essence of ODC (Over Driven Compensation) compensation is to compensate for the data voltage, that is, to compensate for the source voltage. By increasing the data voltage of the first frame, the brightness of the first frame can reach the target brightness faster, thereby increasing the brightness ratio of the first frame and improving ghosting.
[0069] Please refer to Figure 2 , Figure 2 A flowchart of a brightness compensation method provided by an embodiment of the present disclosure, such as Figure 2 As shown, the following steps are included:
[0070] Step S101, 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 is obtained by debugging the display panel, and the other of the gamma compensation parameter and the voltage compensation parameter is a common compensation value.
[0071] In the disclosed embodiment, the gamma compensation parameter and the voltage compensation parameter are used together to compensate the data voltage of the image frame to be displayed, and the brightness ratio of the first frame is increased by compensating the data voltage. The brightness compensation data is obtained by pre-tuning and stored in the Flash memory of the display panel. During the display process, the driver integrated circuit (DIC) reads the brightness compensation data from the Flash memory, and uses the brightness compensation data to compensate the data voltage of the image frame to be displayed, so as to improve the screen ghosting phenomenon during the display process of the display panel.
[0072] Considering the differences in the level of smear between display panels of different batches and between different display panels of the same batch, one of the voltage compensation parameter and the gamma compensation parameter adopts the chip adjustment value, and the other adopts the public version value, where the chip adjustment value refers to the value obtained by actual debugging of each display panel, and the public version value refers to the value obtained by actual debugging of the 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 the public version value, that is, the public compensation value, and the gamma compensation parameter adopts the chip adjustment value; the other is that the voltage compensation parameter adopts the chip adjustment value, and the gamma compensation parameter adopts the public version value.
[0073] Step S102, 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, and when the display panel displays the compensated image frame to be displayed, the brightness ratio of the first frame meets a preset condition.
[0074] In the disclosed embodiment, the brightness compensation data makes the brightness ratio of the first frame when the display panel switches from the first grayscale picture to the second grayscale picture meet the preset conditions. Optionally, for a display panel with an 8-bit bit depth, the grayscale value range is 0-255, the first grayscale picture is a 0 grayscale picture, and the second grayscale picture is a 255 grayscale picture; for a display panel with a 10-bit bit depth, the grayscale value range is 0-1023, at this time, the first grayscale picture is a 0 grayscale picture, and the second grayscale picture is a 1023 grayscale picture, that is, the first grayscale picture and the second grayscale picture are black and white pictures respectively.
[0075] Specifically, when the display panel switches from a display screen of one grayscale value to a display screen of another grayscale value, ghosting may occur, and the greater the difference in grayscale values, the more obvious the ghosting phenomenon is. For example, for a display panel with an 8-bit bit depth, the ghosting phenomenon is most obvious when the display panel switches from a 0 grayscale image to a 255 grayscale image, and the parameter values of the gamma compensation parameters and the voltage compensation parameters are the largest at this time. In the disclosed embodiment, the parameter values of the gamma compensation parameters and the voltage compensation parameters required when the display panel switches from a 0 grayscale image to a 255 grayscale image are pre-stored in the Flash memory. During the display process, for different grayscale switching scenarios, such as switching from 32 grayscale to 128 grayscale, the display panel can use the pre-stored parameter values to determine the parameter values of the gamma compensation parameters and the voltage compensation parameters required in the current grayscale switching scenario by interpolation, and use the determined parameter values to compensate the data voltage of the image frame to be displayed. Optionally, the interpolation method can be linear interpolation.
[0076] It is understandable that in other embodiments, in addition to the interpolation method, other methods can also be used to obtain the parameter values of the gamma compensation parameters and voltage compensation parameters required in other grayscale switching scenarios. Exemplarily, multiple sets of brightness compensation data can also be pre-debugged and stored in a Flash memory, where each set of brightness compensation data corresponds to a grayscale switching scene, and then the display panel can search the Flash memory for brightness compensation data matching the current grayscale switching scene for compensation when displaying.
[0077] Optionally, when the brightness compensation data is a parameter value when the display panel switches from a first grayscale image to a second grayscale image, when the driver chip uses the brightness compensation data to compensate for the data voltage of the image frame to be displayed, the specific process includes the following steps:
[0078] (11) obtaining grayscale values of the current image frame to be displayed and the adjacent previous image frame. In order to distinguish and represent them, the grayscale value of the current image frame to be displayed is recorded as a first grayscale value, and the grayscale value of the adjacent previous image frame is recorded as a second grayscale value;
[0079] (12) Obtaining parameter values of a gamma compensation parameter and a voltage compensation parameter from the Flash memory, and performing interpolation calculation on the parameter values of the gamma compensation parameter and the voltage compensation parameter according to the first grayscale value and the second grayscale value to obtain currently required parameter values of the gamma compensation parameter and the voltage compensation parameter;
[0080] (13) Compensating 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 invention utilizes the combined effect of voltage compensation parameters and gamma compensation parameters to improve the ghosting phenomenon, and one of the voltage compensation parameters and the gamma compensation parameters adopts a public version value, and the other adopts a chip adjustment value. In this way, the difference between chips can be overcome, ensuring that the ghosting improvement requirements of all display panels can 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, it is necessary to debug the display panel to obtain the brightness compensation data of the display panel and store it in the Flash memory. Figure 3 As shown, the method for debugging the display panel to obtain brightness compensation data includes:
[0083] Step S201, setting the parameter value of the first compensation parameter in the display panel to a first common compensation value, and setting the parameter value of the 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.
[0084] The gamma compensation parameter is the gamma compensation coefficient corresponding to the 0 grayscale image, which is recorded as L0. The product of the gamma compensation coefficient L0 and the gamma value of the target grayscale image is the gamma value of the 0 grayscale image. For example, the gamma value of the 0 grayscale image is recorded as G0, and the gamma value of the target grayscale image is recorded as G k , then G0=L0*G k , where L0 is a value greater than 0 and less than 1.
[0085] Optionally, the target grayscale image refers to a 3-grayscale image, and the gamma value of the target grayscale image can be expressed as G3. In the embodiment of the present disclosure, the gamma value of the target grayscale image is an actual value obtained by debugging the display panel. It can be understood that in other embodiments, the grayscale value of the target grayscale image can also be other values, such as a 4-grayscale image, a 5-grayscale image, etc. When the grayscale value of the target grayscale image is larger, the L0 obtained by debugging may be correspondingly reduced.
[0086] Optionally, 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, and 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. For example: for a display panel in an RGB data format, each pixel includes three sub-pixels, which are respectively represented as an R sub-pixel, a G sub-pixel and a B sub-pixel. For each pixel, its gamma value can be represented by the gamma value corresponding to the three sub-pixels, and correspondingly, the gamma compensation coefficient L0 can also be represented by the gamma compensation coefficients corresponding to the three sub-pixels, and the voltage compensation parameter ODC can also be represented by the voltage compensation parameters corresponding to the three sub-pixels.
[0087] For example, the gamma value obtained by debugging a 3-grayscale image is expressed as: 3R =833, G 3G =414, G 3B =1182, where G 3R Indicates the gamma value corresponding to the red sub-pixel, G 3G Indicates the gamma value corresponding to the green sub-pixel, G 3B represents the gamma value corresponding to the blue sub-pixel, then the gamma value of the 0 grayscale image can be expressed as: G 0R =L 0R *833, G 0G =L 0G *414, G 0B =L 0B *1182, of which L 0R Indicates the gamma compensation coefficient corresponding to the 0 grayscale red sub-pixel, L 0G Indicates the gamma compensation coefficient corresponding to the 0 grayscale green sub-pixel, L 0B Indicates the gamma compensation coefficient corresponding to the 0 grayscale blue sub-pixel. 0R , L 0G , L 0B may be the same or different. For example, when L 0R =L 0G =L 0B =0.67, the gamma value of the 0 grayscale R sub-pixel is G 0R =0.67*833=558, the gamma value of the 0 grayscale G sub-pixel is G 0G =0.67*414=277, G 0B =0.67*1182=792. By adjusting the gamma compensation coefficient L 0R , L 0G and L 0BBy taking the value of , we can get different groups of gamma values. The gamma value can be converted to the corresponding source voltage. The source voltage controls the display brightness. Therefore, by adjusting the gamma compensation coefficient L 0R , L 0G and L 0B , you can adjust the display brightness of 0 grayscale, and quickly reach the target brightness during screen switching, thereby increasing the brightness ratio of the first frame and improving ghosting.
[0088] In the embodiment of the present disclosure, the display panel includes a plurality of sub-pixels. For any sub-pixel, the relationship between its data voltage Vsource and the Gamma value can be expressed as:
[0089] Vsource=VGMP-(VGMP-VGSP)*Gamma / a (Formula 1)
[0090] Wherein VGMP represents the first voltage value, which is usually 5.5V, VGSP represents the second voltage value, which is usually 0.5V, a represents a fixed value, exemplarily, the value of a is 4096, the data voltage Vsource generally varies between VGSP and VGMP, and Gamma represents the gamma value, which generally ranges from 0 to 4095.
[0091] In the embodiment of the present disclosure, the data voltage is compensated by the first compensation parameter and the second compensation parameter. For a 0 grayscale picture, the data voltage of the sub-pixel after compensation is expressed as:
[0092] V0=VGMP-(VGMP-VGSP)*(L0*G k ) / 4096-Offset (Formula 2)
[0093] Wherein, V0 represents the data voltage of the 0 grayscale sub-pixel, L0 represents the gamma compensation parameter, that is, the gamma compensation coefficient of 0 grayscale, G k Indicates the gamma value of the target grayscale image, Offset indicates the voltage compensation parameter, when the target grayscale image is a 3-grayscale image, L0*G k That is, it represents the gamma value of the 0 grayscale image after compensation. For R, G, and B sub-pixels, the gamma compensation coefficients can be expressed as L 0R , L 0G , L 0B , the voltage compensation parameters can be expressed as Offset R 、Offset G 、Offset B .
[0094] It can be seen from Formula 2 that the larger the gamma compensation coefficient L0 is, the smaller the data voltage V0 of the 0 grayscale sub-pixel is, the greater the brightness of the 0 grayscale sub-pixel is, and the greater the proportion of the first frame brightness; the larger the value of the voltage compensation parameter Offset is, the smaller the data voltage V0 of the 0 grayscale sub-pixel is, the greater the brightness of the 0 grayscale sub-pixel is, and the greater the proportion of the first frame brightness.
[0095] In the embodiment of the present disclosure, considering the differences in the levels of smearing between display panels of different batches and between different display panels of the same batch, one of the voltage compensation parameter and the gamma compensation parameter is obtained by chip tuning, and the other one is obtained by public version value. There are two specific implementation schemes: one is that the voltage compensation parameter adopts the public version value and the gamma compensation parameter adopts the chip tuning value, and the other is that the voltage compensation parameter adopts the chip tuning value and the gamma compensation parameter adopts the public version value.
[0096] In step S201, the first compensation parameter is set to a first common compensation value, where the first common compensation value refers to a public version value, that is, the first compensation parameters of all the display panels adopt the public version value, and the second compensation parameter adopts the film adjustment method.
[0097] Exemplarily, when the first compensation parameter is a voltage compensation parameter and the second compensation parameter is a gamma compensation parameter, step S201 is: set Offset R 、Offset G 、Offset B Set to the first common compensation value, and set L 0R , L 0G , L 0B Set to the first initial value, where Offset R 、Offset G 、Offset B It may be the same or different, L 0R , L 0G , L 0B May be the same or different. R 、Offset G 、Offset B , L 0R , L 0G , L 0B It is 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 pre-burned into the Flash memory through a burning program, and the first frame brightness ratio obtained when measuring in the subsequent step S202 is the first frame brightness ratio after compensation by the first compensation parameter and the second compensation parameter.
[0099] Step S202 , measuring the first frame brightness ratio when the display panel switches from the first grayscale image to the second grayscale image.
[0100] In the embodiment of the present disclosure, for a display panel with an 8-bit bit depth, the ghosting phenomenon is most obvious when the grayscale image is switched from 0 to 255. Therefore, during the debugging process of the embodiment of the present disclosure, when measuring the brightness ratio of the first frame, the test environment is that the display panel switches from 0 to 255, that is, the first grayscale image is a 0 grayscale image, and the second grayscale image is a 255 grayscale image.
[0101] Optionally, the display panel includes a first color channel, a second color channel and a third color channel, the first grayscale picture includes a first grayscale monochrome picture and a first grayscale white picture, and the second grayscale picture includes a second grayscale monochrome picture and a second grayscale white picture.
[0102] Exemplarily, 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. In this case, the first grayscale monochrome picture includes the first grayscale R monochrome picture, the first grayscale G monochrome picture, and the first grayscale B monochrome picture, and the RGB representation is (0,0,0), and the RGB representation of the first grayscale white picture is also (0,0,0). Correspondingly, the second grayscale monochrome picture includes the second grayscale R monochrome picture, the second grayscale G monochrome picture, and the second grayscale B monochrome picture, and the RGB representations are (255,0,0), (0,255,0), (0,0,255), respectively, and the RGB representation of the second grayscale white picture is (255,255,255).
[0103] The step of measuring the first frame brightness ratio when the display panel switches from the first grayscale picture to the second grayscale picture includes:
[0104] (21) Measure the first frame brightness ratio P when the display panel switches from the first grayscale white picture (0,0,0) to the second grayscale white picture (255,255,255), and record the first frame brightness ratio P as P W ;
[0105] (22) Measure the first frame brightness ratio P when the display panel switches from the first grayscale R monochrome picture (0,0,0) to the second grayscale R monochrome picture (255,0,0), and record the first frame brightness ratio P as P R ;
[0106] (23) Measure the first frame brightness ratio P when the display panel switches from the first grayscale G monochrome picture (0, 0, 0) to the second grayscale G monochrome picture (0, 255, 0), and record the first frame brightness ratio P as P G ;
[0107] (24) Measure the first frame brightness ratio P when the display panel switches from the first grayscale B monochrome picture (0,0,0) to the second grayscale B monochrome picture (0,0,255), and record 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 Indicates the brightness of the first frame after the screen switches, L max Indicates the maximum brightness after the screen switches, which is usually the stable brightness after the screen switches. Specifically, after the screen switches, the brightness is usually low in the first frame, and then the brightness rises and tends to be stable. For example, after the third frame, the brightness remains at a large brightness value. At this time, L max It can also be understood as the brightness after the third frame after the screen is switched. In specific implementation, the second grayscale screen may include multiple frames, and the brightness ratio of the first frame can be calculated by measuring the brightness values of several consecutive frames.
[0109] Step S203, determining whether the brightness ratio of the first frame meets a preset condition, and when the determination result is yes, executing step S204, and when the determination result is no, executing step S205.
[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, it can be set to 90%, 92%, 95%, etc. Exemplarily, when the preset first frame brightness ratio threshold is 90%, the display panel is judged to meet the preset condition when the first frame brightness ratio is greater than 90%.
[0111] Correspondingly, the step of determining whether the first frame brightness ratio satisfies the preset condition in step S203 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 satisfies 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 the monochrome picture are both greater than the preset first frame brightness ratio threshold. W , P R , P G , P B When both are greater than the preset first frame brightness ratio threshold, the preset condition is met.
[0112] Step S204: setting the first common compensation value and the current parameter value of the second compensation parameter as brightness compensation data of the display panel.
[0113] When the first frame brightness ratio of the display panel meets the preset conditions, the film adjustment process of the display panel ends, and the parameter values of the first compensation parameter and the second compensation parameter are set as the brightness compensation data of the display panel. When the display panel is displayed later, the brightness ratio of the first frame is increased by compensating the data voltage with the brightness compensation data, which improves 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 film adjustment process shown in steps S201 to S205 is a film adjustment process of a voltage compensation parameter, that is, a film adjustment of an ODC value; when the first compensation parameter is a voltage compensation parameter and the second compensation parameter is a gamma compensation parameter, the film adjustment process shown in steps S201 to S205 is a film adjustment process of a gamma compensation parameter, that is, a film adjustment of L0.
[0114] Step S205, adjust the parameter value of the second compensation parameter, and repeat 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 the preset conditions until the judgment result is yes, that is, repeat steps S202 to S205 until the parameter value of the second compensation parameter makes the first frame brightness ratio of the display panel meet the preset conditions.
[0115] When the first frame brightness ratio of the display panel does not meet the preset conditions, 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 re-burned into the Flash memory, so that the adjusted parameter value of the second compensation parameter will be used in subsequent compensation.
[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 , L 0B , and finally a set of L 0R , L 0G , L 0B The first frame brightness ratio of the display panel meets the preset conditions, wherein the L 0R , L 0G , L 0B It 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 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, that is, adjusting the Offset R 、Offset G 、Offset B , and finally get a set of Offset R 、Offset G 、Offset B The brightness ratio of the first frame of the display panel meets the preset conditions, wherein the Offset obtained by the film adjustment R 、Offset G 、Offset B It may be the same or different.
[0118] In a specific implementation, the method for adjusting the parameter value of the second compensation parameter includes: increasing or decreasing the parameter value of the second compensation parameter by a preset value. Specifically: when under-compensation occurs, the parameter value of the second compensation parameter is increased by a preset value, and when over-compensation occurs, the parameter value of the second compensation parameter is decreased by a preset value. Wherein, under-compensation means that the brightness ratio of the first frame is less than or equal to the preset brightness ratio threshold of the first frame, and over-compensation means that the brightness ratio of the first frame is greater than 100%.
[0119] Exemplarily, 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 to VGMP can be divided into 1024 parts, that is, the preset value is expressed as: (VGMP-VGSP) / 1024, and the compensation strength is adjusted by increasing or decreasing the proportion of the preset value in the voltage compensation parameter. Specifically, the voltage compensation parameter is measured as the first frame brightness ratio in the first initial value state. If the first frame brightness ratio is less than or equal to the 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 reduced by (VGMP-VGSP) / 1024. The parameter value that meets the preset conditions is obtained through multiple adjustments.
[0120] In a possible implementation, the first initial value is a 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:
[0121] (31) 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 the measurement parameter value.
[0122] The first common compensation value is a public version value, which can be obtained by performing film adjustment on multiple sample display panels. For example, 10 sample display panels are selected from a batch of display panels, and then each sample display panel is film adjusted to obtain 10 measured parameter values of the first compensation parameter, and then the measured parameter value with the highest frequency of occurrence among the 10 measured parameter values is used as the public version value, that is, the public version value is used as the parameter value of the first compensation parameter in the batch of display panels. During the debugging process of the first common compensation value, the parameter value of the second compensation parameter can be set to 0.
[0123] (32) Determine a second common compensation value according to the measured parameter values corresponding to the plurality of sample display panels.
[0124] In the disclosed embodiment, when the second compensation parameter is adjusted, the initial value of the second compensation parameter is set to a public version value, that is, a second common compensation value, and then each of the display panels is adjusted. With such a setting, during the adjustment, the parameter value that meets the requirements can be quickly debugged, thereby reducing the adjustment time of each of the display panels, that is, the debugging time can be shortened.
[0125] Specifically, the second common compensation value can be obtained by performing chip tuning on a plurality of sample display panels. For example, 10 sample display panels are set, and then each sample display panel is chip tuned to obtain 10 measurement parameter values, and then the second common compensation value is determined based on the 10 measurement parameter values.
[0126] Among them, there can be multiple schemes for determining the second common compensation value based on the multiple measurement parameter values obtained by measurement, such as taking the average value of 10 measurement parameter values as the second common compensation value, or taking the measurement parameter value with the highest frequency among the 10 measurement parameter values 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 measurement parameter value. Therefore, when debugging the display panels, the actual values of each display panel can be quickly reached, thereby shortening the film adjustment cycle.
[0127] Optionally, the step of determining the second common compensation value according to the measurement parameter values corresponding to the multiple sample display panels includes: determining the measurement parameter value with the highest frequency among the measurement parameter values corresponding to the multiple 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 the principle of determining the second common compensation value, and will not be described in detail in the embodiment of the present disclosure.
[0129] In a possible implementation, the preset condition includes, in addition to the first frame brightness ratio being greater than a preset first frame brightness ratio threshold, also including the maximum difference between the first frame brightness ratios of each monochrome picture being less than a preset difference threshold.
[0130] Correspondingly, the step of judging whether the brightness ratio of the first frame meets the preset conditions includes, in addition to judging whether the brightness ratio of the first frame of the white picture and the brightness ratio of the first frame of each monochrome picture are greater than the preset first frame brightness ratio threshold, also including: judging whether the maximum difference between the brightness ratios of the first frames of each monochrome picture is less than the preset difference threshold, and judging that the brightness ratio of the first frame meets the preset conditions when the judgment result is that the brightness ratio of the first frame of the white picture and the brightness ratio of the first frame of the monochrome picture are both greater than the first frame brightness ratio threshold, and the maximum difference between the brightness ratios of the first frames of each monochrome picture is less than the preset difference threshold.
[0131] Continuing to take the display panel in RGB format as shown above as an example, the steps of determining whether the brightness ratio of the first frame meets the preset conditions include:
[0132] (41) Determine P W , P R , P G , P B Whether it is greater than a preset first frame brightness ratio threshold. Exemplarily, the preset first frame brightness ratio threshold is 90%.
[0133] (42) Determine P R , P G , P B Is the maximum difference between them less than the preset difference threshold, where the maximum difference is also P R , P G , P B The maximum value of each difference obtained by subtracting each two of them can also be understood as P R , P G , P B The difference between the maximum value and the minimum value. Exemplarily, the preset difference threshold is 0.6.
[0134] Then when P W , P R , P G , P B Both are greater than 90% and P R , P G , P B When the maximum difference in is less than 0.6, it is determined that the brightness ratio of the first frame meets the preset condition. At this time, the parameter value of the second compensation parameter can be used as the final brightness compensation data.
[0135] In the disclosed embodiment, when judging whether the brightness ratio of the first frame meets the preset conditions, a judgment condition for the difference in the brightness ratio of the first frame of the monochrome picture is added. This setting takes into account the brightness difference between the various color channels. If the brightness of a color channel is much higher or lower than other channels, even if the overall brightness meets the requirements, it may cause the image color to be unbalanced or look unnatural. By limiting the maximum difference, it can ensure that the image is more balanced in brightness and avoid obvious color deviation.
[0136] In a possible implementation, step S202, that is, the step of measuring the brightness ratio of the first frame when the display panel switches from the first grayscale image to the second grayscale image, and determining whether the brightness ratio of the first frame meets the preset conditions, also includes: detecting whether the current value when the display panel displays the first grayscale image is greater than a preset current threshold, and when the detection result is yes, ending the debugging process of the second compensation parameter; when the detection result is no, executing the step of measuring the brightness ratio of the first frame when the display panel switches from the first grayscale image to the second grayscale image, and determining whether the brightness ratio of the first frame meets the preset conditions.
[0137] In the disclosed embodiment, before step S202, it is necessary to first determine whether the display panel has a black-and-shiny phenomenon. The black-and-shiny phenomenon means that the 0 grayscale is not completely black, and a slight shine can be seen in a dark room environment, that is, there is a certain brightness at the 0 grayscale. The black-and-shiny phenomenon is usually not allowed to occur. When the display panel has a black-and-shiny phenomenon, the film adjustment process is directly terminated. When the black-and-shiny phenomenon does not exist, step S202 is executed to measure the brightness ratio of the first frame.
[0138] In a specific implementation, the current value when the display panel displays a 0 grayscale image can be detected. When the current value is greater than a preset current threshold (e.g., 0.005A), it is determined that the display panel has a black-glowing phenomenon. If the current value is less than or equal to 0.005A, it is determined that the display panel does not have a black-glowing 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 a black-glowing phenomenon.
[0139] In a possible implementation manner, the brightness compensation method further includes:
[0140] (51) When the first frame brightness ratio meets a preset condition, the parameter value of the second compensation parameter is increased, and the first frame brightness ratio when the display panel switches from the first grayscale image to the second grayscale image is measured.
[0141] (52) Determine whether over-compensation occurs based on the brightness ratio of the first frame. When the judgment result is over-compensation, execute step (53). When the judgment result is not over-compensation, repeat the step of increasing the parameter value of the second compensation parameter until the judgment result is over-compensation.
[0142] (53) Setting the parameter value of the second compensation parameter before the current adjustment as the brightness compensation data of the display panel to be debugged.
[0143] The brightness compensation method of the disclosed embodiment, during the film adjustment process, after the film adjustment obtains a parameter value that the brightness ratio of the first frame meets a preset condition, the film adjustment will continue to find a critical parameter value that causes over-compensation of the display panel, and finally the maximum parameter value that is less than the critical parameter value is used as the brightness compensation data.
[0144] For the display panel, when the parameter value of the voltage compensation parameter is determined, the relationship between the smear level and the gamma compensation coefficient L0 is as follows: Figure 4 As shown in the figure, the larger the gamma compensation coefficient L0 is, the higher the first frame brightness ratio P is. w , P R , P G , P B The larger the value, the lighter the ghosting phenomenon. On the contrary, the smaller the gamma compensation coefficient L0 is, the higher the brightness ratio of the first frame is. w , P R , P G , P B The smaller it is, the more obvious the ghosting phenomenon is. When the gamma compensation coefficient L0 increases to a certain extent, it will lead to over-compensation, that is, the brightness of the first frame is greater than the final brightness, which can be specifically manifested as the first frame brightness ratio is greater than 100%, which is also not allowed. In the process of adjusting the gamma compensation coefficient L0, it is necessary to increase the value of L0 as much as possible while ensuring that it is not over-compensated.
[0145] In addition, for the display panel, when the parameter value of the gamma compensation parameter is determined, the relationship between the smear level and the voltage compensation parameter ODC is as follows: Figure 5 As shown in the figure, the larger the value of the voltage compensation parameter ODC is, the higher the first frame brightness ratio P is. w , P R , P G , P B The larger the value, the lighter the ghosting phenomenon. On the contrary, the smaller the value of the voltage compensation parameter ODC is, the higher the first frame brightness ratio P w , P R , P G , P B The smaller it is, the more obvious the ghosting phenomenon is. However, as the voltage compensation parameter ODC increases, when the voltage compensation parameter ODC increases to a certain extent, it will lead to over-compensation, that is, the brightness of the first frame is greater than the final brightness, which can be specifically manifested as the first frame brightness ratio is greater than 100%, which is also not allowed. In the process of adjusting the voltage compensation parameter ODC, it is necessary to increase the parameter value of the voltage compensation parameter ODC as much as possible while ensuring that it is not over-compensated.
[0146] The embodiment of the present disclosure can obtain the maximum gamma compensation coefficient L0 and voltage compensation parameter ODC that meet the requirements through the above steps (51) to (53), which can increase the brightness ratio of the first frame as much as possible and improve the ghosting phenomenon on the basis of ensuring that the display panel will not be over-compensated.
[0147] The following takes the first compensation parameter as a voltage compensation parameter and the second compensation parameter as a gamma compensation parameter as an example to describe the overall process of determining brightness compensation data in the embodiment of the present disclosure. Figure 6 As shown, the following steps are included:
[0148] Step S301 , debugging a sample display panel to obtain a parameter value of a voltage compensation parameter and a parameter value of a gamma compensation parameter, wherein the parameter value of the voltage compensation parameter is a first common compensation value, and the parameter value of the gamma compensation parameter is a first initial value.
[0149] Step S302: setting the parameter value of the voltage compensation parameter in the display panel to a first common compensation value, and setting the parameter value of the gamma compensation parameter to a first initial value.
[0150] In a specific implementation, the first common compensation value and the first initial value are written into the Flash memory. Afterwards, when the display panel is displaying, the driver chip reads the brightness compensation data from the Flash memory and uses the brightness compensation data to compensate the data voltage of the image to be displayed.
[0151] Step S303, measuring the first frame brightness ratio P when the display panel switches from the first grayscale white image to the second grayscale white image W , the first frame brightness ratio P when switching from the first grayscale R monochrome picture to the second grayscale R monochrome picture R , the first frame brightness ratio P when switching from the first grayscale G monochrome picture to the second grayscale G monochrome picture G , and the first frame brightness ratio P when the first grayscale B monochrome picture is switched to the second grayscale B monochrome picture B And the current value when displaying the first grayscale image. Among them, the P measured in step S303 W , P R , P G , P B They are all the first frame brightness ratios after the display image is compensated using the parameter values of the above voltage compensation parameters and gamma compensation parameters.
[0152] Step S304, determine whether the current value when the display panel displays the first grayscale image is greater than the preset current threshold. If the judgment result is no, it means that the black-to-bright phenomenon does not occur, and execute step S305. If the judgment result is yes, it means that the black-to-bright phenomenon occurs, and execute step S311 to end the film adjustment process.
[0153] Step S305, determine the first frame brightness ratio P W , P R , P G , P B Are they both greater than the preset first frame brightness ratio threshold and the first frame brightness ratio P R , P G , P B The maximum difference between them is less than the preset difference threshold. If the judgment result is yes, it means that the preset condition is met, and step S306 is executed. If the judgment result is no, it means that the preset condition is not met, and step S310 is executed.
[0154] Step S306, increase the gamma compensation coefficient L 0R , L 0G , L 0B The parameter value of the gamma compensation coefficient L 0R , L 0G , L 0B Write the parameter values to the Flash memory.
[0155] Step S307, measuring and determining whether the current value when the display panel displays the first grayscale image is greater than a preset current threshold. If the determination result is yes, it indicates that a black-bright phenomenon occurs after the gamma compensation coefficient is increased, and step S309 is executed.
[0156] Step S308, measuring the brightness ratio P of the first frame W , P R , P G , P B And determine the first frame brightness ratio P W , P R , P G , P B Is it greater than 100%? If the judgment result is yes, it means over-compensation has occurred, and step S309 is executed. If the judgment result is no, it means no over-compensation has occurred, and the process returns to step S306 to continue to increase the parameter value of the gamma compensation coefficient.
[0157] In step S308, the first frame brightness ratio P can be first determined. W Is it greater than 100%? If the result is yes, it means over-compensation, and no further adjustment is needed for the first frame brightness ratio P R , P G , P B If the result is negative, the brightness ratio of the first frame needs to be further determined. R , P G , P B Is it greater than 100%? If any one of them is greater than 100%, it also indicates over-compensation.
[0158] Step S309: adjust the gamma compensation coefficient L 0R , L 0G , L 0B The parameter value is used as brightness compensation data and written into the Flash memory.
[0159] Step S310, adjusting the gamma compensation coefficient L 0R , L 0G , L 0B The parameter value is written into the Flash memory and the process returns to step S303.
[0160] Step S311, ending the film adjustment process.
[0161] In the embodiment of the present disclosure, through the above-mentioned steps S301 to S311, a maximum gamma compensation coefficient in which the brightness ratio of the first frame meets the preset conditions can be obtained on the basis that no black-to-brightness phenomenon occurs.
[0162] The following takes the first compensation parameter as a gamma compensation parameter and the second compensation parameter as a voltage compensation parameter as an example to describe the overall process of the brightness compensation method of the embodiment of the present disclosure. Figure 7 As shown, the following steps are included:
[0163] Step S401 , debugging a sample display panel to obtain a parameter value of a voltage compensation parameter and a parameter value of a gamma compensation parameter, wherein the parameter value of the gamma compensation parameter is a first common compensation value, and the parameter value of the voltage compensation parameter is a first initial value.
[0164] Step S402: setting the parameter value of the gamma compensation parameter in the display panel to a first common compensation value, and setting the parameter value of the voltage compensation parameter to a first initial value.
[0165] In a specific implementation, the first common compensation value and the first initial value are written into the Flash memory. Afterwards, when the display panel is displaying, the driver chip reads the brightness compensation data from the Flash memory and uses the brightness compensation data to compensate the data voltage of the image to be displayed.
[0166] Step S403, measuring the first frame brightness ratio P when the display panel switches from the first grayscale white image to the second grayscale white image W , the first frame brightness ratio P when switching from the first grayscale R monochrome picture to the second grayscale R monochrome picture R , the first frame brightness ratio P when switching from the first grayscale G monochrome picture to the second grayscale G monochrome picture G , and the first frame brightness ratio P when the first grayscale B monochrome picture is switched to the second grayscale B monochrome picture B And the current value when displaying the first grayscale image. Among them, the P measured in step S403W , P R , P G , P B They are all the first frame brightness ratios after the display image is compensated using the parameter values of the above voltage compensation parameters and gamma compensation parameters.
[0167] Step S404, determine whether the current value when the display panel displays the first grayscale image is greater than the preset current threshold. If the judgment result is no, it means that the black-to-bright phenomenon does not occur, and execute step S405. If the judgment result is yes, it means that the black-to-bright phenomenon occurs, and execute step S411 to end the film adjustment process.
[0168] Step S405, determine the first frame brightness ratio P W , P R , P G , P B Whether they are all greater than the preset first frame brightness ratio threshold and the maximum difference is less than the preset difference threshold, if the judgment result is yes, it means that the preset conditions are met, and step S406 is executed; if the judgment result is no, it means that the preset conditions are not met, and step S410 is executed.
[0169] Step S406, increasing the voltage compensation parameter Offset 0R 、Offset 0G 、Offset 0B The parameter value of the voltage compensation parameter Offset 0R 、Offset 0G 、Offset 0B Write the parameter values to the Flash memory.
[0170] Step S407, measuring and determining whether the current value when the display panel displays the first grayscale image is greater than a preset current threshold. If the determination result is yes, it indicates that a black-brightening phenomenon occurs after the gamma compensation coefficient is increased, and step S409 is executed.
[0171] Step S408, measuring the brightness ratio P of the first frame W , P R , P G , P B And determine the first frame brightness ratio P W , P R , P G , P B Is it greater than 100%? If the judgment result is yes, it means over-compensation has occurred, and step S409 is executed. If the judgment result is no, it means no over-compensation has occurred, and the process returns to step S406 to continue to increase the parameter value of the voltage compensation parameter.
[0172] Step S409: Set the voltage compensation parameter Offset before the current adjustment0R 、Offset 0G 、Offset 0B The parameter value is used as brightness compensation data and written into the Flash memory.
[0173] Step S410, adjusting 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, the second aspect of the present disclosure provides a brightness compensation device, including 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 brightness compensation method described above when executing the program. 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 screen can also be set to other types according to actual needs. For example, the display screen can also be a quantum dot light emitting diode (Quantum Dot Light Emitting Diode, referred to as QLED) display screen or a micro light emitting diode (Micro Light Emitting Diode, referred to as Micro LED) display screen, etc.
[0177] Based on the same inventive concept, the third aspect of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the brightness compensation method described above are implemented.
[0178] In the specific implementation process, the computer storage medium 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 codes.
[0179] Based on the same inventive concept, the fourth aspect of the present disclosure provides a computer program product, including a computer program, which implements the steps of the brightness compensation method described above when executed by a processor. Since the principle of solving the problem by the above computer program is similar to the principle of the brightness compensation method, the implementation of the above computer program can refer to the implementation of the brightness compensation method, and the repeated parts will not be repeated.
[0180] The computer program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, 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 disk 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 merely examples for clearly illustrating the present disclosure, and are not limitations on the implementation methods of the present disclosure. For ordinary technicians in this field, other different forms of changes or modifications can be made on the basis of the above description. It is impossible to list all the implementation methods here. All obvious changes or modifications derived from the technical solution of the present disclosure are still within the protection scope of the present disclosure.
Claims
1. A brightness compensation method, characterized in that: The following steps are involved: Acquire 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 is obtained by debugging the display panel, and the other of the gamma compensation parameter and the voltage compensation parameter is a common compensation value; The data voltage of the image frame to be displayed on the display panel is compensated by the brightness compensation data and the compensated data voltage is used to drive the display panel for display. When the display panel displays the compensated image frame to be displayed, the brightness ratio of the first frame meets the preset condition.
2. The brightness compensation method according to claim 1, characterized in that: 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 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; 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, adjust the parameter value of the second compensation parameter, and repeat 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 the preset conditions until the judgment result is yes.
3. The brightness compensation method according to claim 2, characterized in that: 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 as the first common compensation value, and debug each sample display panel to obtain the parameter value of the second compensation parameter as the measurement parameter value; A second common compensation value is determined according to the measured parameter values corresponding to the plurality of sample display panels.
4. The brightness compensation method according to claim 3, characterized in that: 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.
5. The brightness compensation method according to claim 1, characterized in that: The display panel includes a first color channel, a second color channel and a third color channel, the first grayscale picture includes a first grayscale monochrome picture and a first grayscale white picture, and the second grayscale picture includes a second grayscale monochrome picture and a second grayscale white picture; 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 include: Measuring the first frame brightness ratio of a monochrome picture when the display panel switches from a first grayscale monochrome picture to a second grayscale monochrome picture, and measuring the first frame brightness ratio of a white picture when the display panel switches from a first grayscale white picture to a 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 the 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.
6. The brightness compensation method according to claim 5, characterized in that: The preset condition includes that the first frame brightness ratio is greater than a preset first frame brightness ratio threshold; The step of judging whether the first frame brightness ratio meets the preset conditions includes: judging 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 judged that the first frame brightness ratio meets the preset conditions.
7. The brightness compensation method according to claim 6, 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 picture is less than a preset difference threshold; when 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 each monochrome picture is less than the preset difference threshold, it is determined that the first frame brightness ratio meets the preset conditions.
8. The brightness compensation method according to claim 2, characterized in that: 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.
9. The brightness compensation method according to claim 1, characterized in that: After the step of determining whether the first frame brightness ratio meets the preset condition, the step 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 over-compensation is performed according to the first frame brightness ratio; When the judgment result is over-compensation, setting the parameter value of the second compensation parameter before the current adjustment as the brightness compensation data of the display panel to be debugged; When the judgment result 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 judgment result is that the compensation is over-compensated.
10. The brightness compensation method according to claim 2, characterized in that: The gamma compensation parameter is a gamma compensation coefficient corresponding to a 0 grayscale image, and 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 It indicates the gamma value of the target grayscale image, and Offset indicates the voltage compensation parameter.
11. The brightness compensation method according to claim 10, characterized in that: 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.
12. The brightness compensation method according to claim 1, characterized in that: The step of adjusting the parameter value of the second compensation parameter comprises: The parameter value of the second compensation parameter is increased or decreased by a preset value.
13. A brightness compensation device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the brightness compensation method according to any one of claims 1 to 12 are implemented.
14. 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 12 are implemented.
15. 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 12 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
Display drive, reference gamma voltage supply device, and display device
JP2023150601A
Sputtering device
KR102236048B1
Gamma correction method and device, display device, and computer storage medium
US20200286423A1