201112060 六、發明說明: 【發明所屬之技術領域】 本發明關於一種具調整提起距離(Lift Distance)之滑鼠裝置及方法, 特指-種可罐俩之祕表面環境變化資訊,來難珊鼠提起之距離 是否在作動誤差容許範圍内的滑鼠裝置及方法。 【先前技術】 常見的光學滑鼠裝置(或雷射或雷達波)之作用原理,主要利用該滑 鼠在物件表面移動過程中’對該表面(如:桌面)連續祿取其位移變化資訊, 其巾’連__該環境變化資訊中細存在有相_難,透過對比這 些特徵點’判斷出該滑鼠之移動方向與實際移動距離,而後,將這個分析 結果轉換爲座標之偏移量,即可實現控制電腦游標移動的目的。 如第1圖所示,其以光學滑鼠裝置為例作說明,前述光學滑鼠至少包 括有一感測模組100及一微處理器2〇〇 ; 其中,該感測模組100包含有光學元件101及感測器1〇2,該光學元件 101包含有發光源’該發光源(如發光二極體)以一定之入射角射向移動之物 件表面’使該表Φ產生較為明顯的賊,同時,該發統發射的光線並折 射至該滑鼠底部的表面;其中,該感測器102係將發光源投射、投射後之 ♦表面進行連續性的圖像擷取’再對每張圖像之特徵進行前後比對分析,進 而判斷出該滑鼠之X軸及γ軸移動方向及實際位移量; 其中,該微處理器200係負貴指揮、協調該滑鼠中各部件的協調工作, 同時也承擔與電滕主機通訊連接的職能,實現控制電麟標移動定位的目 的。 而決定光學滑鼠作動誤差容許範圍之關鍵在於··該感測模組1〇〇祿取之 圖像疋否夠清晰’而各圖像清晰與否,取決在放大率設計、焦距及解析度、 及光學7G件101之光源強度、波長等,甚至於物件表面之性質(如:表面反 射率、顏色以及粗錄度等);一般來說,為了令光學滑鼠能普遍地使用在各 種性質之物件表面’該感測模組⑽作動誤差容許範圍多半會調整為較寬 201112060 鬆(易產生反應),如此可使滑鼠不論是在光滑的或是粗链的表面上皆鉋作 動,但因此卻容易造成缺失,如:當滑鼠作動時,因移動之空間不足或其乃 圍遭到異物阻礙而無法順利移動時,使用者多半會直覺性地將滑鼠往上提 起並往相反方向放置後,再朝欲移動之方向位移,然而,由於該感測模組 100之作動誤差容許範圍較為寬鬆時,則導致該滑鼠被提起時,其感測模組 100亦對微弱、錯誤的光源訊號同樣產生反應,而使該微處理器咖持續對 電腦主機發出讓游標產生相對應的誤動作,導致使用者一時之間無法辨識 游標所在位置,產生電腦玩家常稱的游標迷航記。 為此,如何依據不同物件表面性質設定該滑鼠之提起距離是否在作動 容許範圍内者,而防止游標因該滑鼠被提起造成無法預期的誤動作,乃為 本發明所鑽研之課題。 【發明内容】 本發明之主要目的在提供一種針對實際所在之物件表面環境變化資 Λ,來調整滑鼠最佳提起距離之作動誤差容許範圍。 本發明之另一目的在於提供一種解決滑鼠因作動時由於移動空間不足 或其周圍遭狀物_,導致-時之間餘_雜所在位置,而產生游 標誤判。 本發明為達到上述目的所採用之裝置至少包含有: 一本體,其呈一殼體狀; 一感測模組,其設於該本體内,並擷取該本體底部外之環境變化資訊, 並分析該本體移動方向及位移量;以及, -取樣控制模組’至少包含有觸發件,其係啟動該感測模組對該本體 底部外之表面擷取環境變化資訊;以及, -微處理器’其係負責指揮、協調該滑鼠中各部件的協調工作,同時 也承擔與電腦域if赠接的職能,實現控制電麟獅蚊位的目的。 該感測模組是包括:一個發射源組件,設於所述本體内部,並對所述 本體底部外的表面產生及投射發射源;以及—個傳感^,用以對所述發射 201112060 源組件所投射的發射源於本體底部外表面進行連續擷取多比環境變化訊 息’並分析出本體的移動方向及其實際位移量。 該傳感器包含:一個位移感應器,將該傳感器所擷取之該發射源組件 所投射本體底部外的表面環境變化訊息進行收集及轉換;一個定位數位訊 號處理器:負責比對分析該傳感器所擷取的環境變化訊息,並判斷出鼠標 本體的移動方向及實際位移量。 本發明為達到上述目的所採用之方法為: 使用時,先藉由該本體上之觸發件啟動該感測模組進行擷取所接觸底 部外之環境變化資訊’並加以運算、再經儲存作為比對基值;以及 當滑鼠作動時’該感測模組將不斷偵測移動物件表面之環境變化資訊 作為檢測值,隨時與該比對基值進行比對,進而判斷該滑鼠之提起距離是 否在作動誤差容許範圍内;如是,則該微處理器持續發送該滑鼠之位移資 訊;如否,則該微處理器即停止發送該滑鼠之位移資訊。 【實施方式】 有關本發明為上述之目的,所採用之技術手段及其餘功效,茲舉較佳 實施例’並配合圖示加以說明如下: 本發明以發光二極體為發射源組件的光學滑鼠為例來說明,但,本發 不侷限在轉光二極體絲紐組件之光學賴,亦可細在以雷射 光發射器或是紅外線發射器或雷達波作為發射源組件的滑鼠上。 請參閱第2圖,本發明在提供一種具調整提起距離之滑鼠裝置,該滑 鼠具有一本體10,該本體10呈一殼體狀,且該本體1〇至少包括有一感測 模組20、一取樣控制模組30以及一微處理器40 ;其中, 一感測模組20,其設於該本體10内,用以偵測該本體1〇底部外物件 表面之移動向量及距離;該感測模組20進一步包含有:一發射源組件2〇1 及感測器202 ;其中,該發射源組件201係朝向該本體1〇底部外之物件表 面產生及投射光源;其中,該感測器2〇2包含有位移感應器(於本實施例 為CMOS,惟熟悉該項技藝者仍可以其他元件實施)及定位數位訊號處理器 201112060 (DSP) 5該傳感㈣2主要是對於該發射源轉2(π所髓之物件表面進行 娜環境變化資訊,進而判斷出該滑鼠本體1〇之移動的方向及實際位移量; -取樣控制模·组30,至少包含有觸發件3〇1 (於本實施例係為一控制 按鍵,惟熟悉該項技藝者仍可以其他元件實施),其係啟動該感測模組2〇 對該本體10底部外物件表面擷取環境變化資訊,其所擷取環境變化資訊之 取樣時間為小於5秒(<5咖)或大於5秒(>5sec),並經由該感測器2〇2 所感測之環境變化資訊加以運算,並經館存後作為比對基值; -微處理器40 ’其係負責指揮、協調該滑鼠中各部件的協調工作,同 時也承擔與電齡機軌連接的職能,實職㈣腦游標移動餘的目的。 請參閱第3圖所示,本發明之實行調整該滑鼠提起之距離是否在作動 容許範圍内之方法係透過上述裝置完成,其主要方法包括有: 步驟1.使用時’先藉由該觸發件3〇1啟動該感測模組2〇掏取所接觸 底部外之表面_變化資訊,並純運算、績,_存作為比對基 值; 步驟2.當滑鼠作動時,該感測模組2〇將不斷偵測物件表面之環境變 化資訊,以作為檢測值,隨時與該比對基值進行比對,進而判斷該滑鼠之 提起距離是否在作動誤差容許範圍内; 步驟3.如是,該感測模組2〇將繼續進行偵測物件表面之環境變化資 訊,隨時與該比對基值進行比對,並重複進行步驟2 ; 步驟4.如否,則該微處理器即停止發送該滑鼠之位移資訊,並重複進 行步驟2。 以上所述之環境變化資訊係包括有該發射源緻件之放大率設計、焦 距、解析度、及強度、波長、光圈、快門與影像品質等,甚至於物件表面 之性質(如:表面反射率、顏色以及粗糙度等); 而上述之比對基值係由擷取物件表面之環境變化資訊經運算分析後所 定義出之最佳提起距離之作動誤差容許範圍。 本發明已藉上述較佳具體實施例進行更詳細說明’本發明並不限定於 201112060 上述所舉例之實施例,凡在本發明所揭示之技術思想範圍内,可對該等結 構作各種變化及修飾,該等變化及修飾仍屬本發明之範圍。 【圖式簡單說明】 第1圖為一般滑鼠之結構示意圖。 第2圖為本發明具調整提起距離之滑鼠示意圖。 第3圖為本發明之實行調整該滑鼠提起之距離作動流程圖。 【主要元件符號說明】 本體 10 感測模組 20 發射源組件 201 感測器 202 取樣控制模組 30 觸發件 301 微處理器 40 步驟1〜4201112060 VI. Description of the Invention: [Technical Field] The present invention relates to a mouse device and method with a Lift Distance, which specifically refers to the information on the surface environment of the cans. Whether the lifted distance is within the tolerance range of the driving error and the mouse device and method. [Prior Art] The principle of the common optical mouse device (or laser or radar wave) is mainly to use the mouse to continuously take the displacement change information of the surface (such as the desktop) during the movement of the object surface. The towel's __ __ the environment change information has a phase _ difficult, by comparing these feature points 'determine the mouse's moving direction and the actual moving distance, and then convert this analysis result into coordinates offset , you can control the movement of computer cursors. As shown in FIG. 1 , an optical mouse device is used as an example. The optical mouse includes at least one sensing module 100 and a microprocessor 2 . The sensing module 100 includes optical The component 101 and the sensor 1〇2, the optical component 101 includes a light source (the light source (such as a light-emitting diode) is directed at a certain incident angle toward the surface of the moving object to make the table Φ produce a more obvious thief At the same time, the light emitted by the hair system is refracted to the surface of the bottom of the mouse; wherein the sensor 102 is used to project and project the illuminating source to perform continuous image capture on the surface. The characteristics of the image are analyzed before and after, and then the X-axis and γ-axis movement direction and the actual displacement of the mouse are determined. Among them, the microprocessor 200 is responsible for coordinating and coordinating the coordination of the components in the mouse. At the same time, it also undertakes the function of communication connection with the electric host, and realizes the purpose of controlling the mobile positioning of the mobile phone. The key to determining the allowable range of the optical mouse's actuation error lies in whether the image of the sensing module 1 is clear enough and the images are clear or not, depending on the magnification design, focal length and resolution. And the intensity, wavelength, etc. of the optical 7G piece 101, even the properties of the surface of the object (such as surface reflectance, color, and coarseness); in general, in order to make the optical mouse universally used in various properties The surface of the object's sensing module (10) will be adjusted to a wider range of 201112060 loose (prone to reaction), so that the mouse can be moved on a smooth or thick chain surface, but Therefore, it is easy to cause a defect. For example, when the mouse is moved, the user may intuitively lift the mouse up and go in the opposite direction because the space for moving is insufficient or the obstacle is not blocked by the foreign object. After being placed, it is displaced in the direction to be moved. However, since the allowable range of the error of the sensing module 100 is loose, the sensing module 100 is also weak when the mouse is lifted. The wrong light source signal also reacts, so that the microprocessor continues to send a corresponding malfunction to the computer host, causing the user to be unable to recognize the position of the cursor at a time, and the computer player often calls the cursor voyage . For this reason, how to set the lifting distance of the mouse according to the surface properties of different objects is within the allowable range of the movement, and preventing the cursor from being unpredictable due to the lifting of the mouse is an object of the present invention. SUMMARY OF THE INVENTION The main object of the present invention is to provide an allowable range of actuation error for adjusting the optimal lifting distance of a mouse against the environmental change of the object on which the object is actually located. Another object of the present invention is to provide a method for solving a cursor misjudgment when the mouse is moved due to insufficient movement space or a surrounding object thereof, resulting in a position between the time and time. The device for achieving the above object includes at least: a body in a shell shape; a sensing module disposed in the body and capturing environmental change information outside the bottom of the body, and Analyzing the moving direction and the displacement of the body; and, the sampling control module includes at least a triggering component, which activates the sensing module to extract environmental change information from the surface outside the bottom of the body; and, - the microprocessor 'The department is responsible for directing and coordinating the coordination of the various components of the mouse. At the same time, it also undertakes the function of giving up the connection with the computer domain, and realizes the purpose of controlling the mosquito position of the electric lion. The sensing module includes: a transmitting source component disposed inside the body and generating and projecting a transmitting source to a surface outside the bottom of the body; and a sensing ^ for the transmitting 201112060 source The emission source projected by the component is continuously extracted from the outer surface of the bottom of the body to continuously extract the information of the environmental change and analyze the moving direction of the body and the actual displacement. The sensor comprises: a displacement sensor for collecting and converting surface environmental change information outside the bottom of the projection body of the source component captured by the sensor; and a positioning digital signal processor: responsible for analyzing the sensor Take the environment change message and judge the moving direction and actual displacement of the mouse body. The method used in the present invention to achieve the above object is: when in use, the sensing module is activated by the triggering member on the body to capture the environmental change information outside the contacted bottom and is calculated and stored as Comparing the base value; and when the mouse is activated, the sensing module continuously detects the environmental change information of the surface of the moving object as a detection value, and compares the base value with the comparison value at any time, thereby judging the lifting of the mouse Whether the distance is within the tolerance of the actuation error; if so, the microprocessor continuously transmits the displacement information of the mouse; if not, the microprocessor stops transmitting the displacement information of the mouse. [Embodiment] The present invention is directed to the above-described objects, the technical means and the remaining functions, and the preferred embodiment is described as follows with the accompanying drawings: The present invention uses the light-emitting diode as the optical component of the source assembly. The mouse is taken as an example. However, the present invention is not limited to the optical ray of the light-emitting diode element assembly, and may be finely applied to a mouse with a laser light emitter or an infrared emitter or a radar wave as a source component. Referring to FIG. 2 , the present invention provides a mouse device with an adjustable lifting distance. The mouse has a body 10 , and the body 10 has a casing shape, and the body 1 〇 includes at least one sensing module 20 . a sampling control module 30 and a microprocessor 40; wherein a sensing module 20 is disposed in the body 10 for detecting a movement vector and a distance of a surface of the outer object of the body 1; The sensing module 20 further includes: a transmitting source component 2〇1 and a sensor 202; wherein the emitting source component 201 generates and projects a light source toward an object surface outside the bottom of the body 1; wherein the sensing The device 2〇2 includes a displacement sensor (in this embodiment, CMOS, but those skilled in the art can still implement other components) and a positioning digital signal processor 201112060 (DSP) 5 The sensing (4) 2 is mainly for the transmitting source Turn 2 (the surface of the object of π is subjected to Na environmental change information, and then determine the direction of movement and the actual displacement of the body of the mouse; - the sampling control mode group 30, including at least the trigger member 3〇1 ( In this embodiment, it is a control button However, those skilled in the art can still implement other components), which activates the sensing module 2 to extract environmental change information on the surface of the outer object on the bottom of the body 10, and the sampling time of the environmental change information is less than 5 Second (<5 coffee) or greater than 5 seconds (>5sec), and calculated by the environmental change information sensed by the sensor 2〇2, and stored as a comparison base value after the library; 40 'The department is responsible for directing and coordinating the coordination of the various components of the mouse, and also undertakes the function of connecting with the electric age track. The purpose of the actual (4) brain cursor movement is the same. Please refer to Figure 3, the present invention The method for adjusting whether the distance lifted by the mouse is within the allowable range of the operation is completed by the above device. The main methods include: Step 1. When using, the sensor module 2 is activated by the trigger member 3〇1. Capture the surface _ change information outside the bottom of the contact, and purely calculate, score, _ stored as the base value; Step 2. When the mouse is activated, the sensing module 2 不断 will continuously detect the surface of the object Environmental change information as a test value, Comparing with the comparison base value to determine whether the lifting distance of the mouse is within the allowable error tolerance range; Step 3. If yes, the sensing module 2〇 will continue to detect the environmental change information of the object surface , at any time, compare the base value with the comparison, and repeat step 2; Step 4. If no, the microprocessor stops transmitting the displacement information of the mouse, and repeats step 2. The environment described above The change information includes the magnification design, focal length, resolution, and intensity, wavelength, aperture, shutter and image quality of the source, and even the properties of the surface of the object (eg surface reflectance, color, and roughness). And the base value is the allowable range of the actuation error defined by the optimal lifting distance defined by the environmental change information of the surface of the object. The present invention has been described in more detail by the above-described preferred embodiments. The present invention is not limited to the above-exemplified embodiments of the present invention, and various changes can be made to the structures within the scope of the technical idea disclosed herein. Modifications, such changes and modifications are still within the scope of the invention. [Simple description of the diagram] Figure 1 is a schematic diagram of the structure of a general mouse. Figure 2 is a schematic view of the mouse with the adjustment lifting distance of the present invention. Figure 3 is a flow chart showing the operation of adjusting the distance lifted by the mouse according to the present invention. [Main component symbol description] Main body 10 Sensing module 20 Transmitting source component 201 Sensor 202 Sampling control module 30 Trigger 301 Microprocessor 40 Steps 1 to 4