Touch compensation method, chip, display panel and display device

By calculating the touch compensation coefficient by obtaining the data voltage change of pixel units in different areas of the touch display panel, the problem of poor touch response in touch display devices under heavy load or high frequency display is solved, achieving a balance between accurate compensation and cost-effectiveness.

CN119314416APending Publication Date: 2025-01-14HUBEI YANGTZE IND INNOVAION CENT OF ADVANCED DISPLAY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411413427.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

Touch display devices are prone to poor touch performance when displaying heavy screens or high-frequency content. Existing compensation solutions have limited applicability and poor compatibility, leading to problems such as false alarms or random alarms. Furthermore, integrating touch and display driver chips increases production costs.

Method used

By dividing the touch display panel into multiple first regions, obtaining the data voltage change of pixel units in each region, calculating the touch compensation coefficient, and performing compensation based on a preset touch compensation benchmark value, accurate compensation of touch signals in different regions can be achieved, reducing computational complexity and memory requirements.

Benefits of technology

It improves the accuracy of touch compensation, reduces the probability of malfunctioning touches, reduces production costs, and enhances touch response speed and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119314416A_ABST
    Figure CN119314416A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a touch compensation method, a chip, a display panel and a display device. The method comprises the following steps: acquiring a data voltage of a previous frame and a data voltage of a current frame of a pixel unit in each first region; and obtaining a touch compensation coefficient corresponding to the target first area based on the data voltage of the pixel unit of the target first area in the previous frame and the data voltage of the current frame. And obtaining a corresponding touch compensation value based on a preset touch compensation reference value and the touch compensation coefficient. And compensating the corresponding touch signal based on the touch compensation value. The method provided by the embodiment of the invention is used for improving the phenomenon that the touch display panel is prone to poor touch.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present application relates to the field of display technology, and more particularly to a touch compensation method, a chip, a display panel and a display device. [Background technology]

[0002] In order to improve the integration of touch display devices, touch and display driver chips came into being. Compared with the separate structure of display driver chips and touch chips, many technical problems will arise with the integration of touch and display driver chips. For example, the design difficulty of touch and display driver chips will increase, the timing interference when the module is driven, the display noise of the touch signal and other problems will become more obvious. As a result, the touch display device is prone to poor touch when displaying heavy-load images or high-frequency displays. [Summary of the invention]

[0003] In view of this, the embodiments of the present application provide a touch compensation method, a chip, a display panel and a display device, so as to improve the phenomenon that a touch display panel is prone to poor touch.

[0004] In a first aspect, an embodiment of the present application provides a touch compensation method, which is applicable to a touch display panel, wherein the touch display panel comprises: a plurality of first regions, each of which comprises a plurality of pixel units. The method comprises:

[0005] The data voltage of the previous frame and the data voltage of the current frame of the pixel unit in each first region are obtained.

[0006] A touch compensation coefficient corresponding to the target first area is obtained based on a data voltage of a previous frame and a data voltage of a current frame of a pixel unit of the target first area.

[0007] Based on the preset touch compensation reference value and the touch compensation coefficient, a corresponding touch compensation value is obtained.

[0008] Based on the touch compensation value, the corresponding touch signal is compensated.

[0009] In a possible implementation of the first aspect, the touch display panel includes a plurality of first touch electrodes and a plurality of second touch electrodes, the plurality of first touch electrodes are arranged along a first direction, and the plurality of second touch electrodes are arranged along a second direction. Each first touch electrode includes a plurality of first sub-electrodes that are electrically connected to each other and arranged along the second direction. Each second touch electrode includes a plurality of second sub-electrodes that are electrically connected to each other and arranged along the first direction. Each first region includes an integer number of first sub-electrodes and an integer number of pixel units, or each first region includes an integer number of second sub-electrodes and an integer number of pixel units.

[0010] In a possible implementation of the first aspect, acquiring a touch compensation coefficient corresponding to the target first area based on a data voltage of a previous frame and a data voltage of a current frame of a pixel unit in the target first area includes:

[0011] Based on the data voltage of the target pixel unit in the target first region in a previous frame and the data voltage of the current frame, a grayscale change amount or a display brightness change amount between the previous frame and the current frame of the target pixel unit is obtained.

[0012] Based on the grayscale change or display brightness change of the target pixel unit between a previous frame and a current frame, a touch compensation coefficient corresponding to the target first area is obtained.

[0013] In a possible implementation of the first aspect, based on a preset touch compensation reference value and a touch compensation coefficient, obtaining a corresponding touch compensation value includes: obtaining a target touch compensation reference value corresponding to the target touch unit in a preset touch compensation reference data table, and using the product of the target touch compensation reference value and the touch compensation coefficient as the touch compensation value of the target first area.

