TW201933059A - Active Touch Pen and wireless signal generating method thereof capable of shortening overall time for transmitting a wireless signal - Google Patents

Active Touch Pen and wireless signal generating method thereof capable of shortening overall time for transmitting a wireless signal Download PDF

Info

Publication number
TW201933059A
TW201933059A TW107103202A TW107103202A TW201933059A TW 201933059 A TW201933059 A TW 201933059A TW 107103202 A TW107103202 A TW 107103202A TW 107103202 A TW107103202 A TW 107103202A TW 201933059 A TW201933059 A TW 201933059A
Authority
TW
Taiwan
Prior art keywords
signal
button
processing unit
sends
data segment
Prior art date
Application number
TW107103202A
Other languages
Chinese (zh)
Other versions
TWI667596B (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 幸芯科技有限公司 filed Critical 幸芯科技有限公司
Priority to TW107103202A priority Critical patent/TWI667596B/en
Application granted granted Critical
Publication of TWI667596B publication Critical patent/TWI667596B/en
Publication of TW201933059A publication Critical patent/TW201933059A/en

Links

Abstract

The present invention relates to an active Touch Pen and a wireless signal generating method thereof. After sending a first beacon signal, the active Touch Pen determines whether a first button signal or a second button signal is generated. When both of the first and second button signals are generated, the active Touch Pen generates a first button-sending signal according to a first frequency, generates a second button-sending signal according to a second frequency, and sends the first and second button-sending signals. The first and second button-sending signals have different frequencies. Therefore, when a receiving end receives the first and second button-sending signals, the first and second button-sending signals that are simultaneously sent can be separated by filtering. In this way, the overall time for sending the first and second button-sending signals can be shortened, and thereby the wireless signal is sent rapidly.

Description

主動式觸控筆及其無線訊號產生方法Active stylus and wireless signal generating method thereof

本發明係一種觸控筆及無線訊號產生方法,尤指一種主動式觸控筆及其無線訊號產生方法。The invention relates to a stylus and a wireless signal generating method, in particular to an active stylus and a wireless signal generating method thereof.

一般主動式觸控筆是通過無線通訊的方式發送無線訊號至一平板電腦或一智慧型手機,以與其進行無線通訊,供該平板電腦或該智慧型手機判斷使用者在該主動式觸控筆上的操作,例如使用者可按壓設置在主動式觸控筆上的按鍵,以進行特定操作,如執行上一頁或下一頁的功能。Generally, the active stylus sends a wireless signal to a tablet computer or a smart phone through wireless communication to wirelessly communicate with the tablet or the smart phone to determine the user's active stylus. The above operation, for example, the user can press a button provided on the active stylus to perform a specific operation, such as performing the function of the previous page or the next page.

現有無線通訊技術的無線訊號傳送的方法,一般是通過分時多工的方式,將各種資訊依時間先後順序分批傳送,舉例來說,一發送端會在一開始先發送具有起始資訊的無線訊號,代表接下來要發送的無線訊號中具有各種資訊,接著再發送具有第一資訊的無線訊號,當具有第一資訊的無線訊號發送完畢,並隔一時間間隔後,再發送具有第二資訊的無線訊號,並依此類推,直到所有資訊都發送完畢後,最後再發送一個具有結束資訊的無線訊號,代表資訊全部傳送完畢,藉此形成一發送週期。The wireless signal transmission method of the existing wireless communication technology generally transmits various kinds of information in batches in a time-sequential manner by means of time division multiplexing, for example, a transmitting end sends a start information first at the beginning. The wireless signal represents various information in the wireless signal to be sent next, and then sends the wireless signal with the first information. When the wireless signal with the first information is sent, and after a time interval, the second signal is sent again. The wireless signal of the information, and so on, until all the information is sent, and finally send a wireless signal with the end information, indicating that the information is completely transmitted, thereby forming a transmission cycle.

而一接收端係不斷地接收無線訊號,並當判斷所收到的無線訊號中具有該起始資訊時,代表接下來的無線訊號中具有各種資訊,並可根據與該起始資訊的時間間隔,以推算出該無線訊號中具有的各種資訊。舉例來說,緊接在該起始資訊的,即是該第一資訊,接下來是第二資訊,依此類推。如此一來,該發送端與該接收端之間便可通過該些無線訊號進行通訊。The receiving end continuously receives the wireless signal, and when it is determined that the received wireless signal has the starting information, it represents various information in the next wireless signal, and can be based on the time interval from the starting information. To calculate the various information that is available in the wireless signal. For example, immediately after the start information, the first information, then the second information, and so on. In this way, the wireless terminal can communicate with the receiving end and the receiving end.

但現有無線通訊技術的無線訊號傳送的方法在發送大量資料時,由於資料量龐大,每筆資料必須花費相當的時間傳送,造成資料的傳送速度緩慢。故現有的無線通訊技術的無線訊號傳送的方法有必要進行進一步之改良。However, in the wireless signal transmission method of the existing wireless communication technology, when a large amount of data is transmitted, due to the large amount of data, each data must be transmitted in a considerable amount of time, resulting in slow data transmission. Therefore, the method of wireless signal transmission of the existing wireless communication technology needs to be further improved.

有鑑於現有無線通訊技術的無線訊號傳送的方法在發送大量資料時,花費時間過長導致傳送速度緩慢的缺點,本發明提供一種主動式觸控筆的無線訊號產生方法,以快速的發送無線訊號。該主動式觸控筆的無線訊號產生方法係由一主動式觸控筆執行,並包含有以下步驟: 產生並發送一第一信標訊號; 等待一第一時間間隔; 判斷是否產生一第一按鍵訊號或一第二按鍵訊號; 當判斷該第一按鍵訊號及該第二按鍵訊號皆產生時,根據一第一頻率產生一第一按鍵發送訊號,及根據一第二頻率產生一第二按鍵發送訊號,並發送該第一按鍵發送訊號及該第二按鍵發送訊號。In view of the shortcomings of the wireless signal transmission method of the existing wireless communication technology, when the transmission of a large amount of data takes too long and the transmission speed is slow, the present invention provides a wireless signal generation method for the active stylus to quickly transmit the wireless signal. . The wireless stylus generating method of the active stylus is performed by an active stylus and includes the following steps: generating and transmitting a first beacon signal; waiting for a first time interval; determining whether a first one is generated a button signal or a second button signal; when it is determined that the first button signal and the second button signal are generated, generating a first button sending signal according to a first frequency, and generating a second button according to a second frequency Sending a signal and transmitting the first button sending signal and the second button sending signal.

而該主動式觸控筆係包含有一第一按鍵單元、一第二按鍵單元、一無線訊號發送單元、一處理單元。該第一按鍵單元係供產生一第一按鍵訊號。該第二按鍵單元係供產生一第二按鍵訊號。The active stylus includes a first button unit, a second button unit, a wireless signal transmitting unit, and a processing unit. The first button unit is configured to generate a first button signal. The second button unit is configured to generate a second button signal.

該處理單元係電連接至該第一按鍵單元、該第二按鍵單元及該無線訊號發送單元,且該處理單元產生一第一信標訊號,並通過該無線訊號發送單元發送該第一信標訊號。The processing unit is electrically connected to the first button unit, the second button unit, and the wireless signal sending unit, and the processing unit generates a first beacon signal, and sends the first beacon through the wireless signal sending unit. Signal.

當該處理單元發送該第一信標訊號後,該處理單元係等待一第一時間間隔,並判斷是否接收到該第一按鍵單元產生的一第一按鍵訊號或該第二按鍵單元產生的一第二按鍵訊號。After the processing unit sends the first beacon signal, the processing unit waits for a first time interval, and determines whether a first button signal generated by the first button unit or a second button unit is generated. The second button signal.

當該處理單元接收到該第一按鍵訊號及該第二按鍵訊號時,該處理單元發送一複合訊號,該複合訊號包含有根據一第一頻率產生的一第一按鍵發送訊號,及根據一第二頻率產生的一第二按鍵發送訊號。When the processing unit receives the first button signal and the second button signal, the processing unit sends a composite signal, where the composite signal includes a first button sending signal generated according to a first frequency, and according to a first A second button generated by the second frequency transmits a signal.

本發明的主動式觸控筆及其無線訊號產生方法,是利用該複合訊號包含以第一頻率產生的第一按鍵發送訊號及利用第二頻率產生的第二按鍵發送訊號,且發送該複合訊號。當一接收端,例如一平板電腦,接收到該複合訊號後,由於該第一按鍵發送訊號及該第二按鍵發送訊號的頻率不同,因此可透過濾波將同時發送的該第一按鍵發送訊號及該第二按鍵發送訊號分別開來,再根據該第一按鍵發送訊號及該第二按鍵發送訊號執行對應的功能。The active stylus and the wireless signal generating method thereof are characterized in that the composite signal comprises a first button sending signal generated at a first frequency and a second button generating signal generated by using a second frequency, and the composite signal is sent . When a receiving end, such as a tablet computer, receives the composite signal, the first button sends a signal and the second button transmits a signal at a different frequency, so that the first button can be sent and transmitted simultaneously by filtering. The second button sending signal is separately opened, and then the corresponding function is performed according to the first button sending signal and the second button sending signal.

如此一來,即便同時發送該第一按鍵發送訊號及該第二按鍵發送訊號,該接收端也能將該第一按鍵發送訊號及該第二按鍵發送訊號分別開來,且由於該第一按鍵發送訊號及該第二按鍵發送訊號是同時發送的,無需分時發送,可進一步縮短發送該第一按鍵發送訊號及該第二按鍵發送訊號的整體發送時間,藉此快速的發送無線訊號。In this way, even if the first button sending signal and the second button sending signal are simultaneously sent, the receiving end can separately open the first button sending signal and the second button sending signal, and because the first button The sending signal and the second button sending signal are sent simultaneously, and need to be sent in time-division, which can further shorten the overall sending time of sending the first button sending signal and the second button sending signal, thereby quickly transmitting the wireless signal.

以下配合圖式及本發明較佳實施例,進一步闡述本發明為達成預定目的所採取的技術手段。The technical means adopted by the present invention for achieving the intended purpose are further explained below in conjunction with the drawings and preferred embodiments of the present invention.

請參閱圖1所示,本發明係一種主動式觸控筆及其無線訊號產生方法,該主動式觸控筆的無線訊號產生方法係由一主動式觸控筆執行,而該主動式觸控筆的無線訊號產生方法的第一較佳實施例係由該主動式觸控筆執行以下步驟: 產生並發送一第一信標訊號(S101); 等待一第一時間間隔(S102); 判斷是否產生一第一按鍵訊號或一第二按鍵訊號(S103); 當判斷該第一按鍵訊號及該第二按鍵訊號皆產生時,發送一複合訊號,該複合訊號中包含有根據一第一頻率產生的一第一按鍵發送訊號及根據一第二頻率產生的一第二按鍵發送訊號(S104)。Referring to FIG. 1 , the present invention is an active stylus and a wireless signal generating method thereof. The wireless stylus generating method of the active stylus is performed by an active stylus, and the active touch is performed. The first preferred embodiment of the wireless signal generating method of the pen performs the following steps: generating and transmitting a first beacon signal (S101); waiting for a first time interval (S102); determining whether Generating a first button signal or a second button signal (S103); when it is determined that the first button signal and the second button signal are generated, transmitting a composite signal, where the composite signal includes generating according to a first frequency A first button sends a signal and a second button sends a signal according to a second frequency (S104).

如圖2所示,僅用以說明在不同時間點所發出的兩筆信標訊號11,信標(beacon)訊號11係代表一發送週期之開始時點的訊號。在本較佳實施例中,該信標訊號11的發送時間t11 可為1毫秒(ms),該發送週期t12 可為7.2毫秒(ms)。As shown in FIG. 2, it is only used to describe two beacon signals 11 sent at different time points, and the beacon signal 11 represents a signal at the beginning of a transmission period. In the preferred embodiment, the transmission time t 11 of the beacon signal 11 may be 1 millisecond (ms), and the transmission period t 12 may be 7.2 milliseconds (ms).

如圖3所示,僅用以進一步說明在各信標訊號11之後的一複合訊號12,當該主動式觸控筆發送該信標訊號11後,係等待該第一時間間隔t31 ,且當該第一按鍵訊號及該第二按鍵訊號皆產生時,再發送該複合訊號12,而該複合訊號中12包含有第一按鍵發送訊號及該第二按鍵發送訊號。在本較佳實施例中,該第一時間間隔t31 為0.032毫秒(ms),該第一頻率係18赫茲(Hz),該第二頻率係31赫茲(Hz),該複合訊號12的發送時間t12 與該信標訊號11的發送時間t11 相同,皆為1毫秒(ms)。3, only to further illustrate the first time of each beacon signal of a composite signal after 11 12, when the active stylus after transmitting the beacon signal 11, based latency t 31, and When the first button signal and the second button signal are generated, the composite signal 12 is sent, and the composite signal 12 includes the first button sending signal and the second button sending signal. In the preferred embodiment, the first time interval t 31 is 0.032 milliseconds (ms), the first frequency is 18 Hertz (Hz), and the second frequency is 31 Hertz (Hz), and the composite signal 12 is sent. The time t 12 is the same as the transmission time t 11 of the beacon signal 11, and is 1 millisecond (ms).

本發明的主動式觸控筆的無線訊號產生方法,是利用該第一頻率產生該第一按鍵發送訊號,並利用該第二頻率產生該第二按鍵發送訊號,且同時發送包含有該第一按鍵發送訊號及該第二按鍵發送訊號的複合訊號12。當一接收端,例如一平板電腦,接收到該複合訊號12後,由於該第一按鍵發送訊號及該第二按鍵發送訊號的頻率不同,因此可透過濾波將該複合訊號12中的該第一按鍵發送訊號及該第二按鍵發送訊號分別開來。The wireless signal generating method of the active stylus of the present invention generates the first button sending signal by using the first frequency, and generates the second button sending signal by using the second frequency, and simultaneously transmitting the first button The button sends a signal and the second signal of the second button sends a signal. When a receiving end, such as a tablet computer, receives the composite signal 12, since the first button sending signal and the second button sending signal have different frequencies, the first of the composite signals 12 can be filtered. The button sending signal and the second button sending signal are respectively opened.

如此一來,便無需將該第一按鍵發送訊號與該第二按鍵訊號分開來透過兩個發送時間來發送,只需經過一個發送時間t1 來發送該複合訊號12,可進一步節省發送該第一按鍵發送訊號及該第二按鍵發送訊號的整體時間,藉此快速的發送無線訊號。In this way, the first button transmission signal and the second button signal need not be separated to be transmitted through two transmission times, and the composite signal 12 is transmitted only after one transmission time t 1 , which can further save the transmission. A button sends a signal and the second button transmits the overall time of the signal, thereby quickly transmitting the wireless signal.

舉例來說,該主動式觸控筆上會設置有可供分別執行不同功能的一第一按鍵單元及一第二按鍵單元,而當該第一按鍵單元被按下時,該主動式觸控筆便會產生該第一按鍵訊號,同理,當該第二按鍵單元被按下時,該主動式觸控筆便會產生該第二按鍵訊號。一般而言,使用者能直接使用該主動式觸控筆在該接收端的觸控顯示板上進行觸控操作,例如移動畫面、點選連結等。而當使用者按下該第一按鍵單元時,該接收端便會切換模式,而使用者使用該主動式觸控筆在該接收端的觸控顯示板上的觸控操作就會變成記錄並顯示使用者的筆跡,簡言之,就是使用者能在該接收端的觸控顯示板上畫畫、或是記錄筆記。此外,當使用者按下該第二按鍵單元時,該接收端便會再次切換模式,此時,使用者使用該主動式觸控筆在該接收端的觸控顯示板上的觸控操作就會變成去除使用者的筆跡,簡言之,就是使用者能使用類似橡皮擦的功能,去除筆記,藉此提供使用者方便的使用環境,讓使用者能快速的在記錄筆記與移動畫面間切換,且能夠快速的去除誤繕的筆記,以重新記錄。For example, the active stylus is provided with a first button unit and a second button unit for performing different functions respectively, and when the first button unit is pressed, the active touch The pen will generate the first button signal. Similarly, when the second button unit is pressed, the active stylus generates the second button signal. In general, the user can directly use the active stylus to perform touch operations on the touch display panel of the receiving end, such as moving pictures, clicking links, and the like. When the user presses the first button unit, the receiving end switches modes, and the touch operation of the active stylus on the touch display panel of the receiving end becomes recorded and displayed. The user's handwriting, in short, is that the user can draw or record notes on the touch display panel of the receiving end. In addition, when the user presses the second button unit, the receiving end switches the mode again. At this time, the touch operation of the active stylus on the touch display panel of the receiving end is It becomes a way to remove the user's handwriting. In short, the user can use an eraser-like function to remove the notes, thereby providing a user-friendly environment for the user to quickly switch between recording notes and moving pictures. And can quickly remove the mistaken notes to re-record.

換句話說,該主動式觸控筆是在一個發送週期內檢測一次該主動式觸控筆的第一按鍵單元與第二按鍵單元的按壓狀態,並根據檢測結果產生該第一按鍵訊號或該第二按鍵訊號。例如,當使用者按下該第一按鍵單元持續超過一個發送週期,該主動式觸控筆便可在該發送週期內檢測到該第一按鍵單元被按下,而對應產生該第一按鍵訊號。但由於該發送週期相當短,例如7.2毫秒,因此只要使用者有按下該第一按鍵單元,按下到放開該第一按鍵單元的時間基本上都會超過該發送週期,故對於使用者的使用而言,並無需特別持續按壓該第一按鍵單元。同理,當使用者有按下該第二按鍵單元時,亦是通過同樣的方式判斷是否產生該第二按鍵訊號。In other words, the active stylus detects the pressing state of the first button unit and the second button unit of the active stylus in one transmission cycle, and generates the first button signal according to the detection result or the The second button signal. For example, when the user presses the first button unit for more than one transmission period, the active stylus can detect that the first button unit is pressed during the sending period, and correspondingly generate the first button signal. . However, since the transmission period is relatively short, for example, 7.2 milliseconds, as long as the user has pressed the first button unit, the time until the first button unit is released is substantially longer than the transmission period, so In terms of use, it is not necessary to continuously press the first button unit. Similarly, when the user presses the second button unit, it is determined in the same manner whether the second button signal is generated.

也就是說,當使用者同時按下該第一開關單元及該第二開關單元,且持續超過該發送週期時,該主動式觸控筆產生並發送該複合訊號。而當該接收端接收到該複合訊號時,代表使用者同時按下該第一開關單元及該第二開關單元,該接收端可根據該第一按鍵發送訊號及該第二按鍵發送訊號執行特定狀態,例如啟動或關閉該接收端的觸控顯示板。That is to say, when the user simultaneously presses the first switch unit and the second switch unit and continues to exceed the transmission period, the active stylus generates and transmits the composite signal. When the receiving end receives the composite signal, the user can simultaneously press the first switch unit and the second switch unit, and the receiving end can perform a specific signal according to the first button sending signal and the second button sending signal. Status, such as turning on or off the touch panel of the receiving end.

請參閱圖4及圖5所示,該主動式觸控筆的無線訊號產生方法的第二較佳實施例係於該主動式觸控筆發送該第一按鍵發送訊號及該第二按鍵發送訊號後(S104),由該主動式觸控筆進一步執行以下步驟: 等待一第二時間間隔(S105); 讀取一壓力值訊號(S106); 判斷該壓力值訊號是否大於一門檻值(S107); 當該壓力值訊號大於該門檻值時,根據該壓力值訊號產生一第一資料片段發送訊號及一第二資料片段發送訊號,並發送該第一資料片段發送訊號(S108); 等待一第三時間間隔(S109); 產生並發送一第二信標訊號(S110); 等待一第四時間間隔(S111); 發送該第二資料片段發送訊號(S112); 等待一第五時間間隔後(S113),重新執行步驟S101。Referring to FIG. 4 and FIG. 5, a second preferred embodiment of the method for generating a wireless signal of the active stylus is that the active stylus sends the first button sending signal and the second button sending signal. After the step (S104), the active stylus further performs the following steps: waiting for a second time interval (S105); reading a pressure value signal (S106); determining whether the pressure value signal is greater than a threshold (S107) When the pressure value signal is greater than the threshold value, generating a first data segment transmission signal and a second data segment transmission signal according to the pressure value signal, and transmitting the first data segment transmission signal (S108); waiting for a first Three time intervals (S109); generating and transmitting a second beacon signal (S110); waiting for a fourth time interval (S111); transmitting the second data segment transmission signal (S112); waiting for a fifth time interval ( S113), step S101 is re-executed.

如圖6所示,當該主動式觸控筆發送該第一信標訊號111後,係等待該第一時間間隔,且當該第一按鍵訊號及該第二按鍵訊號皆產生時,再發送該複合訊號12,且該主動式觸控筆在發送該複合訊號12後,進一步等待該第二時間間隔t32 ,再發送該第一資料片段發送訊號131。在本較佳實施例中,該第二時間間隔t32 為1.568毫秒(ms)。接著,該主動式觸控筆係等待該第三時間間隔t33 ,再發送該第二信標訊號112,並等待該第四時間間隔t34 後,發送該第二資料片段發送訊號132。在本較佳實施例中,該第一信標訊號111與該第二信標訊號112的內容相同,僅用來說明兩個連續的信標訊號11。該第三時間間隔t33 為2.6毫秒,該第四時間間隔t34 為3.6毫秒(ms)。最後,該主動式觸控筆進一步等待該第五時間間隔t35 後,重新發送該第一信標訊號111(圖未示)。在本較佳實施例中,該第五時間間隔t35 為2.6毫秒(ms),該第一資料片段發送訊號131與該第二資料片段發送訊號132的發送時間t13 皆與該信標訊號11的發送時間t11 相同,皆為1毫秒(ms)。該第一及第二資料片段發送訊號131、132的產生方式容後說明。As shown in FIG. 6, when the active stylus sends the first beacon signal 111, it waits for the first time interval, and when the first button signal and the second button signal are generated, the composite signal 12, and the active stylus after transmitting the composite signal 12, which is further waits a second time interval t 32, and then transmits the first data signal transmission segment 131. In the preferred embodiment, the second time interval t 32 is 1.568 milliseconds (ms). Then, the active stylus waits for the third time interval t 33 , transmits the second beacon signal 112, and waits for the fourth time interval t 34 to transmit the second data segment transmission signal 132. In the preferred embodiment, the first beacon signal 111 is identical to the second beacon signal 112 and is only used to describe two consecutive beacon signals 11. The third time interval t 33 is 2.6 milliseconds, and the fourth time interval t 34 is 3.6 milliseconds (ms). Finally, the active stylus further wait for the fifth time interval t (35), re-transmitting the first beacon signal 111 (not shown). In the preferred embodiment, the fifth time interval t 35 is 2.6 milliseconds (ms), and the first data segment transmission signal 131 and the second data segment transmission signal 132 transmission time t 13 are both associated with the beacon signal. The transmission time t11 of 11 is the same, and each is 1 millisecond (ms). The manner in which the first and second data segment transmission signals 131 and 132 are generated will be described later.

此外,如圖6所示,該主動式觸控筆在發送該第二信標訊號112後,可在發送該第二資料片段發送訊號132前,先重覆發送該複合訊號12。也就是說,當該主動式觸控筆發送該第二信標訊號112後,於等待該第一時間間隔t31 後,先重覆發送該複合訊號12,並進一步等待該第二時間間隔t32 後,再發送該第二資料片段發送訊號132。無線訊號的發送過程中,容易受到外在環境影響,因此有時候該接收端會沒有接收到無線訊號,而通過重覆發送該複合訊號12能使該接收端漏接收該複合訊號12的機率降低。In addition, as shown in FIG. 6, after transmitting the second beacon signal 112, the active stylus may repeatedly transmit the composite signal 12 before transmitting the second data segment transmission signal 132. That is, when the active stylus transmits the signal after the second beacon 112, in the first waiting time interval after t 31, the first repeat of the composite transmission signal 12, and further waits for the second time interval t After 32 , the second data segment transmission signal 132 is sent again. During the transmission of the wireless signal, it is susceptible to the external environment. Therefore, sometimes the receiving end does not receive the wireless signal, and by repeatedly transmitting the composite signal 12, the receiving end may reduce the probability of receiving the composite signal 12. .

該主動式觸控筆的無線訊號產生方法係於傳送該主動式觸控筆發送該複合訊號12後,進一步讀取該壓力值訊號,並判斷該壓力值訊號是否大於該門檻值。當該壓力值訊號大於該門檻值,代表該壓力值訊號是有效的。也就是說,使用者應當正在操作該主動式觸控筆進行觸控操作,且該主動式觸控筆能感測使用者操作該主動式觸控筆的觸控壓力,簡而言之就是使用者操作該主動式觸控筆的書寫力道。The method for generating the wireless signal of the active stylus is to send the active stylus to send the composite signal 12, further read the pressure signal, and determine whether the pressure signal is greater than the threshold. When the pressure value signal is greater than the threshold value, it indicates that the pressure value signal is valid. In other words, the user should be operating the active stylus to perform a touch operation, and the active stylus can sense the touch pressure of the user operating the active stylus, in short, using The operating force of the active stylus is operated.

當該壓力值訊號大於該門檻值,該主動式觸控筆便根據該壓力值訊號產生該第一資料片段發送訊號131及該第二資料片段發送訊號132。且該主動式觸控筆係於兩個連續的發送週期分別發送該第一資料片段發送訊號131及該第二資料片段發送訊號132,先於第一個發送週期內,也就是當該第一信標訊號111發送後,發送該第一資料片段發送訊號131,並於下一個發送週期內,也就是當該第二信標訊號112發送後,間隔該第四時間間隔t34 ,再發送該第二資料片段發送訊號132,藉此傳送更高解析度的壓力值訊號。When the pressure value signal is greater than the threshold value, the active stylus generates the first data segment transmission signal 131 and the second data segment transmission signal 132 according to the pressure value signal. And the active stylus sends the first data segment transmission signal 131 and the second data segment transmission signal 132 respectively in two consecutive transmission periods, before the first transmission period, that is, when the first After the beacon signal 111 is sent, the first data segment transmission signal 131 is sent, and is sent in the next transmission period, that is, after the second beacon signal 112 is transmitted, and the fourth time interval t 34 is transmitted. The second data segment transmits a signal 132, thereby transmitting a higher resolution pressure value signal.

由於該壓力值訊號係根據使用者的操作狀況產生,而使用者操作該主動式觸控筆時的書寫力道的大小範圍差異很大,若只能傳送解析度低的壓力值訊號,將導致接收端無法準確地獲得使用者操作該主動式觸控筆時的準確書寫力道,進而減少許多的應用層面,例如模仿軟筆字的字跡等。Since the pressure value signal is generated according to the operating condition of the user, and the size range of the writing force when the user operates the active stylus is very different, if only the pressure value signal with low resolution is transmitted, the receiving will result in receiving. The terminal cannot accurately obtain the accurate writing force when the user operates the active stylus, thereby reducing many application levels, such as imitating the writing of soft pen characters.

而該主動式觸控筆的無線訊號產生方法係通過將該壓力值訊號分為兩個資料片段發送訊號,並分別於兩個連續的發送週期發送。如此一來,便可將該壓力值訊號分成兩個部分傳送,而該接收端於接收到該第一資料片段發送訊號及該第二資料片段發送訊號後,便可將該第一資料片段發送訊號及該第二資料片段發送訊號組合成該壓力值訊號,藉此獲得高解析度的壓力值訊號,提供更多元的應用。The wireless stylus generating method of the active stylus is to transmit the signal by dividing the pressure value signal into two data segments and transmitting them in two consecutive transmission periods. In this way, the pressure value signal can be divided into two parts, and the receiving end can send the first data piece after receiving the first data piece sending signal and the second data piece sending signal. The signal and the second data segment transmission signal are combined into the pressure value signal, thereby obtaining a high-resolution pressure value signal and providing more applications.

舉例來說,該壓力值訊號是一個12位元的資料,而該主動式觸控筆的無線訊號產生方法係根據該壓力值訊號中前8個位元的值產生一第一資料片段,並根據該壓力值訊號中後4個位元的值產生一第二資料片段。For example, the pressure value signal is a 12-bit data, and the wireless signal generation method of the active stylus generates a first data segment according to the value of the first 8 bits in the pressure value signal, and A second piece of data is generated based on the value of the last 4 bits in the pressure value signal.

而該主動式觸控筆係根據該第一資料片段的值,以一特定頻率產生該第一資料片段發送訊號,且該主動式觸控筆係根據該第二資料片段的值,以另一特定頻率產生該第二資料片段發送訊號。也就是說,每一個第一資料片段的值會分別對應一個特定頻率,而每一個第二資料片段的值,也會分別對應一個特定頻率。當該接收端接收到該第一資料片段發送訊號或該第二資料片段發送訊號時,該接收端便可根據接收到的訊號的頻率通過查表而計算出該第一資料片段的值或該第二資料片段的值。The active stylus generates the first data segment transmission signal at a specific frequency according to the value of the first data segment, and the active stylus is based on the value of the second data segment to another The second data segment transmission signal is generated at a specific frequency. That is to say, the value of each first data segment corresponds to a specific frequency, and the value of each second data segment also corresponds to a specific frequency. When the receiving end receives the first data segment transmission signal or the second data segment transmission signal, the receiving end may calculate the value of the first data segment or look up the table according to the frequency of the received signal. The value of the second data fragment.

例如,當該第一資料片段的值為00000001時,該主動式觸控筆是以15652赫茲(Hz)的頻率產生該第一資料片段發送訊號,而當該第一資料片段的值為00000010時,該主動式觸控筆是以15679赫茲(Hz)的頻率產生該第一資料片段發送訊號。此外,當該第二資料片段的值為0001時,該主動式觸控筆是以28301赫茲(Hz)的頻率產生該第二資料片段發送訊號,而當第二資料片段的值為0010時,該主動式觸控筆是以28571赫茲(Hz)的頻率產生該第二資料片段發送訊號。For example, when the value of the first data segment is 00000001, the active stylus generates the first data segment transmission signal at a frequency of 15652 Hz, and when the value of the first data segment is 00000010. The active stylus generates the first data segment transmission signal at a frequency of 15679 Hertz (Hz). In addition, when the value of the second data segment is 0001, the active stylus generates the second data segment transmission signal at a frequency of 28301 Hertz (Hz), and when the value of the second data segment is 0010, The active stylus generates the second data segment transmission signal at a frequency of 28571 Hertz (Hz).

在本較佳實施例中,該第一資料片段發送訊號與該第二資料片段發送訊號分布於不同頻段。In the preferred embodiment, the first data segment transmission signal and the second data segment transmission signal are distributed in different frequency bands.

由於該第一資料片段發送訊號與該第二資料片段發送訊號分布於不同頻段,當該接收端接收到無線訊號時,可直接根據該無線訊號的頻率值判斷該無線訊號落在哪一個頻段內,即可確認該筆無線訊號為該第一資料片段發送訊號還是該第二資料片段發送訊號。The first data segment transmission signal and the second data segment transmission signal are distributed in different frequency bands. When the receiving end receives the wireless signal, the receiving terminal can directly determine, according to the frequency value of the wireless signal, which frequency band the wireless signal falls within. Then, it can be confirmed whether the wireless signal transmits the signal for the first data segment or the second data segment.

因此,即便該第一資料片段發送訊號及該第二資料片段發送訊號是在不同的發送週期發送,也不需特別判斷該發送週期的編號,可直接根據頻率值判斷出是第一資料片段發送訊號還是該第二資料片段發送訊號,對於接收端而言,只需接收到兩個連續發送週期的訊號,就能產生完整的壓力值訊號,如此一來,便能進一步提高判斷的處理效率。Therefore, even if the first data segment transmission signal and the second data segment transmission signal are sent in different transmission periods, it is not necessary to specifically determine the number of the transmission period, and the first data segment may be directly sent according to the frequency value. The signal is still the second data segment sending signal. For the receiving end, only two consecutive transmission period signals are received, and a complete pressure value signal can be generated, so that the processing efficiency of the judgment can be further improved.

而當該接收端接收到該第一資料片段發送訊號與該第二資料片段發送訊號時,便可透過傅立葉轉換判斷該第一資料片段發送訊號與該第二資料片段發送訊號的頻率值,並根據該第一資料片段發送訊號與該第二資料片段發送訊號的頻率值轉換出該第一資料片段的值及該第二資料片段的值,該接收端可進一步將該第一資料片段的值及該第二資料片段的值整合出該壓力值訊號。When the receiving end receives the first data segment transmission signal and the second data segment transmission signal, the frequency value of the first data segment transmission signal and the second data segment transmission signal may be determined through Fourier transform, and Transmitting the value of the first data segment and the value of the second data segment according to the frequency value of the first data segment transmission signal and the second data segment transmission signal, and the receiving end may further use the value of the first data segment And the value of the second data segment integrates the pressure value signal.

例如,當該接收端接收到的第一資料片段發送訊號的頻率為15679赫茲(Hz)時,便可計算該第一資料片段的值為00000010,且當該接收端接收到的第二資料片段發送訊號的頻率為28571赫茲(Hz)時,便可計算該第一資料片段的值為0010。而該接收端可將該第一資料片段的值及該第二資料片段的值整合,形成該壓力值訊號的值為000000100010。For example, when the frequency of the first data segment transmission signal received by the receiving end is 15679 Hz, the value of the first data segment can be calculated as 00000010, and the second data segment received by the receiving end When the frequency of the transmitted signal is 28571 Hertz (Hz), the value of the first data segment can be calculated as 0010. The receiving end may integrate the value of the first data segment and the value of the second data segment to form a value of the pressure value signal of 000000100010.

也就是說,該壓力值訊號具有4096各不同的值,因此便可將該使用者操作該主動式觸控筆時的書寫力道區分為4096個不同的值,並可準確地發送給該接收端,由該接收端分析判斷出該使用者操作該主動式觸控筆時的書寫力道。That is to say, the pressure value signal has 4096 different values, so that the writing force when the user operates the active stylus can be divided into 4096 different values, and can be accurately transmitted to the receiving end. The receiving end analyzes and determines the writing power when the user operates the active stylus.

進一步而言,當該主動式觸控筆判斷該壓力值訊號是否大於一門檻值(S107),且該主動式觸控筆判斷該壓力值訊號不大於該門檻值時,該主動式觸控筆係等待一第六時間間隔後(S1071),並重新執行步驟S101。Further, when the active stylus determines whether the pressure value signal is greater than a threshold value (S107), and the active stylus judges that the pressure value signal is not greater than the threshold value, the active stylus Waiting for a sixth time interval (S1071), and repeating step S101.

由於當該壓力值訊號不大於該門檻值時代表使用者並未操作該觸控筆進行觸控操作,此時產生的壓力值訊號應為誤判,故該主動式觸控筆並不會執行任何動作,僅等待該第六時間間隔後,重新執行該主動式觸控筆的無線訊號產生方法。Since the pressure value signal generated by the user should not operate the touch pen when the pressure value signal is not greater than the threshold value, the pressure signal generated at this time should be misjudged, so the active stylus does not execute any The action only waits for the sixth time interval to re-execute the wireless signal generating method of the active stylus.

請參閱圖7所示,當該主動式觸控筆判斷該第一按鍵訊號未產生,但該第二按鍵訊號產生時,該主動式觸控筆係根據該第二頻率產生該第二按鍵發送訊號,並發送該第二按鍵發送訊號後(S1031),執行步驟S105。Referring to FIG. 7 , when the active stylus judges that the first button signal is not generated, but the second button signal is generated, the active stylus generates the second button according to the second frequency. After transmitting the signal and transmitting the second button transmission signal (S1031), step S105 is performed.

此外,當該主動式觸控筆判斷該第一按鍵訊號與該第二按鍵訊號皆未產生時,該主動式觸控筆係等待一第七時間間隔後(S1032),執行步驟S106。In addition, when the active stylus judges that the first button signal and the second button signal are not generated, the active stylus waits for a seventh time interval (S1032), and executes step S106.

如圖8所示,當該主動式觸控筆發送該第一信標訊號111後,且判斷該第一按鍵訊號與該第二按鍵訊號皆未產生時,係等待該第七時間間隔t37 ,發送該第一資料片段發送訊號131。在本較佳實施例中,該第七時間間隔t37 為2.6毫秒(ms)。接著,該主動式觸控筆係等待該第三時間間隔t33 ,再發送該第二信標訊號112,並等待該第四時間間隔t34 後,發送該第二資料片段發送訊號132。最後,該主動式觸控筆進一步等待該第五時間間隔t35 後,重新發送該第一信標訊號111(圖未示)。As shown in FIG. 8, when the active stylus sends the first beacon signal 111 and determines that the first button signal and the second button signal are not generated, the active time stylus waits for the seventh time interval t37 . Sending the first data segment sending signal 131. In the preferred embodiment, the seventh time interval t37 is 2.6 milliseconds (ms). Then, the active stylus waits for the third time interval t 33 , transmits the second beacon signal 112, and waits for the fourth time interval t 34 to transmit the second data segment transmission signal 132. Finally, the active stylus further wait for the fifth time interval t (35), re-transmitting the first beacon signal 111 (not shown).

進一步而言,請參閱圖9所示,當該主動式觸控筆判斷該第一按鍵訊號產生,但該第二按鍵訊號未產生時,該主動式觸控筆係根據該第一頻率產生該第一按鍵發送訊號,並發送該第一按鍵發送訊號後(S1033),執行步驟S105。Further, as shown in FIG. 9, when the active stylus judges that the first button signal is generated, but the second button signal is not generated, the active stylus generates the first frequency according to the first frequency. After the first button sends a signal and sends the first button to send a signal (S1033), step S105 is performed.

請參閱圖10所示,該主動式觸控筆20係包含有一第一按鍵單元21、一第二按鍵單元22、一無線訊號發送單元23、一處理單元24。該第一按鍵單元21係供產生一第一按鍵訊號。該第二按鍵單元22係供產生一第二按鍵訊號。舉例來說,該第一按鍵單元21與該第二按鍵單元22可為主動式觸控筆20上的實體按鍵。As shown in FIG. 10 , the active stylus 20 includes a first button unit 21 , a second button unit 22 , a wireless signal transmitting unit 23 , and a processing unit 24 . The first button unit 21 is configured to generate a first button signal. The second button unit 22 is configured to generate a second button signal. For example, the first button unit 21 and the second button unit 22 can be physical buttons on the active stylus pen 20.

該處理單元24係電連接至該第一按鍵單元21、該第二按鍵單元22及該無線訊號發送單元23,且該處理單元24產生一第一信標訊號,並通過該無線訊號發送單元23發送該第一信標訊號。The processing unit 24 is electrically connected to the first button unit 21, the second button unit 22, and the wireless signal sending unit 23, and the processing unit 24 generates a first beacon signal and passes through the wireless signal sending unit 23. Send the first beacon signal.

當該處理單元24發送該第一信標訊號後,該處理單元24係等待一第一時間間隔,並判斷是否接收到該第一按鍵單元21產生的一第一按鍵訊號或該第二按鍵單元22產生的一第二按鍵訊號。After the processing unit 24 sends the first beacon signal, the processing unit 24 waits for a first time interval, and determines whether a first button signal or the second button unit generated by the first button unit 21 is received. 22 generates a second button signal.

當該處理單元24接收到該第一按鍵訊號及該第二按鍵訊號時,該處理單元24發送一複合訊號,該複合訊號包含有根據一第一頻率產生的一第一按鍵發送訊號,及根據一第二頻率產生的一第二按鍵發送訊號。When the processing unit 24 receives the first button signal and the second button signal, the processing unit 24 sends a composite signal, where the composite signal includes a first button transmission signal generated according to a first frequency, and according to A second button generated by the second frequency transmits a signal.

本發明的主動式觸控筆,是利用該第一頻率產生該第一按鍵發送訊號,並利用該第二頻率產生該第二按鍵發送訊號,且同時發送該第一按鍵發送訊號及該第二按鍵發送訊號。當一接收端,例如一平板電腦,接收到該第一按鍵發送訊號及該第二按鍵發送訊號後,由於該第一按鍵發送訊號及該第二按鍵發送訊號的頻率不同,因此可透過濾波將同時發送的該第一按鍵發送訊號及該第二按鍵發送訊號分別開來。The active stylus of the present invention generates the first button transmission signal by using the first frequency, and generates the second button transmission signal by using the second frequency, and simultaneously sends the first button transmission signal and the second Press the button to send a signal. When a receiving end, such as a tablet computer, receives the first button sending signal and the second button sending signal, since the first button sending signal and the second button sending signal have different frequencies, the filtering may be The first button sending signal and the second button sending signal sent simultaneously are respectively opened.

如此一來,即便同時發送該第一按鍵發送訊號及該第二按鍵發送訊號,該接收端也能將該第一按鍵發送訊號及該第二按鍵發送訊號分別開來,且由於該第一按鍵發送訊號及該第二按鍵發送訊號是同時發送的,無需分時發送,可進一步節省發送該第一按鍵發送訊號及該第二按鍵發送訊號的整體發送時間,藉此快速的發送無線訊號。In this way, even if the first button sending signal and the second button sending signal are simultaneously sent, the receiving end can separately open the first button sending signal and the second button sending signal, and because the first button The sending signal and the second button sending signal are sent simultaneously, and need to be sent in time sharing, which can further save the overall sending time of sending the first button sending signal and the second button sending signal, thereby quickly transmitting the wireless signal.

該主動式觸控筆進一步包含有一壓力感測單元25,該壓力感測單元25係供產生一壓力值訊號,且電連接至該處理單元24。當該處理單元24發送該複合訊號後,該處理單元24係等待一第二時間間隔,並讀取該壓力值訊號,且該處理單元24判斷該壓力值訊號是否大於一門檻值。The active stylus further includes a pressure sensing unit 25 for generating a pressure value signal and electrically connected to the processing unit 24. After the processing unit 24 sends the composite signal, the processing unit 24 waits for a second time interval and reads the pressure value signal, and the processing unit 24 determines whether the pressure value signal is greater than a threshold value.

當該處理單元24判斷該壓力值訊號大於該門檻值時,該處理單元24根據該壓力值訊號產生一第一資料片段發送訊號及一第二資料片段發送訊號,並通過該無線訊號發送單元23發送該第一資料片段發送訊號。When the processing unit 24 determines that the pressure value signal is greater than the threshold value, the processing unit 24 generates a first data segment transmission signal and a second data segment transmission signal according to the pressure value signal, and passes the wireless signal sending unit 23 Send the first data segment to send a signal.

當該處理單元24發送該第一資料片段發送訊號後,該處理單元24係等待一第三時間間隔,並產生一第二信標訊號,且該處理單元24通過該無線訊號發送單元23發送該第二信標訊號。After the processing unit 24 sends the first data segment transmission signal, the processing unit 24 waits for a third time interval and generates a second beacon signal, and the processing unit 24 sends the second data signal through the wireless signal sending unit 23. Second beacon signal.

當該處理單元24發送該第二信標訊號後,該處理單元24係等待一第四時間間隔,並發送該第二資料片段發送訊號,且該處理單元24係等待一第五時間間隔後,重新產生該第一信標訊號。在本較佳實施例中,該第一資料片段發送訊號與該第二資料片段發送訊號分布於不同頻段。After the processing unit 24 sends the second beacon signal, the processing unit 24 waits for a fourth time interval, and sends the second data segment transmission signal, and the processing unit 24 waits for a fifth time interval. The first beacon signal is regenerated. In the preferred embodiment, the first data segment transmission signal and the second data segment transmission signal are distributed in different frequency bands.

該壓力值訊號之功效與原理與已在該主動式觸控筆的無線訊號產生方法中說明,故在此不再贅述。The function and principle of the pressure value signal are described in the wireless signal generating method of the active stylus, and therefore will not be described herein.

當該處理單元24判斷該壓力值訊號不大於該門檻值時,該處理單元24等待一第六時間間隔後,並重新產生該第一信標訊號。When the processing unit 24 determines that the pressure value signal is not greater than the threshold value, the processing unit 24 waits for a sixth time interval and regenerates the first beacon signal.

當該處理單元24未接收到該第一按鍵訊號,但接收到該第二按鍵訊號時,該處理單元24根據該第二頻率產生該第二按鍵發送訊號,並通過該無線訊號發送單元23發送該第二按鍵發送訊號,且該處理單元24等待該第二時間間隔後,讀取該壓力值訊號,並判斷該壓力值訊號是否大於該門檻值。When the processing unit 24 does not receive the first button signal, but receives the second button signal, the processing unit 24 generates the second button sending signal according to the second frequency, and sends the signal through the wireless signal sending unit 23. The second button sends a signal, and the processing unit 24 waits for the second time interval, reads the pressure value signal, and determines whether the pressure value signal is greater than the threshold value.

當該處理單元24未接收到該第一按鍵訊號及該第二按鍵訊號時,該處理單元24等待一第七時間間隔後,讀取一壓力值訊號,且該處理單元24判斷該壓力值訊號是否大於該門檻值。When the processing unit 24 does not receive the first button signal and the second button signal, the processing unit 24 waits for a seventh time interval to read a pressure value signal, and the processing unit 24 determines the pressure value signal. Whether it is greater than the threshold value.

當該處理單元24接收到該第一按鍵訊號,但未接收到該第二按鍵訊號時,該處理單元24根據該第一頻率產生該第一按鍵發送訊號,並通過該無線訊號發送單元23發送該第一按鍵發送訊號,且該處理單元24等待該第二時間間隔後,讀取該壓力值訊號,並判斷該壓力值訊號是否大於該門檻值。When the processing unit 24 receives the first button signal but does not receive the second button signal, the processing unit 24 generates the first button sending signal according to the first frequency, and sends the signal through the wireless signal sending unit 23. The first button sends a signal, and the processing unit 24 waits for the second time interval, reads the pressure value signal, and determines whether the pressure value signal is greater than the threshold value.

以上所述僅是本發明的較佳實施例而已,並非對本發明做任何形式上的限制,雖然本發明已以較佳實施例揭露如上,然而並非用以限定本發明,任何熟悉本專業的技術人員,在不脫離本發明技術方案的範圍內,當可利用上述揭示的技術內容做出些許更動或修飾為等同變化的等效實施例,但凡是未脫離本發明技術方案的內容,依據本發明的技術實質對以上實施例所作的任何簡單修改、等同變化與修飾,均仍屬於本發明技術方案的範圍內。The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Although the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the present invention. A person skilled in the art can make some modifications or modifications to equivalent embodiments by using the above-disclosed technical contents without departing from the technical scope of the present invention, but the present invention does not deviate from the technical solution of the present invention. Technical Substantials Any simple modifications, equivalent changes and modifications made to the above embodiments are still within the scope of the technical solutions of the present invention.

11‧‧‧信標訊號11‧‧‧Beacon signal

111‧‧‧第一信標訊號111‧‧‧First Beacon Signal

112‧‧‧第二信標訊號112‧‧‧second beacon signal

12‧‧‧複合訊號12‧‧‧Complex signal

131‧‧‧第一資料片段發送訊號131‧‧‧The first data segment sends a signal

132‧‧‧第二資料片段發送訊號132‧‧‧Second data segment sending signal

20‧‧‧主動式觸控筆20‧‧‧Active stylus

21‧‧‧第一按鍵單元21‧‧‧First button unit

22‧‧‧第二按鍵單元22‧‧‧Second button unit

23‧‧‧無線訊號發送單元23‧‧‧Wireless signal sending unit

24‧‧‧處理單元24‧‧‧Processing unit

25‧‧‧壓力感測單元25‧‧‧ Pressure sensing unit

圖1係本發明主動式觸控筆的無線訊號產生方法第一較佳實施例之方法流程示意圖。 圖2及圖3係本發明主動式觸控筆的無線訊號產生方法產生的無線訊號之波形示意圖。 圖4及圖5係本發明主動式觸控筆的無線訊號產生方法第二較佳實施例之方法流程示意圖。 圖6係本發明主動式觸控筆的無線訊號產生方法產生的無線訊號之波形示意圖。 圖7係本發明主動式觸控筆的無線訊號產生方法第三較佳實施例之方法流程示意圖。 圖8係本發明主動式觸控筆的無線訊號產生方法產生的無線訊號之波形示意圖。 圖9係本發明主動式觸控筆的無線訊號產生方法第四較佳實施例之方法流程示意圖。 圖10係本發明主動式觸控筆較佳實施例之方塊示意圖。1 is a schematic flow chart of a method of a first preferred embodiment of a method for generating a wireless signal of an active stylus according to the present invention. 2 and FIG. 3 are waveform diagrams of wireless signals generated by the wireless signal generating method of the active stylus according to the present invention. 4 and FIG. 5 are schematic diagrams showing the method of the second preferred embodiment of the wireless signal generating method of the active stylus according to the present invention. FIG. 6 is a schematic diagram showing the waveform of a wireless signal generated by the wireless signal generating method of the active stylus of the present invention. FIG. 7 is a schematic flow chart of a method of a third preferred embodiment of a method for generating a wireless signal of an active stylus according to the present invention. FIG. 8 is a schematic diagram showing the waveform of a wireless signal generated by the wireless signal generating method of the active stylus according to the present invention. FIG. 9 is a schematic flow chart of a method of a fourth preferred embodiment of a method for generating a wireless signal of an active stylus according to the present invention. FIG. 10 is a block diagram showing a preferred embodiment of the active stylus of the present invention.

Claims (14)

一種主動式觸控筆的無線訊號產生方法,係由一主動式觸控筆執行以下步驟: a.產生並發送一第一信標訊號; b.等待一第一時間間隔; c.判斷是否產生一第一按鍵訊號或一第二按鍵訊號; d.當判斷該第一按鍵訊號及該第二按鍵訊號皆產生時,發送一複合訊號,該複合訊號中包含有根據一第一頻率產生的一第一按鍵發送訊號及根據一第二頻率產生的一第二按鍵發送訊號。A method for generating a wireless signal of an active stylus is performed by an active stylus: a. generating and transmitting a first beacon signal; b. waiting for a first time interval; c. determining whether a a first button signal or a second button signal; d. when it is determined that the first button signal and the second button signal are generated, sending a composite signal, the composite signal includes a first one generated according to a first frequency The first button sends a signal and a second button sends a signal according to a second frequency. 如請求項1所述之主動式觸控筆的無線訊號產生方法,其中於步驟d執行後,係由該主動式觸控筆進一步執行以下步驟: e.等待一第二時間間隔; f.讀取一壓力值訊號; g.判斷該壓力值訊號是否大於一門檻值; h.當該壓力值訊號大於該門檻值時,根據該壓力值訊號產生一第一資料片段發送訊號及一第二資料片段發送訊號,並發送該第一資料片段發送訊號; i.等待一第三時間間隔; j.產生並發送一第二信標訊號; k.等待一第四時間間隔; l.發送該第二資料片段發送訊號; m.等待一第五時間間隔後,重新執行步驟a。The method for generating a wireless signal of the active stylus according to claim 1, wherein after the step d is performed, the active stylus further performs the following steps: e. waiting for a second time interval; f. reading Taking a pressure value signal; g. determining whether the pressure value signal is greater than a threshold value; h. when the pressure value signal is greater than the threshold value, generating a first data segment transmission signal and a second data according to the pressure value signal The segment sends a signal and sends the first data segment to send a signal; i. waits for a third time interval; j. generates and sends a second beacon signal; k. waits for a fourth time interval; l. sends the second time interval The data segment sends a signal; m. After waiting for a fifth time interval, repeat step a. 如請求項2所述之主動式觸控筆的無線訊號產生方法,其中該第一資料片段發送訊號與該第二資料片段發送訊號分布於不同頻段。The method for generating a wireless signal of the active stylus according to claim 2, wherein the first data segment transmission signal and the second data segment transmission signal are distributed in different frequency bands. 如請求項2所述之主動式觸控筆的無線訊號產生方法,係進一步包含有以下步驟: 當該壓力值訊號不大於該門檻值時,等待一第六時間間隔後,並重新執行步驟a。The method for generating a wireless signal of the active stylus according to claim 2, further comprising the steps of: waiting for a sixth time interval after the pressure value signal is not greater than the threshold, and performing step a again . 如請求項1所述之主動式觸控筆的無線訊號產生方法,係進一步包含有以下步驟: 當判斷該第一按鍵訊號未產生,但該第二按鍵訊號產生時,根據該第二頻率產生該第二按鍵發送訊號,並發送該第二按鍵發送訊號後,執行步驟f。The method for generating a wireless signal of the active stylus according to claim 1 further includes the following steps: when it is determined that the first button signal is not generated, but the second button signal is generated, generating according to the second frequency After the second button sends a signal and sends the second button to send a signal, step f is performed. 如請求項1所述之主動式觸控筆的無線訊號產生方法,係進一步包含有以下步驟: 當判斷該第一按鍵訊號與該第二按鍵訊號皆未產生時,等待一第七時間間隔後,執行步驟g。The method for generating a wireless signal of the active stylus according to claim 1 further includes the following steps: when it is determined that the first button signal and the second button signal are not generated, waiting for a seventh time interval , go to step g. 如請求項1所述之主動式觸控筆的無線訊號產生方法,係進一步包含有以下步驟: 當判斷該第一按鍵訊號產生,但該第二按鍵訊號未產生時,根據該第一頻率產生該第一按鍵發送訊號,並發送該第一按鍵發送訊號後,執行步驟f。The method for generating a wireless signal of the active stylus according to claim 1 further includes the following steps: when determining that the first button signal is generated but the second button signal is not generated, generating according to the first frequency After the first button sends a signal and sends the first button to send a signal, step f is performed. 一種主動式觸控筆,係包含有: 一第一按鍵單元,係供產生一第一按鍵訊號; 一第二按鍵單元,係供產生一第二按鍵訊號; 一無線訊號發送單元; 一處理單元,係電連接至該第一按鍵單元、該第二按鍵單元及該無線訊號發送單元,且該處理單元產生一第一信標訊號,並通過該無線訊號發送單元發送該第一信標訊號; 其中當該處理單元發送該第一信標訊號後,該處理單元係等待一第一時間間隔,並判斷是否接收到該第一按鍵單元產生的一第一按鍵訊號或該第二按鍵單元產生的一第二按鍵訊號; 其中當該處理單元接收到該第一按鍵訊號及該第二按鍵訊號時,該處理單元發送一複合訊號,該複合訊號包含根據一第一頻率產生的一第一按鍵發送訊號,及根據一第二頻率產生的一第二按鍵發送訊號。An active stylus includes: a first button unit for generating a first button signal; a second button unit for generating a second button signal; a wireless signal transmitting unit; a processing unit The system is electrically connected to the first button unit, the second button unit, and the wireless signal sending unit, and the processing unit generates a first beacon signal, and sends the first beacon signal by using the wireless signal sending unit; After the processing unit sends the first beacon signal, the processing unit waits for a first time interval, and determines whether a first button signal generated by the first button unit or the second button unit is generated. a second button signal; wherein when the processing unit receives the first button signal and the second button signal, the processing unit sends a composite signal, where the composite signal includes a first button generated according to a first frequency a signal, and a second button generated according to a second frequency to transmit a signal. 如請求項8所述之主動式觸控筆,係進一步包含有一壓力感測單元,該壓力感測單元係供產生一壓力值訊號,且電連接至該處理單元;其中: 當該處理單元發送該複合訊號後,該處理單元係等待一第二時間間隔,並讀取該壓力值訊號,且該處理單元判斷該壓力值訊號是否大於一門檻值; 當該處理單元判斷該壓力值訊號大於該門檻值時,該處理單元根據該壓力值訊號產生一第一資料片段發送訊號及一第二資料片段發送訊號,並通過該無線訊號發送單元發送該第一資料片段發送訊號; 當該處理單元發送該第一資料片段發送訊號後,該處理單元係等待一第三時間間隔,並產生一第二信標訊號,且該處理單元通過該無線訊號發送單元發送該第二信標訊號; 當該處理單元發送該第二信標訊號後,該處理單元係等待一第四時間間隔,並發送該第二資料片段發送訊號,且該處理單元係等待一第五時間間隔後,重新產生該第一信標訊號。The active stylus according to claim 8 further comprising a pressure sensing unit for generating a pressure value signal and electrically connected to the processing unit; wherein: when the processing unit sends After the composite signal, the processing unit waits for a second time interval and reads the pressure value signal, and the processing unit determines whether the pressure value signal is greater than a threshold value; when the processing unit determines that the pressure value signal is greater than the When the threshold value is reached, the processing unit generates a first data segment transmission signal and a second data segment transmission signal according to the pressure value signal, and sends the first data segment transmission signal through the wireless signal sending unit; when the processing unit sends After the first data segment sends the signal, the processing unit waits for a third time interval and generates a second beacon signal, and the processing unit sends the second beacon signal through the wireless signal sending unit; After the unit sends the second beacon signal, the processing unit waits for a fourth time interval and sends the second data fragment. Signal, and the system waits for the processing unit after a fifth time interval, re-generating the first beacon signal. 如請求項9所述之主動式觸控筆,其中該第一資料片段發送訊號與該第二資料片段發送訊號分布於不同頻段。The active stylus according to claim 9, wherein the first data segment transmission signal and the second data segment transmission signal are distributed in different frequency bands. 如請求項9所述之主動式觸控筆,其中: 當該處理單元判斷該壓力值訊號不大於該門檻值時,該處理單元等待一第六時間間隔後,並重新產生該第一信標訊號。The active stylus according to claim 9, wherein: when the processing unit determines that the pressure value signal is not greater than the threshold value, the processing unit waits for a sixth time interval and regenerates the first beacon Signal. 如請求項8所述之主動式觸控筆,其中: 當該處理單元未接收到該第一按鍵訊號,但接收到該第二按鍵訊號時,該處理單元根據該第二頻率產生該第二按鍵發送訊號,並通過該無線訊號發送單元發送該第二按鍵發送訊號,且該處理單元等待該第二時間間隔後,讀取該壓力值訊號,並判斷該壓力值訊號是否大於一門檻值; 當該處理單元判斷該壓力值訊號大於該門檻值時,該處理單元根據該壓力值訊號產生一第一資料片段發送訊號及一第二資料片段發送訊號,並通過該無線訊號發送單元發送該第一資料片段發送訊號; 當該處理單元發送該第一資料片段發送訊號後,該處理單元係等待一第三時間間隔,並產生一第二信標訊號,且該處理單元通過該無線訊號發送單元發送該第二信標訊號; 當該處理單元發送該第二信標訊號後,該處理單元係等待一第四時間間隔,並發送該第二資料片段發送訊號,且該處理單元係等待一第五時間間隔後,重新產生該第一信標訊號。The active stylus according to claim 8, wherein: when the processing unit does not receive the first button signal but receives the second button signal, the processing unit generates the second according to the second frequency The button sends a signal, and the second signal transmission signal is sent by the wireless signal sending unit, and the processing unit waits for the second time interval, reads the pressure value signal, and determines whether the pressure value signal is greater than a threshold value; When the processing unit determines that the pressure value signal is greater than the threshold value, the processing unit generates a first data segment transmission signal and a second data segment transmission signal according to the pressure value signal, and sends the first data segment sending signal by using the wireless signal sending unit. a data segment transmits a signal; after the processing unit sends the first data segment transmission signal, the processing unit waits for a third time interval, and generates a second beacon signal, and the processing unit passes the wireless signal sending unit Transmitting the second beacon signal; after the processing unit sends the second beacon signal, the processing unit waits for a fourth time Interval, and transmits the second pieces of data transmission signals, and the processing unit after a fifth time interval to wait based regenerate the first beacon signal. 如請求項8所述之主動式觸控筆,其中: 當該處理單元未接收到該第一按鍵訊號及該第二按鍵訊號時,該處理單元等待一第七時間間隔後,讀取一壓力值訊號,且該處理單元判斷該壓力值訊號是否大於一門檻值; 當該處理單元判斷該壓力值訊號大於該門檻值時,該處理單元根據該壓力值訊號產生一第一資料片段發送訊號及一第二資料片段發送訊號,並通過該無線訊號發送單元發送該第一資料片段發送訊號; 當該處理單元發送該第一資料片段發送訊號後,該處理單元係等待一第三時間間隔,並產生一第二信標訊號,且該處理單元通過該無線訊號發送單元發送該第二信標訊號; 當該處理單元發送該第二信標訊號後,該處理單元係等待一第四時間間隔,並發送該第二資料片段發送訊號,且該處理單元係等待一第五時間間隔後,重新產生該第一信標訊號。The active stylus according to claim 8, wherein: when the processing unit does not receive the first button signal and the second button signal, the processing unit waits for a seventh time interval to read a pressure a value signal, and the processing unit determines whether the pressure value signal is greater than a threshold value; when the processing unit determines that the pressure value signal is greater than the threshold value, the processing unit generates a first data segment transmission signal according to the pressure value signal and a second data segment transmits a signal, and the first data segment transmission signal is sent by the wireless signal sending unit; after the processing unit sends the first data segment transmission signal, the processing unit waits for a third time interval, and Generating a second beacon signal, and the processing unit sends the second beacon signal by using the wireless signal sending unit; after the processing unit sends the second beacon signal, the processing unit waits for a fourth time interval. And sending the second data segment sending signal, and the processing unit waits for a fifth time interval to regenerate the first beacon signal 如請求項8所述之主動式觸控筆,其中: 當該處理單元接收到該第一按鍵訊號,但未接收到該第二按鍵訊號時,該處理單元根據該第一頻率產生該第一按鍵發送訊號,並通過該無線訊號發送單元發送該第一按鍵發送訊號,且該處理單元等待該第二時間間隔後,讀取該壓力值訊號,並判斷該壓力值訊號是否大於一門檻值; 當該處理單元判斷該壓力值訊號大於該門檻值時,該處理單元根據該壓力值訊號產生一第一資料片段發送訊號及一第二資料片段發送訊號,並通過該無線訊號發送單元發送該第一資料片段發送訊號; 當該處理單元發送該第一資料片段發送訊號後,該處理單元係等待一第三時間間隔,並產生一第二信標訊號,且該處理單元通過該無線訊號發送單元發送該第二信標訊號; 當該處理單元發送該第二信標訊號後,該處理單元係等待一第四時間間隔,並發送該第二資料片段發送訊號,且該處理單元係等待一第五時間間隔後,重新產生該第一信標訊號。The active stylus according to claim 8, wherein: when the processing unit receives the first button signal but does not receive the second button signal, the processing unit generates the first according to the first frequency The button sends a signal, and sends the first button sending signal through the wireless signal sending unit, and the processing unit waits for the second time interval, reads the pressure value signal, and determines whether the pressure value signal is greater than a threshold value; When the processing unit determines that the pressure value signal is greater than the threshold value, the processing unit generates a first data segment transmission signal and a second data segment transmission signal according to the pressure value signal, and sends the first data segment sending signal by using the wireless signal sending unit. a data segment transmits a signal; after the processing unit sends the first data segment transmission signal, the processing unit waits for a third time interval, and generates a second beacon signal, and the processing unit passes the wireless signal sending unit Transmitting the second beacon signal; after the processing unit sends the second beacon signal, the processing unit waits for a fourth time Interval, and transmits the second pieces of data transmission signals, and the processing unit after a fifth time interval to wait based regenerate the first beacon signal.
TW107103202A 2018-01-30 2018-01-30 Active stylus and wireless signal generating method thereof TWI667596B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107103202A TWI667596B (en) 2018-01-30 2018-01-30 Active stylus and wireless signal generating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107103202A TWI667596B (en) 2018-01-30 2018-01-30 Active stylus and wireless signal generating method thereof

Publications (2)

Publication Number Publication Date
TWI667596B TWI667596B (en) 2019-08-01
TW201933059A true TW201933059A (en) 2019-08-16

Family

ID=68315742

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107103202A TWI667596B (en) 2018-01-30 2018-01-30 Active stylus and wireless signal generating method thereof

Country Status (1)

Country Link
TW (1) TWI667596B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI754300B (en) * 2020-01-13 2022-02-01 瑞納瑟科技股份有限公司 Stylus pen apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI775085B (en) * 2020-05-27 2022-08-21 禾瑞亞科技股份有限公司 Touch sensitive processing apparatus and method thereof, stylus and processing method thereof and touch system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI525524B (en) * 2013-11-08 2016-03-11 禾瑞亞科技股份有限公司 Transmitter set for concurrent transmitting, transmitting method thereof, and touch sensitive system
US9977519B2 (en) * 2015-02-25 2018-05-22 Synaptics Incorporated Active pen with bidirectional communication
EP3869306A1 (en) * 2015-03-02 2021-08-25 Wacom Co., Ltd. Active capacitive stylus, sensor controller, related system and method
CN205281423U (en) * 2015-11-27 2016-06-01 立迈科技股份有限公司 A capacitanc touch -control pen and a capacitanc touch -control operating system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI754300B (en) * 2020-01-13 2022-02-01 瑞納瑟科技股份有限公司 Stylus pen apparatus

Also Published As

Publication number Publication date
TWI667596B (en) 2019-08-01

Similar Documents

Publication Publication Date Title
CN112673335B (en) Changing an operating mode of a computing device by a pen device
CN105138171A (en) Touch press key and fingerprint recognition method
CN102609091A (en) Mobile terminal and method for starting voice operation thereof
CN104598130A (en) Mode switching method, terminal, wearable equipment and device
CN105204614A (en) Methods And Systems For Alarm Management In An Electronic Device
TWI667596B (en) Active stylus and wireless signal generating method thereof
WO2019218843A1 (en) Key configuration method and device, and mobile terminal and storage medium
CN102890608A (en) Terminal and method and device for awakening screen lock of terminal
CN112558796B (en) Electronic pen, control method and device thereof, and computer-readable storage medium
CN107465972A (en) The audio play control method and wireless headset of a kind of mobile terminal
CN104352228A (en) Method and device for processing application program
CN105827801A (en) Control method of terminal screen and terminal
CN103888531A (en) Reading position synchronization method and reading position obtaining method and device
US8587524B2 (en) Remote control for electronic reader and remote control method
CN101968706A (en) Electronic reading equipment with remote control device and remote control method thereof
CN107340996A (en) Screen lights method and device
CN104935992A (en) Remote controller learning method and device
CN110209335A (en) The control method and device of intelligent terminal
WO2017049839A1 (en) Touch display module, touch input unit, and touch input method
CN112558797B (en) Active pen, control method and device thereof, and computer-readable storage medium
CN105005382A (en) Human body communication based wireless input system and implementation method thereof
CN102103805A (en) Multifunctional electronic pointer device with motion control function
EP2717135A1 (en) Method for simulating key input using capacitive stylus, capacitive stylus and terminal
CN108170360B (en) Control method of gesture function and mobile terminal
CN105049611A (en) Payment device searching method and payment device searching device