TW201701118A - Touch sensitive processing apparatus and system for descpreading and method thereof - Google Patents
Touch sensitive processing apparatus and system for descpreading and method thereof Download PDFInfo
- Publication number
- TW201701118A TW201701118A TW104144644A TW104144644A TW201701118A TW 201701118 A TW201701118 A TW 201701118A TW 104144644 A TW104144644 A TW 104144644A TW 104144644 A TW104144644 A TW 104144644A TW 201701118 A TW201701118 A TW 201701118A
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- electrodes
- received
- processing device
- preamble
- Prior art date
Links
Landscapes
- Position Input By Displaying (AREA)
Abstract
Description
本發明係關於觸控系統,特別係關於解算展頻信號的觸控處理裝置、系統與其方法。 The present invention relates to a touch system, and more particularly to a touch processing device, system and method thereof for solving a spread spectrum signal.
消費性電子產品已經是現代人生活的必需品。如平板電腦、手機等電子裝置多半使用觸控螢幕作為主要的輸出入介面,此外也運用無線網路裝置WiFi、如藍芽(BlueTooth)之類的個人短距離無線通信裝置、第三代或***行動通信網路裝置、無線充電裝置、衛星定位系統等。這些無線裝置都需要在輕薄短小的機身內裝置天線。這些天線在發射信號時,會對彼此造成電磁干擾。 Consumer electronics are already a necessity for modern life. For example, electronic devices such as tablets and mobile phones use touch screens as the main input and output interface. In addition, wireless network devices such as WiFi, personal short-range wireless communication devices such as Bluetooth (BlueTooth), third generation or Four generations of mobile communication network devices, wireless charging devices, satellite positioning systems, and the like. These wireless devices require antennas to be mounted in a thin, lightweight body. These antennas cause electromagnetic interference to each other when transmitting signals.
比方說,現在常用的投射式電容觸控螢幕,其觸控控制裝置通常會使用互電容偵測的方式,令一部分或全部的電極發出驅動信號,以便偵測近接觸控螢幕的外部導電物件。所發出的驅動信號與其諧振頻率的信號,會對同一電子裝置的其他天線與無線裝置造成電磁干擾。反之,同一電子裝置的其他天線與無線裝置造成電磁干擾。 For example, in the conventional projected capacitive touch screen, the touch control device usually uses mutual capacitance detection to make some or all of the electrodes emit driving signals to detect the external conductive objects of the near-contact control screen. The signal of the driving signal and its resonant frequency will cause electromagnetic interference to other antennas and wireless devices of the same electronic device. Conversely, other antennas of the same electronic device cause electromagnetic interference with the wireless device.
當觸控螢幕想要偵測主動觸控筆的電信號時,其觸控控制裝置除了接收到主動觸控筆的電信號之外,還會受到各式各樣的電子干擾。 因此,如何在受到干擾的情況下,能夠提高主動觸控筆所發出之電信號的偵測率,進而得知主動觸控筆在觸控螢幕上的近接位置,以及主動觸控筆上之感測器的感測值,是市場上亟需的技術。 When the touch screen wants to detect the electrical signal of the active stylus, the touch control device receives various electrical interferences in addition to the electrical signals of the active stylus. Therefore, how to improve the detection rate of the electrical signal emitted by the active stylus in the case of interference, and thereby know the proximity position of the active stylus on the touch screen and the sense of the active stylus The sensed value of the detector is a technology that is urgently needed on the market.
在一實施例中,本發明提供一種解算展頻信號的方法,適用於一觸控螢幕,該觸控螢幕包含平行於第一軸的複數條第一電極與平行於第二軸的複數條第二電極,該解算展頻信號的方法包含:將該複數條第二電極之至少兩條連接為一同步信道;利用一第一虛擬亂數碼解算該同步信道所接收信號之一第一信號框之一第一前置碼,以取得一第一同步訊息;以及利用該第一同步訊息與該第一虛擬亂數碼,將至少一條該第一電極所接收信號當中位於該第一前置碼後續的一第一資料碼進行解碼。 In one embodiment, the present invention provides a method for solving a spread spectrum signal, which is suitable for a touch screen, the touch screen includes a plurality of first electrodes parallel to the first axis and a plurality of lines parallel to the second axis a second electrode, the method for solving the spread spectrum signal includes: connecting at least two of the plurality of second electrodes to a synchronization channel; and using a first virtual random number to solve one of the received signals of the synchronization channel a first preamble of the signal frame to obtain a first synchronization message; and using the first synchronization message and the first virtual chaos digit, at least one of the signals received by the first electrode is located at the first preamble A first data code subsequent to the code is decoded.
其中上述之第一信號框來自近接於該觸控螢幕的一第一主動觸控筆,該第一資料碼至少包含下列型態的訊息之一:筆尖所受的壓力;按鈕是否被按下的感測值;陀螺儀的姿態感測值;加速度計的加速度感測值;電池電量的感測值;筆身流水編號值;以及筆身所接受的無線信號強度等。 The first signal frame is from a first active stylus that is adjacent to the touch screen. The first data code includes at least one of the following types of information: the pressure received by the pen tip; whether the button is pressed. Sensing value; attitude sensing value of the gyroscope; acceleration sensing value of the accelerometer; sensing value of the battery power; the running water number value of the pen body; and the wireless signal strength accepted by the pen body.
其中上述之同步信道連接所有的該第二電極。 The synchronization channel described above connects all of the second electrodes.
其中上述之用於解算該第一資料碼的電信號來自於接收電信號量最大的該第一電極。 The electrical signal used to solve the first data code is derived from the first electrode that receives the largest amount of electrical signals.
其中上述之用於解算該第一資料碼的電信號來自於多條該第一電極。該解算展頻信號的方法更包含:根據該第一同步訊息計算該多條第一電極的信號相關值的多個偏差值;以及根據該多個偏差值計算該第 一主動觸控筆在該第二軸的位置。 The electrical signal for solving the first data code is from a plurality of the first electrodes. The method for solving the spread spectrum signal further includes: calculating a plurality of deviation values of the signal correlation values of the plurality of first electrodes according to the first synchronization message; and calculating the number according to the plurality of deviation values An active stylus is positioned at the second axis.
該解算展頻信號的方法更包含:利用一第二虛擬亂數碼解算該同步信道所接收信號之一第二信號框之一第二前置碼,以取得一第二同步訊息;以及利用該第二同步訊息與該第二虛擬亂數碼,將至少一第一電極所接收信號當中位於該第二前置碼後續的一第二資料碼進行解碼,其中上述之第二信號框來自近接於該觸控螢幕的一第二主動觸控筆。 The method for solving the spread spectrum signal further includes: calculating, by using a second virtual random number, a second preamble of the second signal frame of one of the signals received by the synchronization channel to obtain a second synchronization message; and utilizing The second synchronization message and the second virtual random number decode a second data code of the second preamble received by the at least one first electrode, wherein the second signal frame is from the proximity A second active stylus of the touch screen.
其中上述之第一信號框與第二信號框至少有部分為同時出現在該第一電極所接收信號中。 The first signal frame and the second signal frame are at least partially present in the signal received by the first electrode at the same time.
在一實施例中,本發明提供一種解算展頻信號的觸控系統,包含:一觸控螢幕,該觸控螢幕包含平行於第一軸的複數條第一電極與平行於第二軸的複數條第二電極;以及連接到該複數條第一電極與該複數條第二電極的一觸控處理裝置,該觸控處理裝置用於:將複數條第二電極之至少兩條連接為一同步信道;利用一第一虛擬亂數碼解算該同步信道所接收信號之一第一信號框之一第一前置碼,以取得一第一同步訊息;以及利用該第一同步訊息與該第一虛擬亂數碼,將至少一第一電極所接收信號當中位於該第一前置碼後續的一第一資料碼進行解碼。 In one embodiment, the present invention provides a touch system for solving a spread spectrum signal, comprising: a touch screen, the touch screen includes a plurality of first electrodes parallel to the first axis and parallel to the second axis a plurality of second electrodes; and a touch processing device connected to the plurality of first electrodes and the plurality of second electrodes, wherein the touch processing device is configured to: connect at least two of the plurality of second electrodes into one a synchronization channel; using a first virtual random number to solve a first preamble of one of the first signal frames of the received signal of the synchronization channel to obtain a first synchronization message; and using the first synchronization message and the first a virtual random number, wherein at least one first data code received by the first electrode is decoded by a first data code subsequent to the first preamble.
在一實施例中,本發明提供一種解算展頻信號的觸控處理裝置,用於連接一觸控螢幕上平行於第一軸的複數條第一電極與平行於第二軸的複數條第二電極,該觸控處理裝置用於:將複數條第二電極之至少兩條連接為一同步信道;利用一第一虛擬亂數碼解算該同步信道所接收信號之一第一信號框之一第一前置碼,以取得一第一同步訊息;以及利用該第一同步訊息與該第一虛擬亂數碼,將至少一第一電極所接收信號當中位於 該第一前置碼後續的一第一資料碼進行解碼。 In one embodiment, the present invention provides a touch processing device for solving a spread spectrum signal, which is configured to connect a plurality of first electrodes parallel to a first axis on a touch screen and a plurality of lines parallel to the second axis a second electrode, the touch processing device is configured to: connect at least two of the plurality of second electrodes into a synchronization channel; and use one of the first virtual random numbers to solve one of the first signal frames of the received signal of the synchronization channel a first preamble to obtain a first synchronization message; and using the first synchronization message and the first virtual random number to locate at least one of the signals received by the first electrode A first data code subsequent to the first preamble is decoded.
其中上述之第一信號框來自近接於該觸控螢幕的一第一主動觸控筆,該第一資料碼至少包含下列型態的訊息之一:筆尖所受的壓力;按鈕是否被按下的感測值;陀螺儀的姿態感測值;加速度計的加速度感測值;電池電量的感測值;筆身流水編號值;以及筆身所接受的無線信號強度等。 The first signal frame is from a first active stylus that is adjacent to the touch screen. The first data code includes at least one of the following types of information: the pressure received by the pen tip; whether the button is pressed. Sensing value; attitude sensing value of the gyroscope; acceleration sensing value of the accelerometer; sensing value of the battery power; the running water number value of the pen body; and the wireless signal strength accepted by the pen body.
其中上述之同步信道連接所有的該第二電極。 The synchronization channel described above connects all of the second electrodes.
其中上述之用於解算該第一資料碼的電信號來自於接收電信號量最大的該第一電極。 The electrical signal used to solve the first data code is derived from the first electrode that receives the largest amount of electrical signals.
其中上述之用於解算該第一資料碼的電信號來自於多條該第一電極。該觸控處理裝置更用於:根據該第一同步訊息計算該多條第一電極的信號相關值的多個偏差值;以及根據該多個偏差值計算該第一主動觸控筆在該第二軸的位置。 The electrical signal for solving the first data code is from a plurality of the first electrodes. The touch processing device is further configured to: calculate a plurality of deviation values of the signal correlation values of the plurality of first electrodes according to the first synchronization message; and calculate the first active stylus according to the plurality of deviation values The position of the two axes.
該觸控處理裝置更用於:利用一第二虛擬亂數碼解算該同步信道所接收信號之一第二信號框之一第二前置碼,以取得一第二同步訊息;以及利用該第二同步訊息與該第二虛擬亂數碼,將至少一第一電極所接收信號當中位於該第二前置碼後續的一第二資料碼進行解碼,其中上述之第二信號框來自近接於該觸控螢幕的一第二主動觸控筆。 The touch processing device is further configured to: use a second virtual random number to solve a second preamble of one of the second signal frames received by the synchronization channel to obtain a second synchronization message; and utilize the first The second synchronization message and the second virtual random number decode a second data code of the second preamble received by the at least one first electrode, wherein the second signal frame is from the proximity A second active stylus for controlling the screen.
其中上述之第一信號框與第二信號框至少有部分為同時出現在該第一電極所接收信號中。 The first signal frame and the second signal frame are at least partially present in the signal received by the first electrode at the same time.
因此,在受到干擾的情況下,本發明能夠使用碼分多址的展頻技術提高主動觸控筆所發出之電信號的偵測率,進而得知主動觸控筆在 觸控螢幕上的近接位置,以及主動觸控筆上之感測器的感測值。本發明的優點在於,觸控處理裝置能夠迅速的在一個信號框內就能夠快速地同步以直接序列展頻調變的電信號,並且解算出主動觸控筆所發出的資料碼。本發明的另一優點在於,當有多個主動觸控筆同時運作時,可以同時讓這些主動觸控筆發出信號。只要這些主動觸控筆使用不同的虛擬亂數碼,即便它們同時發出信號,觸控處理裝置都能夠在接收信號中分辨出它們所發出的信號框與資料碼。 Therefore, in the case of interference, the present invention can use the spread spectrum technology of code division multiple access to improve the detection rate of the electrical signal emitted by the active stylus, and further know that the active stylus is The proximity position on the touch screen and the sensed value of the sensor on the active stylus. The invention has the advantages that the touch processing device can quickly synchronize the electric signals modulated by the direct sequence spread spectrum in one signal frame, and solve the data code sent by the active stylus. Another advantage of the present invention is that when there are multiple active styluses operating simultaneously, the active stylus can be simultaneously signaled. As long as these active styluses use different virtual garbled numbers, even if they simultaneously emit signals, the touch processing device can distinguish the signal frame and the data code they send out in the received signal.
100‧‧‧觸控電子裝置 100‧‧‧Touch electronic device
111‧‧‧第一主動觸控筆 111‧‧‧First active stylus
112‧‧‧第二主動觸控筆 112‧‧‧Second active stylus
120‧‧‧觸控螢幕 120‧‧‧ touch screen
121‧‧‧第一電極 121‧‧‧First electrode
122‧‧‧第二電極 122‧‧‧second electrode
130‧‧‧觸控處理裝置 130‧‧‧Touch processing device
140‧‧‧主機 140‧‧‧Host
310~350‧‧‧步驟 310~350‧‧‧Steps
第一圖為展頻技術的波形示意圖。 The first picture is a waveform diagram of the spread spectrum technology.
第二圖為根據本發明一實施例的一觸控電子裝置的架構圖。 The second figure is an architectural diagram of a touch electronic device according to an embodiment of the invention.
第三圖為根據本發明一實施例的一解算展頻信號方法的流程示意圖。 The third figure is a schematic flow chart of a method for solving a spread spectrum signal according to an embodiment of the invention.
本發明將詳細描述一些實施例如下。然而,除了所揭露的實施例外,本發明亦可以廣泛地運用在其他的實施例施行。本發明的範圍並不受該些實施例的限定,乃以其後的申請專利範圍為準。而為提供更清楚的描述及使熟悉該項技藝者能理解本發明的發明內容,圖示內各部分並沒有依照其相對的尺寸而繪圖,某些尺寸與其他相關尺度的比例會被突顯而顯得誇張,且不相關的細節部分亦未完全繪出,以求圖示的簡潔。 The invention will be described in detail below with some embodiments. However, the invention may be applied to other embodiments in addition to the disclosed embodiments. The scope of the present invention is not limited by the embodiments, which are subject to the scope of the claims. To provide a clearer description and to enable those skilled in the art to understand the invention, the various parts of the drawings are not drawn according to their relative dimensions, and the ratio of certain dimensions to other related dimensions will be highlighted. The exaggerated and irrelevant details are not completely drawn to illustrate the simplicity of the illustration.
碼分多重存取技術(CDMA)是第三代行動通信服務所採用的無線展頻通信技術。在無線通信技術中,展頻指的是載波信號本身所耗用的頻寬(bandwidth)要超過載波信號所載內容的頻寬。使用較大頻寬的載波信 號更能夠容許在傳輸過程中所受的干擾噪訊信號。展頻技術的其中一種為直接序列展頻(Direct Sequence Spreading Spectrum,DSSS)的調變技術。DSSS調變技術係利用一種稱之為虛擬噪訊(PN,Pseudo Noise)的位元序列碼。這個位元序列碼或PN碼包含了多個短周期的脈衝波,每一個脈衝波的週期或稱之為chip,每個chip的週期要比資料碼的週期短。換言之,PN碼所占用的頻寬要高於資料碼。將頻寬較低的資料碼調變成頻寬較高的PN碼,意味著所調變出來的載波信號的頻寬將和PN碼的頻寬一致。 Code Division Multiple Access (CDMA) is a wireless spread spectrum communication technology used in third generation mobile communication services. In wireless communication technology, spread spectrum refers to the bandwidth used by the carrier signal itself to exceed the bandwidth of the content carried by the carrier signal. Use a larger bandwidth carrier letter The number is more capable of tolerating the interference noise signal received during transmission. One of the spread spectrum techniques is the direct sequence spreading spectrum (DSSS) modulation technique. The DSSS modulation technique utilizes a bit sequence code called virtual noise (PN, Pseudo Noise). The bit sequence code or PN code contains a plurality of short-period pulse waves, and the period of each pulse wave is called chip, and the period of each chip is shorter than the period of the data code. In other words, the PN code occupies a higher bandwidth than the data code. The modulation of the lower bandwidth data code into the PN code with higher bandwidth means that the bandwidth of the modulated carrier signal will be consistent with the bandwidth of the PN code.
在載波信號的調變過程中,主要是將資料碼與PN碼相乘,而這裡所謂的PN碼,通常是虛擬亂數序列(pseudo random sequence),這個序列通常包含1與-1的組合。PN碼的特性是當PN碼乘以PN碼時,也就是1x1=1,-1x-1=1,就會還原回原值。這個步驟稱之為解展頻(de-spreading)。換言之,當接收端也同樣知道這串PN碼的時候,只要進行解展頻的動作,就可以得知載波信號所含的內容碼。 In the modulation process of the carrier signal, the data code is mainly multiplied by the PN code, and the so-called PN code here is usually a pseudo random sequence, and the sequence usually includes a combination of 1 and -1. The characteristic of the PN code is that when the PN code is multiplied by the PN code, that is, 1x1=1, -1x-1=1, the original value is restored. This step is called de-spreading. In other words, when the receiving end also knows the PN code, the content code contained in the carrier signal can be known as long as the despreading action is performed.
請參考第一圖所示,其為展頻技術的波形示意圖。在第一圖最上方的波形為資料碼,中間的波形為虛擬亂數碼,也就是所謂的PN碼,最下方為載波信號的波形。可以知道,當資料碼的電位為高時,載波信號的波形與PN碼的波形剛好相反。當資料碼的電位為低時,載波信號的波形就等同於PN碼的波形。換言之,當接收端將載波信號與PN碼相比,當波形相反時,則可以推知資料碼的電位為高。反之,當載波信號與PN碼的波形相同時,可以推知資料碼的電位為低。據此,只要知道PN碼,接收端就能回推資料碼。 Please refer to the first figure, which is a waveform diagram of the spread spectrum technology. The waveform at the top of the first figure is the data code, the middle waveform is the virtual random number, which is the so-called PN code, and the bottom is the waveform of the carrier signal. It can be known that when the potential of the data code is high, the waveform of the carrier signal is exactly opposite to the waveform of the PN code. When the potential of the data code is low, the waveform of the carrier signal is equivalent to the waveform of the PN code. In other words, when the receiving end compares the carrier signal with the PN code, when the waveforms are opposite, it can be inferred that the potential of the data code is high. On the other hand, when the carrier signal is the same as the waveform of the PN code, it can be inferred that the potential of the data code is low. According to this, as long as the PN code is known, the receiving end can push back the data code.
請參考第二圖所示,其為根據本發明一實施例的一觸控電子 裝置100的架構圖。該觸控電子裝置100包含一觸控面板或觸控螢幕120(以後皆以觸控螢幕代稱兩者),該觸控螢幕120包含複數條平行於第一軸的第一電極121與複數條平行於第二軸的第二電極122,分別連接到一觸控處理裝置130。通常第一軸與第二軸垂直。該觸控處理裝置130再連接到一主機端140,用於回報觸控相關資訊。在該實施例中,觸控相關資訊可以包含一第一主動觸控筆111與一第二主動觸控筆112的相關訊息,也可以包含其他不會主動發出電信號之外部導電物件的訊息。 Please refer to the second figure, which is a touch electronic device according to an embodiment of the invention. An architectural diagram of device 100. The touch control device 100 includes a touch panel or a touch screen 120 (both of which are referred to as touch screens in the future). The touch screen 120 includes a plurality of first electrodes 121 parallel to the first axis and a plurality of parallel lines. The second electrodes 122 on the second axis are respectively connected to a touch processing device 130. Usually the first axis is perpendicular to the second axis. The touch processing device 130 is further connected to a host end 140 for reporting touch related information. In this embodiment, the touch related information may include a related information of the first active stylus 111 and the second active stylus 112, and may also include other information of the external conductive object that does not actively emit an electrical signal.
在某些實施例中,可以令主動觸控筆111或112將筆上的各感測器的感測值編成上述的資料碼。所謂的感測器之感測值可以包含但不限於下列幾種:筆尖所受的壓力值、按鈕是否被按下的感測值、陀螺儀的姿態感測值、加速度計的加速度感測值、電池電量的感測值、筆身流水編號值、筆身所接受的無線信號強度等。接著主動觸控筆111或112根據某個PN碼,將上述的資料碼編成經過展頻後的載波信號。然後,透過筆尖將包含載波信號的電信號發出,使得觸控螢幕的觸控處理裝置接收該電信號之後,至少可以獲得以下幾種訊息:主動觸控筆111或112近接於觸控螢幕的位置、主動觸控筆111或112所使用的PN碼形式、以及前述的資料碼之內容。 In some embodiments, the active stylus 111 or 112 can be used to encode the sensed values of the sensors on the pen into the data codes described above. The sensing value of the so-called sensor may include, but is not limited to, the following: the pressure value received by the pen tip, the sensing value of whether the button is pressed, the attitude sensing value of the gyroscope, and the acceleration sensing value of the accelerometer. The sensed value of the battery power, the serial number of the pen, and the wireless signal strength accepted by the pen body. Then, the active stylus 111 or 112 encodes the above-mentioned data code into a spread-spectrum carrier signal according to a certain PN code. Then, the electrical signal including the carrier signal is sent through the tip of the pen, so that after the touch processing device of the touch screen receives the electrical signal, at least the following messages can be obtained: the active stylus 111 or 112 is closely adjacent to the touch screen. The form of the PN code used by the active stylus 111 or 112 and the content of the aforementioned data code.
在上述的過程中,接收端的觸控處理裝置130必須要將接收的載波信號與PN碼同步對齊,才能得到正確的資料碼。然而,當主動觸控筆111或112發出電信號時,觸控處理裝置130未必能夠立即同步,也就難以解算出資料碼。 In the above process, the touch processing device 130 at the receiving end must synchronously align the received carrier signal with the PN code to obtain the correct data code. However, when the active stylus 111 or 112 emits an electrical signal, the touch processing device 130 may not be able to synchronize immediately, and it is difficult to solve the data code.
接收端通常可以將所接收的已知載波信號或自己產生的局部震盪信號(Local Oscillator,LO)與已知的PN碼的乘積延遲某一段時間,再將 兩者進行乘積,此步驟或稱之為相關計算(correlation)。當兩個信號不同步的時候,所計算出的相關值就不會超過一門檻值。反之,當兩者同步的時候,所計算出的相關值就會超出該門檻值。當兩者不同步的時候,接收端可以反覆地調整其延遲時間,直到兩者同步對齊為止。 The receiving end can usually delay the product of the received known carrier signal or the local Oscillator (LO) generated by itself and the known PN code for a certain period of time, and then The product is multiplied, and this step is called correlation. When the two signals are out of sync, the calculated correlation value will not exceed a threshold. Conversely, when the two are synchronized, the calculated correlation value will exceed the threshold. When the two are not synchronized, the receiving end can repeatedly adjust its delay time until the two are aligned.
在本發明的一實施例中,主動觸控筆所發出的電信號或載波信號中,可以包含一個信號框(frame),信號框內包含一前置碼(preamble code)與其後的一資料碼段。上述的資料碼段可以用於傳送觸控筆上之感測器的感測狀態。比方說,觸控筆上的按鈕是否被按下,以及觸控筆端所感受的壓力值等等的感測值。 In an embodiment of the invention, the electrical signal or the carrier signal sent by the active stylus may include a signal frame, and the signal frame includes a preamble code followed by a data code. segment. The above data segment can be used to transmit the sensing state of the sensor on the stylus. For example, whether the button on the stylus is pressed, and the sensed value of the pressure value felt by the stylus end, and the like.
在本實施例的一變化中,主動觸控筆111或112可以每隔一段時間就發出上述完整的信號框,以便告知其感測器狀態。在另一變化中,不同的主動觸控筆可以具有不同的前置碼與/或PN碼,使得觸控處理裝置130得以辨識出兩支以上同時接近或接觸觸控螢幕120的主動觸控筆。例如,第一主動觸控筆111發出以第一PN碼調變的一第一前置碼,第二主動觸控筆111發出以第二PN碼調變的第二前置碼。觸控處理裝置130可以將所收到的訊號分別以第一PN碼與第二PN碼解調變或解展頻,就可以判斷收到第一前置碼與第二前置碼。 In a variation of this embodiment, the active stylus 111 or 112 can issue the complete signal frame at regular intervals to inform its sensor status. In another variation, the different active styluses may have different preambles and/or PN codes, so that the touch processing device 130 can recognize two or more active styluses that simultaneously approach or touch the touch screen 120. . For example, the first active stylus 111 emits a first preamble modulated by the first PN code, and the second active stylus 111 emits a second preamble modulated by the second PN code. The touch processing device 130 can demodulate or despread the received signals by using the first PN code and the second PN code, respectively, to determine that the first preamble and the second preamble are received.
當觸控處理裝置130得知電信號中包含兩個前置碼時,根據其所分別對應的第一PN碼與第二PN碼,就可以判斷第一主動觸控筆111與第二主動觸控筆112近接該觸控螢幕120。更由於觸控處理裝置130知道第一PN碼與第二PN碼的時機,就可以分別和第一主動觸控筆111與第二主動觸控筆112所發出的信號框進行同步,接著對信號框後的資料碼段進行解碼。 When the touch processing device 130 knows that the electrical signal includes two preambles, the first active stylus 111 and the second active touch can be determined according to the first PN code and the second PN code respectively corresponding thereto. The control pen 112 is in close proximity to the touch screen 120. Further, since the touch processing device 130 knows the timing of the first PN code and the second PN code, it can synchronize with the signal frame sent by the first active stylus 111 and the second active stylus 112, respectively, and then the signal The data segment after the frame is decoded.
在本發明的一實施例當中,為了快速同步起見,將複數條或全部的第二電極122連接到同一線路或同一信道(channel),在此可稱之為同步線路或同步信道。由觸控處理裝置130負責對該同步線路或該同步信道進行量測,並且針對已知的前置碼做同步的動作。 In an embodiment of the invention, for the sake of fast synchronization, a plurality or all of the second electrodes 122 are connected to the same line or the same channel, which may be referred to herein as a synchronization line or a synchronization channel. The touch processing device 130 is responsible for measuring the synchronization line or the synchronization channel and performing a synchronized action on the known preamble.
本領域的普通技術人員可以理解到,當觸控處理裝置130已知PN碼與欲傳送之前置碼時,能夠利用習知技術對載波信號進行同步,或是找到載波信號與局部震盪信號的相位差(phase shift)。當確認兩者之間的相位差後,則可以令接收到電信號的第一電極121做後續資料碼段的解碼,以便得知主動觸控筆111或112所傳送的感測器狀態。 A person skilled in the art can understand that when the touch processing device 130 knows the PN code and the code to be transmitted before, the carrier signal can be synchronized by using a conventional technique, or the carrier signal and the local oscillation signal can be found. Phase shift. After confirming the phase difference between the two, the first electrode 121 receiving the electrical signal can be decoded as a subsequent data segment to know the sensor state transmitted by the active stylus 111 or 112.
在本發明的一實施例中,上述的解碼步驟,可以只針對一條第一電極121所接收的載波信號進行後續資料碼段的解碼。而用於解碼的第一電極121的載波信號為所有第一電極121與/或第二電極122的信號量最大者。 In an embodiment of the invention, the decoding step may perform decoding of the subsequent data code segment only for the carrier signal received by the one first electrode 121. The carrier signal of the first electrode 121 for decoding is the one with the largest amount of signals of all the first electrodes 121 and/or the second electrodes 122.
在本發明的另一實施例中,可以對複數條第一電極121所接收的載波信號進行資料碼段的解碼步驟,所得到的資料碼應該是一致的。當有不一致的時候,可以取多數相同者為其資料碼。 In another embodiment of the present invention, the data signal segment can be decoded by the carrier signals received by the plurality of first electrodes 121, and the obtained data codes should be consistent. When there are inconsistencies, most of the same can be taken as their data code.
除此之外,複數條第一電極121所接收的載波信號當中,經過所得的相位差調整之後,與局部震盪信號最相關者,應該是噪訊最小的,通常就是最靠近主動觸控筆111或112之近接位置的第一電極121。據此,還可以根據各條第一電極121所接收之載波信號經過上述相位差調整後的多個相關值的偏差值,計算該主動觸控筆111或112與各條第一電極121的位置。換言之,也能夠計算出主動觸控筆111在第二軸的座標。 In addition, among the carrier signals received by the plurality of first electrodes 121, after the phase difference adjustment is obtained, the one that is most correlated with the local oscillation signal should be the least noise, usually closest to the active stylus 111. Or the first electrode 121 of the proximity location of 112. According to this, the position of the active stylus 111 or 112 and each of the first electrodes 121 can be calculated according to the deviation values of the plurality of correlation values after the phase difference adjustment of the carrier signals received by the first electrodes 121. . In other words, the coordinates of the active stylus 111 on the second axis can also be calculated.
請參考第三圖所示,其為根據本發明一實施例的一解算展頻信號方法的流程示意圖。第二圖的觸控處理裝置130可以實施第三圖的流程,無論是用軟體、硬體或軟硬體合併的方式實作。值得注意的是,除非各個步驟之間有因果關係,否則第三圖的步驟編號並不影響步驟所執行的先後次序。步驟之間也可以***其他和本發明不相關的步驟。 Please refer to the third figure, which is a schematic flowchart of a method for solving a spread spectrum signal according to an embodiment of the invention. The touch processing device 130 of the second figure can implement the flow of the third figure, whether implemented by a combination of software, hardware or software and hardware. It is worth noting that unless there is a causal relationship between the steps, the step number of the third figure does not affect the order in which the steps are performed. Other steps not related to the present invention may also be inserted between the steps.
步驟310:將複數條第二電極之至少兩條連接為一同步信道。觸控處理裝置130可以使用類比開關或數位加法器的方式實施本步驟。在一變化中,上述之同步信道連接所有的該第二電極。 Step 310: Connect at least two of the plurality of second electrodes as a synchronization channel. The touch processing device 130 can implement this step using an analog switch or a digital adder. In one variation, the synchronization channel described above connects all of the second electrodes.
步驟320:利用一第一虛擬亂數碼解算該同步信道所接收信號之一第一信號框之一第一前置碼,以取得一第一同步訊息。 Step 320: Decompose a first preamble of one of the first signal frames of the received signal of the synchronization channel by using a first virtual random number to obtain a first synchronization message.
步驟330:利用該第一同步訊息與該第一虛擬亂數碼,將至少一第一電極所接收信號當中位於該第一前置碼後續的一第一資料碼進行解碼。 Step 330: Decode a first data code located in the first preamble among the received signals of the at least one first electrode by using the first synchronization message and the first virtual random number.
在一變化中,上述之用於解算該第一資料碼的電信號來自於接收電信號量最大的該第一電極。在另一變化中,上述之用於解算該第一資料碼的電信號來自於多條該第一電極。在一衍生變化中,該方法還包含:根據該第一同步訊息計算該多條第一電極的信號相關值的多個偏差值;以及根據該多個偏差值計算該第一主動觸控筆在該第二軸的位置。 In a variation, the electrical signal for solving the first data code is derived from the first electrode that receives the largest amount of electrical signals. In another variation, the electrical signal for solving the first data code is derived from a plurality of the first electrodes. In a derivative change, the method further includes: calculating a plurality of deviation values of the signal correlation values of the plurality of first electrodes according to the first synchronization message; and calculating the first active stylus according to the plurality of deviation values The position of the second axis.
步驟340:利用一第二虛擬亂數碼解算該同步信道所接收信號之一第二信號框之一第二前置碼,以取得一第二同步訊息。 Step 340: Decompose a second preamble of one of the second signal frames of the received signal of the synchronization channel by using a second virtual random number to obtain a second synchronization message.
在一變化中,上述之用於解算該第二資料碼的電信號來自於接收電信號量最大的該第一電極。在另一變化中,上述之用於解算該第二 資料碼的電信號來自於多條該第一電極。在一衍生變化中,該方法還包含:根據該第二同步訊息計算該多條第一電極的信號相關值的多個偏差值;以及根據該多個偏差值計算該第二主動觸控筆在該第二軸的位置。 In a variation, the electrical signal for solving the second data code is derived from the first electrode that receives the largest amount of electrical signals. In another variation, the above is used to solve the second The electrical signal of the data code is derived from a plurality of the first electrodes. In a derivative change, the method further includes: calculating a plurality of deviation values of the signal correlation values of the plurality of first electrodes according to the second synchronization message; and calculating the second active stylus according to the plurality of deviation values The position of the second axis.
本發明的優點在於,觸控處理裝置130能夠迅速的在一個信號框內就能夠快速地同步以DSSS調變的電信號,並且解算出主動觸控筆111與/或112所發出的資料碼段。本發明的另一優點在於,當有多個主動觸控筆111與112同時運作時,可以同時讓這些主動觸控筆發出信號。只要這些主動觸控筆使用不同的PN碼,即便它們同時發出信號,觸控處理裝置130都能夠在接收信號中分辨出它們所發出的信號框與資料碼。 An advantage of the present invention is that the touch processing device 130 can quickly synchronize the electrical signals modulated by the DSSS in one signal frame, and calculate the data segments sent by the active stylus 111 and/or 112. . Another advantage of the present invention is that when there are multiple active styluses 111 and 112 operating simultaneously, the active stylus can be simultaneously signaled. As long as these active styluses use different PN codes, even if they simultaneously emit signals, the touch processing device 130 can distinguish the signal frames and data codes that they send out in the received signals.
在一實施例中,本發明提供一種解算展頻信號的方法,適用於一觸控螢幕,該觸控螢幕包含平行於第一軸的複數條第一電極與平行於第二軸的複數條第二電極,該解算展頻信號的方法包含:將該複數條第二電極之至少兩條連接為一同步信道;利用一第一虛擬亂數碼解算該同步信道所接收信號之一第一信號框之一第一前置碼,以取得一第一同步訊息;以及利用該第一同步訊息與該第一虛擬亂數碼,將至少一條該第一電極所接收信號當中位於該第一前置碼後續的一第一資料碼進行解碼。 In one embodiment, the present invention provides a method for solving a spread spectrum signal, which is suitable for a touch screen, the touch screen includes a plurality of first electrodes parallel to the first axis and a plurality of lines parallel to the second axis a second electrode, the method for solving the spread spectrum signal includes: connecting at least two of the plurality of second electrodes to a synchronization channel; and using a first virtual random number to solve one of the received signals of the synchronization channel a first preamble of the signal frame to obtain a first synchronization message; and using the first synchronization message and the first virtual chaos digit, at least one of the signals received by the first electrode is located at the first preamble A first data code subsequent to the code is decoded.
其中上述之第一信號框來自近接於該觸控螢幕的一第一主動觸控筆,該第一資料碼至少包含下列型態的訊息之一:筆尖所受的壓力;按鈕是否被按下的感測值;陀螺儀的姿態感測值;加速度計的加速度感測值;電池電量的感測值;筆身流水編號值;以及筆身所接受的無線信號強度等。 The first signal frame is from a first active stylus that is adjacent to the touch screen. The first data code includes at least one of the following types of information: the pressure received by the pen tip; whether the button is pressed. Sensing value; attitude sensing value of the gyroscope; acceleration sensing value of the accelerometer; sensing value of the battery power; the running water number value of the pen body; and the wireless signal strength accepted by the pen body.
其中上述之同步信道連接所有的該第二電極。 The synchronization channel described above connects all of the second electrodes.
其中上述之用於解算該第一資料碼的電信號來自於接收電信號量最大的該第一電極。 The electrical signal used to solve the first data code is derived from the first electrode that receives the largest amount of electrical signals.
其中上述之用於解算該第一資料碼的電信號來自於多條該第一電極。 The electrical signal for solving the first data code is from a plurality of the first electrodes.
該解算展頻信號的方法更包含:根據該第一同步訊息計算該多條第一電極的信號相關值的多個偏差值;以及根據該多個偏差值計算該第一主動觸控筆在該第二軸的位置。 The method for calculating the spread spectrum signal further includes: calculating a plurality of deviation values of the signal correlation values of the plurality of first electrodes according to the first synchronization message; and calculating, according to the plurality of deviation values, the first active stylus The position of the second axis.
該解算展頻信號的方法更包含:利用一第二虛擬亂數碼解算該同步信道所接收信號之一第二信號框之一第二前置碼,以取得一第二同步訊息;以及利用該第二同步訊息與該第二虛擬亂數碼,將至少一第一電極所接收信號當中位於該第二前置碼後續的一第二資料碼進行解碼,其中上述之第二信號框來自近接於該觸控螢幕的一第二主動觸控筆。 The method for solving the spread spectrum signal further includes: calculating, by using a second virtual random number, a second preamble of the second signal frame of one of the signals received by the synchronization channel to obtain a second synchronization message; and utilizing The second synchronization message and the second virtual random number decode a second data code of the second preamble received by the at least one first electrode, wherein the second signal frame is from the proximity A second active stylus of the touch screen.
其中上述之第一信號框與第二信號框至少有部分為同時出現在該第一電極所接收信號中。 The first signal frame and the second signal frame are at least partially present in the signal received by the first electrode at the same time.
在一實施例中,本發明提供一種解算展頻信號的觸控系統,包含:一觸控螢幕,該觸控螢幕包含平行於第一軸的複數條第一電極與平行於第二軸的複數條第二電極;以及連接到該複數條第一電極與該複數條第二電極的一觸控處理裝置,該觸控處理裝置用於:將該複數條第二電極之至少兩條連接為一同步信道;利用一第一虛擬亂數碼解算該同步信道所接收信號之一第一信號框之一第一前置碼,以取得一第一同步訊息;以及利用該第一同步訊息與該第一虛擬亂數碼,將至少一條該第一電極所接收信號當中位於該第一前置碼後續的一第一資料碼進行解碼。 In one embodiment, the present invention provides a touch system for solving a spread spectrum signal, comprising: a touch screen, the touch screen includes a plurality of first electrodes parallel to the first axis and parallel to the second axis a plurality of second electrodes; and a touch processing device connected to the plurality of first electrodes and the plurality of second electrodes, wherein the touch processing device is configured to: connect at least two of the plurality of second electrodes to a synchronization channel; using a first virtual random number to solve a first preamble of one of the first signal frames of the received signal of the synchronization channel to obtain a first synchronization message; and using the first synchronization message and the The first virtual random number decodes at least one first data code that is subsequent to the first preamble among the signals received by the first electrode.
在一實施例中,本發明提供一種解算展頻信號的觸控處理裝置,用於連接一觸控螢幕上平行於第一軸的複數條第一電極與平行於第二軸的複數條第二電極,該觸控處理裝置用於:將該複數條第二電極之至少兩條連接為一同步信道;利用一第一虛擬亂數碼解算該同步信道所接收信號之一第一信號框之一第一前置碼,以取得一第一同步訊息;以及利用該第一同步訊息與該第一虛擬亂數碼,將至少一條該第一電極所接收信號當中位於該第一前置碼後續的一第一資料碼進行解碼。 In one embodiment, the present invention provides a touch processing device for solving a spread spectrum signal, which is configured to connect a plurality of first electrodes parallel to a first axis on a touch screen and a plurality of lines parallel to the second axis a second electrode, the touch processing device is configured to: connect at least two of the plurality of second electrodes into a synchronization channel; and use a first virtual random number to solve a first signal frame of the received signal of the synchronization channel a first preamble to obtain a first synchronization message; and using the first synchronization message and the first virtual random number, at least one of the signals received by the first electrode is located after the first preamble A first data code is decoded.
其中上述之第一信號框來自近接於該觸控螢幕的一第一主動觸控筆,該第一資料碼至少包含下列型態的訊息之一:筆尖所受的壓力;按鈕是否被按下的感測值;陀螺儀的姿態感測值;加速度計的加速度感測值;電池電量的感測值;筆身流水編號值;以及筆身所接受的無線信號強度等。 The first signal frame is from a first active stylus that is adjacent to the touch screen. The first data code includes at least one of the following types of information: the pressure received by the pen tip; whether the button is pressed. Sensing value; attitude sensing value of the gyroscope; acceleration sensing value of the accelerometer; sensing value of the battery power; the running water number value of the pen body; and the wireless signal strength accepted by the pen body.
其中上述之同步信道連接所有的該第二電極。 The synchronization channel described above connects all of the second electrodes.
其中上述之用於解算該第一資料碼的電信號來自於接收電信號量最大的該第一電極。 The electrical signal used to solve the first data code is derived from the first electrode that receives the largest amount of electrical signals.
其中上述之用於解算該第一資料碼的電信號來自於多條該第一電極。該觸控處理裝置更用於:根據該第一同步訊息計算該多條第一電極的信號相關值的多個偏差值;以及根據該多個偏差值計算該第一主動觸控筆在該第二軸的位置。 The electrical signal for solving the first data code is from a plurality of the first electrodes. The touch processing device is further configured to: calculate a plurality of deviation values of the signal correlation values of the plurality of first electrodes according to the first synchronization message; and calculate the first active stylus according to the plurality of deviation values The position of the two axes.
該觸控處理裝置更用於:利用一第二虛擬亂數碼解算該同步信道所接收信號之一第二信號框之一第二前置碼,以取得一第二同步訊息;以及利用該第二同步訊息與該第二虛擬亂數碼,將至少一第一電極所 接收信號當中位於該第二前置碼後續的一第二資料碼進行解碼,其中上述之第二信號框來自近接於該觸控螢幕的一第二主動觸控筆。 The touch processing device is further configured to: use a second virtual random number to solve a second preamble of one of the second signal frames received by the synchronization channel to obtain a second synchronization message; and utilize the first Two synchronization messages and the second virtual chaos digital, at least one first electrode A second data code located in the second preamble of the received signal is decoded, wherein the second signal frame is from a second active stylus that is adjacent to the touch screen.
其中上述之第一信號框與第二信號框至少有部分為同時出現在該第一電極所接收信號中。 The first signal frame and the second signal frame are at least partially present in the signal received by the first electrode at the same time.
310~350‧‧‧步驟 310~350‧‧‧Steps
Claims (17)
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610431622.9A CN106257383B (en) | 2015-06-16 | 2016-06-16 | Touch processing device, system and method for resolving spread spectrum signal |
US15/184,286 US10503318B2 (en) | 2015-06-16 | 2016-06-16 | Touch sensitive processing apparatus and system for despreading and method thereof |
US16/673,230 US10895921B2 (en) | 2013-11-08 | 2019-11-04 | Touch sensitive processing apparatus, system and operating method thereof for receiving electrical signals carrying pressure information |
US16/672,862 US11392221B2 (en) | 2013-11-08 | 2019-11-04 | Touch sensitive processing apparatus, system and operating method thereof for receiving electrical signals carrying pressure information |
US16/672,851 US11409379B2 (en) | 2013-11-08 | 2019-11-04 | Stylus and operating method thereof for transmitting electrical signals carrying pressure information |
US16/673,089 US10890987B2 (en) | 2013-11-08 | 2019-11-04 | Stylus and operating method thereof for transmitting electrical signals carrying pressure information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201562180272P | 2015-06-16 | 2015-06-16 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201701118A true TW201701118A (en) | 2017-01-01 |
TWI603228B TWI603228B (en) | 2017-10-21 |
Family
ID=58400737
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW104144644A TWI603228B (en) | 2013-11-08 | 2015-12-31 | Touch sensitive processing apparatus and system for despreading and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI603228B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112783345A (en) * | 2019-11-04 | 2021-05-11 | 禾瑞亚科技股份有限公司 | Touch processing device and method for receiving electric signal carrying pressure information |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7388881B2 (en) * | 2004-03-02 | 2008-06-17 | Ittiam Systems (P) Ltd. | Method and apparatus for frame synchronization |
KR101773612B1 (en) * | 2011-01-13 | 2017-08-31 | 삼성전자주식회사 | Apparatus for determining touch position and method for the same |
US9569015B2 (en) * | 2014-06-05 | 2017-02-14 | Htc Corporation | Electronic system, touch stylus and data transmission method between electronic apparatus and touch stylus |
-
2015
- 2015-12-31 TW TW104144644A patent/TWI603228B/en active
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112783345A (en) * | 2019-11-04 | 2021-05-11 | 禾瑞亚科技股份有限公司 | Touch processing device and method for receiving electric signal carrying pressure information |
CN112783344A (en) * | 2019-11-04 | 2021-05-11 | 禾瑞亚科技股份有限公司 | Touch processing device and method for receiving electric signal carrying pressure information |
CN112783342A (en) * | 2019-11-04 | 2021-05-11 | 禾瑞亚科技股份有限公司 | Stylus for transmitting electrical signal with pressure information and operation method thereof |
CN112783344B (en) * | 2019-11-04 | 2024-06-11 | 禾瑞亚科技股份有限公司 | Touch processing device and method for receiving electric signal carrying pressure information |
CN112783342B (en) * | 2019-11-04 | 2024-07-02 | 禾瑞亚科技股份有限公司 | Touch pen for transmitting electric signal with pressure information and operation method thereof |
CN112783345B (en) * | 2019-11-04 | 2024-07-02 | 禾瑞亚科技股份有限公司 | Touch processing device and method for receiving electric signal carrying pressure information |
Also Published As
Publication number | Publication date |
---|---|
TWI603228B (en) | 2017-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9524048B2 (en) | Three-dimensional (3D) interactive method and system | |
US10503318B2 (en) | Touch sensitive processing apparatus and system for despreading and method thereof | |
CN102906590B (en) | Two-way ranging messaging scheme | |
CN110663014B (en) | Multi-protocol communication between a host device and a stylus device | |
US10861323B2 (en) | Method carried out in system including active stylus and sensor controller, sensor controller, and active stylus | |
JP2012253744A (en) | Method for receiving channel selection information | |
WO2014151136A1 (en) | Method and apparatus for dynamic configuration of packet preambles for synchronization-based transmissions | |
CN112000248B (en) | Noise detection method, active pen and screen | |
US10353493B2 (en) | Apparatus and method of pen detection at a digitizer | |
KR20210137188A (en) | Transmission method, network device and terminal | |
TWI603228B (en) | Touch sensitive processing apparatus and system for despreading and method thereof | |
EP3510753B1 (en) | Acoustic-based communication between devices | |
CN109831287B (en) | Signal synchronization method, device, system, computer equipment and storage medium | |
WO2017208594A1 (en) | Wireless device, communication device, control method, and wireless control method | |
CN111308519A (en) | Navigation satellite capturing method, device, equipment and medium | |
US8873691B2 (en) | Generating codes for sync words to avoid cyclic collision | |
KR100667785B1 (en) | Synchronization method, apparatus therefor and location awareness method and apparatus therefor in chaotic communication system | |
US8654783B2 (en) | Method for channel switching and device for communication | |
CN111065149B (en) | System message acquisition method, device, user equipment and storage medium | |
WO2024001063A1 (en) | Signal transmission method, device and system | |
CN109639315B (en) | Mobile terminal pseudo-random sequence processing method, device and storage medium | |
Kamioka et al. | Stable vibration-based communication scheme using multi-step ASK and PPM techniques | |
KR101386634B1 (en) | Apparatus and method for generating and receiving packet in code spreading packet communication | |
JP2006080638A (en) | Spread spectrum communication apparatus | |
CN116896419A (en) | Performance test method, system, terminal and storage medium |