CN1327324C - Control method for gradient induction mouse - Google Patents
Control method for gradient induction mouse Download PDFInfo
- Publication number
- CN1327324C CN1327324C CNB2004100201647A CN200410020164A CN1327324C CN 1327324 C CN1327324 C CN 1327324C CN B2004100201647 A CNB2004100201647 A CN B2004100201647A CN 200410020164 A CN200410020164 A CN 200410020164A CN 1327324 C CN1327324 C CN 1327324C
- Authority
- CN
- China
- Prior art keywords
- mouse
- microprocessor
- sensor chip
- intelligent terminal
- 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
Links
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
The present invention relates to a method for controlling a gradient induction mouse, which is composed of a sensor chip 1 and a microprocessor 2. X-Y directional balancing induction signals X (OUT) and Y (OUT) generated by the sensor chip are transferred into the end port of a timer / a timing device of the microprocessor UP2, the balancing induction signals X (OUT) and Y (OUT) are decoded by the microprocessor, and the acceleration speed in an X direction and a Y direction can be determined; thereby, the direction and the speed of the mouse movement of a screen can be controlled so that the purpose of the mouse intelligent control can be achieved. The mouse intelligent control method proposed by the present invention uses the gravity as one input vector of a balancing inductor (sensor chip) for the gravity acceleration, and the space position of the mouse on a control panel of the movable intelligent terminal can be determined through the (solidification) software calculation. Thereby, the present invention has the characteristics of simple structure, and strong operational reliability, and is the ideal movable intelligent terminal for most computer users.
Description
Technical field
The present invention relates to computer realm, specifically a kind of mouse intelligence control method of mobile intelligent terminal.
Background technology
Present various mobile intelligent terminal, as palm PC PDA, be applied to the robot calculator field more and more widely, the input of information generally is the method that relies on button or touch-screen, and easily mouse input method owing to the requirement that does not meet the hand-held device portability can not get widespread use.If can be under the prerequisite that does not influence the mobile intelligent terminal portability, realize mouse Based Intelligent Control function, strengthen its ease for use, be undoubtedly that vast mobile intelligent terminal user dreams of.Proposition of the present invention can make this imagination be achieved.
Summary of the invention
The objective of the invention is to propose a kind of built-in balance induction installation to be replaced general external tumbling-type mouse, under the prerequisite that does not influence the mobile intelligent terminal portability, realize the mouse control function.
The present invention mainly forms (as Fig. 1) by sensor chip 1 and microprocessor 2, the X that sensor chip 1 produces, the induction signal X of the sense of equilibrium of Y direction
OUTAnd Y
OUTBe sent to timer/timer port of microprocessor μ P2, by the induction signal X of 2 pairs of sense of equilibriums of microprocessor
OUTAnd Y
OUTDecode, determine X, the acceleration on the Y both direction is controlled direction and the speed that screen mouse moves with this, thereby reaches the purpose of mouse Based Intelligent Control.ADXL202E is the two dimension acceleration sensor chip, and it can be provided at X, on the Y direction with the digital signal of the proportional working cycle of acceleration (being pulse width and the ratio in cycle) as output.A μ P can be directly imported in this working cycle output, working cycle is counted and calculated respectively X, the acceleration on the Y direction by μ P.X, the working cycle curve of typical case's output as shown in Figure 5 on the Y direction.
Wherein: the width that is in " on " state in the T1-circulation.
The width of T2-global cycle.Variation range: by 0.5ms to 10ms.
The time of working cycle-be in " on " state (T1) accounts for the ratio of global cycle (T2).
The pulse width of pulse width-be in " on " state.
Acceleration formula:
Acceleration (g)=(T1/T2-50%)/(12.5%)
Here, 0g represents 50% working cycle.Zoom factor: 12.5% working cycle/g
At X, on the Y both direction, output circuit can feed timer/timer port of a μ P to analog signal conversion for using working cycle modulated digital signal, this digital signal, and it is counted and decodes.Timer/timer is by measuring T1, the length of T2 signal and by above-mentioned formula: acceleration (g)=(T1/T2-50%)/(12.5%) calculates acceleration.Coding/decoding method has a lot, and the method that present embodiment adopts is (shown in Figure 6 as curve), and timer begins counting from the rising edge (Ta=0) of X-axis, and record negative edge (Tb), timer stop timing when X-axis rising edge (Tc) arrival next time.T1=Tb-Ta,T2=Tc-Ta。For Y-axis output, do to handle equally (Td, Te, Tf).
The mouse intelligence control method that the present invention proposes is with the input vector of gravity as acceleration of gravity balance induction installation (sensor chip), by (curing) computed in software, thus the locus of mouse on definite mobile intelligent terminal control panel.When the control panel of mobile intelligent terminal was parallel to the ground, acceleration transducer was the most responsive to degree of tilt.In case during the control panel run-off the straight of mobile intelligent terminal, the mouse on the control panel will roll under the effect of acceleration of gravity, the moving direction and the speed of the direction that tilts by control panel and the big or small mouse beacon of degree of tilt.When mouse enters certain selection area, can do short stay, and after the user presses ACK button, carry out " affirmation ".Also the speed that can move by the software setting mouse, function such as stop.
Description of drawings
Accompanying drawing 1 is hardware system block diagram of the present invention.
Accompanying drawing 2 is embodiment A DXL202E chip pin configuration instruction figure.
Wherein: the ST-test; T2-connects R
SET, by R
SETT2 is set; The COM-common port; Y
OUTThe output of-Y passage working cycle; X
OUTThe output of-X passage working cycle; Y
FILT-Y channel filtering pin; XF
ILT-X passage filtering pin; V
DD-3V is to 5.25V.
Accompanying drawing 3 is ADXL202E chip circuit figure.
Accompanying drawing 4 is the software for calculation process flow diagram.
Accompanying drawing 5 is X, the working cycle curve map of typical case's output on the Y direction.
Accompanying drawing 6 is the decoding process of ADXL202E chip.
Embodiment
Below the present invention is described further by specific embodiment.
The present invention adopts the ADXL202E chip of ANALOG company as sensor chip 1.This chip both can be measured dynamic acceleration, can measure static acceleration again.Measurement range: ± 2g.The ADXL202E built-in chip type in mobile intelligent terminal, and is connected with the microprocessor μ P of mobile intelligent terminal, and the ADXL202E chip circuit as shown in Figure 3.The connection situation of eight pins of chip is: V
DDMeet 3V to the 5.25V power supply; V
DDAnd connect capacitor C between the COM
DCPlay the effect of uncoupling, C
DCRecommendation 0.1 μ F; X
FILT, Y
FILTConnect capacitor C respectively
X, C
Y, and by C
X, C
YValue the bandwidth of low-pass filter is set; T2 connecting resistance R
SETX
OUTAnd Y
OUTBe respectively X, the output on the Y direction, timer/timer port of a μ P of feeding, μ P calculates X respectively by software, the acceleration on the Y direction; ST is a test lead.
The present embodiment parameter is provided with: C
DC: recommendation 0.1 μ F; T2:X, the Y direction is used the width of identical global cycle.The T2 computing formula is as follows, by different R is set
SETValue is provided with T2.
C
X, C
Y: by C
X, C
YThe bandwidth of low-pass filter is set.
R
FILT: representative value 32k Ω.
The software for calculation workflow:
The groundwork flow process of software as shown in Figure 4.The output X of CPU read transducer chip ADXL202E at first
OUTAnd Y
OUTCalculate X, the acceleration of Y both direction and mouse be at X, the new coordinate of Y direction, and the new coordinate of mouse and former coordinate compared, if do not have to change then continue the output of read transducer chip ADXL202E, if change, then on screen, show the reposition of mouse, carry out " affirmation " up to the user, enter respective handling, otherwise CPU continues the output of read transducer chip ADXL202E.
Beneficial effect of the present invention and advantage are, the mouse intelligence control method that proposes is with the input vector of gravity as acceleration of gravity balance induction installation (sensor chip), by (curing) computed in software, thus the locus of mouse on definite mobile intelligent terminal control panel.This mouse intelligence control method is to be prerequisite not influence the mobile intelligent terminal portability, realizes mouse Based Intelligent Control function, strengthens its ease for use.Therefore having characteristics simple in structure, that operational reliability is strong, is the desirable mobile intelligent terminal of vast computing machine user.
Claims (1)
1. degree of tilt induction mouse control method, be used for mobile intelligent terminal, wherein mobile intelligent terminal comprises sensor chip (1) and microprocessor (2), it is characterized in that sense of equilibrium's induction signal of sensor chip (1) generation is sent to the timer/timer port of microprocessor (2), by microprocessor (2) sense of equilibrium's induction signal is decoded, determine X, the acceleration on the Y both direction is controlled direction and the speed that screen mouse moves with this.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100201647A CN1327324C (en) | 2004-07-27 | 2004-07-27 | Control method for gradient induction mouse |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100201647A CN1327324C (en) | 2004-07-27 | 2004-07-27 | Control method for gradient induction mouse |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1598751A CN1598751A (en) | 2005-03-23 |
CN1327324C true CN1327324C (en) | 2007-07-18 |
Family
ID=34663161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100201647A Expired - Fee Related CN1327324C (en) | 2004-07-27 | 2004-07-27 | Control method for gradient induction mouse |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1327324C (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100399848C (en) * | 2005-03-28 | 2008-07-02 | 英华达(上海)电子有限公司 | Method for realizing acceleration transducer in mobile phone and mobile phone for realizing same |
CN100401243C (en) * | 2005-12-28 | 2008-07-09 | 财团法人工业技术研究院 | State sensing mechanism and inertia finger control device using this mechanism |
TWI330802B (en) | 2006-12-13 | 2010-09-21 | Ind Tech Res Inst | Inertial sensing method and system |
CN101551718B (en) * | 2006-12-25 | 2011-01-05 | 财团法人工业技术研究院 | 3D micro-inertia sensing method and system |
CN102109913B (en) * | 2009-12-29 | 2012-11-28 | 金领导科技(深圳)有限公司 | Controller pointer positioning method based on composite MEMS sensor and controller |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1063411A (en) * | 1996-08-13 | 1998-03-06 | Nippon Telegr & Teleph Corp <Ntt> | Portable information processing terminal |
JPH10124178A (en) * | 1996-10-15 | 1998-05-15 | Olympus Optical Co Ltd | Electronic main terminal, method for processing the same, and its medium |
CN1484785A (en) * | 2001-01-10 | 2004-03-24 | 索尼公司 | Information processing terminal |
-
2004
- 2004-07-27 CN CNB2004100201647A patent/CN1327324C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1063411A (en) * | 1996-08-13 | 1998-03-06 | Nippon Telegr & Teleph Corp <Ntt> | Portable information processing terminal |
JPH10124178A (en) * | 1996-10-15 | 1998-05-15 | Olympus Optical Co Ltd | Electronic main terminal, method for processing the same, and its medium |
CN1484785A (en) * | 2001-01-10 | 2004-03-24 | 索尼公司 | Information processing terminal |
Also Published As
Publication number | Publication date |
---|---|
CN1598751A (en) | 2005-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107462148B (en) | A kind of door state detection method and device | |
CN104484049B (en) | A kind of information processing method and electronic equipment | |
CN102314230B (en) | Input device of electronic equipment and character input method | |
US10699665B2 (en) | Semiconductor device, portable terminal device, and operation detecting method | |
CN101100059A (en) | Flexible double-wheel self-balancing robot attitude detecting method | |
CN103512528B (en) | A kind of method and intelligent terminal that utilizes intelligent terminal to measure | |
CN1327324C (en) | Control method for gradient induction mouse | |
CN105487689A (en) | Ring mouse and method for operating mobile terminal through same | |
US20120284442A1 (en) | Low latency interrupt collector | |
CN107238354A (en) | A kind of Angle Measuring Equipment and its measuring method based on PSD position sensors | |
CN201945265U (en) | Intelligent digital measuring tape | |
CN103076945A (en) | Interface editing method and device of touch-screen electronic device | |
CN1648607A (en) | Acceleration inductive energy consumption pedometer | |
CN1320430C (en) | Gradient induction encrypted method | |
CN107786137A (en) | A kind of design of step motor control system | |
CN2724106Y (en) | Tilt induction mouse controller | |
CN106155529A (en) | Method for controlling mobile terminal and mobile terminal | |
CN106123940A (en) | A kind of data acquisition unit and acquisition method | |
CN1657974A (en) | Accelerat induction earthquake forcasting device | |
CN104142430A (en) | RLC measuring instrument and measuring method | |
CN105469137A (en) | Reciting-chanting auxiliary device and system thereof | |
CN207423064U (en) | A kind of measurer for measuring ramp thickness | |
CN206339617U (en) | A kind of IC-card is swiped the card sensibility testing arrangement | |
CN2720513Y (en) | Gradient inductive refining device | |
CN206877561U (en) | A kind of simple pendulum device |
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 | ||
C19 | Lapse of patent right due to non-payment of the annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |