200905539 九、發明說明: 【發明所屬之技術領域】 本發明係有關一種電阻式觸控面板控制器的架構及運 算判斷多點觸控的方法,尤其是指一種藉由歷史座標的位 ‘ 置計算出新座標的方式產生多點座標,再輸出於顯示器 • 上,以形成一種可執行多點觸控之功能。 P 【先前技術】 觸控面板起源於1970年代美國軍方為軍事用途而發 展,1980年代技術移轉至民間使用,進而發展為各式用途。 傳統電子計算裝置(例如:電腦)的輸入方式乃以鍵盤或滑 鼠等週邊設備來作為輸入介面,然而這些週邊輸入裝置的 體積過大不易攜帶,容易造成電子產品薄型化的一大阻 礙。因為薄型化電子裝置的需求,觸控面板在可攜式電子 產品也逐漸受到消費者的青睞而嶄露頭角。另外,觸控面 I) 板除了應用在個人可攜式資訊產品之外,應用領域也逐項 ^ 擴向資訊家電、公共資訊、通訊設備、辦公室自動化設備、 _ 資訊收集設備、及工業設備等領域,因此觸控面板之研究 發展,近年來也逐漸成為電子產業發展的重心。 電阻式觸控面板因其具價格上的優勢,是目前使用量 最多的一個技術,電阻式的原理是利用上、下兩片接觸時 所產生電壓降的方式來尋找座標軸,如下圖,X軸和Y軸 各由一對0〜5V的電壓來驅動,當電阻式觸控面板被觸碰 (Touch)到的時候,由於迴路被導通,而會產生電壓降, 200905539 而控制器則會算出電壓降所佔的比例然後更進一步算出座 標轴。 從電阻式觸控面板的結構面來講,其係具有上、下兩 層面板,通常面板上層是以氧化鋼錫(I nd i um Ti n Ox i de, ITO)電鍍於飽和多元酯(PET)來當材料,下層則是同樣 以氧化銦錫電鍍於飽和多元酯或是玻璃來當材料,平常沒 使用的時候上、下兩層需以絕緣體(Spacer Dot)來撐開, 否則將會產生游標固定每一點(Constant Touch)的問題。 該習知電阻式觸控面板是由一對0〜5V的電壓來驅 動,當電阻式觸控面板被觸控到的時候,由於迴路被導通, 而會產生電壓降,且送出(X、Y軸)座標,而此控制方式僅 能做一單點觸控,無法達到多點觸控,本發明即為提出一 種於電阻式觸控面板上實施多點觸控的方法與架構,可有 效解決習知技術問題。 【發明内容】 本發明之主要目的係為提供一種電阻式觸控面板控制 器的架構及運算並判斷多點座標方法,藉由歷史座標的位 置,而進一步計算出新座標的方式產生多點座標,再輸出 在一顯示器,而具有下列優點: 1. 原理及架構簡單 2. 應用多點觸控方式完成相應功能之操作。 3. 能大幅降低硬體成本。 4. 無須更改或特別設計觸控面板 為了達到上述之目的,本發明提供一多點觸控面板控 200905539 制器之運算判斷方法,其係包括有: 提供一電阻式觸控面板,根據一第一接觸體及至少一 第二接觸體分別與該電阻式觸控面板接觸之一接觸時間差 .決定該第一接觸體及該第二接觸體之接觸順序,並藉由該 電阻式觸控面板所感測之電壓值依序決定一第一接觸座標 以及至少一中點座標,且該第一接觸體係與該電阻式觸控 面板持續保持接觸;根據該第一接觸座標及該中點座標, 依序決定至少一第二接觸座標,其中,該中點座標、該第 〇 二接觸體及該第二接觸座標之數量相同。 為達上述之目的,一種多點觸控面板控制器架構,其係 應用於電阻式觸控面板控制器,其係包括有: 至少一組先進先出緩衝器,儲存一面板所輸出的X、γ 轴座標數值; 一觸碰偵測器,用以讀取先進先出緩衝器的數值是否大 於一預定值,判斷面板是否二點以上之接觸,並輸出 一控制信號; 一觸控模式切換電路,接收觸控偵測器之控制信號,以 決定觸控模式切換電路之狀態切換; 一座標產生電路,讀取該先進先出缓衝器及該參考觸控 模式切換電路狀態以獲得X、γ軸座標數值; 一座標暫存器,儲存該座標產生電路所傳送X、Y軸座 標數值; 一運算座標選擇電路,同時參考該座標暫存器、該觸控 模式切換電路及該先進先出缓衝器的資料,以計算出 200905539 大於第二點之新觸碰點的x、γ軸座標數值; -中點計算電路,用以計算出多點之200905539 IX. INSTRUCTIONS: [Technical Field] The present invention relates to a structure of a resistive touch panel controller and a method for judging multi-touch, in particular, a bit position calculation by historical coordinates The new coordinate method produces multi-point coordinates, which are then output on the display to form a multi-touch function. P [Prior Art] Touch panels originated in the United States in the 1970s for military use. In the 1980s, technology was transferred to civilian use and developed into various uses. The input method of a conventional electronic computing device (for example, a computer) is an input interface such as a keyboard or a mouse. However, the size of these peripheral input devices is too large to be carried, which is likely to cause a major obstacle to the thinning of electronic products. Because of the demand for thin electronic devices, touch panels have become increasingly popular with consumers in portable electronic products. In addition, the touch surface I) board is used in addition to personal portable information products, and the application areas are also extended to information appliances, public information, communication equipment, office automation equipment, _ information collection equipment, and industrial equipment. In the field, the research and development of touch panels has gradually become the focus of the development of the electronics industry in recent years. Resistive touch panels are the most widely used technology because of their price advantage. The principle of resistive type is to find the coordinate axis by using the voltage drop generated by the upper and lower contacts. As shown in the figure below, the X-axis The Y-axis and the Y-axis are each driven by a pair of 0~5V voltages. When the resistive touch panel is touched, a voltage drop occurs due to the loop being turned on, 200905539 and the controller calculates the voltage. The proportion of the drop is then further calculated for the coordinate axis. In terms of the structural surface of the resistive touch panel, it has two upper and lower panels. Usually, the upper layer of the panel is plated with a saturated polyester (PET) by oxidized steel tin (I nd i um Ti n Ox i de, ITO). When the material is used, the lower layer is also plated with indium tin oxide in saturated polyester or glass as a material. When it is not used normally, the upper and lower layers should be opened with an insulator (Spacer Dot), otherwise it will be produced. The cursor fixes the problem of Constant Touch. The conventional resistive touch panel is driven by a pair of voltages of 0 to 5 V. When the resistive touch panel is touched, a voltage drop is generated due to the loop being turned on, and is sent out (X, Y). The axis is a coordinate, and the control mode can only make a single touch, and cannot achieve multi-touch. The present invention provides a method and an architecture for implementing multi-touch on a resistive touch panel, which can effectively solve Known technical issues. SUMMARY OF THE INVENTION The main object of the present invention is to provide a structure and operation of a resistive touch panel controller and determine a multi-point coordinate method. By calculating the position of the historical coordinates, a new coordinate is further calculated to generate a multi-point coordinate. And then output to a display, and has the following advantages: 1. The principle and architecture are simple 2. The multi-touch method is used to complete the operation of the corresponding function. 3. Can significantly reduce hardware costs. 4. The touch panel is not required to be modified or specially designed. In order to achieve the above object, the present invention provides a multi-touch panel control 200905539 controller, which comprises: providing a resistive touch panel, according to a first a contact time difference between a contact body and at least one second contact body respectively contacting the resistive touch panel, determining a contact order of the first contact body and the second contact body, and sensing by the resistive touch panel The measured voltage value sequentially determines a first contact coordinate and at least one midpoint coordinate, and the first contact system continuously maintains contact with the resistive touch panel; according to the first contact coordinate and the midpoint coordinate, sequentially Determining at least one second contact coordinate, wherein the midpoint coordinate, the second contact body, and the second contact coordinate are the same number. For the above purposes, a multi-touch panel controller architecture is applied to a resistive touch panel controller, which includes: at least one set of FIFO buffers, storing X output by a panel, γ axis coordinate value; a touch detector for reading whether the value of the FIFO buffer is greater than a predetermined value, determining whether the panel contacts more than two points, and outputting a control signal; a touch mode switching circuit Receiving a control signal of the touch detector to determine a state switching of the touch mode switching circuit; a standard generating circuit, reading the FIFO buffer and the reference touch mode switching circuit state to obtain X, γ Axis coordinate value; a standard register to store the X and Y axis coordinate values transmitted by the coordinate generation circuit; an operation coordinate selection circuit, and reference to the coordinate register, the touch mode switching circuit, and the advanced first-out The data of the punch is calculated to calculate the x and γ axis coordinate values of the new touch point of 200905539 greater than the second point; - the midpoint calculation circuit is used to calculate the multipoint
一座標比對電路,田,、,J 將比較後w ^點之間哪個點被釋放,並 、較㈣㈣傳送至餘模式切換電路。 【實施方式】 為使貝審查委員能對本發明之特徵、目 更進一步的認知與瞭解,下文特 月匕有 部結構以及設計的理人盾Λa之衣置的相關細 以了护士欢叫 必原由進仃§兒明,以使得審查委員可 本心月之特點,詳細說明陳述如下: 、 请參閱圖一 ^ 來計算出新座標的方Jd'C根據歷史座標 觸控面板的接觸點的位置Γ利龄辟^座標係指保留於 標的方式產生多點座桴輸出座f來計算出新座 運算原理如下·· “出在电阻式的面板上,其實現之 位置觸碰面板第—點位置,若該第一賴 保持觸石亚’便形成歷史座標。 下,ί中β係為觸碰面板第―點位置保持觸碰狀離 卜,弟二點觸碰位f產岳 丁 M JL狀也 位置,係為第一點命穿_ —時顯不在觸控面板的座標 物罟 ,.,〜、第二點之中點Pffl位置,且該中點座俨 生不連續之跳動,該不連續跳動經= …=後’即可判斷面板上同時有兩點㈣被觸:内 捍)Μ 所取得第—點p】位置(被記錄之歷史座 =弟一點與第二點之中點⑽置後, = 乐點P1位置及第一點盥铱, 丨丨)里汉 弟點與弟二點之中點Pm位置距離’來 200905539 计异正確第二點Ρ2位置。 史座Α、β、C、D、Ε所示,係為本發明根據歷 ,來计鼻出新座標的方式再一示意圖 =觸據以說明多點碰觸之實際情況,其實現之運算㈣如 Ο Ο 提供一電阻式觸控面板,根據一 使用者之梅指)及至少—第一接第接觸體(例如, 另由弟一接觸體(例如,使用者之食指 曰力別與該電阻式觸控面板接觸之—接 疋该第一接觸體及該第 順序依序為π,P2,Ρ3Λ 士之接觸順序(此例之碰觸 測之電屋值依序決阻式觸控面板所感 及至少一中點心/接觸座標(即點W之座標)以 =式觸控面板僅有產生最後-個點心上= 中點座標(此例為Pml)需葙A 八餘 係鱼嗲雷Pk上 ”,、止史執跡,且該第一接觸體 诉…亥電阻搞控面板持續料 標(即點Π之座標)及該中點座=p:=-接觸座 跡之點^之座標,依序決定至少歷史軌 ,點P2之座標),其中,該中點座二點 5亥第二接觸座標之數量相同。λ接觸體及 藉由上述之實施例,如將其 其概念為因電阻式觸控面板的感測,觸體時,則 的電屬值換算成對應的座標位置。^右係以所偵測到 到電阻式觸控面板時,觸控面板可:偵'測到㈣接觸 板上的絕對座標(即Ρ1)。若當有兩個以=妾觸體在面 在於觸控面板上時,因觸控面板無法_到戶同時存 貝利幻所有接觸體的 200905539 對應座標,只能偵測到一個唯一的中點座標pm(measure pojt),此座標Pm與所有接觸到觸控面板的接觸體的絕對 座裇有一關係式存在。假設目前有n—丨個接觸體同時存在 ”板上’因觸控面板僅會產生一個唯一座標1。 右此%第η個接觸體觸碰到觸控面板,其在觸控面板上對 應的絕對座標為Ρη,則觸控面板會產生一個唯一的座標A standard comparison circuit, field, ,, J will compare which point between the w ^ points is released, and is transferred to the residual mode switching circuit (4) (4). [Embodiment] In order to enable the Beck Review Committee to further understand and understand the features and objectives of the present invention, the following is a detailed description of the structure and design of the designer's clothing. In order to make the reviewer's characteristics of the heart of the month, the detailed statement is as follows: Please refer to Figure 1 to calculate the position of the new coordinate Jd'C according to the contact point of the historical coordinate touch panelΓ Liling ^^ coordinate means that the multi-point seat output seat f is retained in the standard way to calculate the new seat operation principle as follows: · On the resistive panel, the position of the touch panel is the first point position. The first Lai keeps touching Shiya' to form a historical coordinate. Next, the β system is the first point of the touch panel to keep the touch away from the disc, and the second touch point of the second is the position of the Yueting M JL. , is the first point of life _ _ is not in the touch panel's coordinates 罟, ., ~, the second point in the Pff position, and the midpoint seat is not continuous beating, the discontinuous beating After = ... = after ' can judge the same on the panel Two points (four) are touched: 捍 捍) Μ The first point p] is obtained (the recorded history seat = the younger point and the second point midpoint (10), = the point P1 position and the first point 盥铱,丨丨) Li Handi points to the second point of the second point of the younger brother Pm position distance 'to 200905539. The difference is the second point Ρ 2 position. Shi Zuo, β, C, D, Ε, is the basis of the invention. The way to count the new coordinates of the nose is another schematic diagram = to illustrate the actual situation of multiple touches, the calculation of its implementation (4) such as Ο Ο provide a resistive touch panel, according to a user's plum finger) and at least a first contact body (for example, another contact body (for example, the user's index finger is in contact with the resistive touch panel - the first contact body and the first order are π, P2, Ρ3Λ contact sequence (in this case, the touch-sensing electric house value sequentially touches the touch panel and senses at least one snack/contact coordinate (ie, the coordinates of the point W) to the touch panel Only the last one dim sum = the midpoint coordinate (in this case, Pml) needs to be 葙A eight more fish 嗲 雷 Pk", History, and the first contact body v.... The resistance of the panel is continuously controlled (ie, the coordinate of the point) and the coordinates of the point of the midpoint seat = p:=-contact track, in accordance with the order The history track, the coordinates of point P2), wherein the number of the second contact coordinates of the midpoint seat is the same as that of the second point. The λ contact body and the above embodiment, such as the resistive touch panel Sensing, when the body is touched, the electric value is converted into the corresponding coordinate position. ^ When the right touch panel is detected by the right touch panel, the touch panel can: detect the (four) contact plate Absolute coordinates (ie Ρ1). If there are two 以 妾 contact bodies on the touch panel, the touch panel can not save the corresponding coordinates of the 200905539 corresponding to all contact bodies. A unique midpoint coordinate pm (measure pojt) is detected, and this coordinate Pm has a relationship with all the absolute coordinates of the contact body contacting the touch panel. Assume that there are n-丨 contact bodies at the same time on the board. Since the touch panel only generates a unique coordinate 1. The right n-th contact body touches the touch panel, and the touch panel corresponds to the touch panel. The absolute coordinates are Ρη, the touch panel will produce a unique coordinate
Pn,而Pm㈠與這η個物體的關係式是^㈠為pmn 2與κ 〇 的中點座標。由於在與觸控面板上只能依序偵測到—與 ,所以可以借由Pmn與Pmni推導出第η點的座標A。 右有η個接觸體於不同時間關碰賴控面板,並依此η =觸體接觸到面板的時間先後順序定義其對應的絕對座 ^ 1 Ρ2 Ρ3…Ρη,則依時間順序的先後,觸控面板會 ^ Ο則到絕對座標P1與中點座標pid、—、,而 二Γ觸L完全接觸到觸控面板時,最後觸控面板會偵 病所㈣中點座標κ即最後一個中點座標)根據後 、·貝所敘明之關係式,我們Pn, and the relationship between Pm(1) and the η objects is ^(a) is the midpoint coordinate of pmn 2 and κ 〇. Since only - and , can be detected in sequence with the touch panel, the coordinate A of the η point can be derived by Pmn and Pmni. On the right, η contact bodies touch the control panel at different times, and according to the chronological order of the contact body touching the panel, the corresponding absolute seat ^ 1 Ρ 2 Ρ 3... Ρ η, in chronological order, touch The control panel will ^ Ο to the absolute coordinate P1 and the midpoint coordinates pid, —,, and the second touch L will completely touch the touch panel, the last touch panel will detect the disease (4) the midpoint coordinate κ is the last midpoint Coordinates) According to the relationship between Hou and Bei, we
Pml推導出由絕對座標P1財點座標 推導出再由中點座標Pml與中點座標Pm2 推導出^對座標P3,以此類推。 一種以點3 3 : f據上述概念之揭露’可以簡單整理出 較佳實施流^本需:J的:列流程僅是-種 知月之只%概念需以專利範圍為主: 11〜開始; 12:χ初標修正,該步驟意味著面板内部運算電路 一定面板是否被觸碰,該觸碰的工具可能是觸控 200905539 :或手指’若執行結果為是 否,則重覆執行步驟13; 丁^驟14,右為 14〜進人單則㈣以 的第-點(歷二)=:: 的座標有待後續之步驟來判斷,· U以後 5:第-次判斷該單點座標 置若產_降產生 m面板上Λ同時有元件偵測後’即可 是,則執行㈣果為 取得單點座標,· 職仃步驟14’以 16 二=點座標是否為初始點,因單點座標有可 多點觸碰所產生之心 判斷該單點座標是否為初始點,若執行 ^文 表示該面板的觸控狀態僅為僅 ^二’ 狀態為多點觸控,職行步驟箱板的觸控 點描亚計算出多點座標位置,若判斷多 座=㈣,即可利用第一點位置(被記 =上及弟一點與多點所形成多邊形之中 —(=成的座標點,但不是正確使用者 後之座標)後’利用反相向量及第-點位置 二中點位置距離,來計算正確多邊形各點位= 200905539 18〜第二次判斷該單點座標是否產生不連續性的變 化,若執行結果為是,表示單點座標位置若不再產 生電壓降產生不連續之跳動,代表多點掃描所形成 多邊形已固定,不再變化,故再回得步驟17以獲 得最終多點座標;但若執行結否為是,代表使用者 按下多點座標後,仍繼續觸碰新的座標點,故需回 到步驟14去執行取得新單標座標,再藉由後續步 驟加以計算。 〇 該經由已知第一點來計算第二點正確位置之公式演算如下: X座標公式如下: 一點時:X,=NEWx 第二點按下時: X2=[(NEWx-midx,)x2] + midxl 其中 midxl = X, 第三點按下時: C./ X3 = [(NEWX - midx2 )x 2]+ midx2 其中 midx2 = X2『ldx'+midx, 第四點按下時: X4 :[(NEWX -midx3)x2]+midx3 其中 midx3=X3 了dx2+midx2 第五點按下時: X5=[(NEWx-midx4)x2]+midx4 12 200905539 其中midThe Pml is derived from the coordinates of the absolute coordinate P1 and then derived from the midpoint coordinate Pml and the midpoint coordinate Pm2 to derive the coordinate pair P3, and so on. One kind of point 3 3 : f According to the above concept, 'can simply sort out the better implementation flow ^ needs: J: the column flow is only - the only concept of knowing the moon needs to be based on patent scope: 11 ~ start 12: χ initial standard correction, this step means that the panel internal computing circuit must be touched, the touch tool may be touch 200905539: or the finger 'if the execution result is yes, repeat step 13; ^Step 14, right is 14~ into the single (4) to the first point (2) =:: The coordinates of the coordinates are subject to subsequent steps to judge, · U after 5: the first time to judge the single point coordinates _ 降 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生The heart generated by the multi-touch touch determines whether the single-point coordinate is the initial point. If the execution of the text indicates that the touch state of the panel is only the two-state of the multi-touch, the touch of the board step board Click to describe the multi-point coordinate position. If you judge multiple seats = (four), you can use the first point position ( Be remembered = in the polygon formed by the upper and the younger and more than one point - (= the coordinate point of the formation, but not the coordinates of the correct user) after the 'inverse vector and the position of the second point position of the first point position, Calculate the correct polygon points = 200905539 18~ The second time to determine whether the single-point coordinates have a discontinuity change. If the result of the execution is YES, it means that if the single-point coordinate position no longer produces a voltage drop, the discontinuous jump will be generated. The polygon formed by the multi-point scan is fixed and no longer changes, so step 17 is returned to obtain the final multi-point coordinate; but if the execution is negative, the user continues to touch the new one after pressing the multi-point coordinate. Coordinate point, so you need to go back to step 14 to execute the new single-mark coordinate, and then calculate it by the following steps. 〇 The formula for calculating the correct position of the second point through the known first point is as follows: The X coordinate formula is as follows: One point: X, =NEWx When the second point is pressed: X2=[(NEWx-midx,)x2] + midxl where midxl = X, when the third point is pressed: C./ X3 = [(NEWX - midx2 ) x 2]+ midx2 where midx2 = X2『ldx'+midx, fourth point When pressed: X4 :[(NEWX -midx3)x2]+midx3 where midx3=X3 dx2+midx2 When the fifth point is pressed: X5=[(NEWx-midx4)x2]+midx4 12 200905539 where mid
可導出: x(M) mid , Mn-i) 2 + X, = NEWx 5 midxl =Χ! Xn=[(NEWx-midxM))x2]+mid 其中 midx(n)= x(n-l) Y與X相同,故 Ο Y丨= NEWy ’ midy1 = Y,[(NEWy-mid.,))x2]+niid 其中mid y(n)Can be derived: x(M) mid , Mn-i) 2 + X, = NEWx 5 midxl =Χ! Xn=[(NEWx-midxM))x2]+mid where midx(n)= x(nl) Y and X Same, so Ο Y丨= NEWy ' midy1 = Y,[(NEWy-mid.,))x2]+niid where mid y(n)
V(n-l) X mid y(n -ί) + mid y(n -1) 如圖四所示,係 ΟV(n-l) X mid y(n -ί) + mid y(n -1) As shown in Figure 4,
構圖,本實施·i本發明多點觸控面板之功能方塊架 市面上常見的的電阻式觸控面板(卿el) 21是 出透過-類比/數位面板’將電阻式觸控面板21所輸 軸座標儲存於 轉換器(A/D Conve恤)22將X、Y 9q、m τ 十1之—先進先出緩衝器(FIFO queue) U裡面,利用—奋 , 觸石亚偵測器(Touch detect) 24來判斷 筆 7關值若超過-定的;Μ、,則代表有 另外的觸控 手彳曰觸碰该面板超過兩點以上,發出訊號告知一觸控 換電路(Touch Switch) 25狀態改變,此時-座標 电路(General p〇int) 26也利用該觸控模式切換電 的肤、一運算座標選擇電路(Calculated point) « 座標暫存器(Save queue ) 28以及從先進先出緩衝 哭 (t °° k ’t+1) 23讀到的資訊計算出來新點的位置,該座標 暫存器28所儲存X、Y軸座標數值,係為藉由一 I2C介面 13 200905539 匯流排31(或- SPI介面匯流排)送出。而一令 (Compare point) 29則是計曾中二w ' 开电路 •隸_路() 3 G來^個二胃==^以供— , 該座標暫存器28則是一個可以3 _ eease)。 (Register) ^ ffl ^ ^疋個可左、右移的暫存器 (Register)用途疋存放多點觸 三组,可依雪哫爯心 抑的座私’取多可以放置 以μ /再&充’以進行四點以上的觸控制。 記錄射,其係利用—先進先出緩衝㈣來 ρ /日點&,觸控面板所偵測到的座標,此座桿可 點的中點座標pra。經由3或=^時間 的中點座標。當接觸體接觸戍觸^ σ 11 a兩點 以中點到-瞬間電壓變:=觸控面板的-瞬間,可 9q m 此電壓變化,會讓該先進先出 緩衝為23記錄到先後不同巾 山 的值超過某-標準後,便判緬批示° §先後兩中點座標 量變化。—枝❹]別觸控面板上接觸时產生數 f由圖四之架構揭露,下列圖五A至圖五C即揭露該 °圖四架構之運算觸流程如下: 目I P揭路及 請參閱圖五A所示: L將=+1先進先出緩衝器23所得到座標的值分別 ^給觸碰偵測器2 4、座標產生電路料算,且將已 座t暫存器28的值傳給中點計算電路29計算 ”目則狀態適當的座標給運算座標選擇電路27。 睛芩閱圖五B所示: 2’^Γ座標比對電路30由中點計算電路29所提供 、貝汛判疋疋否有被釋放的動作產生,以提供給觸 14 200905539 控模式切換電路25作狀態更換的標準,送出適當的 訊號給各個元件。而依照訊號之運算座標選擇電路 27過濾出適當的值給座標產生電路26。 請參閱圖五C所示: 3.該座標產生電路26藉由t,t+Ι先進先出緩衝器 23、運算座標選擇電路27所提供的資訊算出新的座 標,由觸控模式切換電路25來選擇適當的輸出送給 座標暫存器28來更新點的座標,再經由I2C介面匯 〇 流排31(或一 SPI介面匯流排)送出。 藉由上述圖一至圖五C之揭露,即可暸解本發明之主 要技術特徵係為提供一種電阻式觸控面板控制器的架構及 運算判斷多點座標之方法,藉由歷史座標的位置,而進一 步計算出新座標的方式產生多點觸控之效果,再應用於在 一般顯示器上面,而具有下列優點: 1. 原理及架構簡單 2. 應用多點觸控方式完成相應功能之操作。 ^ 3.能大幅降低硬體成本。 ^ 4.無須更改或特別設計觸控面板 _ 因具有上述優點,故本發明於市場上具有極大的商業 價值,故提出專利申請以尋求專利權之保護。 惟以上所述者,僅為本發明之實施例,當不能以之限 制本發明範圍。即大凡依本發明申請專利範圍所做之均等 變化及修飾,仍將不失本發明之要義所在,亦不脫離本發 明之精神和範圍,故都應視為本發明的進一步實施狀況。 綜合上述,本發明提供之多點觸控面板控制器架構及 15 200905539 運算判斷方法,藉由歷史座標的位置,、 座標的方式,並且其結構簡單容易制、^進—步計算出斩 本’因此可以滿足業界之需求,進而二::=;產: 以及帶動週遭產業之發展,誠已符合發明專利法 月=具備之要件,故爰依法呈提發明專利之申i 明貝審查委員允撥時間惠予審視,並賜准專利為禱。 Ο C, 16 200905539 【圖式簡單說明】 圖一 A、B、C係為本發明根據歷史座標來計算出新座標的 方式示意圖; 圖- A、B、C、D、E係為本發明根據歷史座標來計算出新 座標的方式再一示意圖; 圖-係為本發明多點觸控面板控制器之運算賴方法流程 圖; 〇目四係為本發❹關㈣板控彻之功能方塊架構圖; 圖五A、B、C即揭露該圖四架構之運算判斷流程。 【主要元件符號說明】 P1〜第一點The composition, the present embodiment, the functional block of the multi-touch panel of the present invention, the common resistive touch panel (the elical el) 21 is a transmissive-analog/digital panel that transmits the resistive touch panel 21 The axis coordinates are stored in the converter (A/D Conve shirt) 22 will be X, Y 9q, m τ eleven - FIFO queue U inside, using - Fen, touch stone detector (Touch Detect) 24 to determine if the pen 7 value exceeds - fixed; Μ, it means that another touch handcuff touches the panel more than two points, and sends a signal to inform a touch switch circuit (Touch Switch) 25 The state changes, at this time - the coordinate circuit (General p〇int) 26 also uses the touch mode to switch the electric skin, a computing coordinate selection circuit (Calculated point) « coordinate queue (Save queue) 28 and from the first in first out Buffering crying (t °° k 't+1) 23 The information read calculates the position of the new point. The coordinates of the X and Y axes stored in the coordinate register 28 are connected by an I2C interface 13 200905539. 31 (or - SPI interface bus) is sent out. And a compare point 29 is the count of the second w 'open circuit · Li _ road () 3 G to ^ two stomach == ^ for -, the coordinate register 28 is a can 3 _ Eease). (Register) ^ ffl ^ ^ A left and right shift register (Register) uses to store multiple touches of three groups, which can be placed in the snowy heart. ; Charge 'to perform more than four points of touch control. Recording, which uses the FIFO (four) to ρ / day point & the coordinates detected by the touch panel, the seat point can be the midpoint coordinate pra. The midpoint coordinate via 3 or =^ time. When the contact body contacts 戍 touch σ 11 a two points to the midpoint to - instantaneous voltage change: = touch panel - instant, 9q m this voltage change, will make the FIFO buffer to 23 records to different towels After the value of the mountain exceeds a certain standard, it will be judged by the marital indication. § The coordinates of the coordinates of the two midpoints are successively changed. - Branches] The number of f generated on the touch panel is revealed by the structure of Figure 4. The following Figure 5A to Figure 5C reveal the operation flow of the structure of Figure 4. The IP address is shown and the figure is shown. As shown in FIG. 5A, the value of the coordinates obtained by the L==+1 FIFO buffer 23 is respectively calculated for the touch detector 24, the coordinate generation circuit, and the value of the existing t register 28 is transmitted. The center point calculation circuit 29 calculates the coordinates of the "mode" state to the operation coordinate selection circuit 27. As shown in Fig. 5B, the 2'^ coordinate alignment circuit 30 is provided by the midpoint calculation circuit 29, It is judged whether or not the released action is generated to provide a standard for the state change of the control mode switching circuit 25, and the appropriate signal is sent to each component, and the coordinate selection circuit 27 filters the appropriate value according to the signal. The coordinate generation circuit 26 is shown in Fig. 5C: 3. The coordinate generation circuit 26 calculates a new coordinate by the information provided by the t, t+Ι FIFO buffer 23 and the operation coordinate selection circuit 27, Touch mode switching circuit 25 to select an appropriate output for sending The standard register 28 is used to update the coordinates of the point, and then sent through the I2C interface bus bar 31 (or an SPI interface bus). The main technical features of the present invention can be understood by the above disclosure of FIG. 1 to FIG. In order to provide a structure of a resistive touch panel controller and a method for judging multi-point coordinates, the position of the historical coordinates is used to further calculate the effect of the new coordinate to generate multi-touch, and then applied to the general Above the display, it has the following advantages: 1. Simple principle and structure 2. Multi-touch method is used to complete the corresponding functions. ^ 3. Can greatly reduce the hardware cost. ^ 4. No need to change or specially design the touch panel _ Because of the above advantages, the present invention has great commercial value in the market, so a patent application is filed to seek protection of patent rights. However, the above is only an embodiment of the present invention, and the scope of the present invention cannot be limited thereto. It is to be understood that the scope of the present invention is not limited by the spirit and scope of the present invention. It should be considered as a further implementation of the present invention. In summary, the multi-touch panel controller architecture and the 15 200905539 operation judging method provided by the present invention are based on the position of the historical coordinates, the coordinates, and the structure is simple and easy. System, ^ step-by-step calculation of the transcript 'so can meet the needs of the industry, and then two::=; production: and drive the development of the surrounding industry, Cheng has been in line with the invention patent law month = the necessary elements, so the law is presented The application for the invention patent, the Mingbei Review Committee, allows the time to review and grant the patent as a prayer. Ο C, 16 200905539 [Simple diagram of the diagram] Figure 1 A, B, and C are the calculations based on historical coordinates of the present invention. Schematic diagram of the new coordinates; Figure - A, B, C, D, E are the schematic diagrams of the new coordinates calculated by the historical coordinates of the present invention; Figure - is the multi-touch panel controller of the present invention The flow chart of the operation method is as follows: Figure 4A, B, and C reveal the operation judgment process of the fourth structure of the figure. [Main component symbol description] P1~First point
Pm〜第一點與第二點之中點 P2〜第二點 11〜開始Pm ~ the first point and the second point point P2 ~ the second point 11 ~ start
12〜)(、γ座標修正 13 判定面板是否被觸碰 14〜進入單點掃瞄以取得一單點座標 =〜第-次該單點練是^產生不輯性的變化 16〜判斷該單點座標是否為初始點 17〜執仃多點掃描並計算出多點座標位置 18〜第二次判斷該單㈣標是否產生不連續性的變化 21〜電阻式觸控面板 22〜類比/數位轉換器 17 200905539 23〜先進先出緩衝器 24〜觸碰偵測器 25〜觸控模式切換電路 26〜座標產生電路 27〜運算座標選擇電路 28〜座標暫存器 29〜中點計算電路 p 30〜座標比對電路 31〜12C介面匯流排12~) (, γ coordinate correction 13 determines whether the panel is touched 14~ into a single-point scan to obtain a single-point coordinate = ~ first-time the single-point training is ^ produces a non-competitive change 16~ judge the order Whether the point coordinates are the initial point 17~Permanent multi-point scanning and calculate the multi-point coordinate position 18~ The second time to determine whether the single (four) label produces a discontinuity change 21~Resistive touch panel 22~ analog/digital conversion 17 200905539 23~first in first out buffer 24 to touch detector 25 to touch mode switching circuit 26 to coordinate generating circuit 27 to computing coordinate selecting circuit 28 to coordinate register 29 to midpoint calculating circuit p 30~ Coordinate comparison circuit 31~12C interface bus