TW201508564A - Frequency adjusting method, stylus and portable electronic apparatus using the same - Google Patents

Frequency adjusting method, stylus and portable electronic apparatus using the same Download PDF

Info

Publication number
TW201508564A
TW201508564A TW102131458A TW102131458A TW201508564A TW 201508564 A TW201508564 A TW 201508564A TW 102131458 A TW102131458 A TW 102131458A TW 102131458 A TW102131458 A TW 102131458A TW 201508564 A TW201508564 A TW 201508564A
Authority
TW
Taiwan
Prior art keywords
frequency
stylus
information
portable device
touch
Prior art date
Application number
TW102131458A
Other languages
Chinese (zh)
Inventor
Yu-Min Chang
Hsing-Lung Chung
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to TW102131458A priority Critical patent/TW201508564A/en
Publication of TW201508564A publication Critical patent/TW201508564A/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

A frequency adjusting method for a stylus sends a carrier signal to operate a portable electronic apparatus with a scanning frequency is disclosed. The method includes the follow steps: detecting a touch operation by the stylus to obtain an operating status data; transforming the operating status data into a corresponding scanning frequency of the portable electronic apparatus; determining whether the corresponding scanning frequency is over a receivable region of the scanning frequency; if the corresponding scanning frequency is over the receivable region of the scanning frequency, adjusting a carrier frequency of the carrier signal according to the operating status data; and forming an adjusting data of the scanning frequency according to the adjusted carrier frequency and sending the adjusting data of the scanning frequency to the portable electronic apparatus.

Description

頻率調整方法、應用該方法之觸控筆及可攜裝置及其頻率調整方法Frequency adjustment method, stylus and portable device using the same, and frequency adjustment method thereof

本發明是關於一種頻率調整方法,特別是一種基於觸控筆之觸控操作以動態調整觸控筆之載波訊號之載波頻率及可攜裝置之掃描頻率之頻率調整方法。本發明更包括應用該方法之觸控筆及可攜裝置。The present invention relates to a frequency adjustment method, and more particularly to a frequency adjustment method based on a touch operation of a stylus to dynamically adjust a carrier frequency of a carrier signal of a stylus and a scanning frequency of a portable device. The invention further includes a stylus and a portable device to which the method is applied.

現今可攜式裝置採用觸控方式執行指令輸入,使用者僅需利用手指或觸控筆於可攜式裝置之觸控面板上點擊或滑移,即可完成輸入操作。以觸控筆為例,以往在使用者操作觸控筆以輸入文字或滑移軌跡時,經常會發現其文字筆劃或軌跡會有中斷或部分無法顯示之狀態,使得所顯示之文字或軌跡不完全,而造成使用者之困擾。歸咎其原因,在於可攜式裝置之掃描頻率不夠快速,或是觸控筆之載波頻率未能配合可攜式裝置之掃描頻率,導致無法實際反映使用者所輸入之完整軌跡。目前現有之可攜式裝置之掃描頻率及主動式觸控筆之載波頻率大多採用固定頻率之設計,因此並無法有效改善前述問題。Nowadays, the portable device performs the command input by using the touch method, and the user only needs to click or slide on the touch panel of the portable device with a finger or a stylus to complete the input operation. Taking the stylus as an example, in the past, when a user operates a stylus to input text or a sliding track, it often finds that the character stroke or the track is interrupted or partially undisplayed, so that the displayed text or track is not Complete, causing user confusion. The reason for this is that the scanning frequency of the portable device is not fast enough, or the carrier frequency of the stylus fails to match the scanning frequency of the portable device, so that the complete trajectory input by the user cannot be actually reflected. At present, the scanning frequency of the existing portable device and the carrier frequency of the active stylus are mostly designed with a fixed frequency, and thus the above problems cannot be effectively improved.

因此,如何能發展出隨著使用者之輸入狀態不同,而動態調整觸控筆之載波頻率或/及可攜式裝置之掃描頻率之設計,實為一值得研究的課題。Therefore, how to develop a design that dynamically adjusts the carrier frequency of the stylus or/and the scanning frequency of the portable device as the input state of the user is different is a subject worthy of study.

本發明之主要目的係在提供一種基於觸控筆之觸控操作以動態調整觸控筆之載波訊號之載波頻率及可攜裝置之掃描頻率之頻率調整方法。The main purpose of the present invention is to provide a frequency adjustment method based on the touch operation of the stylus to dynamically adjust the carrier frequency of the stylus carrier signal and the scanning frequency of the portable device.

為達到上述之目的,本發明之頻率調整方法應用於可發射載波訊號之觸控筆,該觸控筆用以操作具有掃描頻率之可攜裝置。該方法包括以下步驟:偵測以觸控筆執行之觸控操作以取得操作狀態資訊;換算操作狀態資訊為可攜裝置之對應掃描頻率;判斷對應掃描頻率是否超出掃描頻率之容許範圍;若對應掃描頻率超出容許範圍,則依據操作狀態資訊調整載波訊號之載波頻率;以及依據調整後之載波頻率產生掃描頻率之頻率調整資訊並傳送至可攜裝置。To achieve the above object, the frequency adjustment method of the present invention is applied to a stylus capable of transmitting a carrier signal for operating a portable device having a scanning frequency. The method includes the following steps: detecting a touch operation performed by the stylus to obtain operation state information; converting the operation state information to a corresponding scanning frequency of the portable device; determining whether the corresponding scanning frequency exceeds an allowable range of the scanning frequency; When the scanning frequency is out of the allowable range, the carrier frequency of the carrier signal is adjusted according to the operation status information; and the frequency adjustment information of the scanning frequency is generated according to the adjusted carrier frequency and transmitted to the portable device.

本發明之另一主要目的係在提供一種基於觸控筆之觸控操作以動態調整可攜裝置之掃描頻率之頻率調整方法。Another main object of the present invention is to provide a frequency adjustment method based on the touch operation of the stylus to dynamically adjust the scanning frequency of the portable device.

為達到上述之目的,本發明之頻率調整方法應用於具有掃描頻率之可攜裝置,該可攜裝置配合使用可發射載波訊號之觸控筆。該方法包括以下步驟:偵測以觸控筆執行之觸控操作以取得觸控輸入資訊;換算觸控輸入資訊為可攜裝置之對應掃描頻率;判斷對應掃描頻率是否超出掃描頻率之容許範圍;若對應掃描頻率超出容許範圍,則依據觸控輸入資訊調整掃描頻率;以及依據調整後之掃描頻率產生載波頻率之頻率調整資訊並傳送至觸控筆。To achieve the above object, the frequency adjustment method of the present invention is applied to a portable device having a scanning frequency, which is used in conjunction with a stylus capable of transmitting a carrier signal. The method includes the following steps: detecting a touch operation performed by the stylus to obtain touch input information; converting the touch input information to a corresponding scan frequency of the portable device; and determining whether the corresponding scan frequency exceeds an allowable range of the scan frequency; If the corresponding scanning frequency is out of the allowable range, the scanning frequency is adjusted according to the touch input information; and the frequency adjustment information of the carrier frequency is generated according to the adjusted scanning frequency and transmitted to the stylus.

本發明更包括應用前述方法之觸控筆及可攜裝置。The invention further includes a stylus and a portable device to which the foregoing method is applied.

藉此設計,本發明之頻率調整方法能基於觸控筆之觸控操作判斷使用者以觸控筆或手指執行手寫輸入,執行即時動態處理,使得對應形成之筆觸更具連續性且不易中斷;而依據使用者於輸入時所施加之壓力不同,筆觸亦可動態產生因應之粗細變化,進而帶給使用者更加之操作感受。With this design, the frequency adjustment method of the present invention can determine that the user performs handwriting input with a stylus or a finger based on the touch operation of the stylus, and performs real-time dynamic processing, so that the corresponding formed stroke is more continuous and not easily interrupted; Depending on the pressure applied by the user at the time of input, the stroke can dynamically change the thickness of the response, which in turn gives the user a more operational experience.

為能讓  貴審查委員更瞭解本發明之技術內容,特舉出數個實施例說明如下。In order to make the reviewer more aware of the technical content of the present invention, several embodiments are described below.