[0014] In a possible implementation manner of the first aspect, in a preset touch compensation reference data table, the touch reference value corresponds to the touch compensation reference value.

[0015] In a possible implementation manner of the first aspect, a second area is included between two adjacent first areas, and the second area includes a plurality of pixel units. The touch compensation value in the second area is a linear interpolation of the touch compensation values ​​corresponding to the two first areas.

[0016] In a possible implementation of the first aspect, based on a grayscale change or a display brightness change of a target pixel unit between a previous frame and a current frame, acquiring a touch compensation coefficient corresponding to the target first area includes:

[0017] Based on the grayscale change or display brightness change between the previous frame and the current frame of each target pixel unit in the first target area, the average grayscale change or display brightness change between the previous frame and the current frame of the pixel units in the first target area is obtained.

[0018] An average value of grayscale variation between a previous frame and a current frame or an average value of display brightness variation of pixel units in the first target area is used as a touch compensation coefficient corresponding to the first target area.

[0019] In a possible implementation of the first aspect, based on a grayscale change or a display brightness change of a target pixel unit between a previous frame and a current frame, acquiring a touch compensation coefficient corresponding to the target first area includes:

[0020] Based on the grayscale change or display brightness change between the previous frame and the current frame of each target pixel unit in the first target area, the intermediate value of the grayscale change or display brightness change between the previous frame and the current frame of the pixel unit in the first target area is obtained.

[0021] The middle value of the grayscale variation between the previous frame and the current frame or the display brightness variation of the pixel units in the first target area is used as the touch compensation coefficient corresponding to the first target area.

[0022] In a possible implementation manner of the first aspect, the first region includes at least one intersection node, where the intersection node is an intersection node between the first touch electrode and the second touch electrode.

[0023] In a second aspect, an embodiment of the present application further provides a touch display chip, which compensates for a touch signal using the method provided in the first aspect.

[0024] In a third aspect, an embodiment of the present application further provides a touch display panel, comprising the chip and memory provided in the second aspect, wherein a preset touch compensation reference data table is stored in the memory.

[0025] In a possible implementation manner of the third aspect, the memory includes: a boot loader area, an application area, and a configuration area.

[0026] In a fourth aspect, an embodiment of the present application further provides a touch display device, comprising the display panel provided in the third aspect.

[0027] In the embodiment of the present application, the touch compensation coefficient is determined for each region of the touch display panel, and touch compensation is performed for each region. The compensation coefficient is determined based on the data voltage of the pixel unit, so when the data voltage of the pixel circuit changes, the corresponding touch compensation coefficient can change accordingly, so the touch compensation signal will also change accordingly, so that the touch compensation can be more accurate, thereby effectively reducing the probability of bad touch.

Brief Description of the Drawings

[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0029] Figure 1 A flow chart of a touch compensation method provided in an embodiment of the present application;

[0030] Figure 2A flow chart of obtaining a touch compensation coefficient corresponding to a target first area based on a data voltage of a previous frame and a data voltage of a current frame of a pixel unit of the target first area provided in an embodiment of the present application;

[0031] Figure 3 A flow chart of obtaining a touch compensation coefficient corresponding to a first target area based on a grayscale change between a previous frame and a current frame of a target pixel unit provided in an embodiment of the present application;

[0032] Figure 4 A flow chart of obtaining a touch compensation coefficient corresponding to a first target area based on a grayscale change between a previous frame and a current frame of a target pixel unit provided in an embodiment of the present application;

[0033] Figure 5 A flow chart of obtaining a touch compensation coefficient corresponding to a first target area based on a grayscale change between a previous frame and a current frame of a target pixel unit provided in an embodiment of the present application;

[0034] Figure 6 A flow chart of obtaining a touch compensation coefficient corresponding to a first target area based on a grayscale change between a previous frame and a current frame of a target pixel unit provided in an embodiment of the present application;

[0035] Figure 7 A schematic diagram of the arrangement of a first area and a second area is provided for an embodiment of the present application;

[0036] Figure 8 A schematic diagram of the arrangement of a first area and a second area is provided for an embodiment of the present application;

[0037] Fig. 9 A schematic diagram of a touch display chip and a memory provided in an embodiment of the present application;

[0038] Fig.10 A schematic diagram of a display device provided in an embodiment of the present application.

[0039] Description of symbols

[0040] 100, display panel; 110, touch display chip; 120, memory; 200, display device. [Specific implementation method]

[0041] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0042] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0043] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0044] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0045] In the description of this specification, it is necessary to understand that the words such as "substantially", "approximately", "approximately", "about", "roughly", "substantially" and the like described in the claims and embodiments of the present application refer to what can be generally recognized within a reasonable process operation range or tolerance range, rather than an exact value.

