TWI720605B - Method for recognizing the pressure of touch parts - Google Patents

Method for recognizing the pressure of touch parts Download PDF

Info

Publication number
TWI720605B
TWI720605B TW108131909A TW108131909A TWI720605B TW I720605 B TWI720605 B TW I720605B TW 108131909 A TW108131909 A TW 108131909A TW 108131909 A TW108131909 A TW 108131909A TW I720605 B TWI720605 B TW I720605B
Authority
TW
Taiwan
Prior art keywords
touch
range
pressure
point
interface
Prior art date
Application number
TW108131909A
Other languages
Chinese (zh)
Other versions
TW202111493A (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 TW108131909A priority Critical patent/TWI720605B/en
Application granted granted Critical
Publication of TWI720605B publication Critical patent/TWI720605B/en
Publication of TW202111493A publication Critical patent/TW202111493A/en

Links

Images

Abstract

本發明提供一種辨識觸控件壓力的方法,包含下列步驟:判斷一觸控件在一觸控介面是否產生一觸控範圍,其中該觸控範圍包含複數掃描點;計算該觸控範圍內各掃描點之一感測量,並換算成一觸控能量體積;換算該觸控能量體積,產生一壓力資料;根據該壓力資料模擬不同筆觸;本發明透過取得該壓力資料以輸出對應線條的粗細,無須主動式觸控筆即能模擬鉛筆的筆觸。The present invention provides a method for recognizing the pressure of a touch element, including the following steps: determining whether a touch element generates a touch range on a touch interface, wherein the touch range includes a plurality of scanning points; calculating each scanning point in the touch range A sense of measurement and conversion into a touch energy volume; conversion of the touch energy volume to generate a pressure data; according to the pressure data to simulate different strokes; the present invention obtains the pressure data to output the thickness of the corresponding line without active The stylus can simulate the strokes of a pencil.

Description

辨識觸控件壓力的方法Method for recognizing the pressure of touch parts

一種辨識觸控件壓力的方法,尤其是指一種在觸控面板中根據觸控件壓力模擬不同筆觸的方法。 A method for recognizing the pressure of a touch element, especially refers to a method of simulating different strokes according to the pressure of the touch element in a touch panel.

由於現今的手機、平板等觸控式行動裝置技術越發純熟,有越來越多人使用具有觸控式螢幕的產品,除了手機、平板等小尺寸螢幕的設備,到50、60吋的大尺寸螢幕皆有觸控功能,更添便利性。在觸控面板的發展過程當中,除了功能上越來越人性化,將觸控面板作為書寫、繪畫的工具也成為一項重要的發展方向。 As the technology of touch-sensitive mobile devices such as mobile phones and tablets is becoming more and more sophisticated, more and more people use products with touch-sensitive screens, except for devices with small screens such as mobile phones and tablets, to large sizes of 50 and 60 inches. The screens all have touch functions for added convenience. In the development process of touch panels, in addition to more and more humane functions, using touch panels as tools for writing and painting has also become an important development direction.

觸控面板能以數位的方式儲存在面板上所做的書寫、繪畫、素描,無論是儲存文字、繪畫檔或是將文字、繪畫檔傳送至其他裝置,皆比傳統的紙張紀錄更為便利。但為了能在觸控面板上進行如同握著鉛筆在紙張寫作、作畫的體驗,必須使用主動式的觸控筆或是觸控用品,藉由觸控筆中的三軸陀螺儀或是電容輸出、感應元件,與觸控面板進行連結及資訊交換,在觸控筆的傾角或是壓力有所變化下將變化的資訊主動傳輸至觸控面板,由觸控面板之處理器運算對應結果後輸出使用者想要的筆觸。因此,為在現有的觸控面板上模擬出例如鉛筆、毛筆的筆觸,必須使用主動式觸控用品,而主動式觸控用品的生產成本較高,因此使用成本增加,同時必須事先配對觸控用品與觸控面板,且觸控面板必須具有高強度的運算功能才能提供即時且精確的筆觸,不僅設計 的成本大幅增加,使用者所遇到的麻煩程度也會提升。而主動式觸控用品通常內建有電池以主動運算壓力大小,更需負擔耗電的成本。 The touch panel can digitally store the writing, drawing, and sketching made on the panel. Whether it is storing text or drawing files or sending text or drawing files to other devices, it is more convenient than traditional paper records. But in order to have the experience of writing and drawing on paper like holding a pencil on the touch panel, you must use an active stylus or touch products, through the three-axis gyroscope or capacitor in the stylus The output and sensor components are connected and exchanged with the touch panel. When the inclination or pressure of the stylus changes, the changed information is actively transmitted to the touch panel. The processor of the touch panel calculates the corresponding result. Output the strokes the user wants. Therefore, in order to simulate the strokes of pencils and brushes on the existing touch panels, active touch products must be used, and the production cost of active touch products is higher, so the cost of use increases, and the touch controls must be paired in advance. Supplies and touch panels, and the touch panel must have high-intensity computing functions to provide real-time and precise strokes, not only the design The cost of the device has increased significantly, and the trouble level encountered by the user will also increase. Active touch products usually have a built-in battery to actively calculate the pressure level, and they also need to bear the cost of power consumption.

為減少使用觸控用品的成本負擔及增加使用便利性,本發明提出一種辨識觸控件壓力的方法,藉由計算觸控件的壓力並輸出對應粗細的線條,採用被動式觸控元件即能體驗鉛筆的筆觸,減少使用成本。 In order to reduce the cost burden of using touch products and increase the convenience of use, the present invention proposes a method for recognizing the pressure of a touch element. By calculating the pressure of the touch element and outputting corresponding thick and thin lines, the passive touch element can be used to experience the pencil's Brush strokes reduce the cost of use.

為達成上述目的,本發明提供辨識觸控件壓力的方法,係由一具有一觸控介面的觸控裝置及一觸控件執行;該方法包含:判斷該觸控介面是否產生一觸控範圍,其中該觸控範圍包含複數掃描點;計算該觸控範圍內各掃描點之一感測量,並換算成一觸控能量體積;換算該觸控能量體積,產生一壓力資料;根據該壓力資料模擬不同筆觸。 To achieve the above object, the present invention provides a method for identifying the pressure of a touch element, which is executed by a touch device having a touch interface and a touch element; the method includes: determining whether the touch interface generates a touch range, wherein The touch range includes a plurality of scanning points; a sensory measurement of each scanning point in the touch range is calculated and converted into a touch energy volume; the touch energy volume is converted to generate a pressure data; different strokes are simulated according to the pressure data .

本發明可計算該觸控件對該觸控介面施加的壓力,換算成鉛筆等用筆之筆觸,以模擬線條的顏色深淺,在模擬鉛筆的觸感上更加近似。 The present invention can calculate the pressure exerted by the touch element on the touch interface, and convert it into a pen stroke such as a pencil to simulate the color depth of the line, which is more similar to the touch feeling of a simulated pencil.

本發明更包含下列步驟:計算該觸控範圍之一報點位置;計算該觸控範圍內各掃描點與該報點位置之一基礎距離,並取得一最大距離,其中該最大距離為距離該報點位置最遠之一最遠掃描點與該報點位置之間的距離;根據該最大距離計算該觸控件的傾角;根據該觸控件的傾角及該壓力資料模擬不同筆觸。 The present invention further includes the following steps: calculating a position of a report point in the touch range; calculating a basic distance between each scanning point in the touch range and the position of the report point, and obtaining a maximum distance, wherein the maximum distance is the distance from the report point The distance between one of the farthest scan points of the point position and the reported point position; the inclination angle of the touch element is calculated according to the maximum distance; different strokes are simulated according to the inclination angle of the touch element and the pressure data.

本發明利用在該觸控範圍中取得的該報點位置及該基礎距離,計算出該最大距離,藉由該最大距離轉換成該觸控件的傾角,該觸控介面根據 該傾角輸出粗細不同的線條,使用者透過手指或被動式觸控筆等觸控件操作該觸控裝置時,能藉由調整觸控件與該觸控裝置的傾斜角度模擬出使用鉛筆在該觸控裝置操作的手感,無論是在寫字或是素描,皆能體驗到如同鉛筆書寫般粗細有致的筆法。 The present invention uses the reported point position and the basic distance obtained in the touch range to calculate the maximum distance, and converts the maximum distance into the inclination angle of the touch element. The touch interface is based on The inclination angle outputs lines with different thicknesses. When the user operates the touch device through a touch device such as a finger or a passive stylus, he can simulate the use of a pencil on the touch device by adjusting the inclination angle of the touch device and the touch device. The feel of the operation, whether you are writing or sketching, you can experience the thick and thin strokes like pencil writing.

更進一步,本案可藉由應用程式的方式在該觸控裝置中執行,使用者可直接下載本案的應用程式並在該觸控裝置操作,僅需使用被動式觸控用品即能體驗鉛筆的書寫觸感,無須另外購買主動式電容筆等設備,也不須改良原有的該觸控裝置結構,使用上簡單且通用。 Furthermore, this project can be executed on the touch device by means of an application. The user can directly download the application of this project and operate on the touch device, and only need to use passive touch products to experience the writing touch of the pencil. There is no need to purchase additional equipment such as active capacitive pens, and there is no need to modify the original structure of the touch device, which is simple and versatile in use.

10:觸控介面 10: Touch interface

20,20A,20B:觸控件 20, 20A, 20B: touch parts

30,30A,30B,30C,30D:觸控範圍 30, 30A, 30B, 30C, 30D: touch range

31:報點位置 31: Report position

32,32’:最遠掃描點 32,32’: the farthest scan point

D1,D2,D3:最大距離 D1, D2, D3: Maximum distance

41~46:觸控能量體積 41~46: Touch energy volume

50,51,52,53,50A,50B:寬筆範圍 50, 51, 52, 53, 50A, 50B: wide pen range

圖1:本發明之觸控件對應觸控範圍示意圖。 Figure 1: A schematic diagram of the touch range corresponding to the touch element of the present invention.

圖2:本發明之各壓力值對應觸控能量體積之示意圖。 Figure 2: A schematic diagram of the touch energy volume corresponding to each pressure value of the present invention.

圖3:本發明之第一較佳實施例步驟流程圖。 Figure 3: A flowchart of the steps of the first preferred embodiment of the present invention.

圖4:本發明之第二較佳實施例步驟流程圖。 Figure 4: A flowchart of the steps of the second preferred embodiment of the present invention.

圖5:本發明之各觸控範圍對應最大距離示意圖。 Fig. 5: A schematic diagram of the maximum distance corresponding to each touch range of the present invention.

圖6:本發明之各傾角對應最大距離示意圖。 Fig. 6: A schematic diagram of the maximum distance corresponding to each inclination angle of the present invention.

圖7A~7C:本發明之各傾角對應線條粗細示意圖。 Figures 7A-7C: schematic diagrams of line thickness corresponding to each inclination angle of the present invention.

圖8:本發明之根據方向角輸出寬筆筆觸之示意圖。 Fig. 8: A schematic diagram of outputting wide pen strokes according to the direction angle of the present invention.

本發明提供一種辨識觸控件壓力的方法,係由一具有一觸控介面10的一觸控裝置及一觸控件20執行。本案係透過計算該觸控件20與該觸控介面10接觸的觸控範圍內各掃描點的感測量,換算該觸控件20在該觸控介面10施加的壓力,當使用該觸控件20在該觸控介面10上寫字、繪圖時,令該觸控介面 10可根據該觸控件20的壓力換算字跡、線條的粗細,能在使用被動式用品時模擬出鉛筆的筆觸。該觸控件可為20被動式電容筆、手指等被動裝置。 The present invention provides a method for recognizing the pressure of a touch element, which is executed by a touch device having a touch interface 10 and a touch element 20. In this case, by calculating the sensory measurement of each scanning point in the touch range where the touch element 20 is in contact with the touch interface 10, the pressure applied by the touch element 20 on the touch interface 10 is calculated. When the touch element 20 is used in the touch interface 10, When writing or drawing on the touch interface 10, make the touch interface 10 According to the pressure of the touch element 20, the thickness of the handwriting and the line can be converted, and the stroke of a pencil can be simulated when using passive products. The touch element can be 20 passive capacitive pens, fingers and other passive devices.

在本發明的第一較佳實施例中,係採用偵測該觸控件20壓力的方式進一步模擬近似鉛筆的手感。 In the first preferred embodiment of the present invention, the method of detecting the pressure of the touch element 20 is used to further simulate the feel of a pencil.

請參見圖1,該觸控件20在該觸控介面10碰觸時,會在該觸控介面10上產生由複數掃描點形成之一觸控範圍30,該觸控介面10計算該觸控範圍30內各掃描點的一感測量,並根據該觸控範圍30內各掃描點的感測量計算一觸控能量體積,在本較佳實施例中,該觸控能量體積為在該觸控範圍30中該些複數掃描點的感測量的總和。請進一步參見圖2,該觸控介面10根據該觸控能量體積計算該觸控件20施加的壓力,以產生一壓力資料,其中該觸控能量體積與該觸控件20施加的壓力呈正相關。如圖2所示,舉例而言,當該觸控件20施加的壓力較輕時,該觸控能量體積44較低;當該觸控件20施加的壓力較大時,該觸控能量體積變大,使該觸控能量體積45大於該觸控能量體積44;當該觸控件20施加的壓力更大時,該觸控能量體積更大,使該觸控能量體積46大於該觸控能量體積45。 Referring to FIG. 1, when the touch element 20 touches the touch interface 10, a touch range 30 formed by a plurality of scanning points is generated on the touch interface 10, and the touch interface 10 calculates the touch range A sense measurement of each scanning point within 30, and a touch energy volume calculated based on the sense measurement of each scanning point within the touch range 30. In the preferred embodiment, the touch energy volume is within the touch range The sum of the sensory measurements of these complex scan points in 30. Please further refer to FIG. 2, the touch interface 10 calculates the pressure applied by the touch element 20 according to the touch energy volume to generate a pressure data, wherein the touch energy volume is positively correlated with the pressure applied by the touch element 20. As shown in FIG. 2, for example, when the pressure applied by the touch element 20 is lighter, the touch energy volume 44 is lower; when the pressure applied by the touch element 20 is higher, the touch energy volume becomes larger , Make the touch energy volume 45 greater than the touch energy volume 44; when the pressure applied by the touch element 20 is greater, the touch energy volume is greater, so that the touch energy volume 46 is greater than the touch energy volume 45 .

承上,在步驟該觸控介面10藉由所計算的該壓力資料,進一步對應輸出顏色較深或較淺的線條。其中,該觸控件20施加的壓力與輸出線條的顏色深淺呈正相關,當該觸控件20施加的壓力越大,該觸控介面10根據該筆壓力資料輸出較深的線條;當該觸控件20施加的壓力越小,該觸控介面10輸出較淺的線條。 In addition, in the step, the touch interface 10 uses the calculated pressure data to further correspond to output lines with darker or lighter colors. Wherein, the pressure applied by the touch element 20 is positively correlated with the color intensity of the output line. When the pressure applied by the touch element 20 is greater, the touch interface 10 outputs a darker line according to the pen pressure data; when the touch element 20 The smaller the applied pressure is, the lighter lines are output from the touch interface 10.

請參見圖3,藉由以上說明,本發明之第一較佳實施例的步驟流程包含下列步驟: Referring to FIG. 3, based on the above description, the step flow of the first preferred embodiment of the present invention includes the following steps:

S101:判斷該觸控介面10是否產生該觸控範圍30,其中該觸控範圍30包含複數掃描點。 S101: Determine whether the touch interface 10 generates the touch range 30, wherein the touch range 30 includes a plurality of scanning points.

S102:計算該觸控範圍30內各掃描點之該感測量,並換算成該觸控能量體積。 S102: Calculate the sensory measurement of each scanning point in the touch range 30 and convert it into the touch energy volume.

S103:換算該觸控能量體積,產生一壓力資料。 S103: Convert the touch energy volume to generate a pressure data.

S104:根據該壓力資料模擬不同筆觸。 S104: Simulate different strokes according to the pressure data.

其中,在步驟S101中,該觸控件20觸控該觸控介面10時,該觸控裝置會判定該觸控件20與該觸控介面10接觸之處形成該觸控範圍30,其中該觸控範圍30包含複數掃描點。該觸控介面10預設有一預設門檻值。一般而言,該觸控裝置為防止手指或其他物件誤觸,會先掃描該觸控介面10上各處的掃描點,並判斷各掃描點的感測量,當有複數掃描點的感測量皆超過該預設門檻值時,該觸控介面10產生一觸控信號,並判定產生該觸控範圍30;當該些掃描點的感測量皆低於該預設門檻值時,該觸控介面10不產生該觸控信號。 Wherein, in step S101, when the touch element 20 touches the touch interface 10, the touch device determines that the touch area 30 is formed where the touch element 20 contacts the touch interface 10, wherein the touch Range 30 contains multiple sweep points. The touch interface 10 is preset with a preset threshold value. Generally speaking, in order to prevent false touches by fingers or other objects, the touch device first scans the scanning points on the touch interface 10 and determines the sensory measurement of each scanning point. When there are multiple scanning points, the sensory measurement is all When the predetermined threshold value is exceeded, the touch interface 10 generates a touch signal and determines that the touch range 30 is generated; when the sensory measurements of the scanning points are lower than the predetermined threshold value, the touch interface 10 The touch signal is not generated.

在步驟S102中,該觸控介面10計算該觸控範圍30內的各該掃描點的各該感測量,並換算成該觸控能量體積。其中,該感測量可為該觸控件20接觸該觸控介面10時,造成的電容變化量。 In step S102, the touch interface 10 calculates the sensory measurement of each scan point in the touch range 30, and converts it into the touch energy volume. Wherein, the sensory measurement may be the capacitance change caused by the touch element 20 contacting the touch interface 10.

在本發明的第二較佳實施例中,可更進一步根據該觸控件20的傾角模擬不同筆觸。 In the second preferred embodiment of the present invention, different strokes can be further simulated according to the inclination angle of the touch element 20.

如圖1所示,該觸控件20以不同的角度觸碰該觸控介面10時,該觸控範圍30的形狀也會隨之改變。例如圖1之該觸控件20A在垂直於該觸控介面10時,該觸控範圍30A近似於圓形;該觸控件20B與該觸控介面10成非垂直角度時,該觸控範圍30B近似於蛋形。 As shown in FIG. 1, when the touch element 20 touches the touch interface 10 at different angles, the shape of the touch area 30 will also change accordingly. For example, when the touch element 20A of FIG. 1 is perpendicular to the touch interface 10, the touch area 30A is approximately circular; when the touch element 20B and the touch interface 10 are at a non-perpendicular angle, the touch area 30B is approximately In the shape of an egg.

請參見圖4及圖5,本發明之方法更包含有以下步驟: Please refer to FIG. 4 and FIG. 5, the method of the present invention further includes the following steps:

S201:判斷該觸控介面10是否產生該觸控範圍30,其中該觸控範圍30包含複數掃描點。 S201: Determine whether the touch interface 10 generates the touch range 30, wherein the touch range 30 includes a plurality of scanning points.

S202:計算該觸控範圍30內各掃描點之感測量,並換算成該觸控能量體積,且判斷該觸控能量體積是否超過一有效值。 S202: Calculate the sensory measurement of each scanning point in the touch range 30 and convert it into the touch energy volume, and determine whether the touch energy volume exceeds an effective value.

S203:當該觸控能量體積超過該有效值,計算該觸控範圍30之一報點位置31。 S203: When the touch energy volume exceeds the effective value, calculate a point position 31 of the touch range 30.

S204:計算該觸控範圍30內各掃描點與該報點位置31之一基礎距離,並取得一最大距離,其中該最大距離為距離該報點位置31最遠之一最遠掃描點與該報點位置31之間的距離。 S204: Calculate a basic distance between each scan point in the touch range 30 and the report point position 31, and obtain a maximum distance, where the maximum distance is one of the farthest scan points from the report point position 31 and the The distance between reporting points 31.

S205:根據該最大距離計算該觸控件20的傾角。 S205: Calculate the inclination angle of the touch element 20 according to the maximum distance.

S206:根據該觸控件20的傾角模擬不同筆觸。 S206: Simulate different strokes according to the inclination angle of the touch element 20.

在步驟S203中,該觸控介面10會判斷該觸控範圍30的產生是屬於使用者的正常操作,或是屬於使用者或其他外力不慎觸碰的誤動作。其方法為,若該觸控能量體積超過該有效值時,該觸控介面10判定此為有效操作,並計算該觸控範圍30之該報點位置31。其中,該報點位置31為一個點,代表在該觸控介面10點選的實際位置;該報點位置31由該複數掃描點經演算法運算後取得,例如將該複數掃描點最密集處計算為該報點位置31,或是將在該觸控範圍30中具有最大感測量的掃描點的位置計算為該報點位置31。由於該報點位置31的取得方式屬於習知技術,在此不贅述。 In step S203, the touch interface 10 determines whether the generation of the touch range 30 is a normal operation of the user, or a malfunction caused by the user or other external forces accidentally touching. The method is that if the touch energy volume exceeds the effective value, the touch interface 10 determines that this is a valid operation, and calculates the report point position 31 of the touch range 30. Wherein, the report point position 31 is a point, which represents the actual position clicked on the touch interface 10; the report point position 31 is obtained from the plural scanning points through an algorithm calculation, for example, where the plural scanning points are densest It is calculated as the reporting point position 31, or the position of the scanning point with the largest sensing measurement in the touch range 30 is calculated as the reporting point position 31. Since the method of obtaining the reporting point position 31 belongs to the conventional technology, it will not be repeated here.

若該觸控能量體積低於該有效值,該觸控介面10判定此為無效操作並不運作,確保該觸控裝置不會因被誤觸或雜訊而運作。 If the touch energy volume is lower than the effective value, the touch interface 10 determines that this is an invalid operation and does not operate, so as to ensure that the touch device will not operate due to accidental touch or noise.

在步驟S204中,確認為有效操作後,該觸控介面10進一步計算各掃描點與該報點位置31的該基礎距離。由於該觸控範圍30係由多個掃描點所形成,因此該觸控範圍30內的每一掃描點與該報點位置31的距離皆不相同。該觸控介面10接著根據該複數基礎距離取得該最大距離,其中,該最大距離由該 基礎距離中數值最大所獲得,代表在該觸控範圍30中,該最遠掃描點32距離該報點位置31最遠之距離。 In step S204, after confirming that it is a valid operation, the touch interface 10 further calculates the basic distance between each scanning point and the reporting point position 31. Since the touch range 30 is formed by a plurality of scanning points, the distance between each scanning point in the touch range 30 and the reporting point position 31 is different. The touch interface 10 then obtains the maximum distance according to the plural basic distances, where the maximum distance is determined by the The largest value in the basic distance is obtained, which represents the farthest distance between the farthest scanning point 32 and the reporting point position 31 in the touch range 30.

如圖5所示,該觸控範圍30代表該觸控件20垂直於該觸控介面10的態樣,因此該觸控範圍30近似於圓形,該最大距離D1可視為圓形的半徑;該觸控範圍30C代表該觸控件20傾斜於該觸控介面10的態樣,因此該觸控範圍30C近似於蛋形,該最大距離D2為該報點位置31至該最遠掃描點32;該觸控範圍30D代表該觸控件20更加傾斜於該觸控介面10的態樣,該最大距離D3為該報點位置31至該最遠掃描點32’。 As shown in FIG. 5, the touch range 30 represents the state where the touch element 20 is perpendicular to the touch interface 10, so the touch range 30 is approximately circular, and the maximum distance D1 can be regarded as the radius of the circle; The touch range 30C represents the state where the touch element 20 is inclined to the touch interface 10, so the touch range 30C is approximately egg-shaped, and the maximum distance D2 is from the reporting point position 31 to the farthest scanning point 32; The touch range 30D represents the state where the touch element 20 is more inclined to the touch interface 10, and the maximum distance D3 is from the report point position 31 to the farthest scanning point 32'.

請參見圖6,在步驟S205中,該觸控介面10根據該最大距離換算該觸控件20的傾角。該觸控介面10預先儲存一對照清單,該對照清單包含不同的該最大距離所對應之複數傾角資料,各傾角資料代表該觸控件20相對於該觸控介面10的水平面之間的夾角。舉例而言,如圖6所示,當該最大距離D1為1cm,該觸控能量體積41為一般值,代表該觸控件20垂直於該觸控介面10的水平面;當該最大距離D2為1.5cm,該觸控能量體積42大於該觸控能量體積41,代表該觸控件20以45°傾斜於該觸控介面10的水平面;當該最大距離D3為2cm,該觸控能量體積43大於該觸控能量體積42,代表該觸控件20以10°傾斜於該觸控介面10的水平面。 Referring to FIG. 6, in step S205, the touch interface 10 converts the inclination angle of the touch element 20 according to the maximum distance. The touch interface 10 stores a comparison list in advance. The comparison list includes a plurality of inclination angle data corresponding to different maximum distances, and each inclination angle data represents the angle between the touch element 20 and the horizontal plane of the touch interface 10. For example, as shown in FIG. 6, when the maximum distance D1 is 1 cm, the touch energy volume 41 is a normal value, which represents that the touch element 20 is perpendicular to the horizontal plane of the touch interface 10; when the maximum distance D2 is 1.5 cm, the touch energy volume 42 is greater than the touch energy volume 41, which represents that the touch element 20 is inclined at 45° to the horizontal plane of the touch interface 10; when the maximum distance D3 is 2 cm, the touch energy volume 43 is greater than the The touch energy volume 42 represents that the touch element 20 is inclined at 10° to the horizontal plane of the touch interface 10.

請參見圖7A~7C,在步驟S206中,該觸控介面10根據不斷取得的該複數傾角資料輸出一寬筆範圍,該寬筆範圍代表不同粗細的線條。舉例而言,該傾角資料與輸出的線條成反比,當傾角資料的值越小,代表該觸控件20與該觸控介面10的水平面之間的夾角越小,該寬筆範圍較寬,輸出的線條越粗;當傾角資料的值越大,代表該觸控件20與該觸控介面10的水平面之間的夾角越大,該寬筆範圍較窄,輸出的線條越細。如圖7A所示,當該觸控件20以垂直於該觸控介面10的方式書寫、作畫時,該觸控介面10輸出的該寬筆範圍51較 細;如圖7B所示,當該觸控件20以45°傾斜於該觸控介面10的水平面方式書寫、作畫時,該觸控介面10輸出的該寬筆範圍52較粗;如圖7C所示,當該觸控件20以10°傾斜於該觸控介面10的水平面的方式操作,該觸控介面10輸出的該寬筆範圍53更粗,藉此模擬出如同鉛筆的筆觸。 Referring to FIGS. 7A-7C, in step S206, the touch interface 10 outputs a wide pen range according to the continuously obtained plural inclination data, and the wide pen range represents lines of different thicknesses. For example, the inclination data is inversely proportional to the output line. When the value of the inclination data is smaller, it means that the angle between the touch element 20 and the horizontal plane of the touch interface 10 is smaller, the wide pen range is wider, and the output is The thicker the line is; the larger the value of the inclination data, the larger the angle between the touch element 20 and the horizontal plane of the touch interface 10, the narrower the wide pen range, and the thinner the output line. As shown in FIG. 7A, when the touch element 20 writes or draws in a manner perpendicular to the touch interface 10, the wide pen range 51 output by the touch interface 10 is larger. As shown in FIG. 7B, when the touch element 20 is inclined at 45° to the horizontal plane of the touch interface 10 to write or draw, the wide pen range 52 output by the touch interface 10 is relatively thick; FIG. 7C As shown, when the touch element 20 is operated at a 10° tilt to the horizontal plane of the touch interface 10, the wide pen range 53 output by the touch interface 10 is thicker, thereby simulating a stroke like a pencil.

在本發明的第三較佳實施例中,可藉由該觸控件20的方向角模擬近似螢光筆或麥克筆等寬筆的筆觸。請參見圖8,該觸控介面10可偵測該報點位置31指向該最遠掃描點32的方向以取得該觸控件20傾斜的一方向角,並根據該方向角輸出寬筆的筆觸。而該寬筆筆觸的一寬度方向與該方向角平行。 In the third preferred embodiment of the present invention, the direction angle of the touch element 20 can be used to simulate the strokes of a pen similar to a highlight pen or a marker pen. Referring to FIG. 8, the touch interface 10 can detect the direction in which the report point 31 points to the farthest scanning point 32 to obtain a direction angle of the inclination of the touch element 20, and output a wide pen stroke according to the direction angle. A width direction of the wide brush stroke is parallel to the direction angle.

為方便說明,茲定義該觸控介面10向圖8左右的方向為X軸方向,該觸控介面10向圖7上下的方向為Y軸方向,且該方向角即為與正X軸的夾角。以右上角的該觸控範圍30為例,該觸控介面10偵測該報點位置31至該最遠掃描點32的方向朝向該X軸方向,判斷該觸控件20向X軸0°方向傾斜且該方向角為0°。當該觸控件20接觸該觸控介面10並朝該Y軸方向上下移動時,該觸控介面10輸出一寬筆範圍50,以模擬出麥克筆或是螢光筆般線條較寬的筆觸。 For the convenience of description, the direction of the touch interface 10 to the left and right of FIG. 8 is defined as the X-axis direction, and the direction of the touch interface 10 to the top and bottom of FIG. 7 is the Y-axis direction, and the direction angle is the included angle with the positive X-axis. . Taking the touch range 30 in the upper right corner as an example, the touch interface 10 detects that the direction from the reporting point 31 to the farthest scanning point 32 is facing the X-axis direction, and it is determined that the touch element 20 is 0° toward the X-axis Tilt and the direction angle is 0°. When the touch element 20 touches the touch interface 10 and moves up and down in the Y-axis direction, the touch interface 10 outputs a wide pen range 50 to simulate a pen stroke with a wide line like a microphone pen or a highlight pen.

以右下角的該觸控範圍30B為例,該觸控介面10偵測該報點位置31至該最遠掃描點32朝向X軸315°的方向(-45°),判斷該觸控件20向X軸315°方向傾斜且該方向角為315°(-45°)。當該觸控件20接觸該觸控介面10並朝XY座標軸的第一象限及第三象限來回移動時,該觸控介面10輸出該寬筆範圍50A。 Taking the touch range 30B in the lower right corner as an example, the touch interface 10 detects the reporting point 31 to the farthest scanning point 32 facing the X-axis direction of 315° (-45°), and determines the direction of the touch element 20 The X axis is inclined at 315° and the direction angle is 315° (-45°). When the touch element 20 contacts the touch interface 10 and moves back and forth toward the first and third quadrants of the XY coordinate axis, the touch interface 10 outputs the wide pen range 50A.

以下方的該觸控範圍30E為例,該觸控介面10偵測該報點位置31至該最遠掃描點32朝向X軸270°的方向(-90°),判斷該觸控件20向X軸270°方向傾斜且該方向角為270°(-90°)。當該觸控件20接觸該觸控介面10並朝X軸方向左右移動時,該觸控介面10輸出該寬筆範圍50B。 Take the following touch range 30E as an example. The touch interface 10 detects the position of the report point 31 to the farthest scanning point 32 facing the X axis 270° (-90°), and determines that the touch element 20 is in the X direction. The axis is inclined at 270° and the direction angle is 270° (-90°). When the touch element 20 contacts the touch interface 10 and moves left and right in the X-axis direction, the touch interface 10 outputs the wide pen range 50B.

本發明以計算該觸控件20壓力及傾角的方式輸出對應粗細的線條,盡可能模擬出近似鉛筆觸感的筆法,可取代成本較高的主動式觸控用品, 使用被動式用品即能體驗鉛筆的筆觸。另外,本發明可進一步採用壓力偵測的方式,以計算該觸控件20壓力的方式,輸出對應顏色深淺的線條,更進一步模擬出近似鉛筆觸感的筆法,體驗效果更佳。 The present invention outputs corresponding thick and thin lines by calculating the pressure and inclination angle of the touch element 20, and simulates as much as possible the pen method similar to the touch of a pencil, which can replace the high-cost active touch products. You can experience the strokes of a pencil with passive supplies. In addition, the present invention may further adopt a pressure detection method to calculate the pressure of the touch element 20 to output lines corresponding to the color depth, and further simulate the pen method similar to the touch of a pencil, and the experience effect is better.

Claims (8)

一種辨識觸控件壓力的方法,係由一具有一觸控介面的觸控裝置及一觸控件執行,該方法包含:判斷該觸控介面是否產生一觸控範圍,其中該觸控範圍包含複數掃描點;計算該觸控範圍內各掃描點之一感測量,並換算成一觸控能量體積;換算該觸控能量體積,產生一壓力資料;計算該觸控範圍之一報點位置;計算該觸控範圍內各掃描點與該報點位置之一基礎距離,並取得一最大距離,其中該最大距離為距離該報點位置最遠之一最遠掃描點與該報點位置之間的距離;根據該最大距離計算該觸控件的傾角;根據該觸控件的傾角及該壓力資料模擬不同筆觸。 A method for recognizing the pressure of a touch element is executed by a touch device having a touch interface and a touch element. The method includes: determining whether the touch interface generates a touch range, wherein the touch range includes multiple scans Point; Calculate a sense measurement of each scanning point in the touch range and convert it into a touch energy volume; convert the touch energy volume to generate a pressure data; calculate the position of a reported point in the touch range; calculate the touch A basic distance between each scanning point in the range and the reporting point position, and obtaining a maximum distance, where the maximum distance is the distance between one of the farthest scanning points from the reporting point position and the reporting point position; The maximum distance calculates the inclination angle of the touch element; and simulates different strokes according to the inclination angle of the touch element and the pressure data. 如請求項1所述辨識觸控件壓力的方法,其中該觸控能量體積係該觸控範圍中該些複數掃描點的感測量的總和。 The method for recognizing the pressure of a touch element according to claim 1, wherein the touch energy volume is the sum of the sensory measurements of the plurality of scanning points in the touch range. 一種辨識觸控件壓力的方法,係由一具有一觸控介面的觸控裝置及一觸控件執行,該方法包含:判斷該觸控介面是否產生一觸控範圍,其中該觸控範圍包含複數掃描點;計算該觸控範圍內各掃描點之一感測量,並換算成一觸控能量體積;換算該觸控能量體積,產生一壓力資料;判斷該觸控能量體積是否超過一有效值;當該觸控能量體積超過該有效值,計算該觸控範圍之一報點位置;計算該觸控範圍內各掃描點與該報點位置之一基礎距離,並取得一最大距離,其中該最大距離為距離該報點位置最遠之一最遠掃描點與該報點位置之間的距離; 根據該最大距離計算該觸控件的傾角;根據該觸控件的傾角及該壓力資料模擬不同筆觸。 A method for recognizing the pressure of a touch element is executed by a touch device having a touch interface and a touch element. The method includes: determining whether the touch interface generates a touch range, wherein the touch range includes multiple scans Point; Calculate a sense measurement of each scanning point in the touch range and convert it into a touch energy volume; convert the touch energy volume to generate a pressure data; determine whether the touch energy volume exceeds an effective value; when the If the volume of touch energy exceeds the effective value, calculate the position of a report point in the touch range; calculate a basic distance between each scan point in the touch range and the position of the report point, and obtain a maximum distance, where the maximum distance is the distance The distance between the farthest one of the farthest scanning point of the report point and the position of the report point; Calculate the inclination angle of the touch element according to the maximum distance; simulate different strokes according to the inclination angle of the touch element and the pressure data. 如請求項3所述辨識觸控件壓力的方法,該觸控能量體積與該觸控件施加的壓力呈正相關。 According to the method for recognizing the pressure of a touch element as described in claim 3, the volume of touch energy is positively correlated with the pressure applied by the touch element. 如請求項3所述辨識觸控件壓力的方法,若該觸控能量體積低於該有效值,該觸控介面判定為無效操作,該觸控介面不作動。 According to the method for identifying the pressure of a touch element in claim 3, if the touch energy volume is lower than the effective value, the touch interface is determined as an invalid operation, and the touch interface does not act. 如請求項5所述辨識觸控件壓力的方法,該觸控介面預先儲存一對照清單,該對照清單包含不同的該最大距離所對應之傾角資料。 According to the method for recognizing the pressure of a touch element in claim 5, the touch interface pre-stores a comparison list, and the comparison list includes different inclination angle data corresponding to the maximum distance. 如請求項6所述辨識觸控件壓力的方法,該最大距離與該觸控件的傾角為正相關。 According to the method for identifying the pressure of a touch element as described in claim 6, the maximum distance is positively correlated with the inclination angle of the touch element. 如請求項6所述辨識觸控件壓力的方法,該觸控介面偵測該報點位置指向該最遠掃描點的方向以取得該觸控件傾斜的一方向角,並根據該方向角輸出寬筆的筆觸。According to the method for recognizing the pressure of a touch element as described in claim 6, the touch interface detects the direction in which the report point points to the farthest scanning point to obtain a direction angle of the touch element tilt, and outputs a wide pen according to the direction angle Brushstrokes.
TW108131909A 2019-09-04 2019-09-04 Method for recognizing the pressure of touch parts TWI720605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108131909A TWI720605B (en) 2019-09-04 2019-09-04 Method for recognizing the pressure of touch parts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108131909A TWI720605B (en) 2019-09-04 2019-09-04 Method for recognizing the pressure of touch parts

Publications (2)

Publication Number Publication Date
TWI720605B true TWI720605B (en) 2021-03-01
TW202111493A TW202111493A (en) 2021-03-16

Family

ID=76035697

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108131909A TWI720605B (en) 2019-09-04 2019-09-04 Method for recognizing the pressure of touch parts

Country Status (1)

Country Link
TW (1) TWI720605B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201324249A (en) * 2011-12-02 2013-06-16 Asustek Comp Inc Stylus
TWM474187U (en) * 2013-10-18 2014-03-11 Waltop Int Corp Stylus
TW201732508A (en) * 2016-03-08 2017-09-16 禾瑞亞科技股份有限公司 Stylus for providing incline angle and pointing axis and control method thereof
CN108027669A (en) * 2015-09-09 2018-05-11 微软技术许可有限责任公司 Pressure-sensitive stylus
TW201935197A (en) * 2018-02-06 2019-09-01 煥德科技股份有限公司 Processing method for touch control signal and stylus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201324249A (en) * 2011-12-02 2013-06-16 Asustek Comp Inc Stylus
TWM474187U (en) * 2013-10-18 2014-03-11 Waltop Int Corp Stylus
CN108027669A (en) * 2015-09-09 2018-05-11 微软技术许可有限责任公司 Pressure-sensitive stylus
TW201732508A (en) * 2016-03-08 2017-09-16 禾瑞亞科技股份有限公司 Stylus for providing incline angle and pointing axis and control method thereof
TW201935197A (en) * 2018-02-06 2019-09-01 煥德科技股份有限公司 Processing method for touch control signal and stylus

Also Published As

Publication number Publication date
TW202111493A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
US10234992B2 (en) Force-sensitive touch sensor compensation
US9477330B2 (en) Stylus tilt tracking with a digitizer
US20180181208A1 (en) Gesture Recognition Devices And Methods
TWI502459B (en) Electronic device and touch operating method thereof
US20160054831A1 (en) Capacitive touch device and method identifying touch object on the same
US9262012B2 (en) Hover angle
WO2018018624A1 (en) Gesture input method for wearable device, and wearable device
TWI606376B (en) Touch Sensor Device And Touch-Sensing Method With Error-Touch Rejection
WO2020047777A1 (en) Touch sensing method, touch chip, electronic device, and touch system
WO2021213274A1 (en) Method and apparatus for preventing false touch of mobile terminal, and computer device and storage medium
CN104298438B (en) Electronic installation and its touch operation method
TWI533181B (en) Optical touch sensing device and touch signal determination method thereof
US10318023B2 (en) Determining a position of an input object
TWI720605B (en) Method for recognizing the pressure of touch parts
TW201504929A (en) Electronic apparatus and gesture control method thereof
TWI602098B (en) Touch Sensor Device And Sensing Method For Touch Point
KR20170108764A (en) Method and mobile terminal for identifying touch pressure
TWI533225B (en) Method and device for identifying number of objects
WO2018098771A1 (en) Method for determining azimuthal angle or posture, touch input device, touch panel, and system
CN110570930B (en) Medical image sketching method and system based on tablet personal computer
TWI602099B (en) Capacitive Sensor Device And Detecting Method For A Touch event in A Conductive Matter Thereon
TWM528469U (en) Touch control system
TW201604755A (en) Capacitive finger navigation device with hybrid mode and operating method thereof
JP2016110249A (en) Spatial handwriting input system, spatial handwriting input method, and computer program
TW201324273A (en) Touch apparatus and touch panel