請先參考圖1是本發明之觸控筆10之系統方塊圖。本發明之觸控筆10為一種主動式觸控筆,可發射載波訊號以對應操作一可攜裝置。如圖1所示,本發明之觸控筆10包括觸控筆本體11以及設置於觸控筆本體11之第一傳輸模組12、狀態偵測模組13、第一處理模組14及第一頻率調整模組15。觸控筆本體11可以是觸控筆之主要殼體結構。第一傳輸模組12提供與可攜裝置間之訊號傳輸功能,前述載波訊號即藉由第一傳輸模組12發送至可攜裝置,而第一傳輸模組12也可以接收自可攜裝置傳送過來之訊息。第一傳輸模組12以無線傳輸方式進行訊號傳輸,例如採用支援不同通訊協定(例如WiFi、Bluetooth、NFC等)之傳輸模組;此處第一傳輸模組12可以是具有無線傳輸功能之硬體晶片,但其實施態樣不以此為限,也可以是硬體結合軟體或韌體之相應設計。Please refer to FIG. 1 for a block diagram of the system of the stylus pen 10 of the present invention. The stylus 10 of the present invention is an active stylus that can transmit a carrier signal to operate a portable device. As shown in FIG. 1 , the stylus pen 10 of the present invention includes a stylus body 11 and a first transmission module 12 , a state detection module 13 , a first processing module 14 , and a first A frequency adjustment module 15. The stylus body 11 can be the main housing structure of the stylus. The first transmission module 12 provides a signal transmission function with the portable device. The carrier signal is transmitted to the portable device by the first transmission module 12, and the first transmission module 12 can also be transmitted from the portable device. The message coming over. The first transmission module 12 performs signal transmission by means of wireless transmission, for example, a transmission module supporting different communication protocols (for example, WiFi, Bluetooth, NFC, etc.); here, the first transmission module 12 can be hard with wireless transmission function. The body wafer, but the embodiment thereof is not limited thereto, and may be a corresponding design of a hardware combined with a soft body or a firmware.

狀態偵測模組13用以偵測以觸控筆所執行之觸控操作,進而取得操作狀態資訊。在本發明之一實施例中,狀態偵測模組13包括振動感測元件131及壓力感測元件132,且操作狀態資訊包括振動資訊及壓力回饋資訊。振動感測元件131用以偵測於該觸控操作中觸控筆本體11之振動狀態;而壓力感測元件132則設置在觸控筆本體11之筆尖部位,用以偵測於該觸控操作中觸控筆本體11之接觸受壓狀態。由於使用者以觸控筆10於可攜裝置上執行觸控操作時,觸控筆本體11會產生晃動,且觸控筆本體11之筆尖部位會因為接觸可攜裝置而受壓,因此藉由振動感測元件131可取得觸控筆本體11之振動資訊,而壓力感測元件132可取得觸控筆本體11之壓力回饋資訊。此處所取得之振動資訊及壓力回饋資訊可為測量之回饋數值。The state detecting module 13 is configured to detect a touch operation performed by the stylus to obtain operation state information. In one embodiment of the present invention, the state detecting module 13 includes a vibration sensing component 131 and a pressure sensing component 132, and the operating state information includes vibration information and pressure feedback information. The vibration sensing component 131 is configured to detect the vibration state of the stylus body 11 in the touch operation; and the pressure sensing component 132 is disposed on the pen tip portion of the stylus body 11 for detecting the touch The contact of the stylus body 11 in the operation is under pressure. When the user performs a touch operation on the portable device with the stylus 10, the stylus body 11 may be shaken, and the nib portion of the stylus body 11 may be pressed due to contact with the portable device, thereby The vibration sensing component 131 can obtain the vibration information of the stylus body 11 , and the pressure sensing component 132 can obtain the pressure feedback information of the stylus body 11 . The vibration information and pressure feedback information obtained here can be the feedback value of the measurement.

此外,狀態偵測模組13更包括環境偵測元件133,環境偵測元件133用以判斷觸控筆10是否處於使用狀態。此處環境偵測元件133可以是一個重力加速計(G-sensor)或陀螺儀等,用以偵測觸控筆本體11之傾斜角度。由於使用者在使用觸控筆10時,會將觸控筆本體11呈一傾斜角度以便輸入指令或書寫文字,因此藉由環境偵測元件133能輔助判斷觸控筆10處於使用狀態與否。需注意的是,本發明不以此為限,例如環境偵測元件133也可以使用設置於觸控筆本體11表面之接觸感測元件所取代,藉由接觸感測元件偵測觸控筆本體11是否被握持,同樣能輔助判斷觸控筆10是否正處於使用狀態。In addition, the state detecting module 13 further includes an environment detecting component 133 for determining whether the stylus pen 10 is in use. Here, the environment detecting component 133 may be a g-sensor or a gyroscope to detect the tilt angle of the stylus body 11. When the stylus pen 10 is used, the stylus body 11 is inclined at an angle to input an instruction or a written text. Therefore, the environment detecting component 133 can assist in determining whether the stylus pen 10 is in use or not. It should be noted that the present invention is not limited thereto. For example, the environment detecting component 133 may be replaced by a contact sensing component disposed on the surface of the stylus body 11 to detect the stylus body by the contact sensing component. Whether the 11 is held or not can also help determine whether the stylus pen 10 is in use.

第一處理模組14用以依據狀態偵測模組13所偵測之操作狀態資訊,經由計算處理後,產生對應該操作狀態資訊之載波訊號之一修正載波頻率,再依據該修正載波頻率換算為可攜裝置之一對應掃描頻率。接著,第一處理模組14會將該對應掃描頻率與目前可攜裝置之掃描頻率相互比對,以判斷對應掃描頻率是否超出掃描頻率之容許範圍;而目前可攜裝置之掃描頻率數值則位於此容許範圍內。有關第一處理模組14如何進行數值計算或換算之內容,將於後續實施例中加以說明。此處第一處理模組14可以是硬體處理晶片、應用程式、韌體之其中之一或任二者以上之組合。The first processing module 14 is configured to, according to the operation state information detected by the state detecting module 13, generate a carrier frequency corresponding to one of the carrier signals corresponding to the operation state information, and then convert the carrier frequency according to the modified carrier frequency. Corresponding to the scanning frequency for one of the portable devices. Then, the first processing module 14 compares the corresponding scanning frequency with the scanning frequency of the current portable device to determine whether the corresponding scanning frequency exceeds the allowable range of the scanning frequency. Currently, the scanning frequency value of the portable device is located. Within this tolerance. The contents of how the first processing module 14 performs numerical calculation or conversion will be described in the following embodiments. The first processing module 14 herein may be one of a hardware processing chip, an application program, a firmware, or a combination of two or more.

第一頻率調整模組15用以調整觸控筆10所發出之載波訊號之載波頻率。在本發明之一實施例中,第一頻率調整模組15可以是一個硬體晶片或應用程式,以執行載波頻率之調整功能。當前述第一處理模組14判斷所換算出之對應掃描頻率超出容許範圍時,第一頻率調整模組15會依據所計算出對應該操作狀態資訊之修正載波頻率,來調整觸控筆10本身所發出之載波訊號之載波頻率。The first frequency adjustment module 15 is configured to adjust the carrier frequency of the carrier signal sent by the stylus pen 10. In an embodiment of the invention, the first frequency adjustment module 15 can be a hardware chip or an application to perform a carrier frequency adjustment function. When the first processing module 14 determines that the converted corresponding scanning frequency is out of the allowable range, the first frequency adjusting module 15 adjusts the stylus 10 according to the corrected carrier frequency of the corresponding operating state information. The carrier frequency of the transmitted carrier signal.

而第一處理模組14會依據調整後之該載波頻率,產生可攜裝置之掃描頻率之頻率調整資訊,並藉由第一傳輸模組12傳送該頻率調整資訊至可攜裝置,以供可攜裝置進行對應處理程序。此處已產生之頻率調整資訊可附加於觸控筆10所發出之載波訊號中,以隨著載波訊號一併傳送至可攜裝置;但頻率調整資訊也可以採用獨立訊號方式傳送至可攜裝置。The first processing module 14 generates the frequency adjustment information of the scanning frequency of the portable device according to the adjusted carrier frequency, and transmits the frequency adjustment information to the portable device through the first transmission module 12 for providing The carrying device performs a corresponding processing procedure. The frequency adjustment information generated here can be added to the carrier signal sent by the stylus 10 to be transmitted to the portable device along with the carrier signal; however, the frequency adjustment information can also be transmitted to the portable device by using an independent signal. .