[0046] It should be understood that although the terms first, second, third, etc. may be used to describe the first region, etc. in the embodiments of the present application, these first regions, etc. should not be limited to these terms. These terms are only used to distinguish the first regions, etc. from each other. For example, without departing from the scope of the embodiments of the present application, the first first region may also be referred to as the second first region, and similarly, the second first region may also be referred to as the first first region.

[0047] The reason why the touch display device is prone to poor touch is that when the display device displays a heavy-loaded screen or a high-frequency display, the data voltage of the pixel unit will change sharply, and the sharp change of the pixel voltage will cause the static capacitance value between the touch units (i.e., the capacitance value when not triggered) to increase, thereby causing the Diff value closely related to the touch signal in the first area where the pixel unit is located to increase. With the increase of the Diff value, there will be a phenomenon of poor touch such as false alarm points or random alarm points. In order to improve this phenomenon, the touch signal can be compensated. However, in a system where the touch chip is separated from the display driver chip, this compensation algorithm and mechanism are all located in the flash memory in the touch chip. However, if a touch flash memory is added to the integrated touch and display driver chip, the production cost will rise rapidly, which is not conducive to the development and promotion of technology. In addition, the current touch compensation scheme is limited to general R / G / B display screens and customer-specified heavy-load screens, such as 1w1b / 2w2b to 10w / 10b screens. Among them, 1w1b refers to a screen in which one row of white and one row of black are displayed alternately.

[0048] The compensation mechanism for the aforementioned display screen includes: analyzing the distribution of touch data on the display screen, and compensating the display screen through a correction algorithm corresponding to the display screen. Different display screens may correspond to different correction algorithms. However, since this compensation mechanism applies compensation to the measured screen, its applicability is limited and its compatibility is poor. In addition, as the number of screen types increases, the space for storing specific correction algorithms also increases, and in order to enter the noise judgment and correction mode of each screen, the touch response speed can only be reduced, which ultimately leads to a poor user experience.

[0049] The applicant in this case has provided a solution to the problems existing in the prior art through careful and in-depth research.

[0050] A touch compensation method is applicable to a touch display panel. The touch display panel includes: a plurality of first areas, each of which includes a plurality of pixel units. The touch display panel includes a display area and a non-display area, wherein the non-display area at least partially surrounds the display area. In a possible embodiment, the plurality of first areas are located in the display area, which can be understood as dividing the display area of ​​the touch display panel into a plurality of first areas, and each of the first areas includes a plurality of pixel units.

[0051] In this embodiment, the purpose of dividing the touch display panel into a plurality of first areas is to facilitate more accurate touch compensation for the touch display panel.

[0052] In one embodiment of the present application, the touch display panel may be a mutual touch. The touch display panel includes a plurality of first touch electrodes and a plurality of second touch electrodes, wherein the plurality of first touch electrodes are arranged along a first direction, and the plurality of second touch electrodes are arranged along a second direction. The first direction intersects with the second direction, for example, the first direction is perpendicular to the second direction. Each first touch electrode includes a plurality of first sub-electrodes electrically connected to each other and arranged along the second direction. Each second touch electrode includes a plurality of second sub-electrodes electrically connected to each other and arranged along the first direction. Each first region includes an integer number of first sub-electrodes and an integer number of pixel units, or each first region includes an integer number of second sub-electrodes and an integer number of pixel units. It can be understood that the area of ​​the first region is an integer multiple of the area of ​​the pixel unit and an integer multiple of the area of ​​the first sub-electrode (or the second sub-electrode). In a possible implementation, the pixel unit is a red pixel unit, a green pixel unit, or a blue pixel unit. Or in another possible implementation, the pixel unit includes a red sub-pixel unit, a green sub-pixel unit and a blue sub-pixel unit, that is, each pixel unit includes red, green and blue sub-pixel units.

[0053] The area of ​​the first region is an integer multiple of the pixel unit area and an integer multiple of the first sub-electrode (or the second sub-electrode), which can improve the touch compensation accuracy of the touch display panel while taking into account the size difference between the pixel unit and the touch electrode.

[0054] In one embodiment of the present application, the touch display panel may be a self-sensing touch panel, and the touch display panel includes a plurality of touch electrodes. Then each first region includes an integer number of touch electrodes and an integer number of pixel units. It can be understood that the area of ​​the first region is an integer multiple of the area of ​​the pixel unit and an integer multiple of the area of ​​the touch electrode.

[0055] like Figure 1 As shown, the touch compensation method provided in the embodiment of the present application is implemented by a touch display chip. The touch compensation method includes:

