TWI786682B - Optical mouse and its control method - Google Patents
Optical mouse and its control method Download PDFInfo
- Publication number
- TWI786682B TWI786682B TW110121768A TW110121768A TWI786682B TW I786682 B TWI786682 B TW I786682B TW 110121768 A TW110121768 A TW 110121768A TW 110121768 A TW110121768 A TW 110121768A TW I786682 B TWI786682 B TW I786682B
- Authority
- TW
- Taiwan
- Prior art keywords
- optical mouse
- frame rate
- light signal
- optical
- light
- Prior art date
Links
Images
Landscapes
- Position Input By Displaying (AREA)
- Catching Or Destruction (AREA)
Abstract
Description
本發明係關於一種光學滑鼠,尤指與控制光學滑鼠之發光頻率有關之技術。 The invention relates to an optical mouse, especially the technology related to controlling the light-emitting frequency of the optical mouse.
光學滑鼠為常見搭配電子裝置使用之輸入裝置,當光學滑鼠使用時,係置於工作表面上移動,光學滑鼠之內部光源所發射的光線照射到工作表面之對應位置,光線相對於該對應位置所產生之反射光係反射進入光學滑鼠,再由光學滑鼠內部之感測單元擷取對應位置的影像,透過分析影像來判斷光學滑鼠的移動路徑,以對應控制電子裝置所顯示之游標位置。 The optical mouse is a common input device used with electronic devices. When the optical mouse is used, it is placed on the work surface and moved. The light emitted by the internal light source of the optical mouse hits the corresponding position on the work surface. The reflected light generated by the corresponding position is reflected into the optical mouse, and then the sensing unit inside the optical mouse captures the image of the corresponding position, and the moving path of the optical mouse is judged by analyzing the image, so as to control the display of the electronic device accordingly The cursor position.
當使用者在移動過程中抬起光學滑鼠而使其底面未貼附於工作表面時(例如使用時略為抬起離開工作表面或移動至工作表面之邊緣外),光源所發射的光線將隨著光學滑鼠被抬起的角度發散無法聚焦於一處,而非聚焦照射到工作表面上對應於光學滑鼠之處,此時感測單元受限於其角度及對應位置限制,所擷取到的影像模糊或亮度下降,容易導致電子裝置瞬間誤判該光學滑鼠的移動路徑,因此,如何在光學滑鼠改變與工作表面之間的關係時,有效反應而提高判斷移動路徑的準確度,成為現有技術所需解決的問題。 When the user lifts the optical mouse while moving so that the bottom surface is not attached to the work surface (for example, slightly lifted away from the work surface or moved outside the edge of the work surface during use), the light emitted by the light source will follow When the optical mouse is raised, the angle diverges and cannot be focused on one place, and the unfocused light is irradiated on the work surface corresponding to the optical mouse. At this time, the sensing unit is limited by its angle and corresponding position, and the captured The blurred or decreased brightness of the image may easily cause the electronic device to misjudge the movement path of the optical mouse in an instant. Therefore, how to respond effectively to improve the accuracy of judging the movement path when the relationship between the optical mouse and the work surface changes, Become the problem that prior art needs to solve.
有鑑於此,本發明係針對光學滑鼠在抬起狀態改變時,改變控制方式以提高判斷光學滑鼠之移動路徑的準確度。 In view of this, the present invention aims at changing the control mode when the lifting state of the optical mouse changes, so as to improve the accuracy of judging the moving path of the optical mouse.
為達到上述之發明目的,本發明係提供一種光學滑鼠的控制方法,其包括以下步驟:當該光學滑鼠於一工作表面上操作時,以一第一幀率控制光訊號的發射及接收;當該光學滑鼠離開該工作表面時,以一第二幀率控制光訊號的發射及接收,其中該第二幀率大於該第一幀率;當該光學滑鼠以該第二幀率控制光訊號的發射及接收時,判斷該光學滑鼠是否回到該工作表面,若是,則該光學滑鼠延遲一特定時間後再將切換回該第一幀率控制光訊號的發射及接收,在該段延遲的特定時間內,仍維持以該第二幀率控制光訊號的發射及接收。 In order to achieve the above-mentioned purpose of the invention, the present invention provides a control method of an optical mouse, which includes the following steps: when the optical mouse is operated on a work surface, controlling the emission and reception of optical signals at a first frame rate ; when the optical mouse leaves the work surface, control the emission and reception of light signals at a second frame rate, wherein the second frame rate is greater than the first frame rate; when the optical mouse is at the second frame rate When controlling the emission and reception of optical signals, it is judged whether the optical mouse returns to the work surface, and if so, the optical mouse will switch back to the first frame rate to control the emission and reception of optical signals after a certain time delay. During the specific delay period, the second frame rate is still used to control the transmission and reception of the optical signal.
本發明亦提供執行前述控制方法之一種光學滑鼠,其包括:一殼體;一光源,其設置於該殼體中並朝該殼體外提供光訊號;一感測單元,其設置於該殼體中並接收所述光訊號之反射光訊號;一控制單元,其設置於該殼體中,該控制單元控制該光源提供該光訊號,其中該控制單元控制該光源執行前述之控制方法。 The present invention also provides an optical mouse for implementing the aforementioned control method, which includes: a casing; a light source, which is arranged in the casing and provides light signals to the outside of the casing; a sensing unit, which is arranged in the casing A reflected light signal in the body and receiving the light signal; a control unit, which is arranged in the casing, and the control unit controls the light source to provide the light signal, wherein the control unit controls the light source to execute the aforementioned control method.
本發明的優點在於,藉由提高光學滑鼠離開工作表面時所控制光訊號的幀率,使得光學滑鼠在離開工作表面時,能增加所擷取的影像張數,而使得控制單元能快速判斷出不正常影像,而能迅速阻擋回報出非使用者所預期之位移,以改善使用者體驗。 The advantage of the present invention is that by increasing the frame rate of the optical signal controlled when the optical mouse leaves the work surface, the number of captured images can be increased when the optical mouse leaves the work surface, so that the control unit can quickly By judging abnormal images, it is possible to quickly block and report displacements that are not expected by the user, so as to improve user experience.
1:光學滑鼠 1: Optical mouse
10:殼體 10: Shell
20:光源 20: light source
21:光線 21: light
30:控制單元 30: Control unit
40:感測單元 40: Sensing unit
50:工作表面 50: work surface
T:發光週期 T: light cycle
S11、S12:第一光訊號 S 11 , S 12 : the first light signal
S21、S22:第二光訊號 S 21 , S 22 : the second light signal
t11、t12:第一時間 t 11 , t 12 : the first time
t21、t22:第二時間 t 21 , t 22 : second time
Φ11、Φ12:第一光通量 Φ 11 , Φ 12 : the first luminous flux
Φ21、Φ22:第二光通量 Φ 21 , Φ 22 : Second luminous flux
I11、I12:第一反射圖像 I 11 , I 12 : first reflection image
I21、I22:第二反射圖像 I 21 , I 22 : second reflected image
圖1為本發明之光學滑鼠在未抬起狀態的側視剖面示意圖;圖2為本發明之光學滑鼠的部份元件方塊圖;圖3為本發明之光學滑鼠操作時的實施狀態示意圖;圖4為本發明之光學滑鼠在工作表面時之發光時序圖;圖5為本發明之光學滑鼠在抬起時之發光時序圖;圖6為本發明之判斷光學滑鼠是否抬起之第一實施例的發光時序圖;圖7為本發明之判斷光學滑鼠是否抬起之第二實施例的發光時序圖;圖8為本發明之判斷光學滑鼠是否抬起之第三實施例的發光時序圖;圖9為本發明之判斷光學滑鼠是否抬起之第四實施例的發光時序圖;圖10為本發明之光學滑鼠在未抬起狀態下之其中一實施態樣的發光時序及反射圖像對照示意圖;圖11為本發明之光學滑鼠在抬起狀態的側視剖面示意圖;圖12為本發明之光學滑鼠在抬起狀態下之其中一實施態樣的發光時序及反射圖像對照示意圖;圖13至圖16為本發明所擷取之反射圖像的各像素照度示意圖。 Fig. 1 is a schematic side view sectional view of the optical mouse of the present invention in a non-lifted state; Fig. 2 is a block diagram of some components of the optical mouse of the present invention; Fig. 3 is an implementation state of the optical mouse of the present invention during operation Schematic diagram; Fig. 4 is the timing diagram of light emission when the optical mouse of the present invention is on the working surface; Fig. 5 is the timing diagram of light emission when the optical mouse of the present invention is lifted; Fig. 6 is the judging whether the optical mouse is lifted of the present invention The luminescence timing diagram of the first embodiment; Fig. 7 is the luminescence timing diagram of the second embodiment of judging whether the optical mouse is lifted; Fig. 8 is the third judging whether the optical mouse is lifted of the present invention The light-emitting sequence diagram of the embodiment; FIG. 9 is the light-emitting sequence diagram of the fourth embodiment of judging whether the optical mouse is lifted; FIG. 10 is one of the implementation states of the optical mouse in the non-lifted state of the present invention Figure 11 is a schematic diagram of a side view of the optical mouse of the present invention in a lifted state; Figure 12 is an implementation of the optical mouse of the present invention in a lifted state Figure 13 to Figure 16 are schematic diagrams of the illuminance of each pixel of the reflected image captured by the present invention.
以下配合圖式及本發明之實施例,進一步闡述本發明為達成預定發明目的所採取的技術手段,其中圖式僅為了說明目的而已被簡化,並通過描述本發明的元件和組件之間的關係來說明本發明的結構或方法發明,因此,圖中所示的元件不以實際數量、實際形狀、實際尺寸以及實際比例呈現,尺寸 或尺寸比例已被放大或簡化,藉此提供更好的說明,已選擇性地設計和配置實際數量、實際形狀或實際尺寸比例,而詳細的元件佈局可能更複雜。 The technical means adopted by the present invention to achieve the intended purpose of the invention are further elaborated below in conjunction with the drawings and embodiments of the present invention, wherein the drawings are simplified for illustrative purposes only, and by describing the relationship between elements and components of the present invention To illustrate the structure or method invention of the present invention, therefore, the elements shown in the drawings are not presented in actual number, actual shape, actual size and actual ratio, and the size Or the size ratio has been enlarged or simplified to provide better illustration, the actual number, actual shape or actual size ratio has been selectively designed and configured, and the detailed component layout may be more complicated.
請參閱圖1及圖2所示,本發明之光學滑鼠1包含有一殼體10、一光源20、一控制單元30及一感測單元40。該光源20、該控制單元30及該感測單元40均設置於該殼體10中,該光源20及該感測單元40電連接於該控制單元30,該光源20所發射之光線21朝向該殼體10外,亦即該光源20朝該殼體10外提供光訊號,當光線21照射到該殼體10之底面所置放的工作表面50後,反射光由該感測單元40接收,進而產生對應的反射圖像,藉由該反射圖像判斷該光學滑鼠1之移動行程。
Please refer to FIG. 1 and FIG. 2 , the
請參閱圖3所示,當該光學滑鼠1操作時,將因為使用者的動作而使得該光學滑鼠1在一工作表面50操作或離開該工作表面50。請配合參閱圖2、圖4及圖5所示,當該光學滑鼠1於該工作表面50上操作時,該控制單元30以一第一幀率來控制光訊號的發射及接收(如圖4所示);同時該控制單元30依據該感測單元40所接收之前述反射圖像持續判斷該光學滑鼠1是否離開該工作表面50,若判斷該光學滑鼠1離開該工作表面50,則該控制單元30改以一第二幀率來控制光訊號的發射及接收(如圖5所示),其中該第二幀率大於該第一幀率,意即該光學滑鼠1在離開該工作表面50時,以較高的幀率來控制光訊號,則相對來說該感測單元40也會接收到較多的前述反射圖像。以圖4及圖5來比較,在相同的時間長度A中,以該第一幀率(圖4)發射光訊號來說僅發射一次光訊號而僅獲得一張前述反射圖像,但以該第二幀率(圖5)發射光訊號來說,則發射三次光訊號而可獲得三張前述反射圖像。如此一來,將使得該控制單元30有更多的資訊,能在較短的時間內判斷出所接收到的前述反射圖像為不
正常圖像,而阻擋回報,以避免該光學滑鼠1所對應呈現的軌跡包含抬起時所接收到的前述反射圖像。
Please refer to FIG. 3 , when the
在一實施例中,當該光學滑鼠1離開該工作表面50時,進一步判斷該光學滑鼠是否回到該工作表面50,若是,則該控制單元30延遲一特定時間後再切換回該第一幀率控制光訊號的發射及接收,在該段延遲的特定時間內,仍維持以該第二幀率控制光訊號的發射及接收。如前所述,在該光學滑鼠1抬起狀態下以較高的幀率來獲得較多反射圖像,有助於阻擋不正常使用狀況的回報,因此在該光學滑鼠1剛由抬起狀態而回到該工作表面50時,仍維持一小段時間的高幀率也有助於在狀態切換下所獲取的反射圖像數量,以便該控制單元30在抬起和回到該工作表面50的狀態轉換下,能夠有較多的前述反射圖像來輔助判斷。
In one embodiment, when the
在一實施例中,當該光學滑鼠1在該工作表面50上操作時,該控制單元30進一步判斷該光學滑鼠1是否具有位移,若判斷該光學滑鼠1在該工作表面50上具有位移或在一預設時間內位移大於一門檻植,則該控制單元30維持以該第一幀率控制光訊號的發射及接收,若判斷該光學滑鼠1係靜止在該工作表面50上或在該預設時間內位移小於一門檻值,則該控制單元30改以一第三幀率控制光訊號的發射及接收,其中該第三幀率小於該第一幀率,使得該光學滑鼠1在靜止或趨近於靜止的狀態下,基於判斷移動軌跡的需求量較低,故以較小的幀率來控制光訊號的發射及接收,來節省該光學滑鼠1在此狀態下的能耗。
In one embodiment, when the
在一實施例中,該第一幀率係選自一第一範圍,該第二幀率係選自一第二範圍,該第三幀率係選自一第三範圍。在一實施例中,該第一範圍 為9600Hz~15000Hz,該第二範圍係為14000Hz~25000Hz,該第三範圍為0~9600Hz。 In one embodiment, the first frame rate is selected from a first range, the second frame rate is selected from a second range, and the third frame rate is selected from a third range. In one embodiment, the first range is 9600Hz~15000Hz, the second range is 14000Hz~25000Hz, and the third range is 0~9600Hz.
在一實施例中,可藉由控制所發射之光訊號的大小來加以判斷該光學滑鼠是否抬起。請參閱圖2及圖6所示,該控制單元30係控制該光源20執行至少一發光週期T,在各所述發光週期T中,該光源20發射多個第一光訊號S11及至少一第二光訊號S21,其中發射該第一光訊號S11的時間長度為一第一時間t11,且該第一光訊號S11具有一第一光通量Φ11,發射該第二光訊號S21的時間長度為一第二時間t21,且該第二光訊號S21具有一第二光通量Φ21。又,該第一光訊號S11的大小與該第二光訊號S21的大小不同,在一實施例中,該大小係指光訊號的光能,亦即光訊號的光通量與發射時間的乘積,該第一光訊號S11的光能等於該第一時間t11與該第一光通量Φ11的乘積,該第二光訊號S21的光能等於該第二時間t21與該第二光通量Φ21的乘積。請參閱如圖6所示之實施例,該第一光通量Φ11等於該第二光通量Φ21,但由於該第一時間t11大於該第二時間t21,故該第一時間t11與該第一光通量Φ11的乘積大於該第二時間t21與第二光通量Φ21的乘積,因此該第一光訊號S11的大小與該第二光訊號S21的大小不同。請參閱如圖7所示之實施例,該第一時間t12等於該第二時間t22,但該第一光通量Φ12大於該第二光通量Φ22,故該第一時間t12與該第一光通量Φ12的乘積大於該第二時間t22與第二光通量Φ22的乘積,因此該第一光訊號S12的大小與該第二光訊號S22的大小不同。在其餘實施例中,亦可使該第一時間不同於該第二時間、該第一光通量不同於該第二光通量,但使該第一時間與該第一光通量的乘積大於或小於該第二時間與該第二光通量的乘積,即可符合該第一光訊號的大小與該第二光訊號的大小不同。
In one embodiment, whether the optical mouse is lifted can be determined by controlling the magnitude of the emitted light signal. Please refer to FIG. 2 and FIG. 6, the
進一步而言,在各所述發光週期T中,發射該第一光訊號及第二光訊號的次數及方式可有不同實施態樣。請參閱如圖6所示之實施例,係發射多次第一光訊號S11及多次第二光訊號S21(如圖6所示為兩次第一光訊號S11及兩次第二光訊號S21),且所述第一光訊號S11與所述第二光訊號S12係交替發射。請參閱如圖8所示之實施例,係發射多次第一光訊號S11及一次第二光訊號S21(如圖8所示為三次第一光訊號S11及一次第二光訊號S21)。請參閱如圖9所示之實施例,係發射多次第二光訊號S21及一次第一光訊號S11(如圖9所示為一次第一光訊號S11及三次第二光訊號S21)。 Furthermore, in each of the light-emitting periods T, the times and ways of emitting the first light signal and the second light signal may have different implementations. Please refer to the embodiment shown in Figure 6, which is to emit multiple first optical signals S11 and multiple second optical signals S21 (as shown in Figure 6 , two first optical signals S11 and two second optical signals light signal S 21 ), and the first light signal S 11 and the second light signal S 12 are alternately emitted. Please refer to the embodiment shown in Figure 8, which is to emit multiple first light signals S11 and one second light signal S21 (as shown in Figure 8 , three first light signals S11 and one second light signal S 21 ). Please refer to the embodiment shown in Figure 9, which is to emit multiple second light signals S 21 and one first light signal S 11 (as shown in Figure 9, one first light signal S 11 and three second light signals S 21 ).
請參閱圖1及圖10所示,當該光學滑鼠1正常放置於該工作表面50使用,且該光源20發射該第一光訊號S11時,對應的反射光由該感測單元40接收並產生一第一反射圖像I11;當該光源20發射該第二光訊號S21時,對應的反射光由該感測單元40接收並產生一第二反射圖像I21。由於該第一光訊號S11與該第二光訊號S21具有不同大小,故當照射到該工作表面50時,該第一光訊號S11與該第二光訊號S21所對應的反射光也會有不同大小,則所產生之該第一反射圖像I11與該第二反射圖像I21將具有不同的照度參考值。以圖10為例,由於該第一光訊號S11之大小大於該第二光訊號S21之大小,故預設所對應產生之第一反射圖像I11之第一照度參考值將大於第二反射圖像I21之第二照度參考值。此時,將該第一反射圖像I11之第一照度參考值與該第二反射圖像I21之第二照度參考值加以運算後獲得一比對結果,該比對結果倘若符合第一反射圖像I11之第一照度參考值大於第二反射圖像I21之第二照度參考值的結果,則可判斷該光學滑鼠1係置放於該工作表面50上,而非抬起狀態。縱使該工作表面50的對比度較大或該工作表面50的紋理特徵不明顯,但由於該第一光訊號S11與該第二光訊號S21的大小已有
所不同,故該光學滑鼠1所擷取到的反射圖像之照度參考值仍會受到該第一光訊號S11與該第二光訊號S21的大小影響,來產生符合於預設結果的差異。
Please refer to FIG. 1 and FIG. 10 , when the
請參閱圖11及圖12所示,當該光學滑鼠1被抬起而並非貼附於該工作表面50時,因為該第一光訊號S11與該第二光訊號S21已發散且未形成反射光,使得該第一光訊號S11與該第二光訊號S21的大小不影響該第一反射圖像I12及該第二反射圖像I22的照度參考值,故無論是對應該第一光訊號S11所產生的該第一反射圖像I12、或對應該第二光訊號S21所產生該第二反射圖像I22,照度參考值僅對應當下該工作表面50上或空中對應位置的亮度。因此,此時將該第一反射圖像I11之第一照度參考值該第二反射圖像I21之第二照度參考值加以運算後所獲得之比對結果,其二者會得到相近之照度參考值,無法符合該第一反射圖像I11之第一照度參考值大於第二反射圖像I21之第二照度參考值的結果,故可判斷該光學滑鼠1當下係離開該工作表面50,呈抬起狀態。
Please refer to FIG. 11 and FIG. 12 , when the
所述照度參考值係可指與所述反射圖像中所有或部份像素之照度有關的運算數值,舉例而言,若圖10中所示之第一反射圖像I11中各像素的照度如圖13所示、若圖10中所示之第二反射圖像I11中各像素的照度如圖14所示、若圖12中所示之第一反射圖像I12中各像素的照度如圖15所示、若圖12中所示之第二反射圖像I22中各像素的照度如圖16所示,圖13至圖16中所示之照度僅為例示說明用,而非用以限制本發明。 The illuminance reference value may refer to an operational value related to the illuminance of all or some pixels in the reflected image, for example, if the illuminance of each pixel in the first reflected image I11 shown in FIG. 10 As shown in Figure 13, if the illuminance of each pixel in the second reflected image I11 shown in Figure 10 is shown in Figure 14, if the illuminance of each pixel in the first reflected image I12 shown in Figure 12 As shown in FIG. 15, if the illuminance of each pixel in the second reflection image I22 shown in FIG. 12 is as shown in FIG. 16, the illuminance shown in FIGS. to limit the invention.
在一實施例中,所述照度參考值為該反射圖像之所有像素的照度總和,該比對結果可為所述第一反射圖像之所有像素的照度總和與所述第二反射圖像之所有像素的照度總和的差值或比值,若判斷該比對結果小於一門檻值,則判斷該光學滑鼠為抬起狀態。假設差值的門檻值為5000、比值的門檻值
為5,以光學滑鼠1於圖1及圖10狀態下所獲得反射圖像來看,該第一反射圖像I11之所有像素的的照度總和為60649(如圖13所示)、該第二反射圖像I21之所有像素的的照度總和為6164(如圖14所示),則其差值為54485,其比值為9.84,顯示兩者的照度總和差異相當大,其比對結果大於所預設的門檻值,則判斷光學滑鼠1並非抬起狀態;以光學滑鼠1於圖11及圖12狀態下所獲得反射圖像來看,該第一反射圖像I12之所有像素的的照度總和為17844(如圖15所示)、該第二反射圖像I22之所有像素的的照度總和為16942(如圖16所示),則其差值為902,其比值為1.05,顯示兩者的照度總和差異極微,其比對結果小於所預設的門檻值,則判斷光學滑鼠1為抬起狀態。
In one embodiment, the illuminance reference value is the sum of the illuminances of all the pixels of the reflected image, and the comparison result can be the sum of the illuminances of all the pixels of the first reflected image and the sum of the illuminances of all the pixels of the second reflected image. If the difference or ratio of the sum of the illuminances of all pixels is judged to be less than a threshold value, it is judged that the optical mouse is in a raised state. Assuming that the threshold value of the difference is 5000 and the threshold value of the ratio is 5, from the reflection images obtained by the
在一實施例中,所述照度參考值為該反射圖像之所有像素的照度平均值,該比對結果可為所述第一反射圖像之所有像素的照度總和與所述第二反射圖像之所有像素的照度平均值的差值或比值,若判斷該比對結果小於一門檻值,則判斷該光學滑鼠為抬起狀態。假設差值的門檻值為500、比值的門檻值為2,以光學滑鼠1於圖1及圖10狀態下所獲得反射圖像來看,該第一反射圖像I11之所有像素的照度平均值為6738.78(如圖13所示)、該第二反射圖像I21之所有像素的照度平均值為684.89(如圖14所示),則其差值為6053.89,其比值為9.84,顯示兩者的照度平均值差異相當大,其比對結果大於所預設的門檻值,則判斷光學滑鼠1並非抬起狀態;以光學滑鼠1於圖11及圖12狀態下所獲得反射圖像來看,該第一反射圖像I12之所有像素的照度平均值為1982.67(如圖15所示)、該第二反射圖像I22之所有像素的照度平均值為1882.44(如圖16所示),則其差值為100.23,其比值為1.05,顯示兩者的照度平均值差異極微,其比對結果小於所預設的門檻值,則判斷光學滑鼠1為抬起狀態。 In one embodiment, the illuminance reference value is the average illuminance value of all pixels in the reflected image, and the comparison result can be the sum of the illuminances of all pixels in the first reflected image and the second reflected image If the difference or ratio of the average illuminance values of all pixels in the image is judged to be less than a threshold value, the optical mouse is judged to be in a raised state. Assuming that the threshold value of the difference is 500 and the threshold value of the ratio is 2, the illuminance of all pixels of the first reflected image I 11 can be seen from the reflection images obtained by the optical mouse 1 in the state shown in Figure 1 and Figure 10 The average value is 6738.78 (as shown in Figure 13), the illuminance average value of all pixels of the second reflection image I21 is 684.89 (as shown in Figure 14), then its difference is 6053.89, and its ratio is 9.84, showing The difference between the average illuminance of the two is quite large, and the comparison result is greater than the preset threshold value, then it is judged that the optical mouse 1 is not in the lifted state; the reflection diagram obtained by the optical mouse 1 in the state shown in Figure 11 and Figure 12 From the perspective of the image, the average illuminance of all pixels in the first reflected image I12 is 1982.67 (as shown in Figure 15), and the average illuminance of all pixels in the second reflected image I22 is 1882.44 (as shown in Figure 16 As shown), the difference is 100.23, and the ratio is 1.05, which shows that the difference between the average illuminance values of the two is very small, and the comparison result is smaller than the preset threshold value, and the optical mouse 1 is judged to be in the raised state.
在一實施例中,所述照度參考值可為該反射圖像之部份像素的照度總和或照度平均值,而該比對結果亦可隨之調整。 In one embodiment, the illuminance reference value may be the sum or average illuminance of some pixels of the reflection image, and the comparison result may be adjusted accordingly.
在一實施例中,所述比對結果可比對相鄰時序所發射之第一光訊號及第二光訊號、或比對同一週期中的任一第一光訊號與任一第二光訊號、或比對不同週期中的第一光訊號與第二光訊號。 In one embodiment, the comparison result can be compared with the first optical signal and the second optical signal emitted in adjacent time sequences, or compared with any first optical signal and any second optical signal in the same period, Or compare the first light signal and the second light signal in different periods.
以上所述僅是本發明的實施例而已,並非對本發明做任何形式上的限制,雖然本發明已以實施例揭露如上,然而並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明技術方案的範圍內,當可利用上述揭示的技術內容作出些許更動或修飾為等同變化的等效實施例,但凡是未脫離本發明技術方案的內容,依據本發明的技術實質對以上實施例所作的任何簡單修改、等同變化與修飾,均仍屬於本發明技術方案的範圍內。 The above description is only an embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as above with the embodiment, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field, Within the scope of not departing from the technical solution of the present invention, when the technical content disclosed above can be used to make some changes or be modified into equivalent embodiments with equivalent changes, but all the content that does not depart from the technical solution of the present invention, according to the technical essence of the present invention Any simple modifications, equivalent changes and modifications made to the above embodiments still fall within the scope of the technical solutions of the present invention.
1:光學滑鼠 50:工作表面 1: Optical mouse 50: work surface
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110761370.7A CN115237267A (en) | 2021-04-22 | 2021-07-06 | Optical mouse and control method thereof |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US202163177964P | 2021-04-22 | 2021-04-22 | |
US63/177,964 | 2021-04-22 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202242617A TW202242617A (en) | 2022-11-01 |
TWI786682B true TWI786682B (en) | 2022-12-11 |
Family
ID=85793272
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110121768A TWI786682B (en) | 2021-04-22 | 2021-06-15 | Optical mouse and its control method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI786682B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100557559C (en) * | 2004-12-20 | 2009-11-04 | 安华高科技Ecbuip(新加坡)私人有限公司 | Light source based on surface quality control optical pointing device |
US20100060567A1 (en) * | 2008-09-05 | 2010-03-11 | Microsoft Corporation | Controlling device operation relative to a surface |
US8350812B2 (en) * | 1995-10-06 | 2013-01-08 | Pixart Imaging Inc. | Method and arrangement for tracking movement relative to a surface |
CN103105948A (en) * | 2011-11-14 | 2013-05-15 | 罗技欧洲公司 | Method of operating a multi-zone input device |
US20200319724A1 (en) * | 2017-07-26 | 2020-10-08 | Logitech Europe S.A. | Dual-mode optical input device |
-
2021
- 2021-06-15 TW TW110121768A patent/TWI786682B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8350812B2 (en) * | 1995-10-06 | 2013-01-08 | Pixart Imaging Inc. | Method and arrangement for tracking movement relative to a surface |
CN100557559C (en) * | 2004-12-20 | 2009-11-04 | 安华高科技Ecbuip(新加坡)私人有限公司 | Light source based on surface quality control optical pointing device |
US20100060567A1 (en) * | 2008-09-05 | 2010-03-11 | Microsoft Corporation | Controlling device operation relative to a surface |
CN103105948A (en) * | 2011-11-14 | 2013-05-15 | 罗技欧洲公司 | Method of operating a multi-zone input device |
US20200319724A1 (en) * | 2017-07-26 | 2020-10-08 | Logitech Europe S.A. | Dual-mode optical input device |
Also Published As
Publication number | Publication date |
---|---|
TW202242617A (en) | 2022-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015001770A1 (en) | Motion sensor device having plurality of light sources | |
US11808853B2 (en) | Tracking device with improved work surface adaptability | |
TWI520032B (en) | Optical navigation system with object detection | |
US20180157351A1 (en) | Display Device having Light Receiving Application | |
JPH10222285A (en) | Image extracting device | |
TW201633077A (en) | Image processing method capable of detecting noise and related navigation device | |
US20110147102A1 (en) | Object detection device | |
TWI511008B (en) | Touch detection method and optical touch system thereof | |
TWI786682B (en) | Optical mouse and its control method | |
TW201027407A (en) | Light compensation method | |
US8537109B2 (en) | System and method for automatically adjusting light source drive current during optical navigation operation | |
JP3625349B2 (en) | Image input apparatus and image input method | |
TWI522870B (en) | Click event detection device | |
TWI780623B (en) | Optical mouse and its lifted state determining method | |
CN108279811B (en) | Optical navigation system and detection method thereof | |
CN115237267A (en) | Optical mouse and control method thereof | |
JP6631281B2 (en) | Interactive projector and its auto-calibration execution method | |
TWI780624B (en) | Optical mouse and light source control method of the optical mouse for an application in a moving path detection | |
JP6538871B2 (en) | Operation detection apparatus, operation detection method, and video display system | |
JP3785148B2 (en) | Image extraction device | |
JP2015088252A (en) | Illumination system and illumination control device | |
WO2019171827A1 (en) | Information processing device, information processing method, and program | |
KR20120121863A (en) | Optical navigation system with object detection | |
TW201715207A (en) | Work mode control method and optical encoder using the same | |
CN115632646A (en) | Switch assembly, electronic device and switch state detection method |