Background technology
In general, the type of pointing device comprises optical pointing device, mechanical pointing device, uses the human-computer interface device (human interface device) of human body etc.The representative example of optical pointing device is an optical mouse, and the representative example of mechanical pointing device is a roller-ball mouse, and the representative example of human-computer interface device is a touch-screen.
In optical mouse, the reflection and sensed from the light of radiation of light source from object by imageing sensor.Dispose the image of object with the detection data.The image that will dispose in a plurality of time periods compares.Calculate mobile direction and distance by following the tracks of moving of object.
In roller-ball mouse, calculate mobile direction and distance from the rotary distance and the direction of rotation spin.
(resistive) touch-screen is by coming detection position when applying finger pressure to pressure-sensitive pickup wire installing on the screen surface, and calculates moving direction and distance by following the tracks of mobile route.
Fig. 1 is to use the block diagram of example of the conventional optical pointing device of imageing sensor.Object shown in Fig. 1 10, optical pointing device 11 and control device 21.Optical pointing device 11 comprises sensor 13, motion value calculator 14 and interface 15.Control device 21 comprises interface 22, application program unit 23 and output unit 24.
To the operation of conventional optical pointing device of the use imageing sensor of Fig. 1 be described.
Sensor 13 receives from the light of object 10 reflections to produce simulating signal based on the amount of light by using imageing sensor (not shown).
Motion value calculator 14 comprises analog to digital (A/D) converter (not shown), input frame memory (not shown), reference frame storing device (not shown) and image processor (not shown).
A/D converter will become digital signal from the analog signal conversion that sensor 13 receives.The input frame memory storage is from the digital signal of A/D converter output.Frame data before the reference frame storing device storage current frame data.Image processor is by receiving and relatively calculating and export a motion value Vg from the reference frame data of reference frame storing device and current frame data from input frame memory.
The interface 15 of optical pointing device 11 receives this motion value Vg from motion value calculator 14, and the motion value Vg that receives is transferred to external control device (for example, computing machine).
The interface 22 of control device 21 receives motion value Vg from optical pointing device 11.
Application program unit 23 receives motion value Vg from the interface 22 of control device 21, and motion value Vg is directly outputed to output unit 24.Application program unit 23 can comprise the storer of storing an application program.
Output unit 24 will output to monitor (not shown) from the motion value Vg of application program unit 23 inputs, make the user can read this motion value Vg.
Fig. 2 A is the figure of image mapped method that is used to explain the motion value calculator 14 of Fig. 1, and is a kind of method that reference frame data 31 and incoming frame data 32 are compared of being used for.
To the image mapped method that be used for from this motion value of image calculation Vg of object be described referring to Fig. 2 A.
Reference frame data 31 is the view data in the step in current step incoming frame data 32 fronts, and is stored in the reference frame storing device.The part of this reference frame data 31 is set to cover window data (mask window data) 38.Incoming frame data 32 as the view data in the current step are stored in the input frame memory.
Coverage window data 38 with this reference frame data 31 in covering windows units compares with incoming frame data 32.Cover window data 38 and on all incoming frame data, move individual element, and compare to calculate correlation with the incoming frame data.That is to say, compare by first area and calculate correlation the coverage window data 38 of reference frame data 31 and incoming frame data 32.After pixel of displacement, compare by second area and to calculate correlation with incoming frame data 32.Repeat this process till the n-quadrant of incoming frame data 32.With respect to the position of correlation maximum and produce motion value Vg, and motion value Vg is transferred to control device 21 via interface 15 about X and Y-axis.
Fig. 2 B is the curve map of the operating area of conventional optical pointing device.In Fig. 2 B, actual motion curve Figure 36 and motion value curve Figure 37.
Actual motion curve Figure 36 is expressed as X-axis and Y-axis displacement in the X-Y coordinate system with object of which movement.Motion value curve Figure 37 represents the motion value of coming the image of the motion of object sensing to calculate by the optical pointing device 11 that uses Fig. 1 in the X-Y coordinate system.
Actual motion curve Figure 36 and motion value curve as Fig. 2 B are shown in Figure 37, and when using the method for calculating motion value of conventional optical pointing device, the actual motion of object is identical with the motion that is calculated by conventional optical pointing device.
Above-mentioned method for calculating motion value may be favourable in mouse (one type pointing device), and may be disadvantageous in the mobile phone (pointing device of another type) that uses touch-screen.For instance, when use was equipped with the mobile phone of touch-screen, when mobile phone was held in the hand, user's opposing thumb may by mistake make the pointer displacement of touch-screen.In order to move horizontally pointer on the touch-screen of mobile phone, the finger that contacts with touch-screen should move horizontally, but this is inconvenient, because finger moves usually at an angle.Thereby pointer may not can wish to move like that according to the user, and user's opposing thumb may feel exhausted.
This shows that above-mentioned existing pointing device obviously still has inconvenience and defective, and demands urgently further being improved in the use.In order to solve the problem of above-mentioned existence, relevant manufacturer there's no one who doesn't or isn't seeks solution painstakingly, but do not see always that for a long time suitable design finished by development, and common product and method do not have appropriate structure and method to address the above problem, and this obviously is the problem that the anxious desire of relevant dealer solves.Therefore how to found a kind of new pointing device, real one of the current important research and development problem that belongs to, also becoming the current industry utmost point needs improved target.
Because the defective that above-mentioned existing pointing device exists, the inventor is based on being engaged in this type of product design manufacturing abundant for many years practical experience and professional knowledge, and the utilization of cooperation scientific principle, actively studied innovation, in the hope of founding a kind of new pointing device and method for calculating motion value thereof, can improve general existing pointing device, make it have more practicality.Through constantly research, design, and after studying sample and improvement repeatedly, create the present invention who has practical value finally.
Summary of the invention
The objective of the invention is to, overcome the defective that existing pointing device exists, and a kind of pointing device that can limit movement angle when producing motion value output is provided.
Another purpose of the present invention is, overcomes the defective that existing pointing device exists, but and a kind of method for calculating motion value of pointing device of constrained motion angle is provided, thereby be suitable for practicality more, and have the value on the industry.
The object of the invention to solve the technical problems realizes by the following technical solutions.For achieving the above object, according to pointing device of the present invention, it comprises: sensor, and it produces motion detection signal by sense movement; Counter, it receives motion detection signal, calculates motion value based on described motion detection signal, based on the angle of described motion value and calculate a converting motion value, and exports a converting motion; And interface, its output is from the converting motion value of counter input.
Sensor can comprise: imageing sensor, it receives from the light of object reflection, and output is corresponding to the motion detection signal of the amount of received light.
Sensor can comprise: bottom electrode, and it is arranged on the downside; Removable top electrode, it is arranged on the upside and with respect to bottom electrode has capacitance; And capacitive transducer, it exports described capacitance as motion detection signal, and described capacitance changes when top electrode is mobile in response to user's controlled motion.
Capacitive transducer can be connected to the pull bar handle, and described pull bar handle can be moved by the user, and can be connected to resilient material, and wherein when not applying power, top electrode can be positioned at the center position of bottom electrode.
Counter can comprise: motion value calculator, and it receives motion detection signal, calculates motion value by current motion detection signal is compared with previous motion detection signal, and exports described motion value; And converting motion value counter, it receives motion value, based on the angle of described motion value and calculate the converting motion value, and exports described converting motion value.
Motion value calculator can comprise: analog to digital (A/D) converter, and it receives motion detection signal and converts thereof into digital signal; Storer, its reception and storage are from the current digital signal and the previous digital signal of A/D converter output; And image processor, it receives current digital signal and previous digital signal from storer, calculates motion value by current digital signal is compared with previous digital signal, and exports described motion value.
Converting motion value counter can comprise: the direction of motion computing module, its angle with 360 degree is divided into a plurality of angular zones, the representative angle in each zone is set, calculate a converting motion direction value by the angle of calculating motion value based on described representative angle, and export described converting motion direction value; The motion amplitude computing module, it receives motion value, calculates the horizontal component and the vertical component of described motion value, calculates the converting motion range value by revising horizontal component and/or vertical component, and exports described converting motion range value; And output control module, it is by making up this converting motion direction value and this converting motion range value is exported the converting motion value.
When the angle of motion value was arranged in the drag angle zone, the direction of motion computing module can previous converting motion direction value be set to converting motion direction value.
The motion amplitude computing module can receive converting motion direction value in addition, and calculates the amplitude of motion value, and horizontal component and/or vertical component is modified as the component of the coordinate of the amplitude of approaching described motion value of amplitude in the coordinate of converting motion direction value respectively.
The motion amplitude computing module can receive this converting motion direction value in addition, and horizontal component and/or vertical component is modified as the component of the coordinate of the most approaching coordinate corresponding to described motion value in the coordinate of converting motion direction value respectively.
When the coordinate of the most approaching coordinate corresponding to described motion value had two, the motion amplitude computing module was optionally connected closely corresponding to the coordinate of the coordinate of previous converting motion value, and horizontal component and/or vertical component was modified as the component of selected coordinate respectively.
The motion amplitude computing module can calculate the converting motion range value by reducing horizontal component and/or increase vertical component.
Pointing device can further comprise: the motion amplitude computing module, it receives the converting motion value from counter, and is used for horizontal component with the converting motion value in execution and is adjusted to less than the operation of vertical component and is used for vertical component is adjusted to less than after at least one of the operation of horizontal component converting motion value is outputed to interface.
The object of the invention to solve the technical problems also adopts following technical scheme to realize.For achieving the above object, according to pointing device of the present invention, it comprises: sensor, and it produces motion detection signal by sense movement; Counter, it receives motion detection signal, calculates motion value based on described motion detection signal, calculates the converting motion value based on described motion value, and exports this converting motion value; And interface, its output is from the converting motion value of counter input.
Counter can comprise: motion value calculator, and it receives motion detection signal, calculates motion value by current motion detection signal is compared with previous motion detection signal, and exports described motion value; And converting motion value counter, it receives motion value, calculates the horizontal component and the vertical component of motion value, calculates the converting motion value by revising horizontal component and/or vertical component, and exports described converting motion value.
Converting motion value counter can be by reducing horizontal component and/or increase vertical component to calculate this converting motion value.
The object of the invention to solve the technical problems also realizes in addition by the following technical solutions.For achieving the above object, according to the pointing device that the present invention proposes, it comprises: interface, and its device from the output movement value receives motion value, and exports described motion value; Application program unit, it receives motion value from interface, calculates the angle of motion value, calculates a converting motion value based on the angle of motion value, and exports described converting motion value; And output unit, it receives converting motion value and the output vision signal corresponding to it from application program unit.
Application program unit can be divided into a plurality of angular zones with the angle of 360 degree, the representative angle in each zone is set, calculate a converting motion direction value by the angle of calculating motion value based on described representative angle, calculate the horizontal component and the vertical component of described motion value, by revising described horizontal component with reference to this converting motion direction value and/or vertical component is calculated the converting motion range value, and by making up this converting motion direction value and this converting motion range value is exported this converting motion value.
Application program unit is exported this converting motion value after can and/or increasing the vertical component of this converting motion value in the horizontal component that reduces this converting motion value.
The present invention compared with prior art has tangible advantage and beneficial effect.By technique scheme, pointing device of the present invention and method for calculating motion value thereof have following advantage and beneficial effect at least:
Pointing device can provide the positioning action that is fit to the desirable motion of user by the constrained motion angle.In particular, when the user uses touch-screen to come pointer in the control device, can reduce the fatigue of user's finger.
The user can be according to circumstances to use method for calculating motion value as required on all directions.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above-mentioned and other purposes, feature and advantage of the present invention can be become apparent, below especially exemplified by preferred embodiment, and conjunction with figs., be described in detail as follows.
Embodiment
Reach technological means and the effect that predetermined goal of the invention is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, to pointing device and its embodiment of method for calculating motion value, structure, step, feature and the effect thereof that foundation the present invention proposes, describe in detail as after.
Fig. 3 is the block diagram of the pointing device of first one exemplary embodiment according to the present invention.In Fig. 3, shown in object 110 and pointing device 111.Pointing device 111 comprises sensor 113, counter 116 and interface 115.Counter 116 comprises a motion value calculator 114 and a converting motion value counter 112.
To the operation of the optical pointing device of Fig. 3 be described.
Sensor 113 receives from the light of object 110 reflections, and based on producing simulating signal from the amount of the light of object 110 reflections.
Counter 116 comprises: motion value calculator 114, and it is used for receiving simulating signal from sensor 113, and output movement value Vg; And converting motion value counter 112, it is used for receiving motion value Vg from motion value calculator 114, and exports a converting motion value Vm based on the angle of motion value Vg and amplitude.
Motion value calculator 114 comprises A/D converter (not shown), input frame memory (not shown), reference frame storing device (not shown) and image processor (not shown).
A/D converter will become digital signal from the analog signal conversion that sensor 113 receives.Input frame memory will be from the digital signal storage of A/D converter output with as current frame data.The reference frame storing device with the storage of the frame data before the current frame data with as with reference to frame data.Image processor receives from the reference frame data of reference frame storing device with from the current frame data of input frame memory, and calculates a motion value Vg by reference frame data and current frame data are compared, and exports described motion value Vg.
Converting motion value counter 112 receives motion value Vg from motion value calculator 114, calculate converting motion direction value by the angle of calculating motion value Vg, and calculate the converting motion range value by the amplitude that changes motion value Vg, and export a converting motion value Vm by making up described converting motion direction value and described converting motion range value.
Interface 115 receives this converting motion value Vm from converting motion value counter 112, and it is (not shown that described converting motion value Vm is transferred to the external control device; For example, computing machine).
Fig. 4 is the block diagram of converting motion value counter of the pointing device of the one exemplary embodiment according to the present invention.Converting motion value counter 112 comprises direction of motion computing module 222, motion amplitude computing module 225 and output control module 224.
The operation of the converting motion value counter 112 of Fig. 4 will be described referring to Fig. 3.
Direction of motion computing module 222 receives from the motion value Vg of motion value calculator 114 outputs, calculate the angle of motion value Vg, angle by constrained motion value Vg calculates converting motion direction value Vg-d on four or eight directions, and exports described converting motion direction value Vg-d.
Motion amplitude computing module 225 receives motion value Vg from motion value calculator 114, calculates X-axis or the Y-axis value of motion value Vg, calculates a converting motion range value Vg-m by changing X-axis or Y-axis value, and exports described converting motion range value Vg-m.Motion amplitude computing module 225 can receive this converting motion direction value Vg-d from direction of motion computing module 222 in addition.
Output control module 224 is exported converting motion value Vm by receiving and make up from the converting motion direction value Vg-d of direction of motion computing module 222 outputs and the converting motion range value Vg-m that exports from motion amplitude computing module 225.
Perhaps, motion amplitude computing module 225 can be by receiving from the converting motion direction value Vg-d of direction of motion computing module 222 outputs, and, export this converting motion value Vm with described converting motion direction value Vg-d and the converting motion range value Vg-m combination that calculates by motion amplitude computing module 225.Perhaps, motion amplitude computing module 225 can be positioned at converting motion value counter 112 outsides, and can receive converting motion value Vm and change its amplitude.Perhaps, converting motion value counter 112 can be positioned at motion value calculator 114 inside.
Fig. 5 is the curve map of direction of motion computing method of the converting motion value counter of the one exemplary embodiment according to the present invention.In Fig. 5, angle curve Figure 131 and curve Figure 132 to 134.
The direction of motion computing method of Fig. 5 will be described referring to Fig. 3.
In angle curve Figure 131, the angle of X-Y coordinate system is divided into 45 ° of fragments.Being set to central angle with 337.5 °-22.5 ° is 0 ° R1 (hereinafter being called R1 (0 °)), being set to central angle with 22.5 °-67.5 ° is 45 ° R2 (hereinafter being called R2 (45 °)), being set to central angle with 67.5 °-112.5 ° is 90 ° R3 (hereinafter being called R3 (90 °)), being set to central angle with 112.5 °-157.5 ° is 135 ° R4 (hereinafter being called R4 (135 °)), being set to central angle with 157.5 °-202.5 ° is 180 ° R5 (hereinafter being called R5 (180 °)), being set to central angle with 202.5 °-247.5 ° is 225 ° R6 (hereinafter being called R6 (225 °)), being set to central angle with 247.5 °-292.5 ° is 270 ° R7 (hereinafter being called R7 (270 °)), and to be set to central angle with 292.5 °-337.5 ° be 315 ° R8 (hereinafter being called R8 (315 °)).R1 is set to representative angle to the central angle of R8.
In curve Figure 132 to 134, motion value curve Figure 132 represents from the motion value of motion value calculator 114 outputs, angle mapping curve Figure 133 represents that use angle curve Figure 131 is mapped to the angle of the motion value of motion value curve Figure 132, and angular transition curve Figure 134 represents the representative angle of the R1 of angle curve Figure 131 to R8, and it is in order to replace the angle of angle mapping curve Figure 133.Can calculate the angle of the motion value that is mapped to motion value curve Figure 132 by following formula:
θ=arctan(dy/dx)。
In the direction of motion computing method of describing referring to Fig. 5, converting motion value counter 112 receives from the motion value Vg of motion value calculator 114 outputs of Fig. 3, calculate the angle of motion value Vg with respect to initial point (0 °), calculate a converting motion direction value by replacing described angle to the representative angle of R8 with R1.
In the direction of motion computing method of Fig. 5,, when being arranged in R1 between the two the boundary of R8, the angle of motion value Vg may cause problem for the angular transition with motion value Vg becomes the representative angle of R1 to R8.
For instance, when the angle of motion value during corresponding to 22.5 ° of angles, it can be mapped to 337.5 °-22.5 ° R1 (0 °) or 22.5 °-67.5 ° R2 (45 °).Angle place in boundary vicinity ± 5 °, this converting motion direction value may be because the rapid variation between R1 (0 °) and the R2 (45 °) and instability.
In order stably to calculate the converting motion direction value that is positioned at boundary vicinity described above, can calculate this converting motion direction value by hysteresis region that boundary vicinity is set or the mean value that calculates the converting motion direction value of preset time.
Now, will method that use hysteresis region be described.For instance, when the angle of motion value Vg is positioned in 22.5 ° ± 5 ° of the hysteresis regions (for example, 22.5 °), and previous converting motion direction value had been when being R1 (0 °), and converting motion direction value is set to previous converting motion direction value R1 (0 °).
Next, use description to calculate the method for mean value of the converting motion direction value of preset time.For instance, when the angle of motion value Vg corresponding to 22.5 °, and when the frequency of R1 (0 °) was less than the frequency of R2 (45 °) in the previous converting motion direction value of preset time, converting motion direction value was set to converting motion direction value R2 (45 °).
In angle curve Figure 131 of Fig. 5, the angle of X-Y coordinate system is divided into 45 ° of fragments.Be set to R1 (0 °) with 337.5 °-22.5 °, be set to R2 (45 °) with 22.5 °-67.5 °, be set to R3 (90 °) with 67.5 °-112.5 °, be set to R4 (135 °) with 112.5 °-157.5 °, be set to R5 (180 °) with 157.5 °-202.5 °, be set to R6 (225 °) with 202.5 °-247.5 °, be set to R7 (270 °) with 247.5 °-292.5 °, and be set to R8 (315 °) with 292.5 °-337.5 °, so that R1 is set to representative angle to the central angle of R8, and on described eight directions, calculate converting motion direction value.When the angle with the X-Y coordinate system is divided into 90 ° of fragments, be set to R1 (0 °) with 315 °-45 °, be set to R2 (90 °) with 45 °-135 °, be set to R3 (180 °) with 135 °-225 °, and be set to R4 (270 °) with 225 °-315 °, so that R1 is set to representative angle to the central angle of R4, and on described four direction, calculate this converting motion direction value.
In one exemplary embodiment of the present invention, suppose between the method for the described two kinds motion value that are used for transform boundary place and adopt the method for using hysteresis region.
Fig. 6 is the curve map of motion amplitude computing method of the converting motion value counter of the one exemplary embodiment according to the present invention.To the example of the motion amplitude computing method when motion value is X1 and X2 be described.
The motion amplitude computing method can be used a kind of method that is used for the amplitude r between initial point and motion value X1 and the X2 is mapped to selected angular zone, or a kind of coordinate that is used for reference to previous converting motion value method of shining upon.
For instance, will the described method that is used for the amplitude r between initial point and motion value X1 and the X2 is mapped to selected angular zone be described.
As motion value X1 during corresponding to coordinate (3,1), its amplitude and angle can be calculated by following formula:
Because the angle of motion value X1 is arranged in hysteresis region (22.5 °-5 °)<θ<(22.5 °+5 °), so, the angular transition of motion value X1 is become previous converting motion direction value according to above-mentioned direction of motion computing method.When previous converting motion direction value is R1 (0 °), the angular transition of motion value X1 is become converting motion direction value R1 (0 °).That is to say that the angle of the converting motion value of motion value X1 (that is converting motion direction value) is R1 (0 °).
The converting motion value goes up amplitude near the coordinate of the amplitude of motion value X1 corresponding to R1 (0 °).Thereby the converting motion value of motion value X1 is corresponding to coordinate (3,0).That is to say that the amplitude of the converting motion value of motion value X1 is the amplitude of coordinate (3,0).
When previous converting motion direction value is R2 (45 °), the angular transition of motion value X1 is become converting motion direction value R2 (45 °), and the converting motion value of motion value X1 is corresponding to coordinate (2,2).
As motion value X2 during corresponding to coordinate (3 ,-2), its amplitude and angle are calculated by following formula:
According to described direction of motion computing method, the angular transition of motion value X2 become 112.5 °-157.5 ° converting motion direction value R4 (135 °).And the converting motion value of motion value X2 is corresponding to coordinate (3,3).
According to the described method that is used for the amplitude r between initial point and motion value X1 and the X2 is mapped to selected angular zone, will be corresponding to the coordinate Mapping of the converting motion value of motion value X1 and X2 to amplitude near the coordinate of the amplitude r of converting motion direction value.
Next, use description to shine upon the method for the amplitude of motion value X1 and X2 by coordinate with reference to previous converting motion value.
As motion value X1 during corresponding to coordinate (3,1), its angle is calculated by following formula:
θ=arctan(1/3)=18.4349°。
Because the angle of motion value X1 is arranged in hysteresis region (22.5 °-5 °)<θ<(22.5 °+5 °), thereby the angular transition of motion value X1 is become previous direction of motion conversion value according to above-mentioned direction of motion computing method.
When previous converting motion value during, the angular transition of motion value X1 become 337.5 °-22.5 ° converting motion direction value R1 (0 °) corresponding to coordinate (2,0).
At this moment, the converting motion value is corresponding near the coordinate of the coordinate of motion value X1.Therefore, the converting motion value of motion value X1 is corresponding to coordinate (3,0).
When previous converting motion value during corresponding to coordinate (1,1), the converting motion value of motion value X1 is corresponding to coordinate (2,2).
As motion value X2 during corresponding to coordinate (3,2), its angle is calculated by following formula:
θ=arctan(2/3)=146.3099°。
According to the direction of motion computing method, the angular transition of motion value X2 become 112.5 °-157.5 ° converting motion direction value R4 (135 °).
When previous converting motion value during corresponding to coordinate (1,1), the converting motion value of motion value X2 corresponding in the coordinate of R4 near the coordinate of the coordinate of motion value X2.If immediate coordinate has two, select the coordinate of the most approaching coordinate corresponding to previous converting motion value so.Therefore, the converting motion value of motion value X2 is corresponding to coordinate (2,2).
According to the described method of coordinate that is used for shining upon the converting motion value of motion value X1 and X2, with the coordinate of the coordinate Mapping of the converting motion value of motion value X1 and X2 the most approaching described motion value and previous converting motion value in the selected angular zone by coordinate with reference to previous motion value.
Between above-described two kinds of motion amplitude computing method, suppose that the present invention uses the described method that is used for shining upon by the coordinate with reference to previous converting motion value the amplitude of motion value.
Fig. 7 is the curve map that can amplify or reduce convergent-divergent (scaling) method of the amplitude of motion value in the motion amplitude computing method of Fig. 6.In Fig. 7, shown in motion value curve Figure 200, zoom state curve map 201 and convergent-divergent finish curve map 202.
The motion amplitude Zoom method of Fig. 7 will be described referring to Fig. 3 and table 1.
Table 1
X
out==X
in×0.6
Y
out==Y
in×1.0
Motion value curve Figure 200 represents the motion value of object according to X-axis and Y-axis displacement in the X-Y coordinate system.Zoom state Figure 20 1 in the X-Y coordinate system, represent by make from the motion value of motion value calculator 114 output of Fig. 3 multiply by estimated rate that the equation that comprised the use table 1 calculates or from as the generation table of table 1 detect and being mapped to the motion amplitude that the convergent-divergent that calculates is exported in motion that motion imports.Convergent-divergent is finished curve map 202 is represented object according to X-axis and Y-axis displacement in the X-Y coordinate system motion amplification or that reduce.
The motion amplitude computing method of Fig. 7 can be carried out the operation of amplifying or reducing to X-axis, Y-axis or X-axis and Y-axis.
Fig. 8 is the block diagram of the pointing device of second one exemplary embodiment according to the present invention.Pointing device 300 comprises capacitive transducer 310, counter 316 and interface 115.Counter 316 comprises motion value calculator 320 and converting motion value counter 112.
To the pointing device 300 of Fig. 8 be described.
Because the converting motion value counter 112 of Fig. 8 and interface 115 have identical construction and function with those devices of Fig. 3, so omit the description to it.
Capacitive transducer 310 is exported various capacitances under user's control.
Motion value calculator 320 receives from the capacitance of capacitive transducer 310 outputs, and current capacitance and previous capacitance are compared, and calculates movement angle and amplitude according to user's motion, and exports a motion value Vg.
Fig. 9 is the structure of capacitive transducer 310 of Fig. 8 and the cross-sectional view of method for sensing.
The structure of capacitive transducer 310 comprise uniform distribution at four electrode P1 on the downside to P4 be positioned at travelling electrode PM on the upside.Can there be capacitor C 1 to C4 between top electrode and the bottom electrode.Top electrode PM is connected to pull bar handle (not shown).Handle is connected to resilient material (not shown).The pull bar handle can be moved by user's hand.When the pull bar handle that is connected to resilient material does not contact with user's hand, handle at four electrode P1 of uniform distribution to the center position between the P4.
Table 2
|
A |
B |
C |
D |
C1 |
25 |
75 |
65 |
50 |
C2 |
25 |
12.5 |
30 |
50 |
C3 |
25 |
0 |
0 |
0 |
C4 |
25 |
12.5 |
5 |
0 |
The total capacitance of supposing top electrode when the interval ignored between the bottom electrode is 100.In Fig. 9 (A), top electrode has identical value with capacitor C 1 to C4 between the bottom electrode.If capacitor C 1 to C4 has the value shown in the row A of table 2, this means that so user's motion does not exist.In Fig. 9 (B), capacitor C 1 to C4 has the value shown in the row B of table 2, and the motion of pointing out the user is on the positive dirction of X-axis.
In Fig. 9 (C), capacitor C 1 to C4 has the value shown in the row C of table 2, and the motion of pointing out the user is on 22.5 ° direction.In Fig. 9 (D), capacitor C 1 to C4 has the value shown in the row D of table 2, and the motion of pointing out the user is on 45 ° direction.
Figure 10 is the block diagram of the pointing device of the 3rd one exemplary embodiment according to the present invention.Pointing device 521 comprises interface 522, application program unit 523 and output unit 524.
The pointing device 521 of the built-in application program of being equipped with of Figure 10 will be described referring to Fig. 3, Fig. 5 and Fig. 7.
Interface 522 receives motion value Vg from other pointing device 111, and exports this motion value Vg.
Application program unit 523 receives from the motion value Vg of interface 522 outputs, and uses direction of motion computing method and the motion amplitude computing method of Fig. 5 and Fig. 7 to convert motion value Vg to converting motion value Vm.Application program unit 523 can comprise the storer of application storing.
At this moment, in the direction of motion computing method of Fig. 5, the angle of convertible input motion data and amplitude, and can on eight directions or four direction, export converting motion value Vm.
Output unit 524 receives from the converting motion value Vm of application program unit 523 outputs, and outputting video signal Vsig.
The pointing device that is equipped with described application program (for example, computing machine) use Fig. 5 and the direction of motion computing method of Fig. 7 and angle and the amplitude that the motion amplitude computing method are calculated the input motion value, and on eight or four direction output corresponding to the vision signal of converting motion value Vm.
The input motion value can be the converting motion value Vm that is input to the motion value Vg of pointing device 521 or is used as the output of pointing device.
Figure 11 A is the process flow diagram according to the direction of motion computing method of the application program of the 3rd one exemplary embodiment of Fig. 9.
In step S11,360 ° angle of X-Y coordinate system is divided into I angular zone (wherein I is less than or equal to 360 integer).
In step S12, in each of a described I angular zone, representative angle is set.
In step S13, from the motion value of importing from the interface of Figure 10, extract angle.
In step S14, the angle of being extracted of determining step 13 whether be included in described angular zone one in.When the angle of being extracted be included in described angular zone one in the time, program forwards step S15 to.Otherwise program turns back to step S13 to extract angle from next motion value.
In step S15, determine whether the angle of being extracted is included in the hysteresis region (± 5 °) of the boundary vicinity between the angular zone.When the angle of being extracted was included in the hysteresis region, program forwarded step S17 to.When the angle of being extracted was not included in the hysteresis region, program forwarded step S16 to.
In step S16, select to be mapped to angular zone, and replace the angle of being extracted, and representative angle is set to converting motion direction value with the representative angle of selected angular zone from the angle of motion value extraction.
In step S17, replace the angle of being extracted with previous converting motion direction value, and previous converting motion direction value is set to converting motion direction value.
In step S18, export described converting motion direction value.
Figure 11 B is the process flow diagram according to the motion amplitude computing method of the application program of the 3rd one exemplary embodiment of Fig. 9.
In step S31, receive the converting motion direction value of the output step of Figure 11 A.
In step S32, extract coordinate figure from the motion value of importing from the interface of Figure 10.
In step S33, determine whether previous converting motion direction value is identical with current converting motion direction value.When before being worth when identical with current converting motion direction, program forwards step S34 to.When previous converting motion direction value and current converting motion direction value not simultaneously, program forwards step S35 to.
When previous and current converting motion direction are worth when identical, the most approaching current converting motion direction value and the previous new coordinate of the coordinate of converting motion direction value are set in step S34.
When previous converting motion direction value and current converting motion direction value not simultaneously, the new coordinate of the coordinate of the most approaching current converting motion direction value is set in step S35.
In step S36, carry out the coordinate zoom operations with on duty to amplify or to reduce new coordinate to the value of fixed-ratio or given table by the X or the Y-axis that make new coordinate.
In step S37, by coming output coordinate through the coordinate of the angled conversion value of new coordinate conversion of convergent-divergent.
The coordinate zoom operations of execution in step S36 before can the operation that is used for comparison angular transition value in step S33.
According to one exemplary embodiment of the present invention, pointing device can provide the positioning action that is fit to the desirable motion of user by the constrained motion angle.In particular, when the user uses touch-screen to come pointer in the control device, can reduce the fatigue of user's finger.
The user can be according to circumstances to use method for calculating motion value as required on all directions.
The above, it only is preferred embodiment of the present invention, be not that the present invention is done any pro forma restriction, though the present invention discloses as above with preferred embodiment, yet be not in order to limit the present invention, any those skilled in the art, in not breaking away from the technical solution of the present invention scope, when the method that can utilize above-mentioned announcement and technology contents are made a little change or be modified to the equivalent embodiment of equivalent variations, in every case be the content that does not break away from technical solution of the present invention, refer to any simple modification that above embodiment is done in fact according to technology of the present invention, equivalent variations and modification all still belong in the scope of technical solution of the present invention.