Movatterモバイル変換


[0]ホーム

URL:


TWI860139B - Noise suppression method for stylus and mobile device with stylus using the same - Google Patents

Noise suppression method for stylus and mobile device with stylus using the same
Download PDF

Info

Publication number
TWI860139B
TWI860139BTW112140754ATW112140754ATWI860139BTW I860139 BTWI860139 BTW I860139BTW 112140754 ATW112140754 ATW 112140754ATW 112140754 ATW112140754 ATW 112140754ATW I860139 BTWI860139 BTW I860139B
Authority
TW
Taiwan
Prior art keywords
signal
sampling
output
noise suppression
input port
Prior art date
Application number
TW112140754A
Other languages
Chinese (zh)
Other versions
TW202518243A (en
Inventor
蘇芳毅
Original Assignee
敦泰電子股份有限公司
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 敦泰電子股份有限公司filedCritical敦泰電子股份有限公司
Priority to TW112140754ApriorityCriticalpatent/TWI860139B/en
Application grantedgrantedCritical
Publication of TWI860139BpublicationCriticalpatent/TWI860139B/en
Publication of TW202518243ApublicationCriticalpatent/TW202518243A/en

Links

Images

Landscapes

Abstract

The present invention relates to a noise suppression method for stylus and a mobile device with stylus using the same. The method includes: sampling a touch sensing electrode to obtain a sampling signal; comparing the sampling signal to a sampling signal at a nearby time; outputting a first noise-suppression signal when the difference between the sampling signal and the sampling signal at the nearby time is greater than a threshold value, wherein the first noise-suppression signal is substantially equal to the sampling signal; and outputting a second noise-suppression signal when the difference between the sampling signal and the sampling signal at the nearby time is smaller than the threshold value, wherein the second noise-suppression signal is between the sampling signal and the sampling signal at the nearby time.

Description

Translated fromChinese
觸控筆的雜訊抑制方法以及使用其之具有觸控筆之行動裝置Noise suppression method for touch pen and mobile device with touch pen using the same

本發明涉及一種無線感測的技術,且特別是一種觸控筆的雜訊抑制方法以及使用其之具有觸控筆之行動裝置。The present invention relates to a wireless sensing technology, and in particular to a noise suppression method of a touch pen and a mobile device with a touch pen using the same.

觸控筆(stylus)是一種用於行動裝置或平板電腦的輸入設備,它的外型類似於傳統的筆或鉛筆,但具有特殊的設計,以便與觸控螢幕互動。觸控筆通常有一個較為尖銳的筆頭,允許使用者在螢幕上進行精確的點觸、繪畫、書寫或操作,而不需要使用手指。A stylus is an input device for mobile devices or tablet computers that looks like a traditional pen or pencil, but has a special design to interact with a touch screen. A stylus usually has a sharp tip that allows the user to accurately touch, draw, write or operate on the screen without using a finger.

觸控筆的設計和功能可以因不同裝置而異,但一般而言,觸控筆的工作原理是用電容式觸控技術配合調變後的數位化訊號,使其訊號內包含有關筆的位置、壓力、傾斜角度等信息。一旦觸控筆的訊號被傳輸到行動裝置,裝置上的觸控控制器(touch controller)會解碼這些訊號。觸控控制器會識別筆的位置、動作和其他相關信息,然後將其轉換為應用程序可以理解的數據。The design and functionality of a stylus can vary from device to device, but in general, a stylus works by using capacitive touch technology with a modulated digital signal that contains information about the pen's position, pressure, tilt angle, etc. Once the stylus's signals are transmitted to the mobile device, the touch controller on the device decodes the signals. The touch controller identifies the pen's position, movement, and other relevant information, and then converts it into data that the application can understand.

第1圖是先前技術的觸控筆系統的解碼電路之電路圖。請參考第1圖,此觸控筆系統的解碼電路包括觸控筆101以及觸控筆接收裝置102。觸控筆101即為訊號發射端,觸控筆接收裝置102則是接收端。觸控筆101(發射端)將傳輸資料經由相位偏移調變(PSK modulation)與加入的載波調變之後進行傳輸,觸控筆接收裝置102(接收端)經由ADC取樣後進入數位系統解調變(de-modulation)。然而,整機環境上會有許多噪聲來源,若取樣頻率不夠高會造成各種高頻噪聲反折機率提高以及(白)噪聲水位過高等現象。雖然能在數位解調之後,接收端可使用濾波器(IIR or FIR filter)來濾除噪聲提升效能,但濾波器的頻寬又與取樣點數相關連。在取樣率不高的情況下濾波器的效果將被大大打折扣。FIG. 1 is a circuit diagram of a decoding circuit of a touch pen system of the prior art. Referring to FIG. 1, the decoding circuit of the touch pen system includes atouch pen 101 and a touchpen receiving device 102. Thetouch pen 101 is the signal transmitter, and the touchpen receiving device 102 is the receiving end. The touch pen 101 (transmitter) transmits the transmission data after phase shift modulation (PSK modulation) and added carrier modulation, and the touch pen receiving device 102 (receiver) samples the data through the ADC and enters the digital system for demodulation (de-modulation). However, there are many noise sources in the whole machine environment. If the sampling frequency is not high enough, it will cause various high-frequency noise reflection probabilities to increase and the (white) noise level to be too high. Although after digital demodulation, the receiver can use a filter (IIR or FIR filter) to filter out noise and improve performance, the bandwidth of the filter is related to the number of sampling points. If the sampling rate is not high, the effect of the filter will be greatly reduced.

本發明提供一種觸控筆的雜訊抑制方法以及使用其之具有觸控筆之行動裝置,用以在降採樣(down-sampling)之前,壓抑、抑制取樣後的觸控筆訊號之雜訊。The present invention provides a touch pen noise suppression method and a mobile device with a touch pen using the same, which is used to suppress the noise of the sampled touch pen signal before down-sampling.

本發明的實施例提供了一種行動裝置,此行動裝置包括一觸控筆以及一顯示觸控裝置。觸控筆用以發射一觸控筆訊號。顯示觸控裝置包括、多數個觸控電極、多數個訊號取樣裝置以及多數個雜訊抑制電路。每一該些訊號取樣裝置包括一輸入端以及一輸出端,其中,上述多數個訊號取樣裝置的輸入端分別耦接上述多數個觸控電極。每一該些雜訊抑制電路包括一輸入端以及一輸出端,其中,上述多數個雜訊抑制電路的輸入端分別耦接上述多數個訊號取樣裝置的輸出端。An embodiment of the present invention provides a mobile device, which includes a touch pen and a display touch device. The touch pen is used to emit a touch pen signal. The display touch device includes a plurality of touch electrodes, a plurality of signal sampling devices, and a plurality of noise suppression circuits. Each of the signal sampling devices includes an input end and an output end, wherein the input ends of the plurality of signal sampling devices are respectively coupled to the plurality of touch electrodes. Each of the noise suppression circuits includes an input end and an output end, wherein the input ends of the plurality of noise suppression circuits are respectively coupled to the output ends of the plurality of signal sampling devices.

上述多數個雜訊抑制電路中之一特定雜訊抑制電路,用以將對應之訊號取樣裝置取樣的取樣訊號與對應之訊號取樣裝置取樣的鄰近時間之取樣訊號進行比較。當對應之訊號取樣裝置取樣的取樣訊號與對應之訊號取樣裝置取樣的鄰近時間之取樣訊號之差值大於一訊號容許值,則該特定雜訊抑制電路輸出該對應之訊號取樣裝置取樣的取樣訊號作為一第一雜訊抑制訊號作為一輸出訊號。當對應之訊號取樣裝置取樣的取樣訊號與對應之訊號取樣裝置取樣的鄰近時間之取樣訊號之差值小於一訊號容許值,則該特定雜訊抑制電路輸出一第二雜訊抑制訊號作為上述輸出訊號,其中,第二雜訊抑制訊號的數值在對應之訊號取樣裝置取樣的取樣訊號與對應之訊號取樣裝置取樣的鄰近時間之取樣訊號之間。A specific noise suppression circuit among the plurality of noise suppression circuits is used to compare the sampled signal sampled by the corresponding signal sampling device with the sampled signal sampled by the corresponding signal sampling device at a time close to the sampled signal. When the difference between the sampled signal sampled by the corresponding signal sampling device and the sampled signal sampled by the corresponding signal sampling device at a time close to the sampled signal is greater than a signal allowable value, the specific noise suppression circuit outputs the sampled signal sampled by the corresponding signal sampling device as a first noise suppression signal as an output signal. When the difference between the sampling signal sampled by the corresponding signal sampling device and the sampling signal sampled by the corresponding signal sampling device at a nearby time is less than a signal allowable value, the specific noise suppression circuit outputs a second noise suppression signal as the above-mentioned output signal, wherein the value of the second noise suppression signal is between the sampling signal sampled by the corresponding signal sampling device and the sampling signal sampled by the corresponding signal sampling device at a nearby time.

依照本發明較佳實施例所述的行動裝置,上述每一訊號取樣裝置更包括電荷放大器(charge amplifier)以及類比數位轉換器。電荷放大器包括一輸入端以及一輸出端,其中,電荷放大器的輸入端耦接訊號取樣裝置的輸入端,電荷放大器用以接收所耦接的觸控電極之訊號,以輸出一放大觸控訊號。類比數位轉換器包括一輸入端以及一輸出端,其中,類比數位轉換器的輸入端耦接電荷放大器的輸出端以接收放大觸控訊號,類比數位轉換器的輸出端耦接訊號取樣裝置的輸出端,以輸出對應該訊號取樣裝置之取樣訊號。According to the mobile device described in the preferred embodiment of the present invention, each of the above-mentioned signal sampling devices further includes a charge amplifier and an analog-to-digital converter. The charge amplifier includes an input end and an output end, wherein the input end of the charge amplifier is coupled to the input end of the signal sampling device, and the charge amplifier is used to receive the signal of the coupled touch electrode to output an amplified touch signal. The analog-to-digital converter includes an input end and an output end, wherein the input end of the analog-to-digital converter is coupled to the output end of the charge amplifier to receive the amplified touch signal, and the output end of the analog-to-digital converter is coupled to the output end of the signal sampling device to output a sampling signal corresponding to the signal sampling device.

依照本發明較佳實施例所述的行動裝置,上述每一該些雜訊抑制電路更包括一前置暫存器、一後置暫存器、一數字比較電路、一加減法電路以及一多工選擇電路。前置暫存器接收上述對應該訊號取樣裝置之取樣訊號,並暫存之。後置暫存器用以儲存先前輸出之取樣訊號,並用以輸出上述輸出訊號。數字比較電路的第一輸入埠耦接該前置暫存器,以接收上述對應該訊號取樣裝置之取樣訊號,數字比較電路的第二輸入埠耦接該後置暫存器,數字比較電路的輸出端輸出一選擇訊號,其中,數字比較電路根據該數字比較電路的第一輸入埠與數字比較電路的第二輸入埠的輸入數值之差值,決定該選擇訊號的邏輯。According to the mobile device described in the preferred embodiment of the present invention, each of the noise suppression circuits further includes a pre-register, a post-register, a digital comparison circuit, an addition and subtraction circuit, and a multiplexing selection circuit. The pre-register receives and temporarily stores the sampling signal corresponding to the signal sampling device. The post-register is used to store the previously output sampling signal and to output the output signal. The first input port of the digital comparison circuit is coupled to the pre-register to receive the sampling signal corresponding to the signal sampling device. The second input port of the digital comparison circuit is coupled to the post-register. The output end of the digital comparison circuit outputs a selection signal, wherein the digital comparison circuit determines the logic of the selection signal according to the difference between the input values of the first input port of the digital comparison circuit and the second input port of the digital comparison circuit.

加減法電路的第一輸入埠耦接該後置暫存器,以接收上述先前輸出之取樣訊號,加減法電路的第二輸入埠接收一變動容許值,其輸出端輸出第二雜訊抑制訊號。多工選擇電路的第一輸入埠耦接前置暫存器,以接收上述對應該訊號取樣裝置之取樣訊號,多工選擇電路的第二輸入埠耦接該加減法電路的輸出埠,以接收該第二雜訊抑制訊號,該多工選擇電路的選擇端耦接該數字比較電路的輸出端,以接收該選擇訊號,其中,多工選擇電路的輸出埠根據選擇訊號的邏輯,決定輸出多工選擇電路的第一輸入埠的資料或多工選擇電路的第二輸入埠的資料。The first input port of the add-subtract circuit is coupled to the post-register to receive the previously outputted sampling signal, the second input port of the add-subtract circuit receives a variation allowable value, and the output end thereof outputs a second noise suppression signal. The first input port of the multiplex selection circuit is coupled to the pre-register to receive the sampling signal corresponding to the signal sampling device, the second input port of the multiplex selection circuit is coupled to the output port of the add-subtract circuit to receive the second noise suppression signal, and the selection end of the multiplex selection circuit is coupled to the output end of the digital comparison circuit to receive the selection signal, wherein the output port of the multiplex selection circuit determines to output the data of the first input port of the multiplex selection circuit or the data of the second input port of the multiplex selection circuit according to the logic of the selection signal.

依照本發明較佳實施例所述的行動裝置,上述後置暫存器的輸入埠耦接該多工選擇電路的輸出埠,以接收多工選擇電路的輸出埠所輸出之資料作為上述先前輸出之取樣訊號,其中,該後置暫存器的輸出埠根據所暫存的資料,輸出該第一雜訊抑制訊號或該第二雜訊抑制訊號。According to the mobile device described in the preferred embodiment of the present invention, the input port of the post-register is coupled to the output port of the multiplexing selection circuit to receive the data output by the output port of the multiplexing selection circuit as the previously output sampling signal, wherein the output port of the post-register outputs the first noise suppression signal or the second noise suppression signal according to the stored data.

依照本發明較佳實施例所述的行動裝置,上述前置暫存器更包括一儲存區塊,耦接該後置暫存器的輸出埠,用以儲存該後置暫存器的輸出埠所輸出的資料,作為一第二先前輸出之取樣訊號,其中,每一雜訊抑制電路更包括第二多工選擇電路,其中,第二多工選擇電路的第一輸入埠耦接該前置暫存器的儲存區塊,以接收第二先前輸出之取樣訊號,第二多工選擇電路的第二輸入埠耦接該後置暫存器的輸出埠,以接收該後置暫存器的輸出埠所輸出的資料,該多工選擇電路的選擇端接收一延遲選擇訊號,該第二多工選擇電路的輸出埠耦接該多工選擇電路的第二輸入埠以及該數字比較電路的第二輸入埠。According to the mobile device described in the preferred embodiment of the present invention, the pre-register further includes a storage block coupled to the output port of the post-register for storing the data outputted from the output port of the post-register as a second previously outputted sampling signal, wherein each noise suppression circuit further includes a second multiplexing selection circuit, wherein the first input port of the second multiplexing selection circuit is coupled to the output port of the pre-register. A storage block is provided to receive a second previously output sampling signal, a second input port of a second multiplex selection circuit is coupled to the output port of the post-register to receive data outputted by the output port of the post-register, a selection end of the multiplex selection circuit receives a delay selection signal, and an output port of the second multiplex selection circuit is coupled to the second input port of the multiplex selection circuit and the second input port of the digital comparison circuit.

本發明的實施例另外提供了一種觸控筆的雜訊抑制方法。此觸控筆的雜訊抑制方法包括:取樣一觸控感測電極接收之訊號作為一取樣訊號;將該取樣訊號與鄰近時間之取樣訊號進行比較;當該取樣訊號與該鄰近時間之取樣訊號之差值大於一訊號容許值,則輸出一第一雜訊抑制訊號,其中,該第一雜訊抑制訊號等於該取樣訊號;以及當該取樣訊號與該鄰近時間之取樣訊號之差值小於該訊號容許值,則輸出一第二雜訊抑制訊號,其中,該第二雜訊抑制訊號的數值在該取樣訊號與該鄰近時間之取樣訊號之間。The embodiment of the present invention further provides a noise suppression method for a touch pen. The noise suppression method for the touch pen includes: sampling a signal received by a touch sensing electrode as a sampling signal; comparing the sampling signal with a sampling signal at a nearby time; when the difference between the sampling signal and the sampling signal at the nearby time is greater than a signal allowable value, outputting a first noise suppression signal, wherein the first noise suppression signal is equal to the sampling signal; and when the difference between the sampling signal and the sampling signal at the nearby time is less than the signal allowable value, outputting a second noise suppression signal, wherein the value of the second noise suppression signal is between the sampling signal and the sampling signal at the nearby time.

綜上所述,本發明之實施例採用將接收的訊號取樣,並與先前取樣的訊號做比較,並依照比較的結果是否大於訊號容許值,決定目前所取樣的訊號是否變動。當比較結果大於訊號容許值,則直接輸出目前所取樣的訊號。當比較結果小於訊號容許值,則將先前取樣的訊號加上或減去一變動容許值,作為輸出的訊號。藉此,讓處理後的訊號,在雜訊影響的情況下,變動可以維持在上述變動容許值,而真實變動時,才會輸出目前所取樣的訊號。藉此,降低各式噪聲能量大小,增加訊號雜訊比。In summary, the embodiment of the present invention samples the received signal and compares it with the previously sampled signal, and determines whether the currently sampled signal changes according to whether the comparison result is greater than the signal allowable value. When the comparison result is greater than the signal allowable value, the currently sampled signal is directly output. When the comparison result is less than the signal allowable value, the previously sampled signal is added or subtracted by a change allowable value as the output signal. In this way, the processed signal can maintain the change within the above-mentioned change allowable value under the influence of noise, and the currently sampled signal will be output only when there is a real change. In this way, the energy of various noises is reduced and the signal-to-noise ratio is increased.

為了進一步理解本發明的技術、手段和效果,可以參考以下詳細描述和附圖,從而可以徹底和具體地理解本發明的目的、特徵和概念。然而,以下詳細描述和附圖僅用於參考和說明本發明的實現方式,其並非用於限制本發明。In order to further understand the technology, means and effects of the present invention, reference may be made to the following detailed description and accompanying drawings, so that the purpose, features and concepts of the present invention can be thoroughly and specifically understood. However, the following detailed description and accompanying drawings are only used for reference and explanation of the implementation of the present invention, and are not used to limit the present invention.

現在將詳細參考本發明的示範實施例,其示範實施例會在附圖中被繪示出。在可能的情況下,在附圖和說明書中使用相同的元件符號來指代相同或相似的部件。另外,示範實施例的做法僅是本發明之設計概念的實現方式之一,下述的該等示範皆非用於限定本發明。Reference will now be made in detail to exemplary embodiments of the present invention, which are illustrated in the accompanying drawings. Where possible, the same reference numerals are used in the drawings and the specification to refer to the same or similar components. In addition, the exemplary embodiments are only one of the implementation methods of the design concept of the present invention, and the following examples are not intended to limit the present invention.

第2圖繪示為本發明一較佳實施例的使用觸控筆之行動裝置的解碼電路之電路方塊圖。請參考第2圖,使用觸控筆之行動裝置的解碼電路之實施例中,包含一觸控筆201以及一行動裝置202,解碼電路設置於行動裝置202中,此解碼電路包含多個觸控電極203、多數個訊號取樣裝置204以及多數個雜訊抑制電路205。上述每一個訊號取樣裝置204包含一電荷放大器(Charge Amplifier,CA)206以及多數個類比數位轉換器(Analog-to-Digital Converter,ADC)207。FIG. 2 is a block diagram of a decoding circuit of a mobile device using a touch pen according to a preferred embodiment of the present invention. Referring to FIG. 2, the decoding circuit of the mobile device using a touch pen includes atouch pen 201 and amobile device 202. The decoding circuit is disposed in themobile device 202. The decoding circuit includes a plurality oftouch electrodes 203, a plurality ofsignal sampling devices 204, and a plurality ofnoise suppression circuits 205. Each of thesignal sampling devices 204 includes a charge amplifier (CA) 206 and a plurality of analog-to-digital converters (ADC) 207.

第3圖繪示為在理想情況下,本發明一較佳實施例的使用觸控筆之行動裝置的訊號取樣裝置204所取樣之訊號示意圖。請參考第3圖,由第3圖可以看出,理想情況下,觸控電極203接收到來自觸控筆201的訊號,經過類比數位轉換器之後應當是一個完美的方波。故理想情況下,取樣時,只會得到兩種數值。FIG. 3 is a schematic diagram showing the signal sampled by thesignal sampling device 204 of the mobile device using the stylus in an ideal embodiment of the present invention. Please refer to FIG. 3. It can be seen from FIG. 3 that, ideally, the signal received by thetouch electrode 203 from thestylus 201 should be a perfect square wave after passing through the analog-to-digital converter. Therefore, ideally, only two values will be obtained during sampling.

第4圖繪示為在有訊號干擾的情況下,本發明一較佳實施例的使用觸控筆之行動裝置的訊號取樣裝置204所取樣之訊號示意圖。請參考第4圖,由第4圖可以看出,在實際訊號傳輸的情況下,由觸控電極203接收到的觸控筆201訊號會因為高頻雜訊、混疊效應(aliasing effect)以及白噪音,讓原本應當只有包含兩個數值的完美方波,實際接收並類比數位轉換後變成有其他高低起伏的訊號。FIG. 4 is a schematic diagram of a signal sampled by thesignal sampling device 204 of a mobile device using a stylus in a preferred embodiment of the present invention under the condition of signal interference. Please refer to FIG. 4. It can be seen from FIG. 4 that in the case of actual signal transmission, the signal of thestylus 201 received by thetouch electrode 203 will be affected by high-frequency noise, aliasing effect and white noise, so that the perfect square wave that should originally contain only two values will become a signal with other ups and downs after the actual reception and analog-to-digital conversion.

第5圖繪示為本發明一較佳實施例的雜訊抑制電路205的電路方塊圖。請參考第5圖,雜訊抑制電路205包括一前置暫存器501、一後置暫存器502、一數字比較電路503、一加減法電路504以及一多工選擇電路505。前置暫存器501接收上述對應訊號取樣裝置之取樣訊號A[n],並暫存之。後置暫存器502用以儲存先前輸出,且處理後之取樣訊號B[n-1]。FIG. 5 is a block diagram of anoise suppression circuit 205 of a preferred embodiment of the present invention. Referring to FIG. 5, thenoise suppression circuit 205 includes a pre-register 501, a post-register 502, adigital comparison circuit 503, an addition andsubtraction circuit 504, and amultiplexing selection circuit 505. The pre-register 501 receives and temporarily stores the sampling signal A[n] from the corresponding signal sampling device. The post-register 502 is used to store the previously output and processed sampling signal B[n-1].

在此實施例中,數字比較電路503會接收儲存在前置暫存器501的取樣訊號A[n]和儲存在後置暫存器502的前一時間之取樣訊號B[n-1],並將兩者比較。當取樣訊號A[n]和取樣訊號B[n-1]的差異足夠大,超過一設定的訊號容許值,表示從取樣時間n-1到取樣時間n,正好是訊號轉態。此時,數字比較電路503所輸出的選擇訊號SEL_1會設置為邏輯1,此時,輸入至多工選擇電路505對應邏輯1的輸入端的取樣訊號A[n]便會導入多工選擇電路505的輸出端,故後置暫存器502會把接收到取樣訊號A[n]當作是下一時間的輸出訊號B[n],也就是說A[n]=B[n]。In this embodiment, thedigital comparison circuit 503 receives and compares the sampling signal A[n] stored in the pre-register 501 and the sampling signal B[n-1] stored in the post-register 502. When the difference between the sampling signal A[n] and the sampling signal B[n-1] is large enough to exceed a set signal tolerance value, it means that the signal transition occurs from sampling time n-1 to sampling time n. At this time, the selection signal SEL_1 output by thedigital comparison circuit 503 will be set tologic 1. At this time, the sampling signal A[n] input to the input end of themultiplexing selection circuit 505 corresponding tologic 1 will be introduced into the output end of themultiplexing selection circuit 505, so the post-register 502 will receive the sampling signal A[n] as the output signal B[n] at the next time, that is, A[n]=B[n].

然,當取樣訊號A[n]和取樣訊號B[n-1]的差異不足,並未超過一設定的訊號容許值,表示從取樣時間n-1到取樣時間n的訊號差異可能是受到干擾的影響而變動。此時,數字比較電路503所輸出的選擇訊號SEL_1會設置為邏輯0。此時,輸入至多工選擇電路505對應邏輯0的輸入端的訊號便會導入多工選擇電路505的輸出端。由於輸入至多工選擇電路505對應邏輯0的輸入端的訊號是透過加減法電路504運算。在此實施例中,加減法電路504的輸出可以被視為是B[n-1]+VAR,其中,VAR在此實施例中代表變動容許值。也就是說,雖然取樣訊號A[n]和取樣訊號B[n-1]實際上是存在差異,但是此差異被認為可能是雜訊,故在此實施例中,僅允許此訊號可以在變動容許值VAR的限制下部份變動。上述變動容許值VAR的規則是當A[n]>B[n-1]時,B[n]=B[n-1]+VAR,當A[n]<B[n-1]時,B[n]=B[n-1]-VAR。之後,後置暫存器502會把接收到取樣訊號B[n-1]+VAR或B[n-1]-VAR當作是下一時間的輸出訊號B[n]。However, when the difference between the sampling signal A[n] and the sampling signal B[n-1] is insufficient and does not exceed a set signal tolerance value, it means that the signal difference from sampling time n-1 to sampling time n may be affected by interference and change. At this time, the selection signal SEL_1 output by thedigital comparison circuit 503 will be set tologic 0. At this time, the signal input to the input end corresponding tologic 0 of themultiplex selection circuit 505 will be introduced into the output end of themultiplex selection circuit 505. Since the signal input to the input end corresponding tologic 0 of themultiplex selection circuit 505 is operated by the addition andsubtraction circuit 504. In this embodiment, the output of the addition andsubtraction circuit 504 can be regarded as B[n-1]+VAR, where VAR represents the variation allowable value in this embodiment. That is to say, although there is actually a difference between the sampled signal A[n] and the sampled signal B[n-1], this difference is considered to be noise, so in this embodiment, this signal is only allowed to partially vary within the limit of the variation allowable value VAR. The rule of the above variation allowable value VAR is that when A[n]>B[n-1], B[n]=B[n-1]+VAR, and when A[n]<B[n-1], B[n]=B[n-1]-VAR. Afterwards, thepost register 502 will treat the received sample signal B[n-1]+VAR or B[n-1]-VAR as the output signal B[n] at the next time.

第6圖繪示為本發明一較佳實施例的雜訊抑制電路205所輸出的訊號之示意圖。請參考第6圖,所屬技術領域具有通常知識者應當可以看出,標號601、602、603經過雜訊抑制電路205處理後,變動量大幅縮小,藉此,也抑制了雜訊的影響,讓輸出的訊號更加接近理想。FIG6 is a schematic diagram of a signal output by thenoise suppression circuit 205 of a preferred embodiment of the present invention. Referring to FIG6, a person skilled in the art should be able to see that after being processed by thenoise suppression circuit 205, the variation of thereference numerals 601, 602, and 603 is greatly reduced, thereby suppressing the influence of noise and making the output signal closer to the ideal.

第7圖繪示為本發明一較佳實施例的雜訊抑制電路205的電路方塊圖。請參考第7圖,雜訊抑制電路205除了上述的前置暫存器501、後置暫存器502、數字比較電路503、加減法電路504、多工選擇電路505之外,還包括了一第二多工選擇電路701。另外,前置暫存器501更包括一額外儲存區塊702,耦接後置暫存器的輸出埠,用以儲存後置暫存器的輸出埠所輸出的資料B[n-2]。第二多工選擇電路701的第一輸入埠耦接前置暫存器501的儲存區塊702,接收先前輸出之取樣訊號B[n-2],第二多工選擇電路701的第二輸入埠耦接後置暫存器502的輸出埠,接收後置暫存器的輸出埠所輸出的資料B[n-1],第二多工選擇電路701的選擇端接收一延遲選擇訊號SEL_2。此延遲選擇訊號SEL_2係用以決定數字比較電路503所接收的取樣訊號是延遲一單位時間的取樣訊號B[n-1]或是延遲兩單位時間的取樣訊號B[n-2]。FIG. 7 is a block diagram of anoise suppression circuit 205 of a preferred embodiment of the present invention. Referring to FIG. 7, thenoise suppression circuit 205 includes a secondmultiplex selection circuit 701 in addition to the pre-register 501, post-register 502,digital comparison circuit 503, addition andsubtraction circuit 504, andmultiplex selection circuit 505. In addition, the pre-register 501 further includes anadditional storage block 702, coupled to the output port of the post-register, for storing the data B[n-2] outputted by the output port of the post-register. The first input port of the secondmultiplex selection circuit 701 is coupled to thestorage block 702 of the pre-register 501 to receive the previously outputted sampling signal B[n-2]. The second input port of the secondmultiplex selection circuit 701 is coupled to the output port of the post-register 502 to receive the data B[n-1] outputted by the output port of the post-register. The selection end of the secondmultiplex selection circuit 701 receives a delay selection signal SEL_2. The delay selection signal SEL_2 is used to determine whether the sampling signal received by thedigital comparison circuit 503 is the sampling signal B[n-1] delayed by one unit time or the sampling signal B[n-2] delayed by two unit times.

在本發明的較佳實施例中,在取樣率足夠高的情況下,當前的取樣訊號A[n] 和遲一單位時間的訊號B[n-1] 做比較或和延遲兩單位時間的訊號B[n-2] 做比較並不會影響本發明的運作。因此,使用者可以根據不同的實施環境,選擇延遲不同單位時間的訊號進行比較以獲得較佳的結果。本發明不以此為限。In a preferred embodiment of the present invention, when the sampling rate is high enough, the current sampling signal A[n] is compared with the signal B[n-1] delayed by one unit time or with the signal B[n-2] delayed by two unit time and does not affect the operation of the present invention. Therefore, the user can choose to compare signals delayed by different unit time to obtain better results according to different implementation environments. The present invention is not limited to this.

由上述實施例,可以歸納成一個觸控筆的雜訊抑制方法。第8圖繪示為本發明一較佳實施例的觸控筆的雜訊抑制方法的流程圖。請參考第8圖,此觸控筆的雜訊抑制方法包括下列步驟:The above embodiments can be summarized into a stylus noise suppression method. FIG. 8 is a flow chart of a stylus noise suppression method according to a preferred embodiment of the present invention. Referring to FIG. 8 , the stylus noise suppression method includes the following steps:

步驟S800:開始。Step S800: Start.

步驟S801:取樣一觸控感測電極接收之訊號作為一取樣訊號A[n]。Step S801: sampling a signal received by a touch sensing electrode as a sampling signal A[n].

步驟S802:將取樣訊號A[n]與鄰近時間之取樣訊號B[n-1]進行比較,判斷比較結果是否大於訊號容許值VT。當比較結果是大於訊號容許值VT,進行步驟S803,當比較結果是小於訊號容許值VT,進行步驟S804。Step S802: Compare the sampled signal A[n] with the sampled signal B[n-1] of the adjacent time to determine whether the comparison result is greater than the signal allowable value VT. When the comparison result is greater than the signal allowable value VT, proceed to step S803; when the comparison result is less than the signal allowable value VT, proceed to step S804.

步驟S803:當取樣訊號A[n]與鄰近時間之取樣訊號B[n-1]之差值大於訊號容許值VT,則輸出一第一雜訊抑制訊號,其中,第一雜訊抑制訊號等於取樣訊號A[n]。Step S803: When the difference between the sampling signal A[n] and the sampling signal B[n-1] at the adjacent time is greater than the signal allowable value VT, a first noise suppression signal is output, wherein the first noise suppression signal is equal to the sampling signal A[n].

步驟S804:當取樣訊號A[n]與鄰近時間之取樣訊號B[n-1]之差值小於訊號容許值VT,則輸出一第二雜訊抑制訊號,其中,第二雜訊抑制訊號的數值在取樣訊號A[n]與鄰近時間之取樣訊號之間B[n-1]。例如上述的B[n-1]+VAR或B[n-1]-VAR,讓訊號波動抑制在變動容許值VAR。Step S804: When the difference between the sampled signal A[n] and the sampled signal B[n-1] at the adjacent time is less than the signal allowable value VT, a second noise suppression signal is output, wherein the value of the second noise suppression signal is between the sampled signal A[n] and the sampled signal B[n-1] at the adjacent time. For example, the above-mentioned B[n-1]+VAR or B[n-1]-VAR allows the signal fluctuation to be suppressed within the variation allowable value VAR.

上述觸控筆的雜訊抑制方法中,雖然是以取樣訊號A[n] 與鄰近時間之取樣訊號B[n-1],也就是前一時間做比對,然所屬技術領域具有通常知識者,參考上述實施例後,應當知道,前兩單位時間、三單位時間或前N單位時間都是可以實施的方式。端看取樣率的高低與應用。故本發明不以此為限。另外,上述實施例雖然是以處理後的訊號B[n-1]做舉例,然所屬技術領域具有通常知識者應當知道,使用未經處理的鄰近時間之取樣訊號A[n-1] 亦可以作為實施例。故本發明亦不以此為限。In the above-mentioned noise suppression method of the touch pen, although the sampling signal A[n] is compared with the sampling signal B[n-1] of the adjacent time, that is, the previous time, those with ordinary knowledge in the relevant technical field should know, after referring to the above-mentioned embodiments, that the first two units of time, three units of time or the first N units of time are all feasible methods. It depends on the sampling rate and the application. Therefore, the present invention is not limited to this. In addition, although the above-mentioned embodiments use the processed signal B[n-1] as an example, those with ordinary knowledge in the relevant technical field should know that the unprocessed sampling signal A[n-1] of the adjacent time can also be used as an example. Therefore, the present invention is not limited to this.

綜合以上所述,本發明之實施例採用將接收的訊號取樣,並與先前取樣的訊號做比較,並依照比較的結果是否大於訊號容許值,決定目前所取樣的訊號是否變動。當比較結果大於訊號容許值,則直接輸出目前所取樣的訊號。當比較結果小於訊號容許值,則將先前取樣的訊號加上或減去一變動容許值,作為輸出的訊號。藉此,讓處理後的訊號,在雜訊影響的情況下,變動可以維持在上述變動容許值,而真實變動時,才會輸出目前所取樣的訊號。藉此,降低各式噪聲能量大小,增加訊號雜訊比。In summary, the embodiment of the present invention samples the received signal and compares it with the previously sampled signal, and determines whether the currently sampled signal changes according to whether the comparison result is greater than the signal allowable value. When the comparison result is greater than the signal allowable value, the currently sampled signal is directly output. When the comparison result is less than the signal allowable value, the previously sampled signal is added or subtracted by a change allowable value as the output signal. In this way, the processed signal can maintain the change within the above-mentioned change allowable value under the influence of noise, and the currently sampled signal will be output only when there is a real change. In this way, the energy of various noises is reduced and the signal-to-noise ratio is increased.

應當理解,本文描述的示例和實施例僅用於說明目的,並且鑑於其的各種修改或改變將被建議給本領域技術人員,並且將被包括在本申請的精神和範圍以及所附權利要求的範圍之內。It should be understood that the examples and embodiments described herein are for illustrative purposes only and that various modifications or changes thereto will be suggested to those skilled in the art and are to be included within the spirit and scope of the present application and the scope of the appended claims.

101:觸控筆 102:觸控筆接收裝置 201:觸控筆 202:行動裝置 203:觸控電極 204:訊號取樣裝置 205:雜訊抑制電路 206:電荷放大器 207:類比數位轉換器 501:前置暫存器 502:後置暫存器 503:數字比較電路 504:加減法電路 505:多工選擇電路 A[n]:訊號取樣裝置之取樣訊號 B[n-1]:前一時間之取樣訊號 VAR:變動容許值 601、602、603:經過雜訊抑制電路205處理後,變動量縮小的取樣訊號 S800~S804:本發明一較佳實施例的觸控筆的雜訊抑制方法的流程步驟101: stylus102: stylus receiver201: stylus202: mobile device203: touch electrode204: signal sampling device205: noise suppression circuit206: charge amplifier207: analog-to-digital converter501: pre-register502: post-register503: digital comparison circuit504: addition and subtraction circuit505: multiplexing selection circuitA[n]: sampling signal of signal sampling deviceB[n-1]: sampling signal of the previous timeVAR: variationallowable value601, 602, 603: After being processed by thenoise suppression circuit 205, the sampled signal with reduced variationS800-S804: The process steps of the noise suppression method for the stylus of a preferred embodiment of the present invention

提供的附圖用以使本發明所屬技術領域具有通常知識者可以進一步理解本發明,並且被併入與構成本發明之說明書的一部分。附圖示出了本發明的示範實施例,並且用以與本發明之說明書一起用於解釋本發明的原理。The accompanying drawings are provided to enable a person with ordinary knowledge in the art to which the present invention belongs to further understand the present invention, and are incorporated into and constitute a part of the specification of the present invention. The accompanying drawings show exemplary embodiments of the present invention, and are used together with the specification of the present invention to explain the principles of the present invention.

第1圖是先前技術的觸控筆系統的解碼電路之電路圖。FIG. 1 is a circuit diagram of a decoding circuit of a touch pen system in the prior art.

第2圖繪示為本發明一較佳實施例的使用觸控筆之行動裝置的解碼電路之電路圖。FIG. 2 is a circuit diagram of a decoding circuit of a mobile device using a touch pen according to a preferred embodiment of the present invention.

第3圖繪示為本發明一較佳實施例的使用觸控筆之行動裝置的訊號取樣裝置204所取樣之訊號的理想情況示意圖。FIG. 3 is a schematic diagram showing an ideal situation of a signal sampled by asignal sampling device 204 of a mobile device using a stylus according to a preferred embodiment of the present invention.

第4圖繪示為本發明一較佳實施例的使用觸控筆之行動裝置的訊號取樣裝置204所取樣之訊號的現實情況示意圖。FIG. 4 is a schematic diagram showing a real situation of a signal sampled by asignal sampling device 204 of a mobile device using a touch pen according to a preferred embodiment of the present invention.

第5圖繪示為本發明一較佳實施例的雜訊抑制電路205的電路方塊圖。FIG. 5 is a circuit block diagram of anoise suppression circuit 205 according to a preferred embodiment of the present invention.

第6圖繪示為本發明一較佳實施例的雜訊抑制電路205所輸出的訊號之示意圖。FIG. 6 is a schematic diagram showing a signal output by thenoise suppression circuit 205 according to a preferred embodiment of the present invention.

第7圖繪示為本發明一較佳實施例的雜訊抑制電路205的電路方塊圖。FIG. 7 is a circuit block diagram of anoise suppression circuit 205 according to a preferred embodiment of the present invention.

第8圖繪示為本發明一較佳實施例的觸控筆的雜訊抑制方法的流程圖。FIG. 8 is a flow chart of a noise suppression method for a touch pen according to a preferred embodiment of the present invention.

501:前置暫存器501: Pre-register

502:後置暫存器502: Post register

503:數字比較電路503: Digital comparison circuit

504:加減法電路504: Addition and subtraction circuit

505:多工選擇電路505:Multi-tasking selection circuit

A[n]:訊號取樣裝置之取樣訊號A[n]: sampling signal of the signal sampling device

B[n-1]:前一時間之取樣訊號B[n-1]: sampling signal of the previous time

VAR:變動容許值VAR: variable allowable value

Claims (9)

Translated fromChinese
一種行動裝置,包括: 一觸控筆,用以發射一觸控筆訊號; 一顯示觸控裝置,包括: 多數個觸控電極; 多數個訊號取樣裝置,其中,每一該些訊號取樣裝置包括一輸入端以及一輸出端,其中,上述多數個訊號取樣裝置的輸入端分別耦接上述多數個觸控電極;以及 多數個雜訊抑制電路,其中,每一該些雜訊抑制電路包括一輸入端以及一輸出端,其中,上述多數個雜訊抑制電路的輸入端分別耦接上述多數個訊號取樣裝置的輸出端, 其中,上述多數個雜訊抑制電路中之一特定雜訊抑制電路,用以將對應之訊號取樣裝置取樣的取樣訊號與對應之訊號取樣裝置取樣的鄰近時間之取樣訊號進行比較, 其中,當對應之訊號取樣裝置取樣的取樣訊號與對應之訊號取樣裝置取樣的鄰近時間之取樣訊號之差值大於一訊號容許值,則該特定雜訊抑制電路輸出該對應之訊號取樣裝置取樣的取樣訊號作為一第一雜訊抑制訊號作為一輸出訊號; 其中,當對應之訊號取樣裝置取樣的取樣訊號與對應之訊號取樣裝置取樣的鄰近時間之取樣訊號之差值小於一訊號容許值,則該特定雜訊抑制電路輸出一第二雜訊抑制訊號作為該輸出訊號,其中,該第二雜訊抑制訊號的數值在該對應之訊號取樣裝置取樣的取樣訊號與該對應之訊號取樣裝置取樣的鄰近時間之取樣訊號之間。A mobile device, comprising:A touch pen for emitting a touch pen signal;A display touch device, comprising:A plurality of touch electrodes;A plurality of signal sampling devices, wherein each of the signal sampling devices comprises an input terminal and an output terminal, wherein the input terminals of the plurality of signal sampling devices are respectively coupled to the plurality of touch electrodes; andA plurality of noise suppression circuits, wherein each of the noise suppression circuits comprises an input terminal and an output terminal, wherein the input terminals of the plurality of noise suppression circuits are respectively coupled to the output terminals of the plurality of signal sampling devices,Among them, a specific noise suppression circuit among the plurality of noise suppression circuits is used to compare the sampling signal sampled by the corresponding signal sampling device with the sampling signal sampled by the corresponding signal sampling device at a nearby time.When the difference between the sampling signal sampled by the corresponding signal sampling device and the sampling signal sampled by the corresponding signal sampling device at a nearby time is greater than a signal allowable value, the specific noise suppression circuit outputs the sampling signal sampled by the corresponding signal sampling device as a first noise suppression signal as an output signal;When the difference between the sampling signal sampled by the corresponding signal sampling device and the sampling signal sampled by the corresponding signal sampling device at a nearby time is less than a signal allowable value, the specific noise suppression circuit outputs a second noise suppression signal as the output signal, wherein the value of the second noise suppression signal is between the sampling signal sampled by the corresponding signal sampling device and the sampling signal sampled by the corresponding signal sampling device at a nearby time.根據請求項1所述之行動裝置,其中,每一該些訊號取樣裝置更包括: 一電荷放大器,包括一輸入端以及一輸出端,其中,該電荷放大器的輸入端耦接該訊號取樣裝置的輸入端,該電荷放大器用以接收所耦接的觸控電極之訊號,以輸出一放大觸控訊號;以及 一類比數位轉換器,包括一輸入端以及一輸出端,其中,該類比數位轉換器的輸入端耦接該電荷放大器的輸出端以接收該放大觸控訊號,該類比數位轉換器的輸出端耦接該訊號取樣裝置的輸出端,以輸出對應該訊號取樣裝置之取樣訊號。According to the mobile device described in claim 1, each of the signal sampling devices further includes:a charge amplifier, including an input end and an output end, wherein the input end of the charge amplifier is coupled to the input end of the signal sampling device, and the charge amplifier is used to receive the signal of the coupled touch electrode to output an amplified touch signal; andan analog-to-digital converter, including an input end and an output end, wherein the input end of the analog-to-digital converter is coupled to the output end of the charge amplifier to receive the amplified touch signal, and the output end of the analog-to-digital converter is coupled to the output end of the signal sampling device to output a sampling signal corresponding to the signal sampling device.根據請求項 1 所述之行動裝置,其中,每一該些雜訊抑制電路更包括: 一前置暫存器,接收上述對應該訊號取樣裝置之取樣訊號,並暫存之;以及 一後置暫存器,用以儲存先前輸出之取樣訊號,並用以輸出該輸出訊號; 一數字比較電路,包括一第一輸入埠、一第二輸入埠以及一輸出端,其中,該數字比較電路的第一輸入埠耦接該前置暫存器,以接收上述對應該訊號取樣裝置之取樣訊號,該數字比較電路的第二輸入埠耦接該後置暫存器,該數字比較電路的輸出端輸出一選擇訊號,其中,該數字比較電路根據該數字比較電路的第一輸入埠與該數字比較電路的第二輸入埠的輸入數值之差值是否大於該訊號容許值,決定該選擇訊號的邏輯; 一加減法電路,包括一第一輸入埠、一第二輸入埠以及一輸出埠,其中,該加減法電路的第一輸入埠耦接該後置暫存器,以接收上述先前輸出之取樣訊號,該加減法電路的第二輸入埠接收一變動容許值,其輸出端輸出該第二雜訊抑制訊號;以及 一多工選擇電路,包括一選擇端、一第一輸入埠、一第二輸入埠以及一輸出埠,其中,該多工選擇電路的第一輸入埠耦接該前置暫存器,以接收上述對應該訊號取樣裝置之取樣訊號,該多工選擇電路的第二輸入埠耦接該加減法電路的輸出埠,以接收該第二雜訊抑制訊號,該多工選擇電路的選擇端耦接該數字比較電路的輸出端,以接收該選擇訊號, 其中,該多工選擇電路的輸出埠根據該選擇訊號的邏輯,決定輸出該多工選擇電路的第一輸入埠的資料或該多工選擇電路的第二輸入埠的資料。According to the mobile device described in claim 1, each of the noise suppression circuits further includes: a pre-register, receiving and temporarily storing the sampling signal corresponding to the signal sampling device; and a post-register, used to store the previously output sampling signal and to output the output signal; A digital comparison circuit, comprising a first input port, a second input port and an output end, wherein the first input port of the digital comparison circuit is coupled to the pre-register to receive the sampling signal corresponding to the signal sampling device, the second input port of the digital comparison circuit is coupled to the post-register, and the output end of the digital comparison circuit outputs a selection signal, wherein the digital comparison circuit determines the logic of the selection signal according to whether the difference between the input values of the first input port of the digital comparison circuit and the second input port of the digital comparison circuit is greater than the signal allowable value;An addition-subtraction circuit includes a first input port, a second input port, and an output port, wherein the first input port of the addition-subtraction circuit is coupled to the post-register to receive the previously output sampling signal, the second input port of the addition-subtraction circuit receives a variation allowable value, and the output port thereof outputs the second noise suppression signal; and A multiplex selection circuit includes a selection end, a first input port, a second input port and an output port, wherein the first input port of the multiplex selection circuit is coupled to the pre-register to receive the sampling signal corresponding to the signal sampling device, the second input port of the multiplex selection circuit is coupled to the output port of the addition and subtraction circuit to receive the second noise suppression signal, and the selection end of the multiplex selection circuit is coupled to the output end of the digital comparison circuit to receive the selection signal, wherein the output port of the multiplex selection circuit determines to output the data of the first input port of the multiplex selection circuit or the data of the second input port of the multiplex selection circuit according to the logic of the selection signal.根據請求項 3 所述之行動裝置,其中,該後置暫存器的輸入埠耦接該多工選擇電路的輸出埠,以接收該多工選擇電路的輸出埠所輸出之資料作為上述先前輸出之取樣訊號,其中,該後置暫存器的輸出埠根據所暫存的資料,輸出該第一雜訊抑制訊號或該第二雜訊抑制訊號。According to the mobile device described in claim 3, the input port of the post-register is coupled to the output port of the multiplexing selection circuit to receive the data output by the output port of the multiplexing selection circuit as the above-mentioned previously output sampling signal, wherein the output port of the post-register outputs the first noise suppression signal or the second noise suppression signal according to the stored data.根據請求項 4 所述之行動裝置,其中,該前置暫存器更包括一儲存區塊,耦接該後置暫存器的輸出埠,用以儲存該後置暫存器的輸出埠所輸出的資料,作為一第二先前輸出之取樣訊號, 其中,每一該些雜訊抑制電路更包括: 一第二多工選擇電路,包括一選擇端、一第一輸入埠、一第二輸入埠以及一輸出埠,其中,該第二多工選擇電路的第一輸入埠耦接該前置暫存器的該儲存區塊,以接收該第二先前輸出之取樣訊號,該第二多工選擇電路的第二輸入埠耦接該後置暫存器的輸出埠,以接收該後置暫存器的輸出埠所輸出的資料,該第二多工選擇電路的選擇端接收一延遲選擇訊號,該第二多工選擇電路的輸出埠耦接該多工選擇電路的第二輸入埠以及該數字比較電路的第二輸入埠。According to the mobile device described in claim 4, the pre-register further includes a storage block coupled to the output port of the post-register for storing data outputted from the output port of the post-register as a second previously outputted sampling signal, wherein each of the noise suppression circuits further includes: A second multiplex selection circuit includes a selection end, a first input port, a second input port and an output port, wherein the first input port of the second multiplex selection circuit is coupled to the storage block of the pre-register to receive the second previously output sampling signal, the second input port of the second multiplex selection circuit is coupled to the output port of the post-register to receive the data output by the output port of the post-register, the selection end of the second multiplex selection circuit receives a delay selection signal, and the output port of the second multiplex selection circuit is coupled to the second input port of the multiplex selection circuit and the second input port of the digital comparison circuit.一種觸控筆的雜訊抑制方法,包括: 取樣一觸控感測電極接收之訊號作為一取樣訊號; 將該取樣訊號與鄰近時間之取樣訊號進行比較; 當該取樣訊號與該鄰近時間之取樣訊號之差值大於一訊號容許值,則輸出一第一雜訊抑制訊號作為一輸出訊號,其中,該第一雜訊抑制訊號等於該取樣訊號;以及 當該取樣訊號與該鄰近時間之取樣訊號之差值小於該訊號容許值,則輸出一第二雜訊抑制訊號作為一輸出訊號,其中,該第二雜訊抑制訊號的數值在該取樣訊號與該鄰近時間之取樣訊號之間。A noise suppression method for a touch pen includes: Sampling a signal received by a touch sensing electrode as a sampling signal; Comparing the sampling signal with a sampling signal at a nearby time; When the difference between the sampling signal and the sampling signal at the nearby time is greater than a signal allowable value, outputting a first noise suppression signal as an output signal, wherein the first noise suppression signal is equal to the sampling signal; and When the difference between the sampling signal and the sampling signal at the nearby time is less than the signal allowable value, outputting a second noise suppression signal as an output signal, wherein the value of the second noise suppression signal is between the sampling signal and the sampling signal at the nearby time.根據請求項6所述之觸控筆的雜訊抑制方法,其中,當該取樣訊號與該鄰近時間之取樣訊號之差值小於該訊號容許值,包括: 當該差值為正,將該鄰近時間之取樣訊號加上一變動容許值,以作為該第二雜訊抑制訊號;以及 當該差值為負正,將該鄰近時間之取樣訊號減去該變動容許值,以作為該第二雜訊抑制訊號, 其中,該變動容許值在該取樣訊號與該鄰近時間之取樣訊號之差值之間。According to the noise suppression method of the stylus described in claim 6, when the difference between the sampling signal and the sampling signal of the adjacent time is less than the signal allowable value, the method comprises: When the difference is positive, adding a variation allowable value to the sampling signal of the adjacent time to obtain the second noise suppression signal; and When the difference is negative, subtracting the variation allowable value from the sampling signal of the adjacent time to obtain the second noise suppression signal, Wherein, the variation allowable value is between the difference between the sampling signal and the sampling signal of the adjacent time.根據請求項6所述之觸控筆的雜訊抑制方法,其中,該鄰近時間之取樣訊號包括前一時間的該輸出訊號。According to the noise suppression method of the touch pen described in claim 6, the sampling signal of the adjacent time includes the output signal of the previous time.根據請求項6所述之觸控筆的雜訊抑制方法,其中,該鄰近時間之取樣訊號包括前N個時間的該輸出訊號,其中,N為自然數。According to the noise suppression method of the touch pen described in claim 6, the sampling signal of the adjacent time includes the output signal of the previous N time periods, wherein N is a natural number.
TW112140754A2023-10-252023-10-25Noise suppression method for stylus and mobile device with stylus using the sameTWI860139B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
TW112140754ATWI860139B (en)2023-10-252023-10-25Noise suppression method for stylus and mobile device with stylus using the same

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
TW112140754ATWI860139B (en)2023-10-252023-10-25Noise suppression method for stylus and mobile device with stylus using the same

Publications (2)

Publication NumberPublication Date
TWI860139Btrue TWI860139B (en)2024-10-21
TW202518243A TW202518243A (en)2025-05-01

Family

ID=94084310

Family Applications (1)

Application NumberTitlePriority DateFiling Date
TW112140754ATWI860139B (en)2023-10-252023-10-25Noise suppression method for stylus and mobile device with stylus using the same

Country Status (1)

CountryLink
TW (1)TWI860139B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5594215A (en)*1995-01-201997-01-14Jeng; James H.Wireless digitizer and stylus pen unit
TW200941314A (en)*2008-03-122009-10-01Atlab IncTouch sensor device and pointing coordinate determination method thereof
TW201407427A (en)*2012-08-132014-02-16Lg Display Co LtdInput system and method for detecting touch using the same
US20150091857A1 (en)*2013-09-272015-04-02Sensel, Inc.Touch Sensor Detector System and Method
CN104699288A (en)*2013-12-092015-06-10义隆电子股份有限公司Electronic device and noise detection and operation mode setting method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5594215A (en)*1995-01-201997-01-14Jeng; James H.Wireless digitizer and stylus pen unit
TW200941314A (en)*2008-03-122009-10-01Atlab IncTouch sensor device and pointing coordinate determination method thereof
TW201407427A (en)*2012-08-132014-02-16Lg Display Co LtdInput system and method for detecting touch using the same
US20150091857A1 (en)*2013-09-272015-04-02Sensel, Inc.Touch Sensor Detector System and Method
CN104699288A (en)*2013-12-092015-06-10义隆电子股份有限公司Electronic device and noise detection and operation mode setting method thereof

Also Published As

Publication numberPublication date
TW202518243A (en)2025-05-01

Similar Documents

PublicationPublication DateTitle
CN110462571B (en)Capacitance detection method of touch display panel, capacitance detection circuit of touch display panel and touch display panel
US11755148B2 (en)Touch detection method, touch detection circuit, touch chip and electronic device
US20060223581A1 (en)Mobile device interface for input devices
US20190354408A1 (en)Method for Preloading Application, Storage Medium, and Terminal
US11799476B2 (en)Capacitive touch-sensing channel
CN110488228B (en)Linear frequency modulation signal generation method and device and storage medium
CN109104203A (en)Communication means, electronic device and computer readable storage medium
TWI860139B (en)Noise suppression method for stylus and mobile device with stylus using the same
US11686753B2 (en)Capacitance detection method and circuit
US8542721B2 (en)System and method for television signal demodulation and decoding
FR2721467A1 (en) Method and converter for converting rectangular signals into phase signals.
CN109119097B (en) Pitch detection method, device, storage medium and mobile terminal
CN111587415B (en) Touch detection method, touch chip and electronic device
CN112988289A (en)Method and system for calling interface
CN112104949A (en)Method and device for detecting pickup assembly and electronic equipment
CN113126818A (en)Processing circuit of touch screen display and method for judging touch event
CN119883010A (en)Noise suppression method of touch pen and mobile device
CN217606544U (en)Signal transmitter
US11303497B2 (en)Method and apparatus for generating a quadrature modulated signal near zero frequency for transmission
CN116594930A (en)Data transmission control method and system based on assembly line and electronic equipment
CN115249022A (en)Near field communication receiver
CN114979344A (en)Echo cancellation method, device, equipment and storage medium
US10693490B1 (en)Sigma-delta analog-to-digital converter and operation method thereof
CN113889067A (en) Noise reduction method, apparatus, electronic device and readable storage medium
CN107945822B (en)Audio playing circuit, audio player, chip and electronic equipment

[8]ページ先頭

©2009-2025 Movatter.jp