此外,第一處理模組14設定有一第一設定時間,當第一處理模組14判斷狀態偵測模組13於第一設定時間內,未取得任一操作狀態資訊,第一處理模組14會通知第一頻率調整模組15降低觸控筆所發出之載波訊號之載波頻率,以減少不必要之電力消耗。而之後只要狀態偵測模組13取得任一操作狀態資訊,第一處理模組14即可通知第一頻率調整模組15恢復原本載波訊號之載波頻率。此第一設定時間可設定為數十秒至數十分鐘不等,其時間長短依據使用者需求不同自行設定。In addition, the first processing module 14 is configured to have a first set time. When the first processing module 14 determines that the state detecting module 13 has not obtained any operating state information within the first set time, the first processing module 14 The first frequency adjustment module 15 is notified to reduce the carrier frequency of the carrier signal sent by the stylus to reduce unnecessary power consumption. Then, as long as the state detecting module 13 obtains any operating state information, the first processing module 14 can notify the first frequency adjusting module 15 to restore the carrier frequency of the original carrier signal. The first set time can be set from tens of seconds to tens of minutes, and the length of time is set according to the user's needs.

請參考圖2是應用於觸控筆10之本發明之頻率調整方法之第一實施例流程圖。需注意的是,以下雖配合圖1所示之觸控筆10為例說明本發明之頻率調整方法,但本發明並不以此為限,該方法亦可應用於任何具有類似架構或功能之觸控筆。如圖2所示,本發明之頻率調整方法包括步驟S11至步驟S15。以下將詳細說明對應之各個步驟。Please refer to FIG. 2, which is a flow chart of a first embodiment of the frequency adjustment method of the present invention applied to the stylus 10. It should be noted that the frequency adjustment method of the present invention is described below with reference to the stylus 10 shown in FIG. 1. However, the present invention is not limited thereto, and the method can also be applied to any similar architecture or function. Stylus. As shown in FIG. 2, the frequency adjustment method of the present invention includes steps S11 to S15. The corresponding steps will be described in detail below.

步驟S11:偵測以觸控筆10執行之觸控操作以取得操作狀態資訊。Step S11: detecting a touch operation performed by the stylus pen 10 to obtain operation state information.

當使用者以本發明之觸控筆10對可攜裝置執行觸控操作時,藉由狀態偵測模組13偵測觸控筆10之被操作狀態,即可取得對應之操作狀態資訊。此處操作狀態資訊包括觸控筆10之振動資訊及壓力回饋資訊。例如當使用者握持本發明之觸控筆10執行觸控操作時產生晃動,即可取得振動資訊;而當使用者握持本發明之觸控筆10執行觸控操作時以筆尖部位接觸可攜裝置,即會取得壓力回饋資訊。When the user performs the touch operation on the portable device with the stylus 10 of the present invention, the state detecting module 13 detects the operated state of the stylus 10 to obtain the corresponding operating state information. The operation status information here includes the vibration information of the stylus pen 10 and the pressure feedback information. For example, when the user holds the stylus pen 10 of the present invention to perform a touch operation, the vibration information can be obtained. When the user touches the stylus pen 10 of the present invention to perform the touch operation, the pen tip portion can be contacted. With the device, pressure feedback information will be obtained.

步驟S12:換算操作狀態資訊為可攜裝置之對應掃描頻率。Step S12: The conversion operation status information is a corresponding scanning frequency of the portable device.

在取得前述操作狀態資訊後,第一處理模組14會針對該操作狀態資訊執行計算處理,例如將取得之振動資訊及壓力回饋資訊直接數值化或執行權重比例計算(如振動數值*0.6、壓力回饋數值*0.4),以取得一結果值,而依據該結果值經計算或數值資料查詢等方式,取得對應該操作狀態資訊之載波訊號之修正載波頻率。由於觸控筆之載波訊號之載波頻率與可攜裝置之掃描頻率需彼此對應,因此可依據前述取得之修正載波頻率找出可攜裝置之對應掃描頻率(例如預先製作對應各種操作狀態資訊之載波頻率之數值資料表,以及載波頻率與掃描頻率之數值對應資料表等,以便於查找相關數值)。After obtaining the foregoing operation status information, the first processing module 14 performs a calculation process on the operation status information, for example, directly digitizing the obtained vibration information and pressure feedback information or performing weight ratio calculation (eg, vibration value *0.6, pressure) The feedback value *0.4) is used to obtain a result value, and the corrected carrier frequency of the carrier signal corresponding to the operation state information is obtained according to the calculation or numerical data query. Since the carrier frequency of the stylus carrier signal and the scanning frequency of the portable device need to correspond to each other, the corresponding scanning frequency of the portable device can be found according to the modified carrier frequency obtained above (for example, a carrier corresponding to various operational status information is prepared in advance) The numerical data table of the frequency, and the data table of the carrier frequency and the scanning frequency are corresponding to the data table, so as to find the relevant value).

步驟S13:判斷對應掃描頻率是否超出掃描頻率之容許範圍。Step S13: It is judged whether the corresponding scanning frequency exceeds the allowable range of the scanning frequency.

第一處理模組14可先行接收可攜裝置傳送過來之訊息,已取得目前可攜裝置之掃描頻率,並且設定該掃描頻率之容許範圍。而經步驟S12後,第一處理模組14會將目前找出之對應掃描頻率與可攜裝置之掃描頻率相互比對,以判斷該對應掃描頻率是否超出掃描頻率之容許範圍。若判斷該對應掃描頻率已超出掃描頻率之容許範圍,則續行步驟S14;若判斷該對應掃描頻率位在掃描頻率之容許範圍內,則表示目前觸控筆10之操作狀態不需對應調整載波頻率,而回到步驟S11重新執行偵測。The first processing module 14 can receive the message transmitted by the portable device first, obtain the scanning frequency of the current portable device, and set the allowable range of the scanning frequency. After the step S12, the first processing module 14 compares the currently found corresponding scanning frequency with the scanning frequency of the portable device to determine whether the corresponding scanning frequency exceeds the allowable range of the scanning frequency. If it is determined that the corresponding scanning frequency has exceeded the allowable range of the scanning frequency, proceeding to step S14; if it is determined that the corresponding scanning frequency is within the allowable range of the scanning frequency, it indicates that the current operating state of the stylus 10 does not need to be adjusted correspondingly. The frequency is returned to step S11 to perform the detection again.

舉例來說,假設第一處理模組14從可攜裝置所傳來之訊息中,得知目前可攜裝置之掃描頻率為300KHz,並且設定該掃描頻率之容許範圍為上下各50KHz,也就是250KHz至350KHz之間。而根據觸控筆10目前之操作狀態所取得之操作狀態資訊,判斷所換算出之對應掃描頻率為400KHz時,則表示該對應掃描頻率已超出掃描頻率之容許範圍,而續行步驟S14;若所換算出之對應掃描頻率為275KHz,則表示該對應掃描頻率仍位於掃描頻率之容許範圍內。For example, it is assumed that the first processing module 14 learns from the portable device that the scanning frequency of the current portable device is 300 kHz, and the allowable range of the scanning frequency is 50 kHz, that is, 250 kHz. Up to 350KHz. According to the operation state information obtained by the current operating state of the stylus 10, it is determined that the converted corresponding scanning frequency is 400 kHz, indicating that the corresponding scanning frequency has exceeded the allowable range of the scanning frequency, and the step S14 is continued; The corresponding scan frequency converted to 275 kHz indicates that the corresponding scan frequency is still within the allowable range of the scan frequency.

步驟S14:依據操作狀態資訊調整載波訊號之載波頻率。Step S14: Adjust the carrier frequency of the carrier signal according to the operation status information.

於前述步驟S13判斷該對應掃描頻率已超出掃描頻率之容許範圍時,表示依據目前觸控筆之操作狀態,原本設定之載波訊號之載波頻率已不適用,需要重新調整載波頻率。因此,第一頻率調整模組15會依據前述所換算出對應該操作狀態資訊之修正載波頻率,調整目前載波訊號之載波頻率,以因應目前觸控筆之操作狀態。When it is determined in the foregoing step S13 that the corresponding scanning frequency has exceeded the allowable range of the scanning frequency, it indicates that the carrier frequency of the originally set carrier signal is not applicable according to the current operating state of the stylus, and the carrier frequency needs to be re-adjusted. Therefore, the first frequency adjustment module 15 adjusts the carrier frequency of the current carrier signal according to the modified carrier frequency corresponding to the operation state information, so as to respond to the current operating state of the stylus.

