201209686 六、發明說明: 【發明所屬之技術領域】 本發明係關於一種接觸檢測裝置,尤指一種浮動€& 接觸檢測裝置。 【先前技術】 觸控面板依感應原理大致可分電阻式、電容式、&立 波式、紅外線式等。 以電容式觸控面板而論’其在結構上最外層為—薄薄 的二氧化石夕硬化處理層,第二層為ITO薄膜,這兩片具備特 定透明導電圖型的透明薄片,互相不導通。當使用者手指 接近面板時,分別負責感應X轴及γ軸的電容變化,並經由 控制電路以序列或平行的方 讀$手指觸摸面板的位 置丄面板的最下層還有一層ΙΤΟ薄膜,提供遮蔽功能,以維 持電容式觸控面板能在良好無干擾的環境下工作。 ~ 一般而言,電容式觸控面板可分為表面電容、投射式 電容等。表面電容主要應用於戶外或是對溫溼度規格要求 2為嚴格的環境,故價格較高。多點觸控式電容在ΙΤΟ層以 ,刻方式形成矩陣,使得人體在接觸時除了表面會形成電 容值的變化之外,也會造成χγ軸交會處之間電容值的變 觸控式電容具有⑽性高' 漂移現象較表面式電 ,、 ^ ^被視為疋未來電容式觸控面板的主流技術。 即。,用電容式觸控面板,使用者只需以手指輕觸面板, 。侍到决速且靈敏的觸控回應’以及優異的多點觸控效 201209686 犯。然而,電容式由於製程步驟較多,且驅動1(:與電路複 雜’因此在成本及技術進展上不利應用於大尺寸的產品製 造。因此,如何有效降低製造成本,增加觸控敏感度,減 少錯誤,同時又能兼顧電容式觸控面板的操作性能,將成 為電容式觸控面板未來的發展方向之一。 【發明内容】 導體的浮動電容受大地電場的影響,電路產生的雜 訊,LCD電路感應的雜訊等影響,造成檢測上極大的困難, 有4α方、此,本發明提供一種導體的浮動電容接觸檢測裝 置’俾能有效排除雜訊,增加敏感度、其主要方法係依據 浮動電容值的變化量來準確地偵測觸控位置,而非習用技術 使用平均浮動電容值來偵測觸控位置。 :達成上述目的’本發明所提供之浮動電容接觸檢測 裝置。:包括:一面板,其上包含有多數個導電線;一多工 、擇益,其係電性連接至該面板之多數個導電線:一電容 ^貞測電路,其係、電性連接^多卫選擇器;-微控制器, 連接至該電容值偵測電路;”,電容值谓測電 =係通㈣多工選擇器偵測該面板之該等多數個導電線之 饩伙^ 1 1將S亥等多數個導電線之浮動電容值傳送至 =制器以計算該等多數個導電線之浮動電容值的最大變 之:觸Τι據邊等浮電容值的最大變化量而檢測於面板上 之接觸位置。該等多數個道 ☆ 個導電線之汗動電容值的最大變化 置你正比於該導體與接觸位置之距離。 201209686 電容值偵測電路包含:—電容器’其包含有第-端及 第二端’帛-端係接地,第二端係通過—類比數位轉換器 =接至微控制器,第二端另經由U關連接至一直流 私展,帛—開關’其係、通過該多工選擇器電性連接至其 中之-導電線’第二開關係切換至該電容器、或切換至接 地0 電容值偵測電路的操作方式為:第一開關連接該直流201209686 VI. Description of the Invention: [Technical Field] The present invention relates to a contact detecting device, and more particularly to a floating €& contact detecting device. [Prior Art] The touch panel can be roughly divided into a resistive type, a capacitive type, a & vertical type, and an infrared type according to the sensing principle. In the case of a capacitive touch panel, the outermost layer of the structure is a thin thin layer of oxidized oxidized layer, and the second layer is an ITO film. The two sheets have transparent sheets of a specific transparent conductive pattern. Turn on. When the user's finger approaches the panel, they are responsible for sensing the change of capacitance of the X-axis and the γ-axis, respectively, and reading the position of the touch panel in a sequence or parallel by the control circuit. The bottom layer of the panel also has a layer of germanium film to provide shielding. Function to maintain a capacitive touch panel that works in a good, interference-free environment. ~ In general, capacitive touch panels can be divided into surface capacitors and projected capacitors. Surface capacitance is mainly used outdoors or for temperature and humidity specifications. 2 is a strict environment, so the price is higher. The multi-touch type capacitor forms a matrix in the enamel layer in an engraved manner, so that in addition to the change in the capacitance value of the surface when the human body is in contact, the variable touch capacitance of the capacitance value between the χ γ-axis intersections is also (10) High-slip's drift phenomenon is more than surface-type electricity, ^ ^ is regarded as the mainstream technology of future capacitive touch panels. which is. With a capacitive touch panel, the user simply touches the panel with his finger. Serve a fast and sensitive touch response ‘and excellent multi-touch effects 201209686. However, the capacitive type has many process steps, and the drive 1 (: and the circuit is complicated) is therefore disadvantageously applied to the manufacture of large-sized products in terms of cost and technological progress. Therefore, how to effectively reduce the manufacturing cost, increase the touch sensitivity, and reduce The error, while at the same time taking into account the operational performance of the capacitive touch panel, will become one of the future development directions of the capacitive touch panel. [Invention] The floating capacitance of the conductor is affected by the earth electric field, the noise generated by the circuit, LCD The influence of noise induced by the circuit causes great difficulty in detection. There is a 4α square. Therefore, the present invention provides a floating capacitance contact detecting device for a conductor, which can effectively eliminate noise and increase sensitivity, and the main method is based on floating. The amount of change in the capacitance value is used to accurately detect the touch position. Instead of the conventional technique, the average floating capacitance value is used to detect the touch position. To achieve the above object, the floating capacitor contact detecting device provided by the present invention includes: a panel having a plurality of conductive lines thereon; a multiplex, a benefit, which is electrically connected to a plurality of the panels Wire: a capacitor ^ measuring circuit, its system, electrical connection ^ multi-guard selector; - microcontroller, connected to the capacitance value detection circuit;", capacitance value is measured electricity = system through (four) multiplex selector Detecting the plurality of conductive lines of the panel ^ 1 1 transferring the floating capacitance values of a plurality of conductive lines such as S Hai to the controller to calculate the maximum value of the floating capacitance values of the plurality of conductive lines : The contact position on the panel is detected by touching the maximum change amount of the floating capacitor value, etc. The maximum change of the sweat capacitance value of the majority of the ☆ conductive lines is proportional to the distance between the conductor and the contact position. 201209686 Capacitance value detection circuit includes: - capacitor 'which contains the first end and the second end '帛-end grounding, the second end is through the analog-to-digital converter = connected to the microcontroller, the second end is another Connected to the continual flow through the U-off, the 帛-switch's system is electrically connected to it through the multiplexer - the conductive line 'the second open relationship is switched to the capacitor, or switched to the ground 0 capacitance value detection The operation mode of the measuring circuit is: first open Connected to the DC
電源至該電容器,致使直流電源對電容器進行充電,第二 開關切換至接地,致使導電線進行放電。第一開關切斷直 2、原’、电今器之連接,類比數位轉換器讀取電容器之第 -電壓值。第二開關係切換至電容器,致使電容器對導電 =充電’進入穩態後,類比數位轉換器讀取電容器之第二 電壓值。#中’第-電壓值與第二電壓值之差值係正比於 料電線之浮動電容值。微控制器可經過多數㈣測該等 义數個導電線之浮動電容值後用每個各別導電線的最大浮 動電容值減去最小浮動電容值而計算出最大變化量。另 外’電容值偵測電路更包含—電感,其係連接至該電容器 及該第二開關。 【實施方式】 π叫先併參考圖〗及圖2 ’圖1係本發明一較佳實施例之 知作:思圖’圖2係本發明—較佳實施例之系統架構圖。如 圖所不’本發明之浮動電容接觸檢測裝置I包括· 一面板 1〇、-多工選擇器u、一電容值读測電路12、及一微控制 5 1 S] 201209686 器13。面板10上包含有多數個導電線,以本實施例為例, 面板10上包含有八條導電線⑻〜⑽,本實施例之導電線數 量僅是舉例說明’並非n為限。多工選擇器u電性連 接至面板10之導電線1〇卜1〇8,以依次對該等導電線 101〜108進行掃描偵測。電容值偵測電路i 2電性連接至多工 選擇器η,微控制器13則電性連接至電容值仙電路12。 圖1所示冑使用者以手指接觸面板1 〇上的位置Α,兮 位置Α位於導電線】06上。使用者手指接觸之處,其所對= 之導電線之浮動電容值的變化量將大幅提高,其值係高於 其他未接觸導電線所能量測之浮動電容值的變化量。、 於本實施例中,電容值偵測電路〗2通過多工選擇器U 依次偵測面板】0之該等多數個導電線1〇1〜1〇8之浮動電容 值,並將該等多數個導電線101〜1〇8之浮動電容值傳送至微 控制器13,經過多次循環後以計算該等多數個導電線 101〜108之浮動電容值的最大變化量,俾依據該等浮動電容 值的最大變化量而檢測於面板】〇上之接觸位置。電容值偵 測電路12有許多種實現方式,本實施例試舉一種實現電容 值偵測電路12之電路。 請參考圖3(a),圖3(a)係本發明一較佳實施例之等效電 路圖。如圖所示,該電容值偵測電路12包含:一類比數位 轉換器121、一電容器122、一第一開關123、一第二開關 1 24、及一直流電源v。其中,電容器I 22包含有第—端&及 第二端b ’第一端a係接地,第二端b係通過類比數位轉換器 121連接至微控制器13,第二端b另經由第一開關123連接至 201209686 直流電源v。第二開關124係通過多工選擇器n(圖未示)依 次連接至導電線101〜108,圖3(a)所示係為第二開關124與導 電線106連接之等效電路圖。另外,電容器122與第二開關 1 24之間亦可加裝一電感125,以增加該電容值偵測電路i 2 之穩定度並可過濾雜訊,加速進入穩定狀態。 底下,本實施例試舉例說明如何通過本實施例所提供 之電容值偵測電路丨2以進行浮動電容值之量測。 本實施例之電容器122具有一電容值C,導電線】06具有 一等效之電阻值R、及浮動電容值c,。首先,第一開關123 連接直流電源V至電容器丨22,以致使直流電源V對電容器 122進行充電,第二開關124切換至接地,以致使導電線 進行放電。接著,第一開關i23切斷直流電源v與電容器j22 之連接’類比數位轉換器121讀取電容器122之電壓值νι, 此時,直流電源V對電容器122充電的總電荷為Cv卜之後, 第二開關124切換至電容器122,以致使電容器122對導電線 106進行充電。待進入穩態後,類比數位轉換器12丨讀取電 容器122之電壓值V2,此時,其總電荷為CV2 + C,V2。根據 電荷不滅定律,前後充放電的總電荷相同,因此: CV1=CV2+C,V2 C,=C(V1-V2)/V2 其中,(Vl-V2)/V2係正比於導電線丨〇6之可變電容值,由 此,微控制器13可計算出導電線丨06之浮動電容值<:、 本發明之多工選擇器11係對導電線1〇1〜1〇8進行多工 處理,因此,每一導電線1〇1〜1〇8可通過同樣步驟進二二動 201209686 $夺值里;^。本發明之主要特徵在於經由浮動電容值的 最大=化量作為偵測依據,以確定面板ι〇上的接觸位置。 π參考圖4,圖4係經由多工選擇器丨〗之多工處理而通 k微處理器13 4鼻後之各導電線浮動電容值c,。圖*所舉係 以微處理器13偵測導電線1〇】〜1〇8浮動電容值一千次為 例。由圖4可知,當使用者以手指接觸面板1〇之位置a時, 導电線〗〇i於一千次的偵測令有極大值28、極小值$,兩者 相差20;導電線1()2有極大值為73、極小值1〇,兩者相差⑴ 導電線103有極大值為8〇、極小值9,兩者相差7丨,·導電線 104有極大值為100、極小值1〇 ’兩者相差9〇 •,導電線〖Μ有 極大值為170、極小值7, @者相差163; #電線ι〇6有極大 值為260、極小值4,兩者相差254 ;導電線107有極大值為 130、極小值12,兩者相差118;導電線1〇8有極大值為 極小值7,兩者相差58。由此,比較各導電線的電容值變化 量,可知導電線1〇6的電容值變化量最大,因此,微處理器 13可判斷使用者所接觸面板1〇的位置A在導電線〗〇6上。。 通過偵測各導電線之浮動電容值的最大變化量,微處 理器13可判斷是否有導電線接收到觸控輸入。上述所舉$ 以使用者手指接觸面板10之位置A為例,若使用者接觸其= 位置,該位置所對應之導電線亦可產生類似的浮動電容值 變化,其可參考圖5所示。圖5所示為各導電線接觸與其浮 動電容值變化量之測試結果,接觸導電線1〇6時各導電線之 電容值變化量(如圖5之黑框線所示)已如上述,接觸^他導 電線亦可有相類似之效果。因此’經由實施例所提供之電 201209686 而可 本 而 容值#'測電路12,可準確地判定導電線是否被觸碰 得知觸碰位置。 …、、而,上述實施例僅係為了方便說明而舉例而已 發明所主張之制範圍自應以申請專利範圍所述為準 非僅限於上述實施例。The power supply to the capacitor causes the DC power supply to charge the capacitor and the second switch to ground, causing the conductive line to discharge. The first switch cuts off the connection of the original ', the original', and the analog-to-digital converter reads the first voltage value of the capacitor. The second open relationship is switched to the capacitor, causing the capacitor pair to conduct = charge 'after entering steady state, the analog digital converter reads the second voltage value of the capacitor. The difference between the #中'th-voltage value and the second voltage value is proportional to the floating capacitance value of the material wire. The microcontroller can calculate the maximum variation by subtracting the minimum floating capacitance value from the maximum floating capacitance value of each of the respective conductive lines after the majority (4) measures the floating capacitance values of the plurality of conductive lines. Further, the capacitance detecting circuit further includes an inductor connected to the capacitor and the second switch. [Embodiment] π is preceded by reference to the drawings and FIG. 2 is a schematic view of a preferred embodiment of the present invention: FIG. 2 is a system architecture diagram of the present invention - a preferred embodiment. As shown in the figure, the floating capacitance contact detecting device 1 of the present invention includes a panel 1 〇, a multiplexer u, a capacitance value reading circuit 12, and a micro control 5 1 S] 201209686 13. The panel 10 includes a plurality of conductive lines. The present embodiment is exemplified. The panel 10 includes eight conductive lines (8) to (10). The number of conductive lines in this embodiment is merely an example 'not limited to n. The multiplexer u is electrically connected to the conductive lines 1 to 8 of the panel 10 to sequentially scan the conductive lines 101 to 108. The capacitance value detecting circuit i 2 is electrically connected to the multiplexer η, and the microcontroller 13 is electrically connected to the capacitance value circuit 12. In Fig. 1, the user touches the position on the panel 1 with his finger, and the position Α is located on the conductive line 06. When the user touches the finger, the amount of change in the floating capacitance value of the conductive line of the pair is greatly increased, and the value is higher than the variation of the floating capacitance value measured by the energy of the other uncontacted conductive line. In this embodiment, the capacitance value detecting circuit 〖2 sequentially detects the floating capacitance values of the plurality of conductive lines 1〇1~1〇8 of the panel ○ through the multiplexer U, and the majority The floating capacitor values of the conductive lines 101~1〇8 are transmitted to the microcontroller 13, and after a plurality of cycles, the maximum variation of the floating capacitor values of the plurality of conductive lines 101-108 is calculated, and the floating capacitors are used according to the floating capacitors. The maximum amount of change in the value is detected in the contact position on the panel. There are many implementations of the capacitance value detecting circuit 12. In this embodiment, a circuit for implementing the capacitance value detecting circuit 12 is proposed. Referring to Figure 3(a), Figure 3(a) is an equivalent circuit diagram of a preferred embodiment of the present invention. As shown, the capacitance value detecting circuit 12 includes an analog-to-digital converter 121, a capacitor 122, a first switch 123, a second switch 122, and a DC power supply v. The capacitor I 22 includes a first end & and a second end b 'the first end a is grounded, the second end b is connected to the microcontroller 13 through the analog digital converter 121, and the second end b is further A switch 123 is connected to the 201209686 DC power supply v. The second switch 124 is sequentially connected to the conductive lines 101 to 108 through a multiplexer n (not shown), and the equivalent circuit diagram of the second switch 124 connected to the conductive line 106 is shown in Fig. 3(a). In addition, an inductor 125 may be added between the capacitor 122 and the second switch 14 to increase the stability of the capacitance detecting circuit i 2 and filter the noise to accelerate the steady state. The present embodiment attempts to illustrate how to measure the floating capacitance value by using the capacitance value detecting circuit 丨2 provided in this embodiment. The capacitor 122 of this embodiment has a capacitance value C, and the conductive line 06 has an equivalent resistance value R and a floating capacitance value c. First, the first switch 123 connects the DC power source V to the capacitor 丨22 so that the DC power source V charges the capacitor 122, and the second switch 124 switches to the ground to cause the conductive line to discharge. Next, the first switch i23 cuts off the connection between the DC power source v and the capacitor j22. The analog digital converter 121 reads the voltage value νι of the capacitor 122. At this time, after the total charge of the DC power source V to charge the capacitor 122 is Cv, the first The second switch 124 switches to the capacitor 122 to cause the capacitor 122 to charge the conductive line 106. After entering the steady state, the analog digital converter 12 丨 reads the voltage value V2 of the capacitor 122, and at this time, its total charge is CV2 + C, V2. According to the law of charge incompetence, the total charge before and after charge and discharge is the same, therefore: CV1=CV2+C, V2 C,=C(V1-V2)/V2 where (Vl-V2)/V2 is proportional to the conductive line 丨〇6 The variable capacitance value, whereby the microcontroller 13 can calculate the floating capacitance value of the conductive line &06:: The multiplex selector 11 of the present invention multiplexes the conductive lines 1〇1~1〇8 Processing, therefore, each of the conductive lines 1〇1~1〇8 can be entered into the second and second moves 201209686 $ by the same step; ^. The main feature of the present invention is to determine the contact position on the panel by using the maximum value of the floating capacitance value as the detection basis. π refers to FIG. 4, and FIG. 4 is a floating capacitor value c of each conductive line after the nose of the k microprocessor 13 through the multiplex processing of the multiplexer. Figure 4 shows the example of the microprocessor 13 detecting the conductive line 1〇~1〇8 floating capacitor value for one thousand times. As can be seen from FIG. 4, when the user touches the position a of the panel 1 with a finger, the conductive line 〇i has a maximum value of 28 and a minimum value of $, and the difference between the two is 20; () 2 has a maximum value of 73 and a minimum value of 1 〇, and the difference between the two is (1) The conductive line 103 has a maximum value of 8 〇 and a minimum value of 9, and the difference between the two is 7 丨, and the conductive line 104 has a maximum value of 100 and a minimum value. 1〇'The difference between the two is 9〇•, the conductive line Μ has a maximum value of 170, a minimum value of 7, and the difference is 163; #线ι〇6 has a maximum value of 260, a minimum value of 4, and the difference between the two is 254; The line 107 has a maximum value of 130 and a minimum value of 12, and the difference between the two is 118; the conductive line 1 〇 8 has a maximum value of a minimum value of 7, and the difference between the two is 58. Therefore, by comparing the amount of change in the capacitance value of each of the conductive lines, it is understood that the amount of change in the capacitance value of the conductive line 1〇6 is the largest, and therefore, the microprocessor 13 can determine that the position A of the panel 1使用者 touched by the user is on the conductive line 〇6. on. . By detecting the maximum amount of change in the floating capacitance value of each of the conductive lines, the microprocessor 13 can determine whether or not a conductive line receives the touch input. For example, the position A of the user's finger contacting the panel 10 is taken as an example. If the user touches the position of the panel, the corresponding conductive line of the position may also produce a similar change in the value of the floating capacitance, which can be referred to FIG. Figure 5 shows the test results of the contact value of each conductive line contact and its floating capacitance value. The amount of change in the capacitance value of each conductive line when contacted with the conductive line 1〇6 (shown by the black line in Figure 5) has been as described above. ^ His conductive wire can have a similar effect. Therefore, it is possible to accurately determine whether or not the conductive line is touched to know the touch position by the electric power supplied by the embodiment 201209686. The above-described embodiments are merely examples for convenience of description, and the scope of the invention is not limited to the above embodiments.
【圖式簡單說明】 圖Η系本發明-較佳實施例之操作示意圖。 圖2係本發明—較佳實施例之系統架構圖。 圖3⑷係本發明—較佳實施例之第—等效電路 圖3(b)係本發明一較佳實· 圖4係本發明一較佳,❹一寺效電路圖。 圖5係本發明-較容值測試表。 測試表。4α例之各導電線浮動電容值變化量 【主要元件符號說明】 1 洋動電容接觸檢測裝 置 1G 面板 12 電容值偵測電路 10〗〜108導電線 U多工選擇器 13微控制器 122電容器 121 類比數位轉換器 201209686 123 第一開關 124第 二開關 125 電感 V 直 流電源 a 第一端 b 第 二端 A 位置BRIEF DESCRIPTION OF THE DRAWINGS The drawings are schematic views of the operation of the preferred embodiment of the invention. 2 is a system architecture diagram of the present invention - a preferred embodiment. Figure 3 (4) is a first embodiment of the present invention - a preferred embodiment of the present invention. Figure 3 (b) is a preferred embodiment of the present invention. Figure 5 is a comparison of the present invention - a comparative value test. Test table. 4α Example of the variation of the floating capacitance value of each conductive line [Description of main component symbols] 1 Ocean capacitor contact detecting device 1G Panel 12 Capacitance value detecting circuit 10 to 108 Conductive wire U multiplexer 13 Microcontroller 122 Capacitor 121 Analog to digital converter 201209686 123 first switch 124 second switch 125 inductance V DC power supply a first end b second end A position
⑧ 108 10