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

Mouse and displacement amount compensation process thereof Download PDF

Info

Publication number
CN100565434C
CN100565434C CNB2006101280363A CN200610128036A CN100565434C CN 100565434 C CN100565434 C CN 100565434C CN B2006101280363 A CNB2006101280363 A CN B2006101280363A CN 200610128036 A CN200610128036 A CN 200610128036A CN 100565434 C CN100565434 C CN 100565434C
Authority
CN
China
Prior art keywords
displacement
mouse
optical
component
acceleration
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CNB2006101280363A
Other languages
Chinese (zh)
Other versions
CN101140490A (en
Inventor
李建兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Darfon Electronics Corp
Original Assignee
Darfon Electronics Corp
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 Darfon Electronics Corp filed Critical Darfon Electronics Corp
Priority to CNB2006101280363A 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
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

A kind of mouse is comprising optical sensor, acceleration transducer and micro-control unit.Optical sensor is in order to detect the displacement of mouse, with the output optical displacement gauge.Acceleration transducer is in order to detecting the acceleration of mouse, and exports the acceleration signal according to this.Micro-control unit is in order to receiving the acceleration signal, and obtains the acceleration sensing displacement according to this; Micro-control unit also receives optical displacement gauge, to compare acceleration sensing displacement and optical displacement gauge, with output mouse displacement signal.

Description

Mouse and displacement amount compensation process thereof
Technical field
The present invention relates to a kind of mouse apparatus, particularly relate to a kind of mouse apparatus that quickens rule that has.
Background technology
Computing machine has become indispensable electronic product in the modern life, and the mouse hardware input interface of indispensability during the operational computations machine especially.At present on market, optical mouse since cleaning easily, plurality of advantages such as reduction generally do not replace early stage roller type mouse with increasing service time for not easy to wear and degree of accuracy.
Optical mouse is to come the sensing user to put on the actual displacement amount of optical mouse via optical sensor (Optical Sensor), to change the cursor position on the screen accordingly.
Yet,, will influence the sensor operation of optical sensor, and make the cursor on the display screen to be positioned at accurately on the set goal position when the material of desktop is unfavorable for the light reflex time.
Summary of the invention
In view of this, purpose of the present invention just provides a kind of mouse and displacement amount compensation process thereof, and mouse of the present invention can solve above-mentioned conventional mouse effectively and can not be normally be unfavorable for the problem of operating on the desktop of light reflection in some.
According to purpose of the present invention, a kind of mouse is proposed, comprising optical sensor (OpticalSensor), acceleration transducer and micro-control unit (Micro Control Unit).Optical sensor is in order to detect the displacement of mouse, with the output optical displacement gauge.Acceleration transducer is in order to detecting the acceleration of mouse, and exports the acceleration signal according to this.Micro-control unit is in order to receiving the acceleration signal, and obtains the acceleration sensing displacement according to this; Micro-control unit is in order to receive this acceleration signal, and obtain an acceleration sensing displacement according to this, this micro-control unit also receives this optical displacement gauge, with the relatively direction and the size of this acceleration sensing displacement and this optical displacement gauge, and export a wherein selected preferable displacement as the mouse displacement signal, wherein, when acceleration sensing displacement and optical displacement gauge equal and opposite in direction, be that preferable displacement is as the mouse displacement signal then with optical displacement gauge; When unequal and its direction is inequality when acceleration sensing displacement and optical displacement gauge size, be that preferable displacement is as the mouse displacement signal then with the acceleration sensing displacement; When identical and optical displacement gauge is greater than the acceleration sensing displacement when the direction of acceleration sensing displacement and optical displacement gauge, be that preferable displacement is as the mouse displacement signal then with optical displacement gauge; With when optical displacement gauge during less than the acceleration sensing displacement, be that preferable displacement is as the mouse displacement signal then with the acceleration sensing displacement.
。According to another object of the present invention, a kind of displacement amount compensation process of mouse is proposed.This compensation method is applied to mouse, and this compensation method comprises following step.At first, provide optical displacement gauge and acceleration sensing displacement, wherein optical displacement gauge and acceleration sensing displacement comprise a plurality of optical displacement components and a plurality of acceleration sensing displacement component respectively.Then, judge whether these a plurality of optical displacement components equal these corresponding a plurality of acceleration sensing displacement components in fact respectively.Then, when this a plurality of optical displacement components when being unequal with corresponding these a plurality of acceleration sensing displacement components, judge the wherein direction of an optical displacement component of these a plurality of optical displacement components, with the direction of a corresponding acceleration sensing displacement component whether for identical in fact, and when each described optical displacement component and corresponding each described acceleration sensing displacement component when equating in fact, as this mouse displacement signal, and obtain one second desktop testing result with this optical displacement gauge.Then, when this optical displacement component therewith the direction of acceleration sensing displacement component when identical in fact, judge that whether this optical displacement component is greater than this acceleration sensing displacement component, and the direction of working as this optical displacement component and this acceleration sensing displacement component is not for not simultaneously, as this mouse displacement component signal, and obtain this first desktop testing result with this acceleration sensing displacement component.Then, when this optical displacement component is not more than this acceleration sensing displacement component, with the mouse displacement component signal of this acceleration sensing displacement component as the mouse displacement signal, and obtain the first desktop testing result, and when this optical displacement component during greater than this acceleration sensing displacement component, as this mouse displacement component signal, and obtain this second desktop testing result with this optical displacement component.Afterwards, output mouse displacement signal, and export first, second desktop testing result.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, a preferred embodiment cited below particularly, and be described with reference to the accompanying drawings as follows.
The accompanying drawing simple declaration
Fig. 1 shows the circuit block diagram according to the mouse of embodiments of the invention.
Fig. 2 shows the process flow diagram of displacement amount compensation process of the micro-control unit 108 of Fig. 1.
The reference numeral explanation
102: mouse
104: electronic installation
106: acceleration transducer
106a: transverse acceleration sensing cell
106b: longitudinal acceleration sensing cell
108: micro-control unit
110: optical sensor
112: button controller
SAx: transverse acceleration component
SAy: longitudinal acceleration component
SOD: optical displacement gauge
SMD: mouse displacement signal
202~216: operation steps
Embodiment
Mouse of the present invention comprises acceleration transducer, and with the acceleration of sensing mouse, and to change this acceleration be the acceleration sensing displacement.Mouse of the present invention also compares the optical displacement gauge that acceleration sensing displacement and optical sensor are sensed, and be used as the displacement of mouse with an acceleration sensing displacement and an optics sensed displacement amount preferable sensed displacement amount wherein, make mouse can normally operate in different desktop materials.
Please refer to Fig. 1, it shows the circuit block diagram according to the mouse of the embodiment of the invention.Mouse 102 is to couple with an electronic installation 104, and electronic installation 104 is for example to be computing machine in the present embodiment.Mouse 102 comprises acceleration transducer 106, micro-control unit (Micro Control Unit) 108 and optical sensor (Optical Sensor) 110.Optical sensor 110 is coupled to micro-control unit 108, and in order to detect the displacement of mouse 102, with output optical displacement gauge SOD.Wherein, optical displacement gauge SOD comprises vertical optical displacement component and lateral optical displacement component, and it is respectively the transversal displacement amount that vertically reaches of optical sensor 110 detected mouses 102.
For example for quickening rule (G Sensor), acceleration transducer 106 comprises transverse acceleration sensing cell 106a and longitudinal acceleration sensing cell 106b to acceleration transducer 106.Laterally reaching longitudinal acceleration sensing cell 106a and 106b couples with micro-control unit 108 respectively.Laterally and longitudinal acceleration sensing cell 106a and 106b respectively in order to the transverse acceleration and the longitudinal acceleration of sensing mouse 102, and respectively according to sensed laterally and longitudinal acceleration obtain transverse acceleration component SAx and longitudinal acceleration component SAy.Wherein, laterally and when vertically being respectively general use habit of mouse 102, the housing of mouse 102 vertically and laterally.
Micro-control unit 108 receives laterally and longitudinal acceleration component SAx and SAy, and stores a value storage table (Look Up Table).Micro-control unit 108 comes with reference to value storage table, to produce transverse acceleration sensed displacement component (not illustrating) and longitudinal acceleration sensed displacement component (not shown) respectively according to laterally reaching longitudinal acceleration component SAx and Say.
Micro-control unit 108 compares the direction and the amount of displacement of lateral optical displacement component and transverse acceleration sensed displacement component, and the direction and the amount of displacement of more vertical optical displacement component and longitudinal acceleration sensed displacement component, to select preferable horizontal and length travel component to be used as horizontal mouse displacement signal (not illustrating) and vertical mouse displacement signal (not shown) of mouse 102 in vertical optical displacement component in laterally reaching longitudinal acceleration sensed displacement component and laterally reaching.Micro-control unit 108 also produces mouse displacement signal SMD according to laterally reaching vertical mouse displacement signal, and with mouse displacement signal SMD input computing machine.So, computing machine can come cursor in the moving screen according to mouse displacement signal SMD, makes that the cursor in the screen can be positioned on the set goal position more accurately.Micro-control unit 108 more according to selected preferable laterally and the length travel component judge this moment, whether mouse 102 operated in the desktop that optical sensor 110 can't sensing optical displacement gauge SOD.
Next further specify as follows to micro-control unit 106 according to the operation that transverse acceleration sensed displacement component and lateral optical displacement component obtain horizontal mouse displacement signal.
Micro-control unit 108 judges at first whether transverse acceleration sensed displacement component equates in fact with the lateral optical displacement component.When transverse acceleration sensed displacement component equates with the lateral optical displacement component, expression mouse 102 operates on the desktop of the abundant material of reflection ray, and optical sensor 110 accurately sensing lateral optical displacement component to react the transversal displacement amount of mouse 102; Micro-control unit 108 is preferable transversal displacement amount with the lateral optical displacement component, and with this preferable transversal displacement amount as horizontal mouse displacement signal.
When transverse acceleration sensed displacement component and lateral optical displacement component were unequal, micro-control unit 108 further judged whether transverse acceleration sensed displacement component is identical with the direction of lateral optical displacement component.When the direction of transverse acceleration sensed displacement component and lateral optical displacement component is inequality, expression mouse 102 operates on the desktop of the material that is unfavorable for light reflection, optical sensor 110 can't be on the desktop of this moment sensing lateral optical displacement component react the transversal displacement amount of mouse 102; Micro-control unit 108 is preferable transversal displacement amount with transverse acceleration sensed displacement component, and with this preferable transversal displacement amount as horizontal mouse displacement signal.
When the direction of transverse acceleration sensed displacement component and lateral optical displacement component was identical, micro-control unit 108 judged further that more whether the lateral optical displacement component is greater than transverse acceleration sensed displacement component.When lateral optical displacement component during greater than transverse acceleration sensed displacement component, expression mouse 102 is to operate on the desktop of the abundant material of reflection ray, and optical sensor 110 accurately sensing lateral optical displacement component to react the transversal displacement amount of mouse 102.Yet, micro-control unit 108 may because of mouse 102 laterally move closer to the uniform motion, and the transverse acceleration that can't sense according to transverse acceleration sensing cell 106a is effectively changed out accurate transversal displacement component; Micro-control unit 108 is preferable transversal displacement amount with the lateral optical displacement component, and with this preferable transversal displacement amount as horizontal mouse displacement signal.
When lateral optical displacement component during less than transverse acceleration sensed displacement component, expression this moment, mouse 102 operated on the desktop of the material that is unfavorable for the light reflection, optical sensor 110 can't be on the desktop of this moment sensing lateral optical displacement component react the transversal displacement amount of mouse 102; This moment, micro-control unit 108 was preferable transversal displacement amount with transverse acceleration sensed displacement component, and with this preferable transversal displacement amount as horizontal mouse displacement signal.
Though present embodiment only explains according to the example that is operating as that lateral optical displacement component and transverse acceleration sensed displacement component produce horizontal mouse displacement signal with micro-control unit 108, right micro-control unit 108 can be analogized according to this according to the operation that vertically optical displacement component and longitudinal acceleration sensed displacement component produce vertical mouse displacement signal.
Please refer to Fig. 2, it shows the process flow diagram of displacement amount compensation process of the micro-control unit 108 of Fig. 1.Be to be that example explains according to the displacement amount compensation process that transverse acceleration sensed displacement component and lateral optical displacement component obtain horizontal mouse displacement signal among Fig. 2 with micro-control unit 108.
At first, as step 202, the transversal displacement amount of sensing mouse 102 is to provide lateral optical displacement component and transverse acceleration sensed displacement component.Then,, judge whether the lateral optical displacement component equals transverse acceleration sensed displacement component as step 204, if, execution in step 206, with one of lateral optical displacement component and transverse acceleration sensed displacement component as horizontal mouse displacement signal.Then, execution in step 208 is exported horizontal mouse displacement signal, and finishes the operation steps of the displacement amount compensation process of present embodiment.In step 204, if not, execution in step 210, judge whether the lateral optical displacement component has identical direction with transverse acceleration sensed displacement component, if not, execution in step 212, as horizontal mouse displacement signal, follow execution in step 208 with transverse acceleration sensed displacement component; If, execution in step 214, whether the displacement of judging the lateral optical displacement component greater than the displacement of transverse acceleration sensed displacement component, if not, execution in step 212, then execution in step 208; If, execution in step 216, with the lateral optical displacement component as horizontal mouse displacement signal.Then, follow execution in step 208.
Though present embodiment is that example explains with micro-control unit 108 according to the displacement amount compensation process that transverse acceleration sensed displacement component and lateral optical displacement component obtain horizontal mouse displacement signal only, so, displacement amount compensation process can the rest may be inferred according to horizontal displacement amount compensation process longitudinally.Then, micro-control unit 108 laterally reaches vertical mouse displacement signal generation mouse displacement signal SMD according to resulting, and mouse displacement signal SMD is inputed to computing machine.So, computing machine can make cursor to be positioned at more accurately on the set goal position according to the cursor that is come by the mouse displacement signal SMD that preferably laterally reaches vertical mouse displacement signal generation on the moving screen.
(Light EmittingDiode, LED) device when being unfavorable for the desktop of light reflection to operate in material in mouse 102, remind the user to change the operation desktop of mouse 102 also for example to have light emitting diode on the housing of present embodiment mouse 102.And the mouse 102 of present embodiment also can remind user's mouse 102 to operate in the desktop that material is unfavorable for the light reflection via the display of computing machine, to change the operation desktop of mouse 102.And the mouse 102 of present embodiment also comprises a button controller 112, is coupled to microcontroller 108, with left button (not shown), right button (not shown) and the roller key (not shown) of mouse beacon 102.
The mouse of present embodiment has and quickens rule and optical sensor, with sensing respectively and export the acceleration and the optical displacement gauge of mouse.The mouse degree of will speed up of present embodiment is converted to the acceleration sensing displacement, with relatively degree of will speed up sensed displacement amount and optics sensed displacement amount, judges whether mouse operates in the bad desktop of desktop quality; The mouse of present embodiment also is used as the displacement signal output of mouse with the acceleration sensing displacement when the desktop quality is bad.The mouse of present embodiment like this can improve conventional mouse effectively can not operate in the shortcoming that some material is unfavorable for the desktop of light reflection, can operate in the desktop that material is unfavorable for the light reflection and have, and has the advantage that can detect the desktop quality simultaneously.
In sum, though the present invention discloses as above with a preferred embodiment, so it is not in order to limit the present invention.Those skilled in the art can be used for a variety of modifications and variations under the premise without departing from the spirit and scope of the present invention.Therefore, protection scope of the present invention is as the criterion with the application's claim.

Claims (7)

1. mouse comprises:
One optical sensor is in order to detect the displacement of this mouse, to export an optical displacement gauge;
One acceleration transducer in order to detecting the acceleration of this mouse, and is exported an acceleration signal according to this; And
One micro-control unit, in order to receive this acceleration signal, and obtain an acceleration sensing displacement according to this, this micro-control unit also receives this optical displacement gauge, with the relatively direction and the size of this acceleration sensing displacement and this optical displacement gauge, and export a wherein selected preferable displacement as the mouse displacement signal, wherein, when acceleration sensing displacement and optical displacement gauge equal and opposite in direction, be that preferable displacement is as the mouse displacement signal then with optical displacement gauge; When unequal and its direction is inequality when acceleration sensing displacement and optical displacement gauge size, be that preferable displacement is as the mouse displacement signal then with the acceleration sensing displacement; When identical and optical displacement gauge is greater than the acceleration sensing displacement when the direction of acceleration sensing displacement and optical displacement gauge, be that preferable displacement is as the mouse displacement signal then with optical displacement gauge; With when optical displacement gauge during less than the acceleration sensing displacement, be that preferable displacement is as the mouse displacement signal then with the acceleration sensing displacement.
2. mouse as claimed in claim 1, wherein this optical displacement gauge comprises a vertical optical displacement component and a lateral optical displacement component; This acceleration sensing displacement comprises a longitudinal acceleration sensed displacement component and a transverse acceleration sensed displacement component; This mouse displacement signal comprises a vertical mouse displacement component signal and a horizontal mouse displacement component signal.
3. mouse as claimed in claim 2, relatively this vertical optical displacement component and this longitudinal acceleration sensed displacement component of this micro-control unit wherein is with this vertical mouse displacement component signal of output; This micro-control unit is this lateral optical displacement component and this transverse acceleration sensed displacement component relatively, with this horizontal mouse displacement component signal of output.
4. mouse as claimed in claim 1, wherein this micro-control unit obtains this acceleration sensing displacement via a value storage table according to this acceleration signal.
5. mouse as claimed in claim 1, wherein this acceleration transducer is acceleration rule.
6. the displacement amount compensation process of a mouse, this compensation method is applied to a mouse, and this compensation method comprises:
(a) provide an optical displacement gauge and an acceleration sensing displacement, wherein this optical displacement gauge and this acceleration sensing displacement comprise a plurality of optical displacement components and a plurality of acceleration sensing displacement component respectively;
(b) judge whether each described optical displacement component equals each corresponding described acceleration sensing displacement component in fact respectively;
(c) when each described optical displacement component when being unequal with corresponding each described acceleration sensing displacement component, judge the wherein direction of an optical displacement component of described optical displacement component, with the direction of a corresponding acceleration sensing displacement component whether for identical in fact;
(c ') when each described optical displacement component and corresponding each described acceleration sensing displacement component when equating in fact, as the mouse displacement signal, and obtain one second desktop testing result with this optical displacement gauge;
(d) when the direction of this optical displacement component and this acceleration sensing displacement component when identical in fact, judge that whether this optical displacement component is greater than this acceleration sensing displacement component;
(d ') when the direction of this optical displacement component and this acceleration sensing displacement component for not simultaneously, as mouse displacement component signal, and obtain the first desktop testing result with this acceleration sensing displacement component;
(e) when this optical displacement component during,, and obtain one first desktop testing result with the mouse displacement component signal of this acceleration sensing displacement component as a mouse displacement signal less than this acceleration sensing displacement component;
(e ') when this optical displacement component during greater than this acceleration sensing displacement component, as this mouse displacement component signal, and obtains this second desktop testing result with this optical displacement component; And
(f) export this mouse displacement signal, and export this first, second desktop testing result.
7. displacement amount compensation process as claimed in claim 6, wherein said optical displacement component comprises a vertical optical displacement component and a lateral optical displacement component, and described acceleration sensing displacement component comprises a longitudinal acceleration sensed displacement component and a transverse acceleration sensed displacement component.
CNB2006101280363A 2006-09-04 2006-09-04 Mouse and displacement amount compensation process thereof Expired - Fee Related CN100565434C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101280363A 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
CNB2006101280363A 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
CNB2006101280363A Expired - Fee Related 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 (9)

* 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
CN101976132A (en) * 2010-11-25 2011-02-16 李云龙 Foot-controlled mouse and control method thereof
CN101976133A (en) * 2010-11-25 2011-02-16 李云龙 Trample mouse
CN102033630A (en) * 2010-12-01 2011-04-27 邓仕林 Optics and acceleration joint location mouse and acceleration correction mode thereof
CN107430450B (en) * 2015-01-20 2020-06-09 Otm技术有限公司 Apparatus and method for generating input
CN108021244A (en) * 2016-11-03 2018-05-11 原相科技股份有限公司 A kind of optics movement quality determination methods and optics movement quality judging system

Also Published As

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

Similar Documents

Publication Publication Date Title
CN100565434C (en) Mouse and displacement amount compensation process thereof
US7714847B2 (en) Capacitive touchpad having dual traces coupled with uneven spaced interlaced sensors
CN103207669A (en) Ambient light based gesture detection
US20150253866A1 (en) Using Measurement of Lateral Force for a Tracking Input Device
US20070091075A1 (en) Method for window operation on a touchpad using a touch defined original point
CN101110009A (en) Touch detection method and system for a touch sensor
CN105654923A (en) Method for adjusting backlight brightness and user terminal
CN108021269A (en) Touch sensor controller
CN101551228A (en) Inner diameter measuring device and measuring method
CN102445961A (en) Computer device
CN102419666A (en) Object sensing device
CN102968218B (en) Optical image type touch device and touch image processing method
CN101713991A (en) Embedded machine visual intelligent terminal
CN104571670A (en) Detection method and system of touch device
US10613650B2 (en) Navigation device with fast frame rate upshift
CN106249872A (en) The control method of a kind of proximity transducer, device and mobile terminal
TWI530851B (en) Touch controller and method of controlling touch controller
TWI498789B (en) Proximity sensing method, proximity sensing device, and electronic device
US20110168458A1 (en) Detecting apparatus of capacitive touch panel and the method therefor
CN1230665C (en) Electronic flight instrument system detector
CN100449469C (en) Capacitance type touch pad for simplifying scanning lines and detection method
CN109782930A (en) Pressure x velocity mouse and its control method
CN101419496B (en) Electronic device with pointing function and method thereof
US9152270B2 (en) Methods and systems for improving touch sensitivity of touch-based devices
AU2003208283A1 (en) Device and method for detecting web breakage in a web processing machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091202

Termination date: 20130904