TW201015412A - A method for automatically adjusting capacitance baseline of touch button - Google Patents

A method for automatically adjusting capacitance baseline of touch button Download PDF

Info

Publication number
TW201015412A
TW201015412A TW97139546A TW97139546A TW201015412A TW 201015412 A TW201015412 A TW 201015412A TW 97139546 A TW97139546 A TW 97139546A TW 97139546 A TW97139546 A TW 97139546A TW 201015412 A TW201015412 A TW 201015412A
Authority
TW
Taiwan
Prior art keywords
capacitance
value
touch button
scan
capacitor
Prior art date
Application number
TW97139546A
Other languages
Chinese (zh)
Other versions
TWI380205B (en
Inventor
xin-chang Wu
Original Assignee
Ene Technology Inc
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 Ene Technology Inc filed Critical Ene Technology Inc
Priority to TW97139546A priority Critical patent/TWI380205B/en
Publication of TW201015412A publication Critical patent/TW201015412A/en
Application granted granted Critical
Publication of TWI380205B publication Critical patent/TWI380205B/en

Links

Landscapes

  • Electronic Switches (AREA)
  • Switches That Are Operated By Magnetic Or Electric Fields (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method for automatically adjusting capacitance baseline of touch button is applying to a touch button system. The touch button system contains a background capacitance and a finger capacitance. The method includes the steps of: acquiring the capacitance baseline according to a first scan count produced by the background capacitance and the finger capacitance, and setting a relative low threshold according to the capacitance baseline, and then acquiring a second scan count produced by the background capacitance and the finger capacitance. When the second scan count is smaller than the low threshold, the method updates the capacitance baseline based on the second scan count and previous scan counts. Thereof, the present invention can achieve the purpose of ensuring the touch button system can work correctly and judge if the touch buttons pressed accurately.

Description

201015412 九、發明說明: 【發明所屬之技術領域】 本發明係涉及-種自動調_控按鍵之電容 (B—)的方法,特別係指_種對觸控按鍵之電容基綠, 進行適應性調整(Adaptive Adju咖em)的自動調整方法俊 【先前技術】201015412 IX. Description of the invention: [Technical field of the invention] The present invention relates to a method for automatically adjusting the capacitance (B-) of a button, in particular to a capacitive green of a touch button, for adaptability Adjustment (Adaptive Adju coffee em) automatic adjustment method Jun [previous technology]

由於科技的快速發展,電腦已逐漸成為人們每天 使用工具之-。而不管是桌上型電腦、筆記= ,疋個人數位助理(PDA) ’其主機本身都有提供一 ^ 制按鍵或功能按鍵(如:多媒體播放控制),以讓使用;: 以更直接地控制電腦之運作。 Γ 傳統在這些按鍵的設計上,多半是採用機械式 鍵的設計。機械式開關按鍵在設計上較為簡單,盆是#^ -個開關原理’以在使用者按下按鍵及放開按㈣,來义 別產生不同的信號(如邏輯〇及邏輯1),以作為相關功^ 啟閉控制。但是’由於機械式開關按鍵的成本較高、壽么 較短,並且佔用面積也較大。因而在目前越來越講求節 成本、外觀精美及產品體積小的趨勢之下,此種機械式 關按鍵已越來越無法滿足設計上的需求。 汗 於是,便有觸控式按鍵設計及其應用的產生,其中又 以電容式觸控方式最為普遍。請參考第一圖,為習知技術 觸控按鍵裝置的運作方法流程圖。其中,觸控按鍵裝置是 例如搭配至少一電容式觸控按鍵埠,並且我們都知道每一 電容式觸控按鍵埠是具有一背景電容(Backgr〇undDue to the rapid development of technology, computers have gradually become the tools that people use every day. And whether it is a desktop computer, notes =, 疋 personal digital assistant (PDA) 'the host itself has a ^ button or function button (such as: multimedia playback control) for use;: for more direct control The operation of the computer. Γ Tradition in the design of these buttons, most of them are designed with mechanical keys. The mechanical switch button is relatively simple in design. The basin is #^ - a switch principle' to allow the user to press different buttons and release the button (4) to generate different signals (such as logic and logic 1). Related work ^ Open and close control. However, the cost of the mechanical switch button is higher, the life is shorter, and the occupied area is larger. Therefore, under the current trend of increasing cost, beautiful appearance and small product volume, such mechanical buttons have become increasingly incapable of meeting design requirements. Sweat So, there are touch-button design and its application, among which capacitive touch is the most common. Please refer to the first figure for a flow chart of the operation method of the conventional touch button device. The touch button device is, for example, matched with at least one capacitive touch button 埠, and we all know that each capacitive touch button 具有 has a background capacitance (Backgr〇und

Capacitance)及一手指電容(Finger capacitance)。 6 201015412 如第一圖所示,觸控按鍵裝置的運作方法之步驟包 括:首先,進行一初始化程序(S101),以對觸控按鍵裝置 上所有的電容式觸控按鍵埠進行初始化作業,以確認運作 正常,並且依據電容式觸控按鍵埠的一第一掃描電容值來 作為一電容基線值(Baseline)(S103),藉以用作判斷電容式 觸控按鍵埠是否觸發的基準,而此時的電容式觸控按鍵埠 由於是沒有接受到使用者手指的觸壓感應,因此第一掃描 電容值(電容基線值)即是等於背景電容所提供的電容值。 ❿ 緊接著,即進入一運作狀態(S105),以隨時進行偵測 電容式觸控按鍵埠所產生的一第二掃描電容值(sl〇7)。進 而便可判斷第二掃描電容值是否大於該電容基線值達一預 設值(S109)。其中,該預設值是依據實際應用環境或設計 需求而有所差異。 若步驟(S109)的判斷結果為是,則表示電容式觸控按 鍵埠確實接受到使用者的觸壓感應(第二掃描電容值等於 背景電容的電容值與手指電容的電容值之總和),因而會產 ❿ 生一中斷信號給後端系統(S109),以使後端系統得以執行 該電容式觸控按鍵埠所代表的功能。反之,若步驟(si〇9) 的判斷結果為否,則表示電容式觸控按鍵埠沒有接受到使 用者手指的觸壓感應,因此再重複執行步驟(Sl〇7)。 而目前若以此一方式來設計觸控按鍵裝置的話,將會 產生下列缺點: 胃 1、當在初始化程序的階段時,就已經有使用者的手 指進行觸壓感應的話,則將導致取得錯誤的電容 基線值,進而無法正常運作。 7 201015412 2、 作狀態下,背景電容及手指電容的電容值可 】為系統的電源、環境溫度等條件改變而使得 斤產生的㈣電容值會形成動態變化。如此一 ΐ道若電容基線值是維持固定不變的話,則將可 月匕導致無法正確_電容式觸控按鍵埠是否有 形成觸發的情形。 【發明内容】 有鑑於此’本發明所要解決的技術問題在於,提供一 =調整觸控按鍵之電容基線值的方法,以在觸控按鍵 ^統進伽始化程序或者進人運作狀態下,皆可自動對電 谷基線值進行適應性調整,以避免觸控按鍵系統產生益法 正常運作或在運作時產生誤動作之情事。 …、 為了解決上述問題,根據本發明所提出之一方案,提 供一種自動調整觸控按鍵之電容基線值的方法,其是應用 於一按鍵觸控系統,其中的觸控按鍵是包含一背景電^及 ❿ 一手指電容,而該方法之步驟包括··首先,依據背景電容 及手指電容所產生的一第一掃描電容值來取得一電容基線 值,並且再依據電容基線值來設定一低限臨界值。接著進 打取得背景電容及手指電容所產生的一第二掃描電容值, 而在判斷第二掃描電容值小於該低限臨界值時,利用第二 掃描電容值與之前的掃描電容值來計算出新的電容基 值。 ’ 因此’透過上述實施例,本發明之自動調整觸控按鍵 之電容基線值的方法不管在觸控按鍵系統處於初始化程序 或正常運作狀態下,皆可以即時對電容基線值進行適應性 8 201015412 調整’以㈣因應職按鍵祕的使时形、環境狀 而達到確侧健㈣統正常運作及精销斷的目的/。 、以上之概述與接下來的詳細說明及附圖,皆是 進-步說明本發明為達成預定目的所採取之方式^段= :有關本發明的其他目的及優點,將在後續的說明 及圖式中加以闡述。 【實施方式】Capacitance) and Finger capacitance. 6 201015412 As shown in the first figure, the steps of the operation method of the touch button device include: first, performing an initialization process (S101) to initialize all the capacitive touch buttons on the touch button device to Confirming that the operation is normal, and based on a first scan capacitance value of the capacitive touch button 作为 as a capacitance baseline (S103), thereby serving as a reference for determining whether the capacitive touch button 触发 is triggered, and at this time Since the capacitive touch button 没有 does not receive the touch sensing of the user's finger, the first scan capacitance value (capacitance baseline value) is equal to the capacitance value provided by the background capacitor.紧 Next, it enters an operational state (S105) to detect a second scan capacitance value (sl〇7) generated by the capacitive touch button 随时 at any time. Further, it can be judged whether or not the second scan capacitance value is greater than the capacitance baseline value by a preset value (S109). The preset value varies according to the actual application environment or design requirements. If the determination result in the step (S109) is YES, it means that the capacitive touch button 埠 does receive the touch sensing of the user (the second scanning capacitance value is equal to the sum of the capacitance value of the background capacitance and the capacitance value of the finger capacitance), Therefore, an interrupt signal is generated to the backend system (S109), so that the backend system can perform the function represented by the capacitive touch button. On the other hand, if the result of the step (si〇9) is NO, it means that the capacitive touch button 埠 has not received the touch sensing of the user's finger, so the step (S1〇7) is repeated. At present, if the touch button device is designed in this way, the following disadvantages will occur: Stomach 1. When the user's finger is touch-sensed at the stage of the initialization process, an error will be obtained. The baseline value of the capacitor, which in turn does not function properly. 7 201015412 2. In the state, the capacitance of the background capacitor and the finger capacitor can be changed dynamically due to changes in the system's power supply, ambient temperature, etc. (4). If the baseline value of the capacitor is kept constant, then the delay will not be correct. _ Capacitive touch button 埠 Whether there is a trigger. SUMMARY OF THE INVENTION In view of the above, the technical problem to be solved by the present invention is to provide a method for adjusting the capacitance baseline value of the touch button, in order to enter the galaxing process or enter the operation state of the touch button. The electric valley baseline value can be automatically adjusted to avoid the normal operation of the touch button system or the malfunction during operation. In order to solve the above problem, according to one aspect of the present invention, a method for automatically adjusting a capacitance baseline value of a touch button is provided, which is applied to a button touch system, wherein the touch button includes a background electric ^ and ❿ a finger capacitor, and the method steps include: first, according to a first scan capacitance value generated by the background capacitance and the finger capacitance to obtain a capacitance baseline value, and then set a low limit according to the capacitance baseline value Threshold value. Then, a second scan capacitance value generated by the background capacitance and the finger capacitance is obtained, and when it is determined that the second scan capacitance value is less than the low limit threshold value, the second scan capacitance value and the previous scan capacitance value are used to calculate The new capacitor base value. Therefore, through the above embodiment, the method for automatically adjusting the capacitance baseline value of the touch button of the present invention can instantly adjust the capacitance baseline value regardless of whether the touch button system is in an initialization procedure or a normal operation state. '(4) Due to the time shape and environment of the key to the job, it is necessary to achieve the purpose of normal operation and fine sales. The above summary, the following detailed description and the accompanying drawings are to be taken to illustrate the manner in which the present invention is to achieve the intended purpose. The other objects and advantages of the present invention will be described in the following. Explain in the formula. [Embodiment]

