TWI740701B - Method for determining a touch event - Google Patents

Method for determining a touch event Download PDF

Info

Publication number
TWI740701B
TWI740701B TW109138323A TW109138323A TWI740701B TW I740701 B TWI740701 B TW I740701B TW 109138323 A TW109138323 A TW 109138323A TW 109138323 A TW109138323 A TW 109138323A TW I740701 B TWI740701 B TW I740701B
Authority
TW
Taiwan
Prior art keywords
signal
reference value
value
touch event
touch
Prior art date
Application number
TW109138323A
Other languages
Chinese (zh)
Other versions
TW202217533A (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 大陸商業成科技(成都)有限公司
Application granted granted Critical
Publication of TWI740701B publication Critical patent/TWI740701B/en
Publication of TW202217533A publication Critical patent/TW202217533A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/043Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using propagating acoustic waves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Electronic Switches (AREA)
  • Position Input By Displaying (AREA)

Abstract

A method for determining a touch event is provided, comprising using an ultrasonic sensor to sense a touch event and obtaining a feedback signal, wherein the feedback signal has a baseline value. Later, the feedback signal is compared to the baseline value to accordingly determine an updating process of the baseline value, wherein such updating process comprises triggering a counter to operate and recording its count times when the feedback signal is greater than the baseline value, and stop updating the baseline value when the count times exceed a preset number. Otherwise, continue updating the baseline value. As for the feedback signal not greater than the baseline value, reset the counter and update the baseline value directly. At last, a difference value between the feedback signal and the baseline value is taken to be compared with a preset threshold value, so as to determine if the touch event is valid. By employing the present invention, a much more accurate and precise result for determining a touch event is achieved.

Description

觸控事件的判斷方法Judgment method of touch event

本發明係有關於一種觸控事件的判斷方法,特別是一種適於超音波感測器,並可動態地根據其訊號回饋值與基準值的比較結果,來決定基準值是否進行更新之觸控事件的判斷方法。The present invention relates to a method for judging touch events, in particular to a touch that is suitable for ultrasonic sensors and can dynamically determine whether the reference value is updated based on the comparison result of the signal feedback value and the reference value. The judgment method of the event.

一般而言,感測器是一種能感受外在訊號的變化並按照一定規律轉換成可用輸出訊號的器件或裝置,通常包括有敏感元件與轉換元件等組成。舉例來說,觸控感測器可以接收觸頭(包括使用者之手指或者膠筆等)輸入訊號的刺激,並利用感測元件感知其壓力、熱能或紅外線的改變,以作出反應的輸出訊號。若舉電容式觸控為例,其結構主要由一片雙面鍍有透明導電薄膜的基材所構成,並在上電極上方覆蓋二氧化矽介電層,以上電極為感測用電極,操作使用時須對其施加電壓,以形成均勻電場,當手指由上方碰觸面板時,上透明電極與手指間產生足夠大的耦合電容,透過電容值的變化,從所產生的誘導電流來檢測其觸控點座標。不過,由於表面電容式觸控原則上無法偵測到多點觸控的事件,且準確率未達預期的良好,因此,取而代之的是,便有「超音波式觸控」技術的與之興起。Generally speaking, a sensor is a device or device that can sense changes in an external signal and convert it into a usable output signal according to a certain rule. It usually includes sensitive components and conversion components. For example, the touch sensor can receive the stimulus of the input signal from the contact (including the user's finger or the glue pen, etc.), and use the sensing element to sense the change of its pressure, heat or infrared to respond to the output signal . Taking capacitive touch as an example, its structure is mainly composed of a substrate coated with a transparent conductive film on both sides, and the upper electrode is covered with a silicon dioxide dielectric layer. The upper electrode is the electrode for sensing, and it is used for operation. A voltage must be applied to it to form a uniform electric field. When a finger touches the panel from above, a sufficiently large coupling capacitance is generated between the upper transparent electrode and the finger. Control point coordinates. However, because surface capacitive touch cannot detect multi-touch events in principle, and the accuracy is not as good as expected, so instead, there is the rise of "ultrasonic touch" technology. .

大抵而言,超音波式觸控技術已越發成熟且廣為應用,在應用於超音波式的觸控面板時,其係透過以單點發射超音波的方式,藉由計算其接收訊號的回饋值可以標定觸控點的座標。其原理在於,基於接觸指標物會吸收原始發射的超音波訊號造成訊號衰減,因此在接收端接收到的訊號已與未動作時不同,請配合參閱第1A圖與第1B圖所示,第1A圖係為超音波訊號發送端的訊號,第1B圖係為其訊號接收端的訊號,由該二個圖示比較可看出訊號振幅的縮小,之後,通過控制器及其韌體比對觸控前與觸控後的訊號衰減量,便可經計算後得出觸控點的精確位置。Generally speaking, ultrasonic touch technology has become more mature and widely used. When it is applied to ultrasonic touch panels, it transmits ultrasonic waves at a single point and calculates the feedback of the received signal. The value can be used to calibrate the coordinates of the touch point. The principle is that based on the contact indicator, the original transmitted ultrasonic signal will be absorbed and the signal will be attenuated. Therefore, the signal received at the receiving end is different from that when it is not operating. Please refer to Figure 1A and Figure 1B for cooperation. Figure 1A The picture shows the signal at the transmitting end of the ultrasonic signal. Picture 1B shows the signal at the receiving end. The comparison of the two pictures shows the reduction of the signal amplitude. After that, the controller and its firmware are compared before the touch control. With the signal attenuation after the touch, the precise position of the touch point can be obtained after calculation.

更進一步而言,超音波數位轉換值UDC(ultrasonic digital converter)係為一種將超音波類比電壓訊號經一類比數位轉換器轉換後所產生並輸出的數位值,可供後端處理器讀取並計算所用。請參閱第2圖所示,其係為一觸控事件(使用者之手指)發生前、及發生後其UDC數位值的變化示意圖。其中,如第2圖所示,可以明顯看出:在A1時間點時,觸控事件係被觸發,而在A2時間點時,觸控事件係被移除。當發生觸碰時,超音波感測器的UDC數位值會相對未發生觸碰時向下減少,以至超過軟體所設定的基準值時,則軟體觸發下一級電路作出反應。Furthermore, the UDC (ultrasonic digital converter) is a digital value generated and output after the ultrasonic analog voltage signal is converted by an analog-to-digital converter, which can be read and output by the back-end processor. Used for calculation. Please refer to Figure 2, which is a schematic diagram of the change of the UDC digital value before and after a touch event (user's finger) occurs. Among them, as shown in Figure 2, it can be clearly seen that at time A1, the touch event is triggered, and at time A2, the touch event is removed. When a touch occurs, the UDC digital value of the ultrasonic sensor will decrease downward relative to that when there is no touch. When it exceeds the reference value set by the software, the software triggers the next-level circuit to respond.

然而,以觸控韌體的常態來說,UDC的值會具有一個基準值(Baseline),以利用該基準值作為判斷是否為一觸控事件的發生。該基準值會在定義的範圍內每個幀(frame)進行定值更新,然而,一個觸控事件將會使UDC的變化量在一定的幀內超過韌體所設定的觸發事件閾值而觸發系統面的行為。不過,若是UDC的變化量非常的微小或者是緩慢地增加,像是受到溫度、濕度和接觸面積的大小的影響,那麼,在這樣的情況之下都將會使UDC該微小的變化量被融合到基準值的更新機制內,而導致觸控事件誤判,或使用者體驗上產生觸控不靈敏的狀況。請參見第3圖所示,其係說明了一個正常觸控與異常觸控的狀況。如圖所示,UDC的值係以實線所示,虛線所示則係為UDC的基準值。當ΔUDC= |UDC(current)-baseline| ,其中baseline為某個幀當下所對應的UDC基準值,UDC(current)為其對應之UDC數位值,當此ΔUDC大於韌體所設定的觸發事件閾值(finger EvtTH),則系統判定為一正常的觸控事件,如N1區間所示,並會自A3時間點判定觸發觸控事件,同時停止基準值的更新。然而,值得注意的是,如在N2區間內所示,當一使用者的手指或一觸頭是緩慢靠近且其接觸面積係逐漸加大,導致UDC的數值是持續增加的,此時該UDC的變化量(ΔUDC)便顯得非常的微小或者是呈現緩慢地增加,那麼在此情況下,該UDC極微小的變化量都有可能會被融合到原本基準值的更新機制內,而產生觸控事件誤判或不靈敏的結果,也就是N3區間所代表的異常觸控:ΔUDC過小導致系統韌體無法辨識的問題。However, in the normal state of the touch firmware, the UDC value will have a baseline, and the baseline can be used to determine whether a touch event has occurred. The reference value will be updated every frame within a defined range. However, a touch event will cause the UDC change in a certain frame to exceed the trigger event threshold set by the firmware to trigger the system Noodle behavior. However, if the change in UDC is very small or increases slowly, such as being affected by temperature, humidity and the size of the contact area, then under such circumstances, the small change in UDC will be merged. In the update mechanism of the reference value, the touch event may be misjudged, or the user may experience insensitive touch. Please refer to Figure 3, which illustrates a normal touch and abnormal touch condition. As shown in the figure, the value of UDC is shown by the solid line, and the value shown by the dashed line is the reference value of UDC. When ΔUDC= |UDC(current)-baseline|, where baseline is the UDC reference value corresponding to the current frame of a certain frame, and UDC(current) is its corresponding UDC digital value, when the ΔUDC is greater than the trigger event threshold set by the firmware (Finger EvtTH), the system determines that it is a normal touch event, as shown in the N1 interval, and will determine that the touch event is triggered from the A3 time point, and stop the update of the reference value at the same time. However, it is worth noting that, as shown in the N2 interval, when a user’s finger or a contact is slowly approaching and its contact area gradually increases, the value of UDC is continuously increasing. At this time, the UDC The change (ΔUDC) of UDC appears very small or appears to increase slowly. In this case, the very small change of UDC may be integrated into the original reference value update mechanism, resulting in touch The result of event misjudgment or insensitivity, which is the abnormal touch represented by the N3 interval: too small ΔUDC leads to the problem that the system firmware cannot be recognized.

有鑒於此,本發明人係有感於上述缺失之可改善,且依據多年來從事此方面之相關經驗,悉心觀察且研究之,並配合學理之運用,而提出一種設計新穎且有效改善上述缺失之本發明,其係揭露一種觸控事件的判斷方法,其具體之架構及實施方式將詳述於下。In view of this, the inventor feels that the above-mentioned deficiency can be improved, and based on years of relevant experience in this field, careful observation and research, and the use of scientific principles, propose a novel design and effectively improve the above-mentioned deficiency The present invention discloses a method for judging a touch event, and its specific structure and implementation will be described in detail below.

為解決習知技術存在的問題,本發明之一目的係在於提供一種觸控事件的判斷方法,其係針對現行的觸控判斷方法作一改良,相較於習知技術,此一創新之觸控事件的判斷方法係有助於提供較準確且精密的觸控判斷結果。In order to solve the problems existing in the conventional technology, one purpose of the present invention is to provide a method for judging touch events. The judgment method of the control event helps to provide a more accurate and precise touch judgment result.

本發明之又一目的係在於提供一種觸控事件的判斷方法,其係藉由採用UDC變化值作為UDC基準值是否進行更新的判斷機制,藉此限制UDC基準值的更新機制,如此一來,可有效解決先前技術中無法辨識微小的UDC變化值導致觸控不靈敏及系統誤判等缺失。Another object of the present invention is to provide a method for judging touch events, which uses the UDC change value as a judging mechanism for whether the UDC reference value is updated, thereby limiting the update mechanism of the UDC reference value. In this way, It can effectively solve the problems of insensitive touch and system misjudgment caused by the inability to recognize the tiny UDC change value in the prior art.

本發明之再一目的係在於提供一種觸控事件的判斷方法,利用此種判斷方法,即便使用者的手指或觸頭是緩慢的靠近觸發點,則仍可通過本發明所揭露的判斷方法成功辨識出該觸控事件,並回報為有效觸控,當廣泛應用於觸控產品及其領域時,確信可增進其產業效益與產業應用性。Another object of the present invention is to provide a method for judging touch events. With this judging method, even if the user's finger or contact is slowly approaching the trigger point, the judging method disclosed in the present invention can still be used successfully. Recognize the touch event and report it as an effective touch. When it is widely used in touch products and their fields, they are sure to improve their industrial benefits and industrial applicability.

鑒於以上,本發明係揭露一種觸控事件的判斷方法,其係包括以下步驟:In view of the above, the present invention discloses a method for judging touch events, which includes the following steps:

(1):通過一超音波感測器感測一觸控事件,並自該超音波感測器擷取一訊號回饋值,其中,所述的訊號回饋值係具有一基準值;(1): A touch event is sensed by an ultrasonic sensor, and a signal feedback value is captured from the ultrasonic sensor, wherein the signal feedback value has a reference value;

(2):將所述的訊號回饋值與基準值進行比較,以根據比較結果決定該基準值是否進行更新;以及(2): Compare the signal feedback value with the reference value to determine whether to update the reference value according to the comparison result; and

(3):所述的訊號回饋值與基準值之間係具有一差值,根據該差值與一預設臨界值進行比較,以判斷該觸控事件是否有效。(3): There is a difference between the signal feedback value and the reference value, and the difference is compared with a preset threshold value to determine whether the touch event is valid.

根據本發明實施例所揭露的判斷方法,其係適於所述的超音波感測器,該超音波感測器係電性耦接於一微處理器,使該觸控事件的判斷方法係由所述的微處理器執行。According to the judgment method disclosed in the embodiment of the present invention, it is suitable for the ultrasonic sensor, and the ultrasonic sensor is electrically coupled to a microprocessor, so that the method for judging the touch event is Executed by the described microprocessor.

在一實施例中,超音波感測器係包含一訊號發送單元、一訊號接收單元以及一訊號集成芯片,其中,訊號發送單元與訊號接收單元係電性耦接於該觸控事件的一觸發點,訊號發送單元係發送一原始訊號,該原始訊號係因該觸控事件產生衰減,使訊號接收單元輸出所述的訊號回饋值,以供訊號集成芯片傳輸至該微處理器進行處理。In one embodiment, the ultrasonic sensor includes a signal sending unit, a signal receiving unit, and a signal integrated chip, wherein the signal sending unit and the signal receiving unit are electrically coupled to a trigger of the touch event Point, the signal sending unit sends an original signal, the original signal is attenuated due to the touch event, so that the signal receiving unit outputs the signal feedback value for the signal integrated chip to transmit to the microprocessor for processing.

其中,所使用的訊號回饋值,較佳地係可為一UDC數位訊號。Among them, the signal feedback value used is preferably a UDC digital signal.

更進一步而言,根據本發明之一實施例,其中,在根據訊號回饋值與基準值的比較結果決定基準值是否進行更新的步驟之前,更包括:Furthermore, according to an embodiment of the present invention, before the step of determining whether to update the reference value according to the comparison result of the signal feedback value and the reference value, the method further includes:

(2a):判斷當該訊號回饋值大於該基準值時,觸發一計數器開始計數並記錄計數次數;以及(2a): Determine when the signal feedback value is greater than the reference value, trigger a counter to start counting and record the number of counts; and

(2b-1):當該計數次數超過一預設次數時,該基準值係停止進行更新。其中,所述的預設次數係可由使用者預先設定並儲存於微處理器中,惟本發明並不以為限。(2b-1): When the count number exceeds a preset number, the reference value stops updating. Wherein, the preset number of times can be preset by the user and stored in the microprocessor, but the present invention is not limited.

(2b-2):否則,當該計數器的計數次數並未超過所述的預設次數時,則該基準值係持續進行更新。(2b-2): Otherwise, when the count number of the counter does not exceed the preset number, the reference value is continuously updated.

另一方面而言,根據本發明之實施例,其中,在根據訊號回饋值與基準值的比較結果決定基準值是否進行更新的步驟之前,更包括:On the other hand, according to the embodiment of the present invention, before the step of determining whether to update the reference value according to the comparison result of the signal feedback value and the reference value, the method further includes:

(2c): 判斷當該訊號回饋值小於或等於該基準值時,將該計數器歸零,並直接進行該基準值的更新機制。(2c): Determine when the signal feedback value is less than or equal to the reference value, reset the counter to zero, and directly update the reference value.

之後,本發明續再根據訊號回饋值與基準值之間的差值與預設臨界值進行比較,以判斷觸控事件是否有效的步驟中,使用者同樣可預先設定好所述的預設臨界值並將其儲存於微處理器中,以供演算法判斷之用,惟本發明並不以為限。緣此,當訊號回饋值與基準值之間的差值係超過所設定好的預設臨界值時,則系統回報該觸控事件係被判斷為一有效觸控。否則,若訊號回饋值與基準值之間的差值係小於或等於該預設臨界值時,該觸控事件係被決定為一無效觸控,通過此演算法係再次經由超音波感測器重新擷取下一個訊號回饋值,以重啟上述流程。After that, the present invention continues to compare the difference between the signal feedback value and the reference value with the preset threshold to determine whether the touch event is valid. In the step of determining whether the touch event is valid, the user can also preset the preset threshold. The value is stored in the microprocessor for the judgment of the algorithm, but the present invention is not limited. Therefore, when the difference between the signal feedback value and the reference value exceeds the preset threshold, the system reports that the touch event is judged to be a valid touch. Otherwise, if the difference between the signal feedback value and the reference value is less than or equal to the preset threshold, the touch event is determined to be an invalid touch, and this algorithm is passed through the ultrasonic sensor again Re-acquire the next signal feedback value to restart the above process.

藉由此設計,本發明所揭露之觸控事件的判斷方法,自然可利用訊號回饋值與基準值之間差值的變化,作為判斷其基準值是否進行更新的判斷機制,相較於現有技藝僅能使用未經處理的基準值作為判斷是否觸發的標準,本發明可動態地根據訊號回饋值與基準值之間差值的變化,來決定基準值的更新機制,在使用者的手指或觸頭是緩慢的靠近觸發點,抑或是訊號回饋值與基準值之間差值過小的情況下,皆可達到精確的觸控判斷結果,有效改善現有技術所存在之諸多缺失。With this design, the method for judging touch events disclosed in the present invention can naturally use the change in the difference between the signal feedback value and the reference value as a judging mechanism for judging whether the reference value is updated. Compared with the existing technology Only the unprocessed reference value can be used as the criterion for judging whether to trigger. The present invention can dynamically determine the update mechanism of the reference value according to the change of the difference between the signal feedback value and the reference value. When the head is slowly approaching the trigger point, or the difference between the signal feedback value and the reference value is too small, an accurate touch judgment result can be achieved, which effectively improves many deficiencies in the prior art.

底下藉由具體實施例配合所附的圖式詳加說明,當更容易瞭解本發明之目的、技術內容、特點及其所達成之功效。The following detailed descriptions are provided with specific embodiments and accompanying drawings, so that it is easier to understand the purpose, technical content, characteristics and effects of the present invention.

以上有關於本發明的內容說明,與以下的實施方式係用以示範與解釋本發明的精神與原理,並且提供本發明的專利申請範圍更進一步的解釋。有關本發明的特徵、實作與功效,茲配合圖式作較佳實施例詳細說明如下。The above description of the content of the present invention, and the following embodiments are used to demonstrate and explain the spirit and principle of the present invention, and provide a further explanation of the patent application scope of the present invention. With regard to the features, implementation and effects of the present invention, preferred embodiments are described in detail as follows in conjunction with the drawings.

為了有效解決先前技術所提,由於UDC極微小的變化量都有可能會被融合到原本基準值的更新機制內,導致系統韌體無法辨識,而產生觸控事件誤判或不靈敏的異常觸控結果;本發明遂針對此等缺失提出一種較佳的改良設計,其係為一種觸控事件的判斷方法。其中,為了能更佳地理解本發明所述之技術內容,請一併參閱第4至6圖所示,其中,第4圖係為執行本發明所公開之判斷方法的一具體架構示意圖,第5圖及第6圖係為根據本發明實施例所述之判斷方法的步驟流程圖,以下本發明將據此進行詳細之說明如後。 In order to effectively solve the problem mentioned in the previous technology, the extremely small changes of UDC may be integrated into the original update mechanism of the reference value, resulting in the system firmware being unable to recognize, resulting in misjudgment of touch events or insensitive abnormal touch As a result, the present invention proposes a better improved design for these deficiencies, which is a method for judging touch events. Among them, in order to better understand the technical content of the present invention, please refer to Figures 4 to 6 together, where Figure 4 is a schematic diagram of a specific architecture for executing the judgment method disclosed in the present invention. Figures 5 and 6 are flowcharts of the steps of the judgment method according to an embodiment of the present invention, and the present invention will be described in detail below based on this.

根據本發明之實施例,其中,超音波感測器10係電性耦接於一微處理器20,並且,超音波感測器10係包含一訊號發送單元102、一訊號接收單元104以及一訊號集成芯片106。其中,訊號發送單元102與訊號接收單元104係電性耦接於一觸控事件的觸發點12,該觸控事件例如可以為使用者之手指、膠筆或其他可觸發訊號的觸頭等等,但不以此等為限。訊號發送單元102係發送一原始訊號,該原始訊號係因上述所言的觸控事件而產生衰減,之後,訊號接收單元104係接收衰減後的訊號,並輸出一訊號回饋值,以供訊號集成芯片106傳輸至微處理器20進行處理。本發明所公開之觸控事件的判斷方法,其係由該微處理器20所執行,以在判斷完成後進一步觸發系統層級30進行反應。 According to the embodiment of the present invention, the ultrasonic sensor 10 is electrically coupled to a microprocessor 20, and the ultrasonic sensor 10 includes a signal transmitting unit 102, a signal receiving unit 104, and a Signal integrated chip 106. Among them, the signal sending unit 102 and the signal receiving unit 104 are electrically coupled to the trigger point 12 of a touch event. The touch event may be, for example, a user's finger, a glue pen, or other contacts that can trigger a signal, etc. , But not limited to this. The signal sending unit 102 sends an original signal that is attenuated due to the aforementioned touch event. After that, the signal receiving unit 104 receives the attenuated signal and outputs a signal feedback value for signal integration The chip 106 is transferred to the microprocessor 20 for processing. The method for judging touch events disclosed in the present invention is executed by the microprocessor 20 to further trigger the system level 30 to react after the judgment is completed.

以下,我們將針對本發明觸控事件的判斷方法進行更詳盡的說明,請配合參閱第5圖所示之流程圖,本判斷方法首先執行步驟S501,其係通過第4圖中的超音波感測器10感測一觸控事件,並擷取其訊號回饋值。根據本發明之實施例,其中所取得的訊號回饋值係定義為一UDC數位訊號,詳細而言,其係為一超音波類比電壓訊號經由類比數位轉換器轉換後所產生並輸出的數位值。此UDC數位訊號係具有一基準值。 Hereinafter, we will give a more detailed description of the method for judging touch events of the present invention. Please refer to the flowchart shown in Fig. 5. The judgment method first executes step S501, which is based on the ultrasonic sensing in Fig. 4. The detector 10 senses a touch event and captures its signal feedback value. According to the embodiment of the present invention, the obtained signal feedback value is defined as a UDC digital signal. In detail, it is a digital value generated and output after an ultrasonic analog voltage signal is converted by an analog-to-digital converter. The UDC digital signal has a reference value.

之後,執行步驟S503,將該訊號回饋值(UDC)與其基準值(baseline value)進行比較,以根據比較結果決定基準值的更新機制。由於在現有技藝中,皆是直接使用未經過處理的基準值作為判斷是否觸發的標準,由此也產生了如前所述相當多的問題;有鑒於此,本發明所揭露的判斷方法之核心,乃是可動態地根據訊號回饋值與基準值的比較結果來決定基準 值的更新機制,也就是在此步驟503中,可動態地根據訊號回饋值與基準值的比較結果,來決定基準值是否進行更新。 After that, step S503 is executed to compare the UDC with its baseline value to determine the update mechanism of the baseline value according to the comparison result. Because in the prior art, the unprocessed reference value is directly used as the criterion for judging whether to trigger or not, which has also caused quite a few problems as mentioned above; in view of this, the core of the judging method disclosed in the present invention , It can dynamically determine the benchmark based on the comparison result of the signal feedback value and the benchmark value The value update mechanism, that is, in this step 503, it can dynamically determine whether to update the reference value based on the comparison result of the signal feedback value and the reference value.

最後,再執行步驟S505:依據該訊號回饋值與基準值之間的差值(△UDC)和一預設臨界值(finger EvtTH)進行比較,以判斷該觸控事件是否有效。其中,所述的差值△UDC係取為該訊號回饋值(UDC)與基準值(baseline value)間差值的絕對值,△UDC=|UDC-(baseline value)|。根據本發明之實施例,該預設臨界值係可預先設定並儲存於微處理器20中。當△UDC大於該預設臨界值,該觸控事件係被決定為一有效觸控。否則,若當△UDC小於或等於該預設臨界值時,則該觸控事件係被決定為一無效觸控,並再次回到步驟S501,以重新擷取下一個該訊號回饋值。 Finally, step S505 is performed again: comparing the difference (ΔUDC) between the signal feedback value and the reference value with a preset threshold (finger EvtTH) to determine whether the touch event is valid. Wherein, the difference △UDC is taken as the absolute value of the difference between the signal feedback value (UDC) and the baseline value (baseline value), △UDC=|UDC-(baseline value)|. According to an embodiment of the present invention, the predetermined threshold can be preset and stored in the microprocessor 20. When ΔUDC is greater than the preset threshold, the touch event is determined as a valid touch. Otherwise, if ΔUDC is less than or equal to the preset threshold, the touch event is determined to be an invalid touch, and step S501 is returned to again to retrieve the next signal feedback value.

以下,本發明續更進一步地針對步驟S503中所述:如何動態地根據訊號回饋值與基準值的比較結果,來決定基準值的更新機制,提供詳細說明,其係請配合參閱第6圖所公開之步驟所示。 Hereinafter, the present invention continues to further address the step S503: how to dynamically determine the update mechanism of the reference value according to the comparison result of the signal feedback value and the reference value, and provide a detailed description, please refer to Fig. 6 The steps of the disclosure are shown.

其中,步驟S601至步驟S603係如前述第5圖中的步驟S501,主要係在於從超音波感測器擷取到訊號回饋值(UDC),且該UDC數位訊號係有一基準值。之後,進入步驟S605,比較該訊號回饋值與其基準值,當訊號回饋值大於該基準值時,執行步驟S607:觸發一計數器開始計數,同時記錄其計數次數。其中,計數器的計算單位為幀,因此計數器係會根據每一個幀計算一次計數器,並且設定一區間去記錄其計數次數。根據本發明之一實施例,則在此步驟S607中,該計數器係開始累加。之後,在步驟S609中,判斷計數器的計數次數是否超過一系統的預設次數,其中,所述的預設次數係可由使用者預先設定並儲存於第4圖所示的微處理器20中,但本發明並不以為限。換言之,系統使用者或軟體的開發者可根據實際產品的需求而自行設計之,惟在不脫離本發明之發明精神下,仍應隸屬於本發明之發明範疇。 Among them, steps S601 to S603 are the same as the step S501 in Figure 5 above, mainly in that the signal feedback value (UDC) is captured from the ultrasonic sensor, and the UDC digital signal has a reference value. After that, step S605 is entered to compare the signal feedback value with its reference value. When the signal feedback value is greater than the reference value, step S607 is executed: triggering a counter to start counting, and recording the count times at the same time. Among them, the calculation unit of the counter is a frame, so the counter will calculate the counter once according to each frame, and set an interval to record the count times. According to an embodiment of the present invention, in this step S607, the counter starts to accumulate. After that, in step S609, it is determined whether the counting times of the counter exceed a system preset times, wherein the preset times can be preset by the user and stored in the microprocessor 20 shown in FIG. 4, However, the present invention is not limited. In other words, system users or software developers can design them according to actual product requirements, but they should still belong to the scope of the invention without departing from the spirit of the invention.

根據本發明之實施例,其中,當計數器的計數次數超過所述的預設次數時,執行步驟S611:停止更新基準值。否則,當計數器的計數次數小於或等於該預設次數時,則執行步驟S615:進行更新該基準值。 According to an embodiment of the present invention, when the count number of the counter exceeds the preset number, step S611 is executed: stop updating the reference value. Otherwise, when the counting times of the counter are less than or equal to the preset times, step S615 is executed: updating the reference value.

另一方面而言,若在步驟S605中,比較訊號回饋值與該基準值,當訊號回饋值小於或等於該基準值時,則改由執行步驟S613:將該計數器歸零,並接著執行步驟S615,直接進行該基準值的更新機制。 On the other hand, if in step S605, the signal feedback value is compared with the reference value, when the signal feedback value is less than or equal to the reference value, then step S613: reset the counter to zero, and then execute step S613 S615: Directly perform the update mechanism of the reference value.

隨後,在決定完基準值的更新機制之後,本判斷方法係接著進行後續的步驟S621、S623、S625。其中,該些步驟S621至S625係對應前述第5圖的步驟S505,首先,根據該訊號回饋值與其基準值決定二者間的一差值(△UDC),如步驟S621所示。之後,在步驟S623中,判斷該差值是否超過系統之一預設臨界值,若是,則執行步驟S625,將該觸控事件回報為一有效觸控。否則,若該差值係小於或等於預設臨界值,則回到步驟S603,以再次重新擷取下一個訊號回饋值並重複所述流程。 Subsequently, after deciding the update mechanism of the reference value, this judgment method proceeds to the subsequent steps S621, S623, and S625. Among them, the steps S621 to S625 correspond to the step S505 in FIG. 5. First, a difference (ΔUDC) between the two is determined according to the signal feedback value and its reference value, as shown in step S621. After that, in step S623, it is determined whether the difference value exceeds a preset threshold value of the system, and if so, step S625 is executed to report the touch event as a valid touch. Otherwise, if the difference is less than or equal to the preset threshold, return to step S603 to retrieve the next signal feedback value again and repeat the process.

因此,鑒於本發明所公開的技術方案,基於一個未觸摸的UDC變化值可視為一種交互增加與減少的變化,本發明便可利用此特性作為本判斷方法韌體流程裡的一個判斷機制,偵測在特定的幀範圍內,變化值是否總是增加,則限制其UDC基準值的更新機制。請參見第7圖所示,其係為應用本發明所公開之判斷方法所得到之一較佳結果示意圖,如圖所示,UDC數位值係以實線所示,虛線所示則係為該UDC數位值之基準值。可以看出,在N4區間內,韌體演算法係偵測到持續緩慢增長的△UDC,因此控制UDC基準線停止更新。之後,再隨著每一個幀範圍的推進,逐漸帶出UDC的變化值,使△UDC大於韌體所設定的一預設臨界值,藉此便可精準且正確地辨識觸控事件。 Therefore, in view of the technical solution disclosed in the present invention, an untouched UDC change value can be regarded as an interactive increase and decrease change. The present invention can use this feature as a judgment mechanism in the firmware process of the judgment method. To measure whether the change value always increases within a specific frame range, the update mechanism of its UDC reference value is restricted. Please refer to Figure 7, which is a schematic diagram of a better result obtained by applying the judgment method disclosed in the present invention. The base value of UDC digital value. It can be seen that in the N4 interval, the firmware algorithm detects the continuous and slow growth of △UDC, and therefore controls the UDC baseline to stop updating. Then, as each frame range advances, the change value of UDC is gradually brought out, so that ΔUDC is greater than a preset threshold set by the firmware, so that the touch event can be accurately and correctly recognized.

鑒於以上所述,可明顯觀之,相較於習知技術,本發明所揭露之新穎的觸控事件的判斷方法係可有效解決先前技術中常發生觸控事件誤判,或使用者體驗上產生觸控不靈敏的問題。根據本發明所教示之技術方案,其係藉由本發明所揭露的判斷方法,可動態地根據訊號回饋值與基準值的比較結果來決定基準值的更新機制,相較於先前技藝僅能直接使用未經過處理的基準值作為判斷是否觸發的標準,本發明所公開的判斷方法係可更準確且精密地判斷一觸控事件是否為有效觸控,阻絕了習知常有的缺失,實現本發明較優化之發明功效。 In view of the above, it is obvious that, compared with the conventional technology, the novel method for determining touch events disclosed in the present invention can effectively solve the misjudgment of touch events that often occur in the prior art, or the user experience produces touch events. The problem of insensitive control. According to the technical solution taught in the present invention, by using the judgment method disclosed in the present invention, the update mechanism of the reference value can be dynamically determined based on the comparison result of the signal feedback value and the reference value. Compared with the prior art, it can only be used directly. The unprocessed reference value is used as the criterion for judging whether to trigger or not. The judging method disclosed in the present invention can more accurately and precisely judge whether a touch event is a valid touch, which prevents the conventional deficiencies and realizes the present invention. More optimized invention effect.

值得說明的是,根據本發明所教示之技術方案,本領域具通常知識者當可在其實際實施層面上自行變化其設計,而皆屬於本發明之發明範圍。本發明在前述段落中所列舉出之數個示性例,其目的是為了善加解釋本發明主要之技術特徵,而使本領域人員可理解並據以實施之,唯本發明當不以該些示性例為限。 It is worth noting that, according to the technical solutions taught by the present invention, those with ordinary knowledge in the field can change the design on their own at the actual implementation level, and they all fall within the scope of the present invention. The several illustrative examples of the present invention listed in the foregoing paragraphs are intended to explain the main technical features of the present invention so that those skilled in the art can understand and implement them accordingly. However, the present invention should not be Some illustrative examples are limited.

除此之外,根據本發明所揭露之觸控事件的判斷方法,亦可廣泛兼用於智能開關或觸碰的智能檯燈等觸控產品上,皆可應用本發明,唯本發明所能應用之範疇亦不以此為限。 In addition, the method for judging touch events disclosed in the present invention can also be widely used in touch products such as smart switches or touch smart desk lamps, and the present invention can be applied to only those that can be applied to the present invention. The scope is not limited by this.

綜上所述,根據本發明所揭露之技術方案,確實具有極佳之產業利用性及競爭力。顯見本發明所揭露之技術特徵、方法手段與達成之功效係顯著地不同於現行方案,實非為熟悉該項技術者能輕易完成者,故應具備有專利要件。In summary, the technical solution disclosed according to the present invention does have excellent industrial applicability and competitiveness. Obviously, the technical features, methods, and achieved effects disclosed by the present invention are significantly different from the current solutions. They are not something that can be easily completed by those familiar with the technology, so they should have patent requirements.

10:超音波感測器 10: Ultrasonic sensor

12:觸發點 12: Trigger point

20:微處理器 20: Microprocessor

30:系統層級 30: System level

102:訊號發送單元 102: Signal sending unit

104:訊號接收單元 104: signal receiving unit

106:訊號集成芯片 106: Signal integrated chip

A1,A2,A3:時間點 A1, A2, A3: point in time

N1,N2,N3,N4:區間 N1, N2, N3, N4: interval

S501,S503,S505:步驟 S501, S503, S505: steps

S601,S603,S605,S607,S609,S611,S613,S615,S621,S623,S625:步驟 S601, S603, S605, S607, S609, S611, S613, S615, S621, S623, S625: steps

第1A圖係為先前技術一超音波訊號發送端的訊號示意圖。 第1B圖係為先前技術一超音波訊號接收端的訊號示意圖。 第2圖係為一觸控事件發生前及發生後其UDC數位值的變化示意圖。 第3圖係公開一正常觸控與一ΔUDC過小導致系統韌體無法辨識的異常觸控的示意圖。 第4圖係為執行本發明所公開之觸控事件的判斷方法的一具體架構示意圖。 第5圖係為根據本發明實施例之觸控事件的判斷方法之流程示意圖。 第6圖係為根據本發明實施例之觸控事件的判斷方法之詳細步驟示意圖。 第7圖係為應用根據本發明實施例之觸控事件的判斷方法之一較佳結果示意圖。 FIG. 1A is a schematic diagram of a signal at a transmitting end of an ultrasonic signal in the prior art. Figure 1B is a schematic diagram of a signal at the receiving end of an ultrasonic signal in the prior art. Fig. 2 is a schematic diagram of the change of the UDC digital value before and after a touch event occurs. FIG. 3 is a schematic diagram of a normal touch and an abnormal touch that the system firmware cannot recognize due to too small ΔUDC. FIG. 4 is a schematic diagram of a specific structure for executing the method for judging touch events disclosed in the present invention. FIG. 5 is a flowchart of a method for judging touch events according to an embodiment of the present invention. FIG. 6 is a detailed step diagram of the method for judging touch events according to an embodiment of the present invention. FIG. 7 is a schematic diagram of a preferred result of applying a method for judging touch events according to an embodiment of the present invention.

S601,S603,S605,S607,S609,S611,S613,S615,S621,S623,S625:步驟 S601, S603, S605, S607, S609, S611, S613, S615, S621, S623, S625: steps

Claims (10)

一種觸控事件的判斷方法,適於一超音波感測器,其係電性耦接於一微處理器,使該觸控事件的判斷方法係由該微處理器執行,該判斷方法包括: 通過該超音波感測器感測一觸控事件,並擷取一訊號回饋值,該訊號回饋值係具有一基準值; 比較該訊號回饋值與該基準值,以根據比較結果決定該基準值是否進行更新;以及 該訊號回饋值與該基準值之間係具有一差值,根據該差值與一預設臨界值進行比較,以判斷該觸控事件是否有效。 A method for judging a touch event is suitable for an ultrasonic sensor, which is electrically coupled to a microprocessor so that the method for judging the touch event is executed by the microprocessor, and the judging method includes: A touch event is sensed by the ultrasonic sensor, and a signal feedback value is captured, and the signal feedback value has a reference value; Compare the signal feedback value with the reference value to determine whether to update the reference value according to the comparison result; and There is a difference between the signal feedback value and the reference value, and the difference is compared with a preset threshold to determine whether the touch event is valid. 如請求項1所述之判斷方法,其中,當該差值大於該預設臨界值,該觸控事件係被決定為一有效觸控。The judging method according to claim 1, wherein, when the difference is greater than the predetermined threshold, the touch event is determined as a valid touch. 如請求項1所述之判斷方法,其中,當該差值小於或等於該預設臨界值,該觸控事件係被決定為一無效觸控,並再次重新擷取下一個該訊號回饋值。The judgment method according to claim 1, wherein when the difference is less than or equal to the predetermined threshold, the touch event is determined as an invalid touch, and the next signal feedback value is retrieved again. 如請求項1所述之判斷方法,其中,在根據該訊號回饋值與該基準值的比較結果決定該基準值是否進行更新的步驟之前,更包括: 判斷當該訊號回饋值大於該基準值時,觸發一計數器開始計數並記錄計數次數;以及 當該計數次數超過一預設次數時,該基準值係停止進行更新。 The judgment method according to claim 1, wherein, before the step of determining whether to update the reference value according to the comparison result of the signal feedback value and the reference value, it further includes: Determine when the signal feedback value is greater than the reference value, trigger a counter to start counting and record the number of counts; and When the count number exceeds a preset number, the reference value stops updating. 如請求項4所述之判斷方法,更包括: 當該計數次數並未超過該預設次數時,該基準值係持續進行更新。 The judgment method described in claim 4 further includes: When the count number does not exceed the preset number, the reference value is continuously updated. 如請求項4所述之判斷方法,其中,在根據該訊號回饋值與該基準值的比較結果決定該基準值是否進行更新的步驟之前,更包括: 判斷當該訊號回饋值小於或等於該基準值時,將該計數器歸零,並直接進行該基準值的更新機制。 The judgment method according to claim 4, wherein, before the step of determining whether to update the reference value according to the comparison result of the signal feedback value and the reference value, it further includes: It is determined that when the signal feedback value is less than or equal to the reference value, the counter is reset to zero, and the reference value update mechanism is directly performed. 如請求項1所述之判斷方法,其中,該超音波感測器係包含一訊號發送單元、一訊號接收單元以及一訊號集成芯片,該訊號發送單元與該訊號接收單元係電性耦接於該觸控事件的一觸發點,該訊號發送單元係發送一原始訊號,該原始訊號係因該觸控事件產生衰減,使該訊號接收單元輸出該訊號回饋值,以供該訊號集成芯片傳輸至該微處理器進行處理。The judgment method according to claim 1, wherein the ultrasonic sensor includes a signal sending unit, a signal receiving unit, and a signal integrated chip, and the signal sending unit and the signal receiving unit are electrically coupled to A trigger point of the touch event, the signal sending unit sends an original signal, and the original signal is attenuated due to the touch event, so that the signal receiving unit outputs the signal feedback value for the signal integrated chip to transmit to The microprocessor performs processing. 如請求項1所述之判斷方法,其中,該訊號回饋值係為一UDC數位訊號。The judgment method according to claim 1, wherein the signal feedback value is a UDC digital signal. 如請求項1所述之判斷方法,其中,該預設臨界值係預先設定並儲存於該微處理器中。The judgment method according to claim 1, wherein the preset threshold is preset and stored in the microprocessor. 如請求項4所述之判斷方法,其中,該預設次數係預先設定並儲存於該微處理器中。The judging method according to claim 4, wherein the preset number of times is preset and stored in the microprocessor.
TW109138323A 2020-10-29 2020-11-03 Method for determining a touch event TWI740701B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011183606.5A CN112306306A (en) 2020-10-29 2020-10-29 Method for judging touch event
CN202011183606.5 2020-10-29

Publications (2)

Publication Number Publication Date
TWI740701B true TWI740701B (en) 2021-09-21
TW202217533A TW202217533A (en) 2022-05-01

Family

ID=74332155

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109138323A TWI740701B (en) 2020-10-29 2020-11-03 Method for determining a touch event

Country Status (2)

Country Link
CN (1) CN112306306A (en)
TW (1) TWI740701B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201508594A (en) * 2013-08-28 2015-03-01 Au Optronics Corp Sensing device and positioning method
US9201545B2 (en) * 2010-09-02 2015-12-01 Elliptic Laboratories As Motion feedback
TW201913346A (en) * 2017-09-06 2019-04-01 仁寶電腦工業股份有限公司 Capacitance value detecting method of touch device
US10444905B2 (en) * 2017-02-01 2019-10-15 Sentons Inc. Update of reference data for touch input detection
US20190354238A1 (en) * 2018-05-21 2019-11-21 UltraSense Systems, Inc. Ultrasonic touch detection and decision

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7532202B2 (en) * 2002-05-08 2009-05-12 3M Innovative Properties Company Baselining techniques in force-based touch panel systems
CN101727235A (en) * 2009-12-01 2010-06-09 深圳市汇顶科技有限公司 Touch detecting method, touch detecting system and touch sensing device
CN102253747B (en) * 2011-07-05 2014-06-11 成都吉锐触摸技术股份有限公司 Method for identifying surface touch by touch screen
CN103092448A (en) * 2013-01-22 2013-05-08 上海艾为电子技术有限公司 Touch data processing method
US11402950B2 (en) * 2016-07-29 2022-08-02 Apple Inc. Methodology and application of acoustic touch detection
TWI604356B (en) * 2016-09-09 2017-11-01 意象無限股份有限公司 Touch system and touch detection method of the same
JP6782357B2 (en) * 2016-09-29 2020-11-11 北京小米移動軟件有限公司Beijing Xiaomi Mobile Software Co.,Ltd. Terminals, touch recognition methods, devices and electronic devices
CN107608572B (en) * 2017-09-30 2021-06-11 业成科技(成都)有限公司 Touch system, electronic device and touch judgment method
CN111142710A (en) * 2019-12-30 2020-05-12 业成光电(无锡)有限公司 Touch panel and alignment detection method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9201545B2 (en) * 2010-09-02 2015-12-01 Elliptic Laboratories As Motion feedback
TW201508594A (en) * 2013-08-28 2015-03-01 Au Optronics Corp Sensing device and positioning method
US10444905B2 (en) * 2017-02-01 2019-10-15 Sentons Inc. Update of reference data for touch input detection
TW201913346A (en) * 2017-09-06 2019-04-01 仁寶電腦工業股份有限公司 Capacitance value detecting method of touch device
US20190354238A1 (en) * 2018-05-21 2019-11-21 UltraSense Systems, Inc. Ultrasonic touch detection and decision

Also Published As

Publication number Publication date
CN112306306A (en) 2021-02-02
TW202217533A (en) 2022-05-01

Similar Documents

Publication Publication Date Title
EP2488932B1 (en) Touch interface having microphone to determine touch impact strength
TWI401597B (en) Method and apparatus for drift compensation of capacitive touch panel
JP4629306B2 (en) Dual sensor touch screen using projected capacitive coupling and force touch sensor
US20120001859A1 (en) Device and method for detecting noise
US20150301684A1 (en) Apparatus and method for inputting information
US20150346908A1 (en) High noise immunity sensing methods and apparatus for a capacitive touch device
JP2010287148A (en) Operation input device
US8013842B2 (en) Method for gesture detection on a capacitive touchpad
TW200941324A (en) Device and method for preventing the influence of conducting material from point detection of projected capacitive touch panel
JP3504404B2 (en) Graphics display pointer with integrated selection
US7804490B2 (en) Method for multiple gesture detection and verification on a touchpad
WO2019150468A1 (en) Touch panel device
US9927905B2 (en) Force touch button emulation
WO2014032474A1 (en) Method for calibrating capacitive touchscreen, and capacitive touch apparatus
US10969857B2 (en) Touch sensor mode transitioning
US20220214754A1 (en) Touch Key Assembly, Control Circuit, and Electronic Device
US20080042971A1 (en) System and method for automatic re-calulation and monitoring of thresholds in a puck-based pointing device
TW201335811A (en) Touchscreen and touch display device using the touchscreen
JP2010272143A (en) Dural sensor touch screen using projective-capacitive sensor and pressure-sensitive touch sensor
US20110227870A1 (en) Touch screen system and method for obtaining coordinate thereof
US7982717B2 (en) Method for gesture detection on a touchpad
TWI543060B (en) Calibration method and capacitive sensing device
JPH0612510B2 (en) Coordinate input device
WO2011035739A1 (en) Method for preventing false touch operation in touch system and touch system thereof
TWI740701B (en) Method for determining a touch event