Touch and display driver integrated tddi frame synchronization update method, device and equipment
By generating a system frame synchronization signal Vsync_sys and applying it to various functional modules of the TDDI chip, the problem of video frame synchronization loss or error is solved, ensuring the accuracy and stability of video display.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING ESWIN COMPUTING TECH CO LTD
- Filing Date
- 2023-02-22
- Publication Date
- 2026-06-09
AI Technical Summary
When a video attribute setting command is received during video frame input transmission, existing technologies may cause frame synchronization loss or errors, resulting in image segmentation or destruction. This is especially problematic during complex image processing, where the delay can be significant, leading to malfunctions or erroneous operations.
By determining the input frame synchronization signal Vsync_in, a system frame synchronization signal Vsync_sys is generated and applied to various functional modules of the TDDI chip to perform frame synchronization. This avoids using incomplete video attribute setting instructions at the beginning of the Vsync_in signal of the current frame video, ensuring that commands are used accurately in the same frame video.
It enables the accurate use of commands within the same video frame, ensuring normal video display, avoiding command application errors and malfunctions, and improving display stability.
Smart Images

Figure CN116192319B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of display technology, and in particular to a method, apparatus and device for frame synchronization update of Touch and Display Driver Integration (TDDI). Background Technology
[0002] Video signals consist of horizontal synchronization (Hsync) signals and vertical synchronization (Vsync) signals. The Vsync signal separates video frames, while the Hsync signal synchronizes the horizontal synchronization between video frames. If a video attribute setting command (such as a command to change color, display speed, or display format) is received during the video frame input transmission period and is immediately executed, a frame may be interrupted. In severe cases, synchronization may be lost, and the image to be displayed may be fragmented or corrupted.
[0003] In related technologies, received video attribute setting commands can be stored first, and then transmitted to the system at the beginning of the next video frame. However, when changing video attribute settings, the output Hsync signal is delayed, and this delay increases as image processing becomes more complex. If the video attribute setting command is executed when the Vsync signal of the next video frame is input, but the end of the Hsync signal from the previous frame is after the Vsync signal of the next frame, a command application error will occur, leading to malfunctions or incorrect operations. Summary of the Invention
[0004] This disclosure aims to at least partially address one of the technical problems in the related art.
[0005] This disclosure proposes a method, apparatus, and terminal for integrating TDDI frame synchronization update with touch and display drivers. The specific solution is as follows:
[0006] The first aspect of this disclosure provides a method for integrating TDDI frame synchronization updates with a touch and display driver, comprising:
[0007] Determine the input frame synchronization signal Vsync_in;
[0008] The system frame synchronization signal Vsync_sys is generated based on the input frame synchronization signal Vsync_in.
[0009] The system frame synchronization signal Vsync_sys is applied to each functional module of the TDDI to perform frame synchronization.
[0010] A second aspect of this disclosure provides a touch and display driver integrated TDDI frame synchronization update device, the device comprising:
[0011] The determination module is used to determine the input frame synchronization signal Vsync_in;
[0012] The generation module is used to generate the system frame synchronization signal Vsync_sys based on the input frame synchronization signal Vsync_in;
[0013] The frame synchronization module is used to apply the system frame synchronization signal Vsync_sys to each functional module of the TDDI for frame synchronization.
[0014] A third aspect of this disclosure provides a terminal including a touch and display driver integrated TDDI frame synchronization update device as shown in the second aspect embodiment.
[0015] The touch and display driver integrated TDDI frame synchronization update method, apparatus, and device of the present disclosure have the following beneficial effects:
[0016] In this disclosure, the input frame synchronization signal Vsync_in is first determined, then the system frame synchronization signal Vsync_sys is generated based on the input frame synchronization signal Vsync_in, and finally the system frame synchronization signal Vsync_sys is applied to various functional modules of the TDDI for frame synchronization. Thus, Vsync_in is delayed to generate Vsync_sys, and the system frame synchronization signal Vsync_sys is then applied to various functional modules of the TDDI chip. This avoids errors caused by using video attribute setting commands at the beginning of the current frame's Vsync_in signal when the DE_out signal of the previous frame has not been fully transmitted, thus ensuring accurate command usage within the same video frame and guaranteeing normal video display.
[0017] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0018] The above and / or additional aspects and advantages of this disclosure will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, in which:
[0019] Figure 1A timing diagram of a video signal is shown;
[0020] Figure 2 This diagram illustrates the application of a video property setting command.
[0021] Figure 3 A timing diagram of the line synchronization signal output after setting the attributes of a video is shown;
[0022] Figure 4 A timing diagram of the touch enable signal in Long-H mode is shown;
[0023] Figure 5 A timing diagram of an application video property setting command is shown;
[0024] Figure 6 This is a flowchart illustrating a method for integrating TDDI frame synchronization update with a touch and display driver, provided in an embodiment of this disclosure.
[0025] Figure 7 A timing diagram of each signal of a TDDI chip after applying Vsync_sys, provided as an embodiment of this disclosure;
[0026] Figure 8 This is a flowchart illustrating another method for integrating TDDI frame synchronization update with a touch and display driver, provided in an embodiment of this disclosure.
[0027] Figure 9 A schematic diagram illustrating the application of the system frame synchronization signal Vsync_sys according to an embodiment of this disclosure;
[0028] Figure 10 This is a flowchart illustrating another method for integrating TDDI frame synchronization update with a touch and display driver, provided in an embodiment of this disclosure.
[0029] Figure 11 A schematic diagram showing a comparison of touch detection time before and after frame synchronization signal in an application system according to an embodiment of this disclosure;
[0030] Figure 12 This is a schematic diagram of a touch and display driver integrated TDDI frame synchronization update device provided in an embodiment of the present disclosure. Detailed Implementation
[0031] Embodiments of this disclosure are described in detail below. Examples of these embodiments are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this disclosure, and should not be construed as limiting this disclosure.
[0032] To facilitate understanding, the technical terms used in this disclosure will be explained below.
[0033] Touch and Display Driver Integration (TDDI) integrates the touch chip and display chip into a single chip, whereas smartphone touch and display functions are typically controlled by two separate chips. TDDI provides a unified system architecture. The previous system architecture, with its separate display and touch chips, could lead to display noise. TDDI, by achieving unified control, offers better noise management.
[0034] The TDDI chip may include a scaling module, an image quality improvement module, a memory control module, and a touch enable module. The scaling module can be used to change the size of video frame images, such as enlarging or shrinking the size of video frame images. The image quality improvement module can be used to change the image quality of video frames, such as improving or degrading the image quality of video frames. The memory control module can be used to store the horizontal synchronization signal and output the touch enable signal. The touch enable module can be used to acquire touch data from the touchscreen during touch detection.
[0035] The vertical synchronization (Vsync) signal, also known as the vertical synchronization signal, is a signal used to indicate the end of scanning the previous image frame and the start of scanning the next image frame. The frequency value of this signal is related to the frame display time (FDT).
[0036] The horizontal synchronization (Hsync) signal, also known as the horizontal sync signal, is the horizontal synchronization signal between video frames. The function of the Hsync signal is to select the effective horizontal signal range on the LCD panel.
[0037] The Data Enable (DE) signal is used to indicate the validity of data. When the DE signal is high, the data represented by the RGB signal lines is valid.
[0038] Video property setting commands are commands used to set video properties, including commands to change image quality, image size, and display format.
[0039] Figure 1 A timing diagram of a video signal is shown; as follows: Figure 1As shown, each falling edge in the input frame synchronization signal Vsync_in is used to separate video frames and is the start signal of each video frame. Each high level in the input line synchronization signal Hsync_in is the line synchronization signal corresponding to each line of data in each video frame.
[0040] Figure 2 This diagram illustrates the application of a video property setting command; for example... Figure 2 As shown, if a video attribute setting command is received during the transmission of the current frame video signal, it is not executed immediately, but is first stored in the internal memory. Then, at the beginning of the next frame video, the video attribute setting command is applied to various modules in the TDDI chip (such as the scaling module, image quality improvement module, and memory control module).
[0041] Figure 3 A timing diagram of the horizontal synchronization signal output after setting video attributes is shown. Figure 3 As shown, if the video is scaled, the output scaling line synchronization signal Hsync_scaler is delayed by one line compared to the input line synchronization signal Hsync_in. If the video is scaled and then the image quality is improved, the output quality line synchronization signal Hsync_quality is delayed by an additional two lines compared to the scaling line synchronization signal Hsync_scaler.
[0042] Long-H mode is a method that increases the touch sensing time during the transmission of a single video frame by changing the output frequency of the high level in the input line synchronization signal Hsync_in, thereby improving touch performance.
[0043] Figure 4 A timing diagram of the touch enable signal in Long-H mode is shown. Figure 4 As shown, in Long-H mode, the DE_in signal can be stored in the internal memory first, then several high-level signals can be output quickly, followed by a period of inactivity, and then several more high-level signals can be output quickly to obtain the DE_out signal. This results in a relatively long low-level period during the DE_out signal output. Since the DE_out signal and the touch enable signal Touch_EN have opposite levels (i.e., DE_out is high and Touch_EN is low; DE_out is low and Touch_EN is high), the Touch enable signal Touch_EN can maintain a relatively long high level during the transmission of the horizontal sync signal, thus allowing for more touch detection time during the transmission of each video signal.
[0044] The DE_out signal can be the signal output after setting video attributes (such as changing size or quality) in Long-H mode, or it can be the signal output after not setting video attributes in Long-H mode. This disclosure does not limit it in this way.
[0045] Figure 5 A timing diagram of an application video property setting command is shown, such as... Figure 5 As shown, in the Long-H mode used to improve touch processing, if the current frame represented by the DE_in signal is sequentially scaled, its quality changed, and then switched to Long-H mode, and the end time of the final output line synchronization signal Hsync_out is after the start time of the Vsync_in signal of the next frame of video, if a video attribute setting command is received during signal transmission and applied at the start time of the Vsync_in signal of the next frame of video, the DE_out signal generated after the start time of the Vsync_in signal of the next frame of video may be processed as the video attribute setting command used by the next frame of video, resulting in an incorrect application of the video attribute setting command, which may lead to problems such as malfunctions or incorrect operations.
[0046] Similarly, if the transmission end time of the DE_scaler signal or the DE_quality signal is after the start time of the Vsync_in signal of the next frame of video, then the DE_scaler signal or the DE_quality signal generated after the Vsync_in signal of the next frame of video may also be processed as the video attribute setting command used by the next frame of video, causing the video attribute setting command to be applied incorrectly, which may lead to problems such as failure or incorrect operation.
[0047] To address the aforementioned issues, this disclosure proposes a method for integrating TDDI frame synchronization updates with touch and display drivers. In this solution, a system frame synchronization signal Vsync_sys is generated based on the input frame synchronization signal Vsync_in. This system frame synchronization signal Vsync_sys is then applied to various functional modules of the TDDI chip. This avoids errors caused by using video attribute setting commands at the start of the current frame's Vsync_in signal when the DE_out signal of the previous frame has not been fully transmitted, thus ensuring accurate command usage within the same video frame and guaranteeing normal video display.
[0048] The following description, with reference to the accompanying drawings, outlines a method, apparatus, and device for integrating TDDI frames for touch and display drivers according to embodiments of the present disclosure.
[0049] Figure 6This is a flowchart illustrating a method for integrating TDDI frame synchronization update with a touch and display driver, provided in an embodiment of this disclosure.
[0050] It should be noted that the execution subject of the touch and display driver integrated TDDI frame synchronization update method in this embodiment is the touch and display driver integrated TDDI frame synchronization update method device. This device can be implemented by software and / or hardware. This device can be configured in a device, which can include, but is not limited to, a terminal (such as a mobile phone, a PDA).
[0051] like Figure 6 As shown, the touch and display driver integrated TDDI frame synchronization update method may include the following steps:
[0052] Step 601: Determine the input frame synchronization signal Vsync_in.
[0053] The input frame synchronization signal Vsync_in can be obtained by the application processor (AP) parsing the acquired video signal. Optionally, parsing the video signal can also yield the input line synchronization signal Hsync_in.
[0054] Step 602: Generate system frame synchronization signal Vsync_sys based on input frame synchronization signal Vsync_in.
[0055] Among them, the system frame synchronization signal Vsync_sys can be obtained by delaying the start time of each frame of video in the input frame synchronization signal Vsync_in.
[0056] It should be noted that the start time of the system frame synchronization signal Vsync_sys generated for the i-th frame must be after all signal outputs of the (i-1)-th frame have ended. This can prevent the video attribute setting commands in the i-th frame from being applied to the signals in the (i-1)-th frame that have not yet finished transmitting, which could lead to video attribute setting command application errors, and consequently, malfunctions or erroneous operations.
[0057] Furthermore, the start time of the system frame synchronization signal Vsync_sys generated for the i-th frame must be before the first input line synchronization signal Hsync_in for the i-th frame. This ensures that video attribute setting commands can be applied to various functional modules of TDDI before the start of the i-th frame video.
[0058] Optionally, if a video attribute setting command is received during video signal transmission, the system frame synchronization signal Vsync_sys can be generated based on the input frame synchronization signal Vsync_in. If no video attribute setting command is received during video signal transmission, the system frame synchronization signal Vsync_sys can also be generated based on the input frame synchronization signal Vsync_in. That is, the system frame synchronization signal Vsync_sys can be generated based on the input frame synchronization signal Vsync_in at the moment video signal transmission begins (i.e., at the beginning of the first frame of video signal). This disclosure does not limit this aspect.
[0059] For example, if a video attribute setting command is received during the transmission of the video signal in frame i, the system frame synchronization signal Vsync_sys for frame i+1 and all subsequent frames can be generated based on the input frame synchronization signal Vsync_in of frame i+1 and all subsequent frames.
[0060] In this embodiment of the disclosure, after the system frame synchronization signal is generated, the duration of each video frame in the system frame synchronization signal is the same.
[0061] Step 603: Apply the system frame synchronization signal Vsync_sys to each functional module of TDDI to perform frame synchronization.
[0062] It is understandable that the system frame synchronization signal Vsync_sys is applied to each functional module of TDDI, so that each functional module can use the system frame synchronization signal Vsync_sys as a reference to start the transmission of the next video frame. If a video attribute setting command is applied at the beginning of the video frame in the system frame synchronization signal Vsync_sys, then each functional module can modify its own functions according to the video attribute setting command so that the attributes of subsequent video frames are the same as those indicated in the video attribute setting command.
[0063] Optionally, the various functional modules of TDDI include a scaler module, an image quality improvement module, and a memory control module that are connected in series.
[0064] In this disclosure, the series order of the scaling module, image quality improvement module and memory control in the TDDI chip is not limited.
[0065] Figure 7 This is a timing diagram of the signals of a TDDI chip after applying Vsync_sys, as provided in one embodiment of this disclosure. Figure 7As shown, a video attribute setting command is received after the start time of the i-th frame of video, and the start time of the (i+1)-th frame in the Vsync_in signal is before the end time of the transmission of the DE_Long_H signal of the i-th frame. If the video attribute setting command is executed based on the start time of the (i+1)-th frame in the Vsync_in signal, and the transmission of the DE_in signal of the (i+1)-th frame begins, the video attribute setting command in the (i+1)-th frame of video will be executed in the part where the DE_Long_H signal of the i-th frame of video has not been fully transmitted, thus causing the command to be used incorrectly.
[0066] However, since the start time of the (i+1)th frame in the Vsync_sys signal is after the start time of the (i+1)th frame in the Vsync_in signal, if the video attribute setting command is executed based on the start time of the (i+1)th frame in the Vsync_sys signal and the transmission of the DE_in signal of the (i+1)th frame begins, then the DE_Long_H, DE_Scaler, DE_quality, and other signals of the i-th frame video will be transmitted before the start time of the (i+1)th frame video, thus avoiding command usage errors.
[0067] In this disclosure, the input frame synchronization signal Vsync_in is first determined, then the system frame synchronization signal Vsync_sys is generated based on the input frame synchronization signal Vsync_in, and finally the system frame synchronization signal Vsync_sys is applied to various functional modules of the TDDI for frame synchronization. Thus, Vsync_in is delayed to generate Vsync_sys, and the system frame synchronization signal Vsync_sys is then applied to various functional modules of the TDDI chip. This avoids errors caused by using video attribute setting commands at the beginning of the current frame's Vsync_in signal when the DE_out signal of the previous frame has not been fully transmitted, thus ensuring accurate command usage within the same video frame and guaranteeing normal video display.
[0068] Figure 8 This is a flowchart illustrating another method for integrating TDDI frame synchronization update with a touch and display driver, provided in an embodiment of this disclosure.
[0069] like Figure 8 As shown, the touch and display driver integrated TDDI frame synchronization update method may include the following steps:
[0070] Step 801: Determine the input frame synchronization signal Vsync_in.
[0071] Step 802: Determine the first delay time.
[0072] The first delay time refers to the time interval between the input frame synchronization signal Vsync_in and the system frame synchronization signal Vsync_sys, that is, the delay between the Vsync_sys signal and the Vsync_in signal.
[0073] Optionally, the first delay time can be generated based on the interval between the input frame synchronization signal Vsync_in of the i-th frame and the first DE_in signal of the i-th frame.
[0074] Optionally, the first delay time can also be set empirically, as long as the start time of the delayed Vsync_sys is before the start time of the first DE_in signal. This disclosure does not impose any limitations on this.
[0075] Step 803: Generate system frame synchronization signal Vsync_sys based on input frame synchronization signal Vsync_in and first delay time.
[0076] Therefore, after determining the first delay time, the system frame synchronization signal Vsync_sys can be obtained by delaying the input frame synchronization signal Vsync_in by the corresponding first delay time.
[0077] Step 804: Apply the system frame synchronization signal Vsync_sys to each functional module of TDDI to perform frame synchronization.
[0078] Step 805: Upon receiving a video attribute setting command, determine the second delay time corresponding to the video attribute setting command.
[0079] The video property setting commands may include one or more of the following: commands to change image quality, commands to change image size, commands to change display format, etc. This disclosure does not limit this.
[0080] Optionally, the delay time can be different or the same for different types of video attribute settings. This disclosure does not impose any restrictions on this.
[0081] For example, the delay time for changing the image size setting is 1 clock cycle, and the delay time for changing the image quality setting is 2 clock cycles. If the received video attribute setting command only contains the command to change the image quality, the corresponding second delay time is 2 clock cycles. If the received video attribute setting command only contains the command to change the image size, the corresponding second delay time is 1 clock cycle. If the received video attribute setting command contains both commands to change the image size and commands to change the image quality, the corresponding second delay time is 3 clock cycles.
[0082] Step 806: Generate the output line synchronization signal Hsync_out based on the second delay time and the input line synchronization signal Hsync_in.
[0083] In this embodiment of the disclosure, after determining the second delay time, the input row synchronization signal Hsync_in can be delayed according to the second delay time to obtain the output row synchronization signal Hsync_out.
[0084] In long-H mode, after delaying the input line synchronization signal Hsync_in based on the second delay time, it is necessary to further adjust the time interval between the high levels in the delayed DE_in signal to obtain the output line synchronization signal Hsync_out.
[0085] Figure 9 This is a schematic diagram illustrating the application of a system frame synchronization signal Vsync_sys according to an embodiment of this disclosure, as shown below. Figure 9 As shown, the scaling module, image quality improvement module, and memory control module are connected in series. The memory control module is connected to the touch enable module. The input frame synchronization signal Vsync_in, input line synchronization signal Hsync_in, and system frame synchronization signal Vsync_sys received through the Mobile Industry Processor Interface (MIPI) are transmitted to the scaling module, image quality improvement module, and memory control module in the TDDI chip, respectively.
[0086] In addition, the memory control module can generate a touch enable signal Touch_EN based on the output line synchronization signal Hsync_out, and transmit the Touch_EN signal to the touch enable module so that the touch enable module can perform touch detection based on the Touch_EN signal.
[0087] In this disclosure, an input frame synchronization signal Vsync_in is first determined, followed by a first delay time. Then, a system frame synchronization signal Vsync_sys is generated based on the input frame synchronization signal Vsync_in and the first delay time. This system frame synchronization signal Vsync_sys is applied to various functional modules of the TDDI for frame synchronization. Furthermore, upon receiving a video attribute setting command, a second delay time corresponding to the command is determined. Based on the second delay time and the input line synchronization signal Hsync_in, an output line synchronization signal Hsync_out is generated. Thus, applying the Vsync_sys signal to various functional modules of the TDDI to achieve frame synchronization among them avoids incorrect use of video attribute setting commands, ensures accurate command usage within the same video frame, and guarantees normal video display. Moreover, it accurately generates the output line synchronization signal Hsync_out upon receiving a video attribute setting command.
[0088] Figure 10 This is a flowchart illustrating another method for integrating TDDI frame synchronization update with a touch and display driver, provided in an embodiment of this disclosure.
[0089] Step 1001: Determine the input frame synchronization signal Vsync_in.
[0090] Step 1002: Generate system frame synchronization signal Vsync_sys based on input frame synchronization signal Vsync_in.
[0091] Step 1003: Apply the system frame synchronization signal Vsync_sys to each functional module of TDDI to perform frame synchronization.
[0092] The specific implementation of steps 1001-1003 can be found in the detailed descriptions of other embodiments in this disclosure, and will not be repeated here.
[0093] Step 1004: In Long-H mode, based on the length of the first delay time between the system frame synchronization signal Vsync_sys and the input frame synchronization signal Vsync_in, extend the time interval between each output line synchronization signal Hsync_out group, wherein the output line synchronization signal Hsync_out sequence corresponding to each video frame includes multiple output line synchronization signal Hsync_out groups.
[0094] It should be noted that when frame synchronization is performed using the system frame synchronization signal, the DE_out of the i-th frame video can end at any time between the start time of the input frame synchronization signal Vsync_in of the (i+1)-th frame video and the start time of the system frame synchronization signal Vsync_sys of the (i+1)-th frame video. Furthermore, the system frame synchronization signal Vsync_sys of the (i+1)-th frame video is always located after the input frame synchronization signal Vsync_in. In other words, after generating the system frame synchronization signal Vsync_sys, the end time of the DE_out of the i-th frame video is delayed by the first delay compared to before the system frame synchronization signal Vsync_sys was generated.
[0095] To avoid wasting this time, in this embodiment, after generating the system frame synchronization signal Vsync_sys and applying it to the various functional modules of the TDDI, the time interval between each output line synchronization signal Hsync_out group can be extended according to the length of the first delay time between the system frame synchronization signal Vsync_sys and the input frame synchronization signal Vsync_in. This increases the duration of the low level between each DE_out group, thereby increasing the time available for touch detection during the transmission of each frame's line synchronization signal. A longer touch detection time means that a lower clock frequency can be used for touch detection. Using a lower clock frequency reduces power consumption and lowers the operating temperature of the TDDI chip, thus achieving stable operation.
[0096] Figure 11 This is a schematic diagram comparing the touch detection time before and after the frame synchronization signal of an application system, provided as an embodiment of this disclosure. Figure 11 As shown, without the application of the system frame synchronization signal Vsync_sys, if a video attribute setting command is received during the transmission of the i-th frame video signal, the DE_out signal of the i-th frame video must be output before the start time of the Vsync_in signal of the (i+1)-th frame video. After the application of the system frame synchronization signal Vsync_sys, the DE_out signal of the i-th frame video can be output within the range after the start time of the Vsync_in signal of the (i+1)-th frame video and before the start time of the Vsync_sys signal of the (i+1)-th frame video.
[0097] like Figure 11As shown, if the duration of each video frame is 200 clock cycles, that is, the duration of each high level in DE_in in a video frame is 10 clock cycles, the duration of the low level between two adjacent high levels is 10 clock cycles, the time interval between the start time of the Vsync_in signal and the start time of the first high level in the DE_in signal is 20 clock cycles, and the time interval between the end time of the last high level in the (i+1)th frame of the video and the start time of the Vsync_in signal in the (i+1)th frame of the video is 10 clock cycles.
[0098] Without using the system frame synchronization signal Vsync_sys, in the DE_out signal of the i-th frame of video output in Long-H mode, the second delay time between the start time of the Vsync_in signal of the i-th frame and the start time of the first high level in the DE_out signal of the i-th frame is 40 clock cycles. In Long-H mode, the memory module changes the output frequency of the high level in the DE_in signal, such as... Figure 11 As shown, the DE_out signal of the i-th frame of video consists of three high levels as a group, and the duration of the low level between each two adjacent high levels in a group is 2 clock cycles; the duration of the low level between two adjacent high levels is 26 clock cycles, and the time interval between the end of the last high level in the DE_out signal of the i-th frame of video and the start of the Vsync_in signal of the (i+1)-th frame of video is 6 clock cycles.
[0099] In the Touch_EN signal corresponding to the DE_out signal of the i-th frame of video, the 40 clock high-level periods between the start of the first low-level period and the start of the Vsync_in signal of the i-th frame of video are idle time and cannot be used for touch detection; the high-level periods corresponding to the low-level periods between two adjacent high-level periods in the Touch_EN signal and the DE_out signal are the time periods that can be used for touch detection.
[0100] When using the system frame synchronization signal Vsync_sys, the end time of the DE_out signal output in Long-H mode can be delayed. If the delay time is the first delay time between Vsync_sys and Vsync_in of the i-th frame of video, i.e., 20 clock cycles, then in the DE_out signal, the time interval between the start time of the Vsync_sys signal of the i-th frame of video and the start time of the first high level in the DE_in signal of the i-th frame of video is 20 clock cycles. The duration of the low level between two adjacent high levels is extended from 26 clock cycles to 36 clock cycles, that is, the duration of each high level used for touch detection in the Touch_EN signal is increased by 10 clock cycles. This reduces the 20 clock cycle idle time before the start time of DE_out of the i-th frame of video and increases the duration of user touch detection in the Touch_EN signal.
[0101] In this embodiment, an input frame synchronization signal Vsync_in is first determined. Then, a system frame synchronization signal Vsync_sys is generated based on the input frame synchronization signal Vsync_in. The system frame synchronization signal Vsync_sys is applied to various functional modules of TDDI for frame synchronization. Furthermore, in Long-H mode, the time interval between each group of output line synchronization signals Hsync_out is extended based on the length of the first delay between the system frame synchronization signal Vsync_sys and the input frame synchronization signal Vsync_in. Each video frame's corresponding output line synchronization signal Hsync_out sequence includes multiple groups of output line synchronization signals Hsync_out. Therefore, after applying the system frame synchronization signal Vsync_sys, the time interval between each group of output line synchronization signals Hsync_out is extended based on the length of the first delay between the system frame synchronization signal Vsync_sys and the input frame synchronization signal Vsync_in, thereby shortening the idle time interval between adjacent frames and increasing the touch duration during the transmission of each frame's line synchronization signal, thus generating more touch detection time in Long-H mode.
[0102] To achieve the above embodiments, this disclosure also proposes a touch and display driver integrated TDDI frame synchronization update device.
[0103] Figure 12 This is a schematic diagram of a touch and display driver integrated TDDI frame synchronization update device provided in an embodiment of the present disclosure.
[0104] like Figure 12 As shown, the touch and display driver integrated TDDI frame synchronization update device 1200 includes: a determination module 1201, a generation module 1202 and a frame synchronization module 1203.
[0105] Among them, the determining module 1201 is used to determine the input frame synchronization signal Vsync_in;
[0106] The generation module 1202 is used to generate the system frame synchronization signal Vsync_sys based on the input frame synchronization signal Vsync_in;
[0107] The frame synchronization module 1203 is used to apply the system frame synchronization signal Vsync_sys to various functional modules of TDDI for frame synchronization.
[0108] In some embodiments of this disclosure, the generation module 1202 is specifically used for:
[0109] Determine the first delay time;
[0110] The system frame synchronization signal Vsync_sys is generated based on the input frame synchronization signal Vsync_in and the first delay time.
[0111] In some embodiments of this disclosure, the first delay time is generated based on the interval between the input frame synchronization signal Vsync_in of the i-th frame and the first input line synchronization signal Hsync_in of the i-th frame, where i is a positive integer.
[0112] In some embodiments of this disclosure, a first processing module is further included, specifically for:
[0113] Upon receiving a video attribute setting command, determine the second first delay time corresponding to the video attribute setting command;
[0114] Based on the second delay time and the input line synchronization signal Hsync_in, the output line synchronization signal Hsync_out is generated.
[0115] In some embodiments of this disclosure, a second processing module is further included, specifically for:
[0116] In Long-H mode, the time interval between each output line synchronization signal Hsync_out group is extended according to the length of the first delay time between the system frame synchronization signal Vsync_sys and the input frame synchronization signal Vsync_in. The output line synchronization signal Hsync_out sequence corresponding to each video frame includes multiple output line synchronization signal Hsync_out groups.
[0117] In some embodiments of this disclosure, the various functional modules of TDDI include a scaler module, an image quality improvement module, and a memory control module that are connected in series.
[0118] It should be noted that the foregoing explanation of the method for integrating TDDI frames with touch and display drivers also applies to the device for integrating TDDI frames with touch and display drivers in this embodiment, and will not be repeated here.
[0119] In this disclosure, the input frame synchronization signal Vsync_in is first determined, then the system frame synchronization signal Vsync_sys is generated based on the input frame synchronization signal Vsync_in, and finally the system frame synchronization signal Vsync_sys is applied to various functional modules of the TDDI for frame synchronization. Thus, Vsync_in is delayed to generate Vsync_sys, and the system frame synchronization signal Vsync_sys is then applied to various functional modules of the TDDI chip. This avoids errors caused by using video attribute setting commands at the beginning of the current frame's Vsync_in signal when the DE_out signal of the previous frame has not been fully transmitted, thus ensuring accurate command usage within the same video frame and guaranteeing normal video display.
[0120] The touch and display driver integrated TDDI frame synchronization update method and apparatus provided in the above embodiments.
[0121] This disclosure also provides an apparatus. The apparatus includes a TDDI frame synchronization update method and device integrating touch and display drivers. This apparatus can be a portable user device, such as a mobile phone or PDA, or other devices with video playback capabilities; this disclosure does not limit its scope.
[0122] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0123] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means at least two, such as two, three, etc., unless otherwise expressly specified. In the description of this disclosure, the words "if" and "suppose" as used may be interpreted as "when," "in response to a determination," or "in the circumstances."
[0124] Although embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present disclosure.
Claims
1. A method for integrating TDDI frame synchronization update with touch and display drivers, characterized in that, include: Determine the input frame synchronization signal Vsync_in; The system frame synchronization signal Vsync_sys is generated based on the first delay time and the input frame synchronization signal Vsync_in; wherein, the first delay time is generated based on the interval between the input frame synchronization signal Vsync_in of the i-th frame and the first input line synchronization signal Hsync_in of the i-th frame, and i is a positive integer; The system frame synchronization signal Vsync_sys is applied to each functional module of the TDDI to perform frame synchronization.
2. The method as described in claim 1, characterized in that, Also includes: Upon receiving a video attribute setting command, determine the second delay time corresponding to the video attribute setting command; Based on the second delay time and the input line synchronization signal Hsync_in, the output line synchronization signal Hsync_out is generated.
3. The method as described in claim 1 or 2, characterized in that, Also includes: In Long-H mode, the time interval between each output line synchronization signal Hsync_out group is extended according to the length of the first delay time between the system frame synchronization signal Vsync_sys and the input frame synchronization signal Vsync_in. The output line synchronization signal Hsync_out sequence corresponding to each video frame includes multiple output line synchronization signal Hsync_out groups.
4. The method as described in claim 1, characterized in that, The functional modules of the TDDI include a scaler module, an image quality improvement module, and a memory control module that are connected in series.
5. A touch and display driver integrated TDDI frame synchronization update device, characterized in that, include: The determination module is used to determine the input frame synchronization signal Vsync_in; The generation module is used to generate a system frame synchronization signal Vsync_sys based on a first delay time and the input frame synchronization signal Vsync_in; wherein, the first delay time is generated based on the interval between the input frame synchronization signal Vsync_in of the i-th frame and the first input line synchronization signal Hsync_in of the i-th frame, and i is a positive integer; The frame synchronization module is used to apply the system frame synchronization signal Vsync_sys to each functional module of the TDDI for frame synchronization.
6. The apparatus as claimed in claim 5, characterized in that, It also includes a first processing module, specifically used for: Upon receiving a video attribute setting command, determine the second first delay time corresponding to the video attribute setting command; Based on the second first delay time and the input line synchronization signal Hsync_in, the output line synchronization signal Hsync_out is generated.
7. The apparatus as described in claim 5 or 6, characterized in that, It also includes a second processing module, specifically used for: In Long-H mode, the time interval between each output line synchronization signal Hsync_out group is extended according to the length of the first delay time between the system frame synchronization signal Vsync_sys and the input frame synchronization signal Vsync_in. The output line synchronization signal Hsync_out sequence corresponding to each video frame includes multiple output line synchronization signal Hsync_out groups.
8. The apparatus as claimed in claim 5, characterized in that, The functional modules of the TDDI include a scaler module, an image quality improvement module, and a memory control module that are connected in series.
9. A display device, characterized in that, Applied to the field of display technology, including the touch and display driver integrated TDDI frame synchronization update device as described in any one of claims 5-8.