本發明自動調整觸控按鍵之電容基線值的方法是先 取得-電容基雜(Capadtanee Baseli並 線值來設定-低限臨界值,進而當所取得的掃描 於該低限臨界值時’職據所取得的掃描電容值來計算出 新的電容基線值,以作為觸控按鍵觸發的基準。 本發明是應用於-電容式的觸控按鍵系統,而熟悉該 項技術者應可了解’觸控按鍵彡統可應肖於各種電子裝置 上,亚且其包含至少-觸控按鍵、—電容檢測單元及一控 制單元。其中觸控按鍵是進一步具有一背景電容 (Background Capacitance)及一手指電容的邱打 Capacitance)’並且當使用者手指對觸控按鍵進行接觸感應 時,透過電容檢測單元的運作而得以接收到背景電容及手 指電容所感應產生-掃描電容值(Scan c〇unt),$而再搭配 控制單兀的運算來進行適應性調整 Adjustment)。其中,當有使用者手指接觸感應觸控按鍵 B夺’則掃描電容值即為背景電容的電容值及手指電容的電 容值之總和;闕’若沒有❹者手指接贼應觸控按鍵 時,則掃描電容值僅為背景電容的電容值。 201015412 5月參考第二圖,為本發明自動調整觸控按鍵之電容基 線值的方法實施例流程圖。如圖所示,本實施例提供一種 自動1整觸控按鍵之電容基線值的方法,其步驟包括:首 先,當電、子裝置開始運作時,進行啟動觸控按鍵系統 (S2^1),並且此時觸控按鍵系統便會依據背景電容及手指 H所產生的—第—掃描電容值來取得—電容基線值 (IS203) 〇 ❹ ❹ 接著,本實施例會依據所取得的電容基線值來設定一The method for automatically adjusting the capacitance baseline value of the touch button is to first obtain a capacitance-based capacitance (Capadtanee Baseli and the line value to set a low limit threshold value, and then when the obtained scan is at the low limit threshold value) The obtained scan capacitance value is used to calculate a new capacitance baseline value as a reference for the touch button triggering. The present invention is applied to a capacitive touch button system, and those skilled in the art should be able to understand 'touch. The button system can be applied to various electronic devices, and includes at least a touch button, a capacitance detecting unit and a control unit, wherein the touch button further has a background capacitance (capacitance) and a finger capacitance. When the user touches the touch button with the finger, the user can receive the background capacitance and the finger capacitance induced by the operation of the capacitance detecting unit - Scan c〇unt, $ Then adjust the adjustment with the operation of the control unit. Wherein, when a user touches the touch sensor button B, the scan capacitance value is the sum of the capacitance value of the background capacitor and the capacitance value of the finger capacitor; 阙 'If no finger is connected to the thief, the touch button should be touched. The scan capacitance value is only the capacitance value of the background capacitor. 201015412 May refers to the second figure, which is a flow chart of a method for automatically adjusting the capacitance baseline value of the touch button according to the present invention. As shown in the figure, the embodiment provides a method for automatically adjusting the capacitance baseline value of the touch button, and the steps include: first, when the electric device and the sub-device start to operate, start the touch button system (S2^1), At this time, the touch button system is obtained according to the background capacitance and the value of the first-scanning capacitance generated by the finger H. The capacitance baseline value (IS203) 〇❹ ❹ Next, the embodiment will set according to the obtained capacitance baseline value. One

