201133291 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種指向方法及裝置,特別是指一種 根據磁鐵移動速度進行指向控制的指向方法及裝置。 【先前技術】 參閱圖1、圖2與圖3, 一習知的指向裝置包含一磁鐵 11、一彈性件12、二磁-電轉換單元π、電連接到磁_電轉 換單元13的一差動放大器14、電連接到減法單元的一取樣 單元15’及電連接到取樣單元η的一控制單元16。磁鐵 11可受一外力作用而相對磁_電轉換單元13移動。彈性件 12用以使磁鐵11在不受外力作用時大致回復到一原始位置 〇,且原始位置0應為磁·電轉換單元13之間的一中心位置 。每一磁-電轉換單元13用以偵測磁鐵u的磁場強度,並 據此產生一類比的電訊號。 習知的指向裝置所使用的指向方法包含以下步驟: 步驟21是利用差動放大器μ來放大磁·電轉換單元 所產生的電訊號之差異,以得到一差異電訊號。 步驟22是利用取樣單元15來取樣差異電訊號,並對 取樣到的差異電訊號進行類比至數位轉換,以得到一數位 的訊號樣本。 步驟23是利用控制單元16來判斷訊號樣本是否落在 一參考範圍之外。參考範圍係以磁鐵丨丨位於原始位置〇時 所取樣到的訊號樣本為中心值之一範圍,且參考範圍是固 定的,代表磁鐵11相對於原始位置〇之一參考距離。如果 201133291 判斷結果為是,則流程前進到步驟24,而如果判斷結果為 否’則流程回到步驟21。 步驟24是利用控制單元16來在訊號樣本落在參考範 圍之外時,產生用於指向的一控制訊號,且控制訊號等於 號樣本減去參考範圍的中心值。流程回到步驟2。 也就是說,當磁鐵11被移出距離原始位置〇為參考距 離遠時,控制單A 16㈣送出包含一符號及一量的控制訊 號’且符號代表磁鐵11位置所在的方向,而量係代表磁鐵 11距離原始位置〇之距離遠近。 然而,磁鐵11並不都會在不受外力作用時位於原始位 置〇,例如:指向裝置組装時,磁鐵u與彈性件12的中心 點一定不會剛好位於兩磁_電轉換單元13之間的中心位置, 而疋存在一個誤差範圍,雖然經過嚴格的生產管理控制得 以縮小這個誤差範圍到可以接受的生產良率。不過即便是 經過確認的指向裝置在使㈣,—樣也不能確保每次外力 ’肖失後’彈性件12或是其他機制的回復物件可以順利地將 磁鐵11推回原始位置0,尤其是經過長時間的使用,彈性 件12開始顯現彈性疲乏後,指向裝置即會產生出誤動作。 從上述先則技術的控制步驟即可知道,若磁鐵11在不 受夕。卜力作用時,偏離原始位置〇的距離大於參考距離,控 制單7L 16 #持續不斷地送出錯誤的控制訊號影響使用表現 H部分的指向裝置是以加大參考距離,也就是放寬 參考範圍之限制,來避免誤動作之發生。 雖然加大參考距離可以避免誤動作之發生,卻會因此 201133291 喪失指向裝置在小範圍移動的靈敏度,浪費磁 13在_磁鐵11位置上㈣準度,使得大部分傳奸= 置僅應用到磁-電轉換單元13五分之_甚至到十:裂 精準度。 刀—差的 因此’如何能延續磁-電轉換單元13偵測磁鐵u 的精準度’又能避免誤動作之發生,提高指向裝 動範圍的靈敏度及擴大指向裝置的應用範圍,係為本 請人致力研究之目標。 、 【發明内容】 因此,本發明之目的即在提供一種可以解決上 的指向方法。 # 於是,本發明指向方法適用於根據—磁鐵受一外力作 用而相對至少一磁-電轉換單元的移動情形來產生用於指向 的一控制訊號。該磁·電轉換單元偵測該磁鐵的磁場強度, 並據此產生一電訊號。該指向方法包含以下步驟: (Α)取樣該電訊號,以得到一訊號樣本; (Β)當目前取樣到的該訊號樣本落在一參考範圍之外時 ’產生一事件指標,並將該事件指標維持一第一時距; (C) 當該事件指標被維持時,根據目前取樣到的該訊號 樣本產生該控制訊號;及 (D) 根據目前取樣到的該訊號樣本更新該參考範圍,且 流程回到步驟(Α)。 而本發明之另一目的即在提供一種可以解決上述問題 的指向方法。 201133291 於是,本發明指向方法適用於根據一磁鐵受一外力作 用而相對至少一磁·電轉換單元的移動情形來產生用於指向 的一控制訊號。該磁-電轉換單元偵測該磁鐵的磁場強度, 並據此產生一電訊號。該指向方法包含以下步驟: (A) 取樣該電訊號,以得到一訊號樣本; (B) 當目前取樣到的該訊號樣本落在一參考範圍之外時 ,累計一事件次數,並產生一事件指標,且將該事件指標 維持一時距; (C) 當目前取樣到的該訊號樣本不是落在該參考範圍之 外,且該事件指標沒有被維持時,重置該事件次數; (D) 當該事件指標被維持,且該事件次數大於一門檻次 數時’根據目前取樣到的該訊號樣本產生該控制訊號;及 (E) 根據目前取樣到的該訊號樣本更新該參考範圍,且 流程回到步驟(A)。 而本發明之又一目的即在提供一種可以解決上述問題 的指向裝置。 於疋,本發明指向裝置包含 :兀、-取樣單元、一參考單元及一控制單元。該磁鐵? 文:外力作用而移動。該磁·電轉換單元用以偵測該磁鐵白 強度’並據此產生—電訊號。該取樣單元電連接到言 電轉換單元,用以取樣該電訊號,以產生一連串的訊受 樣本。該參考單^電連接到該取樣單S,用以根據先前写 袠到的4至少-訊號樣本,產生一參考範圍。該控制翠> 電連接到4取樣單π及該參考單元,用以在目前取樣到自 201133291 . 該訊號樣本落在該參考範圍之外時,產生一控制訊號。 本發明之功效在於:藉由動態調整該參考範圍,使該 參考範圍的中心值跟隨取樣到的一連串訊號樣本大致呈同 向變動,在該磁鐵移動時,才會產生控制訊號。因此,並 不需要犧牲該磁-電轉換單元的精準度來換取誤動作的防治 ’令指向裝置不管是在大範圍或是小範圍的移動都可以達 到一樣的靈敏度。 【實施方式】 有關本發明之前述及其他技術内容、特點與功效,在 以下配合參考圖式之五個較佳實施例的詳細說明甲,將可 清楚地呈現。 在本發明被詳細描述之前,要注意的是,在以下的說 明内容中’類似的元件是以相同的編號來表示。 參閱圖4、圖5與圖6,本發明指向裝置之第一較佳實 施例包含一磁鐵31、一彈性件32、至少一磁-電轉換單元 33、電連接到磁·電轉換單元33的一取樣單元34,電連接 到取樣單元34的一儲存單元35,電連接到取樣單元34與 儲存單元35的一參考單元36,以及電連接到取樣單元34 、儲存單元35與參考單元36的一控制單元37。在本實施 例中,係以一磁-電轉換單元33所取樣到之電訊號為例進行 說明。由於本發明並不是以磁鐵31在空間上的位置來決定 是否產生控制訊號,而是由磁鐵31在時間上的移動情形來 決定的’故不—定需要雨個成對的磁-電轉換單元33。本發 明所屬技術領域中具有通常知識者可根據以下内容推知使 201133291 用兩組成對或是更多數目之磁.電轉換單元33時應如何修改 ’因此將不多加說明。 磁鐵31可受-外力作用而相對磁·電轉換單元33移動 。彈性件32用以使磁鐵31在不受外力作用時大致回復到 -原始位置〇。磁·電轉換單元33用以_磁鐵的磁場強度 ’並據此產生-類比的電訊號。儲存單元%用以儲存至少 一訊號樣本。 本實施例所使用的指向方法包含以下步驟 到 本 步驟41是利用取樣單元34 的電訊號進行類比至數位轉換 來取樣電訊號,並對取樣 ’以得到一數位的訊號樣 步驟42是利用控制單元37來判斷目前取樣到的訊號 樣:是否落在一參考範圍之外。如果判斷結果為是,則流 程刖進到步驟43 ’而如果判斷結果為否,則流程前進到步 驟 44。 < J / =二是利用控制單…在目前取樣到的訊號樣 維持-第-時距。 事件以,絲事件指標 步驟44是利用控制單元37來判斷事件指 持。如果判斷結果為是,則流程前進到步驟45 = 斷結果為否,則流程前進到步驟46。 果列 產生是利用控制單元37來在事件指標被維持時, =向的一控制訊號。控制訊號包括一量(用於指 不大小)及-符號(用於指示方向),且等於目前取樣到的 201133291 所儲存的於一第二時距前取樣到 訊號樣本減去健存單元Μ 的訊號樣本。 步驟46是利用灸去_ ^丄 > 考早疋36來根據目前取樣到的訊號 樣本更新參考範圍。 步驟47是利用相i gg _ 用錯存单几35來儲存目前取樣到的訊號 樣本。流程回到步驟41 ^201133291 VI. Description of the Invention: [Technical Field] The present invention relates to a pointing method and apparatus, and more particularly to a pointing method and apparatus for performing pointing control according to a moving speed of a magnet. [Prior Art] Referring to Figures 1, 2 and 3, a conventional pointing device comprises a magnet 11, an elastic member 12, two magneto-electric conversion units π, and a difference electrically connected to the magneto-electric conversion unit 13. The dynamic amplifier 14 is electrically connected to a sampling unit 15' of the subtraction unit and a control unit 16 electrically connected to the sampling unit n. The magnet 11 is moved by an external force to move relative to the magneto-electric conversion unit 13. The elastic member 12 is for causing the magnet 11 to substantially return to an original position 不受 when it is not subjected to an external force, and the original position 0 should be a center position between the magnetic/electrical conversion units 13. Each of the magneto-electric conversion units 13 is configured to detect the magnetic field strength of the magnet u and thereby generate an analogous electrical signal. The pointing method used by the conventional pointing device includes the following steps: Step 21 is to use the differential amplifier μ to amplify the difference of the electrical signals generated by the magnetic/electrical conversion unit to obtain a differential electrical signal. In step 22, the sampling unit 15 is used to sample the difference electrical signal, and the sampled differential electrical signal is analog-to-digital converted to obtain a digital signal sample. Step 23 is to use control unit 16 to determine if the signal sample falls outside of a reference range. The reference range is a range of signal samples sampled when the magnet 丨丨 is in the home position 为, and the reference range is fixed, representing a reference distance of the magnet 11 relative to the original position 〇. If the result of the determination in 201133291 is YES, the flow advances to step 24, and if the result of the determination is no, the flow returns to step 21. Step 24 is to use control unit 16 to generate a control signal for pointing when the signal sample falls outside the reference range, and the control signal is equal to the center value of the reference sample minus the reference range. The process returns to step 2. That is to say, when the magnet 11 is moved away from the original position 〇 as the reference distance, the control unit A 16 (four) sends out a control signal containing a symbol and a quantity and the symbol represents the direction in which the magnet 11 is located, and the quantity represents the magnet 11 It is close to the original location. However, the magnet 11 does not always lie in the original position when it is not subjected to an external force. For example, when the pointing device is assembled, the center point of the magnet u and the elastic member 12 must not be located between the two magneto-electric conversion units 13. The central position, while 疋 has a margin of error, although strict production management controls can narrow this margin to an acceptable production yield. However, even if the confirmed pointing device is in (4), it cannot ensure that the elastic member 12 or other mechanism's returning object can smoothly push the magnet 11 back to the original position 0 after each external force 'Shaw lost', especially after After a long period of use, the elastic member 12 begins to exhibit elastic fatigue, and the pointing device generates a malfunction. It can be known from the control steps of the above-described prior art that the magnet 11 is not in the eve. When the force is applied, the distance from the original position 〇 is greater than the reference distance. The control unit 7L 16 # continuously sends out the wrong control signal. The pointing device that uses the performance part H is to increase the reference distance, that is, to relax the reference range. To avoid the occurrence of malfunctions. Although increasing the reference distance can avoid the occurrence of malfunction, it will lose the sensitivity of the pointing device moving in a small range in 201133291, and waste the magnetic 13 at the position of the magnet 11 (four), so that most of the rumors are applied only to the magnetic - The electrical conversion unit 13 is five-fifths or even ten: crack accuracy. Knife-poor, therefore, 'how can the magnetic-electrical conversion unit 13 detect the accuracy of the magnet u' can avoid the occurrence of malfunction, improve the sensitivity of the pointing range and expand the application range of the pointing device. Committed to the goal of research. SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a pointing method that can be solved. Thus, the pointing method of the present invention is adapted to generate a control signal for pointing in response to the movement of the magnet by an external force relative to the movement of at least one of the magneto-electric conversion units. The magnetic/electrical conversion unit detects the magnetic field strength of the magnet and generates an electrical signal accordingly. The pointing method comprises the steps of: (Α) sampling the electrical signal to obtain a signal sample; (Β) generating an event indicator when the currently sampled signal sample falls outside a reference range, and the event is generated The indicator maintains a first time interval; (C) when the event indicator is maintained, generating the control signal based on the currently sampled signal sample; and (D) updating the reference range based on the currently sampled signal sample, and The process returns to the step (Α). Yet another object of the present invention is to provide a pointing method that can solve the above problems. 201133291 Thus, the pointing method of the present invention is adapted to generate a control signal for pointing in response to the movement of a magnet by an external force relative to at least one of the magnetic/electrical conversion units. The magneto-electric conversion unit detects the magnetic field strength of the magnet and generates an electrical signal accordingly. The pointing method comprises the following steps: (A) sampling the electrical signal to obtain a signal sample; (B) accumulating an event number and generating an event when the currently sampled signal sample falls outside a reference range Indicator, and maintain the event indicator for a time interval; (C) when the currently sampled sample of the signal does not fall outside the reference range and the event indicator is not maintained, reset the number of events; (D) The event indicator is maintained, and when the number of events is greater than a threshold number, 'the control signal is generated according to the currently sampled signal sample; and (E) the reference range is updated according to the currently sampled signal sample, and the process returns Step (A). Yet another object of the present invention is to provide a pointing device that can solve the above problems. In the present invention, the pointing device of the present invention comprises: a 兀, a sampling unit, a reference unit and a control unit. The magnet? Text: The external force moves and moves. The magnetic/electrical conversion unit is configured to detect the white intensity of the magnet and generate an electrical signal accordingly. The sampling unit is electrically connected to the speech conversion unit for sampling the electrical signal to generate a series of samples. The reference unit is electrically coupled to the sample S for generating a reference range based on the previously written 4 at least-signal samples. The control jade > is electrically connected to the 4 sample π and the reference unit for sampling at present time from 201133291. When the signal sample falls outside the reference range, a control signal is generated. The effect of the present invention is that by dynamically adjusting the reference range, the center value of the reference range follows the series of signal samples sampled to change substantially in the same direction, and the control signal is generated when the magnet moves. Therefore, it is not necessary to sacrifice the accuracy of the magneto-electric conversion unit in exchange for the prevention of malfunctions, so that the pointing device can achieve the same sensitivity regardless of the movement in a wide range or a small range. The above and other technical contents, features and effects of the present invention will be apparent from the following detailed description of the preferred embodiments of the preferred embodiments. Before the present invention is described in detail, it is to be noted that in the following description, similar elements are denoted by the same reference numerals. Referring to Figures 4, 5 and 6, a first preferred embodiment of the pointing device of the present invention comprises a magnet 31, an elastic member 32, at least one magnetic-to-electrical conversion unit 33, and an electrical connection to the magnetic/electrical conversion unit 33. A sampling unit 34 is electrically connected to a storage unit 35 of the sampling unit 34, electrically connected to the sampling unit 34 and a reference unit 36 of the storage unit 35, and electrically connected to the sampling unit 34, the storage unit 35 and the reference unit 36. Control unit 37. In this embodiment, the electrical signal sampled by a magneto-electric conversion unit 33 is taken as an example for description. Since the present invention does not determine whether or not the control signal is generated by the position of the magnet 31 in space, but is determined by the movement of the magnet 31 in time, it is determined that a pair of magnetic-electric conversion units are required. 33. Those having ordinary skill in the art to which the present invention pertains can infer from the following contents how to make 201133291 use two pairs or a larger number of magnetic-to-electrical conversion units 33, and therefore will not be explained. The magnet 31 can be moved relative to the magnetic/electrical conversion unit 33 by an external force. The elastic member 32 serves to cause the magnet 31 to substantially return to the - home position 在 when it is not subjected to an external force. The magnetic/electrical conversion unit 33 is used for the magnetic field strength of the magnet and generates an analog signal. The storage unit % is used to store at least one signal sample. The pointing method used in this embodiment includes the following steps. In this step 41, the analog signal to digital conversion is performed by using the electrical signal of the sampling unit 34 to sample the electrical signal, and the sampling is performed to obtain a digital signal. Step 42 is to utilize the control unit. 37 to determine the currently sampled signal sample: whether it falls outside the reference range. If the result of the determination is YES, the flow advances to step 43' and if the result of the determination is no, the flow advances to step 44. < J / = 2 is to use the control list ... to maintain the - first - time interval in the signal sample currently sampled. The event, silk event indicator step 44 is to use the control unit 37 to determine the event indication. If the result of the determination is YES, the flow advances to step 45 = the result of the break is NO, and the flow advances to step 46. The fruit column generation is a control signal using the control unit 37 to = direction when the event indicator is maintained. The control signal includes a quantity (for indicating no size) and a - symbol (for indicating direction), and is equal to the current sampled 201133291 stored in a second time interval before sampling to the signal sample minus the storage unit Μ Signal sample. Step 46 is to use moxibustion to _ ^ 丄 > 考早疋36 to update the reference range based on the currently sampled signal samples. Step 47 is to use the phase i gg _ to store the currently sampled signal samples with the error list 35. The process returns to step 41 ^
在本實施例中,參考範圍包括一上限及一下限,其中 。值會跟隨取樣到的_連串相對應訊號樣本大致呈同向變 動且於步驟46中,是根據一段時間内取樣到的訊號樣本 來更新參考圍’例如:參考範圍的下限等於目前取樣到 的Λ號樣本及儲存單元35所儲存的訊號樣本之最小值該 參考範圍的上限等於目前取樣到的訊號樣本及儲存單元Μ 所儲存的訊號樣本之最大值。在另—實施例中,於步驟46 中,是根據單次取樣到的訊號樣本來更新參考範圍,例如 .參考範圍的下限等於目前取樣到的訊號樣本減去一第一 邊限值,參考範圍的上限等於目前取樣到的訊號樣本加上 一第二邊限值。 值得注意的是,根據目前取樣到的訊號樣本所更新之 參考範圍,將供以下一次取樣到的訊號樣本作事件指標之 判斷依據。 在本實施例中’藉由動態調整參考範圍,使參考範圍 的中心值跟隨取樣到的一連串訊號樣本大致呈同向變動, 在磁鐵31移動時,才會產生控制訊號◊因此,並不需要犧 牲磁-電轉換單元33的精準度來換取誤動作的防治,令指向 9 201133291 裝置不管是在大範圍或是小範圍的移動都可以達到—樣 靈敏度。 ’ ’ 參閱圖5與圖7,本發明指向裝置之第二較佳實施例與 第一較佳實施例相似,不同之處在於:以步驟45,取代第」 實施例中的㈣45,所產生的控制訊號為目前取樣到的訊In this embodiment, the reference range includes an upper limit and a lower limit, wherein. The value will follow the sampled _ series of corresponding signal samples in the same direction and in step 46, the reference frame is updated according to the sample of samples sampled over a period of time. For example, the lower limit of the reference range is equal to the currently sampled. The minimum value of the signal sample stored in the sample number and storage unit 35 is equal to the maximum value of the signal sample currently stored and the signal sample stored in the storage unit. In another embodiment, in step 46, the reference range is updated according to a single sampled signal sample, for example, the lower limit of the reference range is equal to the currently sampled signal sample minus a first margin, the reference range The upper limit is equal to the currently sampled signal sample plus a second margin. It is worth noting that, based on the reference range updated by the currently sampled signal samples, the sample samples sampled for the next time will be used as the basis for determining the event indicators. In the present embodiment, by dynamically adjusting the reference range, the center value of the reference range follows the series of signal samples sampled in the same direction, and the control signal is generated when the magnet 31 moves. Therefore, there is no need to sacrifice. The accuracy of the magneto-electric conversion unit 33 is exchanged for the prevention of malfunctions, so that the device can be achieved in a wide range or in a small range of movements. Referring to Figures 5 and 7, a second preferred embodiment of the pointing device of the present invention is similar to the first preferred embodiment except that step 45 is substituted for (45) 45 of the first embodiment. The control signal is the currently sampled message.
號樣本減去—原始訊號樣本’原始訊號樣本對應磁鐵^的 原始位置0 D 之第三較佳實 :(1)指向方法 的判斷結果為No. sample subtraction - original signal sample 'original signal sample corresponding to the original position 0 D of the magnet ^ is the third best: (1) the pointing method is judged as
參閱圖4、圖5與圖8,本發明指向裝置 施例與第一較佳實施例相似,不同之處在於 更包含步驟53及步驟54 ;及(2)如果步驟44 否’則流程前進到步驟53。 步驟53是利用控制單元38來在事件指標沒有被㈣ 時,根據目前取樣到的訊號樣本判斷磁鐵31是否落在一 ^ 緣區域之内。如圖5所示,如果磁鐵31移到ρι的右㈣ P2的左側,就算是落在一邊緣區域之内。如果判斷結果为Referring to FIG. 4, FIG. 5 and FIG. 8, the pointing device embodiment of the present invention is similar to the first preferred embodiment, except that step 53 and step 54 are further included; and (2) if step 44 is no, the process proceeds to Step 53. Step 53 is to use the control unit 38 to determine whether the magnet 31 falls within a region based on the currently sampled signal sample when the event indicator is not (4). As shown in Fig. 5, if the magnet 31 is moved to the left side of the right (four) P2 of ρι, it falls within an edge region. If the judgment result is
是,則流程前進到步驟54,而如果判斷結果為否,則流卷 前進到步驟46。 "" j 步驟54是利用控制單元38來在事件指標沒有被維相 ’且磁鐵31 $在邊緣區域之内時,產生控制訊號。控制舒 號等於目前取樣到的訊號樣本減去一參考值。 因此,本實施例更在磁鐵31受外力作用而位在邊緣运 域之内時產生控制訊號。 第 參閱圖4與圖9,本發明指向裝置之第四較佳實施例與 較佳實施例相似’不同之處在於:⑴儲存單元Μ更用 10 201133291 乂儲存參考訊號;(2)以步驟45”取代第三實施例中的步驟 ,於步驟45”中,除了像步驟Μ 一般產生控制訊號之外 、’更以控制訊號更新儲存單元35所儲存的參考訊號;及(3) 二I::取代第三實施例中的步驟54 ’所產生的控制訊號 儲存單元35所儲存的參考訊號,也就是上-次被產生 的控制訊號。 參閱圖10’本發明指向裝置之第五較佳實施例盘第一 較佳實施例相似’不同之處在於:⑴指向方法更包含步驟 55及㈣56 ;(2)如果步驟42的判斷結果為否,則流程前 進到步驟55 ; (3)以步驟43,取代第—實施例中的步驟^, 於/驟43中’除了像步驟43 一般產生事件指標,並將事 件指標維持第—時距之外,更累計—事件次數;及(4)以步 驟44’取代第一實施例中的步驟料。 步驟55是利用控制單元37來判斷事件指標是否被維 持。如果判斷結果為否,則流程前進到步驟56,而如果判 斷結果為是,則流程前進到步驟44,。 步驟56是利用控制單元37來重置事件次數。 於步驟44’中’是判斷事件指標是否被維持,且事件次 數是否大於一參考次數,如果判斷結果皆為是,則流程前 進到步驟45,否則,流程前進到步驟仏。 因此,本實施例在事件指標被連續產生時才產生控制 訊號,可以進一步避免雜訊干擾。 值得注意的是,上述實施例可以有許多種的實施態樣 。例如’磁-電轉換單元33、取樣單元34、儲存單元仏 201133291 參考單元36及控制單元37在同一積體電路中實現,或者 取樣單元34、儲存單元35、參考單元36、控制單元37及 輸出單元38在同一積體電路中實現,磁_電轉換單元33以 另一元件實現。 综上所述,藉由動態調整參考範圍,使參考範圍的中 心值跟隨取樣到的一連_訊號樣本大致呈同向變動,上述 實施例在磁鐵31移動時,才會產生控制訊號。因此,與習 知的指向裝置相比,上述實施例並不需要犧牲磁_電轉換單 元33的精準度來換取誤動作的防治,令指向裝置不管是在鲁 大範圍或是小範圍的移動都可以達到一樣的靈敏度,故確 實能達成本發明之目的。 惟以上所述者,僅為本發明之較佳實施例而已,當不 能以此限;t本發明實施之範圍’即大凡依本發明申請專利 範圍及發明說明内容所作之簡單的等效變化與修飾,皆仍 屬本發明專利涵蓋之範圍内。 【圖式簡單說明】Yes, the flow advances to step 54, and if the result of the determination is no, the flow advances to step 46. "" j Step 54 is to use the control unit 38 to generate a control signal when the event indicator is not being phased and the magnet 31$ is within the edge region. The control comfort number is equal to the currently sampled signal sample minus a reference value. Therefore, the present embodiment generates a control signal when the magnet 31 is subjected to an external force and is positioned within the edge area. Referring to FIG. 4 and FIG. 9, the fourth preferred embodiment of the pointing device of the present invention is similar to the preferred embodiment in that: (1) the storage unit further stores the reference signal with 10 201133291 ;; (2) with step 45 In place of the steps in the third embodiment, in step 45, in addition to generating a control signal as in step 、, the reference signal stored by the storage unit 35 is updated by the control signal; and (3) two I:: The reference signal stored by the control signal storage unit 35 generated in the step 54' of the third embodiment is replaced with the control signal generated last time. Referring to Figure 10, a fifth preferred embodiment of the pointing device of the present invention is similar to the first preferred embodiment. The difference is that: (1) the pointing method further includes steps 55 and (4) 56; (2) if the result of step 42 is no. , the process proceeds to step 55; (3) in step 43, instead of the step in the first embodiment, in / step 43 'except for step 43 generally generates an event indicator, and maintains the event indicator for the first time interval In addition, the cumulative number of events - and (4) replaces the steps in the first embodiment with step 44'. Step 55 is to use the control unit 37 to determine whether the event indicator is maintained. If the result of the determination is no, the flow advances to step 56, and if the result of the determination is YES, the flow advances to step 44. Step 56 is to use the control unit 37 to reset the number of events. In step 44', it is determined whether the event indicator is maintained, and whether the number of events is greater than a reference number. If the result of the determination is yes, the flow proceeds to step 45, otherwise, the flow proceeds to step 仏. Therefore, in this embodiment, the control signal is generated when the event indicator is continuously generated, and noise interference can be further avoided. It should be noted that the above embodiments can have many implementations. For example, the magnetic-electrical conversion unit 33, the sampling unit 34, the storage unit 仏201133291, the reference unit 36, and the control unit 37 are implemented in the same integrated circuit, or the sampling unit 34, the storage unit 35, the reference unit 36, the control unit 37, and the output. Unit 38 is implemented in the same integrated circuit and magnetic-to-electrical conversion unit 33 is implemented in another element. In summary, by dynamically adjusting the reference range, the center value of the reference range follows the sampling of the connected signal samples substantially in the same direction. In the above embodiment, the control signal is generated when the magnet 31 moves. Therefore, compared with the conventional pointing device, the above embodiment does not need to sacrifice the accuracy of the magnetic-electrical conversion unit 33 in exchange for the prevention of malfunction, so that the pointing device can be moved in a large range or in a small range. The same sensitivity is achieved, and the object of the present invention can be achieved. However, the above is only the preferred embodiment of the present invention, and is not limited thereto; t is the scope of the invention's implementation, that is, the simple equivalent change of the scope of the invention and the description of the invention. Modifications are still within the scope of the invention. [Simple description of the map]
所使用的指向 圖1是一方塊圖,說明一習知的指向裝置 圖2是一示意圖,說明習知的指向裝置; 圖3是一流程圖,說明習知的指向裝置 方法; ~ 圖4疋一方塊圖,說明本發明指向震置之第一至第五 較佳實施例; 圖5是-示意圖’說明第—至第五較佳實施例; 圖6是一流程圖,說明第一 平乂住貢施例所使用的指向 12 201133291 方法; 圖7是一流程圖,說明第二較佳實施例所使用的指向 方法; 圖8是一流程圖,說明第三較佳實施例所使用的指向 方法; 圖9是一流程圖,說明第四較佳實施例所使用的指向 方法;及 圖10是一流程圖,說明第五較佳實施例所使用的指向 方法。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a conventional pointing device. FIG. 2 is a schematic view showing a conventional pointing device. FIG. 3 is a flow chart illustrating a conventional pointing device method. 1 is a block diagram showing the first to fifth preferred embodiments of the present invention; FIG. 5 is a schematic view showing the first to fifth preferred embodiments; FIG. 6 is a flow chart illustrating the first plan Figure 12 is a flow chart illustrating a pointing method used in the second preferred embodiment; Figure 8 is a flow chart illustrating the pointing used in the third preferred embodiment FIG. 9 is a flowchart illustrating a pointing method used in the fourth preferred embodiment; and FIG. 10 is a flowchart illustrating a pointing method used in the fifth preferred embodiment.
13 201133291 【主要元件符號說明】 11…… …磁鐵 32…… …彈性件 12…… …彈性件 33…… …磁-電轉換單元 13…… …磁-電轉換單元 34…… …取樣單元 14…… …差動放大器 35…… …儲存單元 15…… …取樣單元 36…… …參考單元 16…… …控制單元 37…… …控制單元 21〜24· …步驟 41〜56. …步驟 31…… …磁鐵13 201133291 [Description of main component symbols] 11...... Magnets 32... Elastic members 12... Elastic members 33... Magnetic-electric conversion units 13 ... Magnetic-electric conversion units 34 ... Sample units 14 ... differential amplifier 35 ... ... storage unit 15 ... ... sampling unit 36 ... ... reference unit 16 ... ... control unit 37 ... ... control unit 21 ~ 24 · ... steps 41 ~ 56. ... step 31... ... magnet
1414