[0056] S100, obtaining a data voltage of a previous frame and a data voltage of a current frame of a pixel unit in each first region.

[0057] The touch display panel includes a touch display chip, and the touch display chip includes an internal memory of the chip. When the touch display panel displays, the data voltage of the corresponding frame of each pixel unit in the display area will be stored in the internal memory of the chip, so that the touch display panel can display static or dynamic images. In a possible implementation, the internal memory of the chip is SRAM (Static Random-Access Memory).

[0058] A touch display chip is a chip that integrates touch control and display. A touch display chip can process both touch signals and display signals. Therefore, a touch display chip can realize both touch control and display control.

[0059] The touch display panel obtains the data voltage of the previous frame and the data voltage of the current frame of each pixel unit in the first area from the internal memory of the chip, wherein the current frame refers to a frame at the current moment, and the previous frame refers to the frame before the current frame.

[0060] S200 , acquiring a touch compensation coefficient corresponding to the target first area based on a data voltage of a previous frame and a data voltage of a current frame of a pixel unit in the target first area.

[0061] The target first area is one of the multiple first areas. The target first area refers to the first area to be touch-compensated. For example, the target first area is the first area that triggers the touch display to generate a touch signal.

[0062] After acquiring the data voltage of the previous frame and the data voltage of the current frame of the target pixel unit in the target first area, the touch display chip obtains the touch compensation coefficient corresponding to the target first area based on a preset calculation method. The target pixel unit refers to a pixel unit in the first area that needs to acquire the data voltage of the previous frame and the data voltage of the current frame, which is determined according to a preset rule or in a random manner. The touch compensation coefficient is used to characterize the touch compensation strength. In a possible implementation, the larger the touch compensation coefficient, the greater the touch compensation strength.

[0063] like Figure 2 As shown, in a possible implementation, based on the data voltage of the pixel unit in the target first area in a previous frame and the data voltage of the current frame, acquiring the touch compensation coefficient corresponding to the target first area includes:

[0064] S210, based on the data voltage of the target pixel unit in the target first region in the previous frame and the data voltage of the target pixel unit in the target first region in the current frame, obtain the grayscale change or display brightness change of the target pixel unit in the previous frame and the current frame.

[0065] In a possible implementation, the target pixel unit is each pixel unit in the target first area. The touch compensation coefficient corresponding to the first area is obtained based on the data voltage of each pixel unit in the previous frame and the current frame, so that the touch compensation coefficient can be more accurate.

[0066] In a possible implementation, the target pixel unit is a portion of the pixel units in the target first area, for example, a pixel unit at a preset coordinate point, such as a pixel unit at the intersection of the Nth row and the Mth column in the first target area. Using a portion of the pixel units in the target first area as the target pixel unit can effectively save the amount of calculation and improve the calculation efficiency.

[0067] The data voltage of the pixel unit is correspondingly related to the grayscale of the pixel unit. In a possible implementation, the pixel unit includes: a red sub-pixel unit, a green sub-pixel unit, and a blue sub-pixel unit. The grayscale value of the pixel unit is divided into 0-255, and the grayscale value of the pixel unit can be calculated according to a preset calculation method. For example, by weighting the three-color sub-pixels, that is, the grayscale value G=aR g +bG g +cBg, where a, b, and c represent weights, respectively. g Represents the grayscale value of the red sub-pixel unit, G g Bg represents the grayscale value of the green sub-pixel unit, and Bg represents the grayscale value of the blue sub-pixel unit. In a possible implementation, a red sub-pixel unit is a red LED lamp bead, a green sub-pixel unit is a green LED lamp bead, and a blue sub-pixel unit is a blue LED lamp bead. When the LED lamp bead is displayed, there is a linear correspondence between its data voltage and its grayscale value. Therefore, the grayscale value of the pixel unit can be obtained by the data voltage of the pixel unit. The grayscale change of the pixel unit can be obtained by using the data voltage of the pixel unit in the previous frame and the data voltage of the pixel unit in the current frame.

[0068] The data voltage of the pixel unit is correspondingly related to the brightness of the pixel unit. The brightness value of the pixel unit refers to the brightness change in the pixel unit. The brightness value of the pixel unit can also be calculated according to a preset calculation method. For example, in one possible implementation, the brightness of the LED lamp bead = UI*k, where U is the data voltage, I is the driving current flowing through the LED, and k is the light efficiency conversion coefficient. Taking the pixel unit including a red sub-pixel unit, a green sub-pixel unit and a blue sub-pixel unit as an example, the brightness of the pixel unit can be: The brightness of the pixel unit L = dR L +eG L +fB L , where d, e, and f represent weights, R L Represents the brightness value of the red sub-pixel unit, G L Indicates the brightness value of the green sub-pixel unit, B L represents the brightness value of the blue sub-pixel unit. Therefore, the brightness value of the pixel unit can be obtained through the data voltage. The brightness change value of the pixel unit can be obtained by using the data voltage of the previous frame of the pixel unit and the data voltage of the current frame of the pixel unit.

