201025089 九、發明說明: 【發明所屬之技術領域】 本發明係有關於一種以單一感應轴檢測平面上兩 指位移之方法,尤指一種僅需要在一維(Single Dimension )滑條上之兩個觸摸點,即可由一維之感應 快速檢知於同一感應軸(Slider)上使用者兩手指於觸 控顯示單元上之縮放動作,而得知兩手指係正在接近或 遠離之移動狀態,係具有處理速度快而可提昇運算速度 ® 之方法。 【先前技術】 按,隨著電子技術之不斷發展,諸如行動電話( Cellphone )、智慧型手機(Smart Phone )及個人數位助 理(PerSonal Digital Assistant,PDA)等高性能之可攜 式電子設備在電子性消費市場之強烈需求下,各家業者 不斷地增進其使用上之功能,以吸引更多消費者之目光 ,其中,為讓使用者更方便地操控該些可攜式電子設備 © ,大多都增設有觸控式面板(Touch Panel )之功能,以 提供使用者可在該觸控式面板上進行操作。 在傳統之觸摸式面板設計中,如第4圖所示,如果 要偵測使用者之兩支手指頭之觸模動作(Gesture ),則 必須要先測得兩支手指所在觸摸位置之座標值(XI,Y1 )+ (X2,Y2)方能達成。於其中,在上述此種面板設 計中,使用者兩支手指之距離係可由下述公式偵知: Dist=SQR((xl-x2)A2+(yl-y2)A2); 5 201025089 只要一直追蹤此一指距(Dist)值,即可知道目前 面板上之兩支手指係正在接近或遠離中。 然而,由上述說明可知,在傳統之雙指位移偵測方 法中,兩點觸摸值(X1,Y1)、(X2,Y2)之座標係必須 知道之。因此,依據傳統之二維(Tw〇 Dimensi〇n)兩 指觸控偵測方式,其所佔用之記憶體空間勢必較大,將 使得整體裝置之處理速度變慢’進而降低運算速度。故 ,一般習用者係無法符合使用者於實際使用時之所需。 ®【發彻容】 本發明之主要目的係在於,克服習知技藝所遭遇之 上述問題並提供一種僅需要在一維滑條上之兩個觸摸 點,即可由一維之感應快速檢知於同一感應軸上使用者 兩手指於觸控顯示單元上之縮放動作,而得知兩手指备 正在接近或遠離之移動狀態之方法。 本發明之次要目的係在於,具有處理速度快而可提 昇運算速度之特性,並可使用在包含行動裝置( ❿ Cellphone、MP3)、智慧型手機(Smart Ph〇ne)、筆記 型電腦(Notebook,NB )、個人電腦(personal c〇mputer, PC)及個人數位助理(pers〇nal Digital Assistant,PDA )等電子裝置上。 為達以上之目的’本發明係一種以單一感應轴檢測 平面上兩指位移之方法,係使用一維之感應檢知一具觸 控顯示單元之電子裝置中’於同一感應轴上兩觸碰手指 之縮放動作。首先,偵測該觸控顯示單元上由該兩觸碰 201025089 手=所產生之—縮放動作之發生,並收集來自該觸控顯 不早疋中一維滑條上產生之一第一觸摸點及一第二觸 摸點;識別該第-觸摸點及該第二觸摸點在該感應轴上 所對應之相對位置;以及將該第—觸摸點及該第二觸摸 點在該感應軸上所對應之相對位置經由一演算法推導 ’以偵得兩手指之移動狀態。 於其中’該感應轴係可為X軸或γ軸,且上述演 算法推導得之指距變化係將該第二觸摸點之相對位置 ❹減去該第一觸摸點之相對位置,其公式表示為: Dist=X2-Xl。 【實施方式】 *月參閱『第1圖』所示’係本發明之操作流程示意 圖。如圖所示··本發明係一種以單一感應軸檢測平面上 兩指位移之方法’係使用一維(Singie Dimension)之 感應檢知一具觸控顯示單元之電子裝置中,於同一感摩 軸(Slider)上兩觸碰手指之縮放動作,並至少包括下 ®列步驟: (A) 收集觸摸點11:偵測該觸控顯示單元上由 該兩觸碰手指所產生之一縮放動作之發生,並收集來自 該觸控顯示單元中一維滑條上產生之一第一觸摸點及 一第二觸摸點; (B) 識別相對位置1 2 :識別該第一觸摸點及該 第二觸摸點在該感應轴上所對應之相對位置;以及 7 201025089 及該第二觸摸點Λ/Μ#13 ㈣ 一,、寅算法抽道感應軸上所對應之相對位置經由 If隹導,以偵得兩手指之移動狀態。 ❹ 明-二圭以施:2圖〜第2 B圖』所示,係分別為本發 意圖及本發明二圖、本發明-較佳實施例之-示 本發明於運料^施例之二不意圖。如圖所示:當 為X站苦止於一較佳實施例中,可將感應軸設定 T hP 先,當兩手指分別按廢在—觸控式面板( ouc anei)並作縮放移動時係收集在—維滑條上產 摸:pi一:二:P1及第二觸摸點P2,並識別該第-觸 點?2;^缸所對應之相對位置X1及該第二觸摸 P2於X軸上所對應之相對位置X2,再由—演算法將 兩:摸手指間之距離進行推導,將該第二觸摸點 ,對位置X2減去該第—觸摸點ρι之相對位置幻,而 侍其指距(Dist)變化,其表現公式為:201025089 IX. INSTRUCTIONS: [Technical Field] The present invention relates to a method for detecting two-finger displacement on a plane with a single sensing axis, and in particular, two methods requiring only one dimension (Single Dimension) slider By touching the point, the one-dimensional sensing can quickly detect the zooming action of the two fingers on the touch display unit on the same sensing shaft (Slider), and know that the two finger systems are moving near or away from each other, A method of processing speed that increases the speed of operation®. [Prior Art] Press, with the continuous development of electronic technology, high-performance portable electronic devices such as Cellphone, Smart Phone and PerSonal Digital Assistant (PDA) are in electronic Under the strong demand of the consumer market, various players continue to enhance their use of functions to attract more consumers' attention. Among them, in order to make it easier for users to control the portable electronic devices©, most of them A touch panel is added to provide a user with the touch panel. In the traditional touch panel design, as shown in Figure 4, if you want to detect the touch action of the two fingers of the user (Gesture), you must first measure the coordinate value of the touch position of the two fingers. (XI, Y1) + (X2, Y2) can be achieved. In the above panel design, the distance between the two fingers of the user can be detected by the following formula: Dist=SQR((xl-x2)A2+(yl-y2)A2); 5 201025089 As long as this is tracked With a pointer value, you can see that the two finger systems on the front panel are approaching or moving away. However, as can be seen from the above description, in the conventional two-finger displacement detecting method, the coordinate system of the two-point touch values (X1, Y1) and (X2, Y2) must be known. Therefore, according to the traditional two-dimensional (Tw〇 Dimensi〇n) two-finger touch detection method, the occupied memory space is bound to be large, which will make the processing speed of the whole device slower, thereby reducing the operation speed. Therefore, the general practitioners cannot meet the needs of the user in actual use. ® The main purpose of the present invention is to overcome the above problems encountered in the prior art and to provide two touch points on a one-dimensional slider, which can be quickly detected by one-dimensional induction. The zooming action of the two fingers on the touch display unit on the same sensing axis, and the method of knowing that the two fingers are moving near or away from each other. The secondary object of the present invention is to have the characteristics of high processing speed and high speed of operation, and can be used in mobile devices (❿ Cellphone, MP3), smart phones (Smart Ph〇ne), notebook computers (Notebook). , NB), personal computer (personal c〇mputer, PC) and personal digital assistant (PDA) and other electronic devices. For the purpose of the above, the present invention is a method for detecting the displacement of two fingers on a plane by using a single sensing axis, and using one-dimensional sensing to detect two touches on the same sensing axis in an electronic device with a touch display unit The zoom action of the finger. Firstly, detecting the occurrence of the zooming action generated by the two touches of the two touches 201025089 on the touch display unit, and collecting one of the first touch points generated from the one-dimensional slider in the touch display And a second touch point; identifying a relative position of the first touch point and the second touch point on the sensing axis; and corresponding the first touch point and the second touch point on the sensing axis The relative position is derived via an algorithm to detect the movement state of the two fingers. Wherein the sensing axis can be an X axis or a γ axis, and the finger distance variation derived by the above algorithm subtracts the relative position of the second touch point by the relative position of the first touch point, and the formula represents For: Dist=X2-Xl. [Embodiment] * month is shown in "Fig. 1", which is a schematic diagram of the operation flow of the present invention. As shown in the figure, the present invention is a method for detecting the displacement of two fingers on a plane by using a single sensing axis, which is a one-dimensional (Singie Dimension) sensing for detecting an electronic device with a touch display unit. The zoom action of the two touch fingers on the slider, and at least the steps of the lower column: (A) collecting the touch point 11: detecting a zooming action generated by the two touch fingers on the touch display unit Occurring and collecting one of the first touch point and the second touch point generated from the one-dimensional slider in the touch display unit; (B) identifying the relative position 1 2: identifying the first touch point and the second touch The relative position corresponding to the point on the sensing axis; and 7 201025089 and the second touch point Λ/Μ#13 (4) one, the relative position corresponding to the 抽 algorithm's channel sensing axis is detected by If to detect The movement state of the two fingers. ❹明-二圭以施: 2图〜2BB』, respectively, is intended to be the present invention and the second embodiment of the present invention, the preferred embodiment of the present invention Second, no intention. As shown in the figure: when the X station is in a preferred embodiment, the sensing axis can be set to T hP first, when the two fingers are respectively pressed into the touch panel ( ouc anei) and zoomed and moved. Collecting on the -dimensional slider: pi one: two: P1 and the second touch point P2, and identify the first contact? 2; ^ relative position X1 corresponding to the cylinder and the relative position X2 corresponding to the second touch P2 on the X-axis, and then by the algorithm: two: the distance between the fingers is deduced, the second touch point, The position X2 is subtracted from the relative position of the first touch point ρι, and the pointer is changed. The expression formula is:
Dist=X20Cl, ❿纟中滑條之高度增加,如第2A圖所示,則基 於使用者不論係按壓在高處或低處,然實際上仍為乂抽 上之兩個投影位置,故兩指距離之指距變化公式仍然如 上式所示’並無純改變;縱使於該觸控式面板上安裝 γ軸,如第2B圖所示,使用者依然可不予理會,只需 以X軸上所偵得之兩指投影相對位置由上 :八 式來計算,即可摘得兩指之指距變化。 、异 請參閱『第3圖』所示,係本發明另—較佳實施例 之示意圖。如圖所示··係為本發明另一較佳實施例,若 201025089 、' 觸控式面板為-直式面板’則可將感應軸設定為γ抽。 當兩手指分別按壓在第一觸摸點ρι及第二觸摸點?2位 置並作縮放移動時,可藉由識別該第一觸摸點P1在γ 轴上所對應之相對位置Y1,及該第二觸摸點?2在Y軸 上所對應之相對位置Y2,依據上述公式依此類推,將 該第二觸摸點Ρ2之相對位置Υ2減去該第—觸摸點 之相對位置Y1 ’以得到較精確之指距變化狀態,進而 可得知兩手指之移動狀態係正在接近中或遠離中。 ❹ 藉此,使用本發明之方法,其偵測範圍僅需要在一 維滑條上之兩個觸難,即可由―維之感應快速檢知於 同一感應軸上使用者兩手指於觸控式面板上之縮放動 作,進而得知兩手指係正在接近或遠離之移動狀態。本 方法係具有處理速度快而可提昇運算速度之特性,可使 用在包含行動裝置(Cellphone、MP3 )、智慧型手機(Dist=X20Cl, the height of the slider in the 增加 increases, as shown in Figure 2A, based on whether the user is pressing at a high or low position, but actually is still the two projection positions on the sputum, so two The formula for changing the distance between the fingers is still as shown in the above formula. There is no pure change; even if the γ axis is installed on the touch panel, as shown in Figure 2B, the user can still ignore it, just on the X axis. The relative position of the two-finger projections detected is calculated from the above: eight-style, and the finger-to-finger change of the two fingers can be obtained. And the like, which is shown in Fig. 3, is a schematic view of another preferred embodiment of the present invention. As shown in the figure, according to another preferred embodiment of the present invention, if 201025089, 'the touch panel is a straight panel', the sensing axis can be set to γ pumping. When the two fingers are pressed at the first touch point ρι and the second touch point, respectively? When the 2 position is zoomed and moved, the relative position Y1 corresponding to the first touch point P1 on the γ axis and the second touch point can be recognized. 2 corresponding position Y2 on the Y axis, according to the above formula, and so on, the relative position Υ2 of the second touch point Ρ2 minus the relative position Y1 ' of the first touch point to obtain a more accurate finger distance change The state, in turn, can be known that the moving state of the two fingers is approaching or moving away.借此 By using the method of the invention, the detection range only needs two touches on the one-dimensional slider, and the user can quickly detect the two-finger touch on the same sensing axis. The zooming action on the panel, in turn, knows that the two finger systems are moving toward or away from each other. This method has the characteristics of fast processing speed and high speed of operation, and can be used in mobile devices (Cellphone, MP3) and smart phones (
Smart Phone )、筆3己型電腦(Notebook,NB )、個人電腦 (Personal Computer, PC)及個人數位助理(perS〇nal ❹Smart Phone), Notebook 3 (Notebook, NB), Personal Computer (PC) and Personal Digital Assistant (perS〇nal ❹
Digital Assistant,PDA)等電子裝置上。 綜上所述,本發明係一種以單一感應軸檢測平面上 兩指位移之方法,可有效改善習用之種種缺點,僅需要 在一維滑條上之兩個觸摸點,即可由一維之感應快速檢 知於同一感應軸上使用者兩手指於觸控式面板上之縮 放動作,進而得知兩手指係正在接近或遠離之移動狀態 ,係具有處理速度快而可提昇運算速度之特性,進而使 本發明之産生能更進步、更實用、更符合使用者之所須 201025089 ,確已符合發明專财請之要件,痠依法提出專利申請 惟以上所述者,僅為本發明之較佳實施例而已,告 不能以此限定本發明實施之範圍;故,凡依本發明申言I 專利範圍及發明說明書内容所作之簡單的等效變化^ 修飾,皆應仍屬本發明專利涵蓋之範圍内。 【圖式簡單說明】 ❿ 第1圖’係本發明之操作流程示意圖。 第2圖,係本發明一較佳實施例之示意圖。 第2 A圖,係本發明一較佳實施例之一示意圖。 第2B圖’係本發明一較佳實施例之二示意圖。 第3圖’係本發明另一較佳實施例之示意圖。 第4圖,係傳統之觸摸式面板示意圖。 【主要元件符號說明】 ❹ 步驟(A)收集觸摸點丄丄 步驟(B )識別相對位置1 2 步驟(C)偵知兩手指移動狀態1 3Digital Assistant, PDA) and other electronic devices. In summary, the present invention is a method for detecting the displacement of two fingers on a plane by a single sensing axis, which can effectively improve various disadvantages of the conventional use, and only needs two touch points on the one-dimensional slider, and can be sensed by one dimension. Quickly detecting the zooming action of the user's two fingers on the touch panel on the same sensing axis, and knowing that the two finger systems are moving toward or away from each other, and having the characteristics of high processing speed and improved computing speed, and further The invention of the present invention can be made more progressive, more practical, and more in line with the needs of the user. 201025089, it has indeed met the requirements of the invention, and the acid is legally filed according to the law, but only the above is only the preferred implementation of the present invention. For example, the scope of the present invention is not limited thereto; therefore, the simple equivalent changes made in accordance with the scope of the invention and the contents of the invention are still within the scope of the invention. . BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic view showing the operation flow of the present invention. Figure 2 is a schematic view of a preferred embodiment of the present invention. Figure 2A is a schematic view of a preferred embodiment of the present invention. Figure 2B is a schematic view of a second preferred embodiment of the present invention. Figure 3 is a schematic view of another preferred embodiment of the present invention. Figure 4 is a schematic view of a conventional touch panel. [Main component symbol description] ❹ Step (A) Collect touch points 丄丄 Step (B) Identify relative position 1 2 Step (C) Detect two finger movement states 1 3