ThreshGld)(S2G5)° 進而,進行待命接收 便用者手指朗感賴控按鍵的動作。*當錢者有將手 觸控按鍵時’便會進一步取得背景電容及手指 生的—第二掃描電容值(S2G7)。於是,進行判斷 一 ▼描電容值是否小於低限臨界值(S209)。 若步驟(S209)的判斷結果為是,則表*目前 合目前實際狀況所f的判斷基準,也就是可^ ,原本在取得電絲線值時财異常情形產生 掃打雷^ 2。於疋便利用該第二掃描電容值與之前的 j電谷值來計算出最新的電容基線值,且進 則表反之,若步驟(s2G9)的判斷結果為否, 基準二^ 該電容基線值為觸控按鍵的觸發 201015412 最後在步驟(S213)之後,即是完成本實施例所提供的 自動調整觸控按鍵之電容基線值的方法。而接著便可再依 實際應用狀況而重複進行步驟(82〇7),或進行其他設計之 動作,在此就不加以限制。 而上述之實施例僅是代表本發明之自動調整觸控按 鍵之電容基線值的方法的整體概念構想,而我們都知道在 整個觸控^鍵系統的運作過財,包含了—開始的初始化ThreshGld)(S2G5)° Further, the standby finger is used to receive the button. *When the moneyer has the hand touch button, the background capacitance and the finger-to-second scan capacitance value (S2G7) are further obtained. Then, a judgment is made as to whether the value of the capacitance is less than the lower limit value (S209). If the result of the determination in the step (S209) is YES, then the table * is currently based on the judgment criterion of the current actual situation f, that is, the original abnormality is generated when the wire value is obtained. Yu Yu conveniently uses the second scan capacitance value and the previous j electric valley value to calculate the latest capacitance baseline value, and the progression table is reversed. If the determination result of the step (s2G9) is no, the reference second ^ the capacitance baseline value For the triggering of the touch button 201015412 Finally, after the step (S213), the method for automatically adjusting the capacitance baseline value of the touch button provided by the embodiment is completed. Then, the steps (82〇7) can be repeated according to the actual application conditions, or other design actions can be performed, and there is no limitation here. The above embodiment is merely an overall conceptual concept of the method for automatically adjusting the baseline value of the touch button of the present invention, and we all know that the operation of the entire touch key system is too rich, including the initial initialization.

