CN1598751A - Control method for gradient induction mouse - Google Patents

Control method for gradient induction mouse Download PDF

Info

Publication number
CN1598751A
CN1598751A CNA2004100201647A CN200410020164A CN1598751A CN 1598751 A CN1598751 A CN 1598751A CN A2004100201647 A CNA2004100201647 A CN A2004100201647A CN 200410020164 A CN200410020164 A CN 200410020164A CN 1598751 A CN1598751 A CN 1598751A
Authority
CN
China
Prior art keywords
mouse
microprocessor
sensor chip
control method
intelligent terminal
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.)
Granted
Application number
CNA2004100201647A
Other languages
Chinese (zh)
Other versions
CN1327324C (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.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CNB2004100201647A priority Critical patent/CN1327324C/en
Publication of CN1598751A publication Critical patent/CN1598751A/en
Application granted granted Critical
Publication of CN1327324C publication Critical patent/CN1327324C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a gradient induction mouse control method, it is composed by sensor chip 1 and microprocessor 2. the sensor chip generates balancing induction signal XOUT and YOUT along X, Y directions, which are transmitted into timing/counter port of microprocessor uP2, the microprocessor decodes XOUT and YOUT to ensure acceleration on X and Y directions, then controls moving direction and speed of screen mouse, in order to achieve the intention of mouse intelligent control. The invention of mouse intelligent control method uses gravity as an input vector of gravity balancing induction equipment ( sensor chip), through (solidified) software calculation, to ensure the mouse special position on the moving intelligent terminal control panel. So the invention has the characters of simple structure, strong operating stability, and it is an ideal moving intelligent terminal for computer user.

Description

The degree of tilt induction mouse control method
Technical field
The present invention relates to computer realm, specifically a kind of mouse intelligence control method of mobile intelligent terminal.
Technical background
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; X FILT-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.
T 2 = R SET ( Ω ) 125 MΩ
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, mainly form by 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, acceleration on the Y both direction is controlled direction and the speed that screen mouse moves with this.
CNB2004100201647A 2004-07-27 2004-07-27 Control method for gradient induction mouse Expired - Fee Related CN1327324C (en)

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 true CN1598751A (en) 2005-03-23
CN1327324C 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)

Cited By (5)

* Cited by examiner, † Cited by third party
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
US7812818B2 (en) 2006-12-13 2010-10-12 Industrial Technology Research Institute 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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
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
JP4635342B2 (en) * 2001-01-10 2011-02-23 ソニー株式会社 Information processing terminal and method

Cited By (5)

* Cited by examiner, † Cited by third party
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
US7812818B2 (en) 2006-12-13 2010-10-12 Industrial Technology Research Institute 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

Also Published As

Publication number Publication date
CN1327324C (en) 2007-07-18

Similar Documents

Publication Publication Date Title
CN100491083C (en) Flexible double-wheel self-balancing robot posture detecting method
CN101989147A (en) Method and device for regulating touch screen parameter
CN101140468A (en) Emulation test method of aerospace optical remote sensing machine focusing control circuit
CN209297351U (en) A kind of pile number device for fast detecting
CN1598751A (en) Control method for gradient induction mouse
CN103439657B (en) AC servo motor transmission parameter detection method and the application in fault detect thereof
CN106445357A (en) Control method of slider widget, and mobile terminal
CN1648607A (en) Acceleration inductive energy consumption pedometer
CN1320430C (en) Gradient induction encrypted method
CN105119541A (en) DSP (digital signal processor)-based stepper motor control system
CN2724106Y (en) Tilt induction mouse controller
CN1657974A (en) Accelerat induction earthquake forcasting device
CN104991582B (en) A kind of servo pressure control system
CN103425402A (en) Detection method and device for mobile terminal posture
CN205959002U (en) Electron level bar intelligence control system
CN104679352A (en) Optical touch device and touch point detection method
CN2720513Y (en) Gradient inductive refining device
CN1601285A (en) Novel micromhmmeter
CN207423064U (en) A kind of measurer for measuring ramp thickness
CN109085414A (en) Voltage detection method and device
CN204993137U (en) Step motor control system based on DSP
CN207528830U (en) Electric operator Hall element Auto-Test System
CN206877561U (en) A kind of simple pendulum device
CN2624211Y (en) Multifunctional intelligent current meter
CN205720489U (en) Infrared screen touch location accuracy test 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