CN100565434C - Mouse and displacement amount compensation process thereof - Google Patents

Mouse and displacement amount compensation process thereof Download PDF

Info

Publication number
CN100565434C
CN100565434C CN 200610128036 CN200610128036A CN100565434C CN 100565434 C CN100565434 C CN 100565434C CN 200610128036 CN200610128036 CN 200610128036 CN 200610128036 A CN200610128036 A CN 200610128036A CN 100565434 C CN100565434 C CN 100565434C
Authority
CN
China
Prior art keywords
displacement
optical
amount
mouse
component
Prior art date
Application number
CN 200610128036
Other languages
Chinese (zh)
Other versions
CN101140490A (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 CN 200610128036 priority Critical patent/CN100565434C/en
Publication of CN101140490A publication Critical patent/CN101140490A/en
Application granted granted Critical
Publication of CN100565434C publication Critical patent/CN100565434C/en

Links

Abstract

一种鼠标,其中包括光学传感器、加速度传感器及微控制单元。 A mouse i, which includes an optical sensor, an acceleration sensor and a micro control unit. 光学传感器用以检测鼠标的位移量,以输出光学位移量。 The optical sensor for detecting the amount of displacement of the mouse, the amount of displacement of the optical output. 加速度传感器用以检测鼠标的加速度,并据以输出加速度讯号。 An acceleration sensor for detecting acceleration of the mouse, and outputting an acceleration signal. 微控制单元用以接收加速度讯号,并据以得到加速度感测位移量;微控制单元还接收光学位移量,以比较加速度感测位移量及光学位移量,以输出鼠标位移讯号。 A micro control unit to receive an acceleration signal, and accordingly the amount of displacement obtained acceleration sensing; optical micro control unit further receives the amount of displacement, to measure the amount of displacement and acceleration sensing optical displacement amount compared to the mouse displacement output signals.

Description

鼠标及其位移量补偿方法技术领域本发明涉及一种鼠标装置,特别是涉及一种具有加速规的鼠标装置。 Mouse and its displacement amount compensation method Technical Field The present invention relates to a mouse device, and more particularly to a mouse device having an acceleration gauge. 背景技术计算机已成为现代人生活中不可或缺的电子产品,而鼠标更是操作计算机时必备的硬件输入接口。 BACKGROUND Computers have become an integral part of modern life electronic products, while the mouse is essential when operating a computer hardware input interface. 目前在市场上,光学鼠标由于清理容易、不易磨损及精确度不随使用时间增长而降低等诸多优点,已普遍取代早期的滚轮式鼠标。 Currently on the market, since the optical mouse is easy to clean, easy to wear and the accuracy is not decreased over time goes on and many other advantages, has generally replace the earlier the wheel mouse. 光学鼠标是经由光学传感器(Optical Sensor)来感测使用者施加于光学鼠标的实际位移量,以对应地改变屏幕上的光标位置。 The optical mouse is the actual displacement via an optical sensor (Optical Sensor) applied by the user to sense the optical mouse, to correspondingly change the cursor position on the screen. 然而,:当桌面的材质不利于光线反射时,将影响光学传感器的感测动作, 而使得显示屏幕上的光标无法精准地定位在预期的目标位置上。 However,: when the table is not conducive to reflection of light material, the impact sensing operation of the optical sensor, so that a cursor on a display screen can not be precisely positioned at a desired target position. 发明内容有鉴于此,本发明的目的就是提供一种鼠标及其位移量补偿方法,本发明的鼠标可有效地解决上述传统鼠标不能正常地于某些不利于光线反射的桌面上操作的问题。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a method of compensating the displacement amount and mouse, the mouse of the present invention can effectively solve the above problems in the conventional mouse does not normally detrimental to the light reflected on some of the desktop operation. 根据本发明的目的,提出一种鼠标,其中包括光学传感器(OpticaI Sensor)、加速度传感器及微控制单元(Micro Control Unit)。 The object of the present invention, to provide a mouse, which comprises an optical sensor (OpticaI Sensor), an acceleration sensor and a micro control unit (Micro Control Unit). 光学传感器用以检测鼠标的位移量,以输出光学位移量。 The optical sensor for detecting the amount of displacement of the mouse, the amount of displacement of the optical output. 加速度传感器用以检测鼠标的加速度,并据以输出加速度讯号。 An acceleration sensor for detecting acceleration of the mouse, and outputting an acceleration signal. 微控制单元用以接收加速度讯号,并据以得到加速度感测位移量;微控制单元用以接收该加速度讯号,并据以得到一加速度感测位移量,该微控制单元还接收该光学位移量,以比较该加速度感测位移量及该光学位移量的方向和大小,并输出一其中所选择的较佳位移量作为鼠标位移讯号,其中,当加速度感测位移量与光学位移量大小相等时,则以光学位移量为较佳的位移量作为鼠标位移讯号;当加速度感测位移量与光学位移量大小不相等并且其方向不相同时,则以加速度感测位移量为较佳的位移量作为鼠标位移讯号;当加速度感测位移量与光学位移量的方向相同并且光学位移量大于加速度感测位移量时,则以光学位移量为较佳的位移量作为鼠标位移讯号;和当光学位移量小于加速度感测位移量时,则以加速度感测位移量为较佳的位移量作为鼠标位移讯 A micro control unit to receive an acceleration signal, and accordingly measurement of displacement to give a sense of acceleration; micro control unit for receiving the acceleration signal and a displacement amount according to an acceleration sensed obtained, the micro control unit further receives the amount of displacement of the optical to compare the acceleration sensing the amount of displacement of the optical displacement amount and the direction and magnitude, and outputs a displacement amount wherein the selected preferred as the mouse displacement signals, wherein, when the acceleration sensing displacement amount equal to the size of the optical displacement amount when when the preferred amount of displacement acceleration sensing the amount of displacement of the optical displacement amount not of equal size and which are not the same direction, places acceleration sensing an amount of displacement;, places optical displacement amount is preferred as the mouse displacement displacement signals mouse as a displacement signal; when the acceleration sensing amount of displacement of the same amount of displacement of the direction of the optical and optical displacement larger than the displacement amount when the acceleration sensing, places the optical displacement amount as the displacement amount of a mouse preferred displacement signals; and when the optical displacement when the amount is less than the acceleration sensing the amount of displacement measurement, places acceleration sensing displacement amount is preferred as the mouse displacement amount of displacement News 号。 number. . 根据本发明的另一目的,提出一种鼠标的位移量补偿方法。 According to another object of the present invention, a method of compensating the amount of displacement of the mouse. 此补偿方法应用于鼠标,此补偿方法包括下列的步骤。 This compensation method is applied to a mouse, the method comprising the step of compensating. 首先,提供光学位移量及加速度感测位移量,其中光学位移量及加速度感测位移量分别包括多个光学位移分量及多个加速度感测位移分量。 First, an optical displacement amount and an acceleration sensing the amount of displacement, wherein the displacement amount of the optical displacement amount and an acceleration sensing each comprise a plurality of optical components and a plurality of displacement acceleration sensing displacement component. 接着,判断此多个光学位移分量是否实质上分别等于对应的此多个加速度感测位移分量。 Next, it is determined whether the plurality of optical components is substantially equal to this displacement acceleration sensing a plurality of corresponding displacement component. 然后,当此多个光学位移分量与对应的此多个加速度感测位移分量为不相等时,判断此多个光学位移分量的其中一光学位移分量的方向,与对应的一加速度感测位移分量的方向是否为实质上相同,并且当各所述光学位移分量与对应的各所述加速度感测位移分量为实质上相等时,以该光学位移量作为该鼠标位移讯号,并得到一第二桌面检测结果。 Then, when a plurality of this plurality of acceleration sensing this displacement component corresponding to the component of the optical displacement is not equal, this is determined a plurality of optical components, wherein the direction of displacement of a displacement of the optical components, and an acceleration component corresponding to a displacement sensing whether the direction substantially the same, and when each of the acceleration sensing displacement component of the optical component of each displacement corresponding to substantially equal to the amount of displacement of the optical mouse, as the displacement signal, and with a second table Test results. 接着,当此光学位移分量与此加速度感测位移分量的方向为实质上相同时,判断此光学位移分量是否大于此加速度感测位移分量,并且当该光学位移分量与该加速度感测位移分量的方向为不同时,以该加速度感测位移分量作为该鼠标位移分量讯号,并得到该第一桌面检测结果。 Next, when the direction of this acceleration sensing displacement component of the optical component is substantially the same displacement, the displacement is determined whether the optical component is larger than this acceleration sensing displacement component, and when the displacement of the optical components and measuring components of the displacement sensing acceleration It is not the same direction, to measure the displacement component of the sense of acceleration as a mouse displacement component signal, and the first desktop obtained detection result. 然后, 当此光学位移分量不大于此加速度感测位移分量时,以此加速度感测位移分量作为鼠标位移讯号的鼠标位移分量讯号,并得到第一桌面检测结果,并且当该光学位移分量大于该加速度感测位移分量时,以该光学位移分量作为该鼠标位移分量讯号,并得到该第二桌面检测结果。 Then, when the acceleration sensing displacement component of the optical displacement component is not limited to this, mouse displacement component signal in this sense of acceleration as the displacement component measured displacement signals of the mouse, and to obtain a first detection result table, and when the optical component is greater than the displacement acceleration sensed displacement components, the displacement components in the optical mouse, as the displacement component signal, and a second table to obtain the detection result. 之后,输出鼠标位移讯号, 并输出第一、第二桌面检测结果。 Thereafter, the mouse output displacement signals, and outputs the first, second detection result table. 为使本发明的上述目的、特征、和优点能更明显易懂,下文特举一较佳实施例,并结合附图详细说明如下。 For the above-described object of the present invention, features, and advantages can be more fully understood by referring cite a preferred embodiment, in conjunction with the accompanying drawings and described in detail below. 附图简单说明图1示出了依照本发明的实施例的鼠标的电路方块图。 BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 shows a circuit block diagram in accordance with an embodiment of the present invention the mouse is. 图2示出了图1的《款控制单元108的位移量补偿方法的流程图。 FIG 2 shows a flowchart of a method of compensating the amount of displacement 108 of FIG. 1, "the control unit section. 附图符号说明102:鼠标104:电子装置106:加速度传感器106a:横向加速度感测单元106b:纵向加速度感测单元108:微控制单元110:光学传感器112:按键控制器SAx:横向加速度分量SAy:纵向加速度分量SOD:光学位移量SMD:鼠标位移讯号202~216:操作步骤具体实施方式本发明的鼠标包括加速度传感器,以感测鼠标的加速度,并转换此加速度为加速度感测位移量。 BRIEF DESCRIPTION OF REFERENCE NUMERALS 102: Mouse 104: the electronic device 106: an acceleration sensor 106a: 106b lateral acceleration sensing means: a longitudinal acceleration sensing unit 108: a micro control unit 110: Optical sensor 112: key controller SAx: lateral acceleration component SAy: longitudinal acceleration component of SOD: optical displacement amount SMD: mouse displacement signals 202 ~ 216: Procedure mouse DETAILED embodiment of the present invention comprises an acceleration sensor for sensing acceleration of the mouse, and convert this acceleration is acceleration sensing the amount of displacement. 本发明的鼠标还比较加速度感测位移量及光学传感器所感测到的光学位移量,并以加速度感测位移量及光学感测位移量其中的一较佳的感测位移量来作为鼠标的位移量,使得鼠标能正常地操作于不同的桌面材质。 Mouse of the present invention also compare the amount of displacement of the optical acceleration sensing the amount of displacement and the optical sensor sensed, and to acceleration sensing the amount of displacement and the measurement of displacement amount of the optical sensing a preferred amount of displacement sensed therein as a displacement of the mouse amount, so that the mouse can be normally operated in different desktop materials. 请参照图l,其示出了依照本发明实施例的鼠标的电路方块图。 Referring to FIG. L, which shows a circuit block diagram of an embodiment of a mouse according to the present invention. 鼠标102 是与一电子装置104耦接,在本实施例中电子装置104是例如为计算机。 Mouse 102 is coupled to an electronic device 104, the electronic device case 104 in the present embodiment is, for example, a computer. 鼠标102包括加速度传感器106、微控制单元(Micro Control Unit)108及光学传感器(Optical Sensor)110。 Mouse 102 includes an acceleration sensor 106, a micro control unit (Micro Control Unit) 108 and an optical sensor (Optical Sensor) 110. 光学传感器110耦接至微控制单元108,并用以检测鼠标102的位移量,以输出光学位移量SOD。 The optical sensor 110 is coupled to the micro control unit 108, and mouse 102 for detecting the amount of displacement, the displacement amount of the optical output SOD. 其中,光学位移量SOD包括纵向光学位移分量及横向光学位移分量,其分别为光学传感器110所检测到的鼠标102的纵向及橫向位移量。 Wherein the amount of displacement of the optical SOD includes a longitudinal component and a lateral displacement of the optical component of the optical displacement, which are detected by the optical sensor 110 mouse longitudinal and transverse displacement amount of 102. 加速度传感器106例如为加速规(G Sensor),加速度传感器106包括横向加速度感测单元106a及纵向加速度感测单元106b。 The acceleration sensor 106 is, for example accelerometer (G Sensor), a lateral acceleration sensor 106 includes an acceleration sensing unit 106a and the longitudinal acceleration sensing unit 106b. 横向及纵向加速度感测单元106a及106b分别与微控制单元108耦接。 Longitudinal and lateral acceleration sensing means 106a and 106b, respectively, and the micro control unit 108 is coupled. 横向及纵向加速度感测单元106a及106b分别用以感测鼠标102的横向加速度及纵向加速度,并分別根据所感测到的横向及纵向加速度来得到橫向加速度分量SAx及纵向加速度分量SAy。 Longitudinal and lateral acceleration sensing means 106a and 106b, respectively, to sense the lateral acceleration and the longitudinal acceleration of the mouse 102, respectively, to obtain the longitudinal and lateral acceleration component SAx SAy acceleration component according to the sensed lateral and longitudinal acceleration sensed. 其中,鼠标102的横向及纵向分别为一般使用习惯时,鼠标102 的壳体的纵向及横向。 Wherein the horizontal and vertical mouse 102 respectively when the general usage, the vertical and horizontal mouse housing 102. 微控制单元108接收横向及纵向加速度分量SAx及SAy,并储存一储值表(Look Up Table)。 Micro control unit 108 receives the horizontal and vertical acceleration component SAx and SAy, and storing a stored value table (Look Up Table). 微控制单元108根据横向及纵向加速度分量SAx及Say 来参考储值表,以分别产生横向加速度感测位移分量(未绘示)及纵向加速度感测位移分量(未示出)。 A micro control unit 108 and the component SAx Say longitudinal and lateral acceleration according to a reference table stored value to generate a lateral acceleration sensing displacement components (not shown) and the longitudinal acceleration sensing displacement components (not shown), respectively. 微控制单元108比较横向光学位移分量及横向加速度感测位移分量的方向及位移量大小,并比较纵向光学位移分量及纵向加速度感测位移分量的方向及位移量大小,以于横向及纵向加速度感测位移分量及横向及纵向光学位移分量中选择较佳的横向及纵向位移分量来作为鼠标102的横向鼠标位移讯号(未绘示)及纵向鼠标位移讯号(未示出)。 Direction and the displacement amount of the size of the micro control unit 108 compares the lateral optical displacement component and a lateral acceleration sensed displacement component in the direction and the amount of displacement of the size, and compare the longitudinal optical displacement component and the acceleration sensing displacement component longitudinally to the lateral and longitudinal sense of acceleration measuring the displacement components and the horizontal and vertical displacement of the optical components of the preferred selected horizontal and vertical displacement components as a mouse lateral displacement signals (not shown) and the longitudinal displacement signals mouse (not shown) of the mouse 102. 微控制单元108还根据横向及纵向鼠标位移讯号产生鼠标位移讯号SMD,并将鼠标位移讯号SMD输入计算机。 A micro control unit 108 also generates signals SMD The lateral displacement of the mouse and the mouse longitudinal displacement signals and computer mouse input displacement signals SMD. 如此,计算机可根据鼠标位移讯号SMD来移动屏幕中的光标,使得屏幕中的光标可较精准地定位在预期的目标位置上。 Thus, the computer can move the screen cursor according to the mouse displacement signals SMD, such that the screen cursor can be positioned precisely at a desired target position more. 微控制单元108更根据所选择的较佳的横向及纵向位移分量来判断此时鼠标102是否操作于光学传感器IIO无法感测光学位移量SOD的桌面。 The micro control unit 108 is more preferred longitudinal and lateral displacement of the selected component 102 to determine whether the mouse will not operate to the optical sensor sensing optical IIO displacement amount of SOD desktop. 接下来对微控制单元106根据横向加速度感测位移分量与横向光学位移分量得到横向鼠标位移讯号的操作进一步说明如下。 Next, the operation of the mouse lateral displacement signals obtained with the micro control unit 106 based on the measured lateral displacement component of the optical displacement sensing lateral acceleration component further described below. 微控制单元108首先判断横向加速度感测位移分量与横向光学位移分量是否实质上相等。 A micro control unit 108 first determines whether the lateral acceleration sensing the lateral displacement of the optical component displacement component substantially equal. 当横向加速度感测位移分量与横向光学位移分量相等时, 表示鼠标102操作于可充分反射光线的材质的桌面上,而光学传感器110可精确地感测横向光学位移分量以反应鼠标102的横向位移量;微控制单元108以横向光学位移分量为较佳的横向位移量,并以此较佳的横向位移量作为横向鼠标位移讯号。 When the values ​​of the lateral acceleration sensing displacement component and the lateral optical displacement component, the mouse 102 operating in the material can be sufficiently reflected light table, and the optical sensor 110 may sense a lateral displacement sensing transverse optical displacement components in the reaction mouse 102 is accurately amount; micro control unit 108 to the lateral displacement of the optical component of the preferred amount of lateral displacement, and thus the preferred amount of lateral displacement as the mouse lateral displacement signals. 当横向加速度感测位移分量与横向光学位移分量不相等时,微控制单元108进一步判断橫向加速度感测位移分量与横向光学位移分量的方向是否相同。 When the lateral acceleration and the sensed lateral displacement of the optical component displacement component are not equal, the micro control unit 108 further determines the direction of the lateral component of the acceleration sensing lateral displacements of the optical component are the same displacement. 当横向加速度感测位移分量与横向光学位移分量的方向不相同时,表示鼠标102操作于不利于光线反射的材质的桌面上,光学传感器IIO无法于此时的桌面LL感测横向光学位移分量来反应鼠标102的橫向位移量;微控制单元108以辨向加速度感测位移分量为较佳的横向位移量,并以此较佳的橫向位移量作为横向鼠标位移讯号。 When the lateral acceleration sensing displacement of the optical component in a direction transverse displacement component are not the same, the mouse 102 is operated against the light reflecting material desktop, the optical sensor at this time can not IIO LL desktop sensing displacement component transverse to the optical the reaction lateral displacement amount of a mouse 102; micro control unit 108 identified as the preferred lateral displacement component measured displacement amount to sense acceleration, and thus the preferred amount of lateral displacement as the mouse lateral displacement signals. 当横向加速度感测位移分量与横向光学位移分量的方向相同时,微控制单元108再进一步判断横向光学位移分量是否大于横向加速度感测位移分量。 When the lateral acceleration sensing direction component of the transverse displacement of the optical components are the same displacement, the micro control unit 108 further determines whether or not the lateral displacement of the optical component is greater than the lateral acceleration sensing sensing displacement component. 当横向光学位移分量大于横向加速度感测位移分量时,表示鼠标102是操作于可充分反射光线的材质的桌面上,而光学传感器IIO可精确地感测横向光学位移分量以反应鼠标102的横向位移量。 When the transverse optical displacement component is greater than the lateral acceleration sensed displacement component, the mouse 102 is a material on the desktop to be sufficiently reflected light, and the optical sensor IIO may sense a lateral displacement sensing transverse optical displacement components in the reaction mouse 102 is accurately the amount. 然而,微控制单元108可能因鼠标102的横向移动接近等速度运动,而无法有效地根据横向加速度感测单元106a感测出的横向加速度来转换出精确的横向位移分量;微控制单元108以横向光学位移分量为较佳的横向位移量,并以此较佳的横向位移量作为横向鼠标位移讯号。 However, the micro control unit 108 may close due to the lateral movement of the mouse 102 and the like velocity, can not effectively be converted precise lateral displacement component in accordance with the lateral acceleration sensing means 106a senses the lateral acceleration; micro control unit 108 in a transverse the optical component of the preferred displacement amount of lateral displacement, and thus the preferred amount of the lateral displacement as the mouse lateral displacement signals. 当横向光学位移分量小于横向加速度感测位移分量时,表示此时鼠标102操作于不利于光线反射的材质的桌面上,光学传感器IIO无法于此时的桌面上感测横向光学位移分量来反应鼠标102的横向位移量;此时微控制单元108以横向加速度感测位移分量为较佳的横向位移量,并以此较佳的横向位移量作为横向鼠标位移讯号。 When the lateral displacement of the optical component is less than the lateral acceleration sensed displacement component, 102 indicates when the mouse operation is not conducive to reflection of light on the material of the desktop, the optical sensor can not sense the optical IIO displacement component measured transversely to the desktop at this time to the reaction mouse the amount of lateral displacement 102; in this case the micro-control unit 108 to measure the displacement amount of the lateral acceleration sensing preferred amount of lateral displacement, and thus the preferred amount of the lateral displacement as the mouse lateral displacement signals. 本实施例虽仅以微控制单元108根据横向光学位移分量及横向加速度感测位移分量来产生横向鼠标位移讯号的操作为例作说明,然微控制单元108 根据纵向光学位移分量及纵向加速度感测位移分量来产生纵向鼠标位移讯号的操作可据以类推。 Although the present embodiment, the micro control unit 108 generates an operation signal according to the lateral displacement of the mouse lateral displacement of the optical component and a displacement component measured lateral acceleration sense only be described as an example, then the micro control unit 108 of the optical displacement measuring longitudinal acceleration component and a longitudinal sense displacement component longitudinally to produce displacement signals of the mouse operation can be accordingly analogy. 请参照图2,其示出了图1的微控制单元108的位移量补偿方法的流程图。 Referring to FIG. 2, which shows a flowchart of a method of compensating the displacement amount of the micro control unit 108 of FIG. 图2中是以微控制单元108根据横向加速度感测位移分量及横向光学位移分量来得到横向鼠标位移讯号的位移量补偿方法为例作说明。 Figure 2 is a micro-control unit 108 to obtain the amount of displacement of the compensation method of lateral displacement signals of the mouse explained as an example according to the lateral acceleration sensing displacement component and the lateral component of the optical displacement. 首先,如步骤202,感测鼠标102的横向位移量,以提供横向光学位移分量及横向加速度感测位移分量。 First, in step 202, the amount of lateral displacement sensing mouse 102 to provide lateral displacement of the optical component and a lateral acceleration sensing displacement component. 接着,如步骤204,判断横向光学位移分量是否等于横向加速度感测位移分量,若是,执行步骤206,以横向光学位移分量及横向加速度感测位移分量之一作为横向鼠标位移讯号。 Next, in step 204, it is determined whether the lateral displacement component is equal to the optical lateral acceleration sensing displacement component, if yes, step 206, and to one lateral displacement component measured optical displacement sensing lateral acceleration component as a mouse lateral displacement signals. 接着,执行步骤208,输出横向鼠标位移讯号,并结束本实施例的位移量补偿方法的操作步骤。 Next, step 208 is performed, the output signals lateral displacement of the mouse, and the amount of displacement of the end of the compensation method according to the present embodiment of the procedure. 于步骤204中,若否,执行步骤210,判断横向光学位移分量与横向加速度感测位移分量是否具有相同的方向,若否,执行步骤212,以横向加速度感测位移分量做为横向鼠标位移讯号,接着执行步骤208;若是,执行步骤214,判断横向光学位移分量的位移量是否大于橫向加速度感测位移分量的位移量,若否,执行步骤212,接着执行步骤208;若是,执行步骤216,以横向光学位移分量做为横向鼠标位移讯号。 In step 204, if not, step 210 determines lateral displacement of the optical components and the lateral acceleration sensing displacement components have the same direction, if not, step 212 is performed, in order to sense the lateral acceleration measured as a displacement component transverse displacement signals mouse , then step 208; if yes, step 214 determines the amount of displacement transverse optical displacement component is greater than the amount of displacement of the lateral acceleration sensing displacement component, and if not, step 212, then performs the step 208; if yes, step 216 is performed, displacement component transverse to the optical mouse as a lateral displacement signals. 接着,接着执行步骤208。 Next, step 208 is then performed. 本实施例虽仅以微控制单元108根据横向加速度感测位移分量及横向光学位移分量来得到横向鼠标位移讯号的位移量补偿方法为例作说明,然,纵向的位移量补偿方法可根振横向的位移量补偿方法依此类推。 Although the present embodiment, a micro control unit 108 to obtain the amount of displacement of the mouse lateral displacement signals compensating method according to the lateral acceleration sensing the displacement component and the lateral component of the optical displacement only an example for illustration, however, the longitudinal displacement compensation method may be a lateral vibration Root displacement compensation method, and so on. 接着,微控制单元108根据所得到的横向及纵向鼠标位移讯号产生鼠标位移讯号SMD, 并将鼠标位移讯号SMD输入至计算机。 Next, the micro control unit 108 generates a displacement signal SMD mouse The mouse horizontal and vertical displacement signals are obtained, and displacement signals SMD mouse input to the computer. 如此,计算机可根据由较佳地横向及纵向鼠标位移讯号产生的鼠标位移讯号SMD来移动屏幕上的光标,使得光标可较精准地定位在预期的目标位置上。 Thus, the computer may be moving a cursor on the screen according to the displacement signals of the mouse is preferably horizontal and vertical displacement signals generated mouse SMD, so that the cursor can be positioned precisely at a desired target position more. 在本实施例鼠标102的壳体上还例如具有发光二极管(Light Emitting Diode, LED)装置,以于鼠标102操作于材质不利于光线反射的桌面时,提醒使用者更换鼠标102的操作桌面。 In the case of the present embodiment mouse embodiment 102 further example, a light emitting diode (Light Emitting Diode, LED) device, when the mouse 102 to operate in unfavorable light reflected on the material desktop, remind users to replace the mouse operation of the desktop 102. 而本实施例的鼠标102亦可经由计算机的显示器来提醒使用者鼠标102操作于材质不利于光线反射的桌面,以更换鼠标102的操作桌面。 And the mouse 102 of the present embodiment may be via a computer display to alert the user 102 operates a mouse on the material is not conducive to the desktop reflected light, the operation to replace the mouse 102 of the desktop. 而本实施例的鼠标102还包括一按键控制器112,耦接至微控制器108,以控制鼠标102的左键(未示出)、右键(未示出)及滚轮键(未示出)。 And the mouse 102 of the present embodiment further includes a key controller 112, coupled to the microcontroller 108, to control the left mouse button 102 (not shown), right (not shown) and the roller key (not shown) . 本实施例的鼠标具有加速规及光学传感器,以分別感测并输出鼠标的加速度及光学位移量。 Mouse embodiment of the present embodiment has an optical sensor and accelerometer, to sense the acceleration and the displacement measurement of the optical mouse and the output, respectively. 本实施例的鼠标将加速度转换为加速度感测位移量,以比较将加速度感测位移量与光学感测位移量,来判断鼠标是否操作于桌面品质不良的桌面;本实施例的鼠标并于桌面品质不良时以加速度感测位移量来作为鼠标的位移讯号输出。 Mouse of the present embodiment the acceleration converted to an acceleration sensing the amount of displacement, to compare the acceleration sensing the amount of displacement of the optical sensing the amount of displacement to determine if the mouse is operated in adverse table quality desktop; mouse according to the present embodiment and the desktop in case of insufficient quality to measure the amount of displacement sense of acceleration as the displacement signal output of the mouse. 如此本实施例的鼠标可有效地改善传统鼠标不能操作于某些材质不利于光线反射的桌面的缺点,而具有可操作于材质不利于光线反射的桌面,同时具有可检测桌面品质的优点。 Mouse Thus the present embodiment can effectively improve the conventional mouse inoperable desktop material unfavorable to certain disadvantages reflected light, and operable to have a desktop material unfavorable reflection of light, while the advantage of having a detectable quality table. 综上所述,虽然本发明已以一较佳实施例披露如上,然其并非用以限定本发明。 Although the present invention has been described with a preferred embodiment disclosed above, they are not intended to limit the present invention. 本领域的技术人员在不脱离本发明的精神和范围的前提下可作各种的更动与润饰。 Those skilled in the art without departing from the spirit and scope of the present invention may make various modifications and variations. 因此,本发明的保护范围以本申请的权利要求为准。 Accordingly, the scope of the present invention, the present application claims.

Claims (7)

1.一种鼠标,包括: 一光学传感器,用以检测该鼠标的位移量,以输出一光学位移量; 一加速度传感器,用以检测该鼠标的加速度,并据以输出一加速度讯号;以及一微控制单元,用以接收该加速度讯号,并据以得到一加速度感测位移量,该微控制单元还接收该光学位移量,以比较该加速度感测位移量及该光学位移量的方向和大小,并输出一其中所选择的较佳位移量作为鼠标位移讯号,其中,当加速度感测位移量与光学位移量大小相等时,则以光学位移量为较佳的位移量作为鼠标位移讯号;当加速度感测位移量与光学位移量大小不相等并且其方向不相同时,则以加速度感测位移量为较佳的位移量作为鼠标位移讯号;当加速度感测位移量与光学位移量的方向相同并且光学位移量大于加速度感测位移量时,则以光学位移量为较佳的位移量作为鼠标位移 A mouse, comprising: an optical sensor for detecting the amount of displacement of the mouse, to output an optical displacement amount; an acceleration sensor for detecting acceleration of the mouse, and outputting an acceleration signal; and a a micro control unit for receiving the acceleration signal and a displacement amount according to an acceleration sensed obtained, the micro control unit further receives the optical displacement amount, to compare the acceleration sensing the amount of displacement of the optical displacement amount and the direction and magnitude , and outputs a displacement amount wherein the selected preferred as the mouse displacement signals, wherein, when an equal amount of displacement when the acceleration sensing the size of the optical displacement amount, the displacement amount of the optical places preferred amount of displacement as a mouse displacement signals; when acceleration sensing the amount of displacement of the optical displacement amount not of equal size and which are not the same direction, places acceleration sensing displacement amount of the displacement amount of a mouse as the preferred displacement signals; when the direction of acceleration sensing the amount of displacement of the same amount of displacement of the optical and an optical displacement larger than the displacement amount of acceleration sensing, places optical displacement amount as the displacement amount of the preferred displacement of mouse 讯号;和当光学位移量小于加速度感测位移量时,则以加速度感测位移量为较佳的位移量作为鼠标位移讯号。 Signal; and the amount of displacement when the optical measurement displacement amount less than the acceleration feeling, an acceleration sensing places shift amount is preferred as the mouse displacement displacement signals.
2. 如权利要求1所述的鼠标,其中该光学位移量包括一纵向光学位移分量及一横向光学位移分量;该加速度感测位移量包括一纵向加速度感测位移分量及一横向加速度感测位移分量;该鼠标位移讯号包括一纵向鼠标位移分量讯号及一横向鼠标位移分量讯号。 2. A mouse according to claim 1, wherein the amount of displacement of the optical optical displacement comprising a longitudinal component and a lateral displacement of the optical component; acceleration sensing the displacement amount comprises a longitudinal acceleration sensing displacement component and a lateral acceleration sensing displacement components; the mouse mouse longitudinal displacement signals comprises a displacement component signal and a mouse lateral displacement component signal.
3. 如权利要求2所述的鼠标,其中该微控制单元比较该纵向光学位移分量及该纵向加速度感测位移分量,以输出该纵向鼠标位移分量讯号;该微控制单元比较该横向光学位移分量及该横向加速度感测位移分量,以输出该横向鼠标位移分量讯号。 3. The mouse according to claim 2, wherein the MCU compares the longitudinal displacement of the optical component and a component of the acceleration sensing longitudinal displacement, to output the signal component of the longitudinal displacement of the mouse; the micro control unit compares the lateral displacement of the optical components and the lateral acceleration sensing displacement component to the output signal of the lateral displacement component mouse.
4. 如权利要求1所述的鼠标,其中该微控制单元经由一储值表,来根据该加速度讯号得到该加速度感测位移量。 4. The mouse according to claim 1, wherein the micro control unit via a stored value table, to obtain a displacement amount sensing the acceleration of the acceleration sensing signal.
5. 如权利要求l所述的鼠标,其中该加速度传感器为一加速规。 The mouse of claim l, wherein the acceleration sensor is an accelerometer.
6. —种鼠标的位移量补偿方法,该补偿方法应用于一鼠标,该补偿方法包括:(a)提供一光学位移量及一加速度感测位移量,其中该光学位移量及该加速度感测位移量分别包括多个光学位移分量及多个加速度感测位移分量;(b) 判断各所述光学位移分量是否实质上分别等于对应的各所述加速度感观'j位移分量;(c) 当各所述光学位移分量与对应的各所述加速度感测位移分量为不相等时,判断所述光学位移分量的其中一光学位移分量的方向,与对应的一加速度感测位移分量的方向是否为实质上相同;(c,)当各所述光学位移分量与对应的各所述加速度感测位移分量为实质上相等时,以该光学位移量作为鼠标位移讯号,并得到一第二桌面检测结果;(d) 当该光学位移分量与该加速度感测位移分量的方向为实质上相同时,判断该光学位移分量是否大于该加速度感 6. - The method of compensating the displacement amount of species of mouse, the compensation method is applied to a mouse, the compensation method comprising: (a) providing an optical displacement amount and an acceleration sensing the amount of displacement, wherein the displacement amount and the acceleration of the optical sensing each comprising a plurality of displacement amount of displacement of optical components and a plurality of acceleration sensing displacement components; (b) determining whether each of said optical component displacement is substantially equal to the acceleration corresponding to each of the sensory 'j displacement components; (c) when each component of the acceleration sensing displacement of each of the optical components and the corresponding displacement is not equal, determines the displacement of the optical component wherein a direction of displacement of the optical component, the direction of an acceleration component corresponding to a displacement sensing whether the are substantially the same; (C,) when the respective components of the acceleration sensing displacement of each of the optical components and the corresponding displacement is substantially equal to the amount of displacement of the optical mouse as displacement signals, and to obtain a second detection result table ; (d) when the displacement of the optical component to the displacement direction acceleration sensing component is substantially the same, it is judged whether the displacement of the optical component is greater than the acceleration sensing 测位移分量;(d,)当该光学位移分量与该加速度感测位移分量的方向为不同时,以该加速度感测位移分量作为鼠标位移分量讯号,并得到第一桌面检测结果;(e) 当该光学位移分量小于该加速度感测位移分量时,以该加速度感测位移分量作为一鼠标位移讯号的一鼠标位移分量讯号,并得到一第一桌面检测结果;(e,)当该光学位移分量大于该加速度感测位移分量时,以该光学位移分量作为该鼠标位移分量讯号,并得到该第二桌面检测结果;以及(f) 输出该鼠标位移讯号,并输出该第一、第二桌面检测结果。 Measuring displacement components; (D,) when the displacement of the optical component to the displacement direction acceleration sensing component is not the same, to measure displacement component of the acceleration sensing displacement component signal as a mouse, and to obtain a first detection result table; (e) when the displacement of the optical component is less than the acceleration sensing displacement components, the displacement components to measure the acceleration sensing signal as a displacement of a mouse mouse displacement component signal, and to obtain a first detection result table; (E,) when the optical displacement when the component is greater than the acceleration sensing displacement components, the displacement components in the optical mouse, as the displacement component signal, and a second table to obtain the detection result; and (f) outputting the mouse displacement signal, and outputs the first, second table Test results.
7.如权利要求6所述的位移量补偿方法,其中所述光学位移分量包括一纵向光学位移分量及一横向光学位移分量,而所述加速度感测位移分量包括一纵向加速度感测位移分量及一横向加速度感测位移分量。 7. The amount of displacement of the compensation method as claimed in claim 6, wherein said optical component comprises a longitudinal displacement of the optical components and the displacement of a transverse displacement of the optical component and the acceleration sensing displacement component comprising a displacement component acceleration sensing longitudinal and a lateral acceleration sensing displacement component.
CN 200610128036 2006-09-04 2006-09-04 Mouse and displacement amount compensation process thereof CN100565434C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610128036 CN100565434C (en) 2006-09-04 2006-09-04 Mouse and displacement amount compensation process thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610128036 CN100565434C (en) 2006-09-04 2006-09-04 Mouse and displacement amount compensation process thereof

Publications (2)

Publication Number Publication Date
CN101140490A CN101140490A (en) 2008-03-12
CN100565434C true CN100565434C (en) 2009-12-02

Family

ID=39192460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610128036 CN100565434C (en) 2006-09-04 2006-09-04 Mouse and displacement amount compensation process thereof

Country Status (1)

Country Link
CN (1) CN100565434C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5464416B2 (en) * 2008-10-31 2014-04-09 ソニー株式会社 Input device and method, and program
JP2010170388A (en) 2009-01-23 2010-08-05 Sony Corp Input device and method, information processing apparatus and method, information processing system, and program
CN101950210A (en) * 2010-09-28 2011-01-19 邓仕林 Finger mouse positioned by way of combining optical positioning with acceleration positioning
KR20120040617A (en) * 2010-10-19 2012-04-27 김인광 Pointing device having directional sensor and nondirectional sensor, and method for inputting pointing data thereby
CN101976133A (en) * 2010-11-25 2011-02-16 李云龙 Trample mouse
CN101976132A (en) * 2010-11-25 2011-02-16 李云龙 Foot-controlled mouse and control method thereof
CN102033630A (en) * 2010-12-01 2011-04-27 邓仕林 Optics and acceleration joint location mouse and acceleration correction mode thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000268130A (en) 1999-03-18 2000-09-29 Sanyo Electric Co Ltd Character locus detection method and device and storage medium
CN1540491A (en) 2003-04-25 2004-10-27 微软公司 Computer inputting device with detection power for agular displacement
CN1711516A (en) 2002-11-07 2005-12-21 奥林巴斯株式会社 Motion detection apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000268130A (en) 1999-03-18 2000-09-29 Sanyo Electric Co Ltd Character locus detection method and device and storage medium
CN1711516A (en) 2002-11-07 2005-12-21 奥林巴斯株式会社 Motion detection apparatus
CN1540491A (en) 2003-04-25 2004-10-27 微软公司 Computer inputting device with detection power for agular displacement

Also Published As

Publication number Publication date
CN101140490A (en) 2008-03-12

Similar Documents

Publication Publication Date Title
KR101660600B1 (en) Combined force and proximity sensing
CN102023768B (en) A touch contact positioning method, system and video display terminal
US8633911B2 (en) Force sensing input device and method for determining force information
JP4044522B2 (en) The touch panel system and method for distinguishing a plurality of touch input
US20020061217A1 (en) Electronic input device
US10139959B2 (en) Self-calibration of force sensors and inertial compensation
GB2466605B (en) Method for identifying changes in signal frequencies emitted by a stylus interacting with a digitizer sensor
US7532202B2 (en) Baselining techniques in force-based touch panel systems
CN100549925C (en) Touch sensing equipment and touch sensing method
WO2009094200A1 (en) Integrated force sensitive lens and software
JP5547294B2 (en) Touch interface having a microphone for determining the impact strength of the touch
CN102662573B (en) Obtained by the method of selection and the terminal contact pressure
GB2381238A (en) Pressure sensitive functionality for keyboard keys
JP5546582B2 (en) Stylus, the pressure detection system and a driving method thereof
CN107562281A (en) Detecting a touch input force
US7203911B2 (en) Altering a display on a viewing device based upon a user proximity to the viewing device
CN1755603A (en) Input device, microcomputer and information processing method
CN1653483A (en) Correction of memory effect errors in force-based touch panel systems
KR101903810B1 (en) Reduction of noise in touch sensors
US9658698B2 (en) Using measurement of lateral force for a tracking input device
CN103207669A (en) Ambient light based gesture detection
JP2006512626A (en) Method for improving the positioning accuracy for the determined touch input
US20070070046A1 (en) Sensor-based touchscreen assembly, handheld portable electronic device having assembly, and method of determining touch location on a display panel
US10198097B2 (en) Detecting touch input force
CN1582453A (en) Multi-point touch pad

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted
C17 Cessation of patent right