!345167 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種位移偵測裝置及其省電方法,特別係關 於一種透過適應性調整光源頻率以節省消耗電能之位移偵測 裝置及其省電方法。 【先前技術】 為提升電腦設備之使用便利性,無線光學滑鼠已逐漸取代 傳統之有線滑鼠。然無線光學滑鼠一般包含有光源、數位信號 處理器(Digital Signal Processor)、影像感應器以及無線傳輸單 凡等耗能元件’其整體電能消耗量大而具有電池使用壽命不足 ' 之問題。為了解決此一問題’習知技術中有透過改變影像感應 ,器之影像擷取頻率的方式來降低無線光學滑鼠之消耗電能,例 如中華民國專利第1227393號之「光學位置引導裝置之省電方 法」’其揭示一種依據光學位置引導裝置之移動速度,以控制 影像感應器擷取影像之頻率,亦即透過該光學位置引導裝置之 _水平位移數值及垂直位移數值之變化量大小,來決定擷取影像 之頻率’其中當移動速度愈快,擷取影像之頻率則愈高,同時 影像感測器之曝光時間則愈短;反之,當移動速度愈慢,擷取 影像之頻率則愈低’同時影像感測器之曝光時間則愈長,藉此 可節省該光學引導裝置之電力。 然而於實際使用上,透過改變影像感應器之影像擷取頻率 及曝光時間長短以節省光學引導裝置消耗電能之方式仍具有 下列問題:(1)由於影像感應器之曝光時間長短會隨著光學位 置引導裝置之移動速度而改變,導致其影像整體亮度會產生較 5 01268-TW/Pix.TW-〇l64 L345167 大之變動,因而具有較罢 — 之移動速度降低時,雖缺可降二生像=當光學位置引導裝置 ‘但為了要在低速下料與1逹= 度,則必須增加影像感應器之1 了伯測加速 之信號處理負… 範圍因而數位信號處理器 、載(〇ading)並不會隨著影像擷取頻率之降彻; 線性地降低。例如,者¥ Μ β g鴻羊之降低而 時,即接將旦 田干 引導裝置之移動速度降為一半BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a displacement detecting device and a power saving method thereof, and more particularly to a displacement detecting device capable of saving power consumption by adaptively adjusting a frequency of a light source and Power saving method. [Prior Art] In order to improve the convenience of use of computer equipment, wireless optical mice have gradually replaced the traditional wired mouse. However, wireless optical mice generally include a light source, a digital signal processor (Digital Signal Processor), an image sensor, and a wireless transmission unit, such as energy consuming components, which have a large overall energy consumption and have insufficient battery life. In order to solve this problem, the conventional technology reduces the power consumption of the wireless optical mouse by changing the image sensing frequency of the image sensing, for example, the power saving of the optical position guiding device of the Republic of China Patent No. 12237393 The method discloses a method for controlling the moving speed of the optical position guiding device to control the frequency at which the image sensor captures the image, that is, the amount of the horizontal displacement value and the vertical displacement value of the optical position guiding device are determined. The frequency of capturing images 'When the moving speed is faster, the higher the frequency of capturing images, the shorter the exposure time of the image sensor; on the contrary, the slower the moving speed, the lower the frequency of capturing images 'The longer the exposure time of the image sensor, the more power can be saved by the optical guiding device. However, in actual use, the method of changing the image capturing frequency and the length of exposure time of the image sensor to save the power consumption of the optical guiding device still has the following problems: (1) since the exposure time of the image sensor varies with the optical position The moving speed of the guiding device changes, resulting in a large change in the overall brightness of the image compared to 5 01268-TW/Pix.TW-〇l64 L345167, so that when the moving speed is reduced, the image can be reduced. = When the optical position guiding device 'but in order to feed at low speed and 1 逹 = degree, it is necessary to increase the signal processing of the image sensor to reduce the signal processing negative ... range and thus the digital signal processor, 〇ading and It does not decrease with the frequency of image capture; it decreases linearly. For example, when ¥ Μ β g Hong Yang is lowered, the moving speed of the Dan Tiangan guiding device is reduced to half.
-p使將衫像擷取頻率降低為~半Μθ是A M yu .af , 卞1一疋马了維持相同之最 大可偵測加速度’數位信號處 查去眘袓田m 而慝理4倍或將近4倍的 旦素貝枓置,因此其信號處理 盔沐铲少上 只戰座非同時降為一半,亦即並 無法即嚙一+的消耗電力。 之雷纟t _ 由於先學滑鼠之光源所消耗 之電此幾手為整體消耗電能之一 ,,,.. ,, , ^ 干_知技術中並未提及任何 利用㈣光源之耗電以達到降低整體耗能之方法。 基於上述原因,本發明提出—種根據位移偵測裝置之移動 達度以調整光源發光頻率之太、土,^ ..^ 法位移偵測裝置之電能消耗可 藉由降低光源頻率而有效降彳K 益^ M千阳秀效降低,藉以解決前述習知技術中所存 在之問題。 【發明内容】 本& R目#在提供一 #位移4貞測裝置及其省電方 法,其根據位移制裝置之位移量或位移速度來調整光源之發 光頻率,以有效降低電能消耗。 本發明另一目的在提供一種位移偵測裝置及其省電方 ,,其中影像擷取單元之影像操取頻率為固定,因而影像摘取 單元之曝光時間不須隨著位移偵測裝置之移動速度而改變,具 有較佳的穩定性。 〇 1268-TW / Pix-TW-0164 1.345167 為達上述目的 » 法,該位移偵發,供—種位移制裝置之省電方 •提供擷取影像時所需? 源二一可調整之發光頻率發光以 •第-影像及-第”,德/ 方法包含下列步驟:擷取- -位移量;將:二:對該第一影像及該第二影像以求得 果以調整該光源之發里光頻率=檻值相比較;及根據比較結 時,該光源以—較低之:二中,當該位移量低於該門檻值 消耗之電能。-之發先頻率發光以節省該位移偵測裝置所 正上述^移伯測裝置之省電方法中,當該位移量過大而無法 確偵測位移時,則增加該發光頻率。 上述位移偵測裝置之省電方法中,該位移偵測裝置具有一 疋之影像摘取頻率與該發光頻率成整數倍關係。 _ 述位移偵測裝置之省電方法中,擷取該第一影像及該第 一影像之一時間差為該光源之一個發光週期。 、,上述,移偵測裝置之省電方法中’該位移量可分解為一水 平位移直及-垂直位移量’該發光頻率包含一第一發光頻率及 一第二發光頻率高於該第一發光頻率。當該光源以該第一發光 頻率發A,且該水平位移量或垂直位移量纟中之一高於該門檻 值時,調整該光源以該第二發光頻率發光;當該水平位移量及 垂直位移量兩者均低於該門檻值時,該光源維持以該第一發光 頻率發光。當該光源以該第二發光頻率發光’且該水平位移量 或垂直位移量其中之一高於該門檻值時,該光源維持以該第二 發光頻率發光,當該水平位移量及垂直位移量兩者均低於該門 檻值時,調整該光源以該第一發光頻率發光。 7 〇1268-TW/Pix-TW-0164 1345167 根據本發明之另一特點,本發a月$ #徂^ 置,包含-光源、一光㈣二供一種位移谓測裝 • 纟原頻羊控制早兀、-影像擷取單元、 /早…處理單元。該光源以-可調整之發光頻率發 二頻率控制單元調整該光源之發光頻率 Π 源發光時擷取一第一影像及-第二影像;該: " ^至乂 一門檻值,該處理單元比對該第一影像及 該第-影像以求出一位移量,將該位移量與該門植值相比 較並根據比較結果控制該光源頻率控制單元調整該光源之 發光頻率;其中當該位移量低於該Η檻值時,該光源以Γ較 低之發光頻率發光,藉以節省該位移偵測裝置所消耗之電能。 本發明之位移偵測裝置及其省電方法中,可具有兩個以上 之門檻值,藉此該光源發光頻率之調整可分為數個階段,可同 時達成省電以及維持位移摘測效能之目的。此外’該位移摘測 裝置另包含一傳輸介面單元將所偵測之位移量傳送至一影像 顯示裝置,例如電視螢幕、電腦螢幕、遊戲機螢幕或投影幕上, 以進行游標或一指向器瞄準點之控.制。該位移偵測裝置之實施 例包含一無線光學滑鼠及一導航裝置(navigation device)。 【實施方式】 ·‘ 為了讓本發明之上述和其他目的、特徵及優點能更明顯, 下文特舉本發明實施例,並配合所附圖示,作詳細說明如下。 明參照第1 a、1 b及2圖所示,其分別揭示本發明實施例之 位移偵測裝置10之立體示意圖及方塊示意圖。該位移偵測裝 置1〇例如可為無線光學滑鼠或無線光學導航裝置(wireUss navigation device) ’其通常置放於一表面s(例如滑鼠墊之表面 01268-TW / Pix-TW-0164 8 1M5167 ί 2 =使用者操控’可用以相對控制—影像顯示裝置90上 包括二:#向指標)91之移動’該影像顯示裝置90之實施例 戲機普蓋不限於’一電視螢幕、一投影幕、一電腦螢幕及-遊 =幕。該位移偵測裝置1Q包含—光源1qi、—光源頻率 二…〇2、-記憶單元103、一影像掏取單元ι〇4、一處 組)^,5一傳輸介面單元1G6及至少—透鏡(或透鏡 於本發明實施例之位移制裝置Μ之說明中,雖然以 線先學滑鼠作為例示性的說明,如第la圖所示,伸其並非用 ==發:。該位移偵測裝置1〇(無線光學滑鼠)一般具有一 件係1 ”底部具有—孔H且該位耗測裝置1G之主要構 置於該殼體一該光源1〇1係以—可調整之 :發:’作為提供該影像掘取…。4 源,其實施例包含發光二極體及雷射二。:=之先 :::殼體-…照明該表面s,自該表面 U過該1 Η後由該影像絲單元⑽ i* 4·! S. ιηο ^ « 彳4九源頻率 I:中調整該光源⑻之發光頻率。該記憶單元 j I —門檻值⑽e‘Sh〇ld value)e該影像類取單元 可選擇固二之影像掏取頻率(frame rate),該影像摘取頻率 =單元二…步於該光…發光頻率,以擁取來= ^面S Μ影像’於其他實施方式中該影像掏 與該光源⑻之發光頻率成一整數倍關係。該不 係用以比對該影像掏取單元104所操取之複數 5 該位移偵測裝置Η)之位移量或位移速度,並將該㈣或= .01268-TW/Pix-TW-0164 1.345167 移速度與儲存於該記憶單元1 〇3之門檻值相比較,根據比較結 果控制該光源頻率控制單元1 〇2調整該光源1 〇 i之發光頻率。 藉此’當該位移偵測裝置10之位移量或位移速度低於該門檻 值時,該光源101可以一較低之發光頻率發光,以節省該位移 偵測裝置10所消耗之電能。最後,該位移偵測裝置丨〇之位移 量或位移速度經由一傳輸介面單元丨〇6無線地傳送至該影像 顯示裝置90,藉以進行相對之操控。此外,一透鏡(或透鏡 組)1 07可選擇性地設置於該光源1〇1之前方以調整其照射範 圍;另可選擇將一透鏡(或透鏡組)1〇7設置於該影像擷取單元 104之前方以提高其感光效率。 明參照第3圖所示,其例示性地揭示本發明之一種實施例 中,該影像擷取單元1 〇4之影像擷取頻率FR以及該光源j 〇 t 之二種發光頻率EFi、Eh及EF3之時序圖,其中,fr=3 〇〇〇 圖框 /秒,EFW’OOO 次 /秒(赫兹),EF2=15〇〇 赫兹,Ef3=1,〇〇〇 赫茲。此時,該影像擷取頻率FR與該發光頻率EF〖、Eh及 EF3形成整數倍關係並形成同步,亦即該影像擷取單元! 擷 取影像之同時該光源1〇1提供影像擷取所需之光。藉此,雖然 該影像擷取單元104以一固定之影像擷取頻率FR擷取影像, 但由於該光源101受到該光源頻率控制單元1〇2之控制,其並 非於每一影像擷取期間A均提供擷取影像所需之光,因而該 影像擷取單元104實際所擷取之影像係受到該光源ι〇ι之發光 頻率所控制,該處理單元105基於該影像擷取單元1〇4實際所 擷取之有效影像進行位移量或位移速度之計算。可以了解的 =,第3圖中所揭示之影像擷取頻率FR、光源ι〇ι之發光頻 率£?丨、£匕及EF3以及發光頻率之數目僅為本發明之一種實 01268-TW / Pix-TW-0164 10 1^45167 嗖定。2 F3以及發光頻率之數目皆因實際需求而可任意 ^參” U 4圖所心接著制該光源iQi於不同 頻率下,該處理單元105所能偵測 栌值之Μ — 所此須利之最大移動量以做為設定門 t 。影像掘取單元1〇4以該光源⑻之一個發光週 期為間隔分別擷取一第一影像2 σ 影禮9η # — 弟一衫像30,於該第一-p reduces the frequency of the shirt image to ~ half Μ θ is AM yu .af , 卞 1 疋 了 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持 维持4 times the denier is placed, so its signal processing helmet shovel is less than half of the battle seat is not reduced to half at the same time, that is, it can not be a power consumption. Thunder t _ The electricity consumed by the light source of the mouse first learns that one of the hands consumes one of the total power consumption,,,..,, , ^ does not mention any use of (four) light source power consumption In order to achieve a method of reducing overall energy consumption. For the above reasons, the present invention proposes to adjust the light-emitting frequency of the light source according to the movement degree of the displacement detecting device, and the power consumption of the displacement detecting device can be effectively reduced by reducing the frequency of the light source. K 益 ^ M Qian Yang show reduced efficiency, in order to solve the problems in the aforementioned prior art. SUMMARY OF THE INVENTION This & R mesh # provides a # displacement 4 detecting device and its power saving method, which adjusts the light emitting frequency of the light source according to the displacement amount or displacement speed of the displacement device to effectively reduce the power consumption. Another object of the present invention is to provide a displacement detecting device and a power saving side thereof, wherein the image capturing frequency of the image capturing unit is fixed, and thus the exposure time of the image capturing unit does not need to move with the displacement detecting device Changed in speed, with better stability. 〇 1268-TW / Pix-TW-0164 1.345167 For the above purpose » The method of displacement detection, for the power saving side of the displacement system • What is needed for capturing images? The source 21 can adjust the illumination frequency to emit the first image and the first image, and the method includes the following steps: extracting - the amount of displacement; and: 2: obtaining the first image and the second image In order to adjust the frequency of the light source of the light source = 槛 value comparison; and according to the comparison knot, the light source is - lower: two, when the displacement amount is lower than the energy consumed by the threshold value - the first Frequency illuminating to save the power detecting method of the above-mentioned shift detecting device in the displacement detecting device, when the displacement amount is too large to detect the displacement, the illuminating frequency is increased. The power saving of the displacement detecting device In the method, the displacement detecting device has an image capturing frequency that is integral with the illuminating frequency. _ In the power saving method of the displacement detecting device, capturing a time difference between the first image and the first image For the illumination period of the light source, in the power saving method of the motion detection device, the displacement amount can be decomposed into a horizontal displacement straight and a vertical displacement amount, and the illumination frequency includes a first illumination frequency and a first The second luminous frequency is higher than the first hair Frequency. When the light source emits A at the first light-emitting frequency, and one of the horizontal displacement amount or the vertical displacement amount 纟 is higher than the threshold value, adjusting the light source to emit light at the second light-emitting frequency; when the horizontal displacement amount And when both of the vertical displacements are lower than the threshold, the light source maintains illumination at the first illumination frequency. When the light source emits light at the second illumination frequency, and one of the horizontal displacement or the vertical displacement is higher than When the threshold value is reached, the light source maintains illumination at the second illumination frequency, and when both the horizontal displacement amount and the vertical displacement amount are lower than the threshold value, the light source is adjusted to emit light at the first illumination frequency. 7 〇1268- TW/Pix-TW-0164 1345167 According to another feature of the present invention, the present invention includes a light source, a light (four) two for a displacement measurement device, and a 频原频羊 control early, - Image capturing unit, / early processing unit. The light source adjusts the light emitting frequency of the light source with an adjustable light frequency. The first image and the second image are captured when the source emits light; ; ^ to a devaluation, the place The control unit compares the first image and the first image to obtain a displacement amount, compares the displacement amount with the threshold value, and controls the light source frequency control unit to adjust the light-emitting frequency of the light source according to the comparison result; When the displacement is lower than the threshold, the light source emits light at a lower illumination frequency, thereby saving power consumed by the displacement detecting device. The displacement detecting device and the power saving method thereof of the present invention may have Two or more thresholds, whereby the adjustment of the illumination frequency of the light source can be divided into several stages, which can simultaneously achieve power saving and maintain the performance of the displacement measurement. In addition, the displacement extraction device further includes a transmission interface unit. The detected displacement is transmitted to an image display device, such as a television screen, a computer screen, a game console screen or a projection screen, for controlling the cursor or a pointing point of the pointer. An embodiment of the displacement detecting device includes a wireless optical mouse and a navigation device. [Embodiment] The above and other objects, features and advantages of the present invention will become more apparent from the embodiments of the invention. Referring to Figures 1 a, 1 b and 2, respectively, a perspective view and a block diagram of a displacement detecting device 10 according to an embodiment of the present invention are disclosed. The displacement detecting device 1 can be, for example, a wireless optical mouse or a wireless optical navigation device (wireUss navigation device), which is usually placed on a surface s (for example, the surface of a mouse pad 01268-TW / Pix-TW-0164 8 1M5167 ί 2 = user control 'available for relative control - the image display device 90 includes two: #向指 indicator 91' movement> The embodiment of the image display device 90 is not limited to 'a television screen, a projection Curtain, a computer screen and - tour = screen. The displacement detecting device 1Q includes a light source 1qi, a light source frequency 2...2, a memory unit 103, an image capturing unit ι〇4, a group, a 5, a transmission interface unit 1G6, and at least a lens ( Or the lens in the description of the displacement device of the embodiment of the present invention, although the line first learns the mouse as an illustrative description, as shown in the first figure, the extension is not used == hair: the displacement detecting device 1〇 (wireless optical mouse) generally has a series of 1" bottom with a hole H and the main position of the device 1G is placed in the housing - the light source 1 〇 1 system - adjustable: hair: 'As the source of the image is extracted... 4 sources, the embodiment of which includes the light-emitting diode and the laser two.: = first::: the shell - ... illuminates the surface s, after the surface U passes the 1 Η Adjusting the light-emitting frequency of the light source (8) by the image line unit (10) i* 4·! S. ιηο ^ « 彳4 九源frequency I: the memory unit j I - threshold value (10) e'Sh〇ld value) e the image The class taking unit may select a frame rate of the solid image, the image extracting frequency=the unit 2...the step of the light...the light emitting frequency, In other embodiments, the image 成 is in an integer multiple of the light-emitting frequency of the light source (8). This is not used to compare the shift of the image capture unit 104 with the complex number 5 Detecting the displacement or displacement speed of the device ,), and comparing the (4) or = .01268-TW/Pix-TW-0164 1.345167 moving speed with the threshold value stored in the memory unit 1 〇 3, and controlling according to the comparison result The light source frequency control unit 1 〇2 adjusts the light-emitting frequency of the light source 1 〇 i. Thus, when the displacement amount or displacement speed of the displacement detecting device 10 is lower than the threshold value, the light source 101 can emit a lower light. Frequency illuminating to save the power consumed by the displacement detecting device 10. Finally, the displacement or displacement speed of the displacement detecting device is wirelessly transmitted to the image display device 90 via a transmission interface unit ,6. In addition, a lens (or lens group) 07 can be selectively disposed before the light source 1〇1 to adjust its illumination range; alternatively, a lens (or lens group) 1〇7 can be set. For the image The unit 104 is taken in front of the unit to improve the light-sensing efficiency. As shown in FIG. 3, the image capturing frequency FR of the image capturing unit 1 〇4 and the light source j are exemplarily disclosed in an embodiment of the present invention. Timing diagram of two luminous frequencies EFi, Eh and EF3 of 〇t, where fr=3 〇〇〇 frame/second, EFW'OOO times/second (Hz), EF2=15 Hz, Ef3=1, At this time, the image capturing frequency FR forms an integral multiple relationship with the illuminating frequencies EF, Eh and EF3 and forms a synchronization, that is, the image capturing unit!光源 The light source 1〇1 provides the light required for image capture while the image is being taken. Therefore, although the image capturing unit 104 captures the image by using a fixed image capturing frequency FR, since the light source 101 is controlled by the light source frequency control unit 1〇2, it is not during each image capturing period A. The light required to capture the image is provided, so that the image captured by the image capturing unit 104 is controlled by the light emitting frequency of the light source ι〇, and the processing unit 105 is based on the image capturing unit 1〇4. The effective image captured is used to calculate the displacement or displacement velocity. It can be understood that the image capturing frequency FR, the illuminating frequency of the light source ι〇ι, the number of illuminating frequencies, and the number of illuminating frequencies are only one real 01268-TW / Pix of the present invention. -TW-0164 10 1^45167 嗖定. 2 F3 and the number of illuminating frequencies can be arbitrarily selected according to actual needs. U 4 map is followed by the source iQi at different frequencies, and the processing unit 105 can detect the 栌 value - the maximum The amount of movement is used as the setting gate t. The image capturing unit 1〇4 respectively captures a first image 2 σ 9 9 9η# — 弟一衫像30 at intervals of one illumination period of the light source (8), at the first
!:選疋—參考搜尋框21,並於該第二影像30選定一搜 該處理單元105則計算該參考搜尋框η以及該搜尋 £之間的位移量以作為該位移债測裝置W 速度。為簡化說明,於第4圖中僅考慮χ轴方向(圖中= 向)之位移^實際操作時該位移量係、包含X軸方向以及丫軸 ::::量'。最大可偵測位移係發生於該參考搜尋框21位於 5: Ν.广ΐ 2Q之最左側Μ及該搜尋框31位於該第二影像30 取右側之情形。例如當發光頻率為EF1=3,000嚇兹,每張圖框!: Select - refer to search box 21, and select a search in the second image 30. The processing unit 105 calculates the amount of displacement between the reference search frame η and the search £ as the displacement debt measuring device W speed. In order to simplify the explanation, only the displacement of the χ-axis direction (== in the figure) is considered in Fig. 4; the displacement amount system, including the X-axis direction and the 丫-axis :::: amount ' in actual operation. The maximum detectable displacement occurs in the reference search box 21 at 5: 最. The leftmost side of the 2Q and the search box 31 is located on the right side of the second image 30. For example, when the illuminating frequency is EF1=3,000, each frame
具=6χ16個畫素’該搜尋框31及該參考搜尋框21具有W 固-且晝素中心到晝素中.心的距離為3Q微米之條件下, 其=大可摘測位移量為8個晝素位移量,則每秒最大可偵測位 ^置(即位移速度)等於3〇〇〇(張/秒)x8(晝素/張)x30(微 未)=720(微米/秒)’其近似於28英吋/秒;同理可求得發光頻 率分別為EF2=1,500絲:玆以t Λ 赫鈦以及EF3=1,〇〇〇赫茲且其他條件相同 時之每秒最大可偵測位移量(即位移速度),分別近似於14英 对/秒及9英⑽。由此可知’當該位移偵測裝置1G之每秒 位移量超過9英时時’該光源1〇1至少需以阳之發光頻率發 光’如此該處理單元1 〇5才自t热站y, 才犯夠偵測到位移量;當該位移偵測 01268-TW / Pix-T W-0164 11 1345167 每秒位移量超過14英朴該光源101之發光頻率 •過光二Γ。換句話說’當位移偵測裝置10之位移量超 1當時之發#光頻率下之最大可偵測位移量時,該處理 之則無法計算此時之位移量,因而必須增加光源1〇1 ,發光頻率以使該位㈣測裝置1Q正常運作。可以了解的 本說明t所揭示之所有數值設^僅為本發明之—種實施方 二並非用以限定本發明’該等數值可隨實際產品設計而任意 決疋。 '參肊第5圖所不,其揭示本發明實施例之位移偵測裝置 之痛電方法之流程圖,包含下列步驟:掏取一第一影像(步 驟Γ1);鮮—步驟),·比對㈣—影像及該第 二衫像(步驟403);判斷是否可求得一位移量(步驟4〇4 ”若 否’則增加發光頻率(步驟405);若是,則將該位移量與至少 一門檻值相比較(步驟406);以及調整發光頻率(步驟4〇7);藉 此’當該位移量低於該門檻值時’該光源1〇1以一較低之發光 頻率FR發光,以節省位移價測裝置所消耗之電能。 請參照第2至6b圖所示,接著說明本發明實施例之位移偵 測裝置10之省電方法’該光源1()1最初係以發光頻率叫例 如uooo赫兹)發光。首先,該影像操取單元ι〇4榻取一第一 影像20,其可為該位㈣測裝置1Q尚未移動前所擷取之影 像,亦可為移動中所擷取之影像(步驟術卜該影像㈣單元 1〇4於擷取完該第_影像20後經過該光源、ι〇ι之一發光週期 (此時為i/麵秒)時操取該第二影像3〇(步驟4〇2),如第3圖 所示,於此發光週期内該影像擷取單元1〇4實際已另外操取完 2張影像’但由於掏取該第一影像2〇及該第二影像3〇之期間 〇1268-TW/Pix-TW-0164 12 1345167 並未發?’因此該影像擷取單元104所擷取之影 之參考趟象。、接者’該處理單元105比對該第-影像20 -並判餅η寸框21以及該第二影像3〇之搜尋框3 K步驟彻), =斷Γ可求得'位移量(步驟彻)。當判斷無法求得位移 ϋ 該光源101之發光頻_EF1太低’因此該處理單元 =該光源頻率控制單元102提升該光源·之發光 ί:,則赫茲)或EF3(例如3,嶋赫兹)(步驟他)。 县列斷可求得位移量時, 該記憶單元⑻巾之^門;7/該㈣量與儲存於 二:檻值相比較(步驟4〇6),例如第 設定為14英;:第一"檀值設定為9英时,-第三門檀值 ,、、、了解的是’雖然第6a圖中之橫轴係以位移量表示,备 該㈣量為每秒位移量時,則與位移速度具有相同物理意義田。 於此貫施例中’當該處理單元105判定該位移摘測裝置w之 位移量超過9英口寸時,則控制該光源頻率控制單元1〇2調整該 光源101之發光頻率為Ef2 ;當判定該位移偵測裝置1〇之位 移量超過14英时時’則控制該光源頻率控制單元102調整該 光源101之發光頻率為EF3 ;當該位移量未超過9英忖 調整該發光頻帛EFl(步驟術)。接著,該影㈣取單元⑽ 經過另-發光週期(可能經過調整或未經過調整,調整後例如 :二T…/3〇〇〇秒)後擷取一新的影像並使原第二影 旦, :、,新的第—影像20,並使新掏取之影像成為新的第二 影像30’接著從步驟4〇3重新開始動作,以判定應該調升或 調降-亥光源1G1之發光頻率。如此,當該處理單元⑼所求;寻 之位移量低於設定之門檻值時’藉由降低該光源101之發光頻 01268-TW / Pix-TW-〇164. 13 1345167 率’以有效降低該位移偵測裝置10之消耗電能。 請參照第6b圖所示,其揭示本發明實施例中該處理單元 比較該位移偵測裝置1〇之位移量與門檻值之另—種實施 -方式。於此實施例中,位移量係被分解為水平位移量以及 垂直位移量ΛΥ。當該光源101之發光頻率為EFi(例如i刚 赫兹),且該處理單元105判定水平位移量Δχ或垂直位移量 △Υ其中之一大於一第一門檻值(例如9英叶)時’該處理單: 則控制該光源頻率控制單元1〇2增加該光源ι〇ι之發光頻 率為EF2(例如i’500赫茲),當判定該水平位移量^垂直 位移量ΔΥ兩者均小於該第一門檻值,該發光頻率唯持為 。當該光源101之發光頻率為EFz,且該處理單元1〇5判 定水平位移量ΔΧ或垂直位移量Δγ其中之一大於一第三門 播值(例如14英吋)時’該處理單元1〇5則控制該光源頻:控 制早元102增加該光源、101之發光頻率為%(例如3,咖赫 兹)’當判定水平位移量及垂直位移量Λγ兩者均小於兮 第-門檀值時’該處理單元105則控制該光源頻率控編 =減少該光源m之發錢率為%,否則該發光頻率維持 為EF2。當該光源101之發光頻率為阳,且該處理單元⑻ 判定水平位移量ΔΧ及垂直位移量Λγ _者均小於該第三門 檻值時,該處理單元105則控制該光源頻率控制單元1〇2減少 該光源1〇1之發光頻率為EF2,甚至有可能調整為阳,當节 =平位移量ΔΧ或垂直位移量△…之—仍大於該第三門 =時,該發光頻率維持為EF”亦即,於此實施例中,該處 理早兀1〇5係分別將該門播值與該位移该測裝置⑺位移量之 水平及垂直分量相比較。 01268-TW / Pix-TW-0164 14 1.345167 請參照第7圖,其揭示本發明實施例之位移價測裝置 之令電方法之另-種實施方式’其與前述實施例最主要之差里 在於,增加及降低該光源101發光頻率之⑽值並不相同。例 =第7圖所示’增加發光頻率之門檻值分別設定為第二門檻值 例如9英对)及第四門檻值(例如14英朴降低發光頻率之門 =分別被設定為第值(例如8封)及第三門檀值(例 13央时)’且該第二門播值大於該第—門捏值,該第四門檀 值大於該第三門檻值。當該光源1〇1之發光頻率為Μ“例如 ι’οοο赫兹)’且該處理單元105判定該位㈣測裝i 1〇之位 移量大於該第二門檻值時,光源101之發光頻率被調整為 EF2(例如woo赫兹),當位移量小於該第二門檀值時,該發 光頻率維持4 EFl。當該光源、1〇1之發光頻率為阳,且該處 理單元105判定該位移#測裝£ 1〇之位移量大於該第四㈣ 值時,該光源101之發光頻率被調整為BP〆例如3,〇〇〇赫茲” 當判定位移量小於該第一門檻值時’該光源1〇1之發光頻率被 調整為EFl,當所判定之位移量介於該第一與第四門捏值之間 時,該發光頻率維持為Eh。當該光源1〇1之發光頻率為Eh, 且該處理單元105判定該位移偵測裝置1〇之位移量小於該第 二門檻值時,該光源101之發光頻率被調整為Eh,當位移量 =然大於該第三門檻值時,該發光頻率則維持為EF3:由於: 實施例中係使得降低發光頻率之門檻值(第一及第三門檻值) 低於增加發光頻率之n檻值(第二及第四門檻值),可提升^亥位 移偵測裝置1 〇之操作效能。 請參照第8圖所示,該處理單元105同樣可將該位移量分 解為水平位移量△X以及垂直位移量△ γ後,並分別與該第 〇1268-TW/Pix-TW-0164 15 1345167 第一第一及第四門檻值相比較,並根據比較結果控制該 光源頻率控制單;^ i 02冑整該光源i 〇丄之發光頻率。例如,當 該光源ι〇1之發光頻率為EFi(例如1〇〇〇職),且該處理: 判定該位移偵測裝置1〇之水平位移量Λχ或垂直位移 量ΔΥ其中之一大於該第二門捏值時該光源⑻之發光頻率 被=整為EF2(例如i期赫兹),當水平位移量Λχ及垂直位 Υ兩者均小於3亥第二.門檻值時,該發光頻率維持為 EFi。當該光源1〇1之路伞 赞九頻率為EF2 ’且該處理單元ι〇5判 定該位移偵測裝置10之水平位移量ΔΧ或垂直位移量ΔΥΐ 中之-大於該第四門檻值時,該光源1〇1之發光頻率被調整為 EF3(例如3,000赫兹),當水平位移量及垂直位移量△ γ兩 者均小於該第一門檻值時’該光源、ι〇ι之發光頻率被調整為 Eh,否則該發光頻率維持為阳。當該光源⑻之發光頻率 為,F3,且該處理單元1〇5判定該位移偵測裝置1〇之水平位 移量ΔΧ及垂直位蔣晉 移量Δ Υ兩者均小於該第三門檻值時,光源 之發光頻率破調整為EF2,甚至有可能調整為Eh,當水 平位移量ΔΧ或垂直位移量Λγ其中之—健大於該第三門 檻值時,言亥發光頻率則維持為阳。藉此,當該位移侦測裝置 0之位移里低於所没定之門檀值時,該光源1 〇 1可以一較低 之發光頻率發光,以節省該位㈣測裝置ig所消耗之電能。· 。月參』第9圖’其揭示本發明實施例之位移侦測裝置1 〇 之省電方法之另-種實施方式,其㈣使增加及降低該光源 ⑻發光頻率之門檻值不同。第9圖與第7圖之差別在於,該 增加發光頻率時之門播信γΏ & (第一及第四門檻值)係設定為低於 降低發光頻率時之門棍值(第一及第三門捏值)。當該光源ι〇ι 01268-TW/Pix-TW-0164 【圖式簡單說明】 .“圖:本發明實施例之位㈣測裝置之立體示意圖。 ,第15圖:本發明實施例之位们貞測裝置及相對應之影像 顯示裝置之立體示意圖。 第2圖:本發明實施例之“多偵測裝置之方塊示意圖。 第3圖:本發明實施例之位移偵測裝置中,影像操取單元 Φ 之景/像Μ取頻率及光源之發光頻率之時序圖。 第4圖·本發明實施例之位移偵測裝置之處理單元計算位 移偵測裝置位移量之示意圖。 帛5圖·本發明實施例之位移偵測裝置之省電方法之流程 圖。 第6a圖·•本發明實施例之位㈣測裝置之省電方法中, 依據位移量及至少一門播值適應性調整發光頻率 之示意圖。 第6b圖:本發明實施例之位移_裝置之省電方法中, 依據水平位移量、垂直位移量及至少一門捏值適 應性調整發光頻率之示意圖。 第7圖 第8圖 •本發明實施例之位移偵測裝置之省電方法中,依 據位移量及至少一門檻值適應性調整發光頻率之 示意圖,#中增加發光頻率之門檀值高於降低發 光頻率之門檻值。 .本發明實施狀华移偵測裝置之省電方法中,依 據水平位移量、垂直位移量及至少一門捏值適應 01268-TW/Pix-TW-0164 19 1345167 性調整發光頻率之示意圖。 依 之 降 第9圖:本發Μ施例之位㈣測裝置之省電方法中, 據位移量及至少一門檻值適應性調整發光頻率 另一示意圖,其中增加發光頻率之門檻值低於 低發光頻率之門檻值。 【主要元件符號說明】 10 位移彳貞測裂置 101 光源 103 記憶單元 105 處理單元 107 透鏡 21 參考搜尋框 31 搜尋框 90 影像顯示裝置 Η 孔 △ X 水平位移量 FR 影像操取頻率 A 影像掏取時間 1〇〇殼體 102光源頻率控制單元 104影像擷取單元 106傳輸介面單元 20 第一 影像 30 第二 影像 401 〜407 步驟 91 游標 S 表面 AY 垂直位移量 EFf、EF2、EF3發光頻率 01268-TW/Pix-TW-0164???==6χ16 pixels' The search box 31 and the reference search box 21 have a W-solid and the center of the pixel is in the pixel. The distance of the heart is 3Q micrometers, and the value of the large removable measurement is 8 For a single displacement, the maximum detectable position per second (ie, displacement velocity) is equal to 3 〇〇〇 (sheets per second) x 8 (halogen / sheet) x 30 (micro-not) = 720 (micrometers per second) 'It is similar to 28 inches / sec; the same can be found that the illuminating frequency is EF2 = 1,500 silk: t Λ He He titanium and EF3 = 1, 〇〇〇 Hertz and other conditions are the same per second maximum detectable The measured displacement (ie displacement velocity) is approximately 14 inches/second and 9 inches (10), respectively. Therefore, it can be seen that when the displacement detecting device 1G shifts more than 9 inches per second, the light source 1〇1 needs to emit light at at least a positive light emitting frequency. Thus, the processing unit 1 〇5 is from the t heat station y. Only when the displacement is detected is detected; when the displacement detection 01268-TW / Pix-T W-0164 11 1345167 displacement per second exceeds 14 Ying Pu, the light source frequency of the light source 101 • over-lighting. In other words, when the displacement of the displacement detecting device 10 exceeds the maximum detectable displacement amount at the time of the optical frequency, the processing cannot calculate the displacement amount at this time, and thus the light source must be increased. The illuminating frequency is such that the bit (4) measuring device 1Q operates normally. It is to be understood that all of the numerical values disclosed in the present specification t are merely exemplary embodiments of the present invention and are not intended to limit the present invention. The numerical values may be arbitrarily determined depending on the actual product design. A flowchart of a pain-relieving method for a displacement detecting device according to an embodiment of the present invention includes the following steps: capturing a first image (step ) 1); fresh-step), And (4)-image and the second shirt image (step 403); determining whether a displacement amount can be obtained (step 4〇4) if no, increasing the light-emitting frequency (step 405); if yes, the displacement amount is at least Comparing a threshold value (step 406); and adjusting the light-emitting frequency (step 4〇7); thereby, when the displacement amount is lower than the threshold value, the light source 1〇1 emits light at a lower light-emitting frequency FR, In order to save the power consumption of the displacement measuring device, please refer to the second to sixth figures, and then the power saving method of the displacement detecting device 10 according to the embodiment of the present invention is described. For example, uooo Hertz emits light. First, the image capturing unit ι〇4 takes a first image 20, which can be the image captured by the position (4) before the device 1Q has moved, and can also be captured during the movement. The image (steps of the image (4) unit 1〇4 passes through the light source after the first image 20 is taken The illuminating period (in this case, i/face second) is performed by the second image 3〇 (step 4〇2), as shown in FIG. 3, the image capturing unit 1 is displayed during the lighting period. 〇4 has actually processed two more images' but since the first image 2〇 and the second image 3〇 were captured, 1268-TW/Pix-TW-0164 12 1345167 was not sent? a reference image of the image captured by the image capturing unit 104. The processing unit 105 compares the image of the first image with the image of the first image 20 and the search frame 3 K of the second image 3 Step =), = break can be found as 'displacement amount (step is thorough). When it is judged that the displacement cannot be obtained ϋ the light source frequency _EF1 of the light source 101 is too low' therefore the processing unit = the light source frequency control unit 102 raises the light source · Luminance ί:, then Hertz) or EF3 (for example, 3, 嶋 Hertz) (step him). When the county breaks the displacement, the memory unit (8) wipes the door; 7 / the (four) amount and stores Two: comparison of devaluation (step 4〇6), for example, the first setting is 14 inches; the first "the value of the sandal value is set to 9 inches, the third value of the sandalwood value, ,,, understands that 'although The horizontal axis in Fig. 6a is expressed by the displacement amount. When the amount of (4) is the displacement per second, it has the same physical meaning as the displacement velocity. In this example, the processing unit 105 determines the displacement measurement. When the displacement of the device w exceeds 9 inches, the light source frequency control unit 1〇2 controls the light source 101 to adjust the light-emitting frequency to Ef2; when it is determined that the displacement detecting device 1 has a displacement of more than 14 inches, Then, the light source frequency control unit 102 controls the light source frequency of the light source 101 to be EF3; when the displacement amount does not exceed 9 inches, the light emission frequency EF1 is adjusted (step). Then, the image (4) takes the unit (10) through the other-lighting period (may be adjusted or not adjusted, after adjustment: for example: two T.../3 sec), then takes a new image and makes the original second shadow , :,, new image - 20, and the newly captured image becomes the new second image 30' and then restarts from step 4〇3 to determine whether the light should be raised or lowered. frequency. In this way, when the processing unit (9) finds; when the displacement amount is lower than the set threshold value, 'by reducing the luminous frequency of the light source 101 by 01268-TW / Pix-TW-〇164. 13 1345167 rate' to effectively reduce the The power of the displacement detecting device 10 is consumed. Referring to FIG. 6b, it is disclosed that the processing unit compares the displacement amount and the threshold value of the displacement detecting device 1 in the embodiment of the present invention. In this embodiment, the displacement amount is decomposed into a horizontal displacement amount and a vertical displacement amount ΛΥ. When the light-emitting frequency of the light source 101 is EFi (for example, i-hertz), and the processing unit 105 determines that one of the horizontal displacement amount Δχ or the vertical displacement amount ΔΥ is greater than a first threshold value (for example, 9 inches), Processing unit: controlling the light source frequency control unit 1〇2 to increase the light source frequency of the light source ι〇ι to EF2 (for example, i'500 Hz), and determining that the horizontal displacement amount ^the vertical displacement amount ΔΥ is smaller than the first The threshold value, the luminous frequency is only held. When the light-emitting frequency of the light source 101 is EFz, and the processing unit 1〇5 determines that one of the horizontal displacement amount ΔΧ or the vertical displacement amount Δγ is greater than a third gated value (for example, 14 inches), the processing unit 1〇 5 controlling the frequency of the light source: controlling the early element 102 to increase the light source of the light source, 101 is % (for example, 3, ca Hz)' when it is determined that both the horizontal displacement amount and the vertical displacement amount Λ γ are smaller than the 兮 first-door value The processing unit 105 controls the frequency control of the light source to reduce the saving rate of the light source m by %, otherwise the luminous frequency is maintained at EF2. When the light-emitting frequency of the light source 101 is positive, and the processing unit (8) determines that the horizontal displacement amount ΔΧ and the vertical displacement amount Λγ_ are both smaller than the third threshold value, the processing unit 105 controls the light source frequency control unit 1〇2 The illuminating frequency of the light source 〇1 is reduced to EF2, and it is even possible to adjust to yang. When the knuckle=flat displacement ΔΧ or the vertical displacement Δ... is still greater than the third gate=, the illuminating frequency is maintained as EF” That is, in this embodiment, the processing is compared with the horizontal and vertical components of the displacement of the measuring device (7), respectively, as early as 1兀5. 01268-TW / Pix-TW-0164 14 1.345167 Please refer to FIG. 7 , which illustrates another embodiment of the power method of the displacement measuring device according to the embodiment of the present invention. The main difference between the method and the foregoing embodiment is that the light source 101 is increased and decreased. (10) The values are not the same. Example = Figure 7 shows that the threshold for increasing the luminous frequency is set to the second threshold value, for example, 9 inches, and the fourth threshold value (for example, the gate of the 14-inch reduced luminous frequency is respectively Set to the first value (for example, 8) and The three-door value (in the case of the 13th time) and the second door value is greater than the first door pinch value, the fourth door value is greater than the third threshold value. When the light source 1〇1 has a luminous frequency of “Μ” For example, if the processing unit 105 determines that the displacement amount of the bit (4) of the measurement device is greater than the second threshold value, the light-emitting frequency of the light source 101 is adjusted to EF2 (for example, woo Hertz), when the displacement amount When the value is less than the second threshold, the illumination frequency is maintained at 4 EFl. When the light source, the light-emitting frequency of the light source is positive, and the processing unit 105 determines that the displacement amount of the displacement #1 is greater than the fourth (four) value, the light-emitting frequency of the light source 101 is adjusted to BP, for example, 3, 〇〇〇 Hertz" When determining that the displacement amount is less than the first threshold value, the light-emitting frequency of the light source 1〇1 is adjusted to EF1, and the determined displacement amount is between the first and fourth gate values. When the light source frequency is Eh, and the processing unit 105 determines that the displacement amount of the displacement detecting device 1 is less than the second threshold value, the light source 101 The illuminating frequency is adjusted to Eh, and when the displacement amount is greater than the third threshold, the illuminating frequency is maintained as EF3: since: in the embodiment, the threshold of the illuminating frequency is lowered (first and third threshold values) The n 槛 value (second and fourth threshold values) lower than the increased illuminating frequency can improve the operating performance of the 亥 位移 displacement detecting device 1 . Referring to FIG. 8 , the processing unit 105 can also shift the displacement. The amount is decomposed into horizontal displacement △X and vertical displacement △ γ And comparing with the first first and fourth threshold values of the first 2681268-TW/Pix-TW-0164 15 1345167, and controlling the light source frequency control list according to the comparison result; ^ i 02 该 the light source i 〇丄The illumination frequency is, for example, when the illumination frequency of the light source ι〇1 is EFi (for example, 1 job), and the process: determining the horizontal displacement amount Λχ or the vertical displacement amount Δ of the displacement detecting device 1 When the second door pinch value is greater than the second door pinch value, the light source frequency of the light source (8) is = EF2 (for example, i period Hertz), and when both the horizontal displacement amount 垂直 and the vertical position 小于 are less than 3 第二 second threshold value, the The illuminating frequency is maintained as EFi. When the frequency of the light source 1〇1 is EF2′ and the processing unit ι〇5 determines that the horizontal displacement ΔΧ or the vertical displacement ΔΥΐ of the displacement detecting device 10 is greater than the When the fourth threshold is used, the light-emitting frequency of the light source 1〇1 is adjusted to EF3 (for example, 3,000 Hz), and when both the horizontal displacement amount and the vertical displacement amount Δγ are smaller than the first threshold value, the light source, ι〇 The illuminating frequency of ι is adjusted to Eh, otherwise the illuminating frequency is maintained at yang. The light source (8) has a light-emitting frequency of F3, and the processing unit 1〇5 determines that the horizontal displacement amount ΔΧ and the vertical position Jiang Jin shift amount Δ 该 of the displacement detecting device 1〇 are both smaller than the third threshold value. The illuminating frequency of the light source is adjusted to EF2, and it is even possible to adjust to Eh. When the horizontal displacement ΔΧ or the vertical displacement Λγ is greater than the third threshold, the illuminating frequency is maintained as yang. When the displacement of the displacement detecting device 0 is lower than the threshold value of the threshold, the light source 1 〇1 can emit light at a lower luminous frequency to save the energy consumed by the measuring device (4). Referring to FIG. 9 , another embodiment of the power saving method of the displacement detecting device 1 according to the embodiment of the present invention is disclosed, wherein (4) the threshold value for increasing and decreasing the light-emitting frequency of the light source (8) is different. The difference between Fig. 9 and Fig. 7 is that the gate broadcast signal γΏ & (the first and fourth threshold values) when the increase of the illumination frequency is set to be lower than the threshold value when the illumination frequency is lowered (first and Three-door pinch value). When the light source ι〇ι 01268-TW/Pix-TW-0164 [Simplified description of the drawings] "Fig.: a three-dimensional schematic diagram of the position (four) measuring device of the embodiment of the present invention. Figure 15: The embodiment of the present invention A schematic diagram of a multi-detection device in accordance with an embodiment of the present invention. Fig. 3 is a timing chart showing the scene/image capturing frequency of the image capturing unit Φ and the lighting frequency of the light source in the displacement detecting device according to the embodiment of the present invention. Fig. 4 is a schematic view showing the displacement of the displacement detecting device by the processing unit of the displacement detecting device of the embodiment of the present invention. Fig. 5 is a flow chart showing a power saving method of the displacement detecting device of the embodiment of the present invention. Fig. 6a is a schematic diagram of adjusting the illuminating frequency according to the displacement amount and at least one homing value in the power saving method of the (four) measuring device according to the embodiment of the present invention. Fig. 6b is a schematic diagram showing the adjustment of the illuminating frequency according to the horizontal displacement amount, the vertical displacement amount and the at least one threshold value adaptability in the power saving method of the displacement_device according to the embodiment of the present invention. In the power saving method of the displacement detecting device according to the embodiment of the present invention, the light-emitting frequency is adaptively adjusted according to the displacement amount and the at least one threshold value, and the threshold value of increasing the light-emitting frequency in # is higher than the lowering The threshold of the luminous frequency. In the power saving method of the Huatiao detecting device according to the embodiment of the present invention, a schematic diagram of adjusting the light-emitting frequency according to the horizontal displacement amount, the vertical displacement amount, and the at least one threshold value is adapted to 01268-TW/Pix-TW-0164 19 1345167. According to the figure of the present invention, in the power saving method of the device (four) measuring device, another schematic diagram of adjusting the luminous frequency according to the displacement amount and at least one threshold value, wherein the threshold value for increasing the luminous frequency is lower than the low value The threshold of the luminous frequency. [Main component symbol description] 10 Displacement detection split 101 Light source 103 Memory unit 105 Processing unit 107 Lens 21 Reference search frame 31 Search box 90 Image display device 孔 Hole △ X Horizontal displacement FR Image acquisition frequency A Image capture Time 1 〇〇 housing 102 light source frequency control unit 104 image capturing unit 106 transmission interface unit 20 first image 30 second image 401 ~ 407 step 91 cursor S surface AY vertical displacement EFf, EF2, EF3 luminous frequency 01268-TW /Pix-TW-0164