TWI880580B - Touch sensing device and signal processing method threeof - Google Patents
Touch sensing device and signal processing method threeof Download PDFInfo
- Publication number
- TWI880580B TWI880580B TW113101019A TW113101019A TWI880580B TW I880580 B TWI880580 B TW I880580B TW 113101019 A TW113101019 A TW 113101019A TW 113101019 A TW113101019 A TW 113101019A TW I880580 B TWI880580 B TW I880580B
- Authority
- TW
- Taiwan
- Prior art keywords
- touch
- data
- sensing device
- time intervals
- decoding
- Prior art date
Links
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
Description
本發明是關於一種觸控感測技術,且特別是關於一種觸控感測裝置及其訊號處理方法。 The present invention relates to a touch sensing technology, and in particular to a touch sensing device and a signal processing method thereof.
隨著觸控裝置的應用日漸廣泛,觸控感測的相關技術也變得愈趨重要。觸控裝置的觸控電容會對應的類比前端(analog front end,AFE)電路來進行觸控訊號的傳輸及調整。由於觸控電容數量眾多,AFE電路亦數量龐大,從而需要耗費大量驅動電流去驅動這些AFE電路。此外,觸控電容的觸控訊號會因分時傳輸的情形而使訊號偶爾會斷開傳輸,導致SNR下降。無法持續傳輸至AFE,使得觸感測裝置的訊號雜訊比(Signal-to-noise ratio,SNR)無法提升。 As the application of touch devices becomes more and more widespread, the related technologies of touch sensing are becoming more and more important. The touch capacitor of the touch device will correspond to the analog front end (AFE) circuit to transmit and adjust the touch signal. Due to the large number of touch capacitors, the number of AFE circuits is also large, which requires a large amount of drive current to drive these AFE circuits. In addition, the touch signal of the touch capacitor will occasionally disconnect the signal due to the time-sharing transmission, resulting in a decrease in SNR. It cannot be continuously transmitted to the AFE, so the signal-to-noise ratio (SNR) of the touch sensing device cannot be improved.
本發明提供一種觸感測裝置及其訊號處理方法,可使觸感測裝置有效降低驅動電流,並維持甚至提升SNR。 The present invention provides a touch sensing device and a signal processing method thereof, which can effectively reduce the driving current of the touch sensing device and maintain or even improve the SNR.
本發明的觸控感測裝置包括編碼器、類比前端電路、解碼器以及多個電容觸控單元。多個電容觸控單元以自電容感測模式對應產生多個觸控訊號。編碼器耦接上述多個電容觸控單元,在多個時間區間的每一時間區間中對多個觸控訊號進行編碼,以產生對應的編碼資料。類比前端電路耦接編碼器,將多個時間區間產生的多個編碼資料的分別轉換為對應的數位資料。解碼器耦接類比前端電路,根據解碼矩陣對上述的數位資料進行解碼,以產生解碼陣列。解碼陣列的多個子陣列以等比例對應上述多個觸控訊號。 The touch sensing device of the present invention includes an encoder, an analog front-end circuit, a decoder, and a plurality of capacitive touch units. The plurality of capacitive touch units generate a plurality of touch signals in a self-capacitive sensing mode. The encoder is coupled to the plurality of capacitive touch units, and encodes the plurality of touch signals in each of a plurality of time intervals to generate corresponding encoded data. The analog front-end circuit is coupled to the encoder, and converts the plurality of encoded data generated in the plurality of time intervals into corresponding digital data. The decoder is coupled to the analog front-end circuit, and decodes the digital data according to a decoding matrix to generate a decoding array. The plurality of sub-arrays of the decoding array correspond to the plurality of touch signals in equal proportions.
本發明的訊號處理方法包括:提供多個電容觸控單元,以自電容感測模式對應產生多個觸控訊號;在多個時間區間的每一時間區間中,對上述多個觸控訊號編碼以產生對應的編碼資料;將各個編碼資料的分別轉換為對應的數位資料;並且,根據解碼矩陣對多個時間區間產生的多個數位資料進行解碼,以產生解碼陣列。解碼陣列的多個子陣列以等比例對應上述多個觸控訊號。 The signal processing method of the present invention includes: providing multiple capacitive touch units to generate multiple touch signals in a self-capacitive sensing mode; encoding the multiple touch signals in each of multiple time intervals to generate corresponding coded data; converting each coded data into corresponding digital data; and decoding the multiple digital data generated in multiple time intervals according to a decoding matrix to generate a decoding array. The multiple sub-arrays of the decoding array correspond to the multiple touch signals in equal proportions.
基於上述,本發明實施例的觸控感測裝置利用編碼器使多個觸控單元的觸控訊號在多個時間區間中進行編碼,因此減少了類比前端電路的需求數量,進而降低用於驅動類比前端電路的驅動電流。此外,本發明實施例亦可有效維持或提升觸控感測裝置的SNR。 Based on the above, the touch sensing device of the embodiment of the present invention uses an encoder to encode the touch signals of multiple touch units in multiple time intervals, thereby reducing the required number of analog front-end circuits and further reducing the driving current used to drive the analog front-end circuits. In addition, the embodiment of the present invention can also effectively maintain or improve the SNR of the touch sensing device.
100、400、500、501:觸控感測裝置 100, 400, 500, 501: Touch sensor device
CTU_1~CTU_n:電容觸控單元 CTU_1~CTU_n: Capacitive touch unit
110、410、510、511:編碼器 110, 410, 510, 511: encoder
120、420、520、521:類比前端電路 120, 420, 520, 521: Analog front-end circuit
130、630、531:解碼器 130, 630, 531: Decoder
C1~Cn:觸控訊號 C1~Cn: touch signal
CD_1~CD_n:編碼資料 CD_1~CD_n: encoding data
DD_1~DD_n:數位資料 DD_1~DD_n: digital data
T1~T7:時間區間 T1~T7: Time period
DMAX_1、DMAX_2、DMAX_3:解碼矩陣 DMAX_1, DMAX_2, DMAX_3: decoding matrix
MU1:多工器 MU1: Multiplexer
AC1:運算電路 AC1: Operational circuit
CA1、CA2、CA3、CA4:電容 CA1, CA2, CA3, CA4: Capacitors
R1、R2、R3、R4:電阻 R1, R2, R3, R4: resistors
VR1、VR2、VR3、VR4:可變電阻 VR1, VR2, VR3, VR4: variable resistors
OPA1、OPA2:運算放大器 OPA1, OPA2: Operational amplifiers
TCLK:時脈 TCLK: clock
DAT1、DAT2:運算資料 DAT1, DAT2: Calculation data
PNL1、PNL2:面板 PNL1, PNL2: Panel
CHP1、CHP2:晶片 CHP1, CHP2: Chip
S602、S604、S606:步驟 S602, S604, S606: Steps
圖1繪示本發明一實施例的觸控感測裝置的電路示意圖。 FIG1 shows a circuit diagram of a touch sensing device according to an embodiment of the present invention.
圖2繪示本發明一實施例的觸控感測裝置的操作示意圖。 Figure 2 shows a schematic diagram of the operation of a touch sensing device according to an embodiment of the present invention.
圖3A繪示本發明一實施例的觸控感測裝置的操作示意圖。 FIG3A is a schematic diagram showing the operation of a touch sensing device according to an embodiment of the present invention.
圖3B繪示本發明一實施例的觸控感測裝置的電路示意圖。 FIG3B shows a circuit diagram of a touch sensing device according to an embodiment of the present invention.
圖4繪示本發明一實施例的觸控感測裝置中的編碼器及類比前端電路的電路示意圖。 FIG4 is a circuit diagram of an encoder and an analog front-end circuit in a touch sensing device according to an embodiment of the present invention.
圖5A繪示本發明一實施例的觸控感測裝置的元件配置圖。 FIG5A shows a component configuration diagram of a touch sensing device according to an embodiment of the present invention.
圖5B繪示本發明另一實施例的觸控感測裝置的元件配置圖。 FIG5B shows a component configuration diagram of a touch sensing device of another embodiment of the present invention.
圖6繪示本發明一實施例的訊號處理方法的流程圖。 FIG6 shows a flow chart of a signal processing method according to an embodiment of the present invention.
請參照圖1,圖1繪示本發明一實施例的觸控感測裝置的電路示意圖。觸控感測裝置100包括電容觸控單元CTU_1~CTU_n、編碼器110、類比前端電路120以及解碼器130。編碼器110可耦接電容觸控單元CTU_1~CTU_n,類比前端電路120可耦接編碼器110,解碼器130則可耦接類比前端電路120。本實施例的電容觸控單元CTU_1~CTU_n皆可為自電容(self-capacitance)觸控感測裝置。
Please refer to FIG. 1, which shows a circuit diagram of a touch sensing device of an embodiment of the present invention. The
電容觸控單元CTU_1~CTU_n中每一者可對應產生觸控訊號C1~Cn。在多個時間區間的每一者中,編碼器110可持續接收觸控訊號C1~Cn並對觸控訊號C1~Cn編碼,以產生一個編碼資料。換句話說,編碼器110可在多個時間區間的每一者中分別產
生編碼資料CD_1~CD_n。類比前端電路120可將類比訊號轉換為數位訊號,即類比前端電路120可接收編碼資料CD_1~CD_n,並將編碼資料CD_1~CD_n轉換為數位資料DD_1~DD_n。解碼器130可接收數位資料DD_1~DD_n,並根據解碼矩陣對數位資料DD_1~DD_n解碼,以產生解碼陣列。
Each of the capacitive touch units CTU_1~CTU_n may generate a touch signal C1~Cn correspondingly. In each of the multiple time intervals, the
在本實施例中,觸控訊號C1~Cn為類比訊號,編碼資料CD_1~CD_n亦為類比訊號,數位資料DD_1~DD_n則為數位訊號。 In this embodiment, the touch signals C1~Cn are analog signals, the coded data CD_1~CD_n are also analog signals, and the digital data DD_1~DD_n are digital signals.
解碼陣列的多個子陣列可對應觸控訊號C1~Cn。若將觸控訊號C1~Cn由類比訊號轉換數位訊號,該些數位訊號即可對應解碼陣列中的多個子陣列的數值。 The multiple sub-arrays of the decoding array can correspond to the touch signals C1~Cn. If the touch signals C1~Cn are converted from analog signals to digital signals, these digital signals can correspond to the values of the multiple sub-arrays in the decoding array.
在本實施例中,觸控感測裝置100僅以一個類比前端電路便可對多個電容觸控單元進行編碼和解碼,使觸控感測裝置100用來驅動類比前端電路的驅動電流得以降低。此外,編碼器110可在多個時間區間中持續接收觸控訊號C1~Cn,使得觸控感測裝置100接收觸控訊號C1~Cn的時間增長,進而使觸控感測裝置100的SNR提升。
In this embodiment, the
請參照圖2。圖2繪示本發明一實施例的觸控感測裝置的操作示意圖。在圖2中,本實施例的觸控感測裝置包括電容觸控單元CTU_1~CTU_4、編碼器210、類比前端電路220以及解碼器230。編碼器210可耦接電容觸控單元CTU_1~CTU_4,類比前端電路220可耦接編碼器210,解碼器230則可耦接類比前端電路220。本實施例的電容觸控單元CTU_1~CTU_4可採用2x2的矩陣
式排列、一直行、一橫列或其他排列方式。本發明實施例不限制這些電容觸控單元的排列。
Please refer to FIG. 2. FIG. 2 is a schematic diagram of the operation of a touch sensing device of an embodiment of the present invention. In FIG. 2, the touch sensing device of the present embodiment includes capacitive touch units CTU_1~CTU_4, an
在本實施例中,編碼器210可接收觸控訊號C1~C4,並且,編碼器210可根據觸控訊號C1~C4在時間區間T1~T4中分別產生編碼資料CD_1~CD_4。類比前端電路220可在時間區間T1~T4中分別將編碼資料CD_1~CD_4轉換為數位資料DD_1~DD_4。解碼器230可接收數位資料DD_1~DD_4,並且解碼器230具有解碼矩陣DMAX_1。圖2中僅具備一個觸控感測裝置,但因方便描述在時間區間T1~T4中此觸控感測裝置的操作方式,因此在圖2中分別繪示時間區間T1~T4分別對應的觸控感測裝置作為示意圖。
In this embodiment, the
在時間區間T1中,編碼器210可接收觸控訊號C1~C4以產生編碼資料CD_1,並由類比前端電路220將編碼資料CD_1轉換為數位資料DD_1。在時間區間T2中,編碼器210可接收觸控訊號C1~C4以產生編碼資料CD_2,並由類比前端電路220將編碼資料CD_2轉換為數位資料DD_2。在時間區間T3中,編碼器210可接收觸控訊號C1~C4以產生編碼資料CD_3,並由類比前端電路220將編碼資料CD_3轉換為數位資料DD_3。在時間區間T4中,編碼器210可接收觸控訊號C1~C4以產生編碼資料CD_4,並由類比前端電路220將編碼資料CD_4轉換為數位資料DD_4。
In the time interval T1, the
在本實施例的時間區間T1~T4中,電容觸控單元CTU_1~CTU_4可耦接到編碼器210的輸入端。編碼器210的輸出
端可耦接到類比前端電路220的輸入端,使類比前端電路220得到數位資料DD_1~DD_4。在時間區間T1中,電容觸控單元CTU_1耦接至編碼器210的反相輸入端,電容觸控單元CTU_2、CTU_3、CTU_4耦接至編碼器210的非反相輸入端。在時間區間T2中,電容觸控單元CTU_2耦接至編碼器210的反相輸入端,電容觸控單元CTU_1、CTU_3、CTU_4耦接至編碼器210的非反相輸入端。在時間區間T3中,電容觸控單元CTU_3耦接至編碼器210的反相輸入端,電容觸控單元CTU_1、CTU_2、CTU_4耦接至編碼器210的非反相輸入端。在時間區間T4中,電容觸控單元CTU_4耦接至編碼器210的反相輸入端,電容觸控單元CTU_1、CTU_2、CTU_3耦接至編碼器210的非反相輸入端,再透過類比前端電路220將編碼資料CD_1~CD_4轉換為數位資料DD_1~DD_4,如下述所示:DD_1=-C1+C2+C3+C4
In the time interval T1-T4 of the present embodiment, the capacitive touch units CTU_1-CTU_4 can be coupled to the input end of the
DD_2=C1-C2+C3+C4 DD_2=C1-C2+C3+C4
DD_3=C1+C2-C3+C4 DD_3=C1+C2-C3+C4
DD_4=C1+C2+C3-C4 DD_4=C1+C2+C3-C4
時間區間T4後,解碼器230接收完數位資料DD_1~DD_4。解碼器230具有解碼矩陣DMAX_1,並且解碼器230可使解碼矩陣DMAX_1根據編碼資料DD_1~DD_4進行設定。也因此,解碼器230可利用解碼矩陣DMAX_1對數位資料DD_1~DD_4進行解碼(即數位資料DD_1~DD_4和解碼矩陣DMAX_1進行內積運算)
而產生解碼陣列。解碼矩陣DMAX_1的內容和本實施例的解碼公式如下述所示。
After time period T4,
由上述公式可知,解碼器230在執行解碼之後,解碼陣列的運算結果為。觸控訊號C1~C4的數位訊號值以等比例明確對應到解碼陣列中運算結果的子陣列[4C1]、[4C2]、[4C3]以及[4C4],因此可透過此方法得到觸控訊號C1~C4的數值以判斷是否有觸控發生。
From the above formula, it can be seen that after the
另一實施例,在時間區間T1中,編碼器的非反相輸入端可接收觸控訊號C1~C4,編碼器的反相輸入端不接收訊號。在時間區間T2中,編碼器的非反相輸入端可接收觸控訊號C1、C3,編碼器的反相輸入端可接收觸控訊號C2、C4。在時間區間T3中,編碼器的非反相輸入端可接收觸控訊號C1、C2,編碼器的反相輸入端可接收觸控訊號C3、C4。在時間區間T4中,編碼器的非反相輸入端可接收觸控訊號C1、C4,編碼器的反相輸入端可接收觸控訊號C2、C3。在本實施例中,時間區間T1~T4產生的數位資料DD_1~DD_4如下所示: DD_1=C1+C2+C3+C4 In another embodiment, in the time interval T1, the non-inverting input terminal of the encoder can receive the touch signals C1~C4, and the inverting input terminal of the encoder does not receive any signal. In the time interval T2, the non-inverting input terminal of the encoder can receive the touch signals C1 and C3, and the inverting input terminal of the encoder can receive the touch signals C2 and C4. In the time interval T3, the non-inverting input terminal of the encoder can receive the touch signals C1 and C2, and the inverting input terminal of the encoder can receive the touch signals C3 and C4. In the time interval T4, the non-inverting input terminal of the encoder can receive the touch signals C1 and C4, and the inverting input terminal of the encoder can receive the touch signals C2 and C3. In this embodiment, the digital data DD_1~DD_4 generated in the time interval T1~T4 are as follows: DD_1=C1+C2+C3+C4
DD_2=C1-C2+C3-C4 DD_2=C1-C2+C3-C4
DD_3=C1+C2-C3-C4 DD_3=C1+C2-C3-C4
DD_4=C1-C2-C3+C4 DD_4=C1-C2-C3+C4
在時間區間T4後,本實施例的解碼器接收完數位資料DD_1~DD_4,並且解碼器可使解碼矩陣DMAX_2根據編碼資料DD_1~DD_4進行設定。解碼器可利用解碼矩陣DMAX_2對數位資料DD_1~DD_4進行解碼(即數位資料DD_1~DD_4和解碼矩陣DMAX_2進行內積運算)而產生解碼陣列。解碼矩陣DMAX_2的內容和本實施例的解碼公式如下述所示。 After the time period T4, the decoder of this embodiment receives the digital data DD_1~DD_4, and the decoder can set the decoding matrix DMAX_2 according to the coded data DD_1~DD_4. The decoder can use the decoding matrix DMAX_2 to decode the digital data DD_1~DD_4 (i.e., the digital data DD_1~DD_4 and the decoding matrix DMAX_2 perform an inner product operation) to generate a decoding array. The content of the decoding matrix DMAX_2 and the decoding formula of this embodiment are shown below.
由上述公式可知,本實施例的解碼器在執行解碼之後,解碼陣列的內容為。若將觸控訊號C1~C4由類比訊號轉換為數位訊號,觸控訊號C1~C4的數位訊號值可明確對應到解碼陣列中的子陣列[4C1]、[4C2]、[4C3]以及[4C4],因此可透過此方法得到觸控訊號C1~C4的數值以判斷是否有觸控發生。 From the above formula, it can be seen that after the decoder of this embodiment performs decoding, the content of the decoded array is If the touch signals C1~C4 are converted from analog signals to digital signals, the digital signal values of the touch signals C1~C4 can be clearly corresponded to the sub-arrays [4C1], [4C2], [4C3] and [4C4] in the decoding array. Therefore, the values of the touch signals C1~C4 can be obtained by this method to determine whether a touch occurs.
請參照圖3A。圖3A繪示本發明一實施例的觸控感測裝 置的操作示意圖。在圖3A中,觸控感測裝置包括4個電容觸控單元。編碼器可經由非反相輸入端和反相輸入端接收觸控訊號C1~C4,並且,編碼器可根據觸控訊號C1~C4在時間區間T1~T4中分別產生編碼資料CD_1~CD_4。類比前端電路可在時間區間T1~T4中分別將編碼資料CD_1~CD_4轉換為數位資料DD_1~DD_4。解碼器可接收數位資料DD_1~DD_4,並且包含解碼矩陣DMAX_2。圖3A的觸控感測裝置的電路細節可參照圖1的實施例內容。 Please refer to FIG. 3A. FIG. 3A is a schematic diagram of the operation of a touch sensing device according to an embodiment of the present invention. In FIG. 3A, the touch sensing device includes four capacitive touch units. The encoder can receive touch signals C1-C4 via a non-inverting input terminal and an inverting input terminal, and the encoder can generate coded data CD_1-CD_4 in a time interval T1-T4 according to the touch signals C1-C4. The analog front-end circuit can convert the coded data CD_1-CD_4 into digital data DD_1-DD_4 in a time interval T1-T4. The decoder can receive the digital data DD_1-DD_4 and includes a decoding matrix DMAX_2. The circuit details of the touch sensing device in FIG3A can refer to the embodiment in FIG1.
請參照圖3B。圖3B繪示本發明一實施例的觸控感測裝置的操作示意圖。在圖3B中,觸控感測裝置包括7個電容觸控單元。編碼器可經由非反相輸入端和反相輸入端接收觸控訊號C1~C7,並且,編碼器可根據觸控訊號C1~C7在時間區間T1~T7中分別產生編碼資料CD_1~CD_7。類比前端電路可在時間區間T1~T7中分別將編碼資料CD_1~CD_7轉換為數位資料DD_1~DD_7。解碼器可接收數位資料DD_1~DD_7,並且包含解碼矩陣DMAX_3。圖3B的觸控感測裝置的電路細節可參照圖1的實施例內容。 Please refer to Figure 3B. Figure 3B shows an operation schematic diagram of a touch sensing device of an embodiment of the present invention. In Figure 3B, the touch sensing device includes 7 capacitive touch units. The encoder can receive touch signals C1~C7 through a non-inverting input terminal and an inverting input terminal, and the encoder can generate coded data CD_1~CD_7 in a time interval T1~T7 according to the touch signals C1~C7. The analog front-end circuit can convert the coded data CD_1~CD_7 into digital data DD_1~DD_7 in a time interval T1~T7. The decoder can receive digital data DD_1~DD_7 and includes a decoding matrix DMAX_3. The circuit details of the touch sensing device in FIG3B can refer to the embodiment of FIG1.
在此以時間區間T1及前述編碼資料CD_1、數位資料DD_1作為舉例說明前述公式與編碼器的操作。在時間區間T1中,前述關於編碼資料CD_1的公式中C1、C2、C3、C6的符號為”+”,因此編碼器的非反相輸入端接收觸控訊號C1、C2、C3、C6。前述關於編碼資料CD_1的公式中C1、C2、C3、C6的符號為”-”,因此編碼 器的反相輸入端接收觸控訊號C4、C5、C7。依此類推,在時間區間T2中,編碼器的非反相輸入端接收觸控訊號C1、C2、C5、C7,編碼器的反相輸入端接收觸控訊號C3、C4、C6,在本實施例中,時間區間T1~T7中產生的數位資料DD_1~DD_7如下所示:DD_1=C1+C2+C3-C4-C5+C6-C7 Here, the time interval T1 and the aforementioned coded data CD_1 and digital data DD_1 are used as examples to illustrate the aforementioned formula and the operation of the encoder. In the time interval T1, the symbols of C1, C2, C3, and C6 in the aforementioned formula for the coded data CD_1 are "+", so the non-inverting input terminal of the encoder receives the touch signals C1, C2, C3, and C6. The symbols of C1, C2, C3, and C6 in the aforementioned formula for the coded data CD_1 are "-", so the inverting input terminal of the encoder receives the touch signals C4, C5, and C7. Similarly, in the time interval T2, the non-inverting input end of the encoder receives the touch signals C1, C2, C5, and C7, and the inverting input end of the encoder receives the touch signals C3, C4, and C6. In this embodiment, the digital data DD_1 to DD_7 generated in the time interval T1 to T7 are as follows: DD_1 = C1 + C2 + C3-C4-C5 + C6-C7
DD_2=C1+C2-C3-C4+C5-C6+C7 DD_2=C1+C2-C3-C4+C5-C6+C7
DD_3=C1-C2-C3+C4-C5+C6+C7 DD_3=C1-C2-C3+C4-C5+C6+C7
DD_4=-C1-C2+C3-C4+C5+C6+C7 DD_4=-C1-C2+C3-C4+C5+C6+C7
DD_5=-C1+C2-C3+C4+C5+C6-C7 DD_5=-C1+C2-C3+C4+C5+C6-C7
DD_6=C1-C2+C3+C4+C5-C6-C7 DD_6=C1-C2+C3+C4+C5-C6-C7
DD_7=-C1+C2+C3+C4-C5-C6+C7 DD_7=-C1+C2+C3+C4-C5-C6+C7
時間區間T7後,本實施例的解碼器接收完數位資料DD_1~DD_7,並且解碼器可使解碼矩陣DMAX_3根據編碼資料DD_1~DD_7進行設定。解碼器可利用解碼矩陣DMAX_3對數位資料DD_1~DD_7進行解碼(即數位資料DD_1~DD_7和解碼矩陣DMAX_3進行內積運算)而產生解碼陣列。解碼矩陣DMAX_3的內容和本實施例的解碼公式如下述所示。 After time period T7, the decoder of this embodiment receives the digital data DD_1~DD_7, and the decoder can set the decoding matrix DMAX_3 according to the coded data DD_1~DD_7. The decoder can use the decoding matrix DMAX_3 to decode the digital data DD_1~DD_7 (i.e., the digital data DD_1~DD_7 and the decoding matrix DMAX_3 perform inner product operations) to generate a decoded array. The content of the decoding matrix DMAX_3 and the decoding formula of this embodiment are shown below.
[(C1+C2+C3-C4-C5+C6-C7)(C1+C2-C3-C4+C5-C6+C7)(C1-C2-C3+C4-C5+C6+C7)(-C1-C2+C3-C4+C5+
由上述公式可知,本實施例的解碼器在執行解碼之後,解碼陣列的內容為。若將觸控訊號C1~C7皆由類比訊號轉換為數位訊號,觸控訊號C1~C7的數位訊號值便可以明確對應到解碼陣列中的子陣列[7C1]、[7C2]、[7C3]、[7C4]、[7C5]、[7C6]以及[7C7],因此可透過此方法得到觸控訊號C1~C7的數值以判斷是否有觸控發生。 From the above formula, it can be seen that after the decoder of this embodiment performs decoding, the content of the decoded array is If the touch signals C1~C7 are converted from analog signals to digital signals, the digital signal values of the touch signals C1~C7 can be clearly corresponded to the sub-arrays [7C1], [7C2], [7C3], [7C4], [7C5], [7C6] and [7C7] in the decoding array. Therefore, the values of the touch signals C1~C7 can be obtained by this method to determine whether a touch occurs.
請參照圖4。圖4繪示本發明一實施例的觸控感測裝置中的編碼器及類比前端電路的電路示意圖。在本實施例中,編碼器410可從多個電容觸控單元接收觸控訊號C1~Cn,以產生多個編碼資料。類比前端電路420可耦接編碼器410,以接收所述多個編碼資料。圖4的觸控感測裝置400的電路細節可參照圖1的實施例內容。
Please refer to FIG. 4. FIG. 4 shows a circuit diagram of an encoder and an analog front-end circuit in a touch sensing device of an embodiment of the present invention. In this embodiment, the
編碼器410包括多工器MU1和運算電路AC1。運算電路AC1更包括電容CA1~CA2、電阻R1~R2、可變電阻VR1~VR4以
及運算放大器OPA1。類比前端電路420包括電容CA3~CA4、電阻R3~R4以及運算放大器OPA2。
The
在本實施例中,多工器MU1可接收觸控訊號C1~Cn以及時脈TCLK,並根據觸控訊號C1~Cn以及時脈TCLK在多個時間區間的每一者中將觸控訊號耦接至運算電路AC1產生對應的運算資料DAT1或運算資料DAT2。 In this embodiment, the multiplexer MU1 can receive the touch signals C1~Cn and the clock TCLK, and couple the touch signals to the operation circuit AC1 in each of a plurality of time intervals according to the touch signals C1~Cn and the clock TCLK to generate corresponding operation data DAT1 or operation data DAT2.
在本實施例的運算電路AC1中,電容CA1的第一端和電阻R1的第一端可在多個時間區間的每一者中從多工器MU1接收對應的運算資料DAT1,電容CA1的第二端和電阻R1的第二端可耦接至運算放大器OPA1的第一輸入端(反相輸入端)。電容CA2的第二端和電阻R2的第二端可在多個時間區間的每一者中從多工器MU1接收對應的運算資料DAT2,電容CA2的第一端和電阻R2的第一端可耦接至運算放大器OPA1的第一輸入端(反相輸入端)。運算放大器OPA1的第二輸入端(非反相輸入端)可接收時脈TCLK。運算放大器OPA1的輸出端可耦接至可變電阻VR1、VR2的第一端。可變電阻VR1的第二端可耦接至運算電路AC1的第一輸出端。可變電阻VR2的第二端可耦接至運算電路AC1的第二輸出端。可變電阻VR3的第一端可接收運算資料DAT1,可變電阻VR3的第二端可耦接至運算電路AC1的第一輸出端。可變電阻VR4的第一端可接收運算資料DAT2,可變電阻VR4的第二端可耦接至運算電路AC1的第二輸出端。 In the operational circuit AC1 of the present embodiment, the first end of the capacitor CA1 and the first end of the resistor R1 can receive the corresponding operational data DAT1 from the multiplexer MU1 in each of the multiple time intervals, and the second end of the capacitor CA1 and the second end of the resistor R1 can be coupled to the first input end (inverting input end) of the operational amplifier OPA1. The second end of the capacitor CA2 and the second end of the resistor R2 can receive the corresponding operational data DAT2 from the multiplexer MU1 in each of the multiple time intervals, and the first end of the capacitor CA2 and the first end of the resistor R2 can be coupled to the first input end (inverting input end) of the operational amplifier OPA1. The second input end (non-inverting input end) of the operational amplifier OPA1 can receive the clock TCLK. The output end of the operational amplifier OPA1 can be coupled to the first ends of the variable resistors VR1 and VR2. The second end of the variable resistor VR1 can be coupled to the first output end of the operational circuit AC1. The second end of the variable resistor VR2 can be coupled to the second output end of the operation circuit AC1. The first end of the variable resistor VR3 can receive the operation data DAT1, and the second end of the variable resistor VR3 can be coupled to the first output end of the operation circuit AC1. The first end of the variable resistor VR4 can receive the operation data DAT2, and the second end of the variable resistor VR4 can be coupled to the second output end of the operation circuit AC1.
在類比前端電路420中,運算放大器OPA2的第一輸入
端(反相輸入端)可耦接運算電路AC1的第一輸出端,運算放大器OPA2的第二輸入端(非反相輸入端)可耦接運算電路AC1的第二輸出端。電阻R3和電容CA3皆可設置於運算放大器OPA2的第一輸入端(反相輸入端)及第一輸出端(非反相輸出端)之間。電阻R4和電容CA4皆可設置於運算放大器OPA2的第二輸入端(非反相輸入端)及第二輸出端(反相輸出端)之間。
In the analog front-
在編碼器410的編碼動作的操作細節上,多工器MU1可根據時脈TCLK設置多個時間區間。在多個時間區間的每一者中,多工器MU1可接收觸控訊號C1~Cn耦接至運算電路AC1以產生運算資料DAT1或運算資料DAT2,運算資料DAT1為正(即產生+Cn資料),運算資料DAT2為負(即產生-Cn資料)。多個時間區間後運算電路AC1可得出編碼資料CD_1~CD_n。
In the operation details of the encoding action of the
請同時參照圖2及圖4,圖4的編碼器410可用於揭露圖2的編碼器210的內部元件,圖2的實施例可用於揭露圖4的觸控感測裝置400在時間區間T1~T4的運作方式。在本實施例中,編碼器410的多工器MU1可接收觸控訊號C1~C4。在時間區間T1中,多工器MU1可根據觸控訊號C2~C4耦接至運算電路AC1產生運算資料DAT1,多工器MU1可根據觸控訊號C1耦接至運算電路AC1產生運算資料DAT2。。在時間區間T2中,多工器MU1可根據觸控訊號C1、C3、C4耦接至運算電路AC1產生運算資料DAT1,多工器MU1可根據觸控訊號C2耦接至運算電路AC1產生運算資料DAT2。在時間區間T3、T4中,編碼器410得以此
類推產生運算資料,再透過類比前端電路420將編碼資料CD_1~CD_4轉換為數位資料DD_1~DD_4,如下述所示:DD_1=-C1+C2+C3+C4
Please refer to FIG. 2 and FIG. 4 at the same time. The
DD_2=C1-C2+C3+C4 DD_2=C1-C2+C3+C4
DD_3=C1+C2-C3+C4 DD_3=C1+C2-C3+C4
DD_4=C1+C2+C3-C4 DD_4=C1+C2+C3-C4
請參照圖5A及圖5B。圖5A繪示本發明一實施例的觸控感測裝置的元件配置圖。圖5B繪示本發明另一實施例的觸控感測裝置的元件配置圖。在圖5A的實施例中,類比前端電路520以及解碼器530可設置於晶片CHP1內,編碼器510設置於面板PNL1上且設置於晶片CHP1外。在圖5B的實施例中,編碼器511、類比前端電路521以及解碼器531可設置於晶片CHP2內。
Please refer to FIG. 5A and FIG. 5B. FIG. 5A shows a component configuration diagram of a touch sensing device of an embodiment of the present invention. FIG. 5B shows a component configuration diagram of a touch sensing device of another embodiment of the present invention. In the embodiment of FIG. 5A, the analog front-
參照圖6,圖6繪示本發明一實施例的訊號處理方法的流程圖。在步驟S602中,本實施例提供多個電容觸控單元,並以自電容感測模式使多個電容觸控單元對應產生多個觸控訊號。在步驟S604中,本實施例可在多個時間區間中對多個觸控訊號編碼,以在多個時間段的每一者中分別產生一編碼資料,並將各該編碼資料分別轉換為一數位資料。在步驟S606中,本實施例可根據解碼矩陣對多個時間區間中產生的多個數位資料進行解碼,以產生解碼陣列。上述解碼陣列的多個子陣列可對應多個觸控訊號。關於上述步驟的實施細節,在前述的多個實施例已有詳細的說明。 Referring to FIG. 6 , FIG. 6 is a flow chart of a signal processing method of an embodiment of the present invention. In step S602, the present embodiment provides a plurality of capacitive touch units, and uses a self-capacitive sensing mode to enable the plurality of capacitive touch units to generate a plurality of touch signals. In step S604, the present embodiment can encode a plurality of touch signals in a plurality of time intervals to generate a coded data in each of a plurality of time segments, and convert each of the coded data into a digital data. In step S606, the present embodiment can decode a plurality of digital data generated in a plurality of time intervals according to a decoding matrix to generate a decoding array. The plurality of sub-arrays of the above-mentioned decoding array can correspond to a plurality of touch signals. The implementation details of the above steps have been described in detail in the aforementioned multiple embodiments.
綜上所述,本發明的觸控感測裝置以自電容感測模式利 用編碼器使多個觸控單元的觸控訊號在多個時間區間中編碼,以產生多個編碼資料。因此,本發明的觸控感測裝置減少了類比前端電路的需求數量,進而降低了用於驅動類比前端電路的驅動電流。此外,由於本發明的觸控感測裝置係在多個時間區間持續接收上述多個觸控訊號,因此,本發明可有效提升觸控感測裝置的SNR。 In summary, the touch sensing device of the present invention uses a self-capacitive sensing mode to use an encoder to encode the touch signals of multiple touch units in multiple time intervals to generate multiple encoded data. Therefore, the touch sensing device of the present invention reduces the required number of analog front-end circuits, thereby reducing the driving current used to drive the analog front-end circuits. In addition, since the touch sensing device of the present invention continuously receives the above-mentioned multiple touch signals in multiple time intervals, the present invention can effectively improve the SNR of the touch sensing device.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed as above by the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of the attached patent application.
100:觸控感測裝置 100: Touch sensor device
CTU_1~CTU_n:電容觸控單元 CTU_1~CTU_n: Capacitive touch unit
110:編碼器 110: Encoder
120:類比前端電路 120: Analog front-end circuit
130:解碼器 130:Decoder
C1~Cn:觸控訊號 C1~Cn: touch signal
CD_1~CD_n:編碼資料 CD_1~CD_n: encoding data
DD_1~DD_n:數位資料 DD_1~DD_n: digital data
Claims (18)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113101019A TWI880580B (en) | 2024-01-10 | 2024-01-10 | Touch sensing device and signal processing method threeof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113101019A TWI880580B (en) | 2024-01-10 | 2024-01-10 | Touch sensing device and signal processing method threeof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI880580B true TWI880580B (en) | 2025-04-11 |
| TW202528908A TW202528908A (en) | 2025-07-16 |
Family
ID=96141696
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW113101019A TWI880580B (en) | 2024-01-10 | 2024-01-10 | Touch sensing device and signal processing method threeof |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI880580B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201519057A (en) * | 2013-11-15 | 2015-05-16 | Ili Technology Corp | Touch sensor and operating method thereof |
| TW201945912A (en) * | 2018-03-27 | 2019-12-01 | 美商賽納波狄克公司 | Methods and systems for display device multiplexing and demultiplexing |
| US20220155937A1 (en) * | 2020-11-18 | 2022-05-19 | Samsung Electronics Co., Ltd. | Touch controller, touch screen driving circuit comprising the same, and method of operating touch screen driving circuit |
-
2024
- 2024-01-10 TW TW113101019A patent/TWI880580B/en active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201519057A (en) * | 2013-11-15 | 2015-05-16 | Ili Technology Corp | Touch sensor and operating method thereof |
| TW201945912A (en) * | 2018-03-27 | 2019-12-01 | 美商賽納波狄克公司 | Methods and systems for display device multiplexing and demultiplexing |
| US20220155937A1 (en) * | 2020-11-18 | 2022-05-19 | Samsung Electronics Co., Ltd. | Touch controller, touch screen driving circuit comprising the same, and method of operating touch screen driving circuit |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202528908A (en) | 2025-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10453465B2 (en) | Systems and methods for compressing a digital signal | |
| US5832443A (en) | Method and apparatus for adaptive audio compression and decompression | |
| US20140301572A1 (en) | Systems and methods for compressing a digital signal in a digital microphone system | |
| JPH06343172A (en) | Motion vector detection method and motion vector encoding method | |
| US6871302B1 (en) | Method and device for interleaving and method and device for deinterleaving | |
| CN1288624C (en) | Perceptual noise substitution | |
| TWI880580B (en) | Touch sensing device and signal processing method threeof | |
| JP7443534B2 (en) | Audio encoding and decoding methods and audio encoding and decoding devices | |
| CN113465676B (en) | Double-stage Brillouin frequency shift extraction method | |
| WO2021143694A1 (en) | Method and device for encoding and decoding audio | |
| CN117850622A (en) | Touch sensing device and signal processing method thereof | |
| US6526532B1 (en) | Channel error correction apparatus and method | |
| MX2009001825A (en) | Method and apparatus for transferring digital data between circuits. | |
| CN109885173A (en) | A kind of noiseless exchange method and electronic equipment | |
| JP2002057729A5 (en) | ||
| WO2020076846A1 (en) | Digital transducer interface scrambling | |
| JP2023509201A (en) | Audio encoding and decoding method and audio encoding and decoding device | |
| CN105791850A (en) | Encoder and coding method thereof, and decoder and decoding method thereof | |
| CN115022771B (en) | Volume adjustment method, volume adjustment device, computer equipment and readable storage medium | |
| AU2018289986B2 (en) | Audio signal encoding and decoding | |
| US6353634B1 (en) | Video decoder using bi-orthogonal wavelet coding | |
| JPS6343483A (en) | Predictive coding method for television signals | |
| CN221575588U (en) | Digital microphone decoding device | |
| JP2006074075A (en) | Differential serial / digital output A / D conversion means and imaging apparatus | |
| CN114520655A (en) | Digital isolator and digital signal transmission method |