[0069] S220 , obtaining a touch compensation coefficient corresponding to the target first area based on a grayscale change or a display brightness change of the target pixel unit between a previous frame and a current frame.

[0070] The touch display chip obtains the touch compensation coefficient corresponding to the target first area according to the grayscale change or display brightness change of the target pixel unit between the previous frame and the current frame in a preset calculation method.

[0071] like Figure 3 As shown, in a possible implementation, based on the grayscale change of the target pixel unit between the previous frame and the current frame, obtaining the touch compensation coefficient corresponding to the first target area includes:

[0072] S221, based on the grayscale variation of each target pixel unit in the target first area between the previous frame and the current frame, obtain an average value of the grayscale variation of the pixel units in the target first area between the previous frame and the current frame.

[0073] After obtaining the grayscale change amount between the previous frame and the current frame of each target pixel unit in the first target area, the touch display chip performs average processing. For example, in a possible implementation, the first target area includes H target pixel units, then the grayscale change amount between the previous frame and the current frame corresponding to each pixel unit in the H pixel units is first obtained, and then the formula is used: Among them, ΔG i Indicates the grayscale change between the previous frame and the current frame of the i-th target pixel unit.

[0074] S222: Taking the average value of the grayscale variation between the previous frame and the current frame of the pixel units in the first target area as the touch compensation coefficient corresponding to the first target area.

[0075] Using the average value of the grayscale variation between the previous frame and the current frame of the pixel units in the first target area as the touch compensation coefficient corresponding to the first target area can effectively ensure the accuracy of the touch compensation coefficient and the compensation effect of the touch compensation in the first target area.

[0076] like Figure 4 As shown, in a possible implementation, based on the display brightness change of the target pixel unit between the previous frame and the current frame, obtaining the touch compensation coefficient corresponding to the target first area includes:

[0077] S321, based on the display brightness variation of each target pixel unit in the target first area between the previous frame and the current frame, obtain an average value of the display brightness variation of the pixel units in the target first area between the previous frame and the current frame.

[0078] After obtaining the display brightness change amount between the previous frame and the current frame of each target pixel unit in the first target area, the touch display chip performs average processing. For example, in a possible implementation, the first target area includes H target pixel units, then the display brightness change amount between the previous frame and the current frame corresponding to each pixel unit in the H pixel units is first obtained, and then the formula is used: Where, ΔL i Indicates the brightness change between the previous frame and the current frame of the i-th target pixel unit.

[0079] S322: Taking the average value of the display brightness variation between the previous frame and the current frame of the pixel units in the first target area as the touch compensation coefficient corresponding to the first target area.

[0080] Using the average value of the display brightness change between the previous frame and the current frame of the pixel units in the first target area as the touch compensation coefficient corresponding to the first target area can effectively ensure the accuracy of the touch compensation coefficient and the compensation effect of the touch compensation in the first target area.

[0081] like Figure 5 As shown, in a possible implementation, based on the grayscale change of the target pixel unit between the previous frame and the current frame, obtaining the touch compensation coefficient corresponding to the first target area includes:

[0082] S421, based on the grayscale variation of each target pixel unit in the target first area between the previous frame and the current frame, obtain an intermediate value of the grayscale variation of the pixel unit in the target first area between the previous frame and the current frame.

[0083] The touch display chip determines the middle value of the grayscale change amount of the pixel units in the first target area between the previous frame and the current frame from the grayscale change amount of the multiple target pixel units between the previous frame and the current frame. In a possible implementation, the number of target pixel units in the first target area is an odd number. The middle value of the middle value of the grayscale change amount of the pixel units in the first target area between the previous frame and the current frame is the middle value after these values ​​are sorted by size. For example, the first target area includes m target pixel units, and the grayscale change amounts of the m target pixel units between the previous frame and the current frame are sorted by size (i.e., sorted from large to small or from small to large) and are ΔG1, ΔG2, ΔG3, ... ΔG respectively. m ,but is the middle value of the grayscale change between the previous frame and the current frame of the pixel units in the first target area. In a possible implementation, the middle value of the grayscale change between the previous frame and the current frame of the pixel units in the first target area is the average between the maximum value and the minimum value. For example, the first target area includes m target pixel units, and the grayscale changes between the previous frame and the current frame of the m target pixel units are sorted by size and are ΔG1, ΔG2, ΔG3, ... ΔG m ,but is the middle value of the grayscale change between the previous frame and the current frame of the pixel unit in the first area of ​​the target.