紅序以及凡成初始化程序之後的正常運作狀態。因此,請 再參考以下的說明,以進―步描述本發明在難按鍵系統 啟動進仃1始化程料及進人—正常運作狀態時各自的 詳細作業情形。 、—明參考第二圖,為本發明於初始化程序之自動調整方 流程圖。如圖所示,首細以進行說明自動調整 法鍵之電谷基線值的方法在觸控按鍵祕啟動進入初 呈序(S30D時的作業情形。其是先進行取樣複數個樣 it電容值來進行平均運算,以產生所謂的第一掃描電 並a再依據第—掃描電容值來取得電容基線 社!5。,、卜在觸控按鍵系統進行初始化程序時,最 =:ΐί沒有使用者手指的接觸感應,而第-掃描電容 背景電容之電容值,於是將此4 一掃描電 容基線值即為正確的電容基線值。但是,若 將會導致二Ϊ行初始化程序時已進行接觸感應的話,則 手指電π的第—掃描電容值是背景電容的電容值與 之ΐ容:的::值之總和,或者因誤判而是高於背景電容 數值。因此,為了適應各種可能發生的狀況, 201015412 本實施例所設計的進行取樣樣本掃描電容值及平均運算的 設計,即是㈣將平均運算_錢的第—掃描電 時設定為電容基線值。 而附帶-提的是,上述樣本掃描電容值的取樣方式及 數里可例如是設計在初始化程序的—特定朗中每隔一設 定時間即進行取得翻電容值,而錢特定湘中所能取 得的掃描電容值即是用來作為樣本掃描電容值。 ❿The red sequence and the normal operating state after the initialization program. Therefore, please refer to the following description to further describe the detailed operation of the present invention in the difficult button system when starting the process and entering the normal operation state. The present invention refers to the second figure, which is a flowchart of the automatic adjustment of the initialization procedure of the present invention. As shown in the figure, the first detail is used to describe the method of automatically adjusting the base value of the method key in the touch key to start the initial sequence (S30D operation situation. It is to first sample a plurality of sample capacitance values. Perform an averaging operation to generate a so-called first scan power and then obtain a capacitance baseline according to the first scan capacitance value. 5. When the touch button system performs an initialization process, the most =: ΐί has no user finger The contact inductance, and the capacitance value of the background capacitance of the first-scan capacitor, so the baseline value of the 4-scan capacitor is the correct capacitance baseline value. However, if the contact sensing is performed when the initialization process is performed, Then, the first-scan capacitance value of the finger power π is the sum of the capacitance value of the background capacitor and the capacitance: the value of the :: or the value of the background capacitance due to misjudgment. Therefore, in order to adapt to various possible conditions, 201015412 The design of the scan capacitance value and the average operation of the sampled sample designed in this embodiment is (4) setting the first scan time of the average operation_money as the capacitance baseline value. Incidentally, the sampling method and the number of the sample scanning capacitance values can be, for example, designed to obtain a flip-flop value every other set time in the initialization procedure of the initialization program, and the money can be obtained in the specific Xiangzhong. The value of the scan capacitor is used as the sample scan capacitance value.

^者’本實_進㈣電容基線值設定成為低限臨界 值(S307)’並且再進行取得所謂的第 而此處的第二掃描電容值所代表的是在上述該特^間)以 外所再進行取得的掃描電容值。於是,便可進行判斷第二 掃描電容值是否小於低限臨界值(S3U)。 若步驟(S311)的判斷結果為是,則表示原本取得第一 寺勢必是有偵測到使用者手指的接觸感應,而 目刖,付第二掃描電容值時則已沒有偵測到使用者手指的 接觸感應。於是,便會進行更新電容基線值(S313),以進 行適應性調整而目前所取得的第二掃描電容值來修正 電谷基線值。並且再繼續執行步驟(S3G7)及其爾後的步 驟,直到完成初始化程序。 # 7若步驟(S311)的判斷結果為否,也就是第二婦描電 谷<•疋大於或專於低限臨界值,而這表示有以下幾種情 形·第-種情形是原本取得第—掃描電容值時是沒有 到使用者手指的接觸感應,而目前取 值 手指的接觸感應;第二種情形是 掃心電各值時是沒有偵測到使用者手指的接觸感應,而 12 201015412 目前取得第二掃描絲值時同樣沒有彳貞剩使用者手指的 接觸感應;第三種情形則是原本取得第一掃描電容值時是 錢用者手指的接觸感應,而目前取得第二掃描電容值時 同樣是有使用者手指的接觸感應。而對於上述三種情形, 則確認原本依據第一掃描電容值所取得的電容基線值即是 觸控按鍵_發基準(S315),並且執行完步驟_5)之後, 會再重複執行步驟(S309)及其爾後之步驟,直到完成初始 化程序。 ° • 如此一來,當觸控按鍵系統在初始化程序時,不管有 無文到使用者手指接觸感應的影響,都能藉由適應性調整 來順利進行運作。 請再參考第四圖,為本發明於正常運作狀態之自動調 整方法實施例流程圖。如圖所示,首先用以進行說明自動 調整觸控按鍵之電容基線值的方法在觸控按鍵系統啟動進 入正常運作狀態(S401)時的作業情形。而其同樣是依據背 景電谷及手指電容所產生的第一掃描電容值來取得電容基 φ 線值(S403)。但由於本實施例是用以說明已進入正常運作 狀態的作業情形,因此其中的電容基線值另可例如是取自 初始化程序中最後所取得的電容基線值。 而在觸控按鍵系統處於正常運作狀態下,為了能避免 因觸控按鍵系統的電源改變、環境溫度等外在因素的改變 而使得背景電容的電容值及手指電容的電容值相對產生變 化,致使觸控按鍵系統無法正確判斷目前的觸控按鍵是否 有觸發。因此,本實施例是進一步依據電容基線值來進行 設定一低限臨界值及一高限臨界值(扭 13 201015412^者's actual_input (four) capacitor baseline value is set to the low limit threshold (S307)' and the acquisition of the so-called second, the second scan capacitance value represents the above-mentioned special Then obtain the obtained scan capacitance value. Thus, it can be judged whether the second scan capacitance value is smaller than the low limit threshold (S3U). If the result of the step (S311) is YES, it means that the first temple is obtained, and the contact sensitivity of the user's finger is detected, and the user is not detected when the second scan capacitance value is paid. Contact sensing of the finger. Thus, the updated capacitance baseline value (S313) is updated to adjust the current valley value by adaptively adjusting the currently obtained second scan capacitance value. Then continue with the step (S3G7) and its subsequent steps until the initialization process is completed. #7 If the result of the step (S311) is No, that is, the second woman's electric valley is greater than or specific to the lower limit threshold, and this means that there are the following cases. The first case is originally obtained. The first-scanning capacitance value is that there is no contact sensing to the user's finger, and the current finger is in contact with the touch sensor; the second case is that the contact sensor of the user's finger is not detected when sweeping the heart value, and 12 201015412 At present, when the second scan value is obtained, there is no contact sensing of the user's finger; in the third case, when the first scan capacitance value is obtained, the contact sensor of the money user's finger is obtained, and the second scan is obtained. The capacitance value is also the contact sensing of the user's finger. For the above three cases, it is confirmed that the baseline value of the capacitance originally obtained according to the first scan capacitance value is the touch button_sending reference (S315), and after the step _5) is executed, the step (S309) is repeated. And then follow the steps until the initialization process is completed. ° • In this way, when the touch button system is initialized, it can be operated smoothly by adaptive adjustment regardless of the influence of the text on the user's finger contact. Please refer to the fourth figure again for a flow chart of an embodiment of the automatic adjustment method in the normal operation state of the present invention. As shown in the figure, the first method for explaining the method of automatically adjusting the capacitance baseline value of the touch button is performed when the touch button system is started to enter the normal operation state (S401). The same is based on the first scan capacitance value generated by the background electric valley and the finger capacitance to obtain the capacitance base φ line value (S403). However, since this embodiment is for explaining the operation situation in which the normal operation state has been entered, the capacitance baseline value therein may be, for example, taken from the last obtained capacitance baseline value in the initialization procedure. In the normal operation state of the touch button system, the capacitance value of the background capacitor and the capacitance value of the finger capacitor are relatively changed in order to avoid the change of the external factors such as the power supply change of the touch button system and the ambient temperature. The touch button system cannot correctly determine whether the current touch button has a trigger. Therefore, in this embodiment, a low threshold value and a high limit threshold value are further set according to the baseline value of the capacitor (twist 13 201015412)

Threshold)(S405)。而在此為了方便說明起見,請在參考第 四圖的同時一併參照第五圖’為本發明正常運作狀態下之 高限臨界值與低限臨界值的實施例示意圖。其中,高限臨 界值Η是例如設計為電容基線值及一預設電容值X的總和 (H = Baseline + X);而低限臨界值L則是例如設計為電容 基線值及預設電容值之一半X/2的總和(L == Basdine + X/2),而預設電容值是至少設計為觸控按鍵所搭配之手指 電谷的一額定最低有效電容值。當然,此—公式設計僅為 φ 其中之一實施例設計態樣,並非用來限制本發明。 緊接者,觸控按鍵糸統便可於正常運作狀態中隨時等 待使用者的手指接觸感應,以進行取得第二掃描電容值 (S407)。而若偵測到有使用者手指進行接觸感應時,便進 行判斷第二掃描電容值是否大於高限臨界值h(S409)。 若步驟(S409)的判斷結果為是,則表示目前所產生的 第二掃描電容值已大於高限臨界值Η,並且背景電容的電 容值與手指電容的電容值並無因外在因素變化太大,因此 參 便疋確認以目前的電容基線值為觸控按鍵的觸發基準進疒 輸出一中斷信號給後端的電子裝置(S411),以便使電子^ 置執行相對應的觸控按鍵功能。而若步驟(S4〇9)的判斷、= ,為否,則表示目前所產生的第二掃描電容值小於或等^ 咼,臨界值Η,也就目前背景電容的電容值與手指電容的 電各值可能因外在因素而有產生變化,因此便再繼續進行 判斷第二掃描電容值是否小於低限臨界值L(S413)。 f步驟(S413)的判斷結果為是,則表示第二掃描電容 值確實小於低限臨界值L,也就是目前背景電容的電容值 14 201015412 與手指電⑽電容值可能因為外在因素的改變而確認會形 成較大的誤差,於是便更新電容基線值(S4i5),以進行所 。月的適應m而依據目前所取得的第二掃描電容值來修 =電容基”。並且再繼續執行步驟(湖)及其爾後的步 驟,以隨時得以進行適應性調整。 w ί中本=&例所述的依據第三掃描電容值來修正電 值在貝際5又6十上是將第二掃描電容值與第一掃描 ❿ ❹ 為原本7容基線值)進行如下列公式之平 二t二"更新電谷基線值。而若實際狀況是必須進 的f新時’職據公式所示,本實施例會以所有所 曾取得的掃描電容值來進行平均運曾。Threshold) (S405). For the sake of convenience of explanation, please refer to FIG. 4 together with reference to FIG. 4', which is a schematic diagram of an embodiment of the high limit threshold and the low limit threshold in the normal operation state of the present invention. The high threshold value Η is, for example, designed as a sum of a capacitance baseline value and a predetermined capacitance value X (H = Baseline + X); and the low limit threshold L is, for example, designed as a capacitance baseline value and a preset capacitance value. The sum of the half X/2 (L == Basdine + X/2), and the preset capacitance value is a rated minimum effective capacitance value of at least the finger valley of the touch button. Of course, this formula design is only one of the embodiments of φ, and is not intended to limit the present invention. Immediately thereafter, the touch button system can wait for the user's finger contact sensing at any time during normal operation to obtain the second scan capacitance value (S407). If it is detected that the user's finger performs the contact sensing, it is judged whether the second scanning capacitance value is greater than the high limit threshold h (S409). If the result of the step (S409) is YES, it indicates that the second scan capacitance value generated is greater than the high limit threshold Η, and the capacitance value of the background capacitance and the capacitance value of the finger capacitance are not changed by external factors. Therefore, it is confirmed that the current capacitance baseline value is the trigger reference of the touch button, and an interrupt signal is output to the back end electronic device (S411), so that the electronic device performs the corresponding touch button function. If the judgment of step (S4〇9), =, is no, it means that the second scan capacitance value generated is less than or equal to 咼, the critical value Η, that is, the current capacitance of the background capacitor and the power of the finger capacitor. Each value may vary due to an external factor, and therefore, it is determined whether the second scan capacitance value is less than the low limit threshold L (S413). If the result of the determination in step (S413) is YES, it indicates that the second scan capacitance value is indeed less than the low limit threshold L, that is, the current capacitance value of the background capacitor 14 201015412 and the finger power (10) capacitance value may be due to changes in external factors. Confirmation will result in a large error, so the capacitor baseline value (S4i5) is updated to proceed. The monthly adaptation m is based on the current second scan capacitance value to repair the capacitor base. And the steps (lake) and its subsequent steps are continued to be adaptively adjusted at any time. w ί中本=&amp The correction of the electric value according to the third scan capacitance value in the example is to make the second scan capacitance value and the first scan ❹ ❹ to be the original 7-capacitance baseline value in the case of 5 and 6 in the case, as shown in the following formula. t two " update the electricity valley baseline value. If the actual situation is mandatory, the current example will be averaged with all the scan capacitance values obtained.