步驟S15:依據調整後之載波頻率產生掃描頻率之頻率調整資訊並傳送至可攜裝置。Step S15: Generate frequency adjustment information of the scanning frequency according to the adjusted carrier frequency and transmit the information to the portable device.

由於觸控筆10之載波訊號之載波頻率改變,可攜裝置之掃描頻率也需要相應調整,因此於前述步驟S14調整載波訊號之載波頻率後,第一處理模組14會依據調整後之載波頻率,參照前述對應掃描頻率以產生掃描頻率之頻率調整資訊,並通知第一傳輸模組12將該頻率調整資訊傳送至可攜裝置,使得可攜裝置能藉以對應調整其掃描頻率。Since the carrier frequency of the carrier signal of the stylus 10 is changed, the scanning frequency of the portable device needs to be adjusted accordingly. Therefore, after adjusting the carrier frequency of the carrier signal in the foregoing step S14, the first processing module 14 according to the adjusted carrier frequency. Referring to the foregoing corresponding scanning frequency to generate frequency adjustment information of the scanning frequency, and notifying the first transmission module 12 to transmit the frequency adjustment information to the portable device, so that the portable device can adjust the scanning frequency accordingly.

本發明之頻率調整方法於步驟S11前更包括步驟S10:判斷觸控筆10是否處於使用狀態。The frequency adjustment method of the present invention further includes a step S10 before the step S11: determining whether the stylus pen 10 is in a use state.

觸控筆10可利用狀態偵測模組13之環境偵測元件133,偵測觸控筆本體11之傾斜角度,以判斷觸控筆10是否處於使用狀態。例如假設環境偵測元件133為重力加速計,若偵測到觸控筆本體11呈實質上直立或平放之位置,則判斷觸控筆10並非處於使用狀態;而若偵測到觸控筆本體11與實質上水平面呈一傾斜角度,則判斷觸控筆10目前處於使用狀態。又假設環境偵測元件133為接觸感測元件,若偵測到觸控筆本體11被使用者握持,則判斷觸控筆10處於使用狀態;反之,則判斷觸控筆10並非處於使用狀態。The stylus 10 can detect the tilt angle of the stylus body 11 by using the environment detecting component 133 of the state detecting module 13 to determine whether the stylus pen 10 is in use. For example, if the environment detecting component 133 is a gravity accelerometer, if the stylus body 11 is detected to be in a substantially upright or flat position, it is determined that the stylus pen 10 is not in use; and if the stylus is detected When the body 11 is at an oblique angle to the substantially horizontal plane, it is determined that the stylus pen 10 is currently in use. It is also assumed that the environment detecting component 133 is a contact sensing component. If it is detected that the stylus body 11 is held by the user, it is determined that the stylus pen 10 is in use; otherwise, it is determined that the stylus pen 10 is not in use. .

經由前述步驟S10,若判斷觸控筆10處於使用狀態,則續行步驟S11,開始啟動狀態偵測模組13之振動感測元件131及壓力感測元件132,以藉由該些感測元件分別取得振動資訊及壓力回饋資訊;若判斷觸控筆10並未處於使用狀態,則僅藉由環境偵測元件133持續偵測,如此可節省啟動振動感測元件131及壓力感測元件132所耗之電力。If the stylus 10 is determined to be in the use state, the step S11 is continued to start the vibration sensing component 131 and the pressure sensing component 132 of the state detecting module 13 by using the sensing components. The vibration information and the pressure sensing information are respectively obtained. If it is determined that the stylus 10 is not in use, the environment detecting component 133 is continuously detected, so that the vibration sensing component 131 and the pressure sensing component 132 can be saved. Power consumption.

請參考圖3是應用於觸控筆之本發明之頻率調整方法之第二實施例流程圖。本實施例為前述第一實施例之變化形式,如圖3所示,在本發明之另一實施例中,本發明之頻率調整方法於步驟S12可取代為步驟S16及步驟S17。以下將進一步詳細說明該方法新增之各個步驟。Please refer to FIG. 3, which is a flow chart of a second embodiment of the frequency adjustment method of the present invention applied to a stylus. This embodiment is a variation of the foregoing first embodiment. As shown in FIG. 3, in another embodiment of the present invention, the frequency adjustment method of the present invention may be replaced with step S16 and step S17 in step S12. The various steps added to the method are described in further detail below.

步驟S16:取得來自可攜裝置之觸控輸入資訊。Step S16: Acquire touch input information from the portable device.

在本實施例中,觸控筆10不但能藉由偵測其操作狀態而取得操作狀態資訊,做為調整載波頻率之參考,也能一併參照使用者以觸控筆10對可攜裝置執行觸控操作所產生之觸控輸入資訊,達到更精確之載波頻率調整效果。因此,觸控筆10可藉由第一傳輸模組12取得來自可攜裝置之觸控輸入資訊。其中該觸控輸入資訊可包括該觸控操作之觸控類型、該觸控操作所形成移動軌跡之前後點距離、移動速度及加速度之其中至少一者。In this embodiment, the stylus 10 can obtain the operating state information by detecting the operating state of the stylus 10 as a reference for adjusting the carrier frequency, and can also perform the stylus 10 on the portable device by referring to the user. The touch input information generated by the touch operation achieves a more accurate carrier frequency adjustment effect. Therefore, the stylus 10 can obtain touch input information from the portable device through the first transmission module 12. The touch input information may include at least one of a touch type of the touch operation, a front and rear point distance, a moving speed, and an acceleration formed by the touch operation.

步驟S17:結合操作狀態資訊及觸控輸入資訊以換算為可攜裝置之對應掃描頻率。Step S17: Combine the operation status information and the touch input information to be converted into a corresponding scanning frequency of the portable device.

在取得前述操作狀態資訊及觸控輸入資訊後,第一處理模組14會針對該操作狀態資訊及該觸控輸入資訊一併執行計算處理,例如將取得之振動資訊、壓力回饋資訊及移動軌跡之移動速度直接數值化或執行權重比例計算(如振動數值*0.5、壓力回饋數值*0.2、移動速度值*0.3),以取得一結果值,而依據該結果值經計算或數值資料查詢等方式,取得對應該操作狀態資訊及該觸控輸入資訊之載波訊號之修正載波頻率;再依據前述取得之修正載波頻率找出可攜裝置之對應掃描頻率。After the operation status information and the touch input information are obtained, the first processing module 14 performs calculation processing together with the operation status information and the touch input information, for example, the obtained vibration information, the pressure feedback information, and the movement track. The moving speed is directly digitized or the weight ratio calculation (such as vibration value *0.5, pressure feedback value *0.2, moving speed value *0.3) is performed to obtain a result value, and the result value is calculated or numerical data query according to the method. And obtaining a modified carrier frequency corresponding to the operation status information and the carrier signal of the touch input information; and then finding a corresponding scanning frequency of the portable device according to the modified carrier frequency obtained as described above.

藉由本發明之設計,觸控筆10能偵測使用者握持時之操作狀態不同,動態對應調整其發出之載波訊號之載波頻率,並通知可攜裝置一併對應調整其掃描頻率,使得觸控筆之載波頻率與可攜裝置之掃描頻率能持續地相互配合,減少所輸入之移動軌跡中斷或不連續,而產生漏字之狀況。With the design of the present invention, the stylus 10 can detect the different operating states when the user holds the hand, dynamically adjust the carrier frequency of the carrier signal sent by the user, and notify the portable device to adjust the scanning frequency accordingly, so that the touch The carrier frequency of the pen and the scanning frequency of the portable device can continuously cooperate with each other to reduce the interruption or discontinuity of the input moving track, and the situation of missing words is generated.

