200813703 九、發明說明: 【發明所屬之技術領域】 用狀態來蚁光源是砰度敲最低_量之技術。 【先前技術】200813703 IX. Description of the invention: [Technical field to which the invention pertains] The state of the ant source is the technique of tweeting the lowest amount. [Prior Art]
隨著每天各類資訊的快速變遷與電腦科技越來越發達所賜,現代人人 手一台筆記型電腦已空見慣,但筆記型電腦電源供應時間的長短一直是大 家所關心的問題’而料關邊設備勢必增加制者_電量所帶來的困 擾0 在眾多的财設射,光輯鼠的耗電量在射算是較高的,而目前 所有麵的光學賴又分為有線、無線、有多魏鍵或單鍵等多樣化,耗 電量也各不_,相_特點為,當光學滑鼠時,其内部的⑽光源 並不會因使用者暫*細而賊,而是_消耗供電設備的電源,這樣無 疑是對電源本身一種無謂的浪費。 【發明目的】 隨著每天各類資訊的快速變遷與電腦科技越來越發達所賜,現代人人 手一台筆記型電腦以司空見慣’但筆記型電腦電源供應的問題—直是個問 題’而眾多的周邊設備勢必增加使用者的用電量所帶來的困擾。 為了因應上述問題,本發明利用光學感測器中的資料存取單元傳 送數值,而中央處理單元負責判斷此傳送數值所代表的滑鼠使用狀態。 200813703 故本發明之-目的,透過滑鼠内部的省電技術,使pc本身的 耗電量降低。 本毛月之另目的由於全球能源過度開發,導致可用資源越 來越短缺’故藉此發明實現節約能源之期望。 本發明之又-目的,透過滑鼠内部的省電技術,使筆記型電腦 之使用時間拉長。 【發明内容】 籲 紐上述目的,本發明所提供的光學滑鼠之省電方法,其包括下 列步驟: ' (1) 在被控制器中寫入一個程式,在滑鼠動作後,這個微控制器會一直 自動去偵測光感應器中對於桌面感度的值; (2) 當滑鼠置於某一桌面時,光線經過圓形透鏡彙聚到光感測器,只要 滑鼠一移動’光感測器内寄存器的值就會發生改變; (3 )寄存器把偵測到的值傳給微控制器,微控制器會將傳送的值與自身 ® Θ部賴設值概較; (4) 若比較得到傳送值小於或等於預設值,判斷出滑鼠已被提起,微控 制器自動將LED光源強度減至最低耗電量; (5) 若比較得到傳送值大於預設值,判斷出滑鼠未被提起,微控制器繼 續讓滑鼠正常工作。 【實施方式】 請參考圖一及圖二,我們想到在微控制器112中寫入一個程式,在滑鼠 6 ⑧ 200813703 動作後,這個微控制器112能夠—直自動去躺提起後光學感測器n中對 於桌面2感度的值,並將這個值與其自身程式中設定的值相比較,從而決 疋疋否將光源4強度減至最低耗電量。 我們以avago的光學感測器u為例。a零的光學感測器心 -111可以用來測里光學感測器u能够侧到的位移特徵的數值。當滑鼠 置於某-桌面2時,光源4經過圓形透鏡彙聚到光學感測器u,由於即使 •疋很小的位移也能夠引起寄存ϋ 111内部發生變化,只要滑鼠一移動,寄 肇她11的值就會發生改變。寄加u 值為255,如果滑鼠離開桌 面2,光源4不能彙聚到光學感測器u,寄存器⑴的值就為〇。聚焦點 對於寄存器111來說很重要,它能夠影響寄存器⑴的值。將滑鼠提起後, 光學感測器11的寄存器m會傳給微控制器112 一個值,微控制器112將 這個值與自身程式中設定的值進行比較,並把比較結果作為判斷滑鼠是否 離開桌面2的依據。如果寄存器、11H專回的值小於或等於微控制器⑴自 輕式中設定的值,微控· 112就會判斷出滑鼠已被提起,從而自動將 光源4強度減至最低耗電量。 請參考圖三,具體過程為:首先,滑鼠產生某個位移;其次,光學感 測器11的寄存裔in得到這個位移產生的數值(假設為X);接著,寄存 — 器U1把偵測到的值X傳給微控制器112;然後,微控制器112將數值义與 自身的值(假設為10)相比較;最後,若比較得到χ小於或等於1〇,判斷 出滑鼠已被提起,微控制器112自動將光源4強度減至最低耗電量。若比 較得到χ大於10,判斷出滑鼠未被提起,正常工作。 200813703 【圖式簡單說明】 圖一為本發明光學滑鼠之省電方法的第一動作原理圖 圖二為本發明光學滑鼠之省電方法的第二動作原理圖 圖三為本發明光學滑鼠之省電方法的動作流程圖 【主要元件符號說明】With the rapid changes in various types of information and the increasing development of computer technology every day, modern people have a laptop computer, but the length of the notebook computer power supply has always been a concern. The material-sealing equipment is bound to increase the _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Wireless, with multiple Wei keys or single keys, and so on, the power consumption is also different. The characteristic is that when the optical mouse is used, the internal (10) light source will not be thief due to the user's temporary It is a power supply that consumes power supply equipment, which is undoubtedly a waste of power supply itself. [Objectives of the Invention] With the rapid changes in various types of information every day and the increasing development of computer technology, modern people have a laptop computer that is commonplace, but the problem of power supply for notebook computers is a problem. Peripheral devices are bound to increase the user's power consumption. In order to cope with the above problems, the present invention utilizes a data access unit in an optical sensor to transmit a value, and the central processing unit is responsible for determining the state of use of the mouse represented by the transmitted value. 200813703 Therefore, the purpose of the present invention is to reduce the power consumption of the pc itself through the power saving technology inside the mouse. The purpose of this month is due to the over-exploitation of global energy sources, resulting in an ever-increasing shortage of available resources. The purpose of the present invention is to extend the use time of the notebook computer through the power saving technology inside the mouse. SUMMARY OF THE INVENTION The above objective, the optical mouse power saving method provided by the present invention comprises the following steps: ' (1) writing a program in the controller, after the mouse action, the micro control The device will automatically detect the value of the sensitivity of the desktop in the light sensor; (2) When the mouse is placed on a certain desktop, the light converges through the circular lens to the light sensor, as long as the mouse moves 'light' The value of the register in the detector will change; (3) The register will pass the detected value to the microcontroller, and the microcontroller will compare the transmitted value with its own value. (4) The comparison obtains that the transmitted value is less than or equal to the preset value, determines that the mouse has been lifted, and the microcontroller automatically reduces the intensity of the LED light source to the minimum power consumption; (5) If the comparison is that the transmitted value is greater than the preset value, the slip is judged to be slippery. The mouse is not lifted and the microcontroller continues to let the mouse work properly. [Embodiment] Referring to FIG. 1 and FIG. 2, we can write a program written in the microcontroller 112. After the mouse 6 8 200813703 is actuated, the microcontroller 112 can directly and automatically lie back and lift the optical sensing. The value of the sensitivity of the desktop 2 to the desktop 2, and compares this value with the value set in its own program, thereby reducing the intensity of the light source 4 to the minimum power consumption. Let's take avago's optical sensor u as an example. A zero optical sensor core -111 can be used to measure the value of the displacement characteristic that the optical sensor u can face. When the mouse is placed on a certain tabletop 2, the light source 4 is concentrated by the circular lens to the optical sensor u, because even a small displacement can cause a change in the interior of the storage port 111, as long as the mouse moves, The value of her 11 will change. The value of u is 255. If the mouse leaves the table 2, the light source 4 cannot be concentrated to the optical sensor u, and the value of the register (1) is 〇. The focus point is important for register 111, which can affect the value of register (1). After the mouse is lifted, the register m of the optical sensor 11 is transmitted to the microcontroller 112 for a value, and the microcontroller 112 compares this value with the value set in its own program, and compares the result as a judgment of the mouse. The basis for leaving the desktop 2. If the value of the register and 11H is less than or equal to the value set by the microcontroller (1) from the light mode, the micro-control 112 will judge that the mouse has been lifted, thus automatically reducing the intensity of the light source 4 to the minimum power consumption. Please refer to FIG. 3, the specific process is: first, the mouse generates a certain displacement; secondly, the register of the optical sensor 11 obtains the value generated by the displacement (assumed to be X); then, the register U1 detects The value X is passed to the microcontroller 112; then, the microcontroller 112 compares the value of the value with its own value (assumed to be 10); finally, if the comparison yields χ less than or equal to 1〇, it is determined that the mouse has been When raised, the microcontroller 112 automatically reduces the intensity of the light source 4 to the minimum power consumption. If the comparison is greater than 10, it is judged that the mouse has not been lifted and is working normally. FIG. 1 is a first schematic diagram of the power saving method of the optical mouse of the present invention. FIG. 2 is a second schematic diagram of the power saving method of the optical mouse of the present invention. FIG. Action flow chart of mouse power saving method [main component symbol description]
1 PCB1 PCB
11光學感測器 111寄存器 112微控制器 12 LED 2 桌面 3 支撐架 4 光源11 Optical Sensors 111 Registers 112 Microcontrollers 12 LED 2 Desktop 3 Supports 4 Light Sources