BaselineBaseline

Zl η 朗(S413)的判斷結果為否,則表示第二 ^田電谷值是小於或等於高限臨界值Η,並且大於或等於 低限£a界值L·。此時,在設斗μ 、 计是認定無法明確確認是否 Μ便料相原本㈣容基線 = ? ,但是並不輸出中斷信 者庫可ΐ解:執行步驟(_)。而熟悉該項技術 谷值的動作,並非是指取得前述 , 值,而是指再伯測並取得下叫 過的弟-㈣電容 關的判斷絲,以隹是否㈣錢進行相 而要更新電容基線值。 ㈣ί由重複本實施例之步驟流程,即可讓觸控按 ===下得以隨時因應外在因素的改變: 進订電谷基線值的適應性調整。 201015412 综上所述,本發明所提供的自動調整觸控按鍵之電容 f線值的方法’主要是在觸控按㈣統崎初始化程序或 2進入運作狀態下,皆可自動對電容基線值進行適應性調 正,以能即時因應觸控按鍵系統的使用情形、環境狀況, 而達到確保觸控按鍵系統正常運作及精確判斷的目的。 惟,以上所述,僅為本發明的具體實施例之詳細說明 及圖式而已,並非用以限制本發明’本發明之所有範圍應 =下述之申請專利範圍為準,任何熟悉該項技藝者在本發 明之領域内,可輕易思及之變化或修飾皆可涵蓋在以^ 案所界定之專利範圍。 【圖式簡單說明】 第 第一圖係習知技術觸控按鍵裝置的運作方法流程圖; 圖係本發明自動調整觸控按鍵之電容基線值的方法實 施例流程圖; / Λ 第If the judgment result of Z1 η 朗(S413) is NO, it means that the second field electric valley value is less than or equal to the high limit threshold value Η, and is greater than or equal to the low limit £a threshold value L·. At this time, in the case of setting the bucket μ, it is determined that it is impossible to clearly confirm whether or not the sputum phase (n) capacity baseline = ?, but the interrupt generator library is not output: the execution step (_). The familiarity with the behavior of the technology is not to obtain the above-mentioned value, but to refer to the second---fourth capacitor-off judgment wire, and to update the capacitor. Baseline value. (4) By repeating the step flow of this embodiment, the touch can be changed according to the external factors at any time by pressing ===: The adaptive adjustment of the baseline value of the electric valley is ordered. 201015412 In summary, the method for automatically adjusting the capacitance f-line value of the touch button provided by the present invention is mainly for automatically performing the capacitance baseline value under the touch control (4) Osaki initialization program or 2 entering the operating state. The adaptive adjustment can achieve the purpose of ensuring the normal operation and accurate judgment of the touch button system in response to the use of the touch button system and the environmental conditions. However, the above description is only for the detailed description and drawings of the specific embodiments of the present invention, and is not intended to limit the scope of the invention. Any change or modification that can be easily conceived in the field of the invention can be covered by the scope of the patent defined by the document. BRIEF DESCRIPTION OF THE DRAWINGS The first figure is a flow chart of a method for operating a touch button device of the prior art; FIG. 1 is a flow chart of a method for automatically adjusting a capacitance baseline value of a touch button according to the present invention;