請參考圖4是本發明之可攜裝置20之系統方塊圖。本發明之可攜裝置20可以是一種智慧型手機、平板電腦、筆記型電腦或其他具有觸控螢幕之可攜裝置,且該可攜裝置能配合使用可發射載波訊號之觸控筆。如圖4所示,本發明之可攜裝置20包括第二傳輸模組21、觸控偵測模組22、第二處理模組23及第二頻率調整模組24。第二傳輸模組21提供與觸控筆間之訊號傳輸功能,能接收觸控筆所發出之載波訊號或其他訊號,並且能發送訊息至觸控筆。第二傳輸模組21也採用無線傳輸方式進行訊號傳輸,此處第二傳輸模組21可以是具有無線傳輸功能之硬體晶片,但其實施態樣不以此為限,也可以是硬體結合軟體或韌體之相應設計。Please refer to FIG. 4, which is a system block diagram of the portable device 20 of the present invention. The portable device 20 of the present invention can be a smart phone, a tablet computer, a notebook computer or other portable device with a touch screen, and the portable device can be used with a stylus capable of transmitting a carrier signal. As shown in FIG. 4 , the portable device 20 of the present invention includes a second transmission module 21 , a touch detection module 22 , a second processing module 23 , and a second frequency adjustment module 24 . The second transmission module 21 provides a signal transmission function with the stylus, can receive the carrier signal or other signals sent by the stylus, and can send a message to the stylus. The second transmission module 21 also uses a wireless transmission mode for signal transmission. Here, the second transmission module 21 may be a hardware chip with a wireless transmission function, but the implementation manner is not limited thereto, and may also be a hardware. Combine the corresponding design of the software or firmware.

觸控偵測模組22用以偵測以觸控筆於可攜裝置上所執行之觸控操作,進而取得觸控輸入資訊。觸控偵測模組22以設定之掃描頻率進行掃描,配合觸控筆所發射之載波訊號之載波頻率,以對應偵測觸控筆之觸控輸入。在本發明之一實施例中,觸控偵測模組22可以是可攜裝置20之觸控顯示面板,且所取得之觸控輸入資訊包括該觸控操作之觸控類型、該觸控操作所形成移動軌跡之前後點距離、移動速度及加速度之其中至少一者。前述觸控操作之觸控類型可包括點擊、滑移等不同觸控形式;而當使用者執行滑移操作時,觸控偵測模組22會隨著該滑移操作之移動先後擷取到複數個點,以連線形成移動軌跡,因此觸控偵測模組22可取得該移動軌跡中相鄰二個前後點之距離,或依據該距離及前後點取得之時間計算出該移動軌跡之移動速度及加速度等觸控輸入資訊。有關觸控輸入資訊之取得屬於習知技術,在此不多加贅述。The touch detection module 22 is configured to detect a touch operation performed by the stylus on the portable device to obtain touch input information. The touch detection module 22 scans at a set scan frequency to match the carrier frequency of the carrier signal transmitted by the stylus to detect the touch input of the stylus. In one embodiment of the present invention, the touch detection module 22 can be a touch display panel of the portable device 20, and the touch input information obtained includes the touch type of the touch operation and the touch operation. At least one of a back point distance, a moving speed, and an acceleration before the movement trajectory is formed. The touch type of the touch operation may include different touch forms such as clicking and sliding. When the user performs the slide operation, the touch detection module 22 sequentially captures the movement of the slide operation. The plurality of points are connected to form a moving track. Therefore, the touch detection module 22 can obtain the distance between two adjacent front and rear points in the moving track, or calculate the moving track according to the distance and the time obtained by the front and rear points. Touch input information such as moving speed and acceleration. The acquisition of touch input information is a well-known technique and will not be repeated here.

第二處理模組23用以依據觸控偵測模組22所取得之觸控輸入資訊,換算為可攜裝置之一對應掃描頻率。接著,第二處理模組23會將該對應掃描頻率與目前可攜裝置20之掃描頻率相互比對,以判斷對應掃描頻率是否超出掃描頻率之容許範圍;而目前可攜裝置之掃描頻率數值則位於此容許範圍內。此處第二處理模組23可以是硬體處理晶片、應用程式、韌體之其中之一或任二者以上之組合。The second processing module 23 is configured to convert the touch input information obtained by the touch detection module 22 into a corresponding scanning frequency of one of the portable devices. Then, the second processing module 23 compares the corresponding scanning frequency with the scanning frequency of the current portable device 20 to determine whether the corresponding scanning frequency exceeds the allowable range of the scanning frequency; and the scanning frequency value of the current portable device Located within this tolerance. Here, the second processing module 23 may be one of a hardware processing chip, an application program, a firmware, or a combination of two or more.

第二頻率調整模組24用以調整可攜裝置20之掃描頻率。在本發明之一實施例中,第二頻率調整模組24可以是一個硬體晶片或應用程式,以執行掃描頻率之調整功能。當前述第二處理模組23判斷所換算出之對應掃描頻率超出容許範圍時,第二頻率調整模組24會依據對應該觸控輸入資訊之對應掃描頻率,來調整觸控筆10可攜裝置20原本之掃描頻率。The second frequency adjustment module 24 is configured to adjust the scanning frequency of the portable device 20 . In an embodiment of the invention, the second frequency adjustment module 24 can be a hardware chip or an application to perform a scan frequency adjustment function. When the second processing module 23 determines that the converted corresponding scanning frequency is out of the allowable range, the second frequency adjusting module 24 adjusts the stylus 10 portable device according to the corresponding scanning frequency corresponding to the touch input information. 20 original scanning frequency.

而第二處理模組23會依據調整後之掃描頻率,產生觸控筆所發出之載波訊號之載波頻率之頻率調整資訊,並藉由第二傳輸模組21傳送該頻率調整資訊至觸控筆,以供觸控筆進行對應處理程序。The second processing module 23 generates frequency adjustment information of the carrier frequency of the carrier signal sent by the stylus according to the adjusted scanning frequency, and transmits the frequency adjustment information to the stylus by the second transmission module 21 For the stylus to perform the corresponding processing procedure.

此外,第二處理模組23設定有一第二設定時間,當第二處理模組23判斷觸控偵測模組22於第二設定時間內,未取得任一觸控輸入資訊,第二處理模組23會通知第二頻率調整模組24降低可攜裝置20之掃描頻率,以減少不必要之電力消耗。而之後只要觸控偵測模組22取得任一觸控輸入資訊,第二處理模組23即可通知第二頻率調整模組24恢復原本掃描頻率。此第二設定時間可設定為數十秒至數十分鐘不等,其時間長短依據使用者需求不同自行設定。In addition, the second processing module 23 is configured to have a second set time. When the second processing module 23 determines that the touch detection module 22 has not obtained any touch input information during the second set time, the second processing module Group 23 will notify second frequency adjustment module 24 to reduce the scanning frequency of portable device 20 to reduce unnecessary power consumption. Then, the second processing module 23 can notify the second frequency adjustment module 24 to restore the original scanning frequency as long as the touch detection module 22 obtains any touch input information. The second set time can be set from tens of seconds to tens of minutes, and the length of time is set according to the user's needs.

請參考圖5是應用於可攜裝置20之本發明之頻率調整方法之第一實施例流程圖。需注意的是,以下雖配合圖4所示之可攜裝置20為例說明本發明之頻率調整方法,但本發明並不以此為限,該方法亦可應用於任何具有類似架構或功能之可攜裝置。如圖5所示,本發明之頻率調整方法包括步驟S21至步驟S25。以下將詳細說明對應之各個步驟。Please refer to FIG. 5, which is a flow chart of a first embodiment of the frequency adjustment method of the present invention applied to the portable device 20. It should be noted that the frequency adjustment method of the present invention is described below with reference to the portable device 20 shown in FIG. 4, but the present invention is not limited thereto, and the method can also be applied to any similar architecture or function. Portable device. As shown in FIG. 5, the frequency adjustment method of the present invention includes steps S21 to S25. The corresponding steps will be described in detail below.

步驟S21:偵測以觸控筆10執行之觸控操作以取得觸控輸入資訊。Step S21: detecting a touch operation performed by the stylus pen 10 to obtain touch input information.

當使用者以本發明之觸控筆10對可攜裝置執行觸控操作時,藉由觸控偵測模組22偵測以觸控筆10輸入之觸控操作之類型或移動軌跡,即可取得對應之觸控輸入資訊。When the stylus 10 of the present invention performs a touch operation on the portable device, the touch detection module 22 detects the type or movement trajectory of the touch operation input by the stylus 10 Get the corresponding touch input information.

步驟S22:換算觸控輸入資訊為可攜裝置之對應掃描頻率。Step S22: Converting the touch input information to the corresponding scanning frequency of the portable device.

