[go: up one dir, main page]

TW201120711A - Calculation method of touch position - Google Patents

Calculation method of touch position Download PDF

Info

Publication number
TW201120711A
TW201120711A TW98141778A TW98141778A TW201120711A TW 201120711 A TW201120711 A TW 201120711A TW 98141778 A TW98141778 A TW 98141778A TW 98141778 A TW98141778 A TW 98141778A TW 201120711 A TW201120711 A TW 201120711A
Authority
TW
Taiwan
Prior art keywords
touch
touch position
sensing
axis
touched
Prior art date
Application number
TW98141778A
Other languages
Chinese (zh)
Inventor
Chih-Chang Lai
Yu-Hung Chang
Original Assignee
Wintek Corp
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 Wintek Corp filed Critical Wintek Corp
Priority to TW98141778A priority Critical patent/TW201120711A/en
Publication of TW201120711A publication Critical patent/TW201120711A/en

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

A calculation method of a touch position applied in a touch panel is provided. A plurality of sensing traces of the touch panel are continuously scanned and a base value of each of the sensing traces not touched is calculated. At the first touch, a single point touch position is calculated and the scanning is remaining for determining whether a single point touch mode or a multi-point touch mode is. In the multi-point touch mode, the sensing traces corresponding to the touched positions are determined. The signals of the sensing traces near the above sensing traces corresponding to the touched positions are used to calculate the touch positions of the multi-point touch mode.

Description

201120711 wry〇uj-C400-0910 31627twf.doc/n 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種觸控位置的計算方法 有關於一種可計算多點觸控位置的計算方法、。且特別是 【先前技術】 目前’觸控面板大致可區分為電阻式、 式、聲波式及電磁式_控面板,其中 === 言,可多點觸控的特性提供更人性化的摔作=控=板而 容式,面板逐漸受到市場的青睞。因此,觸:面 地朝向提南多點觸控之精確性而發展。 不斷 【發明内容】 方法,可以精確地計 本發明提供一種觸控位置的計算 算多點觸控的觸控位置。 暴 本發明提出一種觸控位置的舛曾^^ 控面板。觸控面板具有依序排法= 於-觸 以及:序排列的多條第二感測轴線 第一感測軸線Xi與第二感測軸線 二:數。 第二感測軸線Yj的一第一方向 ς行 持續掃描第-感測轴線方法包栝以下步驟: 算以一第—基準值NTxi_ 測軸線Yj並計 ^第二基準值NTyj(t)。列 201120711 w r y〇\j i -^,400-0910 31627twf.doc/n 斷觸控面板是否被觸控。首度被觸控後,判斷—單點 模式或一多點觸控模式。判斷為單點觸控模式時,則進二 一單點觸控位置的計算。判斷為多點觸控模式時,則= 被觸控至少一條第一感測軸線Xi以及至少—條第二二 軸線Yj中何者用以定義一第一觸控位置以及二第二 位置,並計算第一觸控位置以及第二觸控位置。一工 -基於上述,本發明將各感測軸線未觸控時的訊號 行計算以作為觸控位置定位計算的基準值。如此一來,η 以提高觸控位置的定位計算精確性。另外,本發明可利= 相鄰感測軸線的訊號以進行多點觸控位置的定位計算。 為讓本發明之上料徵和伽能更日_祕,下 舉實施例,並配合所附圖式作詳細說明如下。 、 【實施方式】 圖1Α繪示為一種觸控面板的示意圖,而_ 1Β繪 本發明之-實關_触置計算找之流程圖。^參昭 面板⑽具有依序排列的多條第一感測抽線 Χι以及依序排列的多條第二感測轴線Yj,豆中丨 整數。在本實施例中,以五條第—感測赌;以及五 條第二感測轴線Y1〜Y5來進行說明,也就是說i、j都為 1-5的任何-個整數。此外,第一感測 軸線物而定義出平行第二感 二 m以及平行第-感測轴線Xi的一第二方向m。万^ 當使用者以帶電位物件,例如手指,接近或是碰賴 201120711 wry»ul-C400-0910 31627twf.doc/n 控面板100,觸控面板100中被碰觸的位置所對應的第一 感測軸線Xi與第二感測軸線Yj中的電容值會產^變化。 一般而言,第一感測軸線Xi與第二感測軸線刃所感 測到的電容值分別地大於觸控面板1〇〇所預設的一第一門 檻值以及一第二門檻值時將被視為觸控動作的發生。觸控 面板100依據這樣的電容值變化即可進行觸控位置的定位 以使電子裝置正確地執行使用者所欲傳達之指令。 詳言之,請同時參照圖1A以及圖,觸控面板100 之觸控位置的計算方法包括以下步驟。 首先,進行步驟10,持續掃描第一感測軸線Xi以及 第二感測軸線Yj並記錄各第一感測軸線Xi在每一次掃描 時的一第一電容訊號(:ΧΚ〇以及各第二感測軸線Yj在每一 -人知指日守的一弟一電容訊號CYj⑴,其中t為掃描次數。 此外,在未被觸控的狀態下,將各第一感測轴線xi 的苐一電容訊號以及各第二感測軸線Yj的第二電容 訊號(3γΚ〇進行計算以分別求得一第一基準值NTxi⑴以及 _ 一第一基準值NTyj(t)。值得一提的是,無論觸碰動作發生 於何時,只要觸控面板1〇〇未被觸碰時都會持續地進行第 一基準值NTxi(t)以及第二基準值NTyj(t)的計算。 在本實施例中,第一基準值NTxi⑴為各第一感測轴線 Xi由第1次掃描到第t-Ι次掃描時的第一電容訊號 Cxi⑴〜Cxi(M)的一平均值、一最大值或一最小值。同樣地, 第二基準值NTyj⑴可以為各第二感測軸線Yj由第丨次掃 描到第t-1次掃描時的第二電容訊號CYj⑴〜CYj㈣的一平均 201120711 wr^oui-v.400-0910 31627twf.doc/n 值、一最大值或一最小值。 不過,觸控面板100在不同的外界環境下,各第一感 測軸線Xi的第一電容訊號CXi(t)以及各第二感測軸線Yj的 第二電容訊號CYj(t)可能有不同的數值。舉例來說,不同的 溫度與溼度都會影響第一電容訊號cxi(t)以及第二電容訊 號CYj⑴的數值大小。特別是,在短時間中,環境若發生劇 烈的變化’將使得第一電容訊號cxi(t)以及第二電容訊號 CYj⑴因環境的變化而浮動。如此一來,若直接以受到浮動 的第一電容訊號cxiw以及第二電容訊號CYj⑴來計算第一 基準值NTxi⑴以及第二基準值NTyj(t)可能無法真實地表 現出外界環境平均的狀態。 因此’為了補償環境在短時間的變化對電容訊號所造 成的影響’第一基準值NTxi⑴以及第二基準值>^^(〇可 以依照以其他的方式計算而得。舉例而言,第一基準值 NTxi⑴ 例 如 為 NTxi(t) ~(1 -α)XNTxi(t-2) +axCxi{t~i)(公式7),其中 NTxi( 1) 為Cxi⑴而α為0 〇5。第二基準值NT』⑴也 卿w = (1-«)x卿(卜(公式8),其; NTyj(l)為CYj⑴而a例如為〇.〇5。當然,a可以隨著不同的 δ又6十品求而有所改變,在此僅以0.05為例進行說明。實際 上,α介於04之間,且α越小表示環境的突然變化時所 產生的電谷對於第一基準值NTxi⑴以及第二基準值 NTyj (t)的影響程度越小以使第一基準值NTxi⑴以及第二 基準值NTyj(t)更真實地反映出環境的平均狀態。 1-C400-0910 31627twf.doc/n 201120711201120711 wry〇uj-C400-0910 31627twf.doc/n VI. Description of the Invention: [Technical Field] The present invention relates to a method for calculating a touch position, and relates to a method for calculating a multi-touch position ,. In particular, [prior art] At present, the touch panel can be roughly divided into a resistive type, a sound wave type, and an electromagnetic type control panel, wherein ===, the multi-touch characteristic can provide a more humanized fall. = Control = board and capacity, the panel is gradually favored by the market. Therefore, the touch: develops toward the accuracy of the multi-touch in the south. Continuation [Invention] The method can accurately calculate the touch position of the multi-touch. The present invention proposes a control panel for a touch position. The touch panel has a sequential arrangement = a touch and a plurality of second sensing axes arranged in sequence. The first sensing axis Xi and the second sensing axis are two: number. A first direction of the second sensing axis Yj is continuously scanned. The sensing-axis method includes the following steps: Calculating the axis Yj with a first reference value NTxi_ and calculating the second reference value NTyj(t). Column 201120711 w r y〇\j i -^,400-0910 31627twf.doc/n Whether the touch panel is touched. After being touched for the first time, judge - single point mode or one multi-touch mode. When it is judged to be in the single-touch mode, the calculation of the single-touch position is entered. When it is determined that the multi-touch mode is used, then = at least one of the first sensing axis Xi and at least one of the second two axes Yj are used to define a first touch position and two second positions, and calculate The first touch position and the second touch position. According to the above, the present invention calculates a signal line when each sensing axis is not touched as a reference value for the touch position positioning calculation. In this way, η improves the positioning accuracy of the touch position. In addition, the present invention can benefit the signal of the adjacent sensing axis to perform the positioning calculation of the multi-touch position. In order to make the present invention and the gamma energy more precise, the following embodiments are described in detail with reference to the accompanying drawings. [Embodiment] FIG. 1 is a schematic diagram of a touch panel, and FIG. 1 is a flow chart of the actual-contact calculation of the present invention. The panel (10) has a plurality of first sensing lines Χι arranged in sequence, and a plurality of second sensing axes Yj arranged in order, and an integer in the beans. In the present embodiment, the description is made with five first-sensing bets; and five second sensing axes Y1 to Y5, that is, i and j are any integers of 1-5. Further, the first sensing axis defines a parallel second sense m and a second direction m of the parallel first sense axis Xi. When the user touches or touches the 201120711 wry»ul-C400-0910 31627twf.doc/n control panel 100 with a potential object, such as a finger, the first position corresponding to the touched panel 100 is touched. The capacitance values in the sensing axis Xi and the second sensing axis Yj are varied. Generally, when the capacitance values sensed by the first sensing axis Xi and the second sensing axis edge are respectively greater than a first threshold value preset by the touch panel 1 以及 and a second threshold value, It is considered as the occurrence of touch action. The touch panel 100 can perform the positioning of the touch position according to the change of the capacitance value to enable the electronic device to correctly execute the instruction that the user wants to convey. In detail, please refer to FIG. 1A and FIG. 1 simultaneously, the calculation method of the touch position of the touch panel 100 includes the following steps. First, step 10 is performed to continuously scan the first sensing axis Xi and the second sensing axis Yj and record a first capacitive signal (: ΧΚ〇 and each second sense) of each first sensing axis Xi at each scan. The measurement axis Yj is a capacitance signal CYj(1) of each of the people, and t is the number of scans. In addition, in the state of no touch, the first capacitance signal of each first sensing axis xi is And calculating a second capacitance signal (3γΚ〇 of each of the second sensing axes Yj to obtain a first reference value NTxi(1) and a first reference value NTyj(t), respectively. It is worth mentioning that no matter the touch action When it occurs, the calculation of the first reference value NTxi(t) and the second reference value NTyj(t) is continuously performed as long as the touch panel 1 is not touched. In this embodiment, the first reference value NTxi(1) is an average value, a maximum value or a minimum value of the first capacitive signals Cxi(1) to Cxi(M) when the first sensing axis Xi is scanned from the first scanning to the t-th scan. The second reference value NTyj(1) may be from the second scan to the t-1 for each second sensing axis Yj The average value of the second capacitance signal CYj(1)~CYj(4) during scanning is 201120711 wr^oui-v.400-0910 31627twf.doc/n value, a maximum value or a minimum value. However, the touch panel 100 is in different external environments. The first capacitive signal CXi(t) of each of the first sensing axes Xi and the second capacitive signal CYj(t) of each of the second sensing axes Yj may have different values. For example, different temperatures and humidity will be Affecting the magnitude of the first capacitive signal cxi(t) and the second capacitive signal CYj(1). In particular, if the environment changes drastically in a short period of time, the first capacitive signal cxi(t) and the second capacitive signal CYj(1) will be caused. The first reference value NTxi(1) and the second reference value NTyj(t) may not be truly represented by directly floating the first capacitive signal cxiw and the second capacitive signal CYj(1). The average state of the external environment. Therefore, 'to compensate for the impact of the environment on the capacitance signal in a short period of time' the first reference value NTxi (1) and the second reference value > ^ ^ (〇 can be in other ways For example, the first reference value NTxi(1) is, for example, NTxi(t) ~(1 -α)XNTxi(t-2) +axCxi{t~i) (Equation 7), where NTxi(1) is Cxi(1) And α is 0 〇 5. The second reference value NT 』 (1) is also clear w = (1-«) x qing (Bu (Equation 8), which; NTyj (l) is CYj (1) and a is for example 〇. 〇 5. Of course. , a can be changed with different δ and 6 products, here only 0.05 as an example. In fact, α is between 04, and the smaller α is, the smaller the influence of the electric valley generated when the sudden change of the environment is on the first reference value NTxi(1) and the second reference value NTyj(t), so that the first reference is made. The value NTxi(1) and the second reference value NTyj(t) more realistically reflect the average state of the environment. 1-C400-0910 31627twf.doc/n 201120711

Τ» A W 接著’進行步驟20,判斷是否有觸控動作發生。詳古 ^觸控動作是否發生的崎方式如下:第―電容訊號% ^於第-Η檻值,且第二電容職CYj(t)大於第二門播值 日守,將對應的其中-條第—感測⑽Xi以及對應的巧一 條第二感測軸線Yj視為被觸控。值得一提的是,第 ,與第了門檻值疋在難面板1()()的設料預設的,也^ 佈線設計以及電路規劃將使第-門檻值與第二 當觸控動作未發生時’觸控面板刚 :。首度有觸控動作發生,則進行步驟3〇。步驟進3= 錄以判斷—單點觸控模式或—多點觸 控模式。右_為早關控模式騎行步驟· 為多點觸控模式則進行步驟5〇。 右判斷 第二次掃描後發現在第U次掃描時,僅第i條 弟-感測軸線Xl以及第j條第二感測軸線 : 斷為早關減式。另外’在第tl讀描後的第^欠 描時,第-感測軸線刃以及第二感測軸線刃中苐, 條被觸控則判斷為多點觸控模式。 有一 判斷為單點觸控模式後,進行步驟4〇,其 时 點觸控位置的計算。單點觸控位置的計首^ 丁早 第-感測軸線Xi由第1次掃描到第U:次掃用, 基準值胸⑹來計算第一方向〇1上^的弟: 點觸控位置在第-方向D1上的座標Μ :此外’早 201120711 wr?〇ul-vJ4〇〇-〇91〇 31627twf.doc/n [Z.(C雄)-最i⑹) (公功) position X = j^i_ 一 i ^(Cxi(n)-NTxi(t\)) 同時,利用各第二感測轴線Yj由第丨次掃描 次掃描時第二基準值NTy刺來計算第二方 標。此外,單點觸控位置在第二方向1)2上的座標丫為: (公式2) ^KCYKtD-NTyjitl)) position Y = ___ ~~ i ^(Cy(zi) - NTyj(tl)) 在本實施例中,單點觸控位置是採用被觸控時所 測軸線Xi以及Yj㈣電容訊號與難前各軸線之基準值 的差異計算而得。所以’單點觸控位置的計算不容易受到 觸控面板100未被觸控時的電容訊號影響而產生定位上 誤差。具體而言,若部分感測軸線χί以及 松 二 = 虎,是偏低,直接採用被觸控時的電= 1十1控位置可能使得定位結果偏向或是偏離這 ,唬偏尚或是偏低的感測軸線Xi以及Yj。因此,, 1位的準確性,感測轴線Xi以及Yj上被觸控時的, 先與基準值比較(即減去基準值)後再進行‘ 201120711 -r,o.l-C4〇〇.〇91〇 31627twf.d〇c/n 一承上述,在第t2次掃描時,第一感測軸線%以及第 二感測軸線Yj中至少有三條被觸控則判斷為多點觸控模 式,亚進行步驟5〇。步驟50例如是判斷被觸控的至少一 條第一感測轴線Xi以及至少一條第二感測軸線Yj中何者 ,以^義一第一觸控位置以及一第二觸控位置。判斷用以 定義觸控位置以及第二觸控位置的第一感測轴線沿 以及第二感測軸線Yj之方法例如是比較第ti次掃描盥第 t2次掃描時被觸控的感測軸線。 〃 雨仪,假設第t2次掃描時,第一感測轴線Xi中有 第掃描時就已被觸控的-者用以定義 描時就已被觸控的—者用以錢第 1 一者用以定義第二觸控位置。 4置另 、達f外’第t2次掃描時,第—感測軸線^中口右放 =則被觸控的那條第一感製:用: 第位置以及第二觸控位置。當然=二(義 =感_線Yj h有—細^ 時, 物時用觸控位 -感二觸控位置的第 算第-觸控位置莖,感_線YJ後’進行步驟52 1 :弟输錄控位置在^^ 201120711 rv i 7〇v 1' ^400-0910 31627twf.doc/n w+o y^i(Gci(n) - NTxi(tl)) position—X\ = ---(公式 3) ^ (C*/(ii) - ^Γχί(ίΙ)) i=n-a 其中a為正整 數。實際上’ a的數值大小可以是觸控面板loo中感測車由 線Xi與Yj的佈線密度而設定。當感測軸線Xi與Yj的佈 線密度越高,a的數值越大。 第一觸控位置在第二方向上的座標Y1為: m+a ^ i(CYj(ti) - NTyj{t\)) position—Υ\ = -(公式 4) ^(CYjVD-NTyjXtl)) j=m-a 在此,m及η即為定義第一觸控位置的第一感測軸線 Χι以及第二感測軸線Yj的次序。也就是說,m及η為步 驟50中所判斷的結果。 假設第一觸控位置由第一感測軸線χ3以及第二感測 ,線Υ2所定義,則m=3,η=2。因此,第一觸控位置例如 弋由第一感測軸線Χ2〜Χ4以及第二感測轴線γι〜γ3中的 電容訊號先與對應的基準值相減而後計算而得。另外,第 、觸控位$在第tl次掃描時就已鎌觸控,所以第一觸控 ,置的异是以第U次以前的電容訊號作為基準值,也就 文 NTxi(tl)以及 NTyj(tl)。 接著,進行步驟54,計算第二觸控位置。第二觸控位 201120711 wr?〇ul-C400-0910 31627twf.doc/n 置在第t2次掃描時才被觸控’所以第二觸控位置的計算是 以第t2次以前的電容訊號作為基準值。所以,在此係先取 得各第一感測轴線Xi由第1次掃描到第次掃描時的 第一基準值NTxi(t2)以及各第二感測軸線Yj由第丨次掃描 到第t2-l次掃描時的第二基準值NTyj(t2)。 具體而言,第二觸控位置在第一方向上的座標X2為. p+a 〉:i(Cxi(t2) — NTxi(t2)) φ P—_X2 =书-(公式 5) ^'(Cxi(t2) — NTxi(t2)) 弟一觸控位置在第二方向上的座標Y2為:Τ» A W Then proceed to step 20 to determine if a touch action has occurred. The details of the ancient ^ touch action occurs in the following way: the first - capacitance signal % ^ in the first - Η槛 value, and the second capacitance CYj (t) is greater than the second homing value, the corresponding - The first-sensing (10) Xi and the corresponding one of the second sensing axes Yj are regarded as being touched. It is worth mentioning that, the first, and the threshold value of the first panel is difficult to set the panel 1 () (), the wiring design and circuit planning will make the first threshold and the second when the touch action is not When the 'touch panel' just happened: If the touch action occurs for the first time, proceed to step 3〇. Step 3 = Record to judge - single touch mode or - multi-touch mode. Right _ is the morning control mode riding step · For the multi-touch mode, go to step 5 〇. Right Judgment After the second scan, it is found that in the Uth scan, only the i-th brother-sensing axis Xl and the jth second sensing axis are cut off early. In addition, in the first drawing after the t1st reading, the first sensing axis and the second sensing axis are in the middle, and the bar is touched to determine the multi-touch mode. After determining that the single-touch mode is performed, step 4 is performed, and the calculation of the touch position is performed. The first touch position of the single touch position is from the first scan to the U: the second sweep, and the reference value chest (6) is used to calculate the first direction 〇1 on the brother: the touch position The coordinate 第 in the first direction D1: In addition, 'early 201120711 wr?〇ul-vJ4〇〇-〇91〇31627twf.doc/n [Z.(C male)-most i(6)) (gonggong) position X = j ^i_一伊^(Cxi(n)-NTxi(t\)) At the same time, the second reference value is calculated from the second reference value NTy at the time of the second scan by the second sensing axis Yj. In addition, the coordinate 丫 of the single-touch position in the second direction 1) 2 is: (Formula 2) ^KCYKtD-NTyjitl)) position Y = ___ ~~ i ^(Cy(zi) - NTyj(tl)) In this embodiment, the single-touch position is calculated by using the difference between the measured axis Xi and the Yj (four) capacitive signal and the reference value of each axis before the touch. Therefore, the calculation of the single-touch position is not susceptible to the positioning error caused by the capacitive signal when the touch panel 100 is not touched. Specifically, if part of the sensing axis χί and Matsuji = Tiger are low, directly using the electric control when touched = 1 1 control position may cause the positioning result to be biased or deviated from this. Low sensing axes Xi and Yj. Therefore, the accuracy of 1 bit, when sensing the axes Xi and Yj are touched, first compare with the reference value (ie, subtract the reference value) and then perform '201120711 -r, ol-C4〇〇.〇 91〇31627twf.d〇c/n According to the above, at the t2th scanning, at least three of the first sensing axis % and the second sensing axis Yj are touched to determine the multi-touch mode, Go to step 5〇. The step 50 is, for example, determining which of the at least one first sensing axis Xi and the at least one second sensing axis Yj that are touched to define a first touch position and a second touch position. The method for determining the first sensing axis edge and the second sensing axis Yj for defining the touch position and the second touch position is, for example, comparing the sensing axis touched by the t-th scanning after the t-th scan . 〃 Rain meter, suppose that in the t2nd scan, the first sensing axis Xi has been touched when the first scanning is used to define the time when the drawing has been touched. Used to define the second touch position. 4, set the other, to f outside the second t2 scan, the first - sense axis ^ right mouth = the first touch of the touch: use: the first position and the second touch position. Of course = two (meaning = sense _ line Yj h has - fine ^, when the object uses the touch position - sense the second touch position of the first - touch position stem, sense _ line YJ after 'go step 52 1 : The position of the younger brother is recorded in ^^ 201120711 rv i 7〇v 1' ^400-0910 31627twf.doc/n w+oy^i(Gci(n) - NTxi(tl)) position—X\ = ---( Formula 3) ^ (C*/(ii) - ^Γχί(ίΙ)) i=na where a is a positive integer. In fact, the value of 'a can be the touch panel in the touch panel loo by the lines Xi and Yj The wiring density is set. The higher the wiring density of the sensing axes Xi and Yj, the larger the value of a. The coordinate Y1 of the first touch position in the second direction is: m+a ^ i(CYj(ti) - NTyj{t\)) position—Υ\ = - (Formula 4) ^(CYjVD-NTyjXtl)) j=ma Here, m and η are the first sensing axes 定义ι and the second defining the first touch position. The order of the axis Yj is sensed. That is, m and η are the results judged in step 50. Assuming that the first touch position is defined by the first sensing axis χ3 and the second sensing, line Υ2, then m=3, η=2. Therefore, the first touch position, for example, is calculated by subtracting the capacitance signal from the first sensing axis Χ2 Χ4 and the second sensing axis γι γ3 with the corresponding reference value. In addition, the first touch position $ has been touched during the tl scan, so the first touch is set by the U-time previous capacitive signal as the reference value, ie NTxi(tl) and NTyj (tl). Then, step 54 is performed to calculate the second touch position. The second touch position 201120711 wr?〇ul-C400-0910 31627twf.doc/n is set to be touched when the t2th scan is performed. Therefore, the calculation of the second touch position is based on the t2nd previous capacitive signal. value. Therefore, in this case, the first reference value NTxi(t2) when the first sensing axis Xi is from the first scanning to the first scanning and the second sensing axis Yj are obtained from the third scanning to the t2. The second reference value NTyj(t2) at the time of -1 scanning. Specifically, the coordinate X2 of the second touch position in the first direction is . p+a 〉: i(Cxi(t2) — NTxi(t2)) φ P—_X2 = book-(formula 5) ^'( Cxi(t2) — NTxi(t2)) The coordinate Y2 of the touch position in the second direction is:

^ i(Crj(t2) - NTyj{t2)) position Y2 = ΐΞΒζΞ.___ — 9+α[(C綱-师(,2)) (公式6) 中Ρ及q為定義第二觸控位置的第 感測轴線Yj.的次序.。 ,其 一感測軸線Xi以及第二 在進行上述計算而得出觸控位置座標之後,可以將這 些座,輸出(也就是步驟6G)讀f子裝置執行對應的程 式。=然,上述座標也可以依據觸控面板1〇〇的解析度重 新計算成解析度坐標後再被輪出。 當然,若在後續的第t3二欠掃描時,有一第三觸控位置 產生’則繼續進行步驟50〜52,並進一步計算一第三觸控 位置。其中,步驟5〇除了判斷第一觸控位置與第二觸控^ 11 201120711 WFy8Ol-tJ400-0910 31627twf.doc/n^ i(Crj(t2) - NTyj{t2)) position Y2 = ΐΞΒζΞ.___ — 9+α[(C--((2))) (Formula 6) Ρ and q are the second touch positions defined The order of the first sensing axis Yj. After sensing the axis Xi and the second, after performing the above calculation to obtain the touch position coordinates, the outputs of the blocks (ie, step 6G) can be read to execute the corresponding method. = However, the above coordinates can also be recalculated into resolution coordinates according to the resolution of the touch panel 1〇〇 and then rotated. Of course, if there is a third touch position generated during the subsequent t3nd underscan, then steps 50-52 are continued, and a third touch position is further calculated. Wherein, step 5: in addition to determining the first touch position and the second touch ^ 201120711 WFy8Ol-tJ400-0910 31627twf.doc/n

置的感測韩線外,更要判斷出第三觸控位置所對應的感測 轴線’並以對應的感測軸線計算第三觸控位置。值得一提 的疋’當苐二觸碰位置所對應的感測軸線為已被觸碰過的 感應轴線’則對應的感應軸線所感測到的電容值會高於前 次觸碰狀態下的電容值。因而當第三觸碰位置位於已經被 觸碰過的感應軸線時,可依據電容值的變化判斷第三觸碰 位置所對應的感測軸線。本實施例是利用被觸控的感測軸 線前後之感測軸線進行計算因此可以計算出多個觸控位 置’以達到多點觸控的功能。 以下將舉例說明觸控面板1〇〇進行多點觸控的計算〕 法。圖2緣示為圖1八之觸控面板被觸控時的情形。請肖 續參照圖1B與圖2,觸控面板100開啟後會持續進行^專 10。假設第5次的掃描時,位置P1被觸控, 2。判斷為「是」。此時,第一感測軸線= 訊號cX3(5)會大於第一門檻值,而第二感測軸線γ2上的^ 二電容訊號Cy2(5)會大於第二門捏值。另外,觸控面板⑺In addition to the sensed Korean line, the sensing axis corresponding to the third touch position is determined and the third touch position is calculated from the corresponding sensing axis. It is worth mentioning that when the sensing axis corresponding to the touch position is the sensing axis that has been touched, the corresponding sensing axis will sense the capacitance value higher than that of the previous touch state. Capacitance value. Therefore, when the third touch position is located at the sensing axis that has been touched, the sensing axis corresponding to the third touch position can be judged based on the change in the capacitance value. In this embodiment, the sensing axis of the touched sensing axis is used for calculation, so that a plurality of touch positions can be calculated to achieve the function of multi-touch. The following is an example of a method for calculating the multi-touch of the touch panel 1 . FIG. 2 is a view showing a case where the touch panel of FIG. 1 is touched. Referring to FIG. 1B and FIG. 2, the touch panel 100 is continuously turned on. Assume that at the fifth scan, position P1 is touched, 2. The judgment is "Yes". At this time, the first sensing axis=signal cX3(5) is greater than the first threshold value, and the second capacitive signal Cy2(5) on the second sensing axis γ2 is greater than the second threshold value. In addition, the touch panel (7)

更繼續進行掃描與記錄以判斷單點觸控模式或多點觸控卷 式,也就是前述之步驟30。 工占Scanning and recording are further continued to determine a single touch mode or a multi-touch volume, which is the aforementioned step 30. Worker

Ik即,假設在第7次的掃描動作時,除了位置 ,控,,位置P2也被觸控。第—感測軸線χ4上的第一 ? 容,號(:叫7)也會大於第一門檻值,而第二感測軸線上 的第二電容訊號(:州4)也會大於第二門檻值。換古之,此栌 有四條感測軸線被觸控,也就是步驟3〇中判斷:^ , 控模式」。 句夕.,.、占觸 12 201120711 wr you 1-C400-0910 31627twf.doc/n 接著,進行步驟50’判斷被觸控的第一感測轴線X3、 第一感測軸線X4、第二感測轴線Y2以及第二感測軸線 Y3中何者用以定義第一觸控位置P1以及第二觸控位置 P2。 在本實施例中’第一感測軸線X3與第一感測軸線χ4 中’第一感測轴線X3在第5次的掃描時就被判定為觸控。 所以’第一感測軸線X3被用來定義第一觸控位置pi,而 第一感測軸線X4則用來定義第二觸控位置P2。同樣地, 第一感測軸線Y2在第5次的掃描時就被判定為觸控,所 以用來定義第一觸控位置P1。第二感測轴線¥3則用來定 義第二觸控位置P2。換言之,先被判定為觸控的那一條感 測軸線會被用來疋義第一觸控位置ρ〗,而後被判定為觸控 的感測轴線被用來定義第二觸控位置p2。 定義各觸控位置P1與P2的感測軸線判斷出來後,便 利用對應的感測軸線來計算觸控位置P1與p2,也就是進 行步驟52以及步驟54。在此,第一觸控位置ρι即利用第 • 一感測軸線X3與第二感測軸線Y2來計算。第二觸控位置 P2則利用f 一感測轴、線Χ4 ,乂及第二感測輛線γ3: 算。第-觸控位置P1以及第二觸控位置P2的計算方式例 如是利用對應的感測軸線Χ3、χ4、γ2以及γ3之 條感測軸線來計算。也就是說,本實施例的計算方式中, 前述=公式4〜公式6中的a皆以丄為例來作“明。 詳言之,先將第一感測軸線χ2、χ3以及χ4從第^ 次掃描到第4次掃描所記錄下來的第—電容訊號 13 201120711 WFy8Ol-U400-0910 31627twf.doc/nIk, that is, in the seventh scanning operation, in addition to the position, control, and position P2 is also touched. The first sensing capacity on the axis χ4, the number (: 7) will also be greater than the first threshold value, and the second capacitive signal on the second sensing axis (: state 4) will be greater than the second threshold value. In the past, there are four sensing axes that are touched, that is, the judgment in step 3: ^, control mode.句夕.,.占占12 201120711 wr you 1-C400-0910 31627twf.doc/n Next, proceed to step 50' to determine the touched first sensing axis X3, the first sensing axis X4, the second Which of the sensing axis Y2 and the second sensing axis Y3 is used to define the first touch position P1 and the second touch position P2. In the present embodiment, the first sensing axis X3 and the first sensing axis 34 are determined to be touch at the 5th scanning. Therefore, the first sensing axis X3 is used to define the first touch position pi, and the first sensing axis X4 is used to define the second touch position P2. Similarly, the first sensing axis Y2 is determined to be a touch at the 5th scan, so that the first touch position P1 is defined. The second sensing axis ¥3 is used to define the second touch position P2. In other words, the sensing axis that is first determined to be touched is used to deny the first touch position ρ, and then the sensing axis determined to be touch is used to define the second touch position p2. After determining the sensing axes of the touch positions P1 and P2, the touch positions P1 and p2 are calculated using the corresponding sensing axes, that is, step 52 and step 54 are performed. Here, the first touch position ρι is calculated using the first sensing axis X3 and the second sensing axis Y2. The second touch position P2 is calculated by using f-sensing axis, line Χ4, 乂 and second sensing line γ3: The calculation of the first touch position P1 and the second touch position P2 is calculated, for example, by using the sensing axes of the corresponding sensing axes Χ3, χ4, γ2, and γ3. That is to say, in the calculation method of the present embodiment, the a in the above formulas 4 to 6 are all exemplified by 丄. In detail, the first sensing axes χ2, χ3, and χ4 are first ^ First scan to the fourth scan recorded the first capacitor signal 13 201120711 WFy8Ol-U400-0910 31627twf.doc/n

Cx2(U〜Cx2(4)、CX3⑴〜CX3(4)以及cx4⑴〜Cx4⑷計算成對應的第 一基準值NTx2(5)、NTx3(5)以及NTx4(5)。在此,基準值 可以疋這些電容訊號的平均值、最大值或是依照前述之公 式7加以計算。當然’基準值也可以是這些電容訊號依照 其他統計方式所求得的數值。 接著’將第一感測軸線X2、X3以及X4在第5次掃 描的第一電容訊號CX2(5)、Cx3(5)以及Cx4(5)與上述第一基準 值NTx2(5)、NTx3(5)以及NTx4(5)代入公式3,而得以下 算式 ^^•(CnXS)-册,⑶) position X\- ^-- — 4 ^](Cxi(5)-iV7x/(5)) i=2 ,並求得第一觸控位置P1在第一方向D1上的座標XI。 同樣地,第二感測軸線Y卜Y2以及Y3從第1次掃 描到第4次掃描所記錄下來的第一電容訊號Cyl⑴〜Cyi(4)、 Cy2⑴〜Cy2(4)以及CyS⑴〜Cy3(4)會被計算成對應的第二基準值 NTyl(5)、NTy2(5)以及NTy3(5)。接著,將第二感測軸線 Y1、Y2以及Y3在第5次掃描的第二電容訊號cyl⑺、Cy2⑺ 以及Cy3(5)與上述第二基準值NTyl(5)、NTy2(5)以及 NTy3(5)代入公式4,而得以下算式 3 J^KCrjX5)-NTyj(5)) position _Y\ = --- 乞(Cm、_NTyj(5)) 7=1 ,並求得第一觸控 201120711 w r 7〇υ 1-C400-0910 31627twf.doc/n 位置Ρ1在第二方向D2上的座標Υ1。 然後,計算第二觸控位置P2,也就是步驟54。將第 一感測轴線X3、X4以及X5從第1次掃描到第6次掃描 所記錄下來的第一電容訊號Cx3⑴〜Cx3(6)、Cx4⑴〜Cx4⑹以及 Cx5⑴〜Cx5(6)計算成對應的第一基準值NTx3(7)、NTx4(7)以 及NTx5(7)。並且,將第一感測軸線χ3、Χ4以及X5在第 7次掃描的第一電容訊號CX3(7)、Cx4(7)以及Cx5(7)與上述第 一基準值NTx3(7)、NTx4(7)以及NTx5(7)代入公式5,而 得以下算式 5 ⑺-紐,(7)) position_X2 ~ ----- - NTxi(JJ) ,並求得第二觸控 位置P2在第一方向D1上的座標X2。 同樣地,第二感測轴線Y2、Y3以及Y4從第1次掃 描到第6次掃描所記錄下來的第一電容訊號Cy2⑴〜Cy2⑹、 Cy3(l)〜Cy3⑹以及 ⑴〜Cy4(6)會被計算成對應的第二基準值 NTy2(7)、NTy3⑺以及 NTy4(7)。第二感測轴線 Y2、Y3 以及Y4在第7次掃描的第二電容訊號cy2⑺、Cy3⑺以及 CV⑺與上述第二基準值NTy2(7)、NTy3(7)以及NTy4(7)被 代入公式6可得以下算式 4 ^iiCYm-NTyjil)) position Y2 =马--— — 4 ^(CmD-NTyjXl)) j=2 以求得第二觸控 15 201120711 w^y»u 1-^00-0910 31627twf.d〇c/n 位置P2在第二方向£)2上的座標γ2。 之後,將第一觸控位置P1的座標(X卜Y1)與第二觸 控位置P2的座標(χ2, Υ2)輪出或是將第—觸控位置η 的座標(XI ’ Υ1)與第二觸控位置ρ2的座標(χ2, 觸控面板U)0的解析度換算成對應的一第 (X卜第二解析度座標(Χ2,,Υ2,)並輸出又认 舉例而言,觸控面板100的解析度若設定為 =0x500 ’則第一觸控位置ρι在第—方向m的 座Cx2 (U to Cx2 (4), CX3 (1) to CX3 (4), and cx4 (1) to Cx4 (4) are calculated as corresponding first reference values NTx2 (5), NTx3 (5), and NTx4 (5). Here, the reference value can be used for these. The average value and maximum value of the capacitance signal are calculated according to the above formula 7. Of course, the 'reference value can also be the value obtained by these capacitance signals according to other statistical methods. Then 'the first sensing axis X2, X3 and X4 substitutes the first capacitive signals CX2(5), Cx3(5), and Cx4(5) of the fifth scan with the first reference values NTx2(5), NTx3(5), and NTx4(5), respectively, and The following formula ^^•(CnXS)-book, (3)) position X\- ^-- 4 ^](Cxi(5)-iV7x/(5)) i=2 , and find the first touch position P1 The coordinate XI in the first direction D1. Similarly, the second sensing axis Yb Y2 and Y3 record the first capacitive signals Cyl(1)~Cyi(4), Cy2(1)~Cy2(4), and CyS(1)~Cy3(4) recorded from the first scan to the fourth scan. It is calculated as the corresponding second reference values NTyl(5), NTy2(5), and NTy3(5). Next, the second sensing axes Y1, Y2, and Y3 are the second capacitive signals cyl(7), Cy2(7), and Cy3(5) of the fifth scan and the second reference values NTyl(5), NTy2(5), and NTy3(5). Substituting into Equation 4, the following formula 3 J^KCrjX5)-NTyj(5)) position _Y\ = --- 乞(Cm, _NTyj(5)) 7=1, and the first touch 201120711 wr 7 is obtained. 〇υ 1-C400-0910 31627twf.doc/n Position Ρ1 is the coordinate Υ1 in the second direction D2. Then, the second touch position P2 is calculated, that is, step 54. The first sensing axes X3, X4, and X5 are calculated from the first to sixth scans of the first capacitive signals Cx3(1) to Cx3(6), Cx4(1) to Cx4(6), and Cx5(1) to Cx5(6). The first reference values are NTx3(7), NTx4(7), and NTx5(7). And, the first sensing axes χ3, Χ4, and X5 are at the 7th scan of the first capacitive signals CX3(7), Cx4(7), and Cx5(7) and the first reference values NTx3(7), NTx4 ( 7) and NTx5(7) are substituted into formula 5, and the following formula 5 (7)-new, (7)) position_X2 ~ ----- NTxi(JJ) is obtained, and the second touch position P2 is obtained in the first direction. Coordinate X2 on D1. Similarly, the first sensing axes Y2, Y3, and Y4 record the first capacitive signals Cy2(1)~Cy2(6), Cy3(l)~Cy3(6), and (1)~Cy4(6) recorded from the first scan to the sixth scan. It is calculated as corresponding second reference values NTy2(7), NTy3(7), and NTy4(7). The second sensing axes Y2, Y3, and Y4 are substituted into the sixth capacitive signal cy2(7), Cy3(7), and CV(7) at the 7th scan and the second reference values NTy2(7), NTy3(7), and NTy4(7). The following formula 4 ^iiCYm-NTyjil)) position Y2 = horse ----- 4 ^(CmD-NTyjXl)) j=2 to obtain the second touch 15 201120711 w^y»u 1-^00-0910 31627twf.d〇c/n The coordinate γ2 of position P2 in the second direction £)2. Then, the coordinates of the first touch position P1 (X Bu Y1) and the coordinates of the second touch position P2 (χ2, Υ2) are rotated or the coordinates of the first touch position η (XI ' Υ 1) and the first The resolution of the coordinates (χ2, touch panel U) 0 of the two touch positions ρ2 is converted into a corresponding one (Xb second resolution coordinate (Χ2, Υ2,)) and output, for example, touch If the resolution of the panel 100 is set to =0x500 ', the first touch position ρι is in the first direction m.

=了叫X1 ’在第二方向D2的解析度座標 Υ1 =(500/5)χΥ卜同樣地,第二觸控位置p2在第一方向 D1的解析度座標χ2,=(5〇〇/5)χχ2,在第二方向说的解析 度座標Y2,=(5〇〇/5)xY2。在其他實施例中,觸控面板⑽ 的解析度可以隨不同的設計而改變。 y整體而言,本實施例係利用被觸控的感測軸線及其前 後的感測軸線來進行觸控位置的定位。因此,觸控面板⑽ 可以有效率地計算出多個觸控點,以提高觸控面板100的 實用性。= is called X1 'the resolution coordinate in the second direction D2 Υ 1 = (500/5) χΥ Similarly, the resolution of the second touch position p2 in the first direction D1 coordinates χ 2, = (5 〇〇 / 5 ) χχ 2, the resolution coordinate Y2 in the second direction, = (5 〇〇 / 5) xY2. In other embodiments, the resolution of the touch panel (10) can vary from design to design. y In general, the present embodiment utilizes the touched sensing axis and its front and rear sensing axes to position the touch position. Therefore, the touch panel (10) can efficiently calculate a plurality of touch points to improve the usability of the touch panel 100.

二上所述,本發明之觸控位置的計算方法將被觸控時 =電容訊號與未觸控時的電容訊相比較,*可以正確地求 得觸控位置。另外,本發明利用被觸控之 幾條感測鱗來計算觸控位置可以完成多個觸控點= t,而使觸控面㈣實雜更高。更進—步而言,本 &月可以利用不同的方式求得未觸控時的電容訊號基準 值因此環1兄變化所造成的電容值浮動可以被補償而更提 16 201120711 wry〇ul-C400-0910 31627twf.d〇c/n 高觸控位置的定位準確性。 雖然本發明已以實施例揭露如上,然其並非用以限定 本發明’任何所屬技術領域中具有通常知識者,在不脫離 本發明之精神和範圍内’當可作些許之更動與潤飾,故本 發明之保護範圍當視後附之申請專利範圍所界定者為準。 【圖式簡單說明】 I 圖1A繪示為一種觸控面板的示意圖。 圖1B繪示為本發明之一實施例的觸控位置計算方法 之流程圖。 圖2續·示為圖1A之觸控面板被觸控時的情形。 【主要元件符號說明】 10、20、30、40、50、52、54、60 :步驟 1〇〇 :觸控面板 D1 :第一方向 • D2 :第二方向 P1 :第一觸控位置 P2 :第二觸控位置 Xi、XI〜X5 :第一感測軸線 Yj、Y1〜Y5 :第二感測軸線 17As described above, the calculation method of the touch position of the present invention will be compared with the capacitive signal when the touch signal is not touched, and the touch position can be correctly obtained. In addition, the present invention can calculate a touch position by using a plurality of touch scales to complete a plurality of touch points = t, and make the touch surface (four) more complex. In the case of further steps, this & month can use different methods to obtain the reference value of the capacitive signal when the touch is not touched. Therefore, the fluctuation of the capacitance value caused by the change of the ring 1 can be compensated and is further improved. 16 201120711 wry〇ul- C400-0910 31627twf.d〇c/n Positioning accuracy of high touch position. The present invention has been disclosed in the above embodiments, but it is not intended to limit the invention to those skilled in the art, and it is possible to make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1A is a schematic diagram of a touch panel. FIG. 1B is a flow chart of a method for calculating a touch position according to an embodiment of the present invention. FIG. 2 is a continuation of the case where the touch panel of FIG. 1A is touched. [Main component symbol description] 10, 20, 30, 40, 50, 52, 54, 60: Step 1: Touch panel D1: First direction • D2: Second direction P1: First touch position P2: Second touch position Xi, XI~X5: first sensing axis Yj, Y1 YY5: second sensing axis 17

Claims (1)

201120711 w^Wi-^400-〇91〇 31627twf.doc/n 七、申請專利範圍: 1. 一種觸控位置的計算方法,應用於—觸控面板,該 觸控面板具有依序排列的多條第一感測軸線Xi以及依序 排列的多條第二感測軸線Yj,其中i、j為正整數,且該些 第一感測軸線Xi與該些第二感測轴線YJ相交而定義出平 行該些第二感測軸線Yj的一第一方向以及平行該些第— 感測軸線Xi的一第二方向’其中該觸控位置的計算方法勹 括: ° 持續掃描該些第一感測軸線Xi以及該些第二感測軸 魯 線Yj並記錄各該第一感測軸線Xi在每一次掃描時的一第 一電谷訊號CxiW以及各該第二感測轴線Yj在每一次掃描 時的一第二電容訊號CYjW,其中t為掃描次數; 在未被觸控時,計算各該第一感測軸線Xi的該些第 一電容訊號cXiWa及各該第二感測軸線Yj的該些第二電 容訊號CYj⑴以分別求得一第一基準值NTxi⑴以及一第二 基準值NTyj(t); 判斷該觸控面板是否被觸控,其中該第一電容訊號 鲁 CxiW大於一第一門植值,且該第二電容訊號cYj(t)大於一第 二門檻值時,將對應的其中一該第一感測軸線X i以及對應 的其中一該第二感測轴線Yj視為被觸控; 首度被觸控後,繼續進行掃描與記錄以判斷一單點觸 控模式或一多點觸控模式; 僅在苐tl次掃描時有其中一該弟一感測轴線Xi以及 其中一該苐一感測轴線Yj被觸控則判斷為該單點觸控模 18 201120711 »» X 1-C400-0910 31627twf.doc/n 式’並依據該些第-感_線Xi以及該些第二感 ^ .之電容訊號與基準㈣差錢行—單闕控位置的= 算;以及201120711 w^Wi-^400-〇91〇31627twf.doc/n 7. Patent application scope: 1. A calculation method of touch position, applied to a touch panel, the touch panel has multiple pieces arranged in order a first sensing axis Xi and a plurality of second sensing axes Yj arranged in sequence, wherein i and j are positive integers, and the first sensing axes Xi are intersected with the second sensing axes YJ to define a first direction parallel to the second sensing axes Yj and a second direction parallel to the first sensing axes Xi. The calculation method of the touch positions includes: ° continuously scanning the first senses Measuring axis Xi and the second sensing axis ruins Yj and recording a first electric valley signal CxiW and each of the second sensing axes Yj of each of the first sensing axes Xi at each scanning a second capacitive signal CYjW during scanning, where t is the number of scans; when not touched, the first capacitive signals cXiWa and the second sensing axes Yj of each of the first sensing axes Xi are calculated. The second capacitance signals CYj(1) respectively obtain a first reference value NTxi(1) and a first The reference value NTyj(t); determining whether the touch panel is touched, wherein the first capacitive signal CxiW is greater than a first threshold value, and the second capacitive signal cYj(t) is greater than a second threshold value Corresponding one of the first sensing axis X i and one of the corresponding second sensing axes Yj are regarded as being touched; after being touched for the first time, scanning and recording are continued to determine a single point Touch mode or a multi-touch mode; determining that the single touch is determined only when one of the brothers one sensing axis Xi and one of the first sensing axes Yj are touched during 苐tl scanning Control mode 18 201120711 »» X 1-C400-0910 31627twf.doc / n type 'and according to the first sense - line Xi and the second sense ^. The capacitance signal and the benchmark (four) bad money line - single control Location = calculation; and 在第t2次掃描後有共至少三條第—感測軸線沿及第 二感測軸線Yj被觸控時則判斷為該多點觸控模式,依據該 ,第一感測轴線Xi、該些第二感測軸線Yj以及鄰近該= 第-感測轴線Xi與該些第二感測赠Yj之細轴線 容訊號與基準值的差值進行一多點觸控位置的計算。 2.如申請專利範圍第1項所述之觸控位置=計算方 法,其中該單點觸控位置的計算方法包括: ° # 取得各該第一感測軸線Xi由第i次掃描到第ti_i次 掃描時的該第-基準值NTxi(tl),且該單點魅 ^ 第—方向上的座標X為: ^ ^/(Gc/(ii)-iV7jcz(il)) position^ = Αή-(公式After the t2th scan, a total of at least three first sensing axis along the second sensing axis Yj are touched, and then the multi-touch mode is determined. According to the first sensing axis Xi, the The second sensing axis Yj and the difference between the lower sensing signal axis Xi and the second axis sensing signal Yj and the reference value of the second sensing gift Yj perform a multi-touch position calculation. 2. The touch position=calculation method according to claim 1, wherein the calculation method of the single touch position comprises: °# obtaining each of the first sensing axes Xi from the ith scan to the ti_i The first reference value NTxi(tl) at the time of the second scan, and the coordinate X in the single point direction is: ^ ^/(Gc/(ii)-iV7jcz(il)) position^ = Αή-( formula Y^{Cxm)-NTxi{t\)) /=1 ;以及 ^取得各該第二感測轴線Yj由第1次掃描到第tM次 ^插時的該第二基準值NTyj⑹,且該單點觸控位置在= 弟—方向上的座標Y為: ^ i{CYj{t\) - NTyjitl)) position ^γ = -(公式 2) 7=1 Ά -k b i 19 201120711 w^»ui-c400-〇91〇 31627twf.doc/n 3.如申請專利範圍第2項所述之觸控位置的計算方 法’其中該多點觸控位置的計算方法包括: 判斷被觸控的至少一該第一感測轴線Xi以及至少一 該第二感測軸線Yj中何者用以定義一第一觸控位置以及 一第二觸控位置,並計算該第一觸控位置以及該第二觸控 位置,其中計算該第一觸控位置的方法包括: 該第一觸控位置在該第一方向上的座標XI為: «+〇 position_X\ - ^KCxm- NTxi(tl)) n+a ^(〇χί(η)-ΝΤχι(ύ)) (公式3)Y^{Cxm)-NTxi{t\)) /=1; and ^ obtain the second reference value NTyj(6) when the second sensing axis Yj is from the first scan to the tMth insertion, and the The coordinate Y of the single touch position in the = direction - direction is: ^ i{CYj{t\) - NTyjitl)) position ^γ = - (Formula 2) 7=1 Ά -kbi 19 201120711 w^»ui- C400-〇91〇31627twf.doc/n 3. The calculation method of the touch position as described in claim 2, wherein the calculation method of the multi-touch position comprises: determining at least one of the touched Which one of the sensing axis Xi and the at least one second sensing axis Yj is used to define a first touch position and a second touch position, and calculate the first touch position and the second touch position The method for calculating the first touch position includes: the coordinate XI of the first touch position in the first direction is: «+〇position_X\ - ^KCxm- NTxi(tl)) n+a ^(〇 Χί(η)-ΝΤχι(ύ)) (Equation 3) ’其中a為 正整數;以及 該第一觸控位置在該第二方向上的座標Y1為: m+a 5]狀綱-师⑹) position _Y\ =丄 __ — m+a J](CmD-NTyj(tl)) j-m-a (公式4) ’其中 m及n為定義該第一觸控位置的該第一感測軸線沿 以及該第二感測軸線Yj的次序; 計异該第二觸控位置的方法包括: 取得各該第一感測軸線Xi由第一次掃描到第 t2-l次知描時的該第一基準值NTxi(t2),且該第二觸 控位置在該第一方向上的座標X2為:'where a is a positive integer; and the coordinate Y1 of the first touch position in the second direction is: m+a 5] 状-师(6)) position _Y\ =丄__ — m+a J]( CmD-NTyj(tl)) jma (Formula 4) 'where m and n are the order of the first sensing axis along which the first touch position is defined and the second sensing axis Yj; The method for controlling the position includes: obtaining the first reference value NTxi(t2) when each of the first sensing axes Xi is scanned from the first scan to the t2-l time, and the second touch position is at the The coordinate X2 in one direction is: P + Q i(Cxi(t2) — Λ^7χ/(/2)) position—= __ — ρ+α (Cr/(/2) — Λ^7χ/(ί2)) ΐ~ρ~α (公式5) 20 201120711 wry6ui-C400-0910 31627twf.doc/n ;以及 取得各該第二感測軸線Yj由第一次掃描到第 t2_l次掃描時的該第二基準值NTyj(t2),且該第二觸 控位置在該第二方向上的座標Y2為: q+a (公式6) ,其中P ^i{CYm)-NTym)) position Y2 — _ ~~ g+a ^(CYjVD-NTyjXtl))P + Q i(Cxi(t2) — Λ^7χ/(/2)) position—= __ — ρ+α (Cr/(/2) — Λ^7χ/(ί2)) ΐ~ρ~α (Formula 5) 20 201120711 wry6ui-C400-0910 31627twf.doc/n; and obtaining the second reference value NTyj(t2) when each of the second sensing axes Yj is scanned from the first scan to the t2-th scan, and the The coordinate Y2 of the second touch position in the second direction is: q+a (formula 6), where P ^i{CYm)-NTym)) position Y2 — _ ~~ g+a ^(CYjVD-NTyjXtl)) 及q為定義該第二觸控位置的該第二感測轴線xi以 及該第二感測軸線Yj的次序。 4.如申請專利範圍第3項所述之觸控位置的計算方 ,,其中該第一基準值NTxi⑴為各該第一感測軸線%由 第1次掃描到第t_l次掃描時的該些第一電容訊號 ^χκυ〜〇0(叫的一平均值、一最大值或一最小值。 5·如申請專利範圍第3項所述之觸控位置的計算方 :.r:w其中該第一基準值NTxi(t厂為 服明= (1〜α)χΛΓΓχ办一2) + axCW i)(公式7),NTxi⑴為 Cxi⑴而a介於〇到1之間。 6.如申睛專利範圍第5項所述之觸控位置的計算方 法’其中a為〇.〇5。 ° •如申睛專利範圍第3項所述之觸控位置的計算方 ,’其2第二基準值NTyj⑴為各該第二感測軸線‘由 第1人掃描到第t-i次掃描時的該些第二電容訊號 Cyki} 的—平均值、一最大值或一最小值。 201120711 wr^eui-^400-0910 31627twf.doc/n 8. 如申請專利範圍第3項所述之觸控位置的計算方 法,其中該第二基準值 NTyKt)為 ^Tyj{t) = (1 -α)XNTyj(t — 2) -1 + a x Cyj{t -1)(公式8),NTyj(l) 為CYj⑴而α介於〇到1之間。 9. 如申清專利範圍弟8項所述之觸控位置的計算方 法,其中α為0.05。 10·如申請專利範圍第3項所述之觸控位置的計算方 法’其中在該多點觸控模式中’當該些第一感測轴線xi 中有兩條被觸控時,則第ti次掃描時就被觸控的一者用以 馨 定義該第一觸控位置,另一者用以定義該第二觸控位置。 11.如申請專利範圍第3項所述之觸控位置的計算方 法,其中在該多點觸控模式中,當該些第二感測軸線 中有兩條被觸控時,則第tl次掃描時就被觸控的一者用以 疋義該第一觸控位置,另一者用以定義該第二觸控位置。 12·如申请專利範圍第3項所述之觸控位置的計曾方 法,其中在該多點觸控模式中,當該些第一感測軸線"沿 中只有一條被觸控時,被觸控的該條第一感測軸線沿用以1 定義該第一觸控位置以及該第二觸控位置在該第— 鲁 的座標。 句上 13.如申請專利範圍第3項所述之觸控位置的計算 法’其中在該多點觸控模式巾,當該些第二感測轴線 中只有-條被觸控時,被觸控的該條第二感測轴線 J :二第一觸控位置以及該第二觸控位置在該第二方向: 22 201120711 J1-C400-0910 31627twf.doc/n 14.如申請專利範圍第3項所述之觸控位置的計算方 法,更包括將該第一觸控位置P1的座標(XI,Y1)與該第 二觸控位置P2的座標(X2,Y2)依據該觸控面板的一解析 度換算成對應的一第一解析度座標(ΧΓ,ΥΓ)以及一第二 解析度座標(X2’,Y2’)並輸出。And q is an order in which the second sensing axis xi and the second sensing axis Yj of the second touch position are defined. 4. The calculation of the touch position according to claim 3, wherein the first reference value NTxi(1) is the number of the first sensing axes % from the first scan to the t-1 scan The first capacitance signal ^χκυ~〇0 (called an average value, a maximum value or a minimum value. 5. The calculation of the touch position as described in the third application of the patent scope: .r:w which is the first A reference value NTxi (t factory for service = (1 ~ α) 一 1 2) + axCW i) (Equation 7), NTxi (1) is Cxi (1) and a is between 〇 and 1. 6. The method for calculating the touch position as described in item 5 of the scope of the patent application, wherein a is 〇.〇5. ° The calculation of the touch position as described in item 3 of the patent application scope, 'the second second reference value NTyj(1) is the time when the second sensing axis 'scans from the first person to the tith scan The second capacitance signal Cyki} - the average value, a maximum value or a minimum value. 201120711 wr^eui-^400-0910 31627twf.doc/n 8. The calculation method of the touch position as described in claim 3, wherein the second reference value NTyKt) is ^Tyj{t) = (1) -α) XNTyj(t - 2) -1 + ax Cyj{t -1) (Equation 8), NTyj(l) is CYj(1) and α is between 〇1. 9. For the calculation method of the touch position as described in the patent scope, 8th, where α is 0.05. 10. The method for calculating a touch position as described in claim 3, wherein in the multi-touch mode, when two of the first sensing axes xi are touched, then When the ti scan is performed, one of the touches is used to define the first touch position, and the other is used to define the second touch position. 11. The method for calculating a touch position according to claim 3, wherein in the multi-touch mode, when two of the second sensing axes are touched, the first time is tl One of the touches is used to distinguish the first touch position and the other is used to define the second touch position. 12. The method according to claim 3, wherein in the multi-touch mode, when only one of the first sensing axes & touches is touched, The first sensing axis of the touch is used to define the first touch position and the second touch position at the coordinates of the first touch. Clause 13. The calculation method of the touch position as described in claim 3, wherein in the multi-touch mode towel, when only one of the second sensing axes is touched, The second sensing axis J of the touch is: the first touch position and the second touch position are in the second direction: 22 201120711 J1-C400-0910 31627twf.doc/n 14. The method for calculating the touch position according to the third item further includes: the coordinates (XI, Y1) of the first touch position P1 and the coordinates (X2, Y2) of the second touch position P2 according to the touch panel. One resolution is converted into a corresponding first resolution coordinate (ΧΓ, ΥΓ) and a second resolution coordinate (X2', Y2') and output. 23twenty three
TW98141778A 2009-12-07 2009-12-07 Calculation method of touch position TW201120711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98141778A TW201120711A (en) 2009-12-07 2009-12-07 Calculation method of touch position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98141778A TW201120711A (en) 2009-12-07 2009-12-07 Calculation method of touch position

Publications (1)

Publication Number Publication Date
TW201120711A true TW201120711A (en) 2011-06-16

Family

ID=45045275

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98141778A TW201120711A (en) 2009-12-07 2009-12-07 Calculation method of touch position

Country Status (1)

Country Link
TW (1) TW201120711A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI461987B (en) * 2012-12-07 2014-11-21 Elan Microelectronics Corp Detecting method for a touch device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI461987B (en) * 2012-12-07 2014-11-21 Elan Microelectronics Corp Detecting method for a touch device

Similar Documents

Publication Publication Date Title
US10234992B2 (en) Force-sensitive touch sensor compensation
JP4955116B1 (en) Touch panel system and electronic device
TWI467423B (en) Touch detection method
CN101689080B (en) Device for touch sensor and related device and method
JP5389888B2 (en) Touch panel system and electronic device
US8564546B1 (en) Multiple touch resolve
EP2749996B1 (en) Electronic device and method for improving accuracy of location determination of a user input on a touch panel
TWI590134B (en) Scan method of a touch panel
TW201037584A (en) Posistion apparatus for touch device and posistion method thereof
CN101493742B (en) Touch control detecting method and capacitance touch control system
JP5281701B2 (en) Touch panel system and electronic device
US8654089B2 (en) Touch sensing circuit and touch sensing method
US20100141607A1 (en) Apparatus and method for recognizing multi touch point
CN102156562A (en) Object sensing device, touch sensing system and touch sensing method
JP5872670B2 (en) Touch panel system and electronic device
TWI475433B (en) Touch system for increasing a report rate and method for increasing a report rate of a touch system
TWI416396B (en) Touch point detecting method
TW201120711A (en) Calculation method of touch position
TW201533624A (en) Touch panel and sensing method thereof
TWI443555B (en) Flexible touch sensing film, flexible touch display and sensing method
TWI460626B (en) Touch control electronic device and calibration method of trajectory
JP5663104B2 (en) Touch panel system and electronic device
TWI507960B (en) Touch control system and coordinate correcting method thereof
TWI421755B (en) Touch panel and touching point detection method thereof
KR101585008B1 (en) Touch panel display and method for recognizing touch of the touch panel display