Summary of the invention
In view of the problem of above known technology, the object of the present invention is to provide a kind of index device of tool acceleration sensor, as devices such as mouses, can not be subjected to the restriction of planar grains, also do not have the problem that dust is built up.
Another object of the present invention is to provide a kind of index device of tool acceleration sensor, can operate in the three-dimensional space, and come vernier on the control information treatment facility display with index device at the acceleration that tridimensional motion was produced.
According to disclosed technology, the invention provides a kind of index device of tool acceleration sensor, comprise at least:
One X is to the degree acceleration sensor, in order to the X that detects and obtain this index device to the degree acceleration;
One Y is to the degree acceleration sensor, in order to the Y that detects and obtain this index device to the degree acceleration;
One data processing unit, couple this X to spending acceleration sensor and this Y, to spending acceleration and this Y, calculate the speed and the displacement of this index device to the degree acceleration according to this X to the degree acceleration sensor, and, carry out the position adjustment by the startup and the halted state of this index device; And
One transport interface couples this data processing unit, with the speed and the displacement of this index device that this data processing unit calculates, delivers to a messaging device;
Above-mentioned X comprises respectively to the degree acceleration sensor to degree acceleration sensor and Y: be installed on first inductance unit and second inductance unit on the substrate, and lie in a spring and be fixed in a magnetic core of a fixed head; This first inductance unit and this second inductance unit are for this magnetic core being center symmetry arrangement, and with this magnetic core at a distance of a fixing distance, when this index device moves, this magnetic core promptly produces relative displacement with this first inductance unit and this second inductance unit, and this first inductance unit and this second inductance unit promptly respectively produce an inductance variable quantity.The present invention utilizes data processing unit that the acceleration information of not spending is in the same way handled, and can obtain the displacement data of index device.Each acceleration sensor to degree of the present invention can be installed on first inductance unit and second inductance unit on the substrate, and is in a spring and is fixed in one of fixed head magnetic core and constitutes.Utilize the symmetry of the central inductance of first inductance unit and second inductance unit with respect to magnetic core, can when moving, index device produce the variation of the inductance value of a correspondence, be measurable data with this inductance value change transitions again, can obtain the moving situation of index device.The invention provides the concrete grammar of inductance measuring quantitative changeization, that is, the oscillator that utilizes inductance and electric capacity to form, when inductance changed, the oscillation frequency of oscillator promptly can change.Therefore, as long as know this oscillation frequency, the variation inductance amount that can survey, that is, the motion of index device.
Relevant characteristics and implementation of the present invention, conjunction with figs. is described in detail as follows as most preferred embodiment now:
Embodiment
Please refer to Fig. 1, the structure calcspar of the index device of tool acceleration sensor of the present invention, index device can be a mouse, and index device 10 of the present invention has comprised X to spending acceleration sensor 20, Y to spending acceleration sensor 30, Z to degree acceleration sensor 40, data processing unit 50 and transport interface 60.
From Fig. 1 as seen, X is connected with data processing unit 50 respectively to degree acceleration sensor 40 with Z to degree acceleration sensor 30 to degree acceleration sensor 20, Y, and X, Y that X is obtained to degree acceleration sensor 40 to degree acceleration sensor 30 and Z to degree acceleration sensor 20, Y and Z are sent to data processing unit 50 to the acceleration information of spending and are handled respectively; Data processing unit 50 comes data such as the speed of parameter device and displacement according to X, Y and Z to the degree acceleration information.Data processing unit 50 is connected with transport interface 60 in addition, 60 of transport interface be index device to outer connecting device, responsible data processing unit 50 handled data are sent to messaging device 70.
Additional disclosure be only need handle the data of two dimension owing to refer generally to device for mark to degree, therefore, the demand of Z on degree acceleration sensor 40 viewable design selected to want or device not, below all with.
Please refer to Fig. 2, the organigram of acceleration sensor of the present invention.Each acceleration sensor has all comprised fixed head 80, and the spring 90 that is fixed thereon is installed in the magnetic core 100 of spring end, and is printed on inductance 110 and inductance 120 etc. on the insulated substrate 130.
Inductance 110 and 120 is a symmetrical structure, etching mode manufacturing that can printed circuit board (PCB).The main function mode of quickening sensor is described as follows now: when index device moves, the variation of acceleration is promptly arranged, and at this moment, the magnetic core 100 that is installed on spring 90 ends promptly can produce relative displacement with inductance 110 and 120, so inductance 110 and 120 inductance value promptly can change.By calculating the inductance variable quantity of two inductance, can find out the mobile situation of index device.
Fig. 3 then provides an embodiment who detects the inductance variable quantity.Among Fig. 3, inductance 110 with by MOS140 and 150 and the synthetic oscillatory circuit of electric capacity 160,170 inverter group of being formed, when the inductance value of inductance 110 changed to some extent, the output of this oscillatory circuit frequency road (Fout) will change to some extent.In other words, as long as detect the variable quantity that the variation of this frequency can predict inductance 110, the also just relative position of inductance 110 and magnetic core 100 variation as can be known.
To inductance 120, its relative position and inductance 110 are complementary relationship, that is, when magnetic core 100 near inductance 120, magnetic core 100 is simultaneously also away from inductance 110, otherwise, when magnetic core 100 away from inductance 120, then simultaneously magnetic core 100 also near inductance 110 (please refer to Fig. 2).This kind complementary relationship can be used as a kind of instrument of error recovery.In addition, influence each other, can use different electric capacity to form the different oscillatory circuit of oscillation frequency for fear of two oscillatory circuits.
Concrete index device moving situation is reached by the data processing unit among Fig. 1 50, that is, data processing unit 50 is analyzed the acceleration information that is captured, analyze oscillation data and survey the halted state of index device 10, the acceleration information of halted state, acceleration after then the acceleration information of halted state subtracts each other therewith with each acceleration information be the acceleration that index device 10 moves, and the acceleration after subtracting each other thus comes the speed and the displacement of 10 motions of parameter device.
Please continue with reference to figure 4 sense data processing flow chart of the present invention.Its process comprises the following step at least: at first, be index device stationary state (step 410) at the beginning, then, acquisition data (step 420), that is, the static and present accekeration of acquisition index device.Secondly, take a decision as to whether stationary state (step 430), if stationary state is judged that then displacement is zero (step 440), and entered the motion that step 420 recomputates index device again; If not stationary state, whether then further judgement obtains the acceleration information (step 450) of the stationary state of index device, if the acceleration information of the stationary state of index device is arranged, the displacement (step 460) of parameter device then, that is, the acceleration of the stationary state of index device and present acceleration are subtracted each other, can and transmit (step 470) with the displacement coding, then the action that once repeats again enters step 420; If do not obtain the stationary state data of index device, then capture the acceleration of stationary state of index device and present acceleration information (step 420) again.
By cycle calculations so constantly, can constantly obtain the dynamic motion data of index device.Must be noted that above-mentioned acceleration information, be single acceleration information to degree, the data processing unit 50 in the middle of Fig. 1 promptly obtains whole acceleration information according to each acceleration information to degree.
Please refer to Fig. 5, the present invention obtains the process flow diagram of sense data, comprise the following step, at first, obtain two inductance value, compensate earlier from two inductance of sensor, then it is subtracted each other, can calculate initial acceleration value (step 510), immediately, deposit the result in data (as 16 bits) formation (step 520).Then, analyze its vibration situation, obtain oscillation period (step 530),, judge that then acceleration is zero (step 550) if there is not new oscillation data (step 540); If new oscillation data is arranged, then calculate the mean value in one-period, deduct the acceleration information of stationary state again, can calculate the acceleration information (step 560) that makes new advances.
Wherein, no matter be X to degree, Y to degree or Z to degree, method of operating is all identical.
At Fig. 5, in the acquisition flow process of sense data, obtaining of oscillation period becomes acceleration ratio basic point, and its fundamental purpose is providing oscillation period.Please refer to Fig. 6, obtain process flow diagram oscillation period of the present invention, comprises the following step: at first, with the acceleration information of maximum and the mean value of the acceleration information of minimum the data in the formation are divided into two groups (step 610), then, the above and following data (step 620) of calculating mean value; Then, judge the above and following data of mean value, if all be (step 630) of assembling, and the cycle (step 640) in reasonable range, have symmetry (step 650) simultaneously, what then decidable detected is a complete oscillation period (step 660).Otherwise if in the middle of the step 630, mean value data above or that mean value is following are not assembled, and then recomputate once, return step 610; Similarly, in the middle of the step 640, if the cycle not in the reasonable scope, return step 610; In the middle of the step 650,, return step 610 if the above and following data of mean value are not had a symmetry.
Except acceleration calculation at the volley, the action that stops of index device is judged also very important.Please refer to Fig. 7, index device halted state of the present invention is determined process flow diagram, and it comprises the following step:
At first, if the acceleration reference data of halted state has been arranged, and minimum acceleration and acceleration reference value are very near (step 710), but then the preliminary judgement index device stops, and replace the accekeration (step 720) of halted state with the acceleration information of minimum.If the minimum acceleration value is also bigger than acceleration reference value, then be the acceleration reference value of halted state with original acceleration reference value, that is, acceleration reference value constant (step 730).Then, considering have under the situation of noise and vibrations,, judge that then index device stops if the accekeration of continuous three mensuration equates (step 740), and replace the accekeration (step 750) of halted state, and return step 710 and continue to judge halted state with present accekeration; Otherwise,, then indicate stationary state (step 760), and return step 710 and judge once again again if three continuous mensuration accekerations are unequal.
According to the index device of disclosed tool acceleration sensor, can be only motion by index device itself be control information treatment facility vernier, need not consider problems such as the texture of desktop and dust.
Though the present invention discloses as above with aforesaid preferred embodiment; right its is not in order to limit the present invention; anyly be familiar with present technique field person; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, therefore scope of patent protection of the present invention must be looked the appended claim scope of this instructions and defined.