在取得前述觸控輸入資訊後,第二處理模組23會針對該觸控輸入資訊執行計算處理,以取得一結果值,而依據該結果值經計算或數值資料查詢等方式,取得對應該觸控輸入資訊之對應掃描頻率。(例如預先製作對應各種觸控輸入資訊之掃描頻率之數值資料表,以便於查找相關數值)After obtaining the touch input information, the second processing module 23 performs a calculation process on the touch input information to obtain a result value, and according to the result value, the calculation or the numerical data query, etc. Control the corresponding scanning frequency of the input information. (For example, pre-produce a numerical data table corresponding to the scanning frequency of various touch input information, in order to find relevant values)

步驟S23:判斷對應掃描頻率是否超出掃描頻率之容許範圍。Step S23: determining whether the corresponding scanning frequency exceeds the allowable range of the scanning frequency.

第二處理模組23依據目前可攜裝置之掃描頻率,設定該掃描頻率之容許範圍。而經步驟S22後,第二處理模組23會將目前找出之對應掃描頻率與可攜裝置原本之掃描頻率相互比對,以判斷該對應掃描頻率是否超出掃描頻率之容許範圍。若判斷該對應掃描頻率已超出掃描頻率之容許範圍,則續行步驟S24;若判斷該對應掃描頻率位在掃描頻率之容許範圍內,則表示目前可攜裝置不需對應調整掃描頻率,而回到步驟S21重新執行偵測。The second processing module 23 sets the allowable range of the scanning frequency according to the scanning frequency of the current portable device. After the step S22, the second processing module 23 compares the currently found corresponding scanning frequency with the original scanning frequency of the portable device to determine whether the corresponding scanning frequency exceeds the allowable range of the scanning frequency. If it is determined that the corresponding scanning frequency has exceeded the allowable range of the scanning frequency, proceeding to step S24; if it is determined that the corresponding scanning frequency bit is within the allowable range of the scanning frequency, it indicates that the current portable device does not need to adjust the scanning frequency correspondingly, and returns Go to step S21 to re-execute the detection.

步驟S24:依據對應掃描頻率調整掃描頻率。Step S24: Adjust the scanning frequency according to the corresponding scanning frequency.

於前述步驟S23判斷該對應掃描頻率已超出掃描頻率之容許範圍時,表示依據目前觸控筆之觸控操作,原本設定之掃描頻率已不適用。因此,第二頻率調整模組24會依據前述所換算出對應掃描頻率,調整目前之掃描頻率。When it is determined in the foregoing step S23 that the corresponding scanning frequency has exceeded the allowable range of the scanning frequency, it indicates that the originally set scanning frequency is not applicable according to the touch operation of the current stylus. Therefore, the second frequency adjustment module 24 adjusts the current scanning frequency according to the corresponding scan frequency.

步驟S25:依據調整後之掃描頻率產生載波訊號之頻率調整資訊並傳送至觸控筆。Step S25: Generate frequency adjustment information of the carrier signal according to the adjusted scanning frequency and transmit the information to the stylus.

由於可攜裝置20之掃描頻率改變,觸控筆之載波訊號之載波頻率也需要相應調整,因此於前述步驟S24調整掃描頻率後,第二處理模組23會依據調整後之掃描頻率,計算以產生載波訊號之載波頻率之頻率調整資訊,並通知第二傳輸模組21將該頻率調整資訊傳送至觸控筆,使得觸控筆能藉以對應調整其載波訊號之載波頻率。The carrier frequency of the carrier signal of the stylus needs to be adjusted accordingly. Therefore, after the scanning frequency is adjusted in the foregoing step S24, the second processing module 23 calculates the scanning frequency according to the adjusted scanning frequency. The frequency adjustment information of the carrier frequency of the carrier signal is generated, and the second transmission module 21 is notified to transmit the frequency adjustment information to the stylus so that the stylus can adjust the carrier frequency of the carrier signal accordingly.

請參考圖6是應用於可攜裝置20之本發明之頻率調整方法之第二實施例流程圖。如圖6所示,在本發明之另一實施例中,本發明之頻率調整方法於步驟S22可取代為步驟S26及步驟S27。以下將進一步詳細說明該方法新增之各個步驟。Please refer to FIG. 6 , which is a flow chart of a second embodiment of the frequency adjustment method of the present invention applied to the portable device 20 . As shown in FIG. 6, in another embodiment of the present invention, the frequency adjustment method of the present invention may be replaced with step S26 and step S27 in step S22. The various steps added to the method are described in further detail below.

步驟S26:取得來自觸控筆之操作狀態資訊。Step S26: Acquire operation state information from the stylus.

在本實施例中,可攜裝置20不但能藉由偵測使用者以觸控筆10執行之觸控操作而取得觸控輸入資訊,做為調整掃描頻率之參考,也能一併參照觸控筆本身所取得之操作狀態資訊,達到更精確之掃描頻率調整效果。因此,可攜裝置20可藉由第二傳輸模組21取得來自觸控筆之操作狀態資訊。其中該操作狀態資訊可包括該觸控筆之振動資訊及壓力回饋資訊。In this embodiment, the portable device 20 can obtain the touch input information by detecting the touch operation performed by the stylus 10 as a reference for adjusting the scanning frequency, and can also refer to the touch. The operating status information obtained by the pen itself achieves a more accurate scanning frequency adjustment effect. Therefore, the portable device 20 can obtain the operation status information from the stylus by the second transmission module 21. The operation status information may include vibration information and pressure feedback information of the stylus.

步驟S27:結合操作狀態資訊及觸控輸入資訊以換算為可攜裝置之對應掃描頻率。Step S27: Combine the operation status information and the touch input information to be converted into a corresponding scanning frequency of the portable device.

在取得前述操作狀態資訊及觸控輸入資訊後,第二處理模組23會針對該操作狀態資訊及該觸控輸入資訊一併執行計算處理,例如將取得之振動資訊、壓力回饋資訊及移動軌跡之移動速度直接數值化或執行權重比例計算,以取得一結果值,而依據該結果值經計算或數值資料查詢等方式,取得對應該操作狀態資訊及該觸控輸入資訊之可攜裝置20之對應掃描頻率。After obtaining the operation status information and the touch input information, the second processing module 23 performs calculation processing together with the operation status information and the touch input information, for example, the obtained vibration information, the pressure feedback information, and the movement track. The moving speed is directly digitized or the weight ratio is calculated to obtain a result value, and the portable device 20 that obtains the corresponding operating state information and the touch input information is obtained according to the calculation or the numerical data query. Corresponding to the scanning frequency.

藉由前述設計,本發明之可攜裝置20能偵測使用者以觸控筆輸入之觸控操作不同,動態對應調整其掃描頻率,並通知觸控筆一併對應調整其載波訊號之載波頻率,使得觸控筆之載波頻率與可攜裝置之掃描頻率能持續地相互配合,減少所輸入之移動軌跡中斷或不連續之狀況產生。With the foregoing design, the portable device 20 of the present invention can detect that the touch operation of the stylus is different, dynamically adjust the scanning frequency, and notify the stylus to adjust the carrier frequency of the carrier signal. The carrier frequency of the stylus and the scanning frequency of the portable device can be continuously matched to each other to reduce the interruption or discontinuity of the input movement track.

綜上所陳,本發明無論就目的、手段及功效,在在均顯示其迥異於習知技術之特徵。惟須注意,上述實施例僅為例示性說明本發明之原理及其功效,而非用於限制本發明之範圍。任何熟於此項技藝之人士均可在不違背本發明之技術原理及精神下,對實施例作修改與變化。本發明之權利保護範圍應如後述之申請專利範圍所述。In summary, the present invention exhibits features that are different from conventional techniques in terms of purpose, means, and efficacy. It is to be noted that the above-described embodiments are merely illustrative of the principles of the invention and its advantages, and are not intended to limit the scope of the invention. Modifications and variations of the embodiments can be made by those skilled in the art without departing from the spirit and scope of the invention. The scope of protection of the present invention should be as described in the scope of the patent application to be described later.

