[go: up one dir, main page]

TWI861636B - Touch track matching method, touch module and information processing device - Google Patents

Touch track matching method, touch module and information processing device Download PDF

Info

Publication number
TWI861636B
TWI861636B TW111148986A TW111148986A TWI861636B TW I861636 B TWI861636 B TW I861636B TW 111148986 A TW111148986 A TW 111148986A TW 111148986 A TW111148986 A TW 111148986A TW I861636 B TWI861636 B TW I861636B
Authority
TW
Taiwan
Prior art keywords
straight line
parameter
touch
sensing array
point coordinate
Prior art date
Application number
TW111148986A
Other languages
Chinese (zh)
Other versions
TW202427140A (en
Inventor
駱榮狄
李波
姜鵬
Original Assignee
大陸商北京集創北方科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商北京集創北方科技股份有限公司 filed Critical 大陸商北京集創北方科技股份有限公司
Priority to TW111148986A priority Critical patent/TWI861636B/en
Publication of TW202427140A publication Critical patent/TW202427140A/en
Application granted granted Critical
Publication of TWI861636B publication Critical patent/TWI861636B/en

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

一種觸控軌跡擬合方法,其係由一控制電路實現,該方法包括:自一感測陣列週期性地讀出一觸摸點座標;依一前一觸摸點座標及一前前一觸摸點座標形成一第一直線,及在連接一當前觸摸點座標與該前一觸摸點座標之一線段之一中點上形成與該線段垂直之一第二直線,該第二直線表為該中點之座標加上一第一參數與一單位方向向量之乘積;以及由該第一直線與該第二直線之交點計算出該第一參數,並將該第一參數代入一落點修正函數以獲得一第二參數,及在該第二直線中將該第二參數取代該第一參數以獲得一內插點座標。A touch track fitting method is implemented by a control circuit, the method comprising: periodically reading a touch point coordinate from a sensing array; forming a first straight line according to a previous touch point coordinate and a previous previous touch point coordinate, and forming a second straight line perpendicular to a line segment at a midpoint of a line segment connecting a current touch point coordinate and the previous touch point coordinate, the second straight line being the coordinate of the midpoint plus the product of a first parameter and a unit direction vector; and calculating the first parameter from the intersection of the first straight line and the second straight line, substituting the first parameter into a landing point correction function to obtain a second parameter, and replacing the first parameter with the second parameter in the second straight line to obtain an interpolated point coordinate.

Description

觸控軌跡擬合方法、觸控模組及資訊處理裝置Touch track matching method, touch module and information processing device

本發明係關於觸控資料處理,尤指一種觸控軌跡擬合方案。The present invention relates to touch data processing, and more particularly to a touch track fitting scheme.

現有的觸控技術為增加觸控報點會在感測到的多個觸摸點間增加內插點。例如,通過三階貝塞爾演算法對4個已知點進行運算以產生一擬合軌跡,然後再在該擬合軌跡上產生內插點。In order to increase touch reporting points, existing touch technology adds interpolation points between multiple sensed touch points. For example, the third-order Bessel algorithm is used to operate four known points to generate a fitting trajectory, and then interpolation points are generated on the fitting trajectory.

然而,貝塞爾演算法存在概率性毛刺現象,且其擬合軌跡有曲度不足及反曲度現象。However, the Bessel algorithm has probabilistic burrs, and its fitting trajectory has insufficient curvature and inflection.

為解決上述的問題,本領域亟需一種新穎的觸控軌跡擬合方法。To solve the above problems, a novel touch trajectory fitting method is urgently needed in this field.

本發明之一目的在於揭露一種觸控軌跡擬合方法,其可藉由三個觸摸點產生內插點以減少計算量。One purpose of the present invention is to disclose a touch trajectory fitting method, which can generate interpolation points by three touch points to reduce the amount of calculation.

本發明之另一目的在於揭露一種觸控軌跡擬合方法,其可藉由一指數模型決定內插點在當前觸摸點和前一觸摸點之連接線段之中垂線上的位置以優化擬合軌跡的曲度。Another object of the present invention is to disclose a touch trajectory fitting method, which can determine the position of the interpolation point on the perpendicular line between the connecting line segment of the current touch point and the previous touch point by an exponential model to optimize the curvature of the fitting trajectory.

本發明之另一目的在於揭露一種觸控模組,其可藉由前述的觸控軌跡擬合方法減少計算量並優化擬合軌跡的曲度。Another object of the present invention is to disclose a touch module that can reduce the amount of calculation and optimize the curvature of the fitting trajectory by using the aforementioned touch trajectory fitting method.

本發明之又一目的在於揭露一種資訊處理裝置,其可藉由前述的觸控模組減少擬合軌跡的計算量並優化擬合軌跡的曲度。Another object of the present invention is to disclose an information processing device that can reduce the amount of calculation of the fitting trajectory and optimize the curvature of the fitting trajectory by using the aforementioned touch module.

為達到前述目的,一種觸控軌跡擬合方法乃被提出,其係由一控制電路實現,該方法包括: 自一感測陣列週期性地讀出一觸摸點座標; 依一前一觸摸點座標及一前前一觸摸點座標形成一第一直線,及在連接一當前觸摸點座標與該前一觸摸點座標之一線段之一中點上形成與該線段垂直之一第二直線,該第二直線表為該中點之座標加上一第一參數與一單位方向向量之乘積;以及 由該第一直線與該第二直線之交點計算出該第一參數,並將該第一參數代入一落點修正函數以獲得一第二參數,及在該第二直線中將該第二參數取代該第一參數以獲得一內插點座標。 To achieve the above-mentioned purpose, a touch trajectory fitting method is proposed, which is implemented by a control circuit, and the method includes: Periodically reading a touch point coordinate from a sensing array; Forming a first straight line according to a previous touch point coordinate and a previous previous touch point coordinate, and forming a second straight line perpendicular to a line segment at a midpoint of a line segment connecting a current touch point coordinate and the previous touch point coordinate, the second straight line is the coordinate of the midpoint plus the product of a first parameter and a unit direction vector; and The first parameter is calculated from the intersection of the first straight line and the second straight line, and the first parameter is substituted into a drop point correction function to obtain a second parameter, and the second parameter is substituted for the first parameter in the second straight line to obtain an interpolation point coordinate.

在一實施例中,該落點修正函數包含一指數函數,且其函數值介於0和1之間。In one embodiment, the landing point correction function includes an exponential function, and its function value is between 0 and 1.

在一實施例中,所述之觸控軌跡擬合方法進一步包括:該控制電路藉由一通信介面依序將該當前觸摸點座標與該內插點座標傳送至一應用處理器。In one embodiment, the touch trajectory fitting method further includes: the control circuit sequentially transmits the current touch point coordinates and the interpolation point coordinates to an application processor via a communication interface.

為達到前述目的,本發明進一步提出一種觸控模組,其具有一控制電路及一感測陣列,其特徵在於該控制電路執行一觸控軌跡擬合程序,該程序包括: 自該感測陣列週期性地讀出一觸摸點座標; 依一前一觸摸點座標及一前前一觸摸點座標形成一第一直線,及在連接一當前觸摸點座標與該前一觸摸點座標之一線段之一中點上形成與該線段垂直之一第二直線,該第二直線表為該中點之座標加上一第一參數與一單位方向向量之乘積;以及 由該第一直線與該第二直線之交點計算出該第一參數,並將該第一參數代入一落點修正函數以獲得一第二參數,及在該第二直線中將該第二參數取代該第一參數以獲得一內插點座標。 To achieve the above-mentioned purpose, the present invention further proposes a touch module having a control circuit and a sensing array, wherein the control circuit executes a touch trajectory fitting procedure, the procedure comprising: Periodically reading a touch point coordinate from the sensing array; Forming a first straight line according to a previous touch point coordinate and a previous previous touch point coordinate, and forming a second straight line perpendicular to a line segment at a midpoint of a line segment connecting a current touch point coordinate and the previous touch point coordinate, the second straight line being the coordinate of the midpoint plus the product of a first parameter and a unit direction vector; and The first parameter is calculated from the intersection of the first straight line and the second straight line, and the first parameter is substituted into a drop point correction function to obtain a second parameter, and the second parameter is substituted for the first parameter in the second straight line to obtain an interpolation point coordinate.

在一實施例中,該落點修正函數包含一指數函數,且其函數值介於0和1之間。In one embodiment, the landing point correction function includes an exponential function, and its function value is between 0 and 1.

在一實施例中,該觸控軌跡擬合程序進一步包括:該控制電路藉由一通信介面依序將該當前觸摸點座標與該內插點座標傳送至一應用處理器。In one embodiment, the touch trajectory fitting procedure further includes: the control circuit sequentially transmits the current touch point coordinates and the interpolation point coordinates to an application processor via a communication interface.

在可能的實施例中,該感測陣列可為一電容式感測陣列、一超音波式感測陣列、一壓力式感測陣列或一光學式感測陣列。In possible embodiments, the sensing array may be a capacitive sensing array, an ultrasonic sensing array, a pressure sensing array or an optical sensing array.

為達到前述目的,本發明進一步提出一種資訊處理裝置,其具有一觸控模組及一應用處理器,其中,該觸控模組具有一控制電路及一感測陣列,其特徵在於該控制電路執行一觸控軌跡擬合程序,該程序包括: 自該感測陣列週期性地讀出一觸摸點座標; 依一前一觸摸點座標及一前前一觸摸點座標形成一第一直線,及在連接一當前觸摸點座標與該前一觸摸點座標之一線段之一中點上形成與該線段垂直之一第二直線,該第二直線表為該中點之座標加上一第一參數與一單位方向向量之乘積;以及 由該第一直線與該第二直線之交點計算出該第一參數,並將該第一參數代入一落點修正函數以獲得一第二參數,及在該第二直線中將該第二參數取代該第一參數以獲得一內插點座標。 To achieve the above-mentioned purpose, the present invention further proposes an information processing device, which has a touch module and an application processor, wherein the touch module has a control circuit and a sensing array, and is characterized in that the control circuit executes a touch trajectory fitting program, which includes: Periodically reading a touch point coordinate from the sensing array; Forming a first straight line according to a previous touch point coordinate and a previous previous touch point coordinate, and forming a second straight line perpendicular to a line segment at a midpoint of a line segment connecting a current touch point coordinate and the previous touch point coordinate, wherein the second straight line is the coordinate of the midpoint plus the product of a first parameter and a unit direction vector; and The first parameter is calculated from the intersection of the first straight line and the second straight line, and the first parameter is substituted into a drop point correction function to obtain a second parameter, and the second parameter is substituted for the first parameter in the second straight line to obtain an interpolation point coordinate.

在一實施例中,該落點修正函數包含一指數函數,且其函數值介於0和1之間。In one embodiment, the landing point correction function includes an exponential function, and its function value is between 0 and 1.

在一實施例中,該觸控軌跡擬合程序進一步包括:該控制電路藉由一通信介面依序將該當前觸摸點座標與該內插點座標傳送至該應用處理器。In one embodiment, the touch trajectory fitting procedure further includes: the control circuit sequentially transmits the current touch point coordinates and the interpolation point coordinates to the application processor via a communication interface.

在可能的實施例中,該感測陣列可為一電容式感測陣列、一超音波式感測陣列、一壓力式感測陣列或一光學式感測陣列。In possible embodiments, the sensing array may be a capacitive sensing array, an ultrasonic sensing array, a pressure sensing array or an optical sensing array.

在可能的實施例中,所述之資訊處理裝置可為一智慧型手機、一攜帶型電腦或一車用電腦。In possible embodiments, the information processing device may be a smart phone, a portable computer or a car computer.

為使  貴審查委員能進一步瞭解本發明之結構、特徵、目的、與其優點,茲附以圖式及較佳具體實施例之詳細說明如後。In order to enable the Review Committee to further understand the structure, features, purpose, and advantages of the present invention, the following are attached with drawings and detailed descriptions of preferred specific embodiments.

本發明的原理在於:利用線性計算結合指數模型以產生內插點。The principle of the present invention is to use linear calculation combined with an exponential model to generate interpolation points.

請參照圖1,其繪示本發明之內插點決定方式。如圖1所示, 為三個觸摸點座標, 為連接 的直線, 為端點為 之線段的中垂線, 相交於 ,其中 可表示如下: Please refer to FIG. 1, which illustrates the interpolation point determination method of the present invention. As shown in FIG. 1, are the coordinates of the three touch points. For connection A straight line The endpoint is The perpendicular bisector of the line segment, and Intersect ,in and It can be expressed as follows:

: ;

,其中, : ,in, .

方程代入 方程求解出點 所對應參數t,再代入指數模型 ,其中 為優化參數,經實驗取 。最終得內插點 will Substitute the equation Equation Solving Point The corresponding parameter t is then substituted into the exponential model ,in To optimize the parameters, the experimental results show that The final interpolation point for .

請參照圖2,其繪示本發明之觸控模組之一實施例之方塊圖。如圖2所示,一觸控模組100具有一控制電路110及一感測陣列120,控制電路110具有一讀出電路111、一記憶體112、一控制單元113及一通信介面114,其中,讀出電路111係用以自感測陣列120讀出觸摸點資料,記憶體112儲存觸摸點資料,控制單元113執行一觸控軌跡擬合程序,及通信介面114係用以與一應用處理器通信。另外,感測陣列120可為一電容式感測陣列、一超音波式感測陣列、一壓力式感測陣列或一光學式感測陣列。Please refer to FIG2, which shows a block diagram of an embodiment of the touch module of the present invention. As shown in FIG2, a touch module 100 has a control circuit 110 and a sensing array 120, and the control circuit 110 has a read circuit 111, a memory 112, a control unit 113 and a communication interface 114, wherein the read circuit 111 is used to read the touch point data from the sensing array 120, the memory 112 stores the touch point data, the control unit 113 executes a touch track fitting program, and the communication interface 114 is used to communicate with an application processor. In addition, the sensing array 120 may be a capacitive sensing array, an ultrasonic sensing array, a pressure sensing array, or an optical sensing array.

該觸控軌跡擬合程序包含以下步驟:The touch trajectory fitting process includes the following steps:

(一)藉由讀出電路111自感測陣列120週期性地讀出觸摸點座標;(i) The touch point coordinates are periodically read out by the readout circuit 111 from the sensing array 120;

(二)控制單元113依一前一觸摸點座標及一前前一觸摸點座標形成一第一直線;及在連接一當前觸摸點座標與該前一觸摸點座標之一線段之一中點上形成與該線段垂直之一第二直線,該第二直線表為該中點之座標加上一第一參數與一單位方向向量之乘積;(ii) the control unit 113 forms a first straight line according to a previous touch point coordinate and a previous touch point coordinate; and forms a second straight line perpendicular to a line segment at a midpoint of a line segment connecting a current touch point coordinate and the previous touch point coordinate, wherein the second straight line is a product of the coordinate of the midpoint plus a first parameter and a unit direction vector;

(三)控制單元113由該第一直線與該第二直線之交點計算出該第一參數,並將該第一參數代入一落點修正函數以獲得一第二參數,其中該落點修正函數較佳為包含一指數函數,且其函數值介於0至1之間;以及(iii) the control unit 113 calculates the first parameter from the intersection of the first straight line and the second straight line, and substitutes the first parameter into a drop point correction function to obtain a second parameter, wherein the drop point correction function preferably includes an exponential function, and its function value is between 0 and 1; and

(四)控制單元113在該第二直線中將該第二參數取代該第一參數以獲得一內插點座標。(iv) The control unit 113 replaces the first parameter with the second parameter in the second straight line to obtain an interpolation point coordinate.

另外,在獲得該內插點座標後,控制單元113可藉由通信介面114依序將該當前觸摸點座標與該內插點座標傳送至該應用處理器。依此,本發明即可優化一觸控軌跡之擬合效果。In addition, after obtaining the interpolation point coordinates, the control unit 113 can sequentially transmit the current touch point coordinates and the interpolation point coordinates to the application processor via the communication interface 114. In this way, the present invention can optimize the simulation effect of a touch track.

由上述可知,本發明揭露了一種觸控軌跡擬合方法。請參照圖3,其繪示本發明之觸控軌跡擬合方法之一實施例的流程圖,其係由一控制電路實現。如圖3所示,該方法包括:自一感測陣列週期性地讀出一觸摸點座標(步驟a);依一前一觸摸點座標及一前前一觸摸點座標形成一第一直線,及在連接一當前觸摸點座標與該前一觸摸點座標之一線段之一中點上形成與該線段垂直之一第二直線,該第二直線表為該中點之座標加上一第一參數與一單位方向向量之乘積(步驟b);由該第一直線與該第二直線之交點計算出該第一參數,並將該第一參數代入一落點修正函數以獲得一第二參數 (步驟c);以及在該第二直線中將該第二參數取代該第一參數以獲得一內插點座標(步驟d)。As can be seen from the above, the present invention discloses a touch track fitting method. Please refer to FIG3 , which shows a flow chart of an embodiment of the touch track fitting method of the present invention, which is implemented by a control circuit. As shown in FIG. 3 , the method includes: periodically reading a touch point coordinate from a sensing array (step a); forming a first straight line according to a previous touch point coordinate and a previous previous touch point coordinate, and forming a second straight line perpendicular to a line segment at a midpoint of a line segment connecting a current touch point coordinate and the previous touch point coordinate, wherein the second straight line is a product of the coordinate of the midpoint plus a first parameter and a unit direction vector (step b); calculating the first parameter from the intersection of the first straight line and the second straight line, and substituting the first parameter into a landing point correction function to obtain a second parameter (step c); and replacing the first parameter with the second parameter in the second straight line to obtain an interpolated point coordinate (step d).

在上述的步驟中,該感測陣列可為一電容式感測陣列、一超音波式感測陣列、一壓力式感測陣列或一光學式感測陣列;且該落點修正函數較佳為包含一指數函數,且其函數值介於0至1之間。In the above steps, the sensing array can be a capacitive sensing array, an ultrasonic sensing array, a pressure sensing array or an optical sensing array; and the landing point correction function preferably includes an exponential function, and its function value is between 0 and 1.

另外,在獲得該內插點座標後,該控制單元可藉由一通信介面依序將該當前觸摸點座標與該內插點座標傳送至一應用處理器。In addition, after obtaining the interpolation point coordinates, the control unit can sequentially transmit the current touch point coordinates and the interpolation point coordinates to an application processor via a communication interface.

請參照圖4a~4c,其繪示本發明之觸控軌跡擬合方法與現有三階貝塞爾演算法之擬合軌跡的比較圖。由圖4a~4c可知,本發明之擬合軌跡2相較於現有三階貝塞爾演算法之擬合軌跡1更圓滑且無毛刺、無反曲度。Please refer to Figures 4a-4c, which show the comparison diagrams of the touch trajectory fitting method of the present invention and the fitting trajectory of the existing third-order Bessel algorithm. As can be seen from Figures 4a-4c, the fitting trajectory 2 of the present invention is smoother and has no burrs or inflection compared to the fitting trajectory 1 of the existing third-order Bessel algorithm.

依上述的說明,本發明進一步提出一種資訊處理裝置。請參照圖5,其繪示本發明之資訊處理裝置之一實施例的方塊圖。如圖5所示,一資訊處理裝置200具有一觸控模組210及一應用處理器220,其中,觸控模組210係由觸控模組100實現,且應用處理器220係用以週期性地接收觸控模組210輸出的所述當前觸摸點座標與內插點座標。According to the above description, the present invention further proposes an information processing device. Please refer to FIG. 5, which shows a block diagram of an embodiment of the information processing device of the present invention. As shown in FIG. 5, an information processing device 200 has a touch module 210 and an application processor 220, wherein the touch module 210 is implemented by the touch module 100, and the application processor 220 is used to periodically receive the current touch point coordinates and interpolation point coordinates output by the touch module 210.

另外,資訊處理裝置200可為一智慧型手機、一攜帶型電腦或一車用電腦。In addition, the information processing device 200 may be a smart phone, a portable computer or a car computer.

藉由前述所揭露的設計,本發明乃具有以下的優點:Through the above disclosed design, the present invention has the following advantages:

一、本發明之觸控軌跡擬合方法可藉由三個觸摸點產生內插點以減少計算量。1. The touch trajectory fitting method of the present invention can generate interpolation points by using three touch points to reduce the amount of calculation.

二、本發明之觸控軌跡擬合方法可藉由一指數模型決定內插點在當前觸摸點和前一觸摸點之連接線段之中垂線上的位置以優化擬合軌跡的曲度。2. The touch trajectory fitting method of the present invention can determine the position of the interpolation point on the perpendicular line between the connecting line segment of the current touch point and the previous touch point by an exponential model to optimize the curvature of the fitting trajectory.

三、本發明之觸控模組可藉由前述的觸控軌跡擬合方法減少計算量並優化擬合軌跡的曲度。3. The touch module of the present invention can reduce the amount of calculation and optimize the curvature of the fitting trajectory through the aforementioned touch trajectory fitting method.

四、本發明之資訊處理裝置可藉由前述的觸控模組減少擬合軌跡的計算量並優化擬合軌跡的曲度。4. The information processing device of the present invention can reduce the amount of calculation of the fitting trajectory and optimize the curvature of the fitting trajectory through the aforementioned touch module.

本案所揭示者,乃較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。The invention disclosed in this case is a preferred embodiment. Any partial changes or modifications that are derived from the technical concept of this case and are easily inferred by people familiar with the art do not deviate from the scope of the patent rights of this case.

綜上所陳,本案無論目的、手段與功效,皆顯示其迥異於習知技術,且其首先發明合於實用,確實符合發明之專利要件,懇請 貴審查委員明察,並早日賜予專利俾嘉惠社會,是為至禱。In summary, this case shows that its purpose, means and effects are all different from the known technology, and it is the first invention that is practical and indeed meets the patent requirements for invention. We sincerely request the review committee to examine this carefully and grant a patent as soon as possible to benefit the society. This is our utmost prayer.

1:擬合軌跡 2:擬合軌跡 100:觸控模組 110:控制電路 111:讀出電路 112:記憶體 113:控制單元 114:通信介面 120:感測陣列 200:資訊處理裝置 210:觸控模組 220:應用處理器 步驟a:自一感測陣列週期性地讀出一觸摸點座標 步驟b:依一前一觸摸點座標及一前前一觸摸點座標形成一第一直線,及在連接一當前觸摸點座標與該前一觸摸點座標之一線段之一中點上形成與該線段垂直之一第二直線,該第二直線表為該中點之座標加上一第一參數與一單位方向向量之乘積 步驟c:由該第一直線與該第二直線之交點計算出該第一參數,並將該第一參數代入一落點修正函數以獲得一第二參數 步驟d:在該第二直線中將該第二參數取代該第一參數以獲得一內插點座標 1: Fit track 2: Fit track 100: Touch module 110: Control circuit 111: Read circuit 112: Memory 113: Control unit 114: Communication interface 120: Sensing array 200: Information processing device 210: Touch module 220: Application processor Step a: Periodically read a touch point coordinate from a sensing array Step b: Form a first straight line based on the coordinates of a previous touch point and the coordinates of the previous touch point, and form a second straight line perpendicular to the line segment at a midpoint of a line segment connecting the coordinates of a current touch point and the coordinates of the previous touch point, the second straight line being the coordinates of the midpoint plus the product of a first parameter and a unit direction vector Step c: Calculate the first parameter from the intersection of the first straight line and the second straight line, and substitute the first parameter into a drop point correction function to obtain a second parameter Step d: Replace the first parameter with the second parameter in the second straight line to obtain an interpolated point coordinate

圖1繪示本發明之內插點決定方式。 圖2繪示本發明之觸控模組之一實施例之方塊圖。 圖3繪示本發明之觸控軌跡擬合方法之一實施例的流程圖。 圖4a~4c繪示本發明之觸控軌跡擬合方法與現有三階貝塞爾演算法之擬合軌跡的比較圖。 圖5繪示本發明之資訊處理裝置之一實施例的方塊圖。 FIG. 1 illustrates a method for determining an interpolation point of the present invention. FIG. 2 illustrates a block diagram of an embodiment of a touch module of the present invention. FIG. 3 illustrates a flow chart of an embodiment of a touch trajectory fitting method of the present invention. FIG. 4a to 4c illustrate a comparison diagram of the touch trajectory fitting method of the present invention and the fitting trajectory of the existing third-order Bessel algorithm. FIG. 5 illustrates a block diagram of an embodiment of an information processing device of the present invention.

步驟a:自一感測陣列週期性地讀出一觸摸點座標 Step a: Periodically read the coordinates of a touch point from a sensing array

步驟b:依一前一觸摸點座標及一前前一觸摸點座標形成一第一直線,及在連接一當前觸摸點座標與該前一觸摸點座標之一線段之一中點上形成與該線段垂直之一第二直線,該第二直線表為該中點之座標加上一第一參數與一單位方向向量之乘積 Step b: Form a first straight line based on the coordinates of a previous touch point and the coordinates of the previous touch point, and form a second straight line perpendicular to a line segment at a midpoint of a line segment connecting the coordinates of a current touch point and the coordinates of the previous touch point. The second straight line is the coordinate of the midpoint plus the product of a first parameter and a unit direction vector.

步驟c:由該第一直線與該第二直線之交點計算出該第一參數,並將該第一參數代入一落點修正函數以獲得一第二參數 Step c: Calculate the first parameter from the intersection of the first straight line and the second straight line, and substitute the first parameter into a landing point correction function to obtain a second parameter

步驟d:在該第二直線中將該第二參數取代該第一參數以獲得一內插點座標 Step d: Replace the first parameter with the second parameter in the second straight line to obtain an interpolation point coordinate

Claims (9)

一種觸控軌跡擬合方法,其係由一控制電路實現,該方法包括:自一感測陣列週期性地讀出一觸摸點座標;依一前一觸摸點座標及一前前一觸摸點座標形成一第一直線,及在連接一當前觸摸點座標與該前一觸摸點座標之一線段之一中點上形成與該線段垂直之一第二直線,該第二直線表為該中點之座標加上一第一參數與一單位方向向量之乘積,其中該單位方向向量係與該第二直線平行之向量且其長度為l;以及由該第一直線與該第二直線之交點計算出該第一參數,並將該第一參數代入一落點修正函數以獲得一第二參數,及在該第二直線中將該第二參數取代該第一參數以獲得一內插點座標;其中,該落點修正函數包含一指數函數,且其函數值介於0和1之間。 A touch track fitting method is implemented by a control circuit, the method comprising: periodically reading a touch point coordinate from a sensing array; forming a first straight line according to a previous touch point coordinate and a previous previous touch point coordinate, and forming a second straight line perpendicular to a line segment at a midpoint of a line segment connecting a current touch point coordinate and the previous touch point coordinate, the second straight line being the coordinate of the midpoint plus a first parameter and a unit direction. The unit direction vector is a vector parallel to the second straight line and has a length of l; the first parameter is calculated from the intersection of the first straight line and the second straight line, and the first parameter is substituted into a drop point correction function to obtain a second parameter, and the second parameter replaces the first parameter in the second straight line to obtain an interpolated point coordinate; wherein the drop point correction function includes an exponential function, and its function value is between 0 and 1. 如請求項1所述之觸控軌跡擬合方法,其進一步包括:該控制電路藉由一通信介面依序將該當前觸摸點座標與該內插點座標傳送至一應用處理器。 The touch track fitting method as described in claim 1 further includes: the control circuit sequentially transmits the current touch point coordinates and the interpolation point coordinates to an application processor via a communication interface. 一種觸控模組,具有一控制電路及一感測陣列,其特徵在於該控制電路執行一觸控軌跡擬合程序,該程序包括:自該感測陣列週期性地讀出一觸摸點座標;依一前一觸摸點座標及一前前一觸摸點座標形成一第一直線,及在連接一當前觸摸點座標與該前一觸摸點座標之一線段之一中點上形成與該線段垂直之一第二直線,該第二直線表為該中點之座標加上一第一參數與一單位方向向量 之乘積,其中該單位方向向量係與該第二直線平行之向量且其長度為l;以及由該第一直線與該第二直線之交點計算出該第一參數,並將該第一參數代入一落點修正函數以獲得一第二參數,及在該第二直線中將該第二參數取代該第一參數以獲得一內插點座標;其中,該落點修正函數包含一指數函數,且其函數值介於0和1之間。 A touch module has a control circuit and a sensing array, wherein the control circuit executes a touch track fitting procedure, the procedure comprising: periodically reading a touch point coordinate from the sensing array; forming a first straight line according to a previous touch point coordinate and a previous previous touch point coordinate, and forming a second straight line perpendicular to the line segment at a midpoint of a line segment connecting a current touch point coordinate and the previous touch point coordinate, the second straight line being the coordinate of the midpoint plus a first straight line; The product of a parameter and a unit direction vector, wherein the unit direction vector is a vector parallel to the second straight line and has a length of l; and the first parameter is calculated from the intersection of the first straight line and the second straight line, and the first parameter is substituted into a drop point correction function to obtain a second parameter, and the second parameter is substituted for the first parameter in the second straight line to obtain an interpolated point coordinate; wherein the drop point correction function includes an exponential function, and its function value is between 0 and 1. 如請求項3所述之觸控模組,其中該觸控軌跡擬合程序進一步包括:該控制電路藉由一通信介面依序將該當前觸摸點座標與該內插點座標傳送至一應用處理器。 The touch module as described in claim 3, wherein the touch trajectory fitting procedure further includes: the control circuit sequentially transmits the current touch point coordinates and the interpolation point coordinates to an application processor via a communication interface. 如請求項3所述之觸控模組,其中該感測陣列係由一電容式感測陣列、一超音波式感測陣列、一壓力式感測陣列和一光學式感測陣列所組成群組所選擇的一種感測陣列。 A touch control module as described in claim 3, wherein the sensing array is a sensing array selected from a group consisting of a capacitive sensing array, an ultrasonic sensing array, a pressure sensing array, and an optical sensing array. 一種資訊處理裝置,其具有一觸控模組及一應用處理器,其中,該觸控模組具有一控制電路及一感測陣列,其特徵在於該控制電路執行一觸控軌跡擬合程序,該程序包括:自該感測陣列週期性地讀出一觸摸點座標;依一前一觸摸點座標及一前前一觸摸點座標形成一第一直線,及在連接一當前觸摸點座標與該前一觸摸點座標之一線段之一中點上形成與該線段垂直之一第二直線,該第二直線表為該中點之座標加上一第一參數與一單位方向向量之乘積,其中該單位方向向量係與該第二直線平行之向量且其長度為l;以及由該第一直線與該第二直線之交點計算出該第一參數,並將該第一參數代入一落點修正函數以獲得一第二參數,及在該第二直線中將該第二參數取代該 第一參數以獲得一內插點座標;其中,該落點修正函數包含一指數函數,且其函數值介於0和1之間。 An information processing device has a touch module and an application processor, wherein the touch module has a control circuit and a sensing array, and is characterized in that the control circuit executes a touch trajectory fitting program, the program comprising: periodically reading a touch point coordinate from the sensing array; forming a first straight line according to a previous touch point coordinate and a previous previous touch point coordinate, and forming a second straight line perpendicular to the line segment at a midpoint of a line segment connecting a current touch point coordinate and the previous touch point coordinate, the second straight line The line table is the coordinates of the midpoint plus the product of a first parameter and a unit direction vector, wherein the unit direction vector is a vector parallel to the second straight line and has a length of l; and the first parameter is calculated from the intersection of the first straight line and the second straight line, and the first parameter is substituted into a drop point correction function to obtain a second parameter, and the second parameter replaces the first parameter in the second straight line to obtain an interpolated point coordinate; wherein the drop point correction function includes an exponential function, and its function value is between 0 and 1. 如請求項6所述之資訊處理裝置,其中該觸控軌跡擬合程序進一步包括:該控制電路藉由一通信介面依序將該當前觸摸點座標與該內插點座標傳送至該應用處理器。 The information processing device as described in claim 6, wherein the touch trajectory fitting procedure further includes: the control circuit sequentially transmits the current touch point coordinates and the interpolation point coordinates to the application processor via a communication interface. 如請求項6所述之資訊處理裝置,其中該感測陣列係由一電容式感測陣列、一超音波式感測陣列、一壓力式感測陣列和一光學式感測陣列所組成群組所選擇的一種感測陣列。 An information processing device as described in claim 6, wherein the sensing array is a sensing array selected from a group consisting of a capacitive sensing array, an ultrasonic sensing array, a pressure sensing array, and an optical sensing array. 如請求6所述之資訊處理裝置,其係由一智慧型手機、一攜帶型電腦和一車用電腦所組成群組所選擇的一種裝置。 The information processing device as described in claim 6 is a device selected from a group consisting of a smart phone, a portable computer and a car computer.
TW111148986A 2022-12-20 2022-12-20 Touch track matching method, touch module and information processing device TWI861636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111148986A TWI861636B (en) 2022-12-20 2022-12-20 Touch track matching method, touch module and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111148986A TWI861636B (en) 2022-12-20 2022-12-20 Touch track matching method, touch module and information processing device

Publications (2)

Publication Number Publication Date
TW202427140A TW202427140A (en) 2024-07-01
TWI861636B true TWI861636B (en) 2024-11-11

Family

ID=92928865

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111148986A TWI861636B (en) 2022-12-20 2022-12-20 Touch track matching method, touch module and information processing device

Country Status (1)

Country Link
TW (1) TWI861636B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110298807A1 (en) * 2010-06-07 2011-12-08 Samsung Electronics Co., Ltd. Touch screen and display method
TW201421367A (en) * 2012-11-19 2014-06-01 Chunghwa Picture Tubes Ltd System for optimizing touch tracks and method for optimizing touch tracks
CN114489372A (en) * 2021-12-17 2022-05-13 北京集创北方科技股份有限公司 Touch track point reporting method and computer storage medium
CN114494046A (en) * 2022-01-10 2022-05-13 百果园技术(新加坡)有限公司 Touch trajectory processing method, device, terminal, storage medium and program product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110298807A1 (en) * 2010-06-07 2011-12-08 Samsung Electronics Co., Ltd. Touch screen and display method
TW201421367A (en) * 2012-11-19 2014-06-01 Chunghwa Picture Tubes Ltd System for optimizing touch tracks and method for optimizing touch tracks
CN114489372A (en) * 2021-12-17 2022-05-13 北京集创北方科技股份有限公司 Touch track point reporting method and computer storage medium
CN114494046A (en) * 2022-01-10 2022-05-13 百果园技术(新加坡)有限公司 Touch trajectory processing method, device, terminal, storage medium and program product

Also Published As

Publication number Publication date
TW202427140A (en) 2024-07-01

Similar Documents

Publication Publication Date Title
CN109976262B (en) A global curvature continuous smoothing method for micro-segment processing
TW201305869A (en) A tracking method and a tracking apparatus for a touch sensing screen
CN113051854B (en) Adaptive learning power modeling method and system based on hardware structure perception
TWI861636B (en) Touch track matching method, touch module and information processing device
TW201031143A (en) Node apparatus and adjusting method of a quantity of nodes for a sensor network and computer program product thereof
CN110686610B (en) Optical deformation measuring method based on self-adaptive grid and electronic equipment
CN116310151B (en) Vector model conversion method, system, device and medium based on digital twin
KR100924613B1 (en) Curved surface generation method, program, and 3-dimensional shape processing device
CN112464583A (en) Grid generation method considering shock waves and boundary layers
TWI843345B (en) Lagrangian touch trajectory simulation method, touch module and information processing device
CN118643742A (en) Method, device, equipment and medium for constructing three-dimensional temperature field of high arch dam during operation
CN111259495A (en) Novel numerical value topological method for comprehensive characteristic curve of water turbine model
CN115002904B (en) Non-line-of-sight base station identification method based on UWB sensor
CN117387499A (en) A method and system for measuring the thickness of a workpiece surface coating
JP4097164B2 (en) 3D shape description method
CN115511724A (en) Three-dimensional scanning method and device, computer equipment and storage medium
CN114646357A (en) Method, device and system for detecting material flow in belt conveyor
CN114416499A (en) Automatic analysis method for abnormal value of monitoring index
TWI840117B (en) Multi-touch chip joint detection method, touch module and information processing device
CN119227587B (en) A method, system and device for real-time display of flow field diagram
CN118550928B (en) Urban operation data perception method and system based on digital twin
TWI860708B (en) Evaluation method of touch track smoothness and chip inspection system
CN116227351B (en) Novel high-order air inlet pipe design method and device based on main and auxiliary double transportation pipelines
JP5595070B2 (en) CAD data transmission method, CAD data reception method, CAD data transmission device, CAD data reception device, CAD data transmission program, CAD data reception program, and data structure
TWI817840B (en) Touch trajectory optimization method, touch device and information processing device