Background technology
Trackpad (touch pad) is a kind of input media of hommization, because input medias such as keyboard, mouse, trace ball failed to fill the demand that part is satisfied the user in the past, again because of design of electronic products now all with light, thin, short, little be orientation, from the input media of all kinds being integrated in wherein, and Trackpad can be done the multi-level menu designing requirement except meeting, the mode of operation that also can have hommizations such as keyboard, mouse and handwriting input simultaneously is so become most popular selection.
Consult Fig. 1, Trackpad 10 is after producing the simulating signal of voltage, carried out analog/digital conversion and calculated the coordinate values at touch point place via a controller 20, whether the user of identification simultaneously produces one is clicked (tap, or click), double-click (double tap, or double click), towing (drag), with move (movement) wait move after, will transmit relevant controlling signal on the main frame 30, so that the vernier on the screen 40 of further main control system 30 moves, clicks actions such as object, execution formula.
In the controller 20, its analog/digital converter (figure does not show) is subjected to extraneous noise (noise) easily, for example electromagnetic interference, except need the careful layout of circuit, the various wave filters of increase of controller 20 inside being solved this problem, more need add suitable sampling, identification algorithm, otherwise noise very easily causes of short duration false pushing or false phenomenon such as leave, and causes controller 20 to produce erroneous judgement for action.
The U.S. the 6th, 380, No. 931 patent cases have disclosed " clicking " action identifying method of a kind of Trackpad, below with its synopsis as an illustration.As shown in Figure 2, whether it detects earlier has object (for example pointer) to be contacted with (as step 201) on the Trackpad, then relatively whether this object is contacted with time T on the Trackpad less than a predetermined value Tmax (as step 202), and determine that more whether moving range (displacement) S of this object on this Trackpad be less than a predetermined value Smax (step 203), after meeting above-mentioned two qualificationss, judge that just this is one " clicking " action, and then the coordinate information that transmits the control signal of an expression " clicking " and striking position is to main frame.Yet, this method for easily cause false push the noise of phenomenon and fail effectively suppress, particularly for the calculating in response to two kinds of restrictive conditions (duration of contact, and moving range), the building of its logical circuit is set to that this is also higher.
Summary of the invention
The object of the present invention is to provide and a kind ofly can filter unnecessary noise effectively, " click " the click action discrimination method and the controller thereof of accuracy of action to increase identification.
So, controller of the present invention is used for the action of at least one object of identification on this Trackpad, to send corresponding to the controlling signal on the main frame of this action, this controller comprises a coordinate computing unit, a contact detection unit, a timing unit, an arithmetic element, and a coding unit.
This coordinate computing unit is to be used for detecting the electronic signal that this Trackpad sends, and is contacted with coordinate position on this Trackpad to calculate this object.This contact detection unit is to be used for detecting the electronic signal that this Trackpad sends, and whether contacts with this Trackpad to judge this object.
The result that arithmetic element can be judged according to this contact detection unit, when calculating this object and finishing this contact action, contacted first o'clock distance of this object and this Trackpad, this arithmetic element judge at this first o'clock apart from less than second o'clock apart from and this first o'clock apart from greater than a pre-regularly distance, with this second o'clock apart from interior duration of contact for once greater than this pre-regularly apart from and its contact position coordinate when falling within striking action in the legal zone of a click action and producing, this arithmetic element promptly produces the control signal of an expression click action.
Coding unit is encoded in order to the coordinate position that control signal that this arithmetic element produced and this coordinate arithmetic element are produced, and is sent on this main frame.
The discrimination method of click action of the present invention at first is to detect action that this object contacts this Trackpad to take place and pick up counting, and then detects the release that this object contacts this Trackpad, to obtain contacted first o'clock distance of this object and this Trackpad.At last, when this first the time apart from less than one second the time apart from and greater than a pre-regularly distance, this second o'clock apart from interior duration of contact for once greater than this pre-regularly apart from and its contact position coordinate when falling within striking action in the legal zone of a click action and producing, promptly produce the control signal of an expression click action.
In simple terms, the present invention except second o'clock apart from interior whether for once striking move judge, go up more this object be contacted with this Trackpad the time apart from whether greater than this pre-regularly apart from and less than the condition restriction of second o'clock distance, therefore can suppress noise effectively, increase identification and move parasexuality really, more preferably, owing to do not need to utilize moving range to be used as restrictive condition in the past, be set to this and reduce power consumption or the like so can reduce building of logical circuit.
For further specifying above-mentioned purpose of the present invention, design feature and effect, the present invention is described in detail below with reference to accompanying drawing.
Embodiment
Consult Fig. 3, the controller 100 of Trackpad 300 of the present invention is to be used for the action of identification one object 200 on this Trackpad 300, to send controlling signal on the main frame 400 corresponding to this action.Be noted that Trackpad 300 can be made a general reference condenser type, inductance type and other similar Trackpad 300, in this example, be meant a capacitive Trackpad 300 especially.
Object 200 is to be used for contacting with Trackpad 300, be exactly according to the action of object 200 on Trackpad 300, can make controller 100 send out expression the corresponding of its action controls signal on the main frame 400, general these control signals can be divided into coordinate variation, click, double-click, pull, move, scrolling, left button, right button, middle key etc.., further to simulate the behavior of mouse, keyboard.Certainly, object 200 needs match with Trackpad 300, the Trackpad 300 of electric capacity for example, and object 200 is human fingers, or other kind conductor.
Main frame 400 is meant various electronic installations, for example the telepilot of desktop computer, notebook computer, panel computer, PDA(Personal Digital Assistant), mobile phone, various electrical appliances, perhaps other Trackpad 300 electronic installation as input media of arranging in pairs or groups.
The preferred embodiment of this controller 100 comprises an analog/digital conversion unit 1, coordinate computing unit 2, a contact detection unit 3, an arithmetic element 4, a coding unit 5, a tunnel interface module 6, and a timing unit 7.
Because Trackpad 300 respectively has plurality of wires to distribute respectively,, for example therefore can calculate numerical value such as coordinate values by the variable quantity of measurement voltage so when object 200 touches Trackpad 300, then can produce capacitance variation on the Trackpad 300 on X, Y direction.
Analog/digital conversion unit 1 is to be connected with this Trackpad 300, and can be converted to different voltage swings corresponding digital signal, so that follow-up processing.After the digital signal that coordinate computing unit 2 comes receiving that analog/digital conversion unit 1 transmits, will this digital signal decoding be a corresponding absolute coordinates value (X, Y).
Whether contact detection unit 3 can detect on the present Trackpad 300 and be pushed by object, the X that is transmitted according to Trackpad 300, Y voltage signal exactly, can calculate object 200 and impose on time length on the Trackpad 300, the judgement of actions such as the parameter of this time length relates to and clicks, double-clicks, towing.
Arithmetic element 4 is to be connected with coordinate computing unit 2, contact detection unit 3, arithmetic element 4 mainly is the result that can be judged according to contact detection unit 3, be aided with arithmetic element 4 built-in logical calculus methods of putting again, just can judge action that the user carries out whether meet click, double-click, condition such as towing, because the present invention is the differentiation of being absorbed on the click action, will be in hereinafter doing a detailed description about this part.
Except the differentiation of action, arithmetic element 4 also can provide rate of travel, exactly after many group absolute coordinates values are orderly sent to arithmetic element 4, arithmetic element 4 also can be according to the otherness of the different coordinates in front and back, calculate the rate of travel of object 200 on Trackpad 300, parameters such as speed, direction, distance even are so to transmitting absolute coordinates or rate of travel to main frame 400, look closely the application demand on the main frame 400 and decide.
Therefore coding unit 5 is to be connected with arithmetic element 4, can receive absolute coordinates signal, the rate of travel signal that arithmetic element 4 is produced, or touching signals (comprise click, double-click, action such as towing).Coding unit 5 can be different signals, are encoded to the handwriting input agreement handled for the operating system of main frame 400 or standard mouse agreement etc., for example the PS/2 mouse standard agreement of the mouse standard agreement of Microsoft company, IBM Corporation.
Tunnel interface module 6, its effect is the signal that is coding unit 5 after coded, be sent on the main frame 400 in the sequence mode, with the desktop computer is example, be to be sent on keyboard controller (figure does not show) or the south bridge wafer (figure does not show), so that the processor in the main frame 400 is sent interrupt request (IRQ), make main frame 400 can further obtain coordinate position, carry out call parameter such as action, further carry out mobile, the selection of formula of vernier or the actions such as execution of formula.
Consult Fig. 4 and Fig. 5, the discrimination method of click action of the present invention is at first shown in step 401,402, the action that utilizes contact detection unit 3 to come inspected object 200 to be contacted with on the Trackpad 300 takes place, among Fig. 5 during T1 the positive edge (electronegative potential changes the transient state between noble potential into) apart from waveform be exactly the generation of abutment action, arithmetic element 4 and control a timing unit 7 and pick up counting simultaneously.
Then, as step 403, leave after object 200 is contacted with Trackpad 300 the preceding paragraph time T 1 (when referring to first apart from), contact detection unit 3 can detect object 200 and be contacted with release on the Trackpad 300, is exactly the negative edge (noble potential changes the transient state between electronegative potential into) of waveform among Fig. 5.
Then, shown in step 404, pick up counting through second o'clock after the T2 time span, timing unit 7 will finish timing.
Step 405, after timing unit 7 finishes timing, arithmetic element 4 can judge whether to meet " first o'clock apart from T1 less than second o'clock apart from T2 and greater than one pre-regularly beyond Tmin, second o'clock in T2, for once duration of contact greater than pre-regularly apart from the striking action of Tmin " condition.If not, skip to step 408, arithmetic element 4 is judged non-for clicking gesture, to do the judgement of other actions.If yes, continue step 406.
In order to judge click action more accurately, more on Trackpad 300, plan the legal regional (not shown) that a click action is used, and in step 406, the contact position coordinate (X of judgment object 200 and Trackpad 300, Y) whether fall within legal zone (X1 ~ X2, the Y1 ~ Y2 of a click action; In the X1<X2, Y1<Y2).In step 406, be judged as and be (X1≤X≤X2, Y1≤Y≤Y2), representative is a click action really, and execution in step 407 will produce a control signal that is expressed as click action, shown in Fig. 5 below, and, be sent on the main frame 400 by coding unit 5, tunnel interface module 6.If when step 406 is judged as not, represent non-click action, skip to step 408.
In simple terms, if will need meet following condition for click action:
(1)T2>T1
(2)T1>Tmin
In T2, for once regularly move greater than pre-duration of contact in (3) second o'clock apart from the striking of Tmin
(4)X1≤X≤X2;Y1≤Y≤Y2
In sum, the present invention picks up counting when object 200 is contacted with Trackpad 300, and judged whether one-shot striking action in the T2 at second o'clock, go up more this object 200 be contacted with first o'clock of this Trackpad 300 apart from T1 whether greater than pre-regularly apart from Tmin and less than second o'clock apart from T2, with the contact position coordinate (X of object 200 on Trackpad 300, Y) need fall within the condition restriction in the legal zone of click action, therefore can suppress noise effectively, increase the identification accuracy of action.More preferably, whether be the restrictive condition of click action owing to do not need to utilize moving range to be used as identification, so the logical circuit of controller 100 inside also can be simplified, build with reduction and be set to basis and minimizing power consumption, reach purpose of the present invention really.
Though the present invention describes with reference to current specific embodiment, but those of ordinary skill in the art will be appreciated that, above embodiment is used for illustrating the present invention, under the situation that does not break away from spirit of the present invention, also can make the variation and the modification of various equivalences, therefore, as long as variation, the modification to the foregoing description all will drop in the scope of claims of the present invention in connotation scope of the present invention.