10‧‧‧觸控筆
11‧‧‧觸控筆本體
12‧‧‧第一傳輸模組
13‧‧‧狀態偵測模組
131‧‧‧振動感測元件
132‧‧‧壓力感測元件
133‧‧‧環境偵測元件
14‧‧‧第一處理模組
15‧‧‧第一頻率調整模組
20‧‧‧可攜裝置
21‧‧‧第二傳輸模組
22‧‧‧觸控偵測模組
23‧‧‧第二處理模組
24‧‧‧第二頻率調整模組
S10 ~ S17、S21 ~ S27‧‧‧步驟
10‧‧‧ stylus
11‧‧‧ stylus body
12‧‧‧First transmission module
13‧‧‧State Detection Module
131‧‧‧Vibration sensing components
132‧‧‧ Pressure sensing components
133‧‧‧Environmental detection elements
14‧‧‧First Processing Module
15‧‧‧First frequency adjustment module
20‧‧‧ portable device
21‧‧‧Second transmission module
22‧‧‧Touch Detection Module
23‧‧‧Second processing module
24‧‧‧Second frequency adjustment module
S10 ~ S17, S21 ~ S27‧‧‧ steps

圖1是本發明之觸控筆之系統方塊圖。圖2是應用於觸控筆之本發明之頻率調整方法之第一實施例流程圖。圖3是應用於觸控筆之本發明之頻率調整方法之第二實施例流程圖。圖4是本發明之可攜裝置之系統方塊圖。圖5是應用於可攜裝置之本發明之頻率調整方法之第一實施例流程圖。圖6是應用於可攜裝置之本發明之頻率調整方法之第二實施例流程圖。1 is a block diagram of a system of a stylus according to the present invention. 2 is a flow chart of a first embodiment of a frequency adjustment method of the present invention applied to a stylus. 3 is a flow chart of a second embodiment of the frequency adjustment method of the present invention applied to a stylus. Figure 4 is a block diagram of the system of the portable device of the present invention. Figure 5 is a flow chart of a first embodiment of the frequency adjustment method of the present invention applied to a portable device. Figure 6 is a flow chart of a second embodiment of the frequency adjustment method of the present invention applied to a portable device.

Claims (22)

一種觸控筆頻率調整方法,應用於可發射一載波訊號之一觸控筆,該觸控筆用以操作具有一掃描頻率之一可攜裝置,該方法包括以下步驟:偵測以該觸控筆執行之一觸控操作以取得一操作狀態資訊;換算該操作狀態資訊為該可攜裝置之一對應掃描頻率;判斷該對應掃描頻率是否超出該掃描頻率之一容許範圍;若該對應掃描頻率超出該容許範圍,則依據該操作狀態資訊調整該載波訊號之一載波頻率;以及依據調整後之該載波頻率產生該掃描頻率之一頻率調整資訊並傳送至該可攜裝置。A stylus frequency adjustment method is applied to a stylus capable of transmitting a carrier signal, the stylus being used to operate a portable device having a scanning frequency, the method comprising the steps of: detecting the touch Performing a touch operation to obtain an operation status information; converting the operation status information to a scan frequency corresponding to one of the portable devices; determining whether the corresponding scan frequency exceeds a tolerance range of the scan frequency; and if the corresponding scan frequency If the tolerance is exceeded, the carrier frequency of the carrier signal is adjusted according to the operating state information; and the frequency adjustment information of the scanning frequency is generated according to the adjusted carrier frequency and transmitted to the portable device. 如申請專利範圍第1項所述之方法,更包括以下步驟:      判斷該觸控筆是否處於一使用狀態;以及若該觸控筆處於該使用狀態,則開始取得該觸控筆之該操作狀態資訊。The method of claim 1, further comprising the steps of: determining whether the stylus is in a use state; and if the stylus is in the use state, starting to obtain the operation state of the stylus News. 如申請專利範圍第1項所述之方法,其中該操作狀態資訊包括一振動資訊或/及一壓力回饋資訊。The method of claim 1, wherein the operational status information comprises a vibration information or/and a pressure feedback information. 如申請專利範圍第1項所述之方法,其中該觸控筆可取得來自該可攜裝置之一觸控輸入資訊,並且結合該操作狀態資訊及該觸控輸入資訊以換算為該可攜裝置之該對應掃描頻率。The method of claim 1, wherein the stylus obtains touch input information from the portable device and combines the operational status information and the touch input information to be converted into the portable device The corresponding scanning frequency. 如申請專利範圍第4項所述之方法,其中該觸控輸入資訊包括該觸控操作之一觸控類型、該觸控操作所形成一移動軌跡之一前後點距離、一移動速度及一加速度之其中至少一者。The method of claim 4, wherein the touch input information comprises a touch type of the touch operation, a front-to-back point distance formed by the touch operation, a moving speed, and an acceleration At least one of them. 如申請專利範圍第1項所述之方法,其中該掃描頻率之該頻率調整資訊可附加於該觸控筆之該載波訊號中,以傳送至該可攜裝置。The method of claim 1, wherein the frequency adjustment information of the scanning frequency is added to the carrier signal of the stylus for transmission to the portable device. 如申請專利範圍第1項所述之方法,其中於一第一設定時間內未偵測到該觸控操作時,降低該觸控筆之該載波頻率。The method of claim 1, wherein the carrier frequency of the stylus is reduced when the touch operation is not detected within a first set time. 一種觸控筆,用以操作具有一掃描頻率之一可攜裝置,該觸控筆包括:          一第一傳輸模組,用以發送一載波訊號至該可攜裝置;          一狀態偵測模組,用以偵測以該觸控筆執行之一觸控操作以取得一操作狀態資訊;          一第一處理模組,用以換算該操作狀態資訊為該可攜裝置之一對應掃描頻率,並判斷該對應掃描頻率是否超出該掃描頻率之一容許範圍;以及一第一頻率調整模組,用以於該對應掃描頻率超出該容許範圍時,依據該操作狀態資訊調整該載波訊號之一載波頻率;該第一處理模組依據調整後之該載波頻率產生該掃描頻率之一頻率調整資訊,並藉由該第一傳輸模組傳送至該可攜裝置。A stylus for operating a portable device having a scanning frequency, the stylus comprising: a first transmission module for transmitting a carrier signal to the portable device; a state detection module, The first processing module is configured to convert the operation status information to a scan frequency corresponding to one of the portable devices, and determine the Corresponding to whether the scanning frequency exceeds an allowable range of the scanning frequency; and a first frequency adjusting module, configured to adjust a carrier frequency of the carrier signal according to the operating state information when the corresponding scanning frequency exceeds the allowable range; The first processing module generates one frequency adjustment information of the scanning frequency according to the adjusted carrier frequency, and transmits the information to the portable device by using the first transmission module. 如申請專利範圍第8項所述之觸控筆,其中該狀態偵測模組包括一振動感測元件及一壓力感測元件,且該操作狀態資訊包括一振動資訊及一壓力回饋資訊。The stylus of claim 8, wherein the state detecting module comprises a vibration sensing component and a pressure sensing component, and the operating state information comprises a vibration information and a pressure feedback information. 如申請專利範圍第8項所述之觸控筆,其中該狀態偵測模組包括更包括一環境偵測元件,該環境偵測元件用以判斷該觸控筆是否處於一使用狀態。The stylus of claim 8, wherein the state detecting module further comprises an environment detecting component, wherein the environment detecting component is configured to determine whether the stylus is in a use state. 如申請專利範圍第8項所述之觸控筆,其中該第一傳輸模組可接收來自該可攜裝置之一觸控輸入資訊,該觸控輸入資訊是藉由該可攜裝置偵測到該觸控操作所取得,並且該處理模組結合該操作狀態資訊及該觸控輸入資訊以換算為該可攜裝置之該對應掃描頻率。The stylus according to claim 8 , wherein the first transmission module can receive touch input information from the portable device, and the touch input information is detected by the portable device The touch operation is performed, and the processing module combines the operation status information and the touch input information to be converted into the corresponding scan frequency of the portable device. 如申請專利範圍第11項所述之觸控筆,其中該觸控輸入資訊包括該觸控操作之一觸控類型、該觸控操作所形成一移動軌跡之一前後點距離、一移動速度及一加速度之其中至少一者。The stylus according to claim 11, wherein the touch input information includes a touch type of the touch operation, a front and rear point distance formed by the touch operation, and a moving speed and At least one of an acceleration. 如申請專利範圍第8項所述之觸控筆,其中該處理模組將該掃描頻率之該頻率調整資訊附加於該觸控筆之該載波訊號中,以傳送至該可攜裝置。The stylus of claim 8, wherein the processing module adds the frequency adjustment information of the scanning frequency to the carrier signal of the stylus for transmission to the portable device. 如申請專利範圍第8項所述之觸控筆,其中該狀態偵測模組於一第一設定時間內未取得該操作狀態資訊時,該處理模組會降低該觸控筆之該載波頻率。The stylus of claim 8 wherein the state detecting module reduces the carrier frequency of the stylus when the operating state information is not obtained within a first set time . 一種可攜裝置頻率調整方法,應用於具有一掃描頻率之一可攜裝置,該可攜裝置配合使用可發射一載波訊號之一觸控筆,該方法包括以下步驟:          偵測以該觸控筆執行之一觸控操作以取得一觸控輸入資訊;          換算該觸控輸入資訊為該可攜裝置之一對應掃描頻率;          判斷該對應掃描頻率是否超出該掃描頻率之一容許範圍;           若該對應掃描頻率超出該容許範圍,則依據該對應掃描頻率調整該掃描頻率;以及依據調整後之該掃描頻率產生該載波訊號之一頻率調整資訊並傳送至該觸控筆。A portable device frequency adjustment method is applied to a portable device having a scanning frequency, and the portable device cooperates with a stylus capable of transmitting a carrier signal, the method comprising the following steps: detecting the stylus Performing a touch operation to obtain a touch input information; converting the touch input information to a scan frequency corresponding to one of the portable devices; determining whether the corresponding scan frequency exceeds an allowable range of the scan frequency; if the corresponding scan If the frequency is outside the allowable range, the scanning frequency is adjusted according to the corresponding scanning frequency; and the frequency adjustment information of the carrier signal is generated according to the adjusted scanning frequency and transmitted to the stylus. 如申請專利範圍第15項所述之方法,其中該觸控輸入資訊包括該觸控操作之一觸控類型、該觸控操作所形成一移動軌跡之一前後點距離、一移動速度及一加速度之其中至少一者。The method of claim 15, wherein the touch input information includes a touch type of the touch operation, a front-to-back point distance formed by the touch operation, a moving speed, and an acceleration At least one of them. 如申請專利範圍第15項所述之方法,其中該可攜裝置可取得來自該觸控筆之一操作狀態資訊,並且結合該操作狀態資訊及該觸控輸入資訊以換算為該可攜裝置之該對應掃描頻率;該操作狀態資訊包括一振動資訊或/及一壓力回饋資訊。The method of claim 15, wherein the portable device obtains information on an operation status of the stylus, and combines the operation status information and the touch input information to be converted into the portable device. The corresponding scan frequency; the operation status information includes a vibration information or/and a pressure feedback information. 如申請專利範圍第15項所述之方法,其中於一第二設定時間內未偵測到該觸控操作時,降低該可攜裝置之該掃描頻率。The method of claim 15, wherein the scanning operation of the portable device is reduced when the touch operation is not detected within a second set time. 一種可攜裝置,藉由可發射一載波訊號之一觸控筆來操作,該可攜裝置包括:          一第二傳輸模組,用以接收該載波訊號;          一觸控偵測模組,用以偵測以該觸控筆執行之一觸控操作以取得一觸控輸入資訊,該觸控偵測模組以一掃描頻率進行掃描;          一第二處理模組,用以依據該觸控輸入資訊換算為一對應掃描頻率,並判斷該對應掃描頻率是否超出該掃描頻率之一容許範圍;以及          一第二頻率調整模組,用以於該對應掃描頻率超出該容許範圍時,依據該對應掃描頻率調整該掃描頻率;該第二處理模組依據調整後之該掃描頻率產生該載波訊號之一頻率調整資訊,並藉由該第二傳輸模組傳送至該可攜裝置。The portable device includes: a second transmission module for receiving the carrier signal; and a touch detection module for using the stylus capable of transmitting a carrier signal Detecting one touch operation performed by the stylus to obtain a touch input information, the touch detection module scanning at a scan frequency; and a second processing module for inputting information according to the touch Converting to a corresponding scanning frequency, and determining whether the corresponding scanning frequency exceeds an allowable range of the scanning frequency; and a second frequency adjusting module, configured to: when the corresponding scanning frequency exceeds the allowable range, according to the corresponding scanning frequency Adjusting the scanning frequency; the second processing module generates frequency adjustment information of the carrier signal according to the adjusted scanning frequency, and transmits the frequency adjustment information to the portable device by using the second transmission module. 如申請專利範圍第20項所述之可攜裝置,其中該觸控輸入資訊包括該觸控操作之一觸控類型、該觸控操作所形成一移動軌跡之一前後點距離、一移動速度及一加速度之其中至少一者。The portable device as claimed in claim 20, wherein the touch input information includes a touch type of the touch operation, a front-to-back distance of the moving track formed by the touch operation, a moving speed, and At least one of an acceleration. 如申請專利範圍第20項所述之可攜裝置,其中該第二傳輸模組可取得來自該觸控筆之一操作狀態資訊,並且該第二處理模組結合該操作狀態資訊及該觸控輸入資訊以換算為該可攜裝置之該對應掃描頻率;該操作狀態資訊包括一振動資訊或/及一壓力回饋資訊。The portable device of claim 20, wherein the second transmission module can obtain information about an operation status of the stylus, and the second processing module combines the operation status information with the touch The information is input to be converted into the corresponding scanning frequency of the portable device; the operating state information includes a vibration information or/and a pressure feedback information. 如申請專利範圍第20項所述之可攜裝置,其中該觸控偵測模組於一第二設定時間內未偵測到該觸控操作時,該第二處理模組降低該可攜裝置之該掃描頻率。The portable device of claim 20, wherein the second detection module lowers the portable device when the touch detection module does not detect the touch operation within a second set time The scanning frequency.
TW102131458A 2013-08-30 2013-08-30 Frequency adjusting method, stylus and portable electronic apparatus using the same TW201508564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102131458A TW201508564A (en) 2013-08-30 2013-08-30 Frequency adjusting method, stylus and portable electronic apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102131458A TW201508564A (en) 2013-08-30 2013-08-30 Frequency adjusting method, stylus and portable electronic apparatus using the same

