Driving method and device of touch panel and display equipment
By changing the switching positions of the display stage and the touch stage in the image frame in the embedded touch panel, the exchange of time and space disrupts the occurrence position of horizontal lines defects, the problem of horizontal lines defects affecting user experience is solved, and the problem of horizontal lines defects affecting user experience is realized. A better user experience.
Patent Information
- Application Number
- CN202411162156.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-12-13
AI Technical Summary
The embedded touch panel is prone to obvious horizontal defects when displaying the screen, which affects the user experience, mainly due to the brightness difference caused by switching between the touch and display stages.
By changing the switching positions of the display stage and the touch stage in the image frame, the exchange of time and space is used to disrupt the occurrence position of the horizontal defect. The specific method is to alternately set the display stage and the touch stage based on the first and second timings. , make sure that the switching position of each frame is different.
It reduces the recognition of horizontal lines defects by the human eye, improves the user experience of the touch panel, and makes it difficult for users to recognize horizontal lines defects during switching between the display stage and the touch stage.
Smart Images

Figure CN119132210A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a touch panel driving method, device and display equipment. Background Art
[0002] In-cell touch panels integrate display driver and touch technology, which can better meet the needs of high refresh rate display and high touch reporting rate, and have been widely used in electronic devices. In-cell touch panels are mainly driven by horizontal synchronous scanning mode (Long H mode). The horizontal synchronous scanning mode refers to inserting the touch stage at intervals during the display process, that is, in each image frame, the display stage and the touch stage are alternately performed in time. However, due to the brightness difference when switching between the touch stage and the display stage, the touch panel is prone to obvious horizontal stripe defects when displaying the picture, which in turn affects the user experience of the touch panel. Summary of the invention
[0003] The embodiments of the present application provide a touch panel driving method, device and display device to reduce the recognition of horizontal stripe defects by human eyes and improve the user experience of the touch panel.
[0004] In order to solve the above technical problems, the embodiments of the present application disclose the following technical solutions:
[0005] In a first aspect, a method for driving a touch panel is provided, wherein a scanning period of the touch panel includes a display phase and a touch phase which are alternately arranged; the method comprises:
[0006] Controlling the touch panel to scan and display a first image frame based on a first timing sequence, wherein the first timing sequence includes a first display phase and a first touch phase that are alternately arranged, wherein in the first display phase, the touch panel scans and displays the first image frame, and in the first touch phase, the touch panel loads a touch signal, and the first display phase and the first touch phase have a first switching position;
[0007] Determine a second timing sequence based on the first timing sequence, the second timing sequence comprising a second display stage and a second touch stage that are alternately arranged, the second display stage and the second touch stage having a second switching position, and the second switching position is different from the first switching position;
[0008] Based on the second timing control, the touch panel scans and displays a second image frame, the second image frame is located after the first image frame, in the second display stage, the touch panel scans and displays the second image frame, and in the second touch stage, the touch panel loads the touch signal.
[0009] In combination with the first aspect, the first first display stage in the first time sequence has a first duration, each first touch stage has a third duration, and the first display stage between any two adjacent first touch stages has a fourth duration;
[0010] In the second time sequence, the first second display stage has a second duration, each second touch stage has a fifth duration, and the second display stage between any two adjacent second touch stages has a sixth duration;
[0011] The second duration is different from the first duration, the third duration is the same as the fifth duration, and the fourth duration is the same as the sixth duration.
[0012] In conjunction with the first aspect, the step of determining the second duration includes:
[0013] Generate a random duration within a preset duration range;
[0014] If the random duration is different from the first duration, determining the random duration as the second duration;
[0015] If the random duration is the same as the first duration, a random duration within a preset duration range is regenerated.
[0016] In conjunction with the first aspect, the step of determining the second duration includes:
[0017] The second duration is determined based on a preset adjustment value and the first duration.
[0018] In combination with the first aspect, determining the second duration based on the preset adjustment value and the first duration includes:
[0019] If the sum of the first duration and the preset adjustment value is within the preset duration range, the sum of the first duration and the preset adjustment value is determined as the second duration;
[0020] If the sum of the first duration and the preset adjustment value exceeds the preset duration range, the difference between the first duration and the preset adjustment value is determined as the second duration.
[0021] In combination with the first aspect, determining a second time sequence based on the first time sequence includes:
[0022] Determine a first second display stage based on a starting position of a first first display stage and the second duration;
[0023] Based on the end position of the first second display stage, the fifth duration, the sixth duration and the total data scanning duration of each frame, each remaining second display stage and each second touch stage are determined.
[0024] In combination with the first aspect, the number of first image frames is K consecutive, the number of second image frames is T consecutive, the first of the T consecutive second image frames is temporally adjacent to the last of the K consecutive first image frames, and K and T are both positive integers.
[0025] In combination with the first aspect, the method further includes:
[0026] Determine a third timing sequence based on the second timing sequence, the third timing sequence comprising a third display stage and a third touch stage that are alternately arranged, the third display stage and the third touch stage have a third switching position, and the third switching position is different from the second switching position;
[0027] Based on the third timing control, the touch panel scans and displays the third image frame, the third image frame is located after the second image frame and is timing-adjacent to the last of T consecutive second image frames, in the third display stage, the touch panel scans and displays the third image frame, and in the third touch stage, the touch panel loads the touch signal.
[0028] In a second aspect, a touch panel driving device is provided, the device comprising:
[0029] A control module is configured to control the touch panel to scan and display a first image frame based on a first timing sequence, wherein the first timing sequence includes a first display phase and a first touch phase that are alternately arranged, in which the touch panel scans and displays the first image frame, in which the touch panel loads a touch signal, and the first display phase and the first touch phase have a first switching position;
[0030] a processing module configured to determine a second timing sequence based on the first timing sequence, wherein the second timing sequence includes a second display stage and a second touch stage that are alternately arranged, wherein the second display stage and the second touch stage have a second switching position, and the second switching position is different from the first switching position;
[0031] The control module is also configured to control the touch panel to scan and display a second image frame based on the second timing, the second image frame is located after the first image frame, in the second display stage, the touch panel scans and displays the second image frame, and in the second touch stage, the touch panel loads the touch signal.
[0032] In a third aspect, a display device is provided, including a touch panel and a timing controller;
[0033] The timing controller includes the driving device of the touch panel as described in the second aspect, or the timing controller adopts the driving method of the touch panel as described in any one of the first aspects to control the touch panel to perform display and touch.
[0034] One of the above technical solutions has the following advantages or beneficial effects:
[0035] Compared with the prior art, the present application provides a method for driving a touch panel, the method comprising: controlling the touch panel to scan and display a first image frame based on a first timing sequence, the first timing sequence comprising a first display stage and a first touch stage that are alternately set, in the first display stage, the touch panel scans and displays the first image frame, in the first touch stage, the touch panel loads a touch signal, and the first display stage and the first touch stage have a first switching position; determining a second timing sequence based on the first timing sequence, the second timing sequence comprising a second display stage and a second touch stage that are alternately set, the second display stage and the second touch stage have a second switching position, and the second switching position is different from the first switching position; controlling the touch panel to scan and display a second image frame based on the second timing sequence, the second image frame is located after the first image frame, in the second display stage, the touch panel scans and displays the second image frame, and in the second touch stage, the touch panel loads a touch signal. The driving method provided by the present application can change the switching position of the display stage and the touch stage in the first image frame, thereby utilizing the exchange of time and space to disrupt the position where the horizontal stripe defect appears when the image is displayed, thereby reducing the recognition of the horizontal stripe defect by the human eye and improving the user experience of the touch panel.
[0036] A touch panel driving device of the present application can change the switching position of the display stage and the touch stage in the first image frame, thereby utilizing the exchange of time and space to disrupt the appearance position of the horizontal stripe defect, thereby reducing the human eye's recognition of the horizontal stripe defect and improving the user experience of the touch panel.
[0037] A display device of the present application can reduce the recognition of horizontal stripe defects by the human eye, making it difficult for users to recognize horizontal stripe defects that appear when switching between the display stage and the touch stage, thereby providing a better user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0039] Figure 1 A schematic diagram of the structure of a display device provided in an embodiment of the present application;
[0040] Figure 2 A schematic diagram of a scanning timing of a horizontal synchronous scanning mode of a touch panel according to an embodiment of the present application;
[0041] Figure 3 A schematic diagram of a display effect of a touch panel;
[0042] Figure 4 It is a schematic diagram of the overall process of the driving method of the touch panel according to the embodiment of the present application;
[0043] Figure 5 A schematic diagram of a first timing sequence and a second timing sequence in an embodiment of the present application;
[0044] Figure 6 A schematic diagram of a driving timing sequence of multiple consecutive image frames in an embodiment of the present application;
[0045] Figure 7 Another driving timing diagram of a plurality of continuous image frames in an embodiment of the present application;
[0046] Figure 8 A schematic diagram of the structure of a driving device for a touch panel according to an embodiment of the present application;
[0047] Reference numerals:
[0048] 10 - touch panel; 20 - timing controller; 21 - driving device; 211 - control module; 212 - processing module. DETAILED DESCRIPTION
[0049] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0050] In the description of the present application, it should be understood that the terms "upper", "lower", "front", "back", "left", "right", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the present application, "multiple" means two or more, and at least one means one, two or more, unless otherwise clearly and specifically defined.
[0051] See also Figure 1 , Figure 1 A schematic diagram of the structure of a display device provided in an embodiment of the present application. The display device in an embodiment of the present application includes a touch panel 10, a timing controller 20, a source driver, and a gate driver. Among them, the timing controller 20 is connected to the source driver and the gate driver, and the timing controller 20 may include a driving device 21, and the driving device 21 is used to provide a driving signal to the source driver and the gate driver. The source driver and the gate driver are connected to the touch panel 10, and the gate driver is used to obtain a corresponding scanning signal according to the received driving signal, and the source driver is used to obtain a corresponding grayscale voltage according to the received driving signal. The source driver and the gate driver jointly drive the touch panel 10 for display and touch.
[0052] Specifically, the touch panel 10 may be an In cell panel. The touch panel 10 includes a plurality of scan lines, a plurality of data lines, and pixel units arranged in an array. The scan lines are used to select pixel units of corresponding rows according to scan signals, and the data lines are used to transmit corresponding grayscale voltages.
[0053] Please also read Figure 2 and Figure 3 , Figure 2 Schematic diagram of scanning timing of the horizontal synchronous scanning mode of the touch panel of the embodiment of the present application, Figure 3It is a schematic diagram of the display effect of a touch panel. The touch panel 10 is mainly driven by the horizontal synchronous scanning mode (Long H mode), so as to meet the requirements of high refresh rate display and high touch reporting rate. The frame duration of the touch panel 10 may include the vertical back shoulder duration VBP, the vertical front shoulder duration VFP and the total data scanning duration DisplayData. Under the scanning mode of Long H mode, the scanning cycle of the touch panel 10 includes the alternating display stage Display and the touch stage Touch, that is, the touch stage Touch is inserted at intervals during the display process of the total data scanning duration Display Data, wherein the display stage Display is used to scan and display image frames, and the touch stage Touch is used to load touch signals. Specifically, after the display stage Display scans a certain number of rows, it enters the touch stage Touch for touch scanning, and then continues to enter the display stage Display to scan a certain number of rows, and so on.
[0054] Among them, the number of display stages Display can be M, and the M display stages Display are set at intervals. The number of touch stages Touch can be N, and the N touch stages Touch are set at intervals, each touch stage Touch is connected to the adjacent display stage Display, and M and N are both positive integers. In other words, the total data scanning duration Display Data includes the duration of M display stages Display and the duration of N touch stages Touch. It can be understood that in the scanning mode of Long H mode, M=N, or |MN|=1.
[0055] It should be noted that in the embodiment of the present application, the duration of the display stage Display refers to the product of the number of rows scanned by the display stage Display and the row scanning duration. Therefore, for the convenience of description, the duration of the display stage Display can be represented by the number of rows scanned, and the duration of the touch stage Touch can also be represented by a multiple of the row scanning duration.
[0056] For example, if the duration of each display stage Display includes 4 scanning lines, a touch stage Touch will be inserted after every 4 scanning lines, that is, every four scanning lines are scanned once as the duration of a display stage Display. Specifically, after entering the display stage Display, the gate driver scans through the scanning lines Gate1~Gate4 in sequence, and selects the pixel units of the corresponding rows in sequence, and the source driver transmits the corresponding grayscale voltage through the data line. After the scanning line Gate4 is scanned, the touch stage Touch is entered to start touch scanning (i.e., touch detection is realized), and the scanning line stops scanning at this time. After the touch scanning is completed, continue to enter the next display stage Display, and scan through the scanning lines Gate5-Gate8 in sequence, and select the pixel units of the corresponding rows, and the data line transmits the corresponding grayscale voltage. After the scanning line Gate8 is scanned, the next touch stage Touch is entered to start touch scanning again, and the scanning line stops scanning at this time, and this cycle is repeated alternately until the display of an image frame is completed.
[0057] However, in this scanning mode, since the normal display process will be interrupted by the touch scanning, the switch on the scanning line will be turned off and on when entering the touch period Touch and exiting the touch period Touch, it is easy to couple with the common voltage VCOM, thereby causing the voltage difference between the grayscale voltage on the data line and the common voltage VCOM to change, so that there will be a brightness difference when switching between the touch stage Touch and the display stage Display, and a horizontal stripe defect (also called TP stop pit A) caused by the brightness difference will appear on the corresponding display screen, especially for pure color pictures with medium and low grayscales, such as 64 grayscales, 128 grayscales, etc., the regular and evenly spaced horizontal stripes will be more obvious, thereby affecting the subjective visual taste. At the same time, since the switching position of the touch stage Touch and the display stage Display is the same in each frame, the horizontal stripe defect will be further superimposed in space, so that the user can perceive the defect more obviously. Even by adjusting the duty cycle of the clock signal, the horizontal stripe phenomenon cannot be completely improved, thereby affecting the user's product experience.
[0058] In view of this, an embodiment of the present application provides a method for driving a touch panel, which changes the switching position of the display stage and the touch stage in different image frames to utilize the exchange of time and space to disrupt the appearance position of the horizontal stripe defects, thereby reducing the human eye's recognition of the horizontal stripe defects and improving the user experience of the touch panel, thereby solving at least part of the above-mentioned technical problems.
[0059] See also Figure 4 , Figure 4The overall flow diagram of the touch panel driving method of the embodiment of the present application is shown in FIG. The touch panel driving method is applied to the timing controller 20 and specifically includes the following steps:
[0060] Step 401: Based on the first timing, the touch panel is controlled to scan and display the first image frame. The first timing includes a first display stage and a first touch stage that are alternately set. In the first display stage, the touch panel scans and displays the first image frame. In the first touch stage, the touch panel loads a touch signal. The first display stage and the first touch stage have a first switching position.
[0061] Specifically, the first image frame may be any image frame in the video stream. During the display of the first image frame, the first display stage and the first touch stage are performed alternately. The first switching position may be characterized by the corresponding scanning line position when the first display stage and the first touch stage are switched.
[0062] See also Figure 5 , Figure 5 Schematic diagram of the first timing and the second timing in the embodiment of the present application. In some examples, taking the first image frame as the t-th image frame Frame_t as an example, in the first timing, the first first display stage Display1 in the M first display stages has a first duration T1, each first touch stage in the N first touch stages has a third duration T3, and the first display stage between any two adjacent first touch stages has a fourth duration T4. In addition, the last first display stage in the M first display stages has a seventh duration T7. It can be understood that the first duration T1, the fourth duration T4, and the seventh duration T7 may be the same or different.
[0063] Exemplarily, taking M=3, N=2, the total number of scan lines of the touch panel is 240 lines, the first duration T1, the fourth duration T4, and the seventh duration T7 are all the same and are 80 lines. For example, the first duration T1 of the first first display stage Display1 is 80 lines, then when switching to the first first touch stage Touch1 for touch scanning, the first switching position t11 is the 80th line; when switching to the second first display stage Display2 after the first first touch stage Touch1 ends, although the first first touch stage Touch1 has the third duration T3, the actual number of scan lines corresponding to the touch panel has not changed and is still the 80th line; continuing the display of the second first display stage Display2, the second The fourth duration T4 of the first display stage Display2 is 80 lines, then when switching to the second first touch stage Touch2 for touch scanning, the first switching position t12 is the 160th line; when switching to the third first display stage Display3 after the second first touch stage Touch2 ends, although the second first touch stage Touch2 has the third duration T3, the actual number of scanned lines corresponding to the touch panel has not changed, and is still the 160th line; continue the display of the third first display stage Display3, the seventh duration T7 of the third first display stage Display3 is 80 lines, then after the third first display stage Display3 ends, the scanning and display of the 240th line is completed.
[0064] Step 402: Determine a second timing sequence based on the first timing sequence, the second timing sequence includes a second display phase and a second touch phase that are alternately arranged, the second display phase and the second touch phase have a second switching position, and the second switching position is different from the first switching position.
[0065] Specifically, the second switching position may be represented by a scanning line position corresponding to the switching between the second display stage and the second touch stage.
[0066] It should be noted that in the embodiment of the present application, the first display stage and the second display stage both represent display stages for scanning and displaying image frames, and the first touch stage and the second touch stage both represent touch stages for loading touch signals, but the timing is different, so the names are distinguished for the convenience of description.
[0067] Please continue reading Figure 5In some examples, taking the second image frame as the i-th image frame Frame_i as an example, in the second timing sequence, the first second display stage Display1 in the M second display stages has a second duration T2, each second touch stage in the N second touch stages has a fifth duration T5, and the second display stage between any two adjacent second touch stages has a sixth duration T6. In addition, the last second display stage in the M second display stages has an eighth duration T8. It can be understood that the second duration T2, the sixth duration T6, and the eighth duration T8 may be the same or different.
[0068] Among them, the third time length T3 is the same as the fifth time length T5, the fourth time length T4 is the same as the sixth time length T6, and the second time length T2 is different from the first time length T1.
[0069] That is to say, the difference between the second timing sequence and the first timing sequence is that the duration of the first display phase is different, the number and duration of each touch phase are the same, and the duration of the display phase between any two adjacent touch phases is also the same.
[0070] It is understandable that since the frame length of each frame is the same, the total data scanning time is the same, and the number and duration of touch stages are also the same, when the duration of the first display stage is different, the duration of the last display stage will also be different, that is, the seventh duration T7 and the eighth duration T8 will also be different, and the seventh duration T7 and the eighth duration T8 will make adaptive changes according to actual conditions.
[0071] Exemplarily, taking M=3, N=2, the total number of scan lines of the touch panel is 240 lines, the second duration T2 is 5 lines, and the sixth duration T6 is 80 lines, the second duration T2 of the first second display stage Display1 is 5 lines, then when switching to the first second touch stage Touch1 for touch scanning, the second switching position t21 is the 5th line; after the first second touch stage Touch1 ends, the display of the second second display stage Display2 continues, and the sixth duration T6 of the second second display stage Display2 is 80 lines, then when switching to the second second touch stage Touch2 for touch scanning, the second switching position t22 is the 85th line; after the second second touch stage Touch2 ends, the display of the third second display stage Display3 continues, and the eighth duration T8 of the third second display stage Display3 is the remaining 155 lines, then after the third second display stage Display3 ends, the scanning and display of the 240th line is completed.
[0072] Through the above scheme, by changing the duration of the first display stage of different image frames, the purpose of changing all switching positions of the display stage and the touch stage in the corresponding image frame is achieved, thereby facilitating timing adjustment and improving processing speed, and avoiding the situation where the display stage and the touch stage in different image frames are switched at the same position, which will aggravate the horizontal stripe defect at the same position. Then, the exchange of time and space can be used to disrupt the occurrence position of the horizontal stripe defect, reduce the human eye's recognition of the horizontal stripe defect, and improve the user experience of the touch panel.
[0073] In some examples, determining the second duration may be specifically achieved by the following steps:
[0074] Based on the preset adjustment value and the first duration, a second duration is determined.
[0075] Among them, the preset adjustment value can be a positive value or a negative value, which is not limited in the embodiment of the present application.
[0076] Exemplarily, the sum of the first duration and the preset adjustment value may be determined. If the sum of the first duration and the preset adjustment value is within the preset duration range, the sum of the first duration and the preset adjustment value is determined as the second duration. If the sum of the first duration and the preset adjustment value exceeds the preset duration range, the difference between the first duration and the preset adjustment value is determined as the second duration.
[0077] Through the above scheme, the first duration is adjusted using a preset adjustment value, which can simplify the complexity of timing adjustment and avoid switching positions at the same place, thereby using the exchange of time and space to reduce the human eye's recognition of horizontal stripe defects and improve the display effect of the panel.
[0078] In some other examples, determining the second duration may be implemented by the following steps:
[0079] Generate a random duration within a preset duration range;
[0080] If the random duration is different from the first duration, the random duration is determined as the second duration;
[0081] If the random duration is the same as the first duration, a random duration within the preset duration range is regenerated.
[0082] Specifically, a random number can be generated within a preset duration range, ie, a random duration, by a pre-set algorithm. The embodiment of the present application does not limit the specific algorithm for generating random numbers.
[0083] Through the above scheme, the switching position changes between the display stage and the touch stage in different image frames have a high discreteness, thereby further disrupting the appearance position of the horizontal stripe defects in space, making it more difficult for the human eye to identify the horizontal stripe defects, greatly improving the display effect of the panel.
[0084] In other embodiments, the timing adjustment may also be achieved by changing the duration of any other display phase, which is not specifically limited in the embodiments of the present application.
[0085] In some embodiments, step 402 may be implemented by:
[0086] Based on the starting position and the second duration of the first display phase, a first second display phase is determined.
[0087] Based on the end position of the first second display stage, the fifth duration, the sixth duration and the total data scanning duration of each frame, each remaining second display stage and each second touch stage are determined.
[0088] Specifically, the starting position of the first first display stage is used as the starting position of the first second display stage, and the duration of the first second display stage is the second duration; the ending position of the first second display stage is used as the starting position of the first second touch stage, and the duration of the first second touch stage is the fifth duration; the ending position of the first second touch stage is used as the starting position of the second second display stage, and the duration of the second second display stage is the sixth duration; the ending position of the second second display stage is used as the starting position of the second second touch stage, and the duration of the second second touch stage is the fifth duration; the ending position of the second second touch stage is used as the starting position of the third second display stage, and the duration of the third second display stage is the sixth duration; and so on, until the ending position of the last second touch stage is used as the starting position of the last second display stage, and the duration of the last second display stage is the eighth duration, thereby completing the determination of the entire second timing.
[0089] Step 403: Based on the second timing, the touch panel is controlled to scan and display the second image frame, the second image frame is located after the first image frame, in the second display stage, the touch panel scans and displays the second image frame, and in the second touch stage, the touch panel loads a touch signal.
[0090] Specifically, the second image frame may be any image frame located after the first image frame in the video stream. During the display of the second image frame, the second display phase and the second touch control phase are performed alternately.
[0091] In some examples, the number of first image frames is K consecutive, the number of second image frames is T consecutive, the first second image frame in the T consecutive second image frames is temporally adjacent to the last first image frame in the K consecutive first image frames, and K and T are both positive integers. The embodiments of the present application do not specifically limit the values of K and T.
[0092] That is to say, a first image frame can be driven based on the first timing, and then a second image frame can be driven based on the second timing; or multiple first image frames can be driven based on the first timing, and then a second image frame can be driven based on the second timing; or multiple first image frames can be driven based on the first timing, and then multiple second image frames can be driven based on the second timing; or a first image frame can be driven based on the first timing, and then multiple second image frames can be driven based on the second timing.
[0093] In some embodiments, after executing step 403, the driving method of the embodiment of the present application may further include the following steps:
[0094] A third timing sequence is determined based on the second timing sequence. The third timing sequence includes a third display stage and a third touch stage that are alternately arranged. The third display stage and the third touch stage have a third switching position, and the third switching position is different from the second switching position.
[0095] Based on the third timing control, the touch panel scans and displays the third image frame. The third image frame is located after the second image frame and is adjacent to the last second image frame in T consecutive second image frames. In the third display stage, the touch panel scans and displays the third image frame. In the third touch stage, the touch panel loads the touch signal.
[0096] Specifically, the third image frame is an image frame in the video stream that is located after the second image frame and is adjacent to the last second image frame in the T consecutive second image frames. During the display of the third image frame, the third display stage and the third touch stage are performed alternately. The number of third image frames may be one or more. Exemplarily, the K consecutive first image frames are the 1st to Kth frames, the T consecutive second image frames are the K+1th to K+Tth frames, and the P consecutive third image frames are the K+T+1th to K+T+Pth frames.
[0097] It should be noted that the method for determining the third timing based on the second timing and the method for determining each third display stage and each third touch stage of the third timing can refer to the method for determining the second timing based on the first timing and the method for determining each second display stage and each second touch stage of the second timing introduced in the aforementioned embodiment, and will not be described in detail here. The method for determining the third timing based on the second timing can be the same as or different from the method for determining the second timing based on the first timing, and the embodiment of the present application does not limit this.
[0098] It can be understood that in the embodiment of the present application, for multiple consecutive image frames in the video stream, one frame or multiple consecutive frames can be driven based on the first timing, and then one frame or multiple consecutive frames can be driven based on the second timing, and then one frame or multiple consecutive frames can be driven based on the third timing, and so on. This can avoid the switching position of the display stage and the touch stage in the entire video stream always being located at the same place of the touch panel, thereby aggravating the problem of the human eye's recognition of horizontal stripes defects. By continuously switching the switching position of the display stage and the touch stage, the exchange of time and space can be used to disrupt the occurrence position of the horizontal stripes defects, thereby reducing the human eye's recognition of horizontal stripes defects and improving the user experience of the touch panel.
[0099] It can also be understood that, for multiple consecutive image frames in a video stream, the driving method provided in the embodiment of the present application will generate the timing of the second frame while displaying the first frame, and will generate the timing of the third frame while displaying the second frame, and... will generate the timing of the i+1th frame while displaying the i-th frame, and so on until the display of the entire video stream is completed.
[0100] In order to more intuitively illustrate the driving timing of the embodiment of the present application, the driving timing of multiple consecutive image frames is described below with reference to the accompanying drawings.
[0101] See also Figure 6 , Figure 6 A driving timing diagram of multiple continuous image frames in an embodiment of the present application. For multiple continuous image frames Frame_1 to Frame_n, the display process of each image frame includes alternating display stages and touch stages, namely, display stage Display1, touch stage Touch1, display stage Display2, touch stage Touch2, ..., touch stage TouchN, display stage DisplayM.
[0102] In some examples, the duration of the display phase Display1 in the image frame Frame_1 is T11, the duration of the display phase Display1 in the image frame Frame_2 is T21, ..., the duration of the display phase Display1 in the image frame Frame_n is Tn1, satisfying T11≠T21≠...≠Tn1.
[0103] Through the above solution, the positions of the horizontal stripe defects in any two adjacent frames are different, so that the exchange of time and space can be used to greatly reduce the recognition of horizontal stripe defects by the human eye and improve the display effect of the panel.
[0104] For example, taking the timing of adjusting two adjacent image frames based on the preset adjustment value ΔT, and the preset adjustment value ΔT is a negative value, T21=T11+ΔT, T31=T21+ΔT, ..., Tn1=T(n-1)1+ΔT can be satisfied. If T21, T31, ..., Tn1 are all within the preset time range, then the driving timing of multiple consecutive image frames is as follows: Figure 6 shown.
[0105] If the duration of the display stage Display1 in the image frame Frame_k is Tk1=T(k-1)1+ΔT, and Tk1 is less than the lower limit of the preset duration range, then set Tk1=T(k-1)1-ΔT, T(k+1)1=Tk1-ΔT, T(k+2)1=T(k+1)1-ΔT, ..., until the duration of the display stage Display1 is greater than the upper limit of the preset duration range, and then use the sum of the duration of the display stage Display1 of the previous frame and the preset adjustment value ΔT as the duration of the display stage Display1 of the current frame, and continue this cycle until the display is completed.
[0106] If the preset adjustment value ΔT is a positive value, then the sum of the duration of the display stage Display1 of the previous frame and the preset adjustment value ΔT can be used as the duration of the display stage Display1 of the current frame, and the sum of the duration of the display stage Display1 of the current frame and the preset adjustment value ΔT can be used as the duration of the display stage Display1 of the next frame of the current frame, and so on, until the duration of the display stage Display1 is greater than the upper limit of the preset duration range, and then the difference between the duration of the display stage Display1 of the previous frame and the preset adjustment value ΔT is used again as the duration of the display stage Display1 of the current frame, and this cycle is continued until the display is completed.
[0107] Through the above scheme, the switching position of the display stage and the touch stage in each frame can change regularly, thereby simplifying the complexity of timing adjustment and avoiding the switching position being located at the same place, thereby using the exchange of time and space to reduce the human eye's recognition of horizontal stripe defects and improve the display effect of the panel.
[0108] As another example, taking the random adjustment of the timing of two adjacent image frames as an example, a duration different from the duration of the first display stage Display1 of the current frame can be randomly generated within the preset duration range, and used as the duration of the first display stage Display1 of the next frame of the current frame. Then, a duration different from the duration of the first display stage Display1 of the next frame of the current frame can be randomly generated within the preset duration range, and used as the duration of the first display stage Display1 of the next frame of the current frame, and so on, until the display is completed.
[0109] See also Figure 7 , Figure 7 Another driving timing diagram of multiple continuous image frames in the embodiment of the present application. For multiple continuous image frames Frame_1 to Frame_n, the display process of each image frame includes alternating display stages and touch stages, namely display stage Display1, touch stage Touch1, display stage Display2, touch stage Touch2, ..., touch stage TouchN, display stage DisplayM.
[0110] In other examples, the duration of the display phase Display1 in the image frame Frame_1 is T11, the duration of the display phase Display1 in the image frame Frame_2 is T21, ..., the duration of the display phase Display1 in the image frame Frame_K is TK1, satisfying T11 = T21 = ... = TK1. The duration of the display phase Display1 in the image frame Frame_K+1 is T(K+1)1, ..., the duration of the display phase Display1 in the image frame Frame_K+T is T(K+T)1, satisfying T(K+1)1 = T(K+2)1 = ... = T(K+T)1. The duration of the display phase Display1 in the image frame Frame_K+T+1 is T(K+T+1)1, ..., the duration of the display phase Display1 in the image frame Frame_K+T+P is T(K+T+P)1, which satisfies T(K+T+1)1=T(K+T+2)1=...=T(K+T+P)1, and T(K+T+1)1≠T(K+1)1≠T11. Among them, K+T+P=n.
[0111] It should be noted that the duration T(K+1)1 of the display stage Display1 in the image frame Frame_K+1 can be generated randomly or based on a preset adjustment value and the duration TK1 of the display stage Display1 in the image frame Frame_K; the duration T(K+T+1)1 of the display stage Display1 in the image frame Frame_K+T+1 can be generated randomly or based on a preset adjustment value and the duration T(K+T)1 of the display stage Display1 in the image frame Frame_K+T. In other words, the generation method of the duration T(K+T+1)1 of the display stage Display1 in the image frame Frame_K+T+1 and the generation method of the duration T(K+1)1 of the display stage Display1 in the image frame Frame_K+1 can both be generated randomly, or both can be generated by preset adjustment values, or one can be generated randomly and the other can be generated by preset adjustment values, which is not limited in the embodiments of the present application. In addition, even if the preset adjustment value method is adopted, the preset adjustment value can also adopt different change values. The embodiment of the present application does not make specific limitations on this. As long as the switching position of the display phase and the touch phase during the display process of all image frames in the video stream is not always maintained at the same position, it should belong to the inventive concept of the embodiment of the present application and should be included in the protection scope of the embodiment of the present application.
[0112] Through the above scheme, the switching position of the display stage and the touch stage in each frame can be flexibly changed, so as to better avoid the switching position always being in the same place, and then use the exchange of time and space to reduce the human eye's recognition of horizontal stripe defects and improve the display effect of the panel.
[0113] It can be understood that the driving method of the embodiment of the present application can change the switching position of the display stage and the touch stage in any image frame, thereby utilizing the exchange of time and space to disrupt the appearance position of the horizontal stripe defects, thereby reducing the human eye's recognition of the horizontal stripe defects and improving the user experience of the touch panel.
[0114] Accordingly, see Figure 8 , Figure 8 Schematic diagram of the structure of the touch panel driving device according to the embodiment of the present application. The touch panel driving device 21 includes a control module 211 and a processing module 212 .
[0115] The control module 211 is configured to control the touch panel to scan and display the first image frame based on a first timing sequence, wherein the first timing sequence includes a first display phase and a first touch phase that are alternately arranged, wherein in the first display phase, the touch panel scans and displays the first image frame, and in the first touch phase, the touch panel loads a touch signal, and the first display phase and the first touch phase have a first switching position;
[0116] The processing module 212 is configured to determine a second timing sequence based on the first timing sequence, wherein the second timing sequence includes a second display phase and a second touch phase that are alternately arranged, and the second display phase and the second touch phase have a second switching position, and the second switching position is different from the first switching position;
[0117] The control module 211 is also configured to control the touch panel to scan and display a second image frame based on a second timing sequence. The second image frame is located after the first image frame. In the second display stage, the touch panel scans and displays the second image frame. In the second touch stage, the touch panel loads a touch signal.
[0118] In some embodiments, the first first display phase in the first time sequence has a first duration, each first touch phase has a third duration, and the first display phase between any two adjacent first touch phases has a fourth duration;
[0119] In the second time sequence, the first second display stage has a second duration, each second touch stage has a fifth duration, and the second display stage between any two adjacent second touch stages has a sixth duration;
[0120] Among them, the second duration is different from the first duration, the third duration is the same as the fifth duration, and the fourth duration is the same as the sixth duration.
[0121] In some embodiments, the processing module 212 is configured to determine the second duration, including:
[0122] Generate a random duration within a preset duration range;
[0123] If the random duration is different from the first duration, the random duration is determined as the second duration;
[0124] If the random duration is the same as the first duration, a random duration within the preset duration range is regenerated.
[0125] In some embodiments, the processing module 212 is configured to determine the second duration, including:
[0126] Based on the preset adjustment value and the first duration, a second duration is determined.
[0127] In some embodiments, the processing module 212 is configured to determine the second duration based on the preset adjustment value and the first duration, including:
[0128] If the sum of the first duration and the preset adjustment value is within the preset duration range, the sum of the first duration and the preset adjustment value is determined as the second duration;
[0129] If the sum of the first duration and the preset adjustment value exceeds the preset duration range, the difference between the first duration and the preset adjustment value is determined as the second duration.
[0130] In some embodiments, the processing module 212 is configured to determine the second timing based on the first timing, including:
[0131] Determine a first second display stage based on the starting position and the second duration of the first first display stage;
[0132] Based on the end position of the first second display stage, the fifth duration, the sixth duration and the total data scanning duration of each frame, each remaining second display stage and each second touch stage are determined.
[0133] In some embodiments, the number of first image frames is K consecutive, the number of second image frames is T consecutive, the first second image frame among the T consecutive second image frames is temporally adjacent to the last first image frame among the K consecutive first image frames, and K and T are both positive integers.
[0134] In some embodiments, the processing module 212 is further configured to determine a third timing sequence based on the second timing sequence, the third timing sequence includes a third display stage and a third touch stage that are alternately arranged, the third display stage and the third touch stage have a third switching position, and the third switching position is different from the second switching position;
[0135] The control module 211 is also configured to control the touch panel to scan and display a third image frame based on a third timing. The third image frame is located after the second image frame and is adjacent to the last second image frame in T consecutive second image frames. In the third display stage, the touch panel scans and displays the third image frame. In the third touch stage, the touch panel loads a touch signal.
[0136] It can be understood that the driving device 21 of the embodiment of the present application can change the switching position of the display stage and the touch stage in any image frame, thereby utilizing the exchange of time and space to disrupt the appearance position of the horizontal stripe defects, thereby reducing the human eye's recognition of the horizontal stripe defects and improving the user experience of the touch panel.
[0137] Accordingly, the display device of the embodiment of the present application can reduce the human eye's recognition of horizontal stripe defects, making it difficult for users to recognize horizontal stripe defects that appear when switching between the display stage and the touch stage, thereby providing a better user experience.
[0138] The above is a detailed introduction to a touch panel driving method, device and display device provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solution and its core idea of the present application. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiments of the present application.
Claims
1. A method for driving a touch panel, characterized in that: The method comprises: Controlling the touch panel to scan and display a first image frame based on a first timing sequence, wherein the first timing sequence includes a first display phase and a first touch phase that are alternately arranged, wherein in the first display phase, the touch panel scans and displays the first image frame, and in the first touch phase, the touch panel loads a touch signal, and the first display phase and the first touch phase have a first switching position; Determine a second timing sequence based on the first timing sequence, the second timing sequence comprising a second display stage and a second touch stage that are alternately arranged, the second display stage and the second touch stage having a second switching position, and the second switching position is different from the first switching position; Based on the second timing control, the touch panel scans and displays a second image frame, the second image frame is located after the first image frame, in the second display stage, the touch panel scans and displays the second image frame, and in the second touch stage, the touch panel loads the touch signal.
2. The method for driving a touch panel according to claim 1, wherein: The first first display stage in the first time sequence has a first duration, each first touch stage has a third duration, and the first display stage between any two adjacent first touch stages has a fourth duration; In the second time sequence, the first second display stage has a second duration, each second touch stage has a fifth duration, and the second display stage between any two adjacent second touch stages has a sixth duration; The second duration is different from the first duration, the third duration is the same as the fifth duration, and the fourth duration is the same as the sixth duration.
3. The method for driving a touch panel according to claim 2, wherein: The step of determining the second duration includes: Generate a random duration within a preset duration range; If the random duration is different from the first duration, determining the random duration as the second duration; If the random duration is the same as the first duration, a random duration within a preset duration range is regenerated.
4. The method for driving a touch panel according to claim 2, wherein: The step of determining the second duration includes: The second duration is determined based on a preset adjustment value and the first duration.
5. The method for driving a touch panel according to claim 4, characterized in that: The determining the second duration based on the preset adjustment value and the first duration includes: If the sum of the first duration and the preset adjustment value is within the preset duration range, the sum of the first duration and the preset adjustment value is determined as the second duration; If the sum of the first duration and the preset adjustment value exceeds the preset duration range, the difference between the first duration and the preset adjustment value is determined as the second duration.
6. The method for driving a touch panel according to claim 3 or 4, characterized in that: Determining a second timing based on the first timing includes: Determine a first second display stage based on a starting position of a first first display stage and the second duration; Based on the end position of the first second display stage, the fifth duration, the sixth duration and the total data scanning duration of each frame, each remaining second display stage and each second touch stage are determined.
7. The method for driving a touch panel according to claim 1, wherein: The number of the first image frames is K consecutive, the number of the second image frames is T consecutive, the first of the T consecutive second image frames is temporally adjacent to the last of the K consecutive first image frames, and both K and T are positive integers.
8. The method for driving a touch panel according to claim 7, characterized in that: The method further comprises: Determine a third timing sequence based on the second timing sequence, the third timing sequence comprising a third display stage and a third touch stage that are alternately arranged, the third display stage and the third touch stage have a third switching position, and the third switching position is different from the second switching position; Based on the third timing control, the touch panel scans and displays the third image frame, the third image frame is located after the second image frame and is timing-adjacent to the last of T consecutive second image frames, in the third display stage, the touch panel scans and displays the third image frame, and in the third touch stage, the touch panel loads the touch signal.
9. A touch panel driving device, characterized in that: The device comprises: A control module is configured to control the touch panel to scan and display a first image frame based on a first timing sequence, wherein the first timing sequence includes a first display phase and a first touch phase that are alternately arranged, in which the touch panel scans and displays the first image frame, in which the touch panel loads a touch signal, and the first display phase and the first touch phase have a first switching position; a processing module configured to determine a second timing sequence based on the first timing sequence, wherein the second timing sequence includes a second display stage and a second touch stage that are alternately arranged, wherein the second display stage and the second touch stage have a second switching position, and the second switching position is different from the first switching position; The control module is also configured to control the touch panel to scan and display a second image frame based on the second timing, the second image frame is located after the first image frame, in the second display stage, the touch panel scans and displays the second image frame, and in the second touch stage, the touch panel loads the touch signal.
10. A display device, characterized in that: Including touch panel and timing controller; Wherein, the timing controller includes the driving device of the touch panel as claimed in claim 9, or the timing controller adopts the driving method of the touch panel as claimed in any one of claims 1 to 8 to control the touch panel to perform display and touch.
Citation Information
Cited By
Pixel driving framework, display panel and pixel driving method
CN120580939A