[0084] S422: Taking the intermediate value of the grayscale variation between the previous frame and the current frame of the pixel units in the first target area as the touch compensation coefficient corresponding to the first target area.

[0085] Using the intermediate value of the grayscale variation between the previous frame and the current frame of the pixel units in the first target area as the touch compensation coefficient corresponding to the first target area can effectively reduce the calculation complexity and improve the calculation efficiency.

[0086] like Figure 6 As shown, in a possible implementation, based on the display brightness change of the target pixel unit between the previous frame and the current frame, obtaining the touch compensation coefficient corresponding to the target first area includes:

[0087] S521, based on the display brightness variation of each target pixel unit in the target first area between the previous frame and the current frame, obtain an intermediate value of the display brightness variation of the pixel unit in the target first area between the previous frame and the current frame.

[0088] The touch display chip determines the median value of the display brightness change between the previous frame and the current frame of the pixel units in the first target area from the display brightness change between the previous frame and the current frame of multiple target pixel units. In a possible implementation, the number of target pixel units in the first target area is an odd number. The median value of the display brightness change between the previous frame and the current frame of the pixel units in the first target area or the median value of the display brightness change is the value in the middle after these values ​​are sorted by size. For example, the first target area includes m target pixel units, and the display brightness change between the previous frame and the current frame of the m target pixel units are ΔL1, ΔL2, ΔL3, ... ΔL respectively after being sorted by size (i.e., sorted from large to small or from small to large). m ,but is the median value of the display brightness change of the pixel units in the first target area between the previous frame and the current frame. In a possible implementation, the median value of the display brightness change of the pixel units in the first target area between the previous frame and the current frame is the average value between the maximum value and the minimum value. For example, the first target area includes m target pixel units, and the display brightness changes of the m target pixel units between the previous frame and the current frame are sorted by size and are ΔL1, ΔL2, ΔL3, ... ΔL m ,but is the middle value of the display brightness change between the previous frame and the current frame of the pixel units in the first area of ​​the target.

[0089] S522: Taking the intermediate value of the display brightness variation of the pixel units in the target first area between the previous frame and the current frame as the touch compensation coefficient corresponding to the target first area.

[0090] Using the intermediate value of the display brightness variation of the pixel units in the target first area between the previous frame and the current frame as the touch compensation coefficient corresponding to the target first area can effectively reduce the calculation complexity and improve the calculation efficiency.

[0091] In a possible implementation, based on the display brightness change of the target pixel unit between the previous frame and the current frame, obtaining the touch compensation coefficient corresponding to the target first area includes: determining a first brightness change value or a first grayscale change value among multiple target pixels in the target first area, the first brightness change value being the maximum value of the grayscale change values ​​among the multiple target pixels, where the maximum value is the maximum value or the minimum value; the first grayscale change value being the maximum value of the measurement change values ​​among the multiple target pixels, where the maximum value is the maximum value or the minimum value. The first brightness change value or the first grayscale change value is used as the touch compensation coefficient corresponding to the target first area.

[0092] S300: Acquire a corresponding touch compensation value based on a preset touch compensation reference value and a touch compensation coefficient.

[0093] The touch compensation reference value is stored in a memory outside the touch display chip. The touch compensation reference value is a reference value used to characterize touch compensation. In a possible implementation, the touch compensation reference value is obtained from a preset touch compensation reference table located in the memory outside the touch display chip. In the preset touch compensation reference data table, the touch reference value corresponds to the touch compensation reference value.

[0094] The touch display chip obtains a touch reference value corresponding to the target first area based on the display parameters of the pixel unit of the target first area, and then obtains a touch compensation reference value corresponding to the touch reference value from a preset touch compensation reference data table. The display parameters include a display frequency.

[0095] After the touch display chip obtains the touch compensation reference value in the touch compensation reference data table, it multiplies it with the touch compensation coefficient, and then takes the product of the target touch compensation reference value and the touch compensation coefficient as the touch compensation value of the target first area.

[0096] S400: Compensate the corresponding touch signal based on the touch compensation value.

[0097] The touch compensation value refers to the compensation of the touch signal. The touch signal after compensation is the sum of the touch signal before compensation and the touch compensation value. That is, T = T 初始 +T 补偿 =T 初始 +T 补偿基准 *α, where T is the touch signal after compensation, T 初始 is the touch signal before compensation, T 补偿 is the touch compensation value, T 补偿基准 is the touch compensation reference value, and α is the touch compensation coefficient.

