CN114596827B - Data voltage compensation method of display panel, display panel and display device - Google Patents
Data voltage compensation method of display panel, display panel and display device Download PDFInfo
- Publication number
- CN114596827B CN114596827B CN202210294201.1A CN202210294201A CN114596827B CN 114596827 B CN114596827 B CN 114596827B CN 202210294201 A CN202210294201 A CN 202210294201A CN 114596827 B CN114596827 B CN 114596827B
- Authority
- CN
- China
- Prior art keywords
- gray
- scale value
- value
- target
- scale
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000012545 processing Methods 0.000 claims description 13
- 238000013507 mapping Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 5
- 230000007547 defect Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 239000004973 liquid crystal related substance Substances 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 3
- 239000003990 capacitor Substances 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001808 coupling effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/36—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0242—Compensation of deficiencies in the appearance of colours
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The application provides a data voltage compensation method of a display panel, which comprises the steps of obtaining preset gray-scale values of all sub-pixels of a target pixel group; adding preset gray-scale values of all sub-pixels of the target pixel group to obtain a first gray-scale value sum; when the first gray-scale value sum value meets a first preset condition, adding preset gray-scale values of all sub-pixels of at least one pixel group of the target pixel group to obtain at least one second gray-scale value sum value; when a certain second gray-scale value and a certain second gray-scale value meet a second preset condition, determining a target sub-pixel needing compensation in a corresponding pixel group; determining a first target gray-scale value of the target sub-pixel according to the gray-scale value compensation table; and determining the compensated target data voltage according to the first target gray-scale value of the target sub-pixel. The application also provides a display panel and a display device. According to the data voltage compensation method of the display panel, poor display such as color cast can be avoided through data voltage compensation applied to the target sub-pixel.
Description
Technical Field
The present disclosure relates to the field of display technologies, and in particular, to a data voltage compensation method for a display panel, a display panel and a display device.
Background
When a TFT-LCD (Thin Film Transistor-Liquid Crystal Display) Display screen displays, if the difference between the positive and negative data voltages applied to a pixel is too large or the voltage difference between the positive and negative data voltages is too large, the capacitive coupling effect between the data line and the common electrode is aggravated, and the offset of the common electrode voltage is aggravated, so that the voltage difference between the Liquid Crystal capacitors of the pixel is too large, and Display defects such as color deviation (color shift) are generated.
Disclosure of Invention
In order to solve the above technical problem, the present application provides a data voltage compensation method for a display panel, a display panel and a display device, which can compensate data voltages applied to sub-pixels, and offset an offset of a common electrode voltage, so that a voltage difference of liquid crystal capacitors of the sub-pixels is not too large, and thus display defects such as color deviation can be avoided.
The present application provides a data voltage compensation method of a display panel, where the data voltage compensation method of the display panel includes: acquiring preset gray-scale values of all sub-pixels of a target pixel group, wherein the target pixel group is any one of all pixel groups of the display panel, and the preset gray-scale values of all sub-pixels of the target pixel group comprise a preset gray-scale value which is a positive value and a preset gray-scale value which is a negative value; adding preset gray-scale values of all sub-pixels of the target pixel group to obtain a first gray-scale value sum; when the first gray-scale value sum value meets a first preset condition, adding preset gray-scale values of all sub-pixels of at least one pixel group of the target pixel group to obtain at least one second gray-scale value sum value, wherein the at least one pixel group forms the target pixel group; when a certain second gray-scale value and value meet a second preset condition, determining a target sub-pixel needing compensation in a corresponding pixel group according to the second gray-scale value and value; determining a first target gray-scale value of the target sub-pixel according to the second gray-scale value and the absolute value of the second gray-scale value, the preset gray-scale value of the target sub-pixel and a gray-scale value compensation table stored in the display panel, wherein the gray-scale value compensation table records the mapping relation among the absolute value of the gray-scale value and the value, the preset gray-scale value and the target gray-scale value; determining a compensated target data voltage for application to the target subpixel according to a first target gray-scale value of the target subpixel.
A second aspect of the present application provides a display panel including an acquisition module and a processing module. The acquisition module is used for acquiring preset gray-scale values of all sub-pixels of a target pixel group, wherein the target pixel group is any one of all pixel groups of the display panel, and the preset gray-scale values of all sub-pixels of the target pixel group comprise a preset gray-scale value which is a positive value and a preset gray-scale value which is a negative value. The processing module is configured to add preset gray scale values of all sub-pixels of the target pixel group to obtain a first gray scale value and a first gray scale value, and when it is determined that the first gray scale value and the first gray scale value satisfy a first preset condition, add preset gray scale values of all sub-pixels of at least one pixel group of the target pixel group to obtain at least one second gray scale value and a second gray scale value, where the at least one pixel group constitutes the target pixel group, and when it is determined that a certain second gray scale value and a second preset condition are satisfied, determine a target sub-pixel to be compensated in the corresponding pixel group according to the second gray scale value and the second gray scale value, and determine a first target gray scale value of the target sub-pixel according to the second gray scale value and the second gray scale value, the preset gray scale value of the target sub-pixel, and a gray scale value compensation table stored in the display panel, where the gray scale value compensation table records an absolute value of the gray scale value and the preset gray scale value, an absolute value of the target sub-pixel mapping relationship of the target gray scale value, and a target sub-pixel voltage, and target sub-pixel voltage data for determining the target sub-pixel after the target sub-pixel is applied to the target sub-pixel.
A third aspect of the present application provides a display device, which includes a memory and a processor, where the memory stores a computer program, and the computer program is used for the processor to call and then execute the aforementioned data voltage compensation method of the display panel.
According to the data voltage compensation method of the display panel, the display panel and the display device, when the first gray-scale value and the first gray-scale value of the target pixel group meet the first preset condition, the second gray-scale value and the second gray-scale value of the pixel group are calculated, when the second gray-scale value and the second gray-scale value meet the second preset condition, the target sub-pixel needing to be compensated is determined according to the second gray-scale value and the second gray-scale value, the first target gray-scale value of the target sub-pixel is determined according to the preset gray-scale value of the target sub-pixel and the gray-scale value compensation table, the data voltage applied to the target sub-pixel is compensated according to the first target gray-scale value, the offset of the common electrode voltage is offset, the phenomenon that the voltage difference is too large due to the offset of the common electrode voltage can be avoided, and therefore display defects such as color deviation (color cast) can be avoided.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings required to be used in the embodiments will be briefly described below, it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a data voltage compensation method of a display panel according to an embodiment of the present disclosure.
Fig. 2 is a block diagram of a display panel according to an embodiment of the present disclosure.
Fig. 3 is a sub-flowchart of step S105 in fig. 1 according to an embodiment of the present disclosure.
Fig. 4 is a schematic diagram of a gray-scale compensation table according to an embodiment of the present application.
Fig. 5 is a sub-flowchart of step S105 in fig. 1 according to another embodiment of the present application.
Fig. 6 is a pixel layout diagram according to an embodiment of the present application.
Fig. 7 is a block diagram of a display device according to an embodiment of the present application.
Description of the main element symbols:
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present disclosure.
Throughout the description of the present application, unless expressly stated or limited otherwise, the term "coupled" is to be construed broadly, e.g., as meaning fixedly attached, detachably attached, or integrally attached; the two components can be directly connected, indirectly connected through an intermediate medium, or communicated with each other inside the two components; may be a communication connection; may be an electrical connection. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
Referring to fig. 1 and fig. 2, fig. 1 is a flowchart illustrating a data voltage compensation method of a display panel according to an embodiment of the present disclosure, and fig. 2 is a block diagram illustrating a structure of a display panel 100 according to an embodiment of the present disclosure. The data voltage compensation method of the display panel is applied to the display panel 100 shown in fig. 2, the display panel 100 includes a plurality of rows and a plurality of columns of pixels arranged in an array, each row of pixels forms a pixel group, and each pixel includes at least three sub-pixels. As shown in fig. 1, the data voltage compensation method of the display panel includes the following steps:
s101: the method comprises the steps of obtaining preset gray-scale values of all sub-pixels of a target pixel group, wherein the target pixel group is any one of all pixel groups of a display panel, and the preset gray-scale values of all sub-pixels of the target pixel group comprise a preset gray-scale value which is a positive value and a preset gray-scale value which is a negative value.
S102: and adding the preset gray-scale values of all the sub-pixels of the target pixel group to obtain a first gray-scale value sum.
S103: and when the first gray-scale value sum value meets a first preset condition, adding preset gray-scale values of all sub-pixels of at least one pixel group of the target pixel group to obtain at least one second gray-scale value sum value, wherein the at least one pixel group forms the target pixel group.
S104: and when a certain second gray-scale value and value meet a second preset condition, determining a target sub-pixel needing compensation in the corresponding pixel group according to the second gray-scale value and value.
S105: and determining a first target gray-scale value of the target sub-pixel according to the second gray-scale value and the absolute value of the second gray-scale value, the preset gray-scale value of the target sub-pixel and a gray-scale value compensation table stored in the display panel, wherein the gray-scale value compensation table records mapping relations among the absolute value of the gray-scale value and the absolute value, the preset gray-scale value and the target gray-scale value.
S106: determining a compensated target data voltage for application to the target subpixel according to a first target gray-scale value of the target subpixel.
In the data voltage compensation method of the display panel provided in the embodiment of the present application, when it is determined that the first gray-scale value and the first gray-scale value of the target pixel group satisfy the first preset condition, the second gray-scale value and the second gray-scale value of the pixel group are calculated, when the second gray-scale value and the second gray-scale value satisfy the second preset condition, the target sub-pixel needing to be compensated is determined according to the second gray-scale value and the second gray-scale value, the first target gray-scale value of the target sub-pixel is determined according to the preset gray-scale value of the target sub-pixel and the gray-scale value compensation table, and the data voltage applied to the target sub-pixel is compensated according to the first target gray-scale value, which is equivalent to offsetting the offset of the common electrode voltage, so that an excessively large voltage difference caused by the shift of the common electrode voltage can be avoided, and thus, display defects such as color shift (color shift) and the like can be avoided. In addition, in the embodiment of the application, first, the first gray-scale value and the first gray-scale value of the target pixel group are judged, when the first gray-scale value and the first gray-scale value meet the first preset condition, the second gray-scale value and the second gray-scale value of the pixel group are calculated, then, the second gray-scale value and the second gray-scale value are judged, when the second gray-scale value and the second gray-scale value meet the second preset condition, it is determined that the sub-pixels in the pixel group need to be compensated, whether the sub-pixels in the area need to be compensated is determined by judging in a regional mode, whether a certain sub-pixel needs to be compensated is determined without judging each sub-pixel, the compensation efficiency of the data voltage is improved, and the time for compensating the data voltage is reduced.
In some embodiments, the display panel 100 includes a common electrode for applying a common electrode voltage to all the sub-pixels.
In some embodiments, the display panel 100 includes a Source driver (Source driver) connected to all the sub-pixels through data lines, respectively, and applying data voltages to all the sub-pixels through the data lines, specifically, applying positive polarity data voltages to a part of the sub-pixels, and applying negative polarity data voltages to a part of the sub-pixels, wherein the positive polarity data voltages are greater than the common electrode voltage, and the negative polarity data voltages are less than the common electrode voltage. When a positive polarity data voltage or a negative polarity data voltage and the common electrode voltage are applied to a certain sub-pixel, a voltage difference (pixel voltage) is formed at two ends of the sub-pixel, and the voltage difference drives liquid crystal molecules in the sub-pixel to deflect, so that light rays pass through the sub-pixel to realize image display.
In the present application, when the data voltage applied to a certain sub-pixel is a positive data voltage, the gray level of the sub-pixel is a positive value, and when the voltage difference between two ends of the sub-pixel is larger, the deflection angle of the liquid crystal molecules is larger, the more the light passes through the sub-pixel, the larger the gray level of the sub-pixel is, that is, the gray level of the sub-pixel is proportional to the voltage difference between two ends of the sub-pixel; when the data voltage applied to a certain sub-pixel is a negative polarity data voltage, the gray scale value of the sub-pixel is a negative value, and when the voltage difference between the two ends of the sub-pixel is larger, the larger the deflection angle of the liquid crystal molecules is, the more the light rays pass through the sub-pixel is, the smaller the gray scale value of the sub-pixel is, that is, the gray scale value is in inverse proportion to the voltage difference between the two ends of the sub-pixel. When a positive polarity data voltage and a negative polarity data voltage are respectively applied to a certain sub-pixel, and the value of the positive polarity data voltage is equal to that of the negative polarity data voltage, the gray-scale value of the sub-pixel when the positive polarity data voltage is applied is equal to the absolute value of the gray-scale value of the sub-pixel when the negative polarity data voltage is applied.
It is understood that the voltage difference between two ends of a sub-pixel may be determined according to a preset gray scale value of the sub-pixel, and the data voltage corresponding to the preset gray scale value applied to the sub-pixel may be determined according to the voltage difference when the common electrode voltage applied to the sub-pixel is constant.
When the preset gray-scale value of the sub-pixel is a positive value, applying a positive polarity data voltage corresponding to the preset gray-scale value to the sub-pixel; and when the preset gray-scale value of the sub-pixel is a negative value, applying a negative polarity data voltage corresponding to the preset gray-scale value to the sub-pixel.
In some embodiments, all the pixels in the target pixel group are grouped to form the at least one pixel group, and the preset gray-scale values of all the sub-pixels of each pixel group are added to obtain a second gray-scale value sum, so as to obtain at least one second gray-scale value sum.
In some embodiments, each pixel grouping includes a third predetermined number of pixels, wherein the number of pixels of the target pixel group is an integer multiple of the third predetermined number.
In some embodiments, a third predetermined number of the pixels arranged consecutively in the target pixel group may be divided into one pixel group. In other embodiments, any third preset number of pixels in the target pixel group may also be divided into one pixel group.
In some embodiments, the determining a compensated target data voltage for applying to the target subpixel according to the first target gray scale value of the target subpixel comprises: determining the voltage difference between two ends of the target sub-pixel according to the first target gray-scale value; and determining the target data voltage according to the voltage difference and the common electrode voltage.
Wherein, when the second gray scale value sum is a positive value, the target data voltage is equal to the common electrode voltage plus the voltage difference; when the second sum of gray scale values is a negative value, the target data voltage is equal to the common electrode voltage minus the voltage difference.
In some embodiments, the data voltage compensation method of the display panel further includes: applying the target data voltage to the target subpixel.
In some embodiments, as shown in fig. 2, the display panel 100 includes a storage module 30, and the gray-scale compensation table may be stored in the storage module 30. In some embodiments, the display panel 100 includes a Timing Controller (TCON), and the storage module 30 may be an internal memory of the TCON, or an external nonvolatile memory independent of the TCON.
In some embodiments, the target pixel group includes a first preset number of sub-pixels, and the determining that the first gray-scale value and the first gray-scale value satisfy a first preset condition includes: dividing the absolute value of the first gray-scale value sum by a first threshold to obtain a first ratio, wherein the first threshold is half of the product of the first preset number and a first preset gray-scale threshold, and the first preset gray-scale threshold is smaller than or equal to 255; and when the first ratio is greater than or equal to a first preset value, determining that the first gray-scale value sum meets a first preset condition.
The first preset gray scale threshold value can be set by a user according to needs.
The first preset value may be set as required, and is not limited herein.
Illustratively, the first grayscale value and the first grayscale value are +244800, the first preset value is set to 0.20, the first preset grayscale threshold value is 255, the target pixel group includes 5760 sub-pixels, the first threshold value is 734400 (5760 × 255/2= 734400), the absolute value of the first grayscale value and the first grayscale value is divided by the first threshold value to obtain a first ratio 0.33, and the first ratio 0.33 is greater than the first preset value 0.20, so that it is determined that the first grayscale value and the first grayscale value satisfy the first preset condition.
In an embodiment of the present application, the first ratio is obtained by dividing an absolute value of the first grayscale value and the first threshold, and the first ratio is compared with the first preset value to determine whether the first grayscale value and the first threshold satisfy the first preset condition, so that when it is determined that the first grayscale value and the first threshold satisfy the first preset condition, the target pixel group is grouped to form at least one pixel group, and preset grayscale values of the at least one pixel group are added to obtain at least one second grayscale value and at least one second grayscale value.
In some embodiments, the pixel grouping includes a second predetermined number of sub-pixels, and the determining that the certain second gray-scale value and the value satisfy a second predetermined condition includes: dividing the absolute value of the second gray scale value sum by a second threshold to obtain a second ratio, wherein the second threshold is half of the product of the second preset number and a second preset gray scale threshold, and the second preset gray scale threshold is smaller than or equal to 255; and when the second ratio is greater than or equal to a second preset value, determining that the second gray value sum value meets a second preset condition.
The second preset gray level threshold value can be set by a user according to needs.
The second preset value can be set according to needs, and is not limited herein.
Illustratively, the second sum of gray scale values is +1275, the second preset value is set to 0.30, the second preset gray scale threshold value is 255, the pixel group includes 30 sub-pixels, the second threshold value is 3825 (30 × 255/2= 3825), an absolute value of the second sum of gray scale values is divided by the second threshold value to obtain a second ratio 0.33, and the second ratio 0.33 is greater than the second preset value 0.30, so that it is determined that the second sum of gray scale values satisfies the second preset condition.
In the embodiment of the application, the second ratio is obtained by dividing the absolute value of the second gray scale value sum by a second threshold, and the second ratio is compared with the second preset value to determine whether the second gray scale value sum meets the second preset condition, so that when the second gray scale value sum meets the second preset condition, at least part of sub-pixels in the corresponding pixel group are determined to be compensated, and then the target sub-pixels in the corresponding pixel group which need to be compensated are determined according to the second gray scale value sum.
In some embodiments, the determining a target sub-pixel in a corresponding pixel group that needs compensation according to the second gray-scale value and the second gray-scale value includes: when the second gray scale value sum is a positive value, determining all sub-pixels with preset gray scale values being negative values in the corresponding pixel group as the target sub-pixels needing compensation; and when the second gray-scale value sum is a negative value, determining all the sub-pixels with preset gray-scale values as positive values in the corresponding pixel group as the target sub-pixels needing compensation.
When the second gray scale value sum is a positive value, the common electrode voltage moves towards the positive polarity data voltage, that is, the common electrode voltage increases, so that the voltage difference between the negative polarity data voltage applied to the sub-pixels in the corresponding pixel group and the common electrode voltage increases, and all the sub-pixels with the preset gray scale value negative in the corresponding pixel group are determined as target sub-pixels needing compensation, and are compensated to reduce the voltage difference between the negative polarity data voltage applied to the target sub-pixels and the common electrode voltage, so that display defects such as color cast can be avoided.
When the second gray scale value sum is a negative value, the common electrode voltage moves towards the negative polarity data voltage, that is, the common electrode voltage decreases, so that the voltage difference between the positive polarity data voltage applied to the sub-pixels in the corresponding pixel group and the common electrode voltage increases, and all the sub-pixels with positive preset gray scale values in the corresponding pixel group are determined as target sub-pixels needing compensation, and are compensated to reduce the voltage difference between the positive polarity data voltage applied to the target sub-pixels and the common electrode voltage, so that display defects such as color cast can be avoided.
Referring to fig. 3, fig. 3 is a sub-flowchart of step S105 in fig. 1 according to an embodiment of the present disclosure. In some embodiments, as shown in fig. 3, the determining the first target gray scale value of the target sub-pixel according to the second sum of gray scale values, the preset gray scale value of the target sub-pixel and the gray scale value compensation table stored in the display panel includes:
s1051: and when the absolute value of the second gray-scale value sum is determined to be the same as one of the absolute values of the gray-scale values sum recorded in the gray-scale value compensation table, inquiring the gray-scale value compensation table according to the absolute value of the second gray-scale value sum and the absolute value of the preset gray-scale value of the target sub-pixel to obtain the absolute value of the first target gray-scale value of the target sub-pixel.
S1052: and determining the first target gray-scale value according to the absolute value of the first target gray-scale value and the preset gray-scale value of the target sub-pixel, wherein when the preset gray-scale value of the target sub-pixel is a positive value, the first target gray-scale value is equal to the product of the absolute value of the first target gray-scale value and a positive one, and when the preset gray-scale value of the target sub-pixel is a negative value, the first target gray-scale value is equal to the product of the absolute value of the first target gray-scale value and a negative one.
In this embodiment, the first target gray scale value for determining the target data voltage may be obtained by querying the gray scale value compensation table according to the second gray scale value and the preset gray scale value of the target subpixel, so that the data voltage compensation of the target subpixel is realized.
As shown in fig. 4, fig. 4 schematically shows the gray scale value compensation table, where the gray scale value compensation table records a plurality of gray scale values and absolute values of the gray scale values (a second column from left to right in fig. 4), a plurality of preset gray scale values (a second row from top to bottom in fig. 4), and a plurality of absolute values of a first target gray scale value, and an absolute value of a gray scale value and an absolute value of a preset gray scale value correspond to an absolute value of a first target gray scale value.
Illustratively, the second gray scale value sum is +900, the preset gray scale value of the target sub-pixel is-255, and the absolute value of the first target gray scale value of the target sub-pixel is determined to be 240 by referring to the gray scale value compensation table shown in fig. 4, and the first target gray scale value is equal to the product of the absolute value of the first target gray scale value and a negative one, that is, the first target gray scale value is-240, since the preset gray scale value is-255, that is, the preset gray scale value is a negative value.
Still further illustratively, the second gray scale value and the second gray scale value are-1300, the predetermined gray scale value of the target sub-pixel is +192, and the absolute value of the first target gray scale value of the target sub-pixel is 175, which is determined by referring to the gray scale value compensation table shown in fig. 4, and the first target gray scale value is equal to the product of the absolute value of the first target gray scale value and a positive one, that is, the first target gray scale value is +175, because the predetermined gray scale value is +192, that is, the predetermined gray scale value is a positive value.
Referring to fig. 5, fig. 5 is a sub-flowchart of step S105 in fig. 1 according to another embodiment of the present disclosure. In some embodiments, as shown in fig. 5, the determining the first target gray scale value of the target sub-pixel according to the absolute value of the second gray scale value and the absolute value of the second gray scale value, the preset gray scale value of the target sub-pixel, and the gray scale value compensation table stored in the display panel includes the following steps:
s1053: and when the absolute value of the second gray scale value sum is determined to be different from the absolute values of the gray scale values and values recorded in the gray scale value compensation table, acquiring the absolute value of a third gray scale value sum larger than the absolute value of the second gray scale value sum and the absolute value of a fourth gray scale value sum smaller than the absolute value of the second gray scale value sum from the gray scale value compensation table.
S1054: and acquiring the absolute value of a second target gray-scale value corresponding to the absolute value of the third gray-scale value sum from the gray-scale value compensation table according to the absolute value of the third gray-scale value sum and the absolute value of the preset gray-scale value of the target sub-pixel.
S1055: and acquiring the absolute value of a third target gray-scale value corresponding to the absolute value of the fourth gray-scale value sum from the gray-scale value compensation table according to the absolute value of the fourth gray-scale value sum and the absolute value of the preset gray-scale value of the target sub-pixel.
S1056: and calculating by using the absolute value of the third gray-scale value sum, the absolute value of the fourth gray-scale value sum, the absolute value of the second target gray-scale value, the absolute value of the third target gray-scale value and the absolute value of the second gray-scale value sum to obtain the absolute value of the first target gray-scale value of the target sub-pixel through a linear interpolation method.
S1057: and determining the first target gray-scale value according to the absolute value of the first target gray-scale value and the preset gray-scale value of the target sub-pixel, wherein when the preset gray-scale value of the target sub-pixel is a positive value, the first target gray-scale value is equal to the product of the absolute value of the first target gray-scale value and a positive one, and when the preset gray-scale value of the target sub-pixel is a negative value, the first target gray-scale value is equal to the product of the absolute value of the first target gray-scale value and a negative one.
In the embodiment of the application, according to the second gray scale value and value, the preset gray scale value of the target sub-pixel and the gray scale value compensation table, the first target gray scale value used for determining the target data voltage can be calculated through a linear interpolation method, so that the data voltage compensation of the target sub-pixel is realized.
And the absolute value of the third gray-scale value sum is the smallest difference between the absolute value of all gray-scale values and absolute values of all gray-scale values which are recorded in the gray-scale value compensation table and are greater than the absolute value of the second gray-scale value sum and the absolute value of the second gray-scale value sum. The absolute value of the fourth grayscale value sum is the smallest difference between the absolute value of all grayscale values sums recorded in the grayscale value compensation table that are smaller than the absolute value of the second grayscale value sum and the absolute value of the second grayscale value sum.
The absolute value of the third gray scale value sum is a, the absolute value of the fourth gray scale value sum is b, the absolute value of the second target gray scale value is c, the absolute value of the third target gray scale value is d, the absolute value of the second gray scale value sum is e, the absolute value of the first target gray scale value of the target sub-pixel is f, and the absolute value f of the first target gray scale value calculated by a linear interpolation method is an integer part of (a + d-b + c + e-c-d)/(a-b).
Illustratively, the second gray scale value sum is +1200, the preset gray scale value of the target sub-pixel is-255, and by referring to the gray scale value compensation table as shown in fig. 4, it can be determined that the absolute value 1200 of the second gray scale value sum is different from the absolute values of the gray scale values sum recorded in the gray scale value compensation table, so that the absolute value 1300 of a third gray scale value sum greater than the absolute value 1200 of the second gray scale value sum and the absolute value 900 of a fourth gray scale value sum smaller than the absolute value 1200 of the second gray scale value sum are obtained from the gray scale value compensation table, and the absolute value 240 of a second target gray scale value corresponding to the absolute value 1300 of the third gray scale value sum is obtained from the gray scale value compensation table according to the absolute value 1300 of the third gray scale value sum and the absolute value 255 of the preset gray scale value of the target sub-pixel, obtaining an absolute value 245 of a third target gray-scale value corresponding to the absolute value 900 of the fourth gray-scale value and the absolute value 255 of the preset gray-scale value of the target sub-pixel from the gray-scale value compensation table according to the absolute value 900 of the fourth gray-scale value and the absolute value 255 of the preset gray-scale value of the target sub-pixel, and then calculating an absolute value 241 of a first target gray-scale value of the target sub-pixel by using an absolute value 1300 of the third gray-scale value and the absolute value 900 of the fourth gray-scale value and the absolute value 240 of the second target gray-scale value, the absolute value 245 of the third target gray-scale value and the absolute value 245 of the preset gray-scale value 255 of the target sub-pixel through a linear interpolation method, specifically, (1300 × 245-900 × 240-1200 × 240-245-1200-1300-900) =241.25, and taking an integer part 241 of 241.25 as the absolute value of the first target gray-scale value, because the absolute value of the target sub-pixel is the preset gray-scale value of the target sub-pixel, the absolute value of 32255-3260, that is, the preset gray level value is a negative value, and the first target gray level value is equal to the product of the absolute value of the first target gray level value and minus one, that is, the first target gray level value is-241.
The following describes a data voltage compensation method of a display panel provided by the present application with a more specific embodiment.
The plurality of pixels of the display panel 100 are arranged into 1080 rows of pixels and 1920 columns of pixels (fig. 6 illustrates a part of the pixels), that is, the resolution of the display panel 100 is 1920 × 1080, and each pixel includes three sub-pixels, namely, a red sub-pixel, a green sub-pixel and a blue sub-pixel, which are sequentially arranged along a row direction. Each row of pixels constitutes a pixel group, and the display panel 100 includes 1080 pixel groups, each pixel group including 1920 pixels. The 1920 columns may be divided into odd and even columns.
The aforementioned step S101 is executed: acquiring preset gray-scale values of all sub-pixels of any one pixel group of the 1080 pixel groups, wherein the preset gray-scale values of three sub-pixels of all pixels located in even columns in the target pixel group are all 0, the preset gray-scale values of red sub-pixels and blue sub-pixels of all pixels located in odd columns in the target pixel group are all +255, and the preset gray-scale values of green sub-pixels are all-255.
The aforementioned step S102 is executed: adding the preset gray-scale values of all the sub-pixels of the target pixel group to obtain a first gray-scale value sum, wherein the calculation process of the first gray-scale value sum is as follows: (255 x 2-255 x 1+0 x 3) 1920/2=244800.
The aforementioned step S107 is executed: the target pixel group includes 5760 subpixels (1920 × 3= 5760), the first threshold is 734400 (5760 × 255/2= 734400), the first ratio 0.33 is obtained by dividing the absolute value of the first gray-scale value sum by the first threshold (244800/730 = 4400.33), the first preset value is set to 0.20, and the first ratio 0.33 is greater than the first preset value 0.20, so that it is determined that the absolute value of the first gray-scale value sum satisfies a first preset condition.
The aforementioned step S103 is executed: when the absolute value of the first gray-scale value sum value meets a first preset condition, the target pixel group is divided into 192 pixel groups, each pixel group comprises 10 pixels, namely 30 sub-pixels, the number of the pixels in the odd columns in each pixel group is equal to the number of the pixels in the even columns, preset gray-scale values of all the sub-pixels in each pixel group are added to obtain a second gray-scale value sum value, and the second gray-scale value sum value is calculated as follows: (255 x 2-255 x 1+0 x 3) × 10/2=1275, resulting in a second gray scale value and value of 1275 for each of the 192 pixel groupings.
The aforementioned step S108 is executed: the second threshold is 3825 (30 × 255/2= 3825), the second ratio 0.33 is obtained by dividing the absolute value of the second grayscale value sum by the second threshold (1275/3825 = 0.33), the second preset value is set to 0.30, and the second ratio 0.33 is greater than the second preset value 0.30, so that it is determined that the absolute value of the second grayscale value sum satisfies the second preset condition.
The aforementioned step S104 is executed: and when the absolute value of the second gray-scale value sum value meets a second preset condition, determining a target sub-pixel needing compensation in the corresponding pixel group according to the second gray-scale value sum value, wherein the second gray-scale value sum value is a positive value of +1275, and determining green sub-pixels of all pixels positioned in the odd-numbered columns in the corresponding pixel group as the target sub-pixel.
The aforementioned step S105 is executed: determining a first target gray scale value of the green sub-pixels of the pixels in the odd columns according to the absolute value 1275 of the second gray scale value and the preset gray scale value-255 of the green sub-pixels of the pixels in the even columns and a gray scale value compensation table shown in fig. 4, wherein 1275 is not included in the absolute values of the gray scale values and the values recorded in the gray scale value compensation table, and acquiring an absolute value 1300 of a third gray scale value and the absolute value 1300 of a fourth gray scale value and the absolute value 900 of a fourth gray scale value and the absolute value of a fourth gray scale value which are greater than 1275 and smaller than 1275 from the gray scale value compensation table; acquiring an absolute value 240 of a second target gray scale value corresponding to the absolute value 1300 of the third gray scale value and the absolute value 1300 of the third gray scale value from the gray scale value compensation table according to the absolute value 1300 of the third gray scale value and the absolute value 255 of the preset gray scale value of the target sub-pixel; acquiring an absolute value 245 of a third target gray scale value corresponding to the absolute value 900 of the fourth gray scale value sum from the gray scale value compensation table according to the absolute value 900 of the fourth gray scale value sum and the absolute value 255 of a preset gray scale value of the target sub-pixel; and calculating the absolute value of the first target gray-scale value of the green sub-pixel of the pixel positioned in the odd column by using the absolute value 1300 of the third gray-scale value sum, the absolute value 900 of the fourth gray-scale value sum, the absolute value 240 of the second target gray-scale value, the absolute value 245 of the third target gray-scale value and the absolute value 1275 of the second gray-scale value sum of the green sub-pixels of the pixel positioned in the odd column through a linear interpolation method.
The absolute value of the first target gray-scale value of the green sub-pixels of the pixels positioned in the odd-numbered columns is obtained by calculation through a linear interpolation method, and the specific calculation process is as follows: (1300 x 245-900 x 240+1200 x 240-245 x 1275)/(1300-900) =240.3125, the absolute value of the first target gray scale value is 240, and since the preset gray scale value of the green sub-pixel of the pixel located in the odd column is-255, that is, the preset gray scale value is a negative value, the first target gray scale value is equal to the product of the absolute value of the first target gray scale value and minus one, that is, the first target gray scale value of the green sub-pixel of the pixel located in the odd column is-240.
The method comprises the steps of judging a first gray-scale value and a first gray-scale value, judging a second gray-scale value and a second gray-scale value when the first gray-scale value and the first gray-scale value meet a first preset condition, determining a sub-pixel needing to be compensated as a green sub-pixel of pixels positioned in odd columns of a target pixel group when the second gray-scale value and the second gray-scale value meet a second preset condition, and compensating a data voltage of the green sub-pixel of the pixels positioned in the odd columns of the target pixel group, namely compensating the data voltage applied to the green sub-pixel from a data voltage corresponding to a preset gray-scale value-255 to a data voltage corresponding to the first target gray-scale value-240, so that the voltage difference between two ends of the green sub-pixel is reduced, and the display defects of a display picture such as greenish color and the like caused by overlarge voltage difference are avoided.
Another embodiment of the present application further provides a data voltage compensation method of a display panel, including: the foregoing steps S101 to S106 are performed simultaneously for all pixel groups of the display panel 100.
In this embodiment, the aforementioned steps S101 to S106 are performed on all pixel groups simultaneously to determine the target data voltage for applying to the target sub-pixel of each pixel group, so that the data voltage of the display panel 100 can be compensated quickly, and the compensation time can be shortened.
Yet another embodiment of the present application further provides a data voltage compensation method of a display panel, where all pixel groups of the display panel 100 are pre-ordered, the data voltage compensation method of the display panel includes: the foregoing steps S101 to S106 are sequentially performed for each pixel group in the order, wherein after the steps S101 to S106 are performed for a pixel group, the steps S101 to S106 are performed for a pixel group subsequent to the pixel group.
In this embodiment, by performing steps S101 to S106 for all pixel groups one by one to determine the target data voltage for application to the target sub-pixel of each pixel group, the operation load of the display panel 100 can be reduced, and the power consumption can be reduced.
Herein, the aforementioned steps S101 to S106 may also be referred to as steps a to F, i.e., steps a, B, C, D, E, F.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
Referring to fig. 2 again, the embodiment of the present application further provides a display panel 100 as shown in fig. 2, where the display panel 100 includes an obtaining module 10 and a processing module 20. The obtaining module 10 is configured to obtain preset gray scale values of all sub-pixels of a target pixel group, where the target pixel group is any one of all pixel groups of the display panel, and the preset gray scale values of all sub-pixels of the target pixel group include a preset gray scale value that is a positive value and a preset gray scale value that is a negative value. The processing module 20 is configured to add preset gray-scale values of all sub-pixels of the target pixel group to obtain a first gray-scale value and a first gray-scale value, and when it is determined that the first gray-scale value and the first gray-scale value satisfy a first preset condition, add preset gray-scale values of all sub-pixels of at least one pixel group of the target pixel group to obtain at least one second gray-scale value and a second gray-scale value, where the at least one pixel group constitutes the target pixel group, and when it is determined that a certain second gray-scale value and a second gray-scale value satisfy a second preset condition, determine a target sub-pixel needing to be compensated in the corresponding pixel group according to the second gray-scale value and the second gray-scale value, and determine a first target gray-scale value of the target sub-pixel according to the second gray-scale value and the first gray-scale value, the preset gray-scale value of the target sub-pixel, and a gray-scale value mapping table stored in the display panel, where the gray-scale value compensation table records an absolute value of the gray-scale value and the absolute value, an absolute value of the preset gray-scale value, and an absolute value of the target gray-scale value mapping relation of the target sub-scale value, and a target sub-scale value, and target sub-scale compensation data used for applying the target sub-pixel to the target sub-scale compensation data after the target sub-scale value is determined to the target sub-scale compensation data.
In the display panel 100 according to the embodiment of the present application, when it is determined that the first gray-scale value and the value of the target pixel group satisfy the first preset condition, the second gray-scale value and the value of the pixel group are calculated, when the second gray-scale value and the value satisfy the second preset condition, the target sub-pixel needing to be compensated is determined according to the second gray-scale value and the value, the first target gray-scale value of the target sub-pixel is determined according to the preset gray-scale value of the target sub-pixel and the gray-scale value compensation table, and the data voltage applied to the target sub-pixel is compensated according to the first target gray-scale value, which is equivalent to offset of the common electrode voltage, so that an excessive voltage difference caused by the shift of the common electrode voltage can be avoided, and thus, display defects such as color deviation (color deviation) can be avoided. In addition, in the embodiment of the application, first, the first gray-scale value and the first gray-scale value of the target pixel group are judged, when the first gray-scale value and the first gray-scale value meet the first preset condition, the second gray-scale value and the second gray-scale value of the pixel group are calculated, then, the second gray-scale value and the second gray-scale value are judged, when the second gray-scale value and the second gray-scale value meet the second preset condition, it is determined that the sub-pixels in the pixel group need to be compensated, whether the sub-pixels in the area need to be compensated is determined by judging in a regional mode, whether a certain sub-pixel needs to be compensated is determined without judging each sub-pixel, the compensation efficiency of the data voltage is improved, and the time for compensating the data voltage is reduced.
In some embodiments, the acquisition module 10 and the processing module 20 may be integrated to form a TCON.
In some embodiments, the target pixel group includes a first preset number of sub-pixels, and the determining that the first gray-scale value and the first gray-scale value satisfy a first preset condition includes: the processing module 20 divides the absolute value of the first gray scale value and the absolute value of the first gray scale value by a first threshold to obtain a first ratio, wherein the first threshold is half of a product of the first preset number and a first preset gray scale threshold, and the first preset gray scale threshold is smaller than or equal to 255; and when the first ratio is greater than or equal to a first preset value, determining that the first gray-scale value sum meets a first preset condition.
The first preset gray scale threshold value can be set by a user according to needs.
The first preset value may be set as required, and is not limited herein.
In an embodiment of the present application, the first ratio is obtained by dividing an absolute value of the first grayscale value and the first threshold, and the first ratio is compared with the first preset value to determine whether the first grayscale value and the first threshold satisfy the first preset condition, so that when it is determined that the first grayscale value and the first threshold satisfy the first preset condition, the target pixel group is grouped to form at least one pixel group, and preset grayscale values of the at least one pixel group are added to obtain at least one second grayscale value and at least one second grayscale value.
In some embodiments, the pixel grouping includes a second predetermined number of sub-pixels, and the determining that the absolute value of the certain second gray-scale value sum satisfies a second predetermined condition includes: the processing module 20 divides the absolute value of the second gray scale value and the absolute value of the second gray scale value by a second threshold to obtain a second ratio, wherein the second threshold is half of a product of the second preset number and a second preset gray scale threshold, and the second preset gray scale threshold is smaller than or equal to 255; and when the second ratio is greater than or equal to a second preset value, determining that the second gray scale value and the second gray scale value meet a second preset condition.
The second preset gray scale threshold value can be set by a user according to needs.
The second preset value can be set according to needs, and is not limited herein.
In the embodiment of the application, the second ratio is obtained by dividing the absolute value of the second gray scale value sum by a second threshold, and the second ratio is compared with the second preset value to determine whether the second gray scale value sum meets the second preset condition, so that when the second gray scale value sum meets the second preset condition, at least part of sub-pixels in the corresponding pixel group are determined to be compensated, and then the target sub-pixels in the corresponding pixel group which need to be compensated are determined according to the second gray scale value sum.
In some embodiments, the determining a target sub-pixel in a corresponding pixel group that needs compensation according to the second gray-scale value and the second gray-scale value includes: when the second gray scale value sum is a positive value, the processing module 20 determines all sub-pixels in the corresponding pixel group, of which the preset gray scale value is a negative value, as the target sub-pixels to be compensated; and when the second gray-scale value sum is a negative value, the processing module 20 determines all the subpixels, of which preset gray-scale values are positive values, in the corresponding pixel group as the target subpixels needing to be compensated.
When the second gray scale value sum is a positive value, the common electrode voltage moves towards the positive polarity data voltage, that is, the common electrode voltage increases, so that the voltage difference between the negative polarity data voltage applied to the sub-pixels in the corresponding pixel group and the common electrode voltage increases, and all the sub-pixels with the preset gray scale value negative in the corresponding pixel group are determined as target sub-pixels needing compensation, and are compensated to reduce the voltage difference between the negative polarity data voltage applied to the target sub-pixels and the common electrode voltage, so that display defects such as color cast can be avoided.
When the second gray scale value sum is a negative value, the common electrode voltage moves towards the negative polarity data voltage, that is, the common electrode voltage decreases, so that the voltage difference between the positive polarity data voltage applied to the sub-pixels in the corresponding pixel group and the common electrode voltage increases, and all the sub-pixels with positive preset gray scale values in the corresponding pixel group are determined as target sub-pixels needing compensation, and are compensated to reduce the voltage difference between the positive polarity data voltage applied to the target sub-pixels and the common electrode voltage, so that display defects such as color cast can be avoided.
In some embodiments, the determining the first target gray scale value of the target sub-pixel according to the second gray scale value and the second gray scale value, the preset gray scale value of the target sub-pixel, and a gray scale value compensation table stored in the display panel includes: when determining that the absolute value of the second gray-scale value sum is the same as one of the absolute values of the gray-scale values sum recorded in the gray-scale value compensation table, the processing module 20 queries the gray-scale value compensation table according to the absolute value of the second gray-scale value sum and the absolute value of the preset gray-scale value of the target sub-pixel to obtain the absolute value of the first target gray-scale value of the target sub-pixel; and determining the first target gray-scale value according to the absolute value of the first target gray-scale value and the preset gray-scale value of the target sub-pixel, wherein when the preset gray-scale value of the target sub-pixel is a positive value, the first target gray-scale value is equal to the product of the absolute value of the first target gray-scale value and a positive one, and when the preset gray-scale value of the target sub-pixel is a negative value, the first target gray-scale value is equal to the product of the absolute value of the first target gray-scale value and a negative one.
In this embodiment, the first target gray scale value for determining the target data voltage may be obtained by querying the gray scale value compensation table according to the second gray scale value and the preset gray scale value of the target subpixel, so that the data voltage compensation of the target subpixel is realized.
In some embodiments, the determining the first target gray scale value of the target sub-pixel according to the second gray scale value and the second gray scale value, the preset gray scale value of the target sub-pixel, and a gray scale value compensation table stored in the display panel includes: the processing module 20 obtains, when it is determined that the absolute value of the second gray scale value sum is different from the absolute value of the gray scale value sum recorded in the gray scale value compensation table, an absolute value of a third gray scale value sum larger than the absolute value of the second gray scale value sum and an absolute value of a fourth gray scale value sum smaller than the absolute value of the second gray scale value sum from the gray scale value compensation table; acquiring an absolute value of a second target gray scale value corresponding to the absolute value of the third gray scale value and the absolute value of the preset gray scale value of the target sub-pixel from the gray scale value compensation table according to the absolute value of the third gray scale value and the absolute value of the preset gray scale value of the target sub-pixel; acquiring an absolute value of a third target gray-scale value corresponding to the absolute value of the fourth gray-scale value and the absolute value of the preset gray-scale value of the target sub-pixel from the gray-scale value compensation table according to the absolute value of the fourth gray-scale value and the absolute value of the preset gray-scale value of the target sub-pixel; calculating the absolute value of the first target gray-scale value of the target sub-pixel by using the absolute value of the third gray-scale value sum, the absolute value of the fourth gray-scale value sum, the absolute value of the second target gray-scale value, the absolute value of the third target gray-scale value and the absolute value of the second gray-scale value sum through a linear interpolation method; and determining the first target gray-scale value according to the absolute value of the first target gray-scale value and the preset gray-scale value of the target sub-pixel, wherein when the preset gray-scale value of the target sub-pixel is a positive value, the first target gray-scale value is equal to the product of the absolute value of the first target gray-scale value and a positive one, and when the preset gray-scale value of the target sub-pixel is a negative value, the first target gray-scale value is equal to the product of the absolute value of the first target gray-scale value and a negative one.
In the embodiment of the application, according to the second gray scale value and value, the preset gray scale value of the target sub-pixel and the gray scale value compensation table, the first target gray scale value used for determining the target data voltage can be calculated through a linear interpolation method, so that the data voltage compensation of the target sub-pixel is realized.
The display panel 100 corresponds to the aforementioned data voltage compensation method of the display panel, and for a more detailed description, reference may be made to the contents of the embodiments of the data voltage compensation method of the display panel, and the contents of the data voltage compensation method of the display panel 100 and the contents of the data voltage compensation method of the display panel may also be referred to each other.
Referring to fig. 7, fig. 7 is a block diagram of a display device 200 according to an embodiment of the present disclosure. As shown in fig. 7, the display device 200 includes a memory 40 and a processor 50, where the memory 40 stores a computer program, and the computer program is used for the processor 50 to execute the data voltage compensation method of the display panel provided in any of the foregoing embodiments after being called.
The display device 200 according to the embodiment of the present application calculates a second gray scale value and a second gray scale value of a pixel group when it is determined that the first gray scale value and the first gray scale value of the target pixel group satisfy a first preset condition, determines a target sub-pixel to be compensated according to the second gray scale value and the second gray scale value when the second gray scale value and the second gray scale value satisfy the second preset condition, determines a first target gray scale value of the target sub-pixel according to the second gray scale value and the second gray scale value, a preset gray scale value of the target sub-pixel, and a gray scale value compensation table, and compensates a data voltage applied to the target sub-pixel according to the first target gray scale value, which is equivalent to offset of a common electrode voltage, so that an excessively large voltage difference caused by a common electrode voltage offset can be avoided, and thus display defects such as color offset (color shift) can be avoided.
The foregoing is illustrative of embodiments of the present application and it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the embodiments of the present application and are intended to be within the scope of the present application.
Claims (10)
1. A data voltage compensation method of a display panel is applied to the display panel, and is characterized in that the display panel comprises a plurality of rows and a plurality of columns of pixels which are arranged in an array manner, each row of pixels forms a pixel group, each pixel comprises at least three sub-pixels, and the data voltage compensation method of the display panel comprises the following steps:
step A: acquiring preset gray-scale values of all sub-pixels of a target pixel group, wherein the target pixel group is any one of all pixel groups of the display panel, and the preset gray-scale values of all sub-pixels of the target pixel group comprise a preset gray-scale value which is a positive value and a preset gray-scale value which is a negative value;
and B: adding preset gray-scale values of all sub-pixels of the target pixel group to obtain a first gray-scale value sum;
step C: when the first gray-scale value sum value meets a first preset condition, adding preset gray-scale values of all sub-pixels of at least one pixel group of the target pixel group to obtain at least one second gray-scale value sum value, wherein the at least one pixel group forms the target pixel group;
step D: when a certain second gray-scale value and value meet a second preset condition, determining a target sub-pixel needing compensation in a corresponding pixel group according to the second gray-scale value and value;
step E: determining a first target gray-scale value of the target sub-pixel according to the second gray-scale value and value, a preset gray-scale value of the target sub-pixel and a gray-scale value compensation table stored in the display panel, wherein the gray-scale value compensation table records mapping relations of absolute values of the gray-scale value and value, the absolute value of the preset gray-scale value and the absolute value of the target gray-scale value; and
step F: determining a compensated target data voltage for application to the target subpixel according to a first target gray-scale value of the target subpixel.
2. The method according to claim 1, wherein the target pixel group comprises a first predetermined number of sub-pixels, and the determining that the first gray-scale value and the first gray-scale value satisfy a first predetermined condition comprises:
dividing the absolute value of the first gray-scale value sum by a first threshold to obtain a first ratio, wherein the first threshold is half of the product of the first preset number and a first preset gray-scale threshold, and the first preset gray-scale threshold is smaller than or equal to 255;
and when the first ratio is greater than or equal to a first preset value, determining that the first gray-scale value sum value meets a first preset condition.
3. The method according to claim 1, wherein the pixel groups comprise a second predetermined number of sub-pixels, and the determining that the certain second gray-scale value satisfies a second predetermined condition comprises:
dividing the absolute value of the second gray scale value sum by a second threshold to obtain a second ratio, wherein the second threshold is half of the product of the second preset number and a second preset gray scale threshold, and the second preset gray scale threshold is smaller than or equal to 255;
and when the second ratio is greater than or equal to a second preset value, determining that the second gray scale value and the second gray scale value meet a second preset condition.
4. The method according to claim 1, wherein the determining a target sub-pixel in the corresponding pixel group to be compensated according to the second gray-scale value and the second gray-scale value comprises:
when the second gray scale value sum is a positive value, determining all sub-pixels with preset gray scale values being negative values in the corresponding pixel group as the target sub-pixels needing compensation; and
and when the second gray-scale value sum is a negative value, determining all the sub-pixels with preset gray-scale values as positive values in the corresponding pixel group as the target sub-pixels needing compensation.
5. The method of claim 1, wherein determining the first target gray-scale value of the target sub-pixel according to the second gray-scale value and the second gray-scale value, the preset gray-scale value of the target sub-pixel, and a gray-scale value compensation table stored in the display panel comprises:
when the absolute value of the second gray-scale value sum is determined to be the same as one of the absolute values of the gray-scale values sum recorded in the gray-scale value compensation table, inquiring the gray-scale value compensation table according to the absolute value of the second gray-scale value sum and the absolute value of the preset gray-scale value of the target sub-pixel to obtain the absolute value of the first target gray-scale value of the target sub-pixel;
and determining the first target gray-scale value according to the absolute value of the first target gray-scale value and the preset gray-scale value of the target sub-pixel, wherein when the preset gray-scale value of the target sub-pixel is a positive value, the first target gray-scale value is equal to the product of the absolute value of the first target gray-scale value and a positive one, and when the preset gray-scale value of the target sub-pixel is a negative value, the first target gray-scale value is equal to the product of the absolute value of the first target gray-scale value and a negative one.
6. The method of claim 1, wherein determining the first target gray-scale value of the target sub-pixel according to the second gray-scale value and the second gray-scale value, the preset gray-scale value of the target sub-pixel, and a gray-scale value compensation table stored in the display panel comprises:
when the absolute value of the second gray scale value sum is determined to be different from the absolute values of the gray scale values and values recorded in the gray scale value compensation table, acquiring the absolute value of a third gray scale value sum which is larger than the absolute value of the second gray scale value sum and the absolute value of a fourth gray scale value sum which is smaller than the absolute value of the second gray scale value sum from the gray scale value compensation table;
acquiring an absolute value of a second target gray scale value corresponding to the absolute value of the third gray scale value and the absolute value of the preset gray scale value of the target sub-pixel from the gray scale value compensation table according to the absolute value of the third gray scale value and the absolute value of the preset gray scale value of the target sub-pixel;
acquiring an absolute value of a third target gray-scale value corresponding to the absolute value of the fourth gray-scale value and the absolute value of the preset gray-scale value of the target sub-pixel from the gray-scale value compensation table according to the absolute value of the fourth gray-scale value and the absolute value of the preset gray-scale value of the target sub-pixel;
calculating the absolute value of the first target gray-scale value of the target sub-pixel by using the absolute value of the third gray-scale value sum, the absolute value of the fourth gray-scale value sum, the absolute value of the second target gray-scale value, the absolute value of the third target gray-scale value and the absolute value of the second gray-scale value sum through a linear interpolation method; and
and determining the first target gray-scale value according to the absolute value of the first target gray-scale value and the preset gray-scale value of the target sub-pixel, wherein when the preset gray-scale value of the target sub-pixel is a positive value, the first target gray-scale value is equal to the product of the absolute value of the first target gray-scale value and a positive one, and when the preset gray-scale value of the target sub-pixel is a negative value, the first target gray-scale value is equal to the product of the absolute value of the first target gray-scale value and a negative one.
7. The data voltage compensation method of the display panel according to claim 1, wherein the steps a to F are performed simultaneously for all pixel groups of the display panel.
8. The data voltage compensation method of a display panel according to claim 1, wherein all pixel groups of the display panel are pre-ordered, the method further comprising:
and executing the step A to the step F for each pixel group in sequence according to the sequence.
9. The display panel is characterized by comprising a plurality of rows and a plurality of columns of pixels which are arranged in an array manner, each row of pixels forms a pixel group, each pixel comprises at least three sub-pixels, and the display panel further comprises:
the display panel comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring preset gray-scale values of all sub-pixels of a target pixel group, the target pixel group is any one of all pixel groups of the display panel, and the preset gray-scale values of all the sub-pixels of the target pixel group comprise a preset gray-scale value which is a positive value and a preset gray-scale value which is a negative value;
the processing module is used for adding preset gray-scale values of all sub-pixels of the target pixel group to obtain a first gray-scale value sum, adding preset gray-scale values of all sub-pixels of at least one pixel group of the target pixel group to obtain at least one second gray-scale value sum when the first gray-scale value sum is determined to meet a first preset condition, determining a target sub-pixel needing to be compensated in the corresponding pixel group according to the second gray-scale value sum when a certain second gray-scale value sum is determined to meet a second preset condition, and determining a first target gray-scale value of the target sub-pixel according to the second gray-scale value sum, the preset gray-scale value of the target sub-pixel and a gray-scale value compensation table stored in the display panel, wherein the gray-scale value compensation table records absolute values of the gray-scale values and the preset gray-scale values, absolute values of the target sub-pixels, and mapping relations of the target gray-scale values, and the first target sub-scale value of the target sub-pixel after the target sub-pixel is applied to target sub-pixel voltage data.
10. A display device, comprising a memory and a processor, wherein the memory stores a computer program for the processor to execute the data voltage compensation method of the display panel according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210294201.1A CN114596827B (en) | 2022-03-23 | 2022-03-23 | Data voltage compensation method of display panel, display panel and display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210294201.1A CN114596827B (en) | 2022-03-23 | 2022-03-23 | Data voltage compensation method of display panel, display panel and display device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114596827A CN114596827A (en) | 2022-06-07 |
CN114596827B true CN114596827B (en) | 2022-10-28 |
Family
ID=81820067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210294201.1A Active CN114596827B (en) | 2022-03-23 | 2022-03-23 | Data voltage compensation method of display panel, display panel and display device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114596827B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115223513B (en) * | 2022-06-15 | 2023-10-24 | 惠科股份有限公司 | Liquid crystal display panel and compensation method thereof |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101312020A (en) * | 2007-05-25 | 2008-11-26 | 奇美电子股份有限公司 | LCD and driving method thereof |
CN102591083A (en) * | 2012-03-20 | 2012-07-18 | 深圳市华星光电技术有限公司 | Charge share-type pixel structure |
CN103854556A (en) * | 2014-02-19 | 2014-06-11 | 北京京东方显示技术有限公司 | Voltage compensation device and voltage compensation method for primary color sub-pixel as well as display device |
CN104536225A (en) * | 2014-12-31 | 2015-04-22 | 深圳市华星光电技术有限公司 | Liquid crystal display panel and liquid crystal display device |
CN107492359A (en) * | 2017-09-18 | 2017-12-19 | 惠科股份有限公司 | Display device and driving method thereof |
CN107967899A (en) * | 2017-12-21 | 2018-04-27 | 惠科股份有限公司 | Display device driving method, driving device and display device |
CN108053796A (en) * | 2017-12-18 | 2018-05-18 | 惠科股份有限公司 | Display panel driving method and display device |
CN109377967A (en) * | 2018-12-25 | 2019-02-22 | 惠科股份有限公司 | Display panel correction method and display device |
CN110310609A (en) * | 2019-06-10 | 2019-10-08 | 惠科股份有限公司 | Display panel driving circuit and method |
CN113241032A (en) * | 2021-05-10 | 2021-08-10 | 深圳市华星光电半导体显示技术有限公司 | Display panel driving method, display panel and liquid crystal display device |
CN113763878A (en) * | 2021-09-10 | 2021-12-07 | 京东方科技集团股份有限公司 | Display compensation method and compensation device of display screen and display device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5508662B2 (en) * | 2007-01-12 | 2014-06-04 | 株式会社半導体エネルギー研究所 | Display device |
-
2022
- 2022-03-23 CN CN202210294201.1A patent/CN114596827B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101312020A (en) * | 2007-05-25 | 2008-11-26 | 奇美电子股份有限公司 | LCD and driving method thereof |
CN102591083A (en) * | 2012-03-20 | 2012-07-18 | 深圳市华星光电技术有限公司 | Charge share-type pixel structure |
CN103854556A (en) * | 2014-02-19 | 2014-06-11 | 北京京东方显示技术有限公司 | Voltage compensation device and voltage compensation method for primary color sub-pixel as well as display device |
CN104536225A (en) * | 2014-12-31 | 2015-04-22 | 深圳市华星光电技术有限公司 | Liquid crystal display panel and liquid crystal display device |
CN107492359A (en) * | 2017-09-18 | 2017-12-19 | 惠科股份有限公司 | Display device and driving method thereof |
CN108053796A (en) * | 2017-12-18 | 2018-05-18 | 惠科股份有限公司 | Display panel driving method and display device |
CN107967899A (en) * | 2017-12-21 | 2018-04-27 | 惠科股份有限公司 | Display device driving method, driving device and display device |
CN109377967A (en) * | 2018-12-25 | 2019-02-22 | 惠科股份有限公司 | Display panel correction method and display device |
CN110310609A (en) * | 2019-06-10 | 2019-10-08 | 惠科股份有限公司 | Display panel driving circuit and method |
CN113241032A (en) * | 2021-05-10 | 2021-08-10 | 深圳市华星光电半导体显示技术有限公司 | Display panel driving method, display panel and liquid crystal display device |
CN113763878A (en) * | 2021-09-10 | 2021-12-07 | 京东方科技集团股份有限公司 | Display compensation method and compensation device of display screen and display device |
Non-Patent Citations (1)
Title |
---|
一种应用于AMOLED的宽电压摆幅高精度伽马校正电路设计;庄则敬 等;《液晶与显示》;20210409;529-537 * |
Also Published As
Publication number | Publication date |
---|---|
CN114596827A (en) | 2022-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10157564B2 (en) | Display apparatus with shared sub-pixel and method of driving the same | |
US10115358B2 (en) | Display apparatus | |
US9007408B2 (en) | Method of compensating a stain, a method of driving a display panel having the method of compensating a stain and a display apparatus for performing the method of driving the display panel | |
CN101390153B (en) | Improved gamut mapping and subpixel rendering system and method | |
EP2993662B1 (en) | Display apparatus and method of driving the same | |
WO2018121306A1 (en) | Liquid crystal display device | |
US9390645B2 (en) | Display apparatus and method of driving the same | |
CN100423074C (en) | Display device driving method, display device, and program | |
CN108122546B (en) | Display apparatus and image processing method thereof | |
KR20160020029A (en) | Method of driving display panel and display apparatus for performing the same | |
CN103854616A (en) | Crosstalk compensation method of display panel and display device thereof | |
KR20060111262A (en) | Driving apparatus of display device | |
US20180226045A1 (en) | Display device and driving method thereof | |
CN114596827B (en) | Data voltage compensation method of display panel, display panel and display device | |
KR20080012030A (en) | Driving device of display device and method of modifying image signals thereof | |
WO2020124898A1 (en) | Image display method and display | |
KR20080051817A (en) | Liquid crystal display and method for generating gamma curve thereof | |
CN109616064A (en) | Driving circuit and driving method of display panel | |
CN102087823A (en) | Method for dividing display area for local dimming, and liquid crystal display device | |
KR20190126664A (en) | Display device using subpixel rendering and image processing method thereof | |
US7446746B2 (en) | Method for detecting whether or not display mode has to be switched | |
CN113793561B (en) | Single-color display method and single-color display device | |
US11189215B2 (en) | Display device and driving method thereof | |
CN112526793B (en) | Ultra-narrow frame display panel, display method thereof, display device and storage medium | |
CN108461072B (en) | Method and device for adjusting driving signal of display panel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |