TWI843345B - Lagrangian touch trajectory simulation method, touch module and information processing device - Google Patents

Lagrangian touch trajectory simulation method, touch module and information processing device Download PDF

Info

Publication number
TWI843345B
TWI843345B TW111148985A TW111148985A TWI843345B TW I843345 B TWI843345 B TW I843345B TW 111148985 A TW111148985 A TW 111148985A TW 111148985 A TW111148985 A TW 111148985A TW I843345 B TWI843345 B TW I843345B
Authority
TW
Taiwan
Prior art keywords
coordinate
touch point
touch
lagrangian
point coordinates
Prior art date
Application number
TW111148985A
Other languages
Chinese (zh)
Other versions
TW202427139A (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 TW111148985A priority Critical patent/TWI843345B/en
Application granted granted Critical
Publication of TWI843345B publication Critical patent/TWI843345B/en
Publication of TW202427139A publication Critical patent/TW202427139A/en

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

一種拉格朗日觸控軌跡擬合方法,包括:自一感測陣列週期性地讀出一觸摸點座標;取一當前觸摸點座標 和一前一觸摸點座標 之中間點,該中間點具有一第一水平座標(x c)及一第一垂直座標(y c),將該第一水平座標(x c)代入一第一拉格朗日多項式以獲得一第二垂直座標( ),及將該第一垂直座標(y c)代入一第二拉格朗日多項式以獲得一第二水平座標( );以及依該當前觸摸點座標 、該前一觸摸點座標 及一前前一觸摸點座標 之水平和垂直相對位置關係決定一插入點的座標為( )或( )。 A Lagrangian touch trajectory fitting method includes: periodically reading a touch point coordinate from a sensing array; taking a current touch point coordinate and the coordinates of the previous touch point The midpoint has a first horizontal coordinate ( xc ) and a first vertical coordinate ( yc ). Substituting the first horizontal coordinate ( xc ) into a first Lagrange polynomial to obtain a second vertical coordinate ( ), and substituting the first vertical coordinate (y c ) into a second Lagrange polynomial to obtain a second horizontal coordinate ( ); and according to the current touch point coordinates , the coordinates of the previous touch point and the coordinates of the previous touch point The horizontal and vertical relative position relationship determines the coordinates of an insertion point as ( )or( ).

Description

拉格朗日觸控軌跡擬合方法、觸控模組及資訊處理裝置Lagrangian touch trajectory simulation 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個已知點進行運算以產生一擬合軌跡,然後再在該擬合軌跡上產生插入點。Existing touch technology adds insertion points between multiple sensed touch points to increase touch reporting points. For example, a third-order Bessel algorithm is used to calculate four known points to generate a simulated orbit, and then an insertion point is generated on the simulated orbit.

然而,貝塞爾演算法存在概率性毛刺現象,且其擬合軌跡有曲度不足及反曲度現象。另外,貝塞爾演算法只能在已知的觸摸點區間內插值,不能預測未來觸摸點的座標。However, the Bessel algorithm has probabilistic burrs, and its fitting trajectory has insufficient curvature and inverse curvature. In addition, the Bessel algorithm can only interpolate within the known touch point interval and cannot predict the coordinates of future touch points.

為解決上述的問題,本領域亟需一種新穎的觸控軌跡擬合方法。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 Lagrangian touch trajectory fitting method, which can generate insertion points by three touch points to reduce the amount of calculation.

本發明之另一目的在於揭露一種拉格朗日觸控軌跡擬合方法,其可藉由一拉格朗日多項式決定插入點之座標及預測下一個觸摸點和下一個插入點之座標。Another object of the present invention is to disclose a Lagrangian touch trajectory fitting method, which can determine the coordinates of the insertion point and predict the coordinates of the next touch point and the next insertion point by a Lagrangian polynomial.

本發明之另一目的在於揭露一種拉格朗日觸控軌跡擬合方法,其可在多指觸控操作之應用中依一拉格朗日多項式及多個手指軌跡之各三個最新觸摸點之座標產生多個下一觸摸點之座標,並在該些手指軌跡中分別找出與各該下一觸摸點最鄰近者以判定各該下一觸摸點的對應手指軌跡。Another object of the present invention is to disclose a Lagrangian touch trajectory fitting method, which can generate coordinates of multiple next touch points according to a Lagrangian polynomial and the coordinates of the three latest touch points of multiple finger trajectories in the application of multi-finger touch operation, and find the closest ones to each next touch point in the finger trajectories to determine the corresponding finger trajectory of each next touch point.

本發明之另一目的在於揭露一種觸控模組,其可藉由前述的觸控軌跡擬合方法減少計算量、優化擬合軌跡的曲度及預測下一觸摸點的位置。Another object of the present invention is to disclose a touch module that can reduce the amount of calculation, optimize the curvature of the fitting trajectory, and predict the position of the next touch point through 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, optimize the curvature of the fitting trajectory, and predict the position of the next touch point through the aforementioned touch module.

為達到前述目的,一種拉格朗日觸控軌跡擬合方法乃被提出,其係由一控制電路實現,該方法包括: 自一感測陣列週期性地讀出一觸摸點座標; 取一當前觸摸點座標 和一前一觸摸點座標 之中間點,該中間點具有一第一水平座標(x c)及一第一垂直座標(y c),將該第一水平座標(x c)代入一第一拉格朗日多項式以獲得一第二垂直座標( ),及將該第一垂直座標(y c)代入一第二拉格朗日多項式以獲得一第二水平座標( );以及 依該當前觸摸點座標 、該前一觸摸點座標 及一前前一觸摸點座標 之水平和垂直相對位置關係決定一插入點的座標為( )或( ),其中,當 則插入點座標取 ;當 則插入點座標取( );及當 則插入點座標取 和( )中與( )較近者。 To achieve the above-mentioned purpose, a Lagrangian touch trajectory fitting method is proposed, which is implemented by a control circuit. The method includes: periodically reading a touch point coordinate from a sensing array; taking a current touch point coordinate and the coordinates of the previous touch point The midpoint has a first horizontal coordinate ( xc ) and a first vertical coordinate ( yc ). Substituting the first horizontal coordinate ( xc ) into a first Lagrange polynomial to obtain a second vertical coordinate ( ), and substituting the first vertical coordinate (y c ) into a second Lagrange polynomial to obtain a second horizontal coordinate ( ); and according to the current touch point coordinates , the coordinates of the previous touch point and the coordinates of the previous touch point The horizontal and vertical relative position relationship determines the coordinates of an insertion point as ( )or( ), where The insertion point coordinates are ;when The insertion point coordinates are ( ); and The insertion point coordinates are and( ) and ( ) is closer.

在一實施例中,該第一拉格朗日多項式係依該當前觸摸點座標 、該前一觸摸點座標 及該前前一觸摸點座標 產生之以水平座標(x)為變數之一多項式,且該第二拉格朗日多項式係依該當前觸摸點座標 、該前一觸摸點座標 及該前前一觸摸點座標 產生之以垂直座標(y)為變數之一多項式。 In one embodiment, the first Lagrangian polynomial is based on the current touch point coordinates , the coordinates of the previous touch point and the coordinates of the previous touch point A polynomial with the horizontal coordinate (x) as a variable is generated, and the second Lagrangian polynomial is based on the coordinates of the current touch point , the coordinates of the previous touch point and the coordinates of the previous touch point Generates a polynomial with the vertical coordinate (y) as a variable.

在一實施例中,所述之拉格朗日觸控軌跡擬合方法進一步包括: 預設一閥值 及一差值 令下一觸摸點的x座標為 ;及 令下一觸摸點的y座標為 ,其中 為該第一拉格朗日多項式。 In one embodiment, the Lagrangian touch control trajectory fitting method further includes: presetting a valve value and a difference Let the x coordinate of the next touch point be ; and let the y coordinate of the next touch point be ,in is the first Lagrangian polynomial.

在一實施例中,所述之拉格朗日觸控軌跡擬合方法進一步包括: 在多個手指軌跡中找出與該下一觸摸點 最鄰近之一手指軌跡以判定該下一觸摸點 的歸屬手指軌跡。 In one embodiment, the Lagrangian touch trajectory fitting method further comprises: finding a finger trajectory corresponding to the next touch point in a plurality of finger trajectories The nearest finger trajectory to determine the next touch point of the attributed finger track.

在一實施例中,所述之拉格朗日觸控軌跡擬合方法進一步包括:令下一插入點的x座標為 y座標為 In one embodiment, the Lagrangian touch trajectory fitting method further comprises: setting the x coordinate of the next insertion point to The y coordinate is .

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

為達到前述目的,本發明進一步提出一種觸控模組,其具有一控制電路及一感測陣列,其特徵在於該控制電路執行前述之觸控軌跡擬合方法。To achieve the aforementioned object, the present invention further proposes a touch module having a control circuit and a sensor array, wherein the control circuit executes the aforementioned touch track fitting method.

在可能的實施例中,該感測陣列可為一電容式感測陣列、一超音波式感測陣列、一壓力式感測陣列或一光學式感測陣列。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 aforementioned object, the present invention further proposes an information processing device having the aforementioned touch module and an application processor.

在可能的實施例中,所述之資訊處理裝置可為一智慧型手機、一攜帶型電腦或一車用電腦。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.

本發明的原理在於:利用二階拉格朗日(Lagrange)多項式在三個觸摸點座標之間產生一插入點的座標及預測下一個觸摸點的座標,其內容如下:The principle of the present invention is to use a second-order Lagrange polynomial to generate the coordinates of an insertion point between the coordinates of three touch points and predict the coordinates of the next touch point, the contents of which are as follows:

(一)插入點的產生:(I) Generation of insertion points:

已知三個觸摸點座標 先計算兩個可能的插入點 ,其中 , f(x)為第一拉格朗日多項式,g(y)為第二拉格朗日多項式, , The coordinates of three touch points are known First calculate two possible insertion points ,in , f(x) is the first Lagrangian polynomial, g(y) is the second Lagrangian polynomial, , .

接著,若滿足 不滿足 則插入點座標取 Then, if satisfied Dissatisfied The insertion point coordinates are ;

若滿足 且不滿足 ,則插入點座標取 以及 If satisfied And not satisfied , then the insertion point coordinates are as well as

滿足,則 較近者。 like Satisfied, then Pick closer.

(二)下一觸摸點之座標預測:(ii) Coordinate prediction of the next touch point:

以插入點座標取 時為例,設閥值 則預測下一觸摸點的x座標為 Take the insertion point coordinates For example, set the valve value , The predicted x coordinate of the next touch point is

;

下一觸摸點的y座標為 The y coordinate of the next touch point is ;

取下一插入點的x座標為 插入點的y座標為 。當插入點座標取 時同理。 Take the x coordinate of the next insertion point as The y coordinate of the insertion point is When the insertion point coordinates are The same applies to time.

另外,在多指觸控操作之應用中,本發明在求出一下一觸摸點 後,可在多個手指軌跡中找出與該下一觸摸點 最鄰近之一手指軌跡以判定該下一觸摸點 的歸屬手指軌跡。 In addition, in the application of multi-finger touch operation, the present invention obtains the next touch point After that, you can find the next touch point in multiple finger trajectories. The nearest finger trajectory to determine the next touch point of the attributed finger track.

請參照圖1,其繪示本發明之觸控模組之一實施例之方塊圖。如圖2所示,一觸控模組100具有一控制電路110及一感測陣列120,控制電路110具有一讀出電路111、一記憶體112、一控制單元113及一通信介面114,其中,讀出電路111係用以自感測陣列120讀出觸摸點資料,記憶體112儲存觸摸點資料,控制單元113執行一拉格朗日觸控軌跡擬合程序,及通信介面114係用以與一應用處理器通信。另外,感測陣列120可為一電容式感測陣列、一超音波式感測陣列、一壓力式感測陣列或一光學式感測陣列。Please refer to FIG1, 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 Lagrangian touch trajectory 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 Lagrangian touch trajectory fitting procedure includes the following steps:

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

(二)控制單元113依一當前觸摸點座標 、一前一觸摸點座標 及一前前一觸摸點座標 產生以水平座標(x)為變數之一第一拉格朗日多項式及以垂直座標(y)為變數之一第二拉格朗日多項式;取該當前觸摸點座標和該前一觸摸點座標之中間點,該中間點具有一第一水平座標(x c)及一第一垂直座標(y c),將該第一水平座標(x c)代入該第一拉格朗日多項式以獲得一第二垂直座標( ),及將該第一垂直座標(y c)代入該第二拉格朗日多項式以獲得一第二水平座標( );以及 (ii) The control unit 113 determines the coordinates of the current touch point , the coordinates of the previous and next touch points and the coordinates of the previous touch point Generate a first Lagrangian polynomial with the horizontal coordinate (x) as a variable and a second Lagrangian polynomial with the vertical coordinate (y) as a variable; take the middle point between the current touch point coordinate and the previous touch point coordinate, the middle point has a first horizontal coordinate ( xc ) and a first vertical coordinate ( yc ), substitute the first horizontal coordinate ( xc ) into the first Lagrangian polynomial to obtain a second vertical coordinate ( ), and substitute the first vertical coordinate (y c ) into the second Lagrange polynomial to obtain a second horizontal coordinate ( );as well as

(三)依該當前觸摸點座標、該前一觸摸點座標及該前前一觸摸點座標之水平和垂直相對位置關係決定一插入點的座標為( )或( ),其中,當 則插入點座標取 ;當 則插入點座標取( );及當 則插入點座標取 和( )中與( )較近者。 (iii) Determine the coordinates of an insertion point according to the horizontal and vertical relative position relationship of the current touch point coordinates, the previous touch point coordinates, and the previous previous touch point coordinates ( )or( ), where The insertion point coordinates are ;when The insertion point coordinates are ( ); and The insertion point coordinates are and( ) and ( ) is closer.

另外,該拉格朗日觸控軌跡擬合程序可進一步包括下一觸摸點及下一插入點之座標預測步驟:In addition, the Lagrangian touch trajectory fitting procedure may further include a step of predicting the coordinates of the next touch point and the next insertion point:

(四)設閥值 令下一觸摸點的x座標為 (IV) Setting the valve value , Let the x coordinate of the next touch point be

;及 ;and

令下一觸摸點的y座標為 ,其中 為該第一拉格朗日多項式;以及 Let the y coordinate of the next touch point be ,in is the first Lagrangian polynomial; and

(五)令下一插入點的x座標為 y座標為 (V) Let the x coordinate of the next insertion point be The y coordinate is

.

另外,在多指觸控操作之應用中,本發明在求出一下一觸摸點 後,可在多個手指軌跡中找出與該下一觸摸點 最鄰近之一手指軌跡以判定該下一觸摸點 的歸屬手指軌跡。依此,本發明即可優化一觸控軌跡之擬合效果。 In addition, in the application of multi-finger touch operation, the present invention obtains the next touch point After that, you can find the next touch point in multiple finger trajectories. The nearest finger trajectory to determine the next touch point According to this, the present invention can optimize the simulation effect of a touch track.

由上述可知,本發明揭露了一種拉格朗日觸控軌跡擬合方法。請參照圖2,其繪示本發明之拉格朗日觸控軌跡擬合方法之一實施例的流程圖,其係由一控制電路實現。如圖2所示,該方法包括:自一感測陣列週期性地讀出一觸摸點座標(步驟a);取一當前觸摸點座標 和一前一觸摸點座標 之中間點,該中間點具有一第一水平座標(x c)及一第一垂直座標(y c),將該第一水平座標(x c)代入一第一拉格朗日多項式以獲得一第二垂直座標( ),及將該第一垂直座標(y c)代入一第二拉格朗日多項式以獲得一第二水平座標( )(步驟b);以及依該當前觸摸點座標 、該前一觸摸點座標 及一前前一觸摸點座標 之水平和垂直相對位置關係決定一插入點的座標為( )或( ),其中,當 則插入點座標取 ;當 則插入點座標取( );及當 則插入點座標取 和( )中與( )較近者(步驟c)。 As can be seen from the above, the present invention discloses a Lagrangian touch trajectory fitting method. Please refer to FIG. 2, which shows a flow chart of an embodiment of the Lagrangian touch trajectory fitting method of the present invention, which is implemented by a control circuit. As shown in FIG. 2, the method includes: periodically reading a touch point coordinate from a sensing array (step a); taking a current touch point coordinate and the coordinates of the previous touch point The midpoint has a first horizontal coordinate ( xc ) and a first vertical coordinate ( yc ). Substituting the first horizontal coordinate ( xc ) into a first Lagrange polynomial to obtain a second vertical coordinate ( ), and substituting the first vertical coordinate (y c ) into a second Lagrange polynomial to obtain a second horizontal coordinate ( )(step b); and according to the current touch point coordinates , the coordinates of the previous touch point and the coordinates of the previous touch point The horizontal and vertical relative position relationship determines the coordinates of an insertion point as ( )or( ), where The insertion point coordinates are ;when The insertion point coordinates are ( ); and The insertion point coordinates are and( ) and ( ) is closer (step c).

在步驟a中,該感測陣列可為一電容式感測陣列、一超音波式感測陣列、一壓力式感測陣列或一光學式感測陣列。In step a, the sensing array may be a capacitive sensing array, an ultrasonic sensing array, a pressure sensing array or an optical sensing array.

在步驟b中,該第一拉格朗日多項式係依該當前觸摸點座標 、該前一觸摸點座標 及該前前一觸摸點座標 產生之以水平座標(x)為變數之一多項式,且該第二拉格朗日多項式係依該當前觸摸點座標 、該前一觸摸點座標 及該前前一觸摸點座標 產生之以垂直座標(y)為變數之一多項式。 In step b, the first Lagrangian polynomial is based on the current touch point coordinates , the coordinates of the previous touch point and the coordinates of the previous touch point A polynomial with the horizontal coordinate (x) as a variable is generated, and the second Lagrangian polynomial is based on the coordinates of the current touch point , the coordinates of the previous touch point and the coordinates of the previous touch point Generates a polynomial with the vertical coordinate (y) as a variable.

另外,該拉格朗日觸控軌跡擬合方法可進一步包括下一觸摸點之座標預測步驟:In addition, the Lagrangian touch trajectory fitting method may further include a coordinate prediction step of the next touch point:

預設一閥值 及一差值 令下一觸摸點的x座標為 Default value and a difference Let the x coordinate of the next touch point be

;及 ;and

令下一觸摸點的y座標為 ,其中 為該第一拉格朗日多項式。 Let the y coordinate of the next touch point be ,in is the first Lagrangian polynomial.

另外,該拉格朗日觸控軌跡擬合方法可進一步包括下一插入點之座標預測步驟:In addition, the Lagrangian touch trajectory fitting method may further include a coordinate prediction step of the next insertion point:

令下一插入點的x座標為 y座標為 Let the x coordinate of the next insertion point be The y coordinate is

.

另外,在多指觸控操作之應用中,該拉格朗日觸控軌跡擬合方法可進一步包括:In addition, in the application of multi-finger touch operation, the Lagrangian touch trajectory fitting method may further include:

在多個手指軌跡中找出與該下一觸摸點 最鄰近之一手指軌跡以判定該下一觸摸點 的歸屬手指軌跡。 Find the next touch point in multiple finger trajectories The nearest finger trajectory to determine the next touch point of the attributed finger track.

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

依上述的說明,本發明進一步提出一種資訊處理裝置。請參照圖3,其繪示本發明之資訊處理裝置之一實施例的方塊圖。如圖3所示,一資訊處理裝置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. 3, which shows a block diagram of an embodiment of the information processing device of the present invention. As shown in FIG. 3, 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 insertion 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 Lagrangian touch trajectory fitting method of the present invention can generate insertion points by three touch points to reduce the amount of calculation.

二、本發明之拉格朗日觸控軌跡擬合方法可藉由一拉格朗日多項式決定插入點之座標及預測下一個觸摸點和下一個插入點之座標。2. The Lagrangian touch trajectory fitting method of the present invention can determine the coordinates of the insertion point and predict the coordinates of the next touch point and the next insertion point by a Lagrangian polynomial.

三、本發明之拉格朗日觸控軌跡擬合方法可在多指觸控操作之應用中依一拉格朗日多項式及多個手指軌跡之各三個最新觸摸點之座標產生多個下一觸摸點之座標,並在該些手指軌跡中分別找出與各該下一觸摸點最鄰近者以判定各該下一觸摸點的對應手指軌跡。3. The Lagrangian touch trajectory fitting method of the present invention can generate coordinates of multiple next touch points according to a Lagrangian polynomial and the coordinates of the three latest touch points of multiple finger trajectories in the application of multi-finger touch operation, and find the closest ones to each next touch point in the finger trajectories to determine the corresponding finger trajectory of each next touch point.

四、本發明之觸控模組可藉由前述的觸控軌跡擬合方法減少計算量、優化擬合軌跡的曲度及預測下一觸摸點的位置。4. The touch module of the present invention can reduce the amount of calculation, optimize the curvature of the fitting trajectory, and predict the position of the next touch point through the aforementioned touch trajectory fitting method.

五、本發明之資訊處理裝置可藉由前述的觸控模組減少擬合軌跡的計算量、優化擬合軌跡的曲度及預測下一觸摸點的位置。5. The information processing device of the present invention can reduce the amount of calculation of the fitting trajectory, optimize the curvature of the fitting trajectory, and predict the position of the next touch point 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.

100:觸控模組

110:控制電路

111:讀出電路

112:記憶體

113:控制單元

114:通信介面

120:感測陣列

200:資訊處理裝置

210:觸控模組

220:應用處理器

步驟a:自一感測陣列週期性地讀出一觸摸點座標

步驟b:取一當前觸摸點座標

和一前一觸摸點座標 之中間點,該中間點具有一第一水平座標(x c)及一第一垂直座標(y c),將該第一水平座標(x c)代入一第一拉格朗日多項式以獲得一第二垂直座標( ),及將該第一垂直座標(y c)代入一第二拉格朗日多項式以獲得一第二水平座標( )。

步驟c:依該當前觸摸點座標 、該前一觸摸點座標 及一前前一觸摸點座標 之水平和垂直相對位置關係決定一插入點的座標為( )或( ),其中,當 則插入點座標取 ;當 則插入點座標取( );及當 則插入點座標取 和( )中與( )較近者

圖1繪示本發明之觸控模組之一實施例之方塊圖。 圖2繪示本發明之觸控軌跡擬合方法之一實施例的流程圖。 圖3繪示本發明之資訊處理裝置之一實施例的方塊圖。

100:Touch module

110: Control circuit

111: Read out circuit

112: Memory

113: Control unit

114: Communication interface

120:Sensor array

200: Information processing device

210: Touch Module

220: Application Processor

Step a: Periodically read the coordinates of a touch point from a sensing array

Step b: Get the coordinates of the current touch point

and the coordinates of the previous touch point The midpoint has a first horizontal coordinate ( xc ) and a first vertical coordinate ( yc ). Substituting the first horizontal coordinate ( xc ) into a first Lagrange polynomial to obtain a second vertical coordinate ( ), and substituting the first vertical coordinate (y c ) into a second Lagrange polynomial to obtain a second horizontal coordinate ( ).

Step c: According to the current touch point coordinates , the coordinates of the previous touch point and the coordinates of the previous touch point The horizontal and vertical relative position relationship determines the coordinates of an insertion point as ( )or( ), where The insertion point coordinates are ;when The insertion point coordinates are ( ); and The insertion point coordinates are and( ) and ( ) Closer

Fig. 1 is a block diagram of a touch module according to an embodiment of the present invention. Fig. 2 is a flow chart of a touch track fitting method according to an embodiment of the present invention. Fig. 3 is a block diagram of an information processing device according to an embodiment of the present invention.

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

步驟b:取一當前觸摸點座標(x3 ,y3)和一前一觸摸點座標(x2 ,y2)之中間點,該中間點具有一第一水平座標(xc)及一第一垂直座標(yc),將該第一水平座標(xc)代入一第一拉格朗日多項式以獲得一第二垂直座標(

Figure 111148985-A0305-02-0001-4
),及將該第一垂直座標(yc)代入一第二拉格朗日多項式以獲得一第二水平座標(
Figure 111148985-A0305-02-0001-5
) Step b: Take the middle point between the current touch point coordinate (x 3 , y 3 ) and the previous touch point coordinate (x 2 , y 2 ), the middle point has a first horizontal coordinate (x c ) and a first vertical coordinate (y c ), substitute the first horizontal coordinate (x c ) into a first Lagrange polynomial to obtain a second vertical coordinate (
Figure 111148985-A0305-02-0001-4
), and substituting the first vertical coordinate (y c ) into a second Lagrange polynomial to obtain a second horizontal coordinate (
Figure 111148985-A0305-02-0001-5
)

步驟c:依該當前觸摸點座標(x3 ,y3)、該前一觸摸點座標(x2 ,y2)及一前前一觸摸點座標(x1 ,y1)之水平和垂直相對位置關係決定一插入點的座標為(xc ,

Figure 111148985-A0305-02-0001-6
)或(
Figure 111148985-A0305-02-0001-8
,yc),其中,當(x1-x2)×(x2-x3)大於0且(y1-y2)×(y2-y3)不大於0,則 插入點座標取(xc ,
Figure 111148985-A0305-02-0002-9
);當(y1-y2)×(y2-y3)大於0且(x1-x2)×(x2-x3)不大於0,則插入點座標取(
Figure 111148985-A0305-02-0002-10
,yc);及當(y1-y2)×(y2-y3)大於0且(x1-x2)×(x2-x3)大於0,則插入點座標取(xc ,
Figure 111148985-A0305-02-0002-11
)和(
Figure 111148985-A0305-02-0002-12
,yc)中與(xc ,yc)較近者 Step c: Determine the coordinates of an insertion point (x c , y 3 ) according to the horizontal and vertical relative position relationship between the current touch point coordinates (x 3 , y 3 ), the previous touch point coordinates (x 2 , y 2 ) and the previous previous touch point coordinates (x 1 , y 1 )
Figure 111148985-A0305-02-0001-6
)or(
Figure 111148985-A0305-02-0001-8
, y c ), where (x 1 -x 2 )×(x 2 -x 3 ) is greater than 0 and (y 1 -y 2 )×(y 2 -y 3 ) is not greater than 0, the insertion point coordinates are (x c ,
Figure 111148985-A0305-02-0002-9
); when (y 1 -y 2 )×(y 2 -y 3 ) is greater than 0 and (x 1 -x 2 )×(x 2 -x 3 ) is not greater than 0, the insertion point coordinates are (
Figure 111148985-A0305-02-0002-10
, y c ); and when (y 1 -y 2 )×(y 2 -y 3 ) is greater than 0 and (x 1 -x 2 )×(x 2 -x 3 ) is greater than 0, the insertion point coordinates are (x c ,
Figure 111148985-A0305-02-0002-11
)and(
Figure 111148985-A0305-02-0002-12
, y c ) that is closer to (x c , y c )

Claims (17)

一種拉格朗日觸控軌跡擬合方法,其係由一控制電路實現,該方法包括:自一感測陣列週期性地讀出一觸摸點座標;取一當前觸摸點座標(x3 ,y3)和一前一觸摸點座標(x2 ,y2)之中間點,該中間點具有一第一水平座標(xc)及一第一垂直座標(yc),將該第一水平座標(xc)代入一第一拉格朗日多項式以獲得一第二垂直座標(
Figure 111148985-A0305-02-0014-39
),及將該第一垂直座標(yc)代入一第二拉格朗日多項式以獲得一第二水平座標(
Figure 111148985-A0305-02-0014-40
);以及依該當前觸摸點座標(x3 ,y3)、該前一觸摸點座標(x2 ,y2)及一前前一觸摸點座標(x1 ,y1)之水平和垂直相對位置關係決定一插入點的座標為(xc ,
Figure 111148985-A0305-02-0014-41
)或(
Figure 111148985-A0305-02-0014-42
,yc),其中,當(x1-x2)×(x2-x3)大於0且(y1-y2)×(y2-y3)不大於0,則插入點座標取(xc ,
Figure 111148985-A0305-02-0014-43
);當(y1-y2)×(y2-y3)大於0且(x1-x2)×(x2-x3)不大於0,則插入點座標取(
Figure 111148985-A0305-02-0014-44
,yc);及當(y1-y2)×(y2-y3)大於0且(x1-x2)×(x2-x3)大於0,則插入點座標取(xc ,
Figure 111148985-A0305-02-0014-45
)和(
Figure 111148985-A0305-02-0014-46
,yc)中與(xc ,yc)較近者;其中,該第一拉格朗日多項式係依該當前觸摸點座標(x3 ,y3)、該前一觸摸點座標(x2 ,y2)及該前前一觸摸點座標(x1 ,y1)產生之以水平座標(x)為變數之一多項式,且該第二拉格朗日多項式係依該當前觸摸點座標(x3 ,y3)、該前一觸摸點座標(x2 ,y2)及該前前一觸摸點座標(x1 ,y1)產生之以垂直座標(y)為變數之一多項式。
A Lagrangian touch trajectory fitting method is implemented by a control circuit. The method includes: periodically reading a touch point coordinate from a sensing array; taking a midpoint between a current touch point coordinate (x 3 , y 3 ) and a previous touch point coordinate (x 2 , y 2 ), the midpoint having a first horizontal coordinate (x c ) and a first vertical coordinate (y c ), substituting the first horizontal coordinate (x c ) into a first Lagrangian polynomial to obtain a second vertical coordinate (
Figure 111148985-A0305-02-0014-39
), and substituting the first vertical coordinate (y c ) into a second Lagrange polynomial to obtain a second horizontal coordinate (
Figure 111148985-A0305-02-0014-40
); and according to the horizontal and vertical relative position relationship between the current touch point coordinates (x 3 , y 3 ), the previous touch point coordinates (x 2 , y 2 ) and the previous previous touch point coordinates (x 1 , y 1 ), the coordinates of an insertion point are determined as (x c ,
Figure 111148985-A0305-02-0014-41
)or(
Figure 111148985-A0305-02-0014-42
, y c ), where (x 1 -x 2 )×(x 2 -x 3 ) is greater than 0 and (y 1 -y 2 )×(y 2 -y 3 ) is not greater than 0, the insertion point coordinates are (x c ,
Figure 111148985-A0305-02-0014-43
); when (y 1 -y 2 )×(y 2 -y 3 ) is greater than 0 and (x 1 -x 2 )×(x 2 -x 3 ) is not greater than 0, the insertion point coordinates are (
Figure 111148985-A0305-02-0014-44
, y c ); and when (y 1 -y 2 )×(y 2 -y 3 ) is greater than 0 and (x 1 -x 2 )×(x 2 -x 3 ) is greater than 0, the insertion point coordinates are (x c ,
Figure 111148985-A0305-02-0014-45
)and(
Figure 111148985-A0305-02-0014-46
, y c ) that is closer to (x c , y c ); wherein the first Lagrangian polynomial is a polynomial with the horizontal coordinate (x) as a variable generated according to the current touch point coordinates (x 3 , y 3 ), the previous touch point coordinates (x 2 , y 2 ) and the previous previous touch point coordinates (x 1 , y 1 ), and the second Lagrangian polynomial is a polynomial with the vertical coordinate (y) as a variable generated according to the current touch point coordinates (x 3 , y 3 ), the previous touch point coordinates (x 2 , y 2 ) and the previous previous touch point coordinates (x 1 , y 1 ).
如請求項1所述之拉格朗日觸控軌跡擬合方法,其進一步包括: 預設一閥值△x h 及一差值△x=|(x 3-x 2)-(x 2-x 1)|令下一觸摸點的x座標為
Figure 111148985-A0305-02-0015-1
;及令下一觸摸點的y座標為
Figure 111148985-A0305-02-0015-2
,其中f(.)為該第一拉格朗日多項式。
The Lagrangian touch trajectory fitting method as described in claim 1 further comprises: presetting a valve value △ x h and a difference value △ x =|( x 3 - x 2 )-( x 2 - x 1 )| , and setting the x coordinate of the next touch point to
Figure 111148985-A0305-02-0015-1
; and let the y coordinate of the next touch point be
Figure 111148985-A0305-02-0015-2
, where f (.) is the first Lagrangian polynomial.
如請求項2所述之拉格朗日觸控軌跡擬合方法,其進一步包括:在多個手指軌跡中找出與該下一觸摸點(
Figure 111148985-A0305-02-0015-3
,
Figure 111148985-A0305-02-0015-4
)最鄰近之一手指軌跡以判定該下一觸摸點(
Figure 111148985-A0305-02-0015-5
,
Figure 111148985-A0305-02-0015-6
)的歸屬手指軌跡。
The Lagrangian touch trajectory fitting method as described in claim 2 further comprises: finding a point in the plurality of finger trajectories that corresponds to the next touch point (
Figure 111148985-A0305-02-0015-3
,
Figure 111148985-A0305-02-0015-4
) The nearest finger trajectory to determine the next touch point (
Figure 111148985-A0305-02-0015-5
,
Figure 111148985-A0305-02-0015-6
)'s attributed finger track.
如請求項2所述之拉格朗日觸控軌跡擬合方法,其進一步包括:令下一插入點的x座標為
Figure 111148985-A0305-02-0015-7
y座標為
Figure 111148985-A0305-02-0015-8
The Lagrangian touch trajectory fitting method as described in claim 2 further comprises: setting the x coordinate of the next insertion point to
Figure 111148985-A0305-02-0015-7
, the y coordinate is
Figure 111148985-A0305-02-0015-8
如請求項1所述之拉格朗日觸控軌跡擬合方法,其進一步包括:該控制電路藉由一通信介面依序將該當前觸摸點座標與該插入點座標傳送至一應用處理器。 The Lagrangian touch trajectory fitting method as described in claim 1 further includes: the control circuit sequentially transmits the current touch point coordinates and the insertion point coordinates to an application processor via a communication interface. 一種觸控模組,具有一控制電路及一感測陣列,其特徵在於該控制電路執行一拉格朗日觸控軌跡擬合程序,該程序包括:自該感測陣列週期性地讀出一觸摸點座標;取一當前觸摸點座標(x3 ,y3)和一前一觸摸點座標(x2 ,y2)之中間點,該中間點具有一第一水平座標(xc)及一第一垂直座標(yc),將該第一水平座標(xc)代入一第一拉格朗日多項式以獲得一第二垂直座標(
Figure 111148985-A0305-02-0015-9
),及將該第一垂直座標(yc)代入 一第二拉格朗日多項式以獲得一第二水平座標(
Figure 111148985-A0305-02-0016-48
);以及依該當前觸摸點座標(x3 ,y3)、該前一觸摸點座標(x2 ,y2)及一前前一觸摸點座標(x1 ,y1)之水平和垂直相對位置關係決定一插入點的座標為(xc ,
Figure 111148985-A0305-02-0016-47
)或(
Figure 111148985-A0305-02-0016-10
,yc),其中,當(x1-x2)×(x2-x3)大於0且(y1-y2)×(y2-y3)不大於0,則插入點座標取(xc ,
Figure 111148985-A0305-02-0016-11
);當(y1-y2)×(y2-y3)大於0且(x1-x2)×(x2-x3)不大於0,則插入點座標取(
Figure 111148985-A0305-02-0016-12
,yc);及當(y1-y2)×(y2-y3)大於0且(x1-x2)×(x2-x3)大於0,則插入點座標取(xc ,
Figure 111148985-A0305-02-0016-13
)和(
Figure 111148985-A0305-02-0016-14
,yc)中與(xc ,yc)較近者;其中,該第一拉格朗日多項式係依該當前觸摸點座標(x3 ,y3)、該前一觸摸點座標(x2 ,y2)及該前前一觸摸點座標(x1 ,y1)產生之以水平座標(x)為變數之一多項式,且該第二拉格朗日多項式係依該當前觸摸點座標(x3 ,y3)、該前一觸摸點座標(x2 ,y2)及該前前一觸摸點座標(x1 ,y1)產生之以垂直座標(y)為變數之一多項式。
A touch module has a control circuit and a sensing array, wherein the control circuit executes a Lagrangian touch trajectory fitting procedure, the procedure comprising: periodically reading a touch point coordinate from the sensing array; taking a midpoint between a current touch point coordinate (x 3 , y 3 ) and a previous touch point coordinate (x 2 , y 2 ), the midpoint having a first horizontal coordinate (x c ) and a first vertical coordinate (y c ), substituting the first horizontal coordinate (x c ) into a first Lagrangian polynomial to obtain a second vertical coordinate (
Figure 111148985-A0305-02-0015-9
), and substituting the first vertical coordinate (y c ) into a second Lagrange polynomial to obtain a second horizontal coordinate (
Figure 111148985-A0305-02-0016-48
); and according to the horizontal and vertical relative position relationship between the current touch point coordinates (x 3 , y 3 ), the previous touch point coordinates (x 2 , y 2 ) and the previous previous touch point coordinates (x 1 , y 1 ), the coordinates of an insertion point are determined as (x c ,
Figure 111148985-A0305-02-0016-47
)or(
Figure 111148985-A0305-02-0016-10
, y c ), where (x 1 -x 2 )×(x 2 -x 3 ) is greater than 0 and (y 1 -y 2 )×(y 2 -y 3 ) is not greater than 0, the insertion point coordinates are (x c ,
Figure 111148985-A0305-02-0016-11
); when (y 1 -y 2 )×(y 2 -y 3 ) is greater than 0 and (x 1 -x 2 )×(x 2 -x 3 ) is not greater than 0, the insertion point coordinates are (
Figure 111148985-A0305-02-0016-12
, y c ); and when (y 1 -y 2 )×(y 2 -y 3 ) is greater than 0 and (x 1 -x 2 )×(x 2 -x 3 ) is greater than 0, the insertion point coordinates are (x c ,
Figure 111148985-A0305-02-0016-13
)and(
Figure 111148985-A0305-02-0016-14
, y c ) that is closer to (x c , y c ); wherein the first Lagrangian polynomial is a polynomial with the horizontal coordinate (x) as a variable generated according to the current touch point coordinates (x 3 , y 3 ), the previous touch point coordinates (x 2 , y 2 ) and the previous previous touch point coordinates (x 1 , y 1 ), and the second Lagrangian polynomial is a polynomial with the vertical coordinate (y) as a variable generated according to the current touch point coordinates (x 3 , y 3 ), the previous touch point coordinates (x 2 , y 2 ) and the previous previous touch point coordinates (x 1 , y 1 ).
如請求項6所述之觸控模組,其中,該拉格朗日觸控軌跡擬合程序進一步包括:預設一閥值△x h 及一差值△x=|(x 3-x 2)-(x 2-x 1)|令下一觸摸點的x座標為
Figure 111148985-A0305-02-0016-15
;及令下一觸摸點的y座標為
Figure 111148985-A0305-02-0016-16
,其中f(.)為該第一拉格朗日多項式。
The touch module as described in claim 6, wherein the Lagrangian touch trajectory fitting procedure further comprises: presetting a valve value △ x h and a difference value △ x =|( x 3 - x 2 )-( x 2 - x 1 )| , and setting the x coordinate of the next touch point to
Figure 111148985-A0305-02-0016-15
; and let the y coordinate of the next touch point be
Figure 111148985-A0305-02-0016-16
, where f (.) is the first Lagrangian polynomial.
如請求項7所述之觸控模組,其中,該拉格朗日觸控軌跡擬合程序進一步包括: 在多個手指軌跡中找出與該下一觸摸點(
Figure 111148985-A0305-02-0017-17
,
Figure 111148985-A0305-02-0017-18
)最鄰近之一手指軌跡以判定該下一觸摸點(
Figure 111148985-A0305-02-0017-19
,
Figure 111148985-A0305-02-0017-20
)的歸屬手指軌跡。
The touch module as claimed in claim 7, wherein the Lagrangian touch trajectory fitting procedure further comprises: finding a point in the plurality of finger trajectories that corresponds to the next touch point (
Figure 111148985-A0305-02-0017-17
,
Figure 111148985-A0305-02-0017-18
) The nearest finger trajectory to determine the next touch point (
Figure 111148985-A0305-02-0017-19
,
Figure 111148985-A0305-02-0017-20
)'s attributed finger track.
如請求項7所述之觸控模組,其中,該拉格朗日觸控軌跡擬合程序進一步包括:令下一插入點的x座標為
Figure 111148985-A0305-02-0017-21
y座標為
Figure 111148985-A0305-02-0017-22
The touch module as claimed in claim 7, wherein the Lagrangian touch trajectory fitting procedure further comprises: setting the x coordinate of the next insertion point to
Figure 111148985-A0305-02-0017-21
, the y coordinate is
Figure 111148985-A0305-02-0017-22
如請求項6所述之觸控模組,其中,該拉格朗日觸控軌跡擬合程序進一步包括:該控制電路藉由一通信介面依序將該當前觸摸點座標與該插入點座標傳送至一應用處理器。 The touch module as described in claim 6, wherein the Lagrangian touch trajectory fitting procedure further comprises: the control circuit sequentially transmits the current touch point coordinates and the insertion point coordinates to an application processor via a communication interface. 如請求項6所述之觸控模組,其中該感測陣列係由一電容式感測陣列、一超音波式感測陣列、一壓力式感測陣列和一光學式感測陣列所組成群組所選擇的一種感測陣列。 A touch control module 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. 一種資訊處理裝置,其具有一觸控模組及一應用處理器,其中,該觸控模組具有一控制電路及一感測陣列,其特徵在於該控制電路執行一拉格朗日觸控軌跡擬合程序,該程序包括:自該感測陣列週期性地讀出一觸摸點座標;取一當前觸摸點座標(x3 ,y3)和一前一觸摸點座標(x2 ,y2)之中間點,該中間點具有一第一水平座標(xc)及一第一垂直座標(yc),將該第一水平座標(xc)代入一第一拉格朗日多項式以獲得一第二垂直座標(
Figure 111148985-A0305-02-0017-23
),及將該第一垂直座標(yc)代入一第二拉格朗日多項式以獲得一第二水平座標(
Figure 111148985-A0305-02-0017-49
);以及依該當前觸摸點座標(x3 ,y3)、該前一觸摸點座標(x2 ,y2)及一前前一觸摸點座標(x1 ,y1)之水平和垂直相對位置關係決定一插入點的座標為(xc ,
Figure 111148985-A0305-02-0017-24
)或 (
Figure 111148985-A0305-02-0018-25
,yc),其中,當(x1-x2)×(x2-x3)大於0且(y1-y2)×(y2-y3)不大於0,則插入點座標取(xc ,
Figure 111148985-A0305-02-0018-26
);當(y1-y2)×(y2-y3)大於0且(x1-x2)×(x2-x3)不大於0,則插入點座標取(
Figure 111148985-A0305-02-0018-27
,yc);及當(y1-y2)×(y2-y3)大於0且(x1-x2)×(x2-x3)大於0,則插入點座標取(xc ,
Figure 111148985-A0305-02-0018-29
)和(
Figure 111148985-A0305-02-0018-30
,yc)中與(xc ,yc)較近者;其中,該第一拉格朗日多項式係依該當前觸摸點座標(x3 ,y3)、該前一觸摸點座標(x2 ,y2)及該前前一觸摸點座標(x1 ,y1)產生之以水平座標(x)為變數之一多項式,且該第二拉格朗日多項式係依該當前觸摸點座標(x3 ,y3)、該前一觸摸點座標(x2 ,y2)及該前前一觸摸點座標(x1 ,y1)產生之以垂直座標(y)為變數之一多項式。
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 Lagrangian touch trajectory fitting program, the program comprising: periodically reading a touch point coordinate from the sensing array; taking a midpoint between a current touch point coordinate (x 3 , y 3 ) and a previous touch point coordinate (x 2 , y 2 ), the midpoint having a first horizontal coordinate (x c ) and a first vertical coordinate (y c ), substituting the first horizontal coordinate (x c ) into a first Lagrangian polynomial to obtain a second vertical coordinate (
Figure 111148985-A0305-02-0017-23
), and substituting the first vertical coordinate (y c ) into a second Lagrange polynomial to obtain a second horizontal coordinate (
Figure 111148985-A0305-02-0017-49
); and according to the horizontal and vertical relative position relationship between the current touch point coordinates (x 3 , y 3 ), the previous touch point coordinates (x 2 , y 2 ) and the previous previous touch point coordinates (x 1 , y 1 ), the coordinates of an insertion point are determined as (x c ,
Figure 111148985-A0305-02-0017-24
)or(
Figure 111148985-A0305-02-0018-25
, y c ), where (x 1 -x 2 )×(x 2 -x 3 ) is greater than 0 and (y 1 -y 2 )×(y 2 -y 3 ) is not greater than 0, the insertion point coordinates are (x c ,
Figure 111148985-A0305-02-0018-26
); when (y 1 -y 2 )×(y 2 -y 3 ) is greater than 0 and (x 1 -x 2 )×(x 2 -x 3 ) is not greater than 0, the insertion point coordinates are (
Figure 111148985-A0305-02-0018-27
, y c ); and when (y 1 -y 2 )×(y 2 -y 3 ) is greater than 0 and (x 1 -x 2 )×(x 2 -x 3 ) is greater than 0, the insertion point coordinates are (x c ,
Figure 111148985-A0305-02-0018-29
)and(
Figure 111148985-A0305-02-0018-30
, y c ) that is closer to (x c , y c ); wherein the first Lagrangian polynomial is a polynomial with the horizontal coordinate (x) as a variable generated according to the current touch point coordinates (x 3 , y 3 ), the previous touch point coordinates (x 2 , y 2 ) and the previous previous touch point coordinates (x 1 , y 1 ), and the second Lagrangian polynomial is a polynomial with the vertical coordinate (y) as a variable generated according to the current touch point coordinates (x 3 , y 3 ), the previous touch point coordinates (x 2 , y 2 ) and the previous previous touch point coordinates (x 1 , y 1 ).
如請求項12所述之資訊處理裝置,其中,該拉格朗日觸控軌跡擬合程序進一步包括:預設一閥值△x h 及一差值△x=|(x 3-x 2)-(x 2-x 1)|令下一觸摸點的x座標為
Figure 111148985-A0305-02-0018-31
;及令下一觸摸點的y座標為
Figure 111148985-A0305-02-0018-32
,其中f(.)為該第一拉格朗日多項式。
The information processing device as claimed in claim 12, wherein the Lagrangian touch trajectory fitting procedure further comprises: presetting a valve value △ x h and a difference value △ x =|( x 3 - x 2 )-( x 2 - x 1 )| , and setting the x coordinate of the next touch point to
Figure 111148985-A0305-02-0018-31
; and let the y coordinate of the next touch point be
Figure 111148985-A0305-02-0018-32
, where f (.) is the first Lagrangian polynomial.
如請求項13所述之資訊處理裝置,其中,該拉格朗日觸控軌跡擬合程序進一步包括:在多個手指軌跡中找出與該下一觸摸點(
Figure 111148985-A0305-02-0018-33
,
Figure 111148985-A0305-02-0018-34
)最鄰近之一手指軌跡以判定該下一觸摸點(
Figure 111148985-A0305-02-0018-35
,
Figure 111148985-A0305-02-0018-36
)的歸屬手指軌跡。
The information processing device as claimed in claim 13, wherein the Lagrangian touch trajectory fitting procedure further comprises: finding a point in the plurality of finger trajectories that corresponds to the next touch point (
Figure 111148985-A0305-02-0018-33
,
Figure 111148985-A0305-02-0018-34
) The nearest finger trajectory to determine the next touch point (
Figure 111148985-A0305-02-0018-35
,
Figure 111148985-A0305-02-0018-36
)'s attributed finger track.
如請求項13所述之資訊處理裝置,其中,該拉格朗日觸控 軌跡擬合程序進一步包括:令下一插入點的x座標為
Figure 111148985-A0305-02-0019-38
y座標為
Figure 111148985-A0305-02-0019-37
The information processing device as claimed in claim 13, wherein the Lagrangian touch trajectory fitting procedure further comprises: setting the x coordinate of the next insertion point to
Figure 111148985-A0305-02-0019-38
, the y coordinate is
Figure 111148985-A0305-02-0019-37
如請求項12所述之資訊處理裝置,其中,該拉格朗日觸控軌跡擬合程序進一步包括:該控制電路藉由一通信介面依序將該當前觸摸點座標與該插入點座標傳送至一應用處理器。 The information processing device as described in claim 12, wherein the Lagrangian touch trajectory fitting procedure further comprises: the control circuit sequentially transmits the current touch point coordinates and the insertion point coordinates to an application processor via a communication interface. 如請求項12所述之資訊處理裝置,其係由一智慧型手機、一攜帶型電腦和一車用電腦所組成群組所選擇的一種裝置。The information processing device as described in claim 12 is a device selected from the group consisting of a smart phone, a portable computer and a car computer.
TW111148985A 2022-12-20 2022-12-20 Lagrangian touch trajectory simulation method, touch module and information processing device TWI843345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111148985A TWI843345B (en) 2022-12-20 2022-12-20 Lagrangian touch trajectory simulation method, touch module and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111148985A TWI843345B (en) 2022-12-20 2022-12-20 Lagrangian touch trajectory simulation method, touch module and information processing device

Publications (2)

Publication Number Publication Date
TWI843345B true TWI843345B (en) 2024-05-21
TW202427139A TW202427139A (en) 2024-07-01

Family

ID=92077126

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111148985A TWI843345B (en) 2022-12-20 2022-12-20 Lagrangian touch trajectory simulation method, touch module and information processing device

Country Status (1)

Country Link
TW (1) TWI843345B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI507936B (en) * 2013-02-07 2015-11-11 Mstar Semiconductor Inc Touch panel and correcting apparatus thereof
US10592049B2 (en) * 2014-09-18 2020-03-17 Tactual Labs Co. Systems and methods for using hover information to predict touch locations and reduce or eliminate touchdown latency
CN110928449A (en) * 2019-11-26 2020-03-27 北京集创北方科技股份有限公司 Touch screen point reporting method and device, electronic equipment and storage medium
TWI699688B (en) * 2019-11-26 2020-07-21 大陸商北京集創北方科技股份有限公司 Touch information processing method with high reporting rate and touch control system and electronic device using the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI507936B (en) * 2013-02-07 2015-11-11 Mstar Semiconductor Inc Touch panel and correcting apparatus thereof
US10592049B2 (en) * 2014-09-18 2020-03-17 Tactual Labs Co. Systems and methods for using hover information to predict touch locations and reduce or eliminate touchdown latency
CN110928449A (en) * 2019-11-26 2020-03-27 北京集创北方科技股份有限公司 Touch screen point reporting method and device, electronic equipment and storage medium
TWI699688B (en) * 2019-11-26 2020-07-21 大陸商北京集創北方科技股份有限公司 Touch information processing method with high reporting rate and touch control system and electronic device using the same

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2020228489A1 (en) Vision-based tactile measurement method, apparatus, chip and storage medium
US9734379B2 (en) Guided fingerprint enrollment
TWI450148B (en) Touch screen touch track detection method and detection device
US20120200486A1 (en) Infrared gesture recognition device and method
US20240320860A1 (en) Method and apparatus for pose identification
WO2018094602A1 (en) Method, device and equipment for detecting pressure
JP2018510406A (en) Method and system for estimating finger movement
CN115199240B (en) Shale gas well yield prediction method, shale gas well yield prediction device and storage medium
WO2024041392A1 (en) Image processing method and apparatus, storage medium, and device
KR20180046679A (en) Method of sensing fingerprint and electronic apparatus including the same
TWI843345B (en) Lagrangian touch trajectory simulation method, touch module and information processing device
Lin et al. Tracking touched trajectory on capacitive touch panels using an adjustable weighted prediction covariance matrix
WO2020202734A1 (en) Pen state detection circuit, system, and method
JP5237596B2 (en) Discriminator
WO2018126368A1 (en) Touch control device and method for determining capacitive sensing amount of touch control device
JP2021022005A (en) Information processing device and control method
TW202427140A (en) Touch trajectory fitting method, touch module and information processing device characterized by using the second parameter in the second straight line to obtain an interpolation point coordinate
KR102406634B1 (en) Personalized recommendation method and system based on future interaction prediction
TWI840117B (en) Multi-touch chip joint detection method, touch module and information processing device
KR102690712B1 (en) Method for estimation of remaining motion time of robot system using observational learning
CN113313034A (en) Face recognition method and device, electronic equipment and storage medium
TW202416095A (en) Electronic device and control method for touch sensing thereof
TW202433251A (en) Multi-touch chip joint detection method, touch module and information processing device
TW202437075A (en) Touch background data processing method, touch device and information processing device
TWI842551B (en) Capacitive touch area recognition method, touch device and information processing device