[0098] In an embodiment of the present application, the first region includes at least one intersection node, and the intersection node is an intersection node between the first touch electrode and the second touch electrode.

[0099] The intersection node of the first touch electrode and the second touch electrode can generate a touch signal. Therefore, the first area including at least one intersection node can ensure that the first area can generate at least one touch signal, so that the first area can obtain effective touch compensation.

[0100] In order to reduce the calculation difficulty of the touch display chip, reduce the calculation complexity and improve the calculation efficiency, part of the area can be selected in the touch display panel as the first area, and the remaining area can be the second area. At the same time, in order to ensure the compensation accuracy of the partition compensation, the touch compensation value of the second area can be determined based on the touch compensation value of the first area.

[0101] like Figure 7 As shown, in a possible implementation, a second area is included between two adjacent first areas, and the second area includes a plurality of pixel units. The touch compensation value in the second area is a linear interpolation of the touch compensation values ​​corresponding to the two first areas. For example, the first area A1, the second area B1 and the second area A2 are arranged along the first direction, the touch compensation value of the first area A1 is T1, the touch compensation value of the first area A2 is T2, and the touch compensation value of the second area B1 is (T1+T2) / 2. Among them, the first direction can be a horizontal direction, a vertical direction, or a direction at a certain angle to the horizontal direction.

[0102] like Figure 8As shown, in a possible implementation, a plurality of second regions are included between two adjacent first regions, and the touch compensation value in the second region is a linear interpolation of the touch compensation values ​​corresponding to the two first regions. For example, the touch compensation values ​​of two adjacent first regions are T1 and T2 respectively, and there are n second regions between the two adjacent first regions, then the touch compensation value of the i-th second region in the two first regions is Among them, min(T1, T2) is the smaller one of T1 and T2.

[0103] In the embodiment of the present application, the accuracy of touch compensation can be ensured by performing touch compensation on the touch display panel in different zones. In addition, the touch compensation coefficient of the display panel is obtained based on the data voltage of the pixel unit in the first area. Therefore, the touch compensation coefficients corresponding to different areas can be different, that is, the touch compensation values ​​corresponding to different first areas can be different, thereby achieving partition compensation, thereby ensuring the accuracy of touch compensation. At the same time, in the touch compensation method provided in the embodiment of the present application, the preset touch compensation reference table can be stored in a memory outside the touch display chip, that is, the technical solution provided in the embodiment of the present application can achieve good touch compensation without relying on the memory inside the touch display chip, so good touch compensation can be achieved without increasing the production cost of the touch display chip, and the integration of touch and display control can be realized.

[0104] like Fig. 9 As shown, the embodiment of the present application further provides a touch display chip 110, and the touch display chip 110 compensates the touch signal using the method provided by any of the above embodiments.

[0105] In the embodiment of the present application, the touch display chip can implement the method provided by any of the aforementioned embodiments. Therefore, the touch chip can have an excellent touch compensation effect and ensure the accuracy of the touch signal to reduce the probability of false alarms and erroneous touch reports.

[0106] like Fig. 9 As shown, the embodiment of the present application further provides a touch display panel 100, and the display panel 100 includes the touch display chip 110 and the memory 120 provided in the above embodiment, and the memory 120 stores a preset touch compensation reference data table.

[0107] In this embodiment, the preset touch compensation reference data table includes a touch reference value and its corresponding touch compensation reference value. After the touch display chip obtains the touch compensation coefficient, it obtains the touch compensation value according to the touch compensation reference value, the touch compensation coefficient and the preset compensation algorithm, and compensates the touch information based on the touch compensation value. The display device using the touch display chip provided in the embodiment of the present application can have good touch performance.

[0108] In one embodiment of the present application, the memory 120 includes: a bootloader area (Bootloader), an application area (Application) and a configuration area (Configuration). Among them, the bootloader area is used to store the bootloader, the application area is used to store the application program, and the configuration area is used to store the configuration information, and the configuration information includes configuration rules or configuration data. Partitioning the memory can effectively increase the data processing speed and improve the storage efficiency of the memory. The modules required for touch compensation are respectively located in the bootloader area (Bootloader), the application area (Application) and the configuration area (Configuration).

[0109] In a possible implementation, the memory 120 further includes: an image quality improvement area and an uneven display elimination area, the image quality improvement area is used to store a processing program or module for improving image quality, and the uneven display elimination area is used to store a processing program or module for improving uneven screen display.

[0110] The modules required for touch compensation are located in the bootloader area, application area, and configuration area. Therefore, in this implementation, the image quality improvement area, the display elimination area, and the modules required for touch compensation can share the same memory, thereby saving storage resources and reducing production costs.