圖係本發明於初始化程序之自動調整方法實流 圖; "L 第四圖係本發明於正常運作狀態之自動調整方法實施例流 程圖;及 Λ ^ 第五圖係本發明於正常運作狀態下之高限臨界值與低限臨 界值的實施例示意圖。 〃 _ 【主要元件符號說明】 [習知技術]The figure is a flow chart of the automatic adjustment method of the initialization program of the present invention; <L fourth figure is a flowchart of an embodiment of the automatic adjustment method of the present invention in a normal operation state; and 第五 ^ The fifth figure is the normal operation state of the present invention A schematic diagram of an embodiment of the lower limit threshold and the lower limit threshold. 〃 _ [Main component symbol description] [Practical technology]

Sl〇i〜sill習知技術流程圖步驟說明 16 201015412 [本發明] Η高限臨界值 L低限臨界值 S201〜S213流程圖步驟說明 S301〜S315流程圖步驟說明 S401〜S417流程圖步驟說明Sl〇i~sill Conventional Technology Flowchart Step Description 16 201015412 [Invention] Η High limit threshold L Low limit threshold S201~S213 Flowchart step description S301~S315 Flowchart step description S401~S417 Flowchart step description

1717

Claims (1)

201015412 十、申請專利範圍: 1、一種自動調整觸控按鍵之電容基線值的方法,係應用 於一按鍵觸控系統,該觸控按鍵係包含一背景電容及 一手指電容,而該方法之步驟包括: 依據該背景電容及該手指電容所產生的―第一掃描 電容值來取得一電容基線值; 依據该電容基線值來設定—低限臨界值; 取得該背景電容及該手指電容所產生的—第 電容值;及 二二掃描電容值小於該低限臨界值時,利用 ^亥第一掃描電容值來修正該電容基線值。 2 ❿ 專利範圍第1項所述之自動調整觸控按鍵之電 方法’其中在該按鍵觸控系統係進行-初 始化耘序時,進一步包含: 取掃描電容值來進行一平均運算,以產 生5亥苐一掃描電容值;及 將該電容基魏狀成為該低限臨界值。 如申請專利範圍第 容基線值的方法,進自動調整觸控按鍵之電 在:斷:二二掃描電容值大於或等於該低限臨界值 】準電容基線值係為該觸控按鍵的一觸發 如申請專利範圍第1項 容基線值的方法,動調整觸控按鍵之電 常運作狀態時,進二建觸控系統係進入-正 4 201015412 依據該電容基線值來進-步進行設定一高限臨界值。 ^申"月專利fell第4項所述之自動調整觸控按鍵之電 各基線值的方法,進一步包含: 在取得_二掃描電容值之後,_料二掃描電容 ,係小於或等於该祕gg界值時,進行判斷該第二 掃描電容值是否小於該低限臨界值;及 在取得該第二掃描電容值之後,判斷該第二婦描電容 • ㈣大於該高限臨界值時,取該電容基線值為該 觸控按鍵的一觸發基準進行輸出—中斷信號。 6、 請專利範圍第5項所述之自動調整觸控按鍵之電 容基線值的方法,進一步包含: 在判斷4第—掃&電容值大於或等於該低限臨界值 時’則確認該電容基線值係為該觸控按鍵的觸發基 準。 7如申睛專利範圍第6項所述之自動調整觸控按鍵之電 ❷ I基線值的方法,其中該第二掃描電容值係進一步與 該第-掃描電容值進行—平均運算,以修正及更新該 電容基線值。 =申凊專利範圍第4項所述之自動調整觸控按鍵之電 ☆基線值的法’其巾該高限臨界值係設計為該電容 基線值及-預設電容值的總和,而該低限臨界值係設 料該電容基線值及辆設電容值之—半的總和。 =申明專利範圍第8項所述之自動調整觸控按鍵之電 谷,線值的方法’其中該預設電容值係至少為該手指 電谷的一額定最低有效電容值。 19201015412 X. Patent application scope: 1. A method for automatically adjusting the capacitance baseline value of a touch button is applied to a button touch system, the touch button system includes a background capacitor and a finger capacitor, and the method steps The method includes: obtaining a capacitance baseline value according to the background capacitance and a “first scan capacitance value” generated by the finger capacitance; setting a low limit threshold according to the capacitance baseline value; obtaining the background capacitance and the finger capacitance - the capacitance value; and when the two-two scan capacitance value is less than the low limit threshold value, the first scan capacitance value is used to correct the capacitance baseline value. 2 电 The electric method for automatically adjusting the touch button described in the first item of the patent range, wherein when the button touch system performs the initialization process, the method further comprises: taking a scan capacitance value to perform an averaging operation to generate 5 a scan capacitor value; and the capacitor base shape becomes the low limit threshold. For example, if the method of applying the patented range baseline value is adopted, the power of the touch button is automatically adjusted: the off: the value of the second or second scan capacitor is greater than or equal to the threshold value. The baseline value of the quasi-capacitance is a trigger of the touch button. For example, if the method of applying the baseline value of the first item of the patent scope is to adjust the normal operation state of the touch button, the second touch system is entered into - positive 4 201015412, according to the baseline value of the capacitor, the setting is advanced. Limit threshold. The method of automatically adjusting the baseline values of the touch buttons according to the fourth patent of the patent, the method further includes: after obtaining the _ two-scan capacitance value, the second scanning capacitance is less than or equal to the secret When the gg boundary value is determined, it is determined whether the second scan capacitance value is less than the low limit threshold value; and after the second scan capacitance value is obtained, determining that the second display capacitance is greater than the high limit threshold value, The baseline value of the capacitor is an output-interrupt signal of a trigger reference of the touch button. 6. The method for automatically adjusting the capacitance baseline value of the touch button according to the fifth item of the patent scope further includes: when determining that the 4th sweep & capacitance value is greater than or equal to the low limit threshold value, the capacitor is confirmed The baseline value is the trigger reference for the touch button. The method of automatically adjusting the baseline value of the touch button of the touch button according to the sixth aspect of the claim, wherein the second scan capacitor value is further subjected to an average operation with the first scan capacitor value to correct Update the baseline value of this capacitor. = The method of automatically adjusting the touch button's power ☆ baseline value as described in item 4 of the patent scope of the patent, the high limit threshold of the towel is designed as the sum of the capacitance baseline value and the preset capacitance value, and the low The limit threshold is the sum of the capacitance of the capacitor and the set value of the capacitor. = The method for automatically adjusting the voltage of the touch button, the line value, as described in item 8 of the patent scope, wherein the predetermined capacitance value is at least a rated minimum effective capacitance value of the finger valley. 19
TW97139546A 2008-10-15 2008-10-15 A method for automatically adjusting capacitance baseline of touch button TWI380205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97139546A TWI380205B (en) 2008-10-15 2008-10-15 A method for automatically adjusting capacitance baseline of touch button

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97139546A TWI380205B (en) 2008-10-15 2008-10-15 A method for automatically adjusting capacitance baseline of touch button

