[go: up one dir, main page]

TWI683243B - Optical mouse and controlling method thereof - Google Patents

Optical mouse and controlling method thereof Download PDF

Info

Publication number
TWI683243B
TWI683243B TW107142107A TW107142107A TWI683243B TW I683243 B TWI683243 B TW I683243B TW 107142107 A TW107142107 A TW 107142107A TW 107142107 A TW107142107 A TW 107142107A TW I683243 B TWI683243 B TW I683243B
Authority
TW
Taiwan
Prior art keywords
optical mouse
mouse
light
color correction
positioning
Prior art date
Application number
TW107142107A
Other languages
Chinese (zh)
Other versions
TW202020632A (en
Inventor
陳瑞麟
蘇鎮港
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW107142107A priority Critical patent/TWI683243B/en
Application granted granted Critical
Publication of TWI683243B publication Critical patent/TWI683243B/en
Publication of TW202020632A publication Critical patent/TW202020632A/en

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

An optical mouse including a light emitting element, a controller and a color sensor is provided. The light emitting element is disposed at a bottom of the optical mouse and configured to emit a positioning light, where the optical mouse detects a reflection of the positioning light to calculate a movement of the optical mouse. The controller is configured to determine whether the optical mouse is operated in a color correction mode, and shut the light emitting element down according to a determination result of determining whether the optical mouse is operated in the color correction mode. The color sensor is disposed at the bottom of the optical mouse, and configured to obtain spectral data for the color correction mode. In addition, a mouse control method of the optical mouse is also provided.

Description

光學滑鼠及其控制方法Optical mouse and its control method

本發明是有關於一種滑鼠,且特別是有關於一種可用以作為校色工具的光學滑鼠及其控制方法。The invention relates to a mouse, and in particular to an optical mouse which can be used as a color correction tool and a control method thereof.

由於顯示器中每一個顯示單元的物理特性,在長時間的使用後顯示器所顯示出來的畫面的顏色會漸漸偏離標準,此時便需要進行顯示器的校色來校正顯示器的色彩偏離。Due to the physical characteristics of each display unit in the display, the color of the screen displayed by the display will gradually deviate from the standard after a long period of use. At this time, the color correction of the display is required to correct the color deviation of the display.

市面上所販售的顯示器校色器大多是透過通用序列匯流排(Universal Serial Bus,USB)來連接一顆裝配有感光元件的校色器,只要搭配應用程式來使顯示器輸出校色用的圖片,由感光元件獲得顯示器的面板資訊後,便能夠針對面板狀況來進行校色。然而,雖然校色過程簡易,但需要額外的高單價硬體來輔助。Most of the monitor color correction devices sold in the market are connected to a color correction device equipped with a photosensitive element through a Universal Serial Bus (USB), as long as it is used with an application to make the display output a color correction picture After obtaining the panel information of the display from the photosensitive element, it can perform color correction according to the panel condition. However, although the color calibration process is simple, it requires additional high unit price hardware to assist.

有鑑於此,本發明實施例提供一種光學滑鼠及其控制方法,能夠將光學滑鼠作為校色工具,降低校色成本且提升便利性。In view of this, embodiments of the present invention provide an optical mouse and a control method thereof, which can use the optical mouse as a color calibration tool, reduce color calibration cost, and improve convenience.

本發明的光學滑鼠包括發光元件、控制器以及色度感測器。發光元件設置於光學滑鼠的底部,並且用以發射定位光,其中光學滑鼠偵測定位光的反射以計算光學滑鼠的移動量。控制器耦接於發光元件,用以決定光學滑鼠是否運作於校色模式,並且根據光學滑鼠是否運作於校色模式的決定結果關閉發光元件。色度感測器設置於光學滑鼠的底部,耦接於控制器,並且用以取得校色模式所需的光譜資料。The optical mouse of the present invention includes a light emitting element, a controller, and a chromaticity sensor. The light-emitting element is arranged at the bottom of the optical mouse and used to emit positioning light, wherein the optical mouse detects the reflection of the positioning light to calculate the movement amount of the optical mouse. The controller is coupled to the light-emitting element to determine whether the optical mouse is operating in the color correction mode, and turns off the light-emitting element according to the decision result of whether the optical mouse is operating in the color correction mode. The chromaticity sensor is disposed at the bottom of the optical mouse, coupled to the controller, and used to obtain the spectral data required for the color correction mode.

在本發明的一實施例中,上述的定位光對應於定位波長,其中控制器根據光譜資料以及定位波長決定光學滑鼠是否運作於校色模式。In an embodiment of the invention, the above positioning light corresponds to the positioning wavelength, and the controller determines whether the optical mouse operates in the color calibration mode according to the spectral data and the positioning wavelength.

在本發明的一實施例中,上述的控制器用以:判斷光譜資料中,對應定位波長的光強度比例;以及根據光強度比例以及比例閥值決定光學滑鼠是否運作於校色模式。In an embodiment of the present invention, the above controller is used to: determine the light intensity ratio corresponding to the positioning wavelength in the spectral data; and determine whether the optical mouse operates in the color calibration mode according to the light intensity ratio and the ratio threshold.

在本發明的一實施例中,上述的光學滑鼠更包括重力感測器。重力感測器耦接於控制器,並且用以取得加速度資料,其中控制器根據加速度資料決定光學滑鼠是否運作於校色模式。In an embodiment of the invention, the above-mentioned optical mouse further includes a gravity sensor. The gravity sensor is coupled to the controller and used to obtain acceleration data. The controller determines whether the optical mouse operates in the color calibration mode according to the acceleration data.

在本發明的一實施例中,上述的光學滑鼠更包括通訊介面。通訊介面耦接於控制器並且用以接收外部訊號,其中控制器根據外部訊號決定光學滑鼠運作於校色模式。In an embodiment of the invention, the above-mentioned optical mouse further includes a communication interface. The communication interface is coupled to the controller and used to receive external signals. The controller determines that the optical mouse operates in the color calibration mode according to the external signals.

本發明實施例的滑鼠控制方法適用於光學滑鼠。光學滑鼠的底部設置有發光元件,其中發光元件用以發射定位光,並且光學滑鼠偵測定位光的反射以計算光學滑鼠的移動量。所述滑鼠控制方法包括以下步驟:決定光學滑鼠是否運作於校色模式;以及在決定光學滑鼠運作於校色模式時關閉光學滑鼠的發光元件。光學滑鼠的底部更設置有色度感測器,用以取得校色模式所需的光譜資料。The mouse control method of the embodiment of the present invention is applicable to an optical mouse. The bottom of the optical mouse is provided with a light emitting element, wherein the light emitting element is used to emit positioning light, and the optical mouse detects the reflection of the positioning light to calculate the movement amount of the optical mouse. The mouse control method includes the following steps: determining whether the optical mouse is operating in the color calibration mode; and turning off the light emitting element of the optical mouse when determining that the optical mouse is operating in the color calibration mode. The bottom of the optical mouse is further provided with a chromaticity sensor for obtaining the spectral data required for the color correction mode.

在本發明的一實施例中,上述的定位光對應於定位波長,並且決定光學滑鼠是否運作於校色模式的步驟包括以下步驟:根據光譜資料以及定位波長決定光學滑鼠是否運作於校色模式。In an embodiment of the invention, the positioning light corresponds to the positioning wavelength, and the step of determining whether the optical mouse is operating in the color calibration mode includes the following steps: determining whether the optical mouse is operating in the color calibration according to the spectral data and the positioning wavelength mode.

在本發明的一實施例中,上述的決定光學滑鼠是否運作於校色模式的步驟更包括以下步驟:判斷光譜資料中,對應定位波長的光強度比例;以及根據光強度比例以及比例閥值決定光學滑鼠是否運作於校色模式。In an embodiment of the invention, the step of determining whether the optical mouse is operating in the color calibration mode further includes the following steps: determining the light intensity ratio corresponding to the positioning wavelength in the spectral data; and according to the light intensity ratio and the proportional threshold Determines whether the optical mouse is operating in the color calibration mode.

在本發明的一實施例中,上述的決定光學滑鼠是否運作於校色模式的步驟包括以下步驟:感測光學滑鼠的姿態;以及根據光學滑鼠的姿態決定光學滑鼠是否運作於校色模式。In an embodiment of the invention, the step of determining whether the optical mouse operates in the color calibration mode includes the following steps: sensing the attitude of the optical mouse; and determining whether the optical mouse operates in the school according to the attitude of the optical mouse Color mode.

在本發明的一實施例中,上述的決定光學滑鼠是否運作於校色模式的步驟包括以下步驟:接收外部訊號;以及根據外部訊號決定光學滑鼠運作於校色模式。In an embodiment of the invention, the step of determining whether the optical mouse operates in the color calibration mode includes the following steps: receiving an external signal; and determining the optical mouse operating in the color calibration mode according to the external signal.

基於上述,本發明實施例所提出的光學滑鼠及其控制方法,在光學滑鼠中設置有色度感測器,色度感測器能夠取得校色模式所需的光譜資料,因此光學滑鼠能夠作為校色工具來使用,便利且節省成本。特別是,光學滑鼠的發光元件在光學滑鼠切換為校色模式時關閉,如此定位用的發光元件不會干擾色度感測器,提高了校色的準確度。Based on the above, the optical mouse and its control method proposed in the embodiments of the present invention are provided with a chromaticity sensor in the optical mouse. The chromaticity sensor can obtain the spectral data required for the color correction mode. Therefore, the optical mouse It can be used as a color calibration tool, which is convenient and cost-saving. In particular, the light emitting element of the optical mouse is turned off when the optical mouse is switched to the color calibration mode, so that the light emitting element for positioning does not interfere with the chromaticity sensor and improves the accuracy of color calibration.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more obvious and understandable, the embodiments are specifically described below in conjunction with the accompanying drawings for detailed description as follows.

圖1繪示本發明一實施例中的光學滑鼠的概要方塊圖。FIG. 1 is a schematic block diagram of an optical mouse in an embodiment of the invention.

請參照圖1,光學滑鼠100包括控制器110、發光元件120以及色度感測器130,其中發光元件120與色度感測器130皆耦接於控制器130。在一些實施例中,光學滑鼠100可以運作於定位模式或校色模式。具體來說,光學滑鼠100在正常使用時是運作於定位模式下,例如是耦接於外部主機(未繪示)並用以對外部主機的顯示器中的游標進行定位。詳細來說,光學滑鼠100會偵測定位光在表面(例如,不透明桌面或滑鼠墊等)上的反射來計算光學滑鼠100在表面上的移動,所屬領域具備通常知識者當可理解光學滑鼠的定義與運作方式,故在本文中不再贅述。另一方面,光學滑鼠100運作於校色模式下例如是耦接於外部主機,並且直立地懸掛於外部主機的顯示器,用以對顯示器進行校色。Please refer to FIG. 1. The optical mouse 100 includes a controller 110, a light emitting element 120 and a chromaticity sensor 130. The light emitting element 120 and the chromaticity sensor 130 are both coupled to the controller 130. In some embodiments, the optical mouse 100 can operate in a positioning mode or a color calibration mode. Specifically, the optical mouse 100 operates in the positioning mode during normal use, for example, it is coupled to an external host (not shown) and used to position the cursor in the display of the external host. In detail, the optical mouse 100 will detect the reflection of the positioning light on the surface (for example, an opaque tabletop or mouse pad, etc.) to calculate the movement of the optical mouse 100 on the surface, and those skilled in the art can understand The definition and operation of the optical mouse will not be repeated in this article. On the other hand, when the optical mouse 100 operates in the color calibration mode, for example, it is coupled to the display of the external host and hung upright from the display of the external host for color calibration of the display.

控制器110用以控制光學滑鼠100中的各個元件。在一些實施例中,控制器100是具有運算能力的硬體裝置,例如可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置或這些裝置的組合。The controller 110 is used to control various components in the optical mouse 100. In some embodiments, the controller 100 is a hardware device with computing capabilities, such as a programmable general-purpose or special-purpose microprocessor (Microprocessor), digital signal processor (DSP), programmable Controller, application specific integrated circuits (ASIC), programmable logic device (Programmable Logic Device, PLD) or other similar devices or a combination of these devices.

發光元件120耦接於控制器110,設置於光學滑鼠100的底部,並且用以發射定位光,且光學滑鼠100相對於表面的移動是根據發光元件120所發出的定位光來決定。換句話說,光學滑鼠100會偵測定位光的反射,來計算光學滑鼠100的移動量。發光元件120可以因光學滑鼠100的類型或設計而不同,並且發光元件120所發出的定位光對應於特定波長範圍,而以下將對應定位光的特定波長範圍稱為定位波長。舉例來說,一些實施例中發光元件120是紅色發光二極體(Light-Emitting Diode,LED),發出第一波長範圍的紅光時,定位波長為第一波長範圍的可見的紅光波長;一些實施例中發光元件120是藍色發光二極體(Light-Emitting Diode,LED),發出第二波長範圍的藍光時,定位波長為第二波長範圍的可見的藍光波長;而一些實施例中發光元件120是紅外光的雷射二極體(Laser Diode),發出第三波長範圍的紅外光時,定位波長第三波長範圍的紅外光的波長。然而,本發明並不在此限制光學滑鼠100中發光元件120所發出的定位光的波長範圍。The light emitting element 120 is coupled to the controller 110, is disposed at the bottom of the optical mouse 100, and is used to emit positioning light, and the movement of the optical mouse 100 relative to the surface is determined according to the positioning light emitted by the light emitting element 120. In other words, the optical mouse 100 detects the reflection of the positioning light to calculate the amount of movement of the optical mouse 100. The light emitting element 120 may be different according to the type or design of the optical mouse 100, and the positioning light emitted by the light emitting element 120 corresponds to a specific wavelength range, and the specific wavelength range corresponding to the positioning light is hereinafter referred to as a positioning wavelength. For example, in some embodiments, the light-emitting element 120 is a red light-emitting diode (Light-Emitting Diode, LED), and when emitting red light in the first wavelength range, the localization wavelength is the visible red light wavelength in the first wavelength range; In some embodiments, the light-emitting element 120 is a blue light-emitting diode (Light-Emitting Diode, LED). When emitting blue light in the second wavelength range, the localization wavelength is the visible blue light wavelength in the second wavelength range; while in some embodiments The light emitting element 120 is a laser diode of infrared light, and when emitting infrared light in the third wavelength range, the wavelength of infrared light in the third wavelength range is located. However, the present invention does not limit the wavelength range of the positioning light emitted by the light emitting element 120 in the optical mouse 100 here.

色度感測器130耦接於控制器110,設置於光學滑鼠100的底部,並且用以取得校色模式所需的光譜資料。在一些實施例中,設置於光學滑鼠100底部的色度感測器130可以取得包括對應多個波長的光強度的光譜資料。在校色模式下,外部主機的應用程式例如在校色對象(例如,顯示器)上顯示校色用圖片,而光學滑鼠100例如透過色度感測器130來接收校色對象的發光以取得光譜資料,而應用程式便能夠根據此光譜資料來進行校色。The chromaticity sensor 130 is coupled to the controller 110, is disposed at the bottom of the optical mouse 100, and is used to obtain spectral data required for the color correction mode. In some embodiments, the chromaticity sensor 130 disposed at the bottom of the optical mouse 100 can obtain spectral data including light intensities corresponding to multiple wavelengths. In the color calibration mode, the application program of the external host displays a color calibration picture on the color calibration object (for example, a display), and the optical mouse 100 receives the light emission of the color calibration object through the chromaticity sensor 130 to obtain Spectral data, and the application can perform color correction based on this spectral data.

值得一提的是,為了避免光學滑鼠100的發光元件120所發出的定位光會干擾色度感測器130,使得色度感測器130所取得的光譜資料不能夠準確反映出校色對象的發光,光學滑鼠100的控制器110會決定光學滑鼠100是運作於定位模式(例如,作為輸入裝置,對顯示器上的游標進行定位等)或是校色模式,並且根據決定結果來關閉發光元件120,例如在光學滑鼠100運作於校色模式時關閉發光元件120,使發光元件120不發出定位光。It is worth mentioning that, in order to prevent the positioning light emitted by the light emitting element 120 of the optical mouse 100 from interfering with the chromaticity sensor 130, the spectral data obtained by the chromaticity sensor 130 cannot accurately reflect the color correction object Light, the controller 110 of the optical mouse 100 determines whether the optical mouse 100 is operating in the positioning mode (for example, as an input device, positioning the cursor on the display, etc.) or the color calibration mode, and is turned off according to the decision result The light emitting element 120, for example, turns off the light emitting element 120 when the optical mouse 100 operates in the color calibration mode, so that the light emitting element 120 does not emit positioning light.

在一些實施例中,色度感測器130所取得的光譜資料能夠用來判斷光學滑鼠100是否運作於校色模式。舉例來說,在光學滑鼠100處於定位模式且正常使用時,色度感測器130所感測到的光大多是發光元件120所發出的定位光。因此,控制器110例如會設定比例閥值,當色度感測器130取得的所有光線的光譜資料中,波長屬於定位波長的光線所佔的光強度比例低於比例閥值時,判定光學滑鼠100是運作於校色模式而非定位模式。In some embodiments, the spectral data obtained by the chromaticity sensor 130 can be used to determine whether the optical mouse 100 is operating in the color calibration mode. For example, when the optical mouse 100 is in the positioning mode and is in normal use, the light sensed by the chromaticity sensor 130 is mostly the positioning light emitted by the light emitting element 120. Therefore, the controller 110 sets a proportional threshold, for example, when the spectral data of all the light obtained by the chromaticity sensor 130, the ratio of the light intensity of the light whose wavelength belongs to the positioning wavelength is lower than the proportional threshold, the optical slip is determined The mouse 100 operates in the color calibration mode rather than the positioning mode.

然而,在許多情況下利用色度感測器130來進行判斷並不足夠。舉例來說,光學滑鼠100的發光元件120可能因閒置或其他原因而發光減弱或關閉,導致色度感測器130無法從光譜資料中正確判讀出光學滑鼠100是否運作於校色模式。However, in many cases, it is not sufficient to use the chromaticity sensor 130 to make a judgment. For example, the light emitting element 120 of the optical mouse 100 may be reduced or turned off due to idleness or other reasons, so that the chromaticity sensor 130 cannot correctly determine whether the optical mouse 100 is operating in the color calibration mode from the spectral data.

基於此,在一些實施例中,除了控制器110、發光元件120以及色度感測器130之外,光學滑鼠100更包括重力感測器140(G-sensor)以及通訊元件150兩者的至少其中之一。Based on this, in some embodiments, in addition to the controller 110, the light emitting element 120, and the chromaticity sensor 130, the optical mouse 100 further includes both the gravity sensor 140 (G-sensor) and the communication element 150 At least one of them.

重力感測器140耦接於控制器110,設置於光學滑鼠100內部,並且用以取得加速度資料,而控制器110可以根據重力感測器140所取得的加速度資料來決定光學滑鼠100是否運作於校色模式。具體來說,重力感測器140所取得的加速度資料可以反映光學滑鼠100當前的姿態,例如正常放置於向上表面SF、反轉放置於向上表面SF或直立等。控制器110透過重力感測器140取得加速度資料就相當於感測到光學滑鼠100的姿態,並且能夠進一步根據光學滑鼠100的姿態來決定光學滑鼠100是否運作於校色模式。The gravity sensor 140 is coupled to the controller 110, is disposed inside the optical mouse 100, and is used to obtain acceleration data, and the controller 110 can determine whether the optical mouse 100 is based on the acceleration data obtained by the gravity sensor 140 Operate in the school color mode. Specifically, the acceleration data obtained by the gravity sensor 140 can reflect the current posture of the optical mouse 100, such as being normally placed on the upward surface SF, reversely placed on the upward surface SF, or standing upright. The controller 110 obtains acceleration data through the gravity sensor 140 is equivalent to sensing the posture of the optical mouse 100, and can further determine whether the optical mouse 100 operates in the color calibration mode according to the posture of the optical mouse 100.

圖2A至圖2C繪示本發明一實施例中光學滑鼠的姿態的示意圖。2A to 2C are schematic diagrams illustrating the posture of the optical mouse in an embodiment of the invention.

如圖2A至圖2C實施例所示,重力感測器140預設有X、Y、Z三個軸向,其中Z軸指向為光學滑鼠100的底面方向(例如,光學滑鼠100的底部的表面的法線方向)。請參照圖2A,當光學滑鼠100正常放置於向上表面SF(例如,桌面或滑鼠墊等)時,重力感測器140例如會感測到(0, 0, g)的加速度資料,其中g例如為重力加速度值;請參照圖2B,當光學滑鼠100反轉放置於向上表面SF時,重力感測器140例如會感測到(0, 0, -g)的加速度資料;請參照圖2C,當光學滑鼠100是直立地懸掛在顯示器DP上時,重力感測器140例如會感測到(0, -g, 0)的加速度資料。As shown in the embodiments of FIGS. 2A to 2C, the gravity sensor 140 is preset with three axes of X, Y, and Z, where the Z axis points in the direction of the bottom surface of the optical mouse 100 (for example, the bottom of the optical mouse 100 Normal direction of the surface). Referring to FIG. 2A, when the optical mouse 100 is normally placed on the upward surface SF (for example, a desktop or a mouse pad, etc.), the gravity sensor 140 may sense acceleration data of (0, 0, g), for example. g is, for example, the acceleration value of gravity; please refer to FIG. 2B, when the optical mouse 100 is placed on the upward surface SF upside down, the gravity sensor 140 may sense acceleration data of (0, 0, -g), for example; please refer to 2C, when the optical mouse 100 is hung upright on the display DP, the gravity sensor 140 may sense acceleration data of (0, -g, 0), for example.

在一些實施例中,當控制器110根據加速度資料,判斷光學滑鼠100的底部不朝向下方時,判定光學滑鼠100運作於校色模式。以圖2A至圖2C為例,當控制器110判斷Z軸的加速度值小於或等於零時,便判定光學滑鼠100運作於校色模式。然而,本發明並不在此限制控制器110根據加速度資料來判斷光學滑鼠100是否運作於校色模式時的判斷標準。所屬領域具備通常知識者當可依其需求,來決定光學滑鼠100應該在何種姿態時被判定運作於校色模式,進而決定加速度資料的判斷標準。In some embodiments, when the controller 110 determines that the bottom of the optical mouse 100 is not facing downward based on the acceleration data, it is determined that the optical mouse 100 is operating in the color calibration mode. Taking FIGS. 2A to 2C as an example, when the controller 110 determines that the acceleration value of the Z axis is less than or equal to zero, it determines that the optical mouse 100 is operating in the color calibration mode. However, the present invention does not limit the controller 110 to determine whether the optical mouse 100 operates in the color calibration mode based on the acceleration data. Those with ordinary knowledge in the field can determine the posture of the optical mouse 100 to be operated in the color calibration mode according to their needs, and then determine the judgment criteria of the acceleration data.

通訊元件150耦接於控制器110,並且用以取得外部訊號SNL,而控制器110可以根據外部訊號SNL來決定光學滑鼠100是否運作於校色模式。舉例來說,外部主機的應用程式可以直接透過外部訊號SNL對光學滑鼠100下達指令,命令控制器110關閉發光元件120並且進入校色模式。在一些實施例中,通訊元件150例如是有線的USB、PS/2或RS232介面,或例如是無線的紅外線或藍牙介面,本發明不在此限制。The communication element 150 is coupled to the controller 110 and used to obtain the external signal SNL. The controller 110 can determine whether the optical mouse 100 operates in the color calibration mode according to the external signal SNL. For example, the application program of the external host can directly issue an instruction to the optical mouse 100 through the external signal SNL, and instruct the controller 110 to turn off the light emitting element 120 and enter the color correction mode. In some embodiments, the communication element 150 is, for example, a wired USB, PS/2, or RS232 interface, or, for example, a wireless infrared or Bluetooth interface, and the invention is not limited thereto.

在前述實施例中介紹了三種方式,分別是利用色度感測器130、重力感測器140以及通訊元件150所接收的外部訊號SNL來決定光學滑鼠100是否運作於校色模式。根據設計上的需求,所屬技術領域具備通常知識者可以從中選擇一或多個方式來實作,或使用其他方式以及判斷標準來決定光學滑鼠100是否運作於校色模式,本發明並不在此作限制。In the foregoing embodiment, three methods are introduced. The external signal SNL received by the color sensor 130, the gravity sensor 140, and the communication element 150 is used to determine whether the optical mouse 100 operates in the color calibration mode. According to the design requirements, those with ordinary knowledge in the technical field can choose one or more methods to implement, or use other methods and judgment criteria to determine whether the optical mouse 100 operates in the color calibration mode. For restrictions.

圖3繪示本發明一實施例的滑鼠控制方法的流程圖。3 is a flowchart of a mouse control method according to an embodiment of the invention.

請參照圖3,在步驟S110中,控制器110會決定光學滑鼠100是否運作於校色模式。在一些實施例中,控制器110例如會決定光學滑鼠100是運作於定位模式或校色模式。具體的方式與細節已於前述段落中以實施例進行介紹,故在此不再贅述。Referring to FIG. 3, in step S110, the controller 110 determines whether the optical mouse 100 operates in the color calibration mode. In some embodiments, the controller 110 determines, for example, whether the optical mouse 100 is operating in the positioning mode or the color calibration mode. The specific methods and details have been introduced in the foregoing paragraphs with embodiments, so they will not be repeated here.

若控制器110判斷光學滑鼠100並非運作於校色模式,則在步驟S120中,將光學滑鼠100運作於定位模式中。在一些實施例中,在控制器110將光學滑鼠100運作於定位模式中的同時,會持續取得色度感測器130的光譜資料、重力感測器140的加速度資料或偵測來自通訊元件150的外部訊號,以決定光學滑鼠100是否進入校色模式(例如,回到步驟S110)。If the controller 110 determines that the optical mouse 100 is not operating in the color correction mode, then in step S120, the optical mouse 100 is operated in the positioning mode. In some embodiments, while the controller 110 operates the optical mouse 100 in the positioning mode, it continuously obtains the spectral data of the chromaticity sensor 130, the acceleration data of the gravity sensor 140, or detects the data from the communication device The external signal of 150 determines whether the optical mouse 100 enters the color calibration mode (for example, returning to step S110).

另一方面,若控制器110決定光學滑鼠100運作於校色模式,則進入步驟S130,控制器110會將發光元件120關閉。在一些實施例中,在進入校色模式後,控制器110會開始將色度感測器130所取得的光譜資料,透過通訊元件150傳遞至外部主機。On the other hand, if the controller 110 determines that the optical mouse 100 is operating in the color calibration mode, step S130 is entered, and the controller 110 turns off the light emitting element 120. In some embodiments, after entering the color calibration mode, the controller 110 will start to transmit the spectral data obtained by the chromaticity sensor 130 to the external host through the communication element 150.

在一些實施例中,在光學滑鼠100運作於校色模式時,控制器110仍然會持續取得色度感測器130的光譜資料、重力感測器140的加速度資料或偵測來自通訊元件150的外部訊號,以決定光學滑鼠100是否運作於校色模式,並且在決定光學滑鼠100不運作於校色模式時,啟動發光元件120並回到定位模式。In some embodiments, when the optical mouse 100 operates in the color calibration mode, the controller 110 still continuously obtains the spectral data of the chromaticity sensor 130, the acceleration data of the gravity sensor 140, or the detection from the communication element 150 To determine whether the optical mouse 100 is operating in the color calibration mode, and when it is determined that the optical mouse 100 is not operating in the color calibration mode, activate the light emitting element 120 and return to the positioning mode.

綜上所述,本發明實施例所提出的光學滑鼠及其控制方法,在光學滑鼠中設置有色度感測器,色度感測器能夠取得校色模式所需的光譜資料,因此光學滑鼠能夠作為校色工具來使用,便利且節省成本。特別是,光學滑鼠的發光元件在光學滑鼠切換為校色模式時關閉,如此定位用的發光元件不會干擾色度感測器,提高了校色的準確度。In summary, the optical mouse and its control method proposed in the embodiments of the present invention are provided with a chromaticity sensor in the optical mouse. The chromaticity sensor can obtain the spectral data required for the color correction mode. The mouse can be used as a color calibration tool, which is convenient and cost-effective. In particular, the light emitting element of the optical mouse is turned off when the optical mouse is switched to the color calibration mode, so that the light emitting element for positioning does not interfere with the chromaticity sensor and improves the accuracy of color calibration.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed as above with examples, it is not intended to limit the present invention. Any person with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention shall be subject to the scope defined in the appended patent application.

100‧‧‧光學滑鼠 110‧‧‧控制器 120‧‧‧發光元件 130‧‧‧色度感測器 140‧‧‧重力感測器 150‧‧‧通訊元件 DP‧‧‧顯示器 S110、S120、S130‧‧‧滑鼠控制方法的步驟 SF‧‧‧向上表面 SNL‧‧‧外部訊號 X、Y、Z‧‧‧軸向100‧‧‧Optical mouse 110‧‧‧Controller 120‧‧‧Lighting element 130‧‧‧Color sensor 140‧‧‧gravity sensor 150‧‧‧Communication components DP‧‧‧Monitor S110, S120, S130‧‧‧‧Mouse control method steps SF‧‧‧Upward surface SNL‧‧‧External signal X, Y, Z‧‧‧axial

圖1繪示本發明一實施例中光學滑鼠的概要方塊圖。 圖2A至圖2C繪示本發明一實施例中光學滑鼠的姿態的示意圖。 圖3繪示本發明一實施例中滑鼠控制方法的流程圖。FIG. 1 is a schematic block diagram of an optical mouse in an embodiment of the invention. 2A to 2C are schematic diagrams illustrating the posture of the optical mouse in an embodiment of the invention. FIG. 3 is a flowchart of a mouse control method according to an embodiment of the invention.

S110、S120、S130‧‧‧滑鼠控制方法的步驟 S110, S120, S130‧‧‧‧Mouse control method steps

Claims (8)

一種光學滑鼠,包括:一發光元件,設置於該光學滑鼠的一底部,並且用以發射一定位光,其中該光學滑鼠偵測該定位光的一反射以計算該光學滑鼠的一移動量,其中該定位光對應於一定位波長;一控制器,耦接於該發光元件,用以決定該光學滑鼠是否運作於一校色模式,並且根據該光學滑鼠是否運作於該校色模式的一決定結果關閉該發光元件;以及一色度感測器,設置於該光學滑鼠的該底部,耦接於該控制器,並且用以取得該校色模式所需的一光譜資料,其中該控制器根據該光譜資料以及該定位波長決定該光學滑鼠是否運作於該校色模式。 An optical mouse includes: a light-emitting element, which is arranged at a bottom of the optical mouse, and is used to emit a positioning light, wherein the optical mouse detects a reflection of the positioning light to calculate one of the optical mouse Amount of movement, where the positioning light corresponds to a positioning wavelength; a controller, coupled to the light emitting element, is used to determine whether the optical mouse is operating in a color calibration mode, and according to whether the optical mouse is operating in the school A decision result of the color mode turns off the light-emitting element; and a chromaticity sensor is disposed at the bottom of the optical mouse, is coupled to the controller, and is used to obtain a spectral data required by the color correction mode, The controller determines whether the optical mouse operates in the color correction mode according to the spectral data and the positioning wavelength. 如申請專利範圍第1項所述的光學滑鼠,其中該控制器用以:判斷該光譜資料中,對應該定位波長的一光強度比例;以及根據該光強度比例以及一比例閥值決定該光學滑鼠是否運作於該校色模式。 The optical mouse as described in item 1 of the patent application scope, wherein the controller is used to: determine a light intensity ratio corresponding to the localized wavelength in the spectral data; and determine the optical according to the light intensity ratio and a ratio threshold Whether the mouse is operating in the color correction mode. 如申請專利範圍第1項所述的光學滑鼠,更包括:一重力感測器,耦接於該控制器,並且用以取得一加速度資料,其中該控制器根據該加速度資料決定該光學滑鼠是否運作於該校色模式。 The optical mouse as described in item 1 of the patent scope further includes: a gravity sensor, coupled to the controller, and used to obtain an acceleration data, wherein the controller determines the optical slider according to the acceleration data Whether the mouse is operating in the calibration mode. 如申請專利範圍第1項所述的光學滑鼠,更包括:一通訊介面,耦接於該控制器,並且用以接收一外部訊號,其中該控制器根據該外部訊號決定該光學滑鼠運作於該校色模式。 The optical mouse as described in item 1 of the patent scope further includes: a communication interface coupled to the controller and used to receive an external signal, wherein the controller determines the operation of the optical mouse according to the external signal In this calibration mode. 一種滑鼠控制方法,適用於一光學滑鼠,其中該光學滑鼠的一底部設置有一發光元件,其中該發光元件用以發射一定位光,並且該光學滑鼠偵測該定位光的一反射以計算該光學滑鼠的一移動量,其中該定位光對應於一定位波長,所述滑鼠控制方法包括:決定該光學滑鼠是否運作於一校色模式;在決定該光學滑鼠運作於該校色模式時,關閉該光學滑鼠的該發光元件,其中該光學滑鼠的該底部更設置有一色度感測器,用以取得該校色模式所需的一光譜資料;以及根據該光譜資料以及該定位波長決定該光學滑鼠是否運作於該校色模式。 A mouse control method is applicable to an optical mouse, wherein a light emitting element is provided at a bottom of the optical mouse, wherein the light emitting element is used to emit a positioning light, and the optical mouse detects a reflection of the positioning light To calculate a movement amount of the optical mouse, wherein the positioning light corresponds to a positioning wavelength, the mouse control method includes: determining whether the optical mouse operates in a color correction mode; and determining whether the optical mouse operates in During the color correction mode, the light emitting element of the optical mouse is turned off, wherein a chromaticity sensor is further provided at the bottom of the optical mouse to obtain a spectral data required by the color correction mode; and according to the The spectral data and the positioning wavelength determine whether the optical mouse operates in the color correction mode. 如申請專利範圍第5項所述的滑鼠控制方法,其中決定該光學滑鼠是否運作於該校色模式的步驟更包括:判斷該光譜資料中,對應該定位波長的一光強度比例;以及根據該光強度比例以及一比例閥值決定該光學滑鼠是否運作於該校色模式。 The mouse control method as described in item 5 of the patent application, wherein the step of determining whether the optical mouse operates in the color correction mode further includes: determining a light intensity ratio corresponding to the localized wavelength in the spectral data; and According to the light intensity ratio and a proportional threshold, it is determined whether the optical mouse operates in the color correction mode. 如申請專利範圍第5項所述的滑鼠控制方法,其中決定該光學滑鼠是否運作於該校色模式的步驟包括: 感測該光學滑鼠的一姿態;以及根據該光學滑鼠的該姿態決定該光學滑鼠是否運作於該校色模式。 The mouse control method as described in item 5 of the patent application, wherein the step of determining whether the optical mouse operates in the color correction mode includes: Sensing an attitude of the optical mouse; and determining whether the optical mouse is operating in the color correction mode according to the attitude of the optical mouse. 如申請專利範圍第5項所述的滑鼠控制方法,其中決定該光學滑鼠是否運作於該校色模式的步驟包括:接收一外部訊號;以及根據該外部訊號決定該光學滑鼠運作於該校色模式。 The mouse control method as described in item 5 of the patent application, wherein the step of determining whether the optical mouse is operating in the color correction mode includes: receiving an external signal; and determining that the optical mouse is operating on the external signal according to the external signal Calibration mode.
TW107142107A 2018-11-26 2018-11-26 Optical mouse and controlling method thereof TWI683243B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107142107A TWI683243B (en) 2018-11-26 2018-11-26 Optical mouse and controlling method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107142107A TWI683243B (en) 2018-11-26 2018-11-26 Optical mouse and controlling method thereof

Publications (2)

Publication Number Publication Date
TWI683243B true TWI683243B (en) 2020-01-21
TW202020632A TW202020632A (en) 2020-06-01

Family

ID=69942564

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107142107A TWI683243B (en) 2018-11-26 2018-11-26 Optical mouse and controlling method thereof

Country Status (1)

Country Link
TW (1) TWI683243B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM246906U (en) * 2003-08-26 2004-10-11 Compal Electronics Inc Mobile phone having optical mouse and lighting functions
US20090184947A1 (en) * 2008-01-22 2009-07-23 Hupman Paul M Color calibration system and method
US7679605B2 (en) * 2005-02-25 2010-03-16 Avago Technologies Ecbu Ip (Singapore) Pte. Ltd. Optical mouse with barcode reading function
US20120007806A1 (en) * 2010-07-08 2012-01-12 Hon Hai Precision Industry Co., Ltd. Multifunctional mouse, computer system, and input method thereof
US8847888B2 (en) * 2007-12-18 2014-09-30 Microsoft Corporation Optical mouse with limited wavelength optics
TW201734721A (en) * 2016-03-22 2017-10-01 原相科技(檳城)有限公司 Circuit and method for detecting wake-up and rest for optical mouse
US20180234677A1 (en) * 2017-02-15 2018-08-16 Benq Corporation Display System for Calibrating a Displayed Image by Using a Calibration Device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM246906U (en) * 2003-08-26 2004-10-11 Compal Electronics Inc Mobile phone having optical mouse and lighting functions
US7679605B2 (en) * 2005-02-25 2010-03-16 Avago Technologies Ecbu Ip (Singapore) Pte. Ltd. Optical mouse with barcode reading function
US8847888B2 (en) * 2007-12-18 2014-09-30 Microsoft Corporation Optical mouse with limited wavelength optics
US20090184947A1 (en) * 2008-01-22 2009-07-23 Hupman Paul M Color calibration system and method
US20120007806A1 (en) * 2010-07-08 2012-01-12 Hon Hai Precision Industry Co., Ltd. Multifunctional mouse, computer system, and input method thereof
TW201734721A (en) * 2016-03-22 2017-10-01 原相科技(檳城)有限公司 Circuit and method for detecting wake-up and rest for optical mouse
US20180234677A1 (en) * 2017-02-15 2018-08-16 Benq Corporation Display System for Calibrating a Displayed Image by Using a Calibration Device

Also Published As

Publication number Publication date
TW202020632A (en) 2020-06-01

Similar Documents

Publication Publication Date Title
JP4083483B2 (en) Computer pointing device and method for displaying the operating mode of a computer pointing device
CN106257581B (en) User terminal device and method for adjusting brightness thereof
US9024885B2 (en) Touch screen display apparatus for performing flash mode and method of operating the apparatus
TWI536211B (en) Dual mode optical navigation device and mode switching method thereof
KR20200043110A (en) Display apparatus and control method thereof
TWI543147B (en) Method for adjusting luminance of monitor of electrical device
US8850093B2 (en) Mouse with a replaceable sensing unit
TWI525505B (en) Frameless optical touch device and image processing method for frameless optical touch device
TW201015603A (en) Portable electronic device having illuminated keyboard
TW201911024A (en) Electronic device, method and system for detecting fingers and non-transitory computer-readable medium
TW201843480A (en) Proximity Sensor and Proximity Sensing Module
CN109186036B (en) Remote controller, remote controller control method, and air conditioner
KR20160063834A (en) Pointing apparatus, dongle apparatus, and display apparatus
TWI736552B (en) Electronic device with night function and method thereof
TWI683243B (en) Optical mouse and controlling method thereof
CN104539863A (en) Control system and method for displayer body key information and television
KR102100768B1 (en) User terminal device and luminance adujustment method thereof
TW201523350A (en) Displacement detection device with hovering function and computer system including the same
CN206421658U (en) A kind of laser pen
TWI634458B (en) Computer input apparatus, pointing device and setting method thereof
TWM501597U (en) a mouse that detects physiological characteristics
TWI816425B (en) Input device, indicator device and method of parameter adjustment the same
TWI610208B (en) Optical touch device and optical touch method
US20180356938A1 (en) Projection touch system and correction method thereof
JP2020024545A (en) Non-contact input device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees