201214253 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明係有關於一種電容式觸控面板電容基線值設定 及校準方法,尤指一種在觸控面板於進入閒置狀態一段 時間後,具有自動對電容基線值進行重新校準的方法。 【先前技術】 [0002] 隨著蘋果電腦的iPhone智慧型手機所帶起的多點觸控 〇 ❹ 099133193 顯示螢幕的熱潮,也逐漸地蔓延到一般的筆記型電腦及 桌上型電腦,進而設計出具有多點觸控功能顯示螢幕的 平板電腦及AICKALL IN ONE)觸控電腦,藉由其簡單而 直覺性的操作介面,使得操作者可以很容易地直接經由 顯示螢幕的畫面上進行畫面縮小、放大、旋轉、程式的 點選及執行或多媒體檔案的播放等操作。 請參閱第1圖所示,係為電容式觸控面板的結構示意 圖。電容式觸控面板1主要是在一玻璃面板10的表面蝕刻 有多組X、Y軸驅動線12、14,X、Y軸驅動線12、14在玻 璃面板10上是以陣列分佈在不同平面且相互垂直之方式 所構成,並分別連接至一控制器進行控制,而每一條X、 Y軸驅動線12、14交會點皆形成有一感應器18,當控制器 16驅動電流流經該等X、Y軸驅動線12、14時,即可在X 、丫軸驅動線12、14之間所交會的感應器18位置處形成一 電容量,又稱寄生電容(parasitic capacitance),當 手指碰觸觸控面板1表面時,在觸碰位置處則會額外增加 手指觸碰時所產生的電容量,又稱指觸電容(finger capacitance),使得控制器16透過掃猫X、Y軸驅動線 12、14後,即可透過偵測觸碰位置的電容值變化量,進 表單編號A0101 第3頁/共23頁 0992058027-0 201214253 而確認手指在觸控面板1上的正確位置。 再者,觸控裝置在操作前,一般會皆要執行一電容基 線值的設定程序,使得在觸控操作過程之中,能夠以該 電容基線值作為一電容值比較的基準,用以判定觸控面 板上所接收的電容值訊號,是否具為一有效的觸碰事件 。請參閱第2圖所示,係為習知觸控裝置操作的流程。惟 熟習該項技術人士應當瞭解,此流程中省略各種時序及 記憶體儲存問題,該操作流程包括:步驟101中,啟動觸 控裝置進行一初始化的作業,即於觸控裝置啟動後執行 必要的偵測,以確認觸控裝置的正常運作;接著在步驟 102中,觸碰裝置的控制器將會主動地分別掃瞄X、Y軸每 一條驅動線,藉以偵測並取得每一個感應器的電容值; 在下一步驟103中,依據剛剛所取得的電容值設定做為每 一個感應器的電容基線值,並暫存於一記憶體中;接續 在步驟104中,當觸控裝置設定好前述每一個感應器的電 容基線值後,即可正常執行一觸控操作活動之偵測,偵 測觸控裝置上是否有任何觸碰事伴的發生;在步驟105中 ,當手指或任何帶有電容值的物體碰觸到觸控裝置上任 一感應器上時,感應器將會彳貞測取得一量測電容值;在 步驟106中,觸控裝置將此量測電容值與相對應於該感應 器所事先暫存的電容基線值進行比對,判斷量測電容值 是否高於該電容基線值,如判斷結果為是,則表示所偵 測的量測電容值為一有效的觸碰事件,則結束觸控操作 之偵測,並將結果(例如觸碰位置之座標)輸出至系統; 如判斷結果為否,則表示為一非有效的觸碰事件,例如 因誤觸或環境雜訊造成感應器電容值的改變,則重新回 099133193 表單編號A0101 第4頁/共23頁 0992058027-0 201214253 到步驟10 4重複執行下〆次的觸控操作活動之偵測。 然而現有的現有觸控裝置具有下列的缺點.201214253 VI. Description of the Invention: [Technical Field] [0001] The present invention relates to a method for setting and calibrating a capacitive touch panel capacitance baseline value, and more particularly, after a touch panel is in an idle state for a period of time, A method to automatically recalibrate the capacitance baseline value. [Prior Art] [0002] With the multi-touch 〇❹ 099133193 display screen of Apple's iPhone smart phone, it has gradually spread to the general notebook computer and desktop computer, and then designed With a multi-touch display screen and AICKALL IN ONE), the simple and intuitive operating interface allows the operator to easily zoom out directly through the screen. Zoom in, rotate, program click and execute or play multimedia files. Please refer to Figure 1 for a schematic diagram of the structure of a capacitive touch panel. The capacitive touch panel 1 is mainly provided with a plurality of sets of X and Y axis drive lines 12 and 14 etched on the surface of a glass panel 10. The X and Y axis drive lines 12 and 14 are distributed in different planes on the glass panel 10 in an array. And being formed in a mutually perpendicular manner, and respectively connected to a controller for control, and each X, Y-axis driving line 12, 14 intersection point is formed with an inductor 18, when the controller 16 drives current through the X When the Y-axis drives the lines 12 and 14, a capacitance can be formed at the position of the inductor 18 where the X-axis drive lines 12 and 14 intersect, which is also called parasitic capacitance when the finger touches. When the surface of the touch panel 1 is touched, the capacitance generated by the finger touch is additionally increased at the touch position, which is also called finger capacitance, so that the controller 16 transmits the X-axis and Y-axis drive lines 12 through the scan cat. After 14th, you can confirm the correct position of the finger on the touch panel 1 by detecting the amount of change in the capacitance value of the touch position and entering the form number A0101 page 3/23 pages 0992058027-0 201214253. Moreover, before the operation of the touch device, a setting procedure of the capacitance baseline value is generally performed, so that the baseline value of the capacitance can be used as a reference for comparing the capacitance values during the touch operation to determine the touch. Whether the capacitance value signal received on the control panel has a valid touch event. Please refer to FIG. 2, which is a flow of the operation of the conventional touch device. However, those skilled in the art should understand that various timing and memory storage problems are omitted in the process. The operation flow includes: in step 101, the touch device is activated to perform an initial operation, that is, after the touch device is activated, the necessary execution is performed. Detecting to confirm the normal operation of the touch device; then, in step 102, the controller of the touch device actively scans each of the X and Y axis drive lines to detect and obtain each sensor. In the next step 103, the capacitance value of each sensor is set according to the capacitance value just obtained, and temporarily stored in a memory; and in step 104, when the touch device is set in the foregoing After the baseline value of the capacitance of each sensor, a touch operation activity detection can be performed normally to detect whether any touch event occurs on the touch device; in step 105, when the finger or any When the object of the capacitance value touches any sensor on the touch device, the sensor will guess to obtain a measured capacitance value; in step 106, the touch device measures the capacitance. The value is compared with the baseline value of the capacitor temporarily stored in the sensor, and it is determined whether the measured capacitance value is higher than the baseline value of the capacitor. If the determination result is yes, the detected capacitance value is detected. An effective touch event ends the detection of the touch operation and outputs the result (eg, the coordinates of the touch position) to the system; if the determination result is no, it indicates an inactive touch event, for example, If the sensor capacitance value changes due to accidental touch or environmental noise, return to 099133193 Form No. A0101 Page 4 / Total 23 Page 0992058027-0 201214253 Go to Step 10 4 Repeat the detection of the next touch operation activity. However, the existing existing touch devices have the following disadvantages.
[0003] 1.電容基線值的設定僅暫時儲存於隨機存取記憶體, 故每當觸控裝置進行操作時’皆必須在初使化過程 中重新執行一次X、γ軸驅動線的掃瞄,建立電容基 線值的更新,以進行後續觸控操作的電容值比對, 觸控裝置於初始化後所設定的電容基線值於觸控操 作過程中並無自動更新的機制。 2.初始化過程中觸控裝置’帶靜電容的物體停留在觸 控面板表面上時,例如手指、導電體,或者觸控裝 置放置在背景環境不崔沾例如環境溫、濕度 過高或過低、環境電,_過满16^地方,可能使得初 始設定的電容基線值實際上為失真的數據,或者當 觸控裝置轉換不同環境或操作狀態诗,原預設的電 谷基線值並無法因應當下的環境的需要或操作的狀 態而即時更正,造成觸控裝置的靈敏度不佳,進而 在觸控操作過程中無法正確地判斷觸控事件的發生 3.由於電容基線值是以暫存方式儲存在暫存記憶體中 ,故必須於觸控裝置的每一次初始化過程中重新執 行一次X、Y軸驅動線的掃瞄,建立電容基線值的設 定作業,故需耗費過多的系統資源及等待時間。 因此,如何解決前述觸控裝置所存在的缺點已成為舍 前本領域具有通常知識者亟欲努力解決之目構。 【發明内容】 099133193 表單編號A0101 第5頁/共23頁 0992058027-0 201214253 [0004] 為了改善既有電容式觸控面板於設定及更新電容基線 值方面的缺點,本發明提供一種電容式觸控面板電容基 線值設定及校準方法,主要係在一觸控裝置組裝於一主 機上時,在首次初始化作業時,即進行電容基線值設定 ,並永久儲存於儲存裝置内,以便於在主機下一次初始 開機後,觸控裝置即可直接讀取該電容基線值執行應用 :另者,進一步提供在觸控操作的過程中,如果偵測觸 控裝置持續經歷一段時間後無進行任何操作時,將自動 執行電容基線值設定程序,藉以更新儲存於第一儲存裝 置的電容基線值資料。 [0005] 為了達成前述之目的,本發明提出一種電容式觸控面 板電容基線值設定方法,係應用於一電容式觸控裝置, 其中該觸控裝置具有多組X、Y軸驅動線,且每一個該X、 Υ軸驅動線交會點皆形成有一感應器,該方法包括有下列 步驟: 於該觸控裝置初始化時執行一電容基線值設定程序; 掃瞄X、Υ軸每一條驅動線,分別偵測取得該感應器之 一電容值; 將取得電容值分別暫存於一第一儲存裝置; 判斷掃瞄次數是否達到一門檻值,如判斷結果為是, 進行至下一步驟; 根據該等電容值計算取得一平均電容值;以及 依據該平均電容值決定一電容基線值,並分別儲存於 一第二儲存裝置。 [0006] 本發明另一方面提出了一種電容式觸控面板電容基線 099133193 表單編號Α0101 第6頁/共23頁 0992058027-0 201214253 值校準方法,其係應用於電容式觸控面板電容基線值設 定中,用以進行電容基線值之校準方法,該方法包括有 下列步驟: 啟動一觸控裝置; 讀取儲存之該等電容基線值’並暫存至該第二儲存裝 置; 正常執行一觸控操作; 判斷觸控操作活動是否停止—預設時間值Τ1 ;以及 當判斷結果為是,重新執行該電容基線值設定程序。 ❹ [0007] 【實施方式】 茲為使貴審查委員對本發明之技術特徵及所達成之功 效能有進一步之瞭解與認識’謹佐以較佳之實施例圖及 配合詳細之說明,說明如後: 請參閱第3圖,係本發明觸控裝置執行電容基線值設 定之流程圖β如圖所示’本發明提供—種電容基線值設 Η; , Η … 丨丨 Ο 定方法,主要係在一觸控裝置組裝於一主機上時,在首 次初始化作業時,即進行電容基線值設定,並永久儲存 於儲存裝置内,以便於在主^機下一次初始開機後,觸控 裝置即可直接讀取該電容基線值執行應用。其中該主機 可以為任何配備有電容式觸控面板的電子產品,例如觸 控電腦、平板電腦、智慧型手機、液晶電視、筆記型電 腦或迷你電腦等電子產品,而該觸控面板主要是在一玻 璃面板的表面蝕刻有多組X、γ轴驅動線,χ、¥軸驅動線 在玻璃面板上以陣列分佈在不同平面且相互垂直之方式 所構成,並分別連接至一控制器進行控制,而每一條χ、 γ軸驅動線父會點皆形成有一感應器,當控制器驅動電流 099133193 表單編號Α0101 第7頁/共23 1 099' 201214253 流經該等X、Y軸驅動線時,即可在X、Y軸驅動線之間所 交會的感應器位置處形成一電容量,如第1圖所示。該設 定方法之流程包括有:首先在步驟201中,於觸控裝置的 初始化或產品初次開機時執行一電容基線值設定程序, 為了使電容基線值的設定得到最有效的參考值,避免在 設定過程中受到外界環境的干擾,在此流程中可以圖像 或語音的方式發出警告文字或語音,藉以提醒操作者將 手指或物品遠離觸控面板表面及周圍;在步驟202中,觸 控裝置經由執行一預設軟體程序,發出一控制指令要求 觸控裝置一控制器,針對觸控裝置的多個X、Υ軸驅動線 逐一進行掃瞄,分別偵測取得X、Υ轴驅動線上每一個感 應器的電容值;在步驟203中,將前述每一個感應器所偵 測的電容值逐一暫存至一第一儲存裝置,其中該第一儲 存裝置可選自為設置在觸控裝置或主機等硬體上之一隨 機存取記憶體(Random Access Memory, RAM),例如 SRAM、DRAM或DDR SDRM等;在步驟204中,為了使得感 應器電容值的偵測不致受到外在環境或人為的影響而造 成失真,本設定方法除了可以僅掃瞄一次該X、Y軸驅動 線,藉以偵測取得X、Y軸驅動線上每一個感應器的電容 值,亦可預先設定一掃瞄次數的門檻值S,並在執行完步 驟203後,進行判斷掃瞄次數已達到該預設值S,如果判 斷結果為否,則回到步驟202,並繼續重新執行一次X、Y 軸驅動線的掃瞄,並在下一個步驟203中,將偵測取得的 電容值儲存於儲存裝置,但不覆蓋前次的電容值資料; 反之,如判斷結果為是,則進入下一步驟205 ;在步驟 205中,將每一個感應器所偵測取得的電容值予以適當的 099133193 表單編號A0101 第8頁/共23頁 0992058027-0 201214253 加總運算,再予以平均運算後,計算出每一個感應器的 一平均電容值,例如,將每一個感應器偵測取得的電容 值1-S予以相加總後,再除以門檻值S,即可得到該平均 電容值;在下一個步驟206中,依據前一個步驟205中計 算所得的平均電容值設定為一電容基線值,並將此電容 基線值予以儲存或更新至一第二儲存裝置,其中該第二 儲存裝置可選自為設置在觸控裝置或主機等硬體上之一[0003] 1. The setting of the capacitance baseline value is only temporarily stored in the random access memory, so each time the touch device is operated, it is necessary to re-execute the scanning of the X and γ-axis driving lines during the initializing process. The capacitance value of the capacitor is updated to perform the capacitance value comparison of the subsequent touch operation. The baseline value of the capacitance set by the touch device after initialization is not automatically updated during the touch operation. 2. During the initialization process, when the object with static capacitance stays on the surface of the touch panel, such as a finger, a conductor, or a touch device is placed in the background environment, such as ambient temperature, humidity is too high or too low. The ambient power, _ over 16^ place, may cause the initial set capacitance baseline value to be actually distorted data, or when the touch device converts different environments or operating status poems, the original preset electric valley baseline value cannot be responded to. The current environment needs or the status of the operation is corrected immediately, resulting in poor sensitivity of the touch device, and thus the touch event cannot be correctly determined during the touch operation. 3. Since the capacitance baseline value is stored in a temporary storage mode. In the temporary memory, it is necessary to re-execute the scanning of the X and Y axis drive lines during each initialization process of the touch device, and establish the setting of the capacitance baseline value, so that excessive system resources and waiting time are required. . Therefore, how to solve the shortcomings of the above-mentioned touch device has become a goal that the ordinary knowledge in the field has been trying to solve. SUMMARY OF THE INVENTION 099133193 Form No. A0101 Page 5 of 23 0992058027-0 201214253 [0004] In order to improve the disadvantages of the existing capacitive touch panel in setting and updating the baseline value of the capacitor, the present invention provides a capacitive touch The panel capacitance value setting and calibration method is mainly when a touch device is assembled on a host, and the capacitance baseline value is set during the initial initialization operation, and is permanently stored in the storage device for the next time in the host device. After the initial booting, the touch device can directly read the baseline value of the capacitor to execute the application: in addition, during the touch operation, if the touch device is detected for a period of time without any operation, The capacitance baseline value setting program is automatically executed to update the capacitance baseline value data stored in the first storage device. [0005] In order to achieve the foregoing objective, the present invention provides a method for setting a baseline value of a capacitive touch panel capacitor, which is applied to a capacitive touch device, wherein the touch device has multiple sets of X and Y axis drive lines, and Each of the X and X-axis drive line intersections is formed with a sensor. The method includes the following steps: performing a capacitance baseline value setting procedure when the touch device is initialized; scanning X, each axis of the drive line, Detecting, respectively, obtaining a capacitance value of the sensor; temporarily storing the obtained capacitance value in a first storage device; determining whether the number of scanning times reaches a threshold value, and if the determination result is yes, proceeding to the next step; The equal capacitance value is calculated to obtain an average capacitance value; and a capacitance baseline value is determined according to the average capacitance value, and stored in a second storage device. [0006] Another aspect of the present invention provides a capacitive touch panel capacitance baseline 099133193 Form No. 1010101 Page 6 of 23 0992058027-0 201214253 Value calibration method, which is applied to capacitive touch panel capacitance baseline value setting The method for performing a calibration of a capacitance baseline value includes the steps of: starting a touch device; reading the stored capacitance baseline value and temporarily storing the second storage device; performing a touch normally Operation; determining whether the touch operation activity is stopped - the preset time value Τ 1 ; and when the judgment result is YES, re-executing the capacitance baseline value setting procedure. [0007] [Embodiment] In order to enable the reviewing committee to have a better understanding and understanding of the technical features of the present invention and the effects achieved, the following is a description of the preferred embodiment and the detailed description. Please refer to FIG. 3 , which is a flow chart of setting the capacitance baseline value of the touch device of the present invention. As shown in the following figure, the present invention provides a method for setting a capacitance baseline value, and a method for determining a voltage, mainly in a When the touch device is assembled on a host, the capacitance baseline value is set and stored in the storage device for the first time after the initial initialization operation, so that the touch device can directly read after the initial startup of the main machine. Take the capacitor baseline value to execute the application. The host can be any electronic product equipped with a capacitive touch panel, such as a touch computer, a tablet computer, a smart phone, an LCD TV, a notebook computer or a mini computer, and the touch panel is mainly A surface of a glass panel is etched with a plurality of sets of X and γ axis drive lines, and the χ and 轴 axis drive lines are arranged on the glass panel in an array on different planes and perpendicular to each other, and are respectively connected to a controller for control. And each of the χ, γ-axis drive line parent points are formed with a sensor, when the controller drives current 099133193, the form number Α0101, page 7 / total 23 1 099' 201214253 flows through the X, Y-axis drive lines, ie A capacitance can be formed at the location of the sensor where the X and Y axis drive lines meet, as shown in FIG. The process of the setting method includes: firstly, in step 201, performing a capacitance baseline value setting procedure when the touch device is initialized or the product is first turned on, in order to obtain the most effective reference value for setting the capacitance baseline value, avoid setting The process is disturbed by the external environment. In this process, a warning text or voice may be sent in an image or voice manner to remind the operator to move the finger or the object away from the surface of the touch panel and the surroundings. In step 202, the touch device is Executing a preset software program, issuing a control command to require a controller of the touch device to scan one of the X and X axis drive lines of the touch device one by one, respectively detecting each of the X and X axis drive lines In step 203, the capacitance values detected by each of the sensors are temporarily stored in a first storage device, wherein the first storage device may be selected from a touch device or a host device. a random access memory (RAM) on the hardware, such as SRAM, DRAM or DDR SDRM; in step 204, in order to make The detection of the capacitance value of the capacitor is not affected by the external environment or artificial influence. This setting method can scan only the X and Y axis drive lines, so as to detect each sensor on the X and Y axis drive lines. The threshold value of the scan number may be preset, and after the step 203 is performed, it is determined that the scan number has reached the preset value S. If the determination result is no, the process returns to step 202. And continue to perform a scan of the X and Y axis drive lines again, and in the next step 203, the detected capacitance value is stored in the storage device, but does not cover the previous capacitance value data; otherwise, if the judgment result is If yes, proceed to the next step 205; in step 205, the capacitance value detected by each sensor is appropriately 099133193, form number A0101, page 8 / total 23 page 0992058027-0 201214253, add the total operation, and then After the average operation, an average capacitance value of each sensor is calculated. For example, the capacitance value 1-S obtained by each sensor is added and totaled, and then divided by the threshold value S, The average capacitance value is set in the next step 206 according to the average capacitance value calculated in the previous step 205 as a capacitance baseline value, and the capacitance baseline value is stored or updated to a second storage device, wherein the second The storage device may be selected from one of hardware devices such as a touch device or a host computer.
唯讀記憶體(Read Only Memory, ROM),例如:MASK ROM、PROM、EPROM、EEPROM、Flash Memory等;在下 一個步驟207中,藉由該電容基線值決定每一個感應器的 一電容高限值及一電容低限值,並將電容高限值及電容 低限值分別儲存至第二儲存裝置,其中電容高限值及電 容低限值決定的方法,主要是以電容基線值分別去加減 一預設電容值C 、(^,以分別計算求出電容高限值及電 a b 容低限值,而該預設電容值c、cK可以為觸控裝置於出 a b 廠時即已内存設定的預設值,或是由使用者依據使用經 驗而透過及執行一操作視窗介面來自行設定,其中該預 設電容值C、最佳者是以該電容基線值的固定比例值 a b 來做設定,算式如下: C =電容基線值X P %, a CK=電容基線值X Q %, b 其中該P、Q分別可以依據需要被界定在1〜20之間,至 此完成電容基線值之設定方法。 請參閱第4圖所示,係本發明觸控裝置操作及校準電 容基線值之流程圖。在此流程中包括兩種偵測步驟:一 第一偵測步驟A及一第二偵測步驟B ;本實施例為了防止 099133193 表單編號A0101 第9頁/共23頁 0992058027-0 201214253 事先設定的電容基線值,在操作過程中因環境的變化或 操作上的人為因素而造成電容基線值的偏離,因此在觸 控操作的過程中,如果偵測觸控裝置持續經歷一段時間 後無進行任何操作時,即可自動再一次執行電容基線值 設定程序,藉以更新儲存於第一儲存裝置的電容基線值 資料,如第一偵測步驟A。又,本實施例在觸控操作的過 程中,將會週期性的偵測各感應器的電容值,並與電容 高限值及電容低限值進行比對,以便於當比對結果不符 合預設條件時,重新執行電容基線值設定程序,如第二 偵測步驟B。接著詳細介紹本流程如後:在步驟301中, 當主機電源開關打開啟動觸控裝置後,進入下一步驟302 ;在步驟302中,觸控裝置將會先讀取儲存在第一儲存裝 置且相對應於各感應器的電容基線值,並將其暫存至第 二儲存裝置内,完成設定並進入下一步驟;在步驟303中 ,觸控裝置開始正常執行一觸控操作,藉由偵測觸控裝 置的任一感應器是否有偵測任何電容值的改變,以便於 該感應器預設之電容基線值進行比對,以判斷是否為有 效的觸碰事件,如為有效的觸碰事件則將觸控點的資訊 傳遞至主機,如否則忽略此一觸碰事件,並繼續進行偵 測下一次的觸碰事件,惟此一步驟内容因屬習知技術, 於此不多贅述;在下一步驟304中,將週期性地偵測觸控 裝置的觸控操作活動是否停止一預設時間門檻值T1,如 判斷結果為否,則回到步驟303持續執行觸控操作,如判 斷結果為是,則進入下一步驟305 ;在步驟305中,當在 步驟304中判斷觸控操作活動已停止預設時間值,則重新 執行一次電容基線值設定程序(步驟201〜207),藉以校 099133193 表單編號A0101 第10頁/共23頁 0992058027-0 201214253 準電容基線值的正確性,如㈣可㈣觸控裝置進入至 間置狀態下時’可以根據當時的操作環境及狀況,即時 重新更新電«線值,避免電容祕_齡環境及狀 況的改變㈣成偏離,造成觸控裝置錄度的降低;再 者’在本步驟中所重新執行的電容基線值妓程序(步驟 201 7) λ致上與觸控裝置#錢㈣容基線值設定 程序内容相同,僅在於步驟m及2〇7中,所決定的電容 基線值電谷同限值及電容低限值可以選擇僅暫時儲存Read Only Memory (ROM), such as: MASK ROM, PROM, EPROM, EEPROM, Flash Memory, etc.; in the next step 207, a capacitance high limit value of each inductor is determined by the capacitance baseline value. And a capacitor low limit, and storing the capacitor high limit and the capacitor low limit respectively to the second storage device, wherein the method for determining the capacitor high limit value and the capacitor low limit value is mainly to add or subtract one of the capacitance baseline values respectively The preset capacitance values C and (^ are respectively calculated to determine the capacitance high limit value and the electric capacitance low limit value, and the preset capacitance values c and cK can be set by the touch device when the device is out of the factory. The default value is set by the user through an operation window interface according to the experience of use, wherein the preset capacitance value C, the best one is set by a fixed ratio value ab of the capacitance baseline value, The formula is as follows: C = capacitance baseline value XP %, a CK = capacitance baseline value XQ %, b where P and Q can be defined between 1 and 20, respectively, and the method of setting the capacitance baseline value is completed. As shown in Figure 4, A flow chart of the touch device operating and calibrating the baseline value of the capacitor. The process includes two detection steps: a first detection step A and a second detection step B; this embodiment prevents the 099133193 form number from being used. A0101 Page 9 of 23 0992058027-0 201214253 The preset baseline value of the capacitor is caused by the change of the baseline value of the capacitor due to environmental changes or operational human factors during operation. Therefore, during the touch operation, If the detecting touch device does not perform any operation after a period of time, the capacitance baseline value setting program is automatically executed again to update the capacitance baseline value data stored in the first storage device, such as the first detecting step A. In addition, in the process of the touch operation, the capacitor value of each sensor is periodically detected and compared with the capacitor high limit value and the capacitor low limit value, so that when the comparison result is not When the preset condition is met, the capacitor baseline value setting procedure is re-executed, such as the second detecting step B. Then the flow is described in detail later: in step 301, when the host power supply After the touch device is turned on, the process proceeds to the next step 302. In step 302, the touch device will first read the capacitance baseline value stored in the first storage device and corresponding to each sensor, and temporarily store the capacitance. In the second storage device, the setting is completed and the next step is performed; in step 303, the touch device starts to perform a touch operation normally, by detecting whether any sensor of the touch device detects any capacitance value. The change is made to compare the preset capacitance baseline values of the sensor to determine whether it is a valid touch event, such as transmitting a touch point information to the host for a valid touch event, if otherwise, ignore this A touch event, and continue to detect the next touch event, but the content of this step is a conventional technique, and will not be described here; in the next step 304, the touch device will be periodically detected. Whether the touch operation activity stops the preset time threshold T1. If the determination result is no, the process returns to step 303 to continue the touch operation. If the determination result is yes, the process proceeds to the next step 305; in step 305, when in In step 304, it is determined that the touch operation activity has stopped the preset time value, and then the capacitor baseline value setting program is re-executed (steps 201 to 207), thereby 099133193 Form No. A0101 Page 10 / Total 23 Page 0992058027-0 201214253 Quasi-capacitor The correctness of the baseline value, such as (4) can (4) when the touch device enters the intervening state, 'you can immediately re-update the electric «line value according to the operating environment and conditions at that time, to avoid the change of the capacitance secret age environment and condition (4) Deviation, causing the touch device to decrease in recording; in addition, the 'capacitance baseline value 重新 program re-executed in this step (step 201 7) λ is the same as the touch device #钱(四) capacitance baseline value setting program, Only in steps m and 2〇7, the determined capacitance baseline value and the capacitance lower limit can be selected for temporary storage only.
於第-儲存裝置,而不需要纽雌於第二儲存裝置中 ... . ... 〇In the first storage device, without the need for a new female in the second storage device ... . . .
在步驟303之後’將同時執行另一偵測步驟,藉以判 斷是否重新執行電容基線值設定程序(步驟2(Η〜207), 在步驟綱中,觸控裝置於正常執行觸控操作的過程將會 週期性的掃猫X、㈣每一條驅動線,藉以分別制取得 每-個感應器的i測電容值,並進人至下—步驟;請 參閱第5卜5C圖所示’分職本發明觸控面板偵測電容值 的取樣不意圖。在本示意圖t,橫轴代表時間縱轴代 表偵/則電♦值’-般*言’觸*面板操作過程仍會持續 遭致到/JHL度或其他環境因素的影響,甚至是手指或其他 帶有靜電容物體長期放置於觸控面板上,而使得感應器 上所偵測取樣的偵測電容量會隨著時間而變動,在正常 情況下,當偵測電容值的變動量維持在電容上限值及電 容下限值之範圍内,代表其所遭受到外在環境的影響不 太大,觸控面板的系統效能或感應的靈敏度仍可維持其 穩定性,如第5A圖所示,因此在此請況下觸控裝置並不 會主動重新執行電容基線值設定程序;但是當觸控面板 099133193 表單編號A0101 第11頁/共23頁 0992058027-0 201214253 受到外在環境的影響,例如具有過多的正負靜電容物體 停放在觸控面板一段時間,或是觸控面板受到溫度或其 他環境因素而使得觸控面板上持續維持過高或過低的電 容值時,如第5 B、5 C圖所示,則代表觸控面板的將因為 偵測電容值持續維持著過大或過小的狀況,而造成系統 效能或感應的靈敏度相對地降低,而會影響觸控面板正 常的操作,而為了避免上述這類情形發生,因此在步驟 307中,觸控裝置將會在執行觸控操作的過程中,以週期 性偵測的方式,偵測及判斷電容值是否持續超過電容高 限值一預設時間門檻值T2或持續低過電容低限值一預設 時間門檻值T3,如判斷結果有任一條件成立,則進入至 步驟305,以重新執行電容基線值設定程序(步驟201〜 207),當判斷結果無任一條件成立,則回到步驟303正常 執行一觸控操作。 藉由上述說明可知,本發明具有下列的優點: [0008] 1. 由於本發明於觸控裝置組裝於一主機上時,即已事 先進行該電容基線值之初次設定,並永久儲存於第 二儲存裝置内,故觸控裝置在往後的開機過程中不 需要重複進行電容基線值的設定,以避免設定過程 中遭受周圍環境或人為因素影響,造成電容基線值 的設定值不穩定,而致感應靈敏度不佳。 2. 觸控裝置可以因應周圍環境及操作狀態利用操作閒 置的過程進行電容基線值的校準,藉以提高觸控操 作的靈敏度。 3. 觸控裝置可以經由週期性偵測取得每一個感應器的 099133193 表單編號A0101 第12頁/共23頁 0992058027-0 201214253 偵測電容值,藉此判斷偵測電容值的變動量是否維 持在電容上限值及電容下限值之範圍内,以便於即 時進行電容基線值的校準,藉以提高觸控操作的靈 敏度。 惟本發明雖已於前述實施例中所揭露,但並不僅限於 前述實施例中所提及之内容,在不脫離本發明之精神和 •範圍内所做之任何變化與修改,均屬於本發明之保護範 圍。 綜上所述,本發明已具備顯著功效增進,並符合發明 專利要件,爰依法提出申請。 【圖式簡單說明】 [0009] 第1圖係為電容式觸控面板的結構示意圖。 第2圖係為習知觸控裝置操作的流程。 第3圖係本發明觸控裝置執行電容基線值設定之流程圖。 第4圖係本發明觸控裝置操作及校準電容基線值之流程圖After step 303, another detection step will be performed at the same time to determine whether to re-execute the capacitance baseline value setting procedure (step 2 (Η~207). In the step, the touch device performs the touch operation normally. Periodically sweeping the cat X, (4) each drive line, to obtain the value of the measured capacitance of each sensor separately, and enter the next-step; please refer to the 5th 5C diagram The touch panel does not intend to detect the capacitance value. In this diagram t, the horizontal axis represents the time and the vertical axis represents the Detector/Electricity ♦ The value of the panel operation will continue to be caused by the /JHL degree. Or other environmental factors, even fingers or other objects with static capacitance placed on the touch panel for a long time, so that the detected capacitance of the detected samples on the sensor will change with time, under normal circumstances. When the variation of the detected capacitance value is maintained within the range of the upper limit of the capacitance and the lower limit of the capacitance, it means that the influence of the external environment is not too great, and the system performance or sensitivity of the touch panel can still be Maintain its stability As shown in Figure 5A, the touch device does not actively re-execute the capacitance baseline value setting procedure under this condition; however, when the touch panel 099133193 form number A0101 page 11 / 23 pages 0992058027-0 201214253 The influence of the external environment, such as when there are too many positive and negative electrostatic capacitors to park on the touch panel for a period of time, or when the touch panel is subjected to temperature or other environmental factors, and the touch panel continues to maintain a high or low capacitance value. As shown in Figures 5B and 5C, it means that the touch panel will be kept too large or too small due to the detection of the capacitance value, which will cause the system performance or sensitivity of the sensor to be relatively reduced, which will affect the touch. The normal operation of the panel, and in order to avoid the above-mentioned situation, in step 307, the touch device will detect and determine whether the capacitance value continues in a periodic detection manner during the touch operation. Exceeding the capacitor high limit value, a preset time threshold value T2 or continuously lowering the low capacitance limit value, a preset time threshold value T3, if any condition is satisfied, the Go to step 305 to re-execute the capacitance baseline value setting procedure (steps 201 to 207). When none of the conditions is satisfied, return to step 303 to perform a touch operation normally. With the above description, the present invention has the following Advantages of the present invention: [0008] 1. Since the touch device is assembled on a host, the initial setting of the baseline value of the capacitor is performed in advance, and is permanently stored in the second storage device, so the touch device is After the power-on process, it is not necessary to repeat the setting of the capacitance baseline value to avoid the influence of the surrounding environment or human factors during the setting process, resulting in unstable set value of the capacitance baseline value, and the sensing sensitivity is not good. The sensitivity of the touch operation can be improved by calibrating the capacitance baseline value according to the surrounding environment and the operating state by using the process of idle operation. 3. The touch device can obtain the 099133193 form number A0101 page 12/23 page 0992058027-0 201214253 of each sensor through periodic detection to determine whether the variation of the detected capacitance value is maintained. Within the range of the upper limit of the capacitor and the lower limit of the capacitor, the calibration of the baseline value of the capacitor can be performed immediately, thereby improving the sensitivity of the touch operation. However, the present invention has been disclosed in the foregoing embodiments, but is not limited to the contents mentioned in the foregoing embodiments, and any changes and modifications made without departing from the spirit and scope of the invention belong to the present invention. The scope of protection. In summary, the present invention has been significantly improved in efficacy and conforms to the patent requirements of the invention, and is filed according to law. [Simple description of the drawing] [0009] Fig. 1 is a schematic structural view of a capacitive touch panel. Figure 2 is a flow chart of the operation of the conventional touch device. FIG. 3 is a flow chart of performing a capacitance baseline value setting of the touch device of the present invention. 4 is a flow chart of the operation and calibration of the baseline value of the touch device of the present invention.
第5 A~5C圖分別係本發明觸控面板偵測電容值的取樣示意 [0010] 圖。 【主要元件符號說明】 1 觸控裝置 10 玻璃面板 12 X軸驅動線 14 Y軸驅動線 16 控制器 18 感應器 表單編號A0101 099133193 第13頁/共23頁 0992058027-0 201214253 A 第一偵測步驟 B 第二偵測步驟 1 01〜1 06 習知觸控裝置操作的流程 201〜207 電容基線值設定流程 301〜30 7 電容基線值校準流程 0992058027-0 099133193 表單編號A0101 第〗4頁/共23頁5A~5C are respectively sampling diagrams for detecting the capacitance value of the touch panel of the present invention. [0010] [Main component symbol description] 1 Touch device 10 Glass panel 12 X-axis drive line 14 Y-axis drive line 16 Controller 18 Sensor form number A0101 099133193 Page 13 of 23 0992058027-0 201214253 A First detection step B Second detection step 1 01~1 06 Conventional touch device operation flow 201~207 Capacitance baseline value setting flow 301~30 7 Capacitance baseline value calibration flow 0992058027-0 099133193 Form number A0101 No. 4 page/total 23 page