Brightness compensation method and device of display panel and electronic equipment
Through the method of looking up table and adjusting the grayscale compensation value, the compatibility of VDF and POLC functions is achieved, solving the problem of uneven brightness and flickering of the display panel at different refresh rates, and improving the display effect.
Patent Information
- Application Number
- CN202510653208.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-20
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2045-05-20
AI Technical Summary
In the prior art, the variable refresh rate anti-flash (VDF) function and the polarity flip compensation (POLC) function are not well compatible, resulting in uneven brightness and flickering problems when switching between different refresh rates of the display panel.
By using the first lookup table to determine the target source driving circuit of the target subpixel, the polarity of the target pixel is judged in combination with the second or third lookup table, and the grayscale compensation value is adjusted in the polarity flip region to ensure that the positive and negative polarity compensation value after the polarity flip is accurately corresponded, and compatible use of VDF and POLC is achieved.
It effectively solves the problem of uneven brightness caused by polarity flip, ensures that the display panel is consistent brightness at different refresh rates, reduces false detection and polarity compensation misalignment, and improves the display effect.
Smart Images

Figure CN120340430A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technologies, and in particular, to a brightness compensation method, apparatus, and electronic device for a display panel. Background Art
[0002] For the flicker problem caused by variable refresh rate (VRR) in a liquid crystal display panel (LCD), a variable refresh rate de-flicker (VDF) technology can be used to separately set compensation values for different leakage conditions of sub-pixels with different positive and negative polarities to solve the problem. For the horizontal crosstalk problem in an LCD, a polarity reversal compensation (POLC) technology can be used to reverse the polarities of signals output by adjacent source drivers to avoid the influence of the voltages of sub-pixels in the upper and lower rows on the common electrode voltage, and thus avoid the occurrence of crosstalk problems from the mechanism. However, currently, the VDF function and the POLC function still cannot be used in good compatibility. Summary of the Invention
[0003] Embodiments of the present invention provide a brightness compensation method, apparatus, and electronic device for a display panel, so that the VDF function and the POLC function can be used in good compatibility.
[0004] In a first aspect, an embodiment of the present invention provides a method for compensating the brightness of a display panel. The display panel includes a plurality of source driver circuits; each of the source driver circuits is connected to a plurality of data lines and is configured to drive the sub-pixels connected to the plurality of data lines. The method includes: when the polarity inversion compensation function is enabled, determining a target source driver circuit for driving a target sub-pixel according to a first look-up table; the first look-up table includes a mapping relationship between a plurality of the source driver circuits and corresponding driving boundary information; the driving boundary information characterizes the driving range of the source driver circuit; the driving range includes the sub-pixels connected to the plurality of data lines connected to the source driver circuit; determining the target pixel polarity of the target sub-pixel according to a second look-up table or a third look-up table; wherein, the second look-up table includes a mapping relationship between the sub-pixels in the driving boundary region and the corresponding pixel polarities; the third look-up table includes a mapping relationship between the sub-pixels in the non-driving boundary region and the corresponding pixel polarities; the driving boundary region includes sub-pixels in the driving range of the source driver circuit where the absolute value of the difference between the column coordinate and the column coordinate of the boundary sub-pixel included in the driving range is less than or equal to a preset threshold; the non-driving boundary region includes sub-pixels in the driving range of the source driver circuit where the absolute value of the difference between the column coordinate and the column coordinate of the boundary sub-pixel included in the driving range is greater than the preset threshold; when the sub-pixels within the driving range corresponding to the target source driver circuit need polarity inversion, adjusting the gray-scale compensation value corresponding to the target pixel polarity to obtain a first target gray-scale compensation value, and compensating the brightness of the target sub-pixel.
[0005] In some embodiments, the driving boundary information includes the minimum column coordinate of the sub-pixels connected to the first data line within the driving range corresponding to the source driver circuit. The determining a target source driver circuit for driving a target sub-pixel according to the first look-up table includes: obtaining the target column coordinate of the target sub-pixel; using the target column coordinate as a search index to check whether there is a column coordinate identical to the target column coordinate in the first look-up table; if there is a column coordinate identical to the target column coordinate in the first look-up table, determining the source driver circuit corresponding to the column coordinate identical to the target column coordinate as the target source driver circuit; if there is no column coordinate identical to the target column coordinate in the first look-up table, obtaining the reference column coordinate in the first look-up table; determining the source driver circuit corresponding to the reference column coordinate as the target source driver circuit, where the reference column coordinate is the column coordinate in the first look-up table that has the smallest difference from the target column coordinate and is less than the target column coordinate.
[0006] In some embodiments, the driving boundary information includes the minimum column coordinate of the sub-pixel connected to the first data line within the driving range corresponding to the source driving circuit; the method further includes: determining the position type of the target sub-pixel according to the first look-up table; the position type includes being in the driving boundary region or being in the non-driving boundary region; determining the first boundary column coordinate and the second boundary column coordinate of the driving range of the target source driving circuit corresponding to the target sub-pixel according to the first look-up table; the first boundary column coordinate is less than the second boundary column coordinate; in the case where the absolute value of the first difference between the first boundary column coordinate and the target column coordinate of the target sub-pixel is less than or equal to a preset threshold, or the absolute value of the second difference between the second boundary column coordinate and the target column coordinate is less than or equal to the preset threshold, it is determined that the position type of the target sub-pixel is in the driving boundary region, and the target pixel polarity of the target sub-pixel is determined according to the second look-up table; in the case where the absolute value of the first difference is greater than the preset threshold and the absolute value of the second difference is greater than the preset threshold, it is determined that the position type of the target sub-pixel is in the non-driving boundary region, and the target pixel polarity of the target sub-pixel is determined according to the third look-up table.
[0007] In some embodiments, determining the target pixel polarity of the target sub-pixel according to the second look-up table or the third look-up table includes: obtaining the target row coordinate and the target column coordinate of the target sub-pixel, and determining the target pixel polarity according to the target row coordinate, the target column coordinate, the first number of rows of the second look-up table, and the first number of columns of the second look-up table; or obtaining the target row coordinate and the target column coordinate of the target sub-pixel, and determining the target pixel polarity according to the target row coordinate, the target column coordinate, the second number of rows of the third look-up table, and the second number of columns of the third look-up table.
[0008] In some embodiments, determining the target pixel polarity according to the target row coordinate, the target column coordinate, the first number of rows of the second look-up table, and the first number of columns of the second look-up table includes: determining a first row search index according to the target row coordinate and the first number of rows; determining a first column search index according to the target column coordinate and the first number of columns; and obtaining the target pixel polarity from the second look-up table according to the first row search index and the first column search index.
[0009] In some embodiments, determining the target pixel polarity according to the target row coordinate, the target column coordinate, the number of rows in the third look-up table, and the number of columns in the third look-up table includes: determining a second row look-up index according to the target row coordinate and the number of rows; determining a second column look-up index according to the target column coordinate and the number of columns; and obtaining the target pixel polarity from the third look-up table according to the second row look-up index and the second column look-up index.
[0010] In some embodiments, adjusting the gray-scale compensation value corresponding to the target pixel polarity to obtain a first target gray-scale compensation value and performing brightness compensation on the target sub-pixel includes: obtaining a first original gray-scale compensation value corresponding to the positive polarity and a second original gray-scale compensation value corresponding to the negative polarity of the target sub-pixel before polarity inversion; if the target pixel polarity is negative, determining the first original gray-scale compensation value as the first target gray-scale compensation value; if the target pixel polarity is positive, determining the second original gray-scale compensation value as the first target gray-scale compensation value.
[0011] In some embodiments, the method further includes: when it is determined that the sub-pixel driven by the target source driver circuit does not need polarity inversion, obtaining a first original gray-scale compensation value corresponding to the positive polarity and a second original gray-scale compensation value corresponding to the negative polarity of the target sub-pixel; determining a second target gray-scale compensation value of the target sub-pixel according to the first original gray-scale compensation value and the second original gray-scale compensation value, and performing brightness compensation on the target sub-pixel; wherein, if the target pixel polarity of the target sub-pixel is positive, determining the first original gray-scale compensation value as the second target gray-scale compensation value; if the target pixel polarity of the target sub-pixel is negative, determining the second original gray-scale compensation value as the second target gray-scale compensation value.
[0012] In some embodiments, performing brightness compensation on the target sub-pixel includes: obtaining the initial display data of the target sub-pixel; compensating the initial display data according to the first target gray-scale compensation value or the second target gray-scale compensation value to obtain target display data; driving the target sub-pixel according to the target display data to perform brightness compensation on the target sub-pixel.
[0013] Second aspect, an embodiment of the present invention further provides a brightness compensation device for a display panel. The display panel includes a plurality of source driver circuits; each of the source driver circuits is connected to a plurality of data lines and is configured to drive sub-pixels connected to the plurality of data lines. The brightness compensation device includes: a first determination unit configured to determine a target source driver circuit for driving a target sub-pixel according to a first look-up table when a polarity inversion compensation function is enabled; the first look-up table includes a mapping relationship between a plurality of the source driver circuits and corresponding driving boundary information; the driving boundary information characterizes a driving range of the source driver circuit; a second determination unit configured to determine a target pixel polarity of the target sub-pixel according to a second look-up table or a third look-up table; wherein, the second look-up table includes a mapping relationship between sub-pixels within the driving boundary information and corresponding pixel polarities; the third look-up table includes a mapping relationship between sub-pixels in a non-driving boundary region and corresponding pixel polarities; an adjustment unit configured to, when sub-pixels within a driving range corresponding to the target source driver circuit need polarity inversion, adjust a gray-scale compensation value corresponding to the target pixel polarity to obtain a first target gray-scale compensation value, and perform brightness compensation on the target sub-pixel.
[0014] Third aspect, an embodiment of the present invention further provides an electronic device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, steps of the brightness compensation method for the display panel described in any one of the above are implemented.
[0015] The brightness compensation method, device and electronic device provided by the present invention determine the target source driver circuit of the target sub-pixel by using the first look-up table, and then determine whether the target source driver circuit needs polarity inversion. Since the first look-up table includes a mapping relationship between a plurality of source driver circuits and driving boundary information, the target source driver circuit corresponding to the target sub-pixel can be accurately found, and thus it can be accurately determined whether the target sub-pixel is in a polarity inversion region, thereby reducing the false detection of the traditional method of determining polarity inversion that is limited to the source driver circuits needing to be connected to the same data lines. Moreover, the second look-up table or the third look-up table is used to determine the target pixel polarity of the target sub-pixel. Since the second look-up table includes the correspondence between sub-pixels in the driving boundary region and pixel polarities, and the third look-up table includes the correspondence between sub-pixels in the non-driving boundary region and pixel polarities, the second look-up table or the third look-up table is selected according to the actual coordinates of the target sub-pixel, thereby enabling more accurate determination of the target pixel polarity of the target sub-pixel. In addition, when the target sub-pixel needs polarity inversion, the gray-scale compensation value corresponding to the target pixel polarity is adjusted to avoid the problem of abnormal picture brightness caused by the positive and negative polarity compensation misalignment due to the polarity inversion of the sub-pixel, resulting in different brightnesses at different positions of the final displayed picture. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The present invention will be further described below with reference to the accompanying drawings. It should be noted that the accompanying drawings in the following description are only used to explain some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without creative efforts.
[0017] Figure 1 It is a structural block diagram of a liquid crystal display panel provided by an embodiment of the present invention.
[0018] Figure 2 It is a schematic diagram of the connection relationship between a chip on film (COF), a data line, and a sub-pixel provided by an embodiment of the present invention. Figure 1 .
[0019] Figure 3 It is a schematic diagram of the connection relationship between a COF, a data line, and a sub-pixel provided by an embodiment of the present invention. Figure 2 .
[0020] Figure 4 It is a schematic diagram showing that the positive and negative polarities in the VDF function may compensate for misalignment after the pixel polarity of the sub-pixel is reversed by the POLC function provided by an embodiment of the present invention.
[0021] Figure 5 It is a schematic flowchart of a brightness compensation method for a display panel provided by an embodiment of the present invention.
[0022] Figure 6 It is a schematic diagram for explaining how to determine a target source driver circuit when there is no column coordinate in the first lookup table that is the same as the target column coordinate of the target sub-pixel provided by an embodiment of the present invention.
[0023] Figure 7 It is a schematic diagram for distinguishing a driving boundary region and a non-driving boundary region provided by an embodiment of the present invention.
[0024] Figure 8 It is a schematic diagram of a second lookup table provided by an embodiment of the present invention.
[0025] Figure 9 It is a schematic diagram of a brightness compensation device for a display panel provided by an embodiment of the present invention.
[0026] Figure 10 It is a schematic structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the protection scope of the present invention.
[0028] The terms "first", "second", etc. in the present invention are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but optionally further includes steps or modules not listed, or optionally further includes other steps or modules inherent to these processes, methods, products or devices.
[0029] Referring to "embodiments" herein means that a specific feature, structure or characteristic described in connection with the embodiments can be included in at least one embodiment of the present invention. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0030] The embodiments of the present invention provide a method for compensating the brightness of a display panel, and the brightness compensation method includes but is not limited to the following embodiments and combinations between the following embodiments.
[0031] In some embodiments, the brightness compensation method is applied to a display panel as Figure 1 shown. The display panel 100 may include a main structure 101 and a driving circuit 102. Among them, the main structure 101 may include sub-pixels 1011 arranged in an array along a first direction (such as the X direction) and a second direction (such as the Y direction). The driving circuit 102 may include a plurality of source driver circuits (source driver) 1021 and a plurality of data lines 1022 connected to each source driver circuit 1021. Among them, each source driver can be directly encapsulated in a flexible circuit board (Film) to form a COF. Each COF can be fixed on the aforementioned main structure 101. Each source driver 1021 can drive the sub-pixels 1011 connected to the plurality of data lines 1022, and among them, each data line 1022 is connected to sub-pixels 1011 located in one or more columns.
[0032] As Figure 2 and Figure 3As shown, it exemplarily shows a schematic diagram of the connection relationship between the COF, data lines, and sub-pixels. Assume Figure 2 Some of the COFs included in the display panel 100 shown are: COF1 and COF2. Some of the data lines included in the display panel 100 are data line 1, data line 2, data line 3, and some of the column sub-pixels included are the 959th column sub-pixel, the 960th column sub-pixel, and the 961st column sub-pixel. Among them, in Figure 2 , data line 1 and data line 2 are connected to COF1, data line 1 is connected to the 958th column sub-pixel, and data line 2 is connected to the 959th column sub-pixel. Data line 3 is connected to COF2, and data line 3 is connected to the 961st column sub-pixel. Figure 2 Exemplarily shows the case where the sub-pixels connected by each data line are in the same column.
[0033] Assume Figure 3 Some of the COFs included in the display panel 100 shown are: COF3 and COF4. Some of the data lines that the display panel 100 may include are data line 4 and data line 5, and some of the column sub-pixels included are the 959th column sub-pixel, the 960th column sub-pixel, and the 961st column sub-pixel. In Figure 3 , data line 4 is connected to COF3, and data line 4 is connected to a part of the 959th column sub-pixel and a part of the 960th column sub-pixel. Data line 5 is connected to COF4, and data line 5 is connected to a part of the 960th column sub-pixel and a part of the 961st column sub-pixel. That is, Figure 3 Exemplarily shows the case where the sub-pixels connected by each data line are distributed in adjacent two columns.
[0034] It should be noted that in the actual application process, the connection relationship between the COF, data lines, and sub-pixels in a display panel can all be as Figure 2 shown; or all be as Figure 3 shown; or a part be as the connection relationship shown in Figure 2 , and the other part be as the connection relationship shown in Figure 3 . It can be specifically designed according to actual requirements.
[0035] In the actual application process, when the display panel with the above structure operates in the VRR mode, it is necessary to dynamically adjust the refresh rate by adjusting the length of the vertical blanking period (v-blanking). Specifically, in the case of a high refresh rate, the v-blanking length is shorter, and correspondingly, the response time of the leakage current of the sub-pixels (circuits) is also shorter. In this case, the brightness of the original image can be maintained; in the case of a low refresh rate, the v-blanking length is longer, and the response time of the leakage current of the sub-pixels is also longer. In this case, the image brightness will gradually decrease and the brightness of the original image cannot be maintained. Based on this situation, when the display panel quickly switches between different refresh rates, due to the difference in the brightness of the display image, obvious flicker can be observed by the human eye. Therefore, to solve the above flicker problem, gray-scale compensation can be performed on the original image to allow the sub-pixels to charge more charges during the charging time to offset the leakage effect, so that the brightness of the display image can be maintained at the brightness of the original image at a low refresh rate. However, since the leakage current conditions of the positive and negative polarities of the sub-pixels are different, separate gray-scale compensation values need to be set for the sub-pixels of the positive and negative polarities. The above technology for solving the flicker problem caused by VRR can be simply referred to as the VDF technology. In the actual application process, there is a parasitic capacitance between the common electrode and the data line of the display panel. When the voltage of the data line changes rapidly, it will interfere with the common electrode voltage (Vcom) through the coupling of the parasitic capacitance, resulting in the phenomenon of horizontal crosstalk (H crosstalk). According to the analysis of the principle of H crosstalk, the degree of crosstalk is related to the voltage jump of the data of the sub-pixels in the front and back rows. The greater the difference between the data voltages of the sub-pixels in the front and back rows, the more serious the H crosstalk. For example, at the upper and lower boundaries of the frame of the white frame on a gray background, since the difference between the data voltages of the data lines of the sub-pixels in the front and back rows is relatively large, the H crosstalk is relatively serious. To solve the above H crosstalk problem, the POLC function can be set on the display panel. The working mode of this POLC function can be as follows: reverse the horizontal polarities output by the adjacent COFs of the display panel, changing from the original +-+- to -+-+, to avoid the influence of the data line voltages of the sub-pixels in the upper and lower rows on the voltage (Vcom) on the common electrode, and avoid the occurrence of the horizontal crosstalk problem in principle.
[0036] In some usage scenarios (such as high-precision display control, dynamic image optimization, and low-power design scenarios), it is necessary to use the VDF function and the POLC function of the display panel simultaneously. When the above two functions are used simultaneously, after the POLC function flips the pixel polarities of the sub-pixels, the positive and negative polarities in the VDF function may be compensated incorrectly, resulting in a reduction in the VRR Flicker compensation effect or even image anomalies. Exemplarily, such asFigure 4 as shown. In Figure 4 , assuming that before the pixel polarity of the sub-pixel is flipped, the gray-scale compensation values corresponding to the positive and negative polarities are: X1, X2 respectively; after the pixel polarity of the sub-pixel is flipped, the gray-scale compensation value corresponding to the polarity compensation becoming the positive polarity (+) is X2, and the gray-scale compensation value corresponding to the negative polarity (-) is X1, resulting in compensation misalignment. To avoid compensation misalignment, it is necessary to reallocate the gray-scale compensation values of the positive and negative polarities corresponding to the polarity flip region so that the gray-scale compensation values can correspond to the correct polarities. However, the currently used compatible method only supports display panels where each COF is connected to the same data line. For display panels where each COF is connected to different data lines, the current compatible method cannot accurately determine whether the target sub-pixel is in the polarity flip region, and the pixel polarity of the target sub-pixel is prone to misjudgment.
[0037] To solve the above problems, an embodiment of the present invention provides a brightness compensation method for a display panel, as Figure 5 shown, the brightness compensation method may include but is not limited to the following steps and combinations between the following steps.
[0038] S51, when the polarity flip compensation function is enabled, determine the target source driver circuit for driving the target sub-pixel according to the first look-up table; the first look-up table includes the mapping relationship between multiple source driver circuits and corresponding driving boundary information; the driving boundary information characterizes the driving range of the source driver circuit; the driving range includes the sub-pixels connected to multiple data lines connected by the source driver circuit.
[0039] It should be noted that as described above, the polarity flip compensation (POLC) function is a function of the display panel. Then, in some display scenarios (such as static image display scenarios, low refresh rate display scenarios, etc.), the POLC function can be not enabled. In some display scenarios (such as the aforementioned high-precision display control, dynamic picture optimization, and low-power design scenarios), the POLC function can be enabled. The operations in the embodiments of the present invention are described in the case of enabling the POLC function.
[0040] Here, the first look-up table can preset the mapping relationship between each source driver circuit among multiple source driver circuits and corresponding driving boundary information. The driving boundary information can be used to indicate the driving boundary of the driving range of the source driver circuit, or can be used to characterize the driving range of the source driver circuit. The understanding of the driving boundary information, driving range, and driving boundary can be illustrated by the connection relationship between the COF, data line, and sub-pixel shown in the foregoing Figure 3 as shown. In Figure 3In the embodiment, it is assumed that the display panel 100 includes COF3 and COF4, and the display panel 100 includes a total of 1920 columns of sub-pixels. In this case, data line 4 is the last data line connected to COF3; data line 5 is the first data line connected to COF4, that is, the first data line arranged in the first direction within the driving range. When dividing the driving ranges of COF3 and COF4, since data line 5 is also connected to a part of the 960th column of sub-pixels, at this time, the 960th column of sub-pixels can be used as the first column of sub-pixels in the driving range of COF4, corresponding to the minimum column coordinates of the sub-pixels connected to the first data line within the driving range corresponding to the source driving circuit. The 959th column of sub-pixels is the last column of sub-pixels within the driving range of COF3. Based on this, the driving range of COF3 can exemplarily include 1 to 959 columns of sub-pixels. The driving range of COF4 can exemplarily include 960 to 1920 columns of sub-pixels. In this division mode, the column coordinate 960 of the 960th column sub-pixel can be exemplarily used as the driving boundary information corresponding to COF4, used to indicate the starting position or starting boundary of the sub-pixel driven by COF4, and can also characterize the driving range of COF4. In this example, the column coordinate 1 of the first column sub-pixel (the first column sub-pixel) within the driving range of COF3 can be exemplarily used as the driving boundary information corresponding to COF3, used to indicate the starting position of the sub-pixel driven by COF3, and can also characterize the driving range of COF3. It can be understood that the termination boundary of the sub-pixel driven by COF4 can be the 1920th column sub-pixel; the termination boundary of the sub-pixel driven by COF3 can be the 959th column sub-pixel.
[0041] In some embodiments, the first lookup table may be stored in a register of the source driving circuit, and the first lookup table may include a mapping relationship between a plurality of source driving circuits and corresponding driving boundary information, wherein, as an example, the driving boundary information may include the minimum column coordinates of the sub-pixel connected to the first data line within the driving range corresponding to the source driving circuit. Figure 3 For the display panel shown, the boundary driving information corresponding to COF4 may be 960. It should be noted that the size of the first lookup table may be determined by the number of COFs included in the display panel. For example, when the display panel includes 24 COFs, the size of the first lookup table may be expressed as 1*24, where 1 represents 1 row and 24 represents 24 columns.
[0042] The brightness compensation method provided in the embodiment of the present invention can solve the boundary positioning problem of different data lines connected to each COF in the display panel by setting a first lookup table, and can accurately find the source driving circuit corresponding to the target sub-pixel, and then determine whether the target sub-pixel is in the pixel polarity reversal area.
[0043] Based on this, in an embodiment of the invention, when the first lookup table is known, the target source driver circuit for driving the target sub-pixel can be determined according to the first lookup table. Specifically, the driving boundary information includes the minimum column coordinate of the sub-pixel connected to the first data line within the driving range corresponding to the source driver circuit. The determining of the target source driver circuit for driving the target sub-pixel according to the first lookup table may include: obtaining the target column coordinate of the target sub-pixel; using the target column coordinate as a lookup index to check whether there is a column coordinate in the first lookup table that is the same as the target column coordinate; if there is a column coordinate in the first lookup table that is the same as the target column coordinate, determining the source driver circuit corresponding to the column coordinate that is the same as the target column coordinate as the target source driver circuit; if there is no column coordinate in the first lookup table that is the same as the target column coordinate, obtaining the reference column coordinate in the first lookup table; determining the source driver circuit corresponding to the reference column coordinate as the target source driver circuit, where the reference column coordinate is the column coordinate in the first lookup table that has the smallest difference from the target column coordinate and is less than the target column coordinate.
[0044] It should be noted that the meaning of the minimum column coordinate has been described in detail above and will not be elaborated here. When determining the target source driver circuit of the target sub-pixel according to the first lookup table, there are the following two cases: The first case is that if there is a column coordinate in the first lookup table that is the same as the target column coordinate of the target sub-pixel, then the source driver circuit corresponding to the column coordinate that is the same as the target column coordinate of the target sub-pixel is determined as the target source driver circuit.
[0045] Exemplarily, as Figure 3 shown, assume that the display panel 100 includes COF3 and COF4, and the display panel 100 includes a total of 1920 columns of sub-pixels, and the driving boundary information that COF3 and COF4 can respectively correspond to is 1 and 960. At this time, assume that the target column coordinate of the target sub-pixel is 960, and there is exactly the column coordinate 960 in the first lookup table. Therefore, COF4 corresponding to the 960th column of sub-pixels is the target source driver circuit.
[0046] The second case is that if there is no column coordinate in the first lookup table that is the same as the target column coordinate of the target sub-pixel, then it is necessary to obtain the reference column coordinate in the first lookup table and determine the source driver circuit corresponding to this reference column coordinate as the target source driver circuit.
[0047] Exemplarily, as Figure 6As shown, it is assumed that the display panel 100 includes COF5, COF6, and COF7, and the display panel 100 includes a total of 1920 columns of sub-pixels, and the driving boundary information corresponding to COF5, COF6, and COF7 is 1, 640, and 1500 respectively. At this time, it is assumed that the target column coordinate of the target sub-pixel is 700, but it is not in the first look-up table. Then, in this case, it is necessary to obtain the column coordinate 640 in the first look-up table that has the smallest difference from 700 and is less than 700 as the reference column coordinate, and then use the COF6 corresponding to 640 as the target source driver circuit.
[0048] S52. Determine the target pixel polarity of the target sub-pixel according to the second look-up table or the third look-up table; wherein, the second look-up table includes the mapping relationship between the sub-pixels in the driving boundary region and the corresponding pixel polarities; the third look-up table includes the mapping relationship between the sub-pixels in the non-driving boundary region and the corresponding pixel polarities.
[0049] Among them, the driving boundary region may include sub-pixels whose absolute value of the difference between the column coordinate within the driving range of the source driver circuit and the column coordinate of the boundary sub-pixel included in the driving range is less than or equal to a preset threshold; the non-driving boundary region may include sub-pixels whose absolute value of the difference between the column coordinate within the driving range of the source driver circuit and the column coordinate of the boundary sub-pixel included in the driving range is greater than the preset threshold.
[0050] It should be noted that in the process of obtaining the target pixel polarity of the target sub-pixel, it can be first determined whether the target sub-pixel is in the driving boundary region or in the non-driving boundary region. If the target sub-pixel is in the driving boundary region, the second look-up table is used to obtain the target pixel polarity of the target sub-pixel; if the target sub-pixel is in the non-driving boundary region, the third look-up table is used to obtain the target pixel polarity of the target sub-pixel. In this way, the position type of the target sub-pixel is first determined, and then according to the position type of the target sub-pixel, the second look-up table or the third look-up table is selected to obtain the target pixel polarity. Here, the second look-up table and the third look-up table can be different look-up tables. Specifically, the second look-up table may include the preset mapping relationship between the sub-pixels in the driving boundary region and the corresponding pixel polarities; the third look-up table may include the preset mapping relationship between the sub-pixels in the non-driving boundary region and the corresponding pixel polarities. These two look-up tables can solve problems such as signal integrity, voltage holding, and electric field uniformity through partition management, while balancing the display effect and the circuit design complexity.
[0051] For the understanding of the foregoing driving boundary region and non-driving boundary region, by way of example, such as Figure 7As shown, it is assumed that the driving range corresponding to COF8 includes: sub-pixels of columns 1 to 320. At this time, within the driving range of sub-pixels of columns 1 to 320, the absolute value of the difference between the column coordinate and 1 (the sub-pixel located at the starting boundary of the driving range) is less than or equal to a preset threshold (such as 4), or the absolute value of the difference between the column coordinate and 320 (the sub-pixel located at the ending boundary of the driving range) is less than or equal to the preset threshold (such as 4). The position type of the sub-pixel can be considered to be in the driving boundary region. That is, the driving boundary region can include sub-pixels within the driving range of the source driving circuit where the absolute value of the difference between the column coordinate and the column coordinate of the boundary sub-pixel included in the driving range is less than or equal to the preset threshold. Among them, the so-called boundary sub-pixel can be the sub-pixel located at the starting boundary of the driving range or the sub-pixel located at the ending boundary of the driving range mentioned above. Within the driving range of sub-pixels of columns 1 to 320, the absolute value of the difference between the column coordinate and 1 is greater than the preset threshold (such as 4), or the absolute value of the difference between the column coordinate and 320 is greater than the preset threshold (such as 4). The position type of the sub-pixel can be considered to be in the non-driving boundary region. That is, the non-driving boundary region can include sub-pixels within the driving range of the source driving circuit where the absolute value of the difference between the column coordinate and the column coordinate of the boundary sub-pixel included in the driving range is greater than the preset threshold.
[0052] Based on this, in some embodiments, the driving boundary information may include the minimum column coordinate of the sub-pixel connected to the first data line within the driving range corresponding to the source driving circuit. The method may further include the following steps: determining the position type of the target sub-pixel according to the first look-up table; the position type includes being in the driving boundary region or being in the non-driving boundary region; determining the first boundary column coordinate and the second boundary column coordinate of the driving range of the target source driving circuit corresponding to the target sub-pixel according to the first look-up table; the first boundary column coordinate is less than the second boundary column coordinate; when the absolute value of the first difference between the first boundary column coordinate and the target column coordinate of the target sub-pixel is less than or equal to the preset threshold, or the absolute value of the second difference between the second boundary column coordinate and the target column coordinate is less than or equal to the preset threshold, then determine that the position type of the target sub-pixel is in the driving boundary region, and determine the target pixel polarity of the target sub-pixel according to the second look-up table; when the absolute value of the first difference is greater than the preset threshold and the absolute value of the second difference is greater than the preset threshold, then determine that the position type of the target sub-pixel is in the non-driving boundary region, and determine the target pixel polarity of the target sub-pixel according to the third look-up table.
[0053] It should be noted that the above describes the process of determining whether to use the second look-up table or the third look-up table to determine the target pixel polarity of the target sub-pixel according to the first look-up table. In this process, the first boundary column coordinate and the second boundary column coordinate of the driving range corresponding to the target source driving circuit corresponding to the target sub-pixel can be determined according to the first look-up table first, and then the relationship between the absolute value of the difference between the target column coordinate of the target sub-pixel and the first boundary column coordinate and the second boundary column coordinate and the preset threshold can be judged. Finally, according to this relationship, it is determined whether to use the second look-up table or the third look-up table.
[0054] Exemplarily, as Figure 3 shown, assume that the display panel 100 includes COF3 and COF4, and the display panel 100 includes a total of 1920 columns of sub-pixels. At this time, the first look-up table is 1*2, and the driving boundary information corresponding to COF3 and COF4 is 1 and 960 respectively. At this time, assume that the target source driving circuit corresponding to the target sub-pixel is COF3, the target column coordinate of the target sub-pixel is 700, and the preset threshold is 4. Then, in this case, according to the foregoing determination process, the first boundary column coordinate at this time is 1, the second boundary column coordinate is 959. Then, the absolute value of the first difference is 699, the absolute value of the second difference is 259. At this time, the first difference is greater than 4, the second difference is greater than 4, that is, the absolute value of the first difference is greater than the preset threshold and the absolute value of the second difference is greater than the preset threshold. At this time, the target sub-pixel is in the non-driving boundary area, and the third look-up table should be selected to determine the target pixel polarity of the target sub-pixel. If the target column coordinate of the target sub-pixel is 598, at this time, the absolute value of the first difference is 597, the absolute value of the second difference is 1. At this time, the second difference is less than 4, the first difference is greater than 4, that is, the absolute value of the first difference is greater than the preset threshold and the absolute value of the second difference is less than the preset threshold. At this time, the target sub-pixel is in the driving boundary area, and the second look-up table should be selected to determine the target pixel polarity.
[0055] In some embodiments, after selecting the second look-up table or the third look-up table, determining the target pixel polarity of the target sub-pixel according to the second look-up table or the third look-up table may include the following two cases.
[0056] First, obtain the target row coordinate and the target column coordinate of the target sub-pixel, and determine the target pixel polarity according to the target row coordinate, the target column coordinate, the first number of rows of the second look-up table, and the first number of columns of the second look-up table. For example, the first row search index can be determined according to the target row coordinate and the first number of rows, and then the first column search index can be determined according to the target column coordinate and the first number of columns. Finally, the target pixel polarity can be obtained from the second look-up table according to the first row search index and the first column search index.
[0057] Second, obtain the target row coordinate and target column coordinate of the target sub-pixel, and determine the target pixel polarity according to the target row coordinate, the target column coordinate, the number of rows in the third look-up table, and the number of columns in the third look-up table. For example, the second row look-up index may be determined according to the target row coordinate and the number of rows in the second look-up table, and then the second column look-up index may be determined according to the target column coordinate and the number of columns in the second look-up table. Finally, the target pixel polarity may be obtained from the third look-up table according to the second row look-up index and the second column look-up index.
[0058] Specifically, when selecting the second look-up table to determine the target pixel polarity of the target sub-pixel, the first row look-up index and the first column look-up index may be calculated respectively according to the target row coordinate corresponding to the target sub-pixel and the number of rows in the second look-up table, and the target column coordinate of the target sub-pixel and the number of columns in the first look-up table according to the following formula.
[0059] m = mod((j - 1), p) + 1 (1).
[0060] n = mod((i - 1), q) + 1 (2).
[0061] Wherein, m is the first row look-up index; n is the first column look-up index; j is the target row coordinate; i is the target column coordinate; p is the number of rows in the first look-up table; q is the number of columns in the first look-up table.
[0062] Exemplarily, as Figure 8 shown in the second look-up table, wherein, exemplarily, 0 in the second look-up table may represent the positive polarity and 1 may represent the negative polarity. Assume that the display panel 100 includes COF3 and COF4 as Figure 3 shown, and the display panel 100 includes a total of 4 rows and 1920 columns of sub-pixels. At this time, the first look-up table is 1 * 2, and the driving boundary information corresponding to COF3 and COF4 is 1 and 960 respectively. In this case, assume that the target column coordinate of the target sub-pixel is 960 and the target row coordinate is 4. Then, according to the foregoing steps, first determine the first row look-up index according to the target row coordinate (such as 4) and the number of rows in the second look-up table (such as 4), and determine the first column look-up index according to the target column coordinate (such as 960) and the number of columns in the second look-up table (such as 12). The first row look-up index calculated according to the above formula (1) is: 4; the first column look-up index calculated according to the above formula (2) is: 12. Then, according to the first row look-up index (such as 4) and the first column look-up index (such as 12), the pixel polarity of the 4th row and 12th column is found to be 1 in the second look-up table, that is, the target pixel polarity of the target sub-pixel is the negative polarity represented by 1.
[0063] It should be noted that the step of using the third lookup table to determine the target pixel polarity of the target sub-pixel is similar to the above-mentioned step of using the second lookup table to determine the target pixel polarity of the target sub-pixel, except that the content of the third lookup table is different from that of the second lookup table, and thus will not be elaborated here.
[0064] S53. When the sub-pixels within the driving range corresponding to the target source driving circuit need to have their polarities inverted, adjust the gray-scale compensation value corresponding to the target pixel polarity to obtain a first target gray-scale compensation value, and perform brightness compensation on the target sub-pixel.
[0065] It should be noted that according to the aforementioned POLC function, when a sub-pixel is in the polarity inversion region, in order to avoid compensation misalignment, it is necessary to reallocate the gray-scale compensation values of the positive and negative polarities corresponding to the polarity inversion region so that the gray-scale compensation values can correspond to the correct polarities.
[0066] Based on this, in an optional implementation manner, the first original gray-scale compensation value corresponding to the positive polarity and the second original gray-scale compensation value corresponding to the negative polarity of the target sub-pixel before polarity inversion can be obtained first; if the target pixel polarity is negative polarity, determine the first original gray-scale compensation value as the first target gray-scale compensation value; if the target pixel polarity is positive polarity, determine the second original gray-scale compensation value as the first target gray-scale compensation value.
[0067] In this way, when the sub-pixels within the driving range corresponding to the target source driving circuit of the target sub-pixel need to have their polarities inverted, first obtain the first original gray-scale compensation value corresponding to the positive polarity and the second original gray-scale compensation value corresponding to the negative polarity of the target sub-pixel before polarity inversion, and then exchange these two gray-scale compensation values to correspond the compensation to the correct polarity. Specifically, when the target pixel polarity of the target sub-pixel is negative polarity, use the first original gray-scale compensation value corresponding to the original positive polarity as the first target gray-scale compensation value; when the target pixel polarity of the target sub-pixel is positive polarity, use the second original gray-scale compensation value corresponding to the original negative polarity as the first target gray-scale compensation value.
[0068] Exemplarily, such as Figure 4As shown, assume that the first original gray-scale compensation value corresponding to the positive polarity before flipping is X1 = 40; the second original gray-scale compensation value corresponding to the negative polarity before flipping is X2 = 28. If the target sub-pixel is in the polarity flipping region, then, at this time, if the target pixel polarity of the target sub-pixel is negative polarity, the first original gray-scale compensation value corresponding to the original positive polarity is used as the first target gray-scale compensation value, that is, X1 = 40 is used as the first target gray-scale compensation value; at this time, if the target pixel polarity of the target sub-pixel is positive polarity, the second original gray-scale compensation value corresponding to the original negative polarity is used as the first target gray-scale compensation value, that is, X2 = 28 is used as the first target gray-scale compensation value.
[0069] In some other embodiments, when it is determined that the sub-pixel driven by the target source driver circuit does not need to flip its polarity, the first original gray-scale compensation value corresponding to the positive polarity of the target sub-pixel and the second original gray-scale compensation value corresponding to the negative polarity can also be obtained; the second target gray-scale compensation value of the target sub-pixel is determined according to the first original gray-scale compensation value and the second original gray-scale compensation value, and brightness compensation is performed on the target sub-pixel. Among them, if the target pixel polarity of the target sub-pixel is positive polarity, the first original gray-scale compensation value is determined as the second target gray-scale compensation value; if the target pixel polarity of the target sub-pixel is negative polarity, the second original gray-scale compensation value is determined as the second target gray-scale compensation value.
[0070] In this way, when the sub-pixel driven by the target source driver circuit corresponding to the target sub-pixel does not need to flip its polarity, if the target pixel polarity of the target sub-pixel is positive polarity, the first original gray-scale compensation value corresponding to the positive polarity of the obtained target sub-pixel can be used as the second target gray-scale compensation value; if the target pixel polarity of the target sub-pixel is negative polarity, the second original gray-scale compensation value corresponding to the negative polarity of the obtained target sub-pixel can be used as the second target gray-scale compensation value. Exemplarily, as Figure 4 shown, assume that the first original gray-scale compensation value corresponding to the positive polarity before flipping is X1 = 40; the second original gray-scale compensation value corresponding to the negative polarity before flipping is X2 = 28. If the target sub-pixel is not in the polarity flipping region, then, at this time, if the target pixel polarity of the target sub-pixel is negative polarity, the second original gray-scale compensation value corresponding to the original negative polarity is used as the second target gray-scale compensation value, that is, X2 = 28 is used as the second target gray-scale compensation value; at this time, if the target pixel polarity of the target sub-pixel is positive polarity, the first original gray-scale compensation value corresponding to the original positive polarity is used as the second target gray-scale compensation value, that is, X1 = 40 is used as the first target gray-scale compensation value.
[0071] It should be noted that whether the sub-pixels within the driving range corresponding to the COF included in the display panel need to be polarity-inverted has been planned during the display panel design stage. Before determining whether the sub-pixels within the driving range corresponding to the target source driving circuit corresponding to the target sub-pixel need to be polarity-inverted, the corresponding relationship between the COF and the identifier capable of indicating whether the COF is polarity-inverted has been stored in the aforementioned driving circuit 102. During subsequent use, after knowing the target source driving circuit corresponding to the target sub-pixel, it can be known whether the target sub-pixel needs to be polarity-inverted according to the aforementioned corresponding relationship.
[0072] In some embodiments, when performing brightness compensation on the target sub-pixel, the initial display data of the target sub-pixel may be first obtained, and then the initial display data may be compensated according to the first target gray-scale compensation value or the second target gray-scale compensation value to obtain target display data. Finally, the target sub-pixel is driven according to the target display data to perform brightness compensation on the target sub-pixel.
[0073] It should be noted that the target sub-pixel can be one of the red (R), green (G), and blue (B) sub-pixels. Correspondingly, the initial display data can refer to the initial gray-scale value of one of the red (R), green (G), and blue (B) sub-pixels before brightness compensation. The so-called compensating the initial display data according to the first target gray-scale compensation value or the second target gray-scale compensation value to obtain target display data can mean adding the first target gray-scale compensation value or the second target gray-scale compensation value to the initial gray-scale value to obtain the accumulated gray-scale value as the target display data. The target sub-pixel is determined according to the accumulated gray-scale value to perform brightness compensation on the target sub-pixel.
[0074] The brightness compensation method for a display panel provided by an embodiment of the present invention determines a target source driver circuit for a target sub-pixel by using a first look-up table, and then determines whether the target source driver circuit needs to be polarity-inverted. Since the first look-up table contains mapping relationships between multiple source driver circuits and driving boundary information, the source driver circuit corresponding to the target sub-pixel can be accurately found, and thus it can be accurately determined whether the target sub-pixel is in the polarity-inverted region, thereby reducing the false detection of the traditional method of determining polarity inversion that is limited to the source driver circuits being connected to the same data lines. Moreover, a second look-up table or a third look-up table is used to determine the target pixel polarity of the target sub-pixel. Since the second look-up table contains the correspondence between sub-pixels in the driving boundary region and pixel polarities, and the third look-up table contains the correspondence between sub-pixels in the non-driving boundary region and pixel polarities, the second look-up table or the third look-up table is selected according to the actual position of the target sub-pixel's coordinates. In this way, the target pixel polarity of the target sub-pixel can be more accurately determined. In addition, when the target sub-pixel polarity is inverted, the gray-scale compensation value corresponding to the target pixel polarity is adjusted to avoid the problem of image difference caused by the opposite positive and negative polarity compensation values due to the sub-pixel polarity inversion, resulting in different brightnesses at different positions in the final display screen.
[0075] In some embodiments, an embodiment of the present invention further provides a brightness compensation device for a display panel. The display panel may include multiple source driver circuits; each of the source driver circuits is connected to multiple data lines and is used to drive the sub-pixels connected to the multiple data lines; as Figure 9 shown, the brightness compensation device may include a first determination unit 901, a second determination unit 902, and an adjustment unit 903.
[0076] Among them, the first determination unit 901 is used to determine a target source driver circuit for driving a target sub-pixel according to a first look-up table when the polarity inversion compensation function is enabled; the first look-up table includes mapping relationships between multiple source driver circuits and corresponding driving boundary information; the driving boundary information represents the driving range of the source driver circuit; the driving range includes the sub-pixels connected to the multiple data lines connected to the source driver circuit.
[0077] A second determination unit 902 is configured to determine the target pixel polarity of the target sub-pixel according to a second look-up table or a third look-up table; wherein, the second look-up table includes a mapping relationship between sub-pixels in a driving boundary region and corresponding pixel polarities; the third look-up table includes a mapping relationship between sub-pixels in a non-driving boundary region and corresponding pixel polarities; the driving boundary region includes sub-pixels in the driving range of the source driving circuit where the absolute value of the difference between the column coordinates and the column coordinates of the boundary sub-pixels included in the driving range is less than or equal to a preset threshold; the non-driving boundary region includes sub-pixels in the driving range of the source driving circuit where the absolute value of the difference between the column coordinates and the column coordinates of the boundary sub-pixels included in the driving range is greater than the preset threshold.
[0078] An adjustment unit 903 is configured to, when the sub-pixels within the driving range corresponding to the target source driving circuit need polarity inversion, adjust the gray-scale compensation value corresponding to the target pixel polarity to obtain a first target gray-scale compensation value, and perform brightness compensation on the target sub-pixel.
[0079] Wherein, the first determination unit 901, the second determination unit 902, and the adjustment unit 903 can be respectively configured to execute steps such as S51 - S53 in the foregoing method embodiments. For the detailed implementation processes and related contents of these functional units, reference can be made to the descriptions of the corresponding method steps above, and details are not elaborated here one by one.
[0080] It should be noted that when the brightness compensation device provided in the foregoing embodiments performs brightness compensation, only the division of the foregoing program modules is used for illustration. In practical applications, the above processing steps can be allocated to different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the brightness compensation device provided in the foregoing embodiments and Figure 5 the brightness compensation method embodiments shown belong to the same concept. For the specific implementation process, reference can be made to the method embodiments, and details are not elaborated here.
[0081] To implement the method of the embodiments of the present invention, as Figure 10As shown in the figure, an embodiment of the present invention further provides an electronic device 1000, which may include: a memory 1001 for storing a computer program; and a processor 1002 for implementing the method described in any one of the above when executing the computer program. For example, the processor 1002 may be used to implement: when the polarity inversion compensation function is turned on, determining a target source driver circuit for driving a target sub-pixel according to a first look-up table; the first look-up table includes a mapping relationship between a plurality of the source driver circuits and corresponding driving boundary information; the driving boundary information characterizes the driving range of the source driver circuit; the driving range includes sub-pixels connected to a plurality of data lines connected to the source driver circuit; determining the target pixel polarity of the target sub-pixel according to a second look-up table or a third look-up table; wherein, the second look-up table includes a mapping relationship between sub-pixels in a driving boundary region and corresponding pixel polarities; the third look-up table includes a mapping relationship between sub-pixels in a non-driving boundary region and corresponding pixel polarities; the driving boundary region includes sub-pixels whose absolute value of the difference between the column coordinate in the driving range of the source driver circuit and the column coordinate of the boundary sub-pixel included in the driving range is less than or equal to a preset threshold; the non-driving boundary region includes sub-pixels whose absolute value of the difference between the column coordinate in the driving range of the source driver circuit and the column coordinate of the boundary sub-pixel included in the driving range is greater than the preset threshold; when the sub-pixels within the driving range corresponding to the target source driver circuit need to have their polarities inverted, adjusting the gray-scale compensation value corresponding to the target pixel polarity to obtain a first target gray-scale compensation value, and performing brightness compensation on the target sub-pixel. The processor 1002 may also implement the steps in any of the methods described above, which will not be elaborated here one by one.
[0082] It should be noted that the electronic device provided in the above embodiment and the embodiment of the brightness compensation method belong to the same concept. For the specific implementation process, please refer to the method embodiment, which will not be elaborated here.
[0083] Of course, in actual application, as Figure 10 shown, the electronic device 1000 may further include: at least one network interface 1003. Each component in the electronic device 1000 is coupled together through a bus system 1004. It can be understood that the bus system 1004 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1004 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear description, in Figure 10Various buses are labeled as bus system 1004. Among them, the number of the processors 1002 can be at least one. The network interface 1003 is used for communication between the electronic device 1000 and other devices in a wired or wireless manner. The memory 1001 in the embodiments of the present invention is used to store various types of data to support the operation of the electronic device 1000. The methods disclosed in the embodiments of the present invention can be applied to the processor 1002 or implemented by the processor 1002. The processor 1002 may be an integrated circuit chip with the ability to process signals. In the implementation process, the steps of the above method can be completed by the integrated logic circuit in the hardware of the processor 1002 or instructions in the form of software. The above-mentioned processor 1002 can be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 1002 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor can be a microprocessor or any conventional processor, etc. Combining the steps of the method disclosed in the embodiments of the present invention can be directly embodied as a combination of hardware and software modules in a single-chip microcomputer to execute and complete. The software module can be located in a storage medium, and this storage medium is located in the memory 1001. The processor 1002 reads the information in the memory 1001 and combines its hardware to complete the steps of the foregoing method. In an exemplary embodiment, the electronic device 1000 can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontroller units (MCUs), microprocessors, or other electronic components, and is used to execute any step in the foregoing brightness compensation method.
[0084] Specifically, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored. For example, it includes the memory 1001 storing the computer program. The above computer program can be executed by the processor 1002 to complete the steps of the foregoing method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.
[0085] In addition, in each embodiment of the present invention, each functional unit can be entirely integrated into one processing unit, or each unit can be separately regarded as one unit, or two or more units can be integrated into one unit; the above-mentioned integrated unit can be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.
[0086] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including the above method embodiments; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs and other various media that can store program codes.
[0087] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the various embodiments of the present invention. And the foregoing storage medium includes: removable storage devices, ROM, RAM, magnetic disks, or optical discs and other various media that can store program codes.
[0088] In the above embodiments, the descriptions of the various embodiments have their respective emphases. For the parts not elaborated in a certain embodiment, reference can be made to the detailed descriptions of other embodiments above, and details will not be repeated here.
[0089] The above has introduced in detail the brightness compensation method, device, and electronic device of the display panel provided by the embodiments of the present invention. Specific examples are used in this article to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the technical solution and its core idea of the present invention; those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A brightness compensation method for a display panel, characterized in that, The display panel includes a plurality of source driver circuits; Each of the source driver circuits is connected to a plurality of data lines and is configured to drive sub-pixels connected to the plurality of data lines; The method includes: When the polarity inversion compensation function is enabled, determining a target source driver circuit for driving a target sub-pixel according to a first look-up table; The first look-up table includes a mapping relationship between a plurality of the source driver circuits and corresponding driving boundary information; The driving boundary information characterizes the driving range of the source driver circuit; The driving range includes sub-pixels connected to a plurality of data lines connected to the source driver circuit; Determining a target pixel polarity of the target sub-pixel according to a second look-up table or a third look-up table; wherein, the second look-up table includes a mapping relationship between sub-pixels in a driving boundary region and corresponding pixel polarities; The third look-up table includes a mapping relationship between sub-pixels in a non-driving boundary region and corresponding pixel polarities; The driving boundary region includes sub-pixels in the driving range of the source driver circuit where the absolute value of the difference between the column coordinate and the column coordinate of the boundary sub-pixel included in the driving range is less than or equal to a preset threshold; The non-driving boundary region includes sub-pixels in the driving range of the source driver circuit where the absolute value of the difference between the column coordinate and the column coordinate of the boundary sub-pixel included in the driving range is greater than the preset threshold; When sub-pixels within the driving range corresponding to the target source driver circuit need to have their polarities inverted, adjusting the gray-scale compensation value corresponding to the target pixel polarity to obtain a first target gray-scale compensation value, and performing brightness compensation on the target sub-pixel.
2. The method according to claim 1, characterized in that, The driving boundary information includes the minimum column coordinate of sub-pixels connected to the first data line within the driving range corresponding to the source driver circuit; The determining a target source driver circuit for driving a target sub-pixel according to the first look-up table includes: Obtaining the target column coordinate of the target sub-pixel; Using the target column coordinate as a search index to check whether there is a column coordinate in the first look-up table that is the same as the target column coordinate; If there is a column coordinate in the first look-up table that is the same as the target column coordinate, determining the source driver circuit corresponding to the column coordinate that is the same as the target column coordinate as the target source driver circuit; If there is no column coordinate in the first look-up table that is the same as the target column coordinate, obtaining a reference column coordinate in the first look-up table; Determining the source driver circuit corresponding to the reference column coordinate as the target source driver circuit, where the reference column coordinate is the column coordinate in the first look-up table that has the smallest difference from the target column coordinate and is less than the target column coordinate.
3. The method according to claim 1, wherein The driving boundary information includes the minimum column coordinate of sub-pixels connected to the first data line within the driving range corresponding to the source driver circuit; The method further includes: Determining the position type of the target sub-pixel according to the first look-up table; The position type includes being in the driving boundary region or being in the non-driving boundary region; Determine a first boundary column coordinate and a second boundary column coordinate of a driving range of the target source driving circuit corresponding to the target sub-pixel according to the first look-up table; the first boundary column coordinate is less than the second boundary column coordinate; If the absolute value of a first difference between the first boundary column coordinate and a target column coordinate of the target sub-pixel is less than or equal to the preset threshold, or the absolute value of a second difference between the second boundary column coordinate and the target column coordinate is less than or equal to the preset threshold, then determine that the position type of the target sub-pixel is in the driving boundary region, and determine a target pixel polarity of the target sub-pixel according to the second look-up table; If the absolute value of the first difference is greater than the preset threshold and the absolute value of the second difference is greater than the preset threshold, then determine that the position type of the target sub-pixel is in the non-driving boundary region, and determine the target pixel polarity of the target sub-pixel according to the third look-up table.
4. The method according to claim 3, wherein The determining the target pixel polarity of the target sub-pixel according to the second look-up table or the third look-up table includes: Obtain a target row coordinate and a target column coordinate of the target sub-pixel, and determine the target pixel polarity according to the target row coordinate, the target column coordinate, a first number of rows of the second look-up table, and a first number of columns of the second look-up table; Alternatively, obtain the target row coordinate and the target column coordinate of the target sub-pixel, and determine the target pixel polarity according to the target row coordinate, the target column coordinate, a second number of rows of the third look-up table, and a second number of columns of the third look-up table.
5. The method according to claim 4, wherein The determining the target pixel polarity according to the target row coordinate, the target column coordinate, the first number of rows of the second look-up table, and the first number of columns of the second look-up table includes: determining a first row search index according to the target row coordinate and the first number of rows; determining a first column search index according to the target column coordinate and the first number of columns; and obtaining the target pixel polarity from the second look-up table according to the first row search index and the first column search index; The determining the target pixel polarity according to the target row coordinate, the target column coordinate, the second number of rows of the third look-up table, and the second number of columns of the third look-up table includes: determining a second row search index according to the target row coordinate and the second number of rows; determining a second column search index according to the target column coordinate and the second number of columns; and obtaining the target pixel polarity from the third look-up table according to the second row search index and the second column search index.
6. The method according to claim 1, wherein Adjusting a gray-scale compensation value corresponding to the target pixel polarity to obtain a first target gray-scale compensation value, and performing brightness compensation on the target sub-pixel includes: Obtain a first original gray-scale compensation value corresponding to a positive polarity and a second original gray-scale compensation value corresponding to a negative polarity of the target sub-pixel before polarity inversion; If the target pixel polarity is negative polarity, determine the first original gray-scale compensation value as the first target gray-scale compensation value; If the target pixel polarity is positive polarity, determine the second original gray-scale compensation value as the first target gray-scale compensation value.
7. The method according to claim 1, wherein The method further includes: When it is determined that the sub-pixels driven by the target source driver circuit do not require polarity inversion, obtain the first original gray-scale compensation value corresponding to the positive polarity of the target sub-pixel and the second original gray-scale compensation value corresponding to the negative polarity. Determine the second target gray-scale compensation value of the target sub-pixel according to the first original gray-scale compensation value and the second original gray-scale compensation value, and perform brightness compensation on the target sub-pixel; wherein, if the target pixel polarity of the target sub-pixel is positive polarity, determine the first original gray-scale compensation value as the second target gray-scale compensation value; if the target pixel polarity of the target sub-pixel is negative polarity, determine the second original gray-scale compensation value as the second target gray-scale compensation value.
8. The method according to claim 7, wherein The performing brightness compensation on the target sub-pixel includes: Obtain the initial display data of the target sub-pixel. Compensate the initial display data according to the first target gray-scale compensation value or the second target gray-scale compensation value to obtain target display data. Drive the target sub-pixel according to the target display data to perform brightness compensation on the target sub-pixel.
9. A brightness compensation device for a display panel, characterized in that, The display panel includes a plurality of source driver circuits. Each of the source driver circuits is connected to a plurality of data lines and is used to drive the sub-pixels connected to the plurality of data lines. The brightness compensation device includes: A first determination unit, configured to, when the polarity inversion compensation function is enabled, determine a target source driver circuit for driving a target sub-pixel according to a first look-up table; the first look-up table includes a mapping relationship between a plurality of the source driver circuits and corresponding driving boundary information; the driving boundary information characterizes the driving range of the source driver circuit; the driving range includes the sub-pixels connected to the plurality of data lines connected by the source driver circuit. A second determination unit, configured to determine the target pixel polarity of the target sub-pixel according to a second look-up table or a third look-up table; wherein, the second look-up table includes a mapping relationship between the sub-pixels in the driving boundary region and the corresponding pixel polarities; the third look-up table includes a mapping relationship between the sub-pixels in the non-driving boundary region and the corresponding pixel polarities; the driving boundary region includes sub-pixels in the driving range of the source driver circuit where the absolute value of the difference between the column coordinates and the column coordinates of the boundary sub-pixels included in the driving range is less than or equal to a preset threshold; the non-driving boundary region includes sub-pixels in the driving range of the source driver circuit where the absolute value of the difference between the column coordinates and the column coordinates of the boundary sub-pixels included in the driving range is greater than the preset threshold. An adjustment unit, configured to, when the sub-pixels within the driving range corresponding to the target source driver circuit require polarity inversion, adjust the gray-scale compensation value corresponding to the target pixel polarity to obtain a first target gray-scale compensation value, and perform brightness compensation on the target sub-pixel.
10. An electronic device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the brightness compensation method for the display panel according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Liquid crystal display device
CN103901668A
Pixel compensation method and device, time sequence controller, array substrate and display device
CN109741717A
Screen pixel backlight weight calculation method and device, storage medium and electronic equipment
CN115762426A
A field winding motor generator having rotor of optimum magnet arrangement using permanent magnet assist structure and its fabrication method
KR102164962B1
Display apparatus and method of driving the display apparatus
US20160005367A1
Cited By
Display panel, driving compensation method of display panel and time sequence controller
CN121393333A