Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In order to maloperation during electromagnetic touch input can be reduced, improve the experience of user, embodiments provide a kind of input method of electromagnetic touch, as shown in Figure 1, comprising:
101, according to the phase value of electromagnetic induction signal and the gain output valve of above-mentioned electromagnetic induction signal, input pressure value is determined.
For example, can after the phase value obtaining current electromagnetic induced signal, judge whether the phase value of acquisition is within the scope of the pressure phase value that presets.If obtain the gain output valve of electromagnetic induction signal when judging that the phase value obtained is within the scope of this pressure phase value.Then, according to the gain output valve determination input pressure value obtained.
Such as, can obtain phase value be within the scope of pressure phase value time, judge acquisition gain output valve whether be in preset without within the scope of pressure yield value.If judge, the gain output valve obtained is in this without within the scope of pressure yield value, then determine that input pressure value is zero, otherwise, utilize traditional pressure algorithm to obtain input pressure value according to the phase value obtained.
Or when also can be within the scope of pressure phase value at the phase value obtained, whether the gain output valve judging acquisition is greater than the gain residual quantity of regulation with the difference of the initial point yield value preset.If judge, the difference of gain output valve and this initial point yield value obtained is greater than the gain residual quantity of regulation, then determine that input pressure value is zero, otherwise, utilize traditional pressure algorithm to obtain input pressure value according to the phase value obtained.
In embodiments of the present invention, namely input pressure value refers to the pressure suffered by the nib of time writer.And pressure phase value scope is a numerical range.Can according to time writer draw near actual data detected in the process close to electromagnetic handwritten plate, determine phase value when time writer is suspended on electromagnetic handwritten plate but has force value, using the phase range determined as this pressure phase value scope.In addition, this pressure phase scope can be dispatched from the factory and be arranged, and also can be to set according to resetting after a series of corresponding Actual measurement process is carried out in instruction of user.
A numerical range without pressure yield value scope.Can when time writer be unsettled, detect the gain output valve corresponding to phase value be within the scope of pressure phase value of electromagnetic induction signal, using the gain output valve scope that detects as this without pressure yield value scope.In addition, this can dispatch from the factory without pressure yield value scope and arrange, and also can be to set according to resetting after a series of corresponding Actual measurement process is carried out in instruction of user.
Initial point yield value is the gain output valve that time writer has the initial point of person's handwriting when just having touched on electromagnetic handwritten plate.This initial point yield value and gain residual quantity can be dispatched from the factory and be arranged, and also can be to set according to resetting after a series of corresponding Actual measurement process is carried out in instruction of user.
Certainly, also not only can obtain the gain output valve of electromagnetic induction signal when the phase value of electromagnetic induction signal is within the scope of pressure phase value, while the phase value obtaining electromagnetic induction signal, obtain gain output valve.
102, according to above-mentioned input pressure value, the respective handling of above-mentioned electromagnetic induction signal is carried out.
For example, when the input pressure value determined is zero, stop the coordinate according to current electromagnetic induction signal determination time writer position.When the input pressure value determined is non-vanishing, can process accordingly with reference to prior art, such as, carry out corresponding display according to the coordinate of current electromagnetic induction signal determination time writer position, carry out corresponding display according to the thickness of the line of the size determination person's handwriting of input pressure.
The input method of the electromagnetic touch that the present embodiment provides, by according to the phase value of electromagnetic induction signal and the gain output valve determination input pressure value of electromagnetic induction signal, and processes accordingly according to above-mentioned input pressure value.Therefore, it is possible to when time writer is identical with the phase value be suspended on electromagnetic handwritten plate to phase value during electromagnetic handwritten plate actual act, utilize gain output valve to distinguish both of these case.And then, while improving the induction height of time writer, drainage can be there is when avoiding time writer to be suspended on certain altitude place, reduces maloperation during electromagnetic touch input, thus improve the experience of user.
In a upper embodiment, when the phase value of electromagnetic induction signal is within the scope of pressure phase value, can according to the gain output valve of electromagnetic induction signal with without pressure yield value scope determination input pressure value, also according to the gain output valve of electromagnetic induction signal, initial point yield value and gain residual quantity determination input pressure value, below in conjunction with above-mentioned different situations, a upper embodiment can be further described in detail.
As shown in Figure 2, the input method of the present embodiment electromagnetic touch, comprising:
201, the phase value of electromagnetic induction signal is obtained.Enter step 202.
In the present embodiment, the antenna plate of electromagnetic handwritten plate forms by organizing coil arrangement more, and signal generator produces pulse signal between the coil of electromagnetic handwritten plate.In addition, be built-in with filtering circuit in time writer, this filtering circuit also produces induced signal after being excited and is reflected back this electromagnetic handwritten plate.
For example, first can confirm induction height, this highly depends on the electromagnetic energy of electromagnetic handwritten plate, and the energy that time writer itself can receive.The energy produced is larger, and electromagnetic handwritten plate is highly higher to the induction of time writer.And along with time writer is away from electromagnetic handwritten plate, signal weaker, electromagnetic energy diminishes.
Then, can go out respond to phase place variation range in height by software detection.Specifically, when signal is received after coil receives, amplifies through amplifying circuit, resolve into I phase signals and the Q phase signals of different qualities simultaneously.I phase signals and Q phase signals along with time writer pressure two signal of change between phase place also can change.Such as shown in Figure 6, can be the change in four quadrants by the Phase Equivalent of signal, because time writer draws near contact electromagnetic screen again to the process pressed, the change of phase place be the consecutive variations of several quadrant, and sinusoidal signal waveform can embody.Suppose phase place to be expressed as A, by formula A=|I|/((I
2+ Q
2)
1/2) phase place is calculated, thus obtain the phase value of differing heights.Because this value is a sinusoidal waveform value, when therefore we carry out dullness process to the value of each quadrant on this basis, as shown in Figure 7, show that the pressure of a corresponding dullness changes numerical value.
In this step, gone out that time writer is current to be suspended on electromagnetic handwritten plate corresponding phase value by software detection, concrete grammar referring to prior art, can not repeat them here.
202, judge whether the phase value obtained is within the scope of the pressure phase value that presets.If judge, this phase value is within the scope of this pressure phase value, then enter step 203, otherwise skip to step 205.
For example, due in practical operation, when the height of time writer distance electromagnetic handwritten plate changes from high to low, its phase place first has a bit of region to increase then dull reduction, can divide out according to the phase range of the data tested out by time writer corresponding to the unsettled but situation being tested with force value by algorithm, i.e. pressure phase value scope, this pressure phase value scope i.e. unsettled regional extent (the A-B region in Fig. 5) of leaking.
203, the gain output valve of electromagnetic induction signal is obtained.Enter step 204.
For example, in induction altitude range, energy intensity is also reduce gradually from low toward height, and receive in the process of the signal that time writer is sent at electromagnetic handwritten plate, signal can be carried out amplification process by controller.At this moment, amplifier can adjust enlargement factor, until within our normal signal scope according to the size receiving energy.We claim this enlargement factor to be gain.Generally we set required gain level by amplifying circuit, are amplified to several times and are decided by the signal intensity specifically received.Therefore, in induction region, highly higher, energy is more weak, and its gain is larger.Change from high to low to gain the process of minimum movement with time writer is the highest from induction zone.In this step, the gain output valve of each period can be gone out by data output detections.
204, judge obtain gain output valve whether be in preset without within the scope of pressure yield value.If judge, this gain output valve is in this without within the scope of pressure yield value, then enter step 205, otherwise skip to step 207.
For example, within the scope of pressure phase value, Programmable detection gain output valve is passed through.Owing to being amplified through the signal of amplifying circuit to the strong and weak scope of difference in electromagnetic signal processing procedure, differing heights has different enlargement factors, i.e. gain.Find by after the gain size that detects the signal of time writer place height induction, gain output valve increases along with the reduction of energy, therefore, fall gain the process of input pressure to time writer reduce gradually from time writer is unsettled, and change in units of segment region.Generalized case leaks region all at induction region higher position, and gain output valve compared with electromagnetic handwritten plate surface, has the difference of 1-3 grade in this position.
Such as, suppose that being positioned at time writer the gain output valve that phase value detects when the position of pressure phase scope is M.The initial point gain output valve of what time writer had detected when just having touched (in Fig. 5 O place) on electromagnetic handwritten plate have person's handwriting is N, and the principle of amplifying according to signal, N is less than M.Under A-B phase condition, if when in this region, gain output valve is M, this gain output valve is in without within the scope of pressure yield value, be 0 by pressure treatment, namely without pen state, now without person's handwriting action, so just mask unsettled situation of leaking, and when time writer touches the position of electromagnetic handwritten plate, there is the phase value identical with a upper situation, but because gain output valve is N, this gain output valve is not without within the scope of pressure yield value, and therefore still traditionally pressure algorithm processes.
205, input pressure value is set as zero, enters step 206.
Generally hand-written height is different according to different product, in all induction height, want normally on electromagnetic handwritten plate, to carry out hand-written operation, time writer is not also touched the input pressure value that the induction region on electromagnetic handwritten plate calculates and is all set to 0 by us, namely pressure-less state, encounters electromagnetic handwritten plate to carrying out in hand-written process monotone variation input pressure from time writer.
206, the coordinate according to electromagnetic induction signal determination time writer position is stopped.
For example, it is invalid to be considered as by this electromagnetic induction signal, this electromagnetic induction signal is not carried out to the coordinate measurement process of time writer position.
207, obtain input pressure value according to the phase value obtained by pressure algorithm, enter step 208.
For example, by calculating the variable quantity of phase place, the force value suffered by nib of writing pencil is obtained, i.e. input pressure value.
208, according to the coordinate of electromagnetic induction signal determination time writer position.
For example, corresponding display can be carried out according to the coordinate of current electromagnetic induction signal determination time writer position.In addition, corresponding display can also be carried out according to the thickness of the line of the size determination person's handwriting of input pressure.
The input method of the electromagnetic touch that the present embodiment provides, by when the phase value of electromagnetic induction signal is within the scope of pressure phase value, without time within the scope of pressure yield value, input pressure value is set as zero when the gain output valve of electromagnetic induction signal is in.Therefore, it is possible to when time writer is identical with the phase value be suspended on electromagnetic handwritten plate to phase value during electromagnetic handwritten plate actual act, distinguish both of these case.And then, while improving the induction height of time writer, drainage can be there is when avoiding time writer to be suspended on certain altitude place, reduces maloperation during electromagnetic touch input, thus improve the experience of user.
As shown in Figure 3, the input method of the present embodiment electromagnetic touch, comprising:
301, the phase value of electromagnetic induction signal is obtained.Enter step 302.
In this step, specifically can refer to step 201, no longer repeat at this.
302, judge whether the phase value obtained is within the scope of the pressure phase value that presets.If judge, this phase value is within the scope of this pressure phase value, then enter step 303, otherwise skip to step 305.
In this step, specifically can refer to step 202, no longer repeat at this.
303, the gain output valve of electromagnetic induction signal is obtained.Enter step 304.
In this step, specifically can refer to step 203, no longer repeat at this.
304, judge whether the gain output valve of acquisition is greater than the gain residual quantity of regulation with the difference of the initial point yield value preset.If judge, the difference of this gain output valve and initial point yield value is greater than the gain residual quantity of regulation, then enter step 305, otherwise skip to step 307.
For example, suppose that being positioned at time writer the gain output valve that phase value detects when the position of pressure phase scope is M.The initial point gain output valve of what time writer had detected when just having touched (in Fig. 5 O place) on electromagnetic handwritten plate have person's handwriting is N, and the principle of amplifying according to signal, N is less than M.Under A-B phase condition, if when in this region, gain output valve is M, the difference of this gain output valve and initial point yield value is greater than the gain residual quantity of regulation, be 0 by pressure treatment, namely without pen state, now without person's handwriting action, so just mask unsettled situation of leaking, and when time writer touches the position of electromagnetic handwritten plate, there is the phase value identical with a upper situation, but because gain is N, the difference of this gain output valve and initial point yield value is less than the gain residual quantity of regulation, and therefore still traditionally pressure algorithm processes.
305, input pressure value is set as zero, enters step 306.
306, the coordinate according to electromagnetic induction signal determination time writer position is stopped.
In this step, specifically can refer to step 206, no longer repeat at this.
307, obtain input pressure value according to the phase value obtained by pressure algorithm, enter step 308.
In this step, specifically can refer to step 207, no longer repeat at this.
308, according to the coordinate of electromagnetic induction signal determination time writer position.
In this step, specifically can refer to step 208, no longer repeat at this.
The input method of the electromagnetic touch that the present embodiment provides, by when the phase value of electromagnetic induction signal is within the scope of pressure phase value, when the gain output valve of electromagnetic induction signal and the difference of initial point yield value are greater than the gain residual quantity of regulation, input pressure value is set as zero.Therefore, it is possible to when time writer is identical with the phase value be suspended on electromagnetic handwritten plate to phase value during electromagnetic handwritten plate actual act, distinguish both of these case.And then, while improving the induction height of time writer, drainage can be there is when avoiding time writer to be suspended on certain altitude place, reduces maloperation during electromagnetic touch input, thus improve the experience of user.
With said method embodiment accordingly, the embodiment of the present invention additionally provides a kind of input media of electromagnetic touch, as shown in Figure 4, comprising:
Phase place acquiring unit 401, for obtaining the phase value of electromagnetic induction signal;
Gain acquiring unit 402, for obtaining the gain output valve of above-mentioned electromagnetic induction signal;
Pressure determination unit 403, for the gain output valve obtained according to phase value and the above-mentioned gain acquiring unit 402 of above-mentioned phase place acquiring unit 401 acquisition, determines input pressure value;
Processing unit 404, for the input pressure value determined according to above-mentioned pressure determination unit 403, carries out the respective handling of above-mentioned electromagnetic induction signal.
Further, above-mentioned gain acquiring unit 402, when the phase value specifically for obtaining at above-mentioned phase place acquiring unit 401 is within the scope of the pressure phase value that presets, obtains the gain output valve of above-mentioned electromagnetic induction signal.Correspondingly, above-mentioned pressure determination unit, when the phase value specifically for obtaining at above-mentioned phase place acquiring unit 401 is within the scope of the pressure phase value that presets, according to the gain output valve determination input pressure value that above-mentioned gain acquiring unit obtains.
Further, above-mentioned pressure determination unit 403 specifically comprises: gain margin obtain subelement, for obtain preset without pressure yield value scope; Pressure determination subelement, the gain output valve for obtaining at above-mentioned gain acquiring unit 402 be in that above-mentioned gain margin obtains that subelement obtains without within the scope of pressure yield value time, determine that input pressure value is zero.
Or above-mentioned pressure determination unit specifically comprises: gain inequality obtains subelement, for obtaining the difference of above-mentioned gain acquiring unit 402 the gain output valve obtained and the initial point yield value preset; Pressure determination subelement, when the difference for the gain output valve and initial point yield value that obtain subelement acquisition at above-mentioned gain inequality is greater than the gain residual quantity of regulation, determines that input pressure value is zero.
Further, above-mentioned processing unit 404, when the input pressure value specifically for determining at above-mentioned pressure determination unit 403 is zero, stops the coordinate according to above-mentioned electromagnetic induction signal determination time writer position.
The specific works flow process of the input media of the present embodiment electromagnetic touch referring to method mentioned above, can not repeat them here.
The input media of the electromagnetic touch that the present embodiment provides, by according to the phase value of electromagnetic induction signal and the gain output valve determination input pressure value of electromagnetic induction signal, and processes accordingly according to above-mentioned input pressure value.Therefore, it is possible to when time writer is identical with the phase value be suspended on electromagnetic handwritten plate to phase value during electromagnetic handwritten plate actual act, utilize gain output valve to distinguish both of these case.And then, while improving the induction height of time writer, drainage can be there is when avoiding time writer to be suspended on certain altitude place, reduces maloperation during electromagnetic touch input, thus improve the experience of user.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.