Publications (1)

Publication Number Publication Date
TW201508564A true TW201508564A (en) 2015-03-01

Family

ID=53186245

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102131458A TW201508564A (en) 2013-08-30 2013-08-30 Frequency adjusting method, stylus and portable electronic apparatus using the same

Country Status (1)

Country Link
TW (1) TW201508564A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI730405B (en) * 2017-08-17 2021-06-11 美商谷歌有限責任公司 Adjusting movement of a display screen to compensate for changes in speed of movement across the display screen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI730405B (en) * 2017-08-17 2021-06-11 美商谷歌有限責任公司 Adjusting movement of a display screen to compensate for changes in speed of movement across the display screen

Similar Documents

Publication Publication Date Title
KR101580914B1 (en) Electronic device and method for controlling zooming of displayed object
KR102120930B1 (en) User input method of portable device and the portable device enabling the method
WO2018212932A1 (en) Input adjustment
US20100097317A1 (en) Methods and apparatus to provide a handheld pointer-based user interface
CN106445340B (en) Method and device for displaying stereoscopic image by double-screen terminal
TW201303655A (en) Wireless transmitting stylus and touch display system
JP7329150B2 (en) Touch button, control method and electronic device
CN108108113B (en) Webpage switching method and device
US10838596B2 (en) Task switching method and terminal
KR20100070092A (en) Mobile telecommunication device embodying method using the navigation apparatus
WO2019154360A1 (en) Interface switching method and mobile terminal
WO2019042478A1 (en) Control method for input method soft keyboard of mobile terminal, storage medium, and mobile terminal
WO2017031647A1 (en) Method and apparatus for detecting touch mode
CN109828710B (en) Image processing method and mobile terminal
KR20150020865A (en) Method and apparatus for processing a input of electronic device
WO2019047129A1 (en) Method for moving application icons, and terminal
CN108604160A (en) The method and device of touch-screen gesture identification
WO2018039914A1 (en) Method for copying data, and user terminal
JP2015215840A (en) Information processor and input method
US20220365166A1 (en) Method, device and system for determining relative angle between intelligent devices
TW201508564A (en) Frequency adjusting method, stylus and portable electronic apparatus using the same
JP2014182429A (en) Information processor, information processing method and information processing program
WO2019042414A1 (en) Active pen and method for controlling cursor of mobile terminal by using same
US20190392590A1 (en) Method and device for identifying light source
US20200209712A1 (en) Method and device for identifying flashing light source