[0111] like Fig.10 As shown, the embodiment of the present application provides a touch display device 200, including the display panel 100 provided in the above embodiment. The display device 200 can be an electronic device such as a mobile phone, a computer, a terminal, a pad, a smart wearable device, etc.

[0112] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A touch compensation method, applicable to a touch display panel, characterized in that: The touch display panel includes: a plurality of first areas, each of the first areas includes a plurality of pixel units; the method includes: Acquire a data voltage of a previous frame and a data voltage of a current frame of a pixel unit in each of the first regions; Acquire a touch compensation coefficient corresponding to the target first area based on a data voltage of a previous frame and a data voltage of a current frame of a pixel unit of the target first area; Based on a preset touch compensation reference value and a touch compensation coefficient, obtaining a corresponding touch compensation value; Based on the touch compensation value, the corresponding touch signal is compensated.

2. The touch compensation method according to claim 1, characterized in that: The touch display panel includes a plurality of first touch electrodes and a plurality of second touch electrodes, the plurality of first touch electrodes are arranged along a first direction, and the plurality of second touch electrodes are arranged along a second direction; each of the first touch electrodes includes a plurality of first sub-electrodes that are electrically connected to each other and arranged along the second direction; each of the second touch electrodes includes a plurality of second sub-electrodes that are electrically connected to each other and arranged along the first direction; each first region includes an integer number of first sub-electrodes and an integer number of pixel units, or each first region includes an integer number of second sub-electrodes and an integer number of pixel units.

3. The touch compensation method according to claim 1, characterized in that: The acquiring the touch compensation coefficient corresponding to the target first area based on the data voltage of the previous frame and the data voltage of the current frame of the pixel unit of the target first area includes: Based on the data voltage of the target pixel unit in the target first region in the previous frame and the data voltage of the current frame, obtaining the grayscale change amount or display brightness change amount of the target pixel unit in the previous frame and the current frame; Based on the grayscale change or display brightness change of the target pixel unit between a previous frame and a current frame, a touch compensation coefficient corresponding to the target first area is obtained.

4. The touch compensation method according to claim 3, characterized in that: The obtaining of the corresponding touch compensation value based on the preset touch compensation reference value and the touch compensation coefficient includes: obtaining a target touch compensation reference value corresponding to the target touch unit in a preset touch compensation reference data table, and taking the product of the target touch compensation reference value and the touch compensation coefficient as the touch compensation value of the target first area.

5. The touch compensation method according to claim 4, characterized in that: In the preset touch compensation reference data table, the touch reference value corresponds to the touch compensation reference value.

6. The touch compensation method according to claim 1, characterized in that: A second area is included between two adjacent first areas, and the second area includes a plurality of pixel units; the touch compensation value in the second area is a linear interpolation of the touch compensation values ​​corresponding to the two first areas.

7. The touch compensation method according to claim 3, characterized in that: Based on the grayscale change or display brightness change of the target pixel unit between the previous frame and the current frame, obtaining the touch compensation coefficient corresponding to the target first area includes: Based on the grayscale change amount or display brightness change amount of each target pixel unit in the target first area between the previous frame and the current frame, obtaining the average grayscale change amount or display brightness change amount of the pixel units in the target first area between the previous frame and the current frame; An average value of grayscale variation between a previous frame and a current frame or an average value of display brightness variation of pixel units in the target first area is used as a touch compensation coefficient corresponding to the target first area.

8. The touch compensation method according to claim 3, characterized in that: Based on the grayscale change or display brightness change of the target pixel unit between the previous frame and the current frame, obtaining the touch compensation coefficient corresponding to the target first area includes: Based on the grayscale change amount or display brightness change amount of each target pixel unit in the target first area between the previous frame and the current frame, obtaining the intermediate value of the grayscale change amount or the intermediate value of the display brightness change amount of the pixel unit in the target first area between the previous frame and the current frame; The middle value of the grayscale variation between the previous frame and the current frame or the display brightness variation of the pixel units in the first target area is used as the touch compensation coefficient corresponding to the first target area.

9. The touch compensation method according to claim 2, characterized in that: The first region includes at least one intersection node, and the intersection node is an intersection node between the first touch electrode and the second touch electrode.

10. A touch display chip, characterized in that: The touch display chip compensates the touch signal using the method described in any one of claims 1-9.

11. A touch display panel, characterized in that: The invention comprises the chip and the memory as claimed in claim 10, wherein the memory stores a preset touch compensation reference data table.

12. The touch display panel according to claim 11, characterized in that: The memory includes: a boot loader area, an application area and a configuration area.

13. A touch display device, characterized in that: Includes the display panel according to claim 11 or 12.