Publications (2)

Publication Number Publication Date
TW201015412A true TW201015412A (en) 2010-04-16
TWI380205B TWI380205B (en) 2012-12-21

Family

ID=44830024

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97139546A TWI380205B (en) 2008-10-15 2008-10-15 A method for automatically adjusting capacitance baseline of touch button

Country Status (1)

Country Link
TW (1) TWI380205B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073430A (en) * 2011-01-24 2011-05-25 苏州瀚瑞微电子有限公司 Method for capacitive screen to automatically adjust induction value
CN102541382A (en) * 2012-01-18 2012-07-04 华为终端有限公司 Method and terminal for calibrating capacitive touch screen
CN102855032A (en) * 2011-06-27 2013-01-02 比亚迪股份有限公司 Baseline updating method and touch device
US8395589B2 (en) 2007-11-02 2013-03-12 Cypress Semiconductor Corporation Press on power-up detection for a touch-sensor device
TWI410838B (en) * 2010-06-08 2013-10-01 Au Optronics Corp Threshold compensation method on touch system
TWI447618B (en) * 2010-05-31 2014-08-01 Egalax Empia Technology Inc Method and device for automatically calibrating touch detection
US8952922B2 (en) 2010-04-30 2015-02-10 Elan Microelectronics Corporation Sensing unit, sensing arrangement and sensing method for touch panel application
US9285932B1 (en) 2011-07-28 2016-03-15 Parade Technologies, Ltd. Negative touch recovery for mutual capacitance scanning systems
US9391607B2 (en) 2010-04-22 2016-07-12 Qualcomm Technologies, Inc. Use of random sampling technique to reduce finger-coupled noise
US9442610B2 (en) 2010-04-22 2016-09-13 Qualcomm Technologies, Inc. Noise cancellation technique for capacitive touchscreen controller using differential sensing
TWI617965B (en) * 2013-12-31 2018-03-11 禾瑞亞科技股份有限公司 Touch controller, touch system, and method for detecting touch screen
US10755066B2 (en) 2017-01-11 2020-08-25 Egis Technology Inc. Method and electronic device for detecting finger-on or finger-off

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8395589B2 (en) 2007-11-02 2013-03-12 Cypress Semiconductor Corporation Press on power-up detection for a touch-sensor device
US9870097B2 (en) 2010-04-22 2018-01-16 Qualcomm Incorporated Noise cancellation technique for capacitive touchscreen controller using differential sensing
US9442610B2 (en) 2010-04-22 2016-09-13 Qualcomm Technologies, Inc. Noise cancellation technique for capacitive touchscreen controller using differential sensing
TWI549039B (en) * 2010-04-22 2016-09-11 高通科技股份有限公司 Use of random sampling technique to reduce finger-coupled noise
US9391607B2 (en) 2010-04-22 2016-07-12 Qualcomm Technologies, Inc. Use of random sampling technique to reduce finger-coupled noise
US8952922B2 (en) 2010-04-30 2015-02-10 Elan Microelectronics Corporation Sensing unit, sensing arrangement and sensing method for touch panel application
TWI447618B (en) * 2010-05-31 2014-08-01 Egalax Empia Technology Inc Method and device for automatically calibrating touch detection
US8605047B2 (en) 2010-06-08 2013-12-10 Au Optronics Corp. Threshold compensation method on touch device
TWI410838B (en) * 2010-06-08 2013-10-01 Au Optronics Corp Threshold compensation method on touch system
CN102073430A (en) * 2011-01-24 2011-05-25 苏州瀚瑞微电子有限公司 Method for capacitive screen to automatically adjust induction value
CN102073430B (en) * 2011-01-24 2013-03-13 苏州瀚瑞微电子有限公司 Method for capacitive screen to automatically adjust induction value
CN102855032B (en) * 2011-06-27 2016-03-02 比亚迪股份有限公司 Baseline update method and contactor control device
CN102855032A (en) * 2011-06-27 2013-01-02 比亚迪股份有限公司 Baseline updating method and touch device
US9285932B1 (en) 2011-07-28 2016-03-15 Parade Technologies, Ltd. Negative touch recovery for mutual capacitance scanning systems
WO2013107310A1 (en) * 2012-01-18 2013-07-25 华为终端有限公司 Method and terminal for calibrating capacitive touch screen
CN102541382A (en) * 2012-01-18 2012-07-04 华为终端有限公司 Method and terminal for calibrating capacitive touch screen
TWI617965B (en) * 2013-12-31 2018-03-11 禾瑞亞科技股份有限公司 Touch controller, touch system, and method for detecting touch screen
US10755066B2 (en) 2017-01-11 2020-08-25 Egis Technology Inc. Method and electronic device for detecting finger-on or finger-off

Also Published As

Publication number Publication date
TWI380205B (en) 2012-12-21

Similar Documents

Publication Publication Date Title
TW201015412A (en) A method for automatically adjusting capacitance baseline of touch button
TWI478015B (en) Method for controlling electronic apparatus and apparatus and computer program product using the method
EP2502136B1 (en) Method and apparatus for replicating physical key function with soft keys in an electronic device
US8289292B2 (en) Electronic device with touch input function and touch input method thereof
US8878793B2 (en) Input apparatus
JP6319483B2 (en) Information processing device
WO2015110063A1 (en) Method, apparatus, and device for information processing
TW201037577A (en) Bimodal touch sensitive digital notebook
US20120038579A1 (en) Input appratus
EP3236343A1 (en) Customizing method, responding method and mobile terminal of self-defined touch
JP2015207034A (en) information input device and information input method
CN101387915A (en) Touching keyboard control system and method
WO2013159684A1 (en) Method for automatically switching handheld modes and wireless handheld device
KR20140136855A (en) Function performing method and electronic device thereof
CN104007919A (en) Electronic device and control method thereof
TW201220152A (en) Touch control device and touch control method with multi-touch function
CN103164067A (en) Method for judging touch input and electronic device
TWI297847B (en) Multi-function activation methods and related devices thereof
CN108052350A (en) A kind of method and apparatus of automatic setting BIOS
TW201019210A (en) Function selection systems and methods, and machine readable medium thereof
TWI425397B (en) Touch pad module and method for controlling the same
TW201112040A (en) Data selection methods and systems, and computer program products thereof
TWI461985B (en) Multi - mode touch system
EP2693312B1 (en) Mobile terminal and input control method therefor
TW201022900A (en) Power management method for an electronic device and related device