Touch panel TP frequency hopping scanning method applied to TDDI chip

文档序号:152767 发布日期:2021-10-26 浏览:9次 中文

阅读说明:本技术 一种应用于tddi芯片的触控面板tp跳频扫描方法 (Touch panel TP frequency hopping scanning method applied to TDDI chip ) 是由 王亚洲 张金磊 于 2021-06-24 设计创作,主要内容包括:本发明提出了一种应用于TDDI芯片的触控面板TP跳频扫描方法,包括以下步骤:S1、亮屏模式下,设置触控面板TP的默认扫描方式是第一扫描模式Long H Mode;S2、检测外部噪声,当外部噪声大于设定值时,配置使触控面板TP进入第二扫描模式Long V Mode,该模式下当触控面板TP的扫描信号H-Te处于低电平时进行扫描,且进行跳频设置;当噪声小于设定值时,切换到第一扫描模式Long H Mode进行扫描。本发明的优点在于:可以在触控面板TP遇到外部较大噪声时,依然可以正常工作。(The invention provides a touch panel TP frequency hopping scanning method applied to a TDDI chip, which comprises the following steps: s1, in the bright screen Mode, setting the default scanning Mode of the touch panel TP to be the first scanning Mode Long H Mode; s2, detecting external noise, and when the external noise is greater than a predetermined value, configuring to enable the touch panel TP to enter a second scanning Mode Long V Mode, where scanning is performed and frequency hopping setting is performed when a scanning signal H _ Te of the touch panel TP is at a low level in the Mode; and when the noise is smaller than the set value, switching to a first scanning Mode Long H Mode for scanning. The invention has the advantages that: the touch panel TP can still work normally when encountering external noise.)

1. A touch panel TP frequency hopping scanning method applied to a TDDI chip is characterized by comprising the following steps:

s1, in the bright screen mode, setting the default scanning mode of the touch panel TP as a first scanning mode Long HMode;

s2, detecting external noise, and when the external noise is greater than a predetermined value, configuring to enable the touch panel TP to enter a second scanning Mode Long V Mode, where scanning is performed and frequency hopping setting is performed when a scanning signal H _ Te of the touch panel TP is at a low level in the Mode; and when the noise is smaller than the set value, switching to a first scanning Mode Long H Mode for scanning.

2. The method as claimed in claim 1, wherein the step S2 of configuring the touch panel TP to enter the second scan Mode Long V Mode includes: the LCD related control register is configured through the mipi interface to let the system enter long _ v _ mode by setting long _ h _ mode to 0.

Technical Field

The invention relates to the technical field of touch control and display driver integration (TDDI), in particular to a touch panel TP frequency hopping scanning method applied to a TDDI chip.

Background

With the development and progress of technology, Driver and Touch ICs have been greatly developed, and some high-end chips will make Touch and display together. However, when the screen is turned on, the scanning of the touch panel TP may encounter a certain specific frequency noise caused by the surrounding environment, and if the scanning frequency of the touch panel TP is the same as the noise frequency, the data Rawdata read during the normal scanning of the touch panel TP may fluctuate greatly, which may cause the touch panel TP to operate abnormally. Since the touch panel TP is limited by the signal of the display panel DP during scanning, the scanning frequency of the touch panel TP is limited to a certain extent, and frequency hopping scanning cannot be performed, and thus noise cannot be avoided.

Disclosure of Invention

In order to avoid noise of specific frequency, the present patent proposes a touch panel TP frequency hopping scanning method applied to a TDDI chip, and the specific scheme is as follows:

a touch panel TP frequency hopping scanning method applied to a TDDI chip comprises the following steps:

s1, in the bright screen Mode, setting the default scanning Mode of the touch panel TP to be the first scanning Mode Long H Mode;

s2, detecting external noise, and when the external noise is greater than a predetermined value, configuring to enable the touch panel TP to enter a second scanning Mode Long V Mode, where scanning is performed and frequency hopping is performed when a scanning signal H _ Te of the touch panel TP is at a low level in the Mode; and when the noise is smaller than the set value, switching to a first scanning Mode Long H Mode for scanning.

Specifically, the step of configuring to make the touch panel TP enter the second scan Mode Long V Mode in step S2 includes: the LCD related control register is configured through the mipi interface to let the system enter long _ v _ mode by setting long _ h _ mode to 0.

The invention has the beneficial effects that:

in the conventional implementation scheme, when a scanning signal H _ Te of the first scanning Mode Long H Mode is encountered in a relatively Long module (i.e., a screen with relatively Long H _ Te low level time), frequency hopping is implemented by configuring scan of an intra-line in one cycle for multiple times, but when the intra-line in one cycle is relatively short, frequency hopping cannot be performed. The scheme provided by the patent uses a first scanning Mode Long H Mode and a second scanning Mode Long V Mode, the touch panel TP can have more time to scan under the first scanning Mode Long H Mode, when the external noise is detected, the scanning Mode is switched to the second scanning Mode Long V Mode for frequency hopping, and when the external noise is detected to be smaller, the scanning Mode is switched to the first scanning Mode Long H Mode. Although the second scan Mode Long V Mode can hop frequency, the total scan time of the touch panel TP is not Long enough, which may affect the SNR of the touch panel TP. If the frequency hopping proposed by the present invention is not adopted, when a large noise is encountered, the data Rawdata read during normal scanning of the touch panel TP will be severely jittered, which may cause the touch panel TP to fail to work. To solve such a problem, the method provided in this patent may still work normally when the touch panel TP encounters external large noise.

Drawings

Fig. 1 is a timing chart of the first scan Mode Long H Mode scan.

Fig. 2 is a timing diagram of the second scan Mode Long V Mode scan.

Fig. 3 is a timing diagram of frequency hopping scan.

Vsync is a field sync signal, Hsync is a line sync signal; the scan signal H _ Te and the scan signal H _ Te are respectively a first scan Mode Long H Mode and a second scan Mode Long V Mode indication signal sent to the touch panel TP by the display panel DP, and P1 is a scan signal of the touch panel TP.

Detailed Description

As shown in fig. 1-3, a TP frequency hopping scanning method for a touch panel applied to a TDDI chip includes the following steps:

s1, in the bright screen Mode, setting the default scanning Mode of the touch panel TP to be the first scanning Mode Long H Mode;

s2, detecting external noise, and when the external noise is greater than a predetermined value, configuring to enable the touch panel TP to enter a second scanning Mode Long V Mode, where the scanning signal H _ Te scanned by the touch panel TP in this Mode is at a low level for scanning and performing frequency hopping setting; and when the noise is smaller than the set value, switching to a first scanning Mode Long H Mode for scanning.

The set value is set by a software engineer according to actual conditions, and different values are set according to different items, for example, a diff value of some items is 1000, and diff is a data difference before and after finger touch. When the screen is thick, a setting with a diff value of only 500 you might be set to only 200.

Specifically, the step of configuring to make the touch panel TP enter the second scan Mode Long V Mode in step S2 includes: the LCD related control register is configured through the mipi interface to let the system enter long _ v _ mode by setting long _ h _ mode to 0.

In the bright screen mode, the touch panel TP needs to be scanned when the display panel DP is not in operation, because the interference of the display panel DP to the touch panel TP is minimal at this time. The off period of the display panel DP has 2 scenes, one is that the display panel DP is off during a period between lines in the front and rear cycles, which is represented by the signal scan signal H _ Te, high level represents that the display panel DP is on, low level represents that the display panel DP is off, and scanning at low level of the scan signal H _ Te is the first scan Mode Long H Mode, as shown in fig. 1.

Another display panel DP off period is between the front and rear frames, as shown in fig. 2, the scanning signal H _ Te indicates that the display panel DP is on, the scanning signal H _ Te indicates that the display panel DP is not off, and the scanning signal H _ Te indicates that the scanning Mode is the second scanning Mode Long V Mode. One display Frame AMOLED Frame has N line synchronization signals Hsync, a white background portion on the line synchronization signals Hsync represents that the display panel DP is working, and a black background portion represents that the display panel DP is not working.

The second scan Mode Long V Mode does not have enough scan time for the touch panel TP to meet the requirements of specific scan times and reporting rate, so the scan is generally performed in the first scan Mode Long H Mode. In the first scanning Mode Long H Mode scanning, the OLED resolution and the Frame rate are higher, so that the low level time of the scanning signal H _ Te is shorter, the intra-line in one period can be scanned only once, and the scanning frequency of the touch panel TP is consistent with the intra-line in one period, and therefore frequency hopping cannot be performed. When the scanning signal H _ Te is low in the second scanning Mode Long V Mode, the touch panel TP can perform free scanning without referring to other signals, and thus frequency hopping can be easily performed.

In the first scan Mode Long H Mode, the scan signal H _ Te is a signal indicating that the touch panel TP performs scanning, and the touch panel TP performs scanning when the scan signal H _ Te is at a low level, i.e., a black area in the figure. In the second scan Mode Long V Mode, the scan signal H _ Te is a signal indicating that the touch panel TP performs scanning when it is a low level touch panel TP. One line synchronizing signal Hsync period in the figure is also referred to as an inline line in one period.

As shown in fig. 3, if there is noise, the TP default scanning Mode is the first scanning Mode Long H Mode. When a large noise is detected from the outside, the TP is configured to enter the second scan Mode Long V Mode, and scanning is performed when the scan signal V _ Te is low, and frequency hopping configuration may be performed. Since the low level time of the scan signal V _ Te is relatively short, the touch panel TP cannot meet the required dot rate and scan times, and therefore the Long V Mode scan in the second scan Mode comes at the expense of touch panel TP performance. Therefore, when it is detected that the noise is relatively small, the scanning is switched to the first scanning Mode Long H Mode again.

The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于空调显示屏的触控方法、装置、空调及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类