Summary of the invention
Technical matters to be solved by this invention is the defective at prior art, a kind of electromagnetic induction signal disposal route and device are proposed, " leaking " phenomenon when lying against display panel in order to eliminate the electromagnetism input pen prevents the false triggering and the maloperation of electromagnetism hand writing system.
In order to solve the problems of the technologies described above, the invention provides a kind of disposal route of electromagnetic induction signal, comprising:
Control panel receives the electromagnetic signal that the electromagnetism input pen produces continuously, and storage comprises the sampled value of current electromagnetic signal sampled value in interior n the electromagnetic signal adjacent with current electromagnetic signal sampled value; Wherein, n is a natural number;
Judge the validity of the electromagnetic signal of current reception according to stored electromagnetic signal sampled value, after the electromagnetic signal of current reception is invalid, stop the electromagnetic signal of current reception is handled.
In the such scheme, described judge according to stored electromagnetic signal sampled value comprise the validity of the electromagnetic signal of current reception: if n stored electromagnetic signal sampled value is all identical, the then current electromagnetic signal that receives is an invalid signals; Otherwise the current electromagnetic signal that receives is a useful signal.
In the such scheme, described stopping to be treated to the electromagnetic signal of current reception: the coordinate that stops to calculate according to the sampled value of current electromagnetic signal electromagnetism input pen input position.
In the such scheme, judging after the current electromagnetic signal that receives is useful signal, this method also comprises: the coordinate that calculates electromagnetism input pen input position according to the sampled value of current electromagnetic signal.
The present invention also provides a kind for the treatment of apparatus of electromagnetic induction signal, comprise antenna plate and control panel, described control panel, be used for receiving the electromagnetic signal that the electromagnetism input pen produces continuously, and storage comprises current electromagnetic signal sampled value in the n adjacent with current electromagnetic signal interior electromagnetic signal sampled value by antenna plate; Judge the validity of the electromagnetic signal of current reception according to the electromagnetic signal sampled value of being stored, and after the electromagnetic signal of current reception is invalid, stop the electromagnetic signal of current reception is handled; Wherein, n is a natural number.
In the such scheme, described control panel is judged according to the electromagnetic signal sampled value of being stored and comprised the validity of the electromagnetic signal of current reception: if n the electromagnetic signal sampled value of being stored is all identical, the then current electromagnetic signal that receives is an invalid signals; Otherwise the current electromagnetic signal that receives is a useful signal.
In the such scheme, described control panel stops the electromagnetic signal of current reception is treated to: the coordinate that stops to calculate according to the sampled value of current electromagnetic signal electromagnetism input pen input position.
In the such scheme, described control panel also be used for judge the current electromagnetic signal that receives effectively after, calculate the coordinate of electromagnetism input pen input position according to the sampled value of current electromagnetic signal.
The disposal route of electromagnetic induction signal provided by the invention and device, receive the electromagnetic signal that the electromagnetism input pen produces continuously by control panel, and storage comprises current electromagnetic signal sampled value in interior n the electromagnetic signal sampled value adjacent with current electromagnetic signal sampled value; Judge according to the electromagnetic signal sampled value of being stored and after the electromagnetic signal of judging current reception is invalid, to stop the validity of the electromagnetic signal of current reception the electromagnetic signal of current reception is handled.Adopt method of the present invention and device, by the current effective electromagnetic signal that receives is handled, " leaking " phenomenon in the time of can eliminating the electromagnetism input pen and lie against on the display panel, thereby prevented that the electromagnetism hand writing system from because of false triggering and maloperation that noise produces, having improved the precision of electromagnetism hand writing system.
Embodiment
Below in conjunction with accompanying drawing and preferred implementation technical solution of the present invention is elaborated.
Fig. 1 is the structural representation of electromagnetism hand writing system.As shown in Figure 1, the electromagnetism hand writing system comprises: electromagnetism input pen 11, antenna plate 12, smooth on antenna plate display panel 13 and the control panel 14 that links to each other with antenna plate.
Antenna plate comprises mutual vertically disposed transmission coil groups and receiving coil group, and is controlled the break-make of described transmission coil and receiving coil by control panel.
Electromagnetism input pen inside has resonant circuit, the driving pulse that transmission coil that can the receiving antenna plate sends, and produce the electromagnetic signal of fixed frequency; Receiving coil on the antenna plate receives the electromagnetic induction signal of electromagnetism input pen generation and is input to control panel, by control panel described electromagnetic signal is handled, and then is realized the writing function of electromagnetism input pen.
Fig. 2 is the circuit connection diagram of control panel and antenna plate in the electromagnetism hand writing system.Wherein, control panel comprises: first multidiameter option switch 21, first amplifier 22, signal generator 23, second multidiameter option switch 24, second amplifier 25, signal processor 26, integrating circuit 27, modulus (A/D) sample circuit 28 and micro-control unit 29(MCU, Micro Control Unit).
Under the control of control panel MCU, signal generator produces driving pulse, and amplifies through first amplifier, and the first multidiameter option switch gating riches all the way sending coil is used to send the driving pulse that is produced; When the electromagnetism input pen when the antenna plate, the resonant circuit in the pen is sensed the pulse signal of excitation and is produced the electromagnetic signal of fixed frequency; The second multidiameter option switch gating, one road receiving coil is used to receive the electromagnetic signal that the electromagnetism input pen is responded to; The electromagnetic signal that the electromagnetism input pen produces is amplified through second amplifier, and after carrying out rectification and Filtering Processing by signal processor, carry out Integral Processing, carry out sampling processing by the A/D sample circuit then, send into MCU at last and calculate through integrating circuit; Through after the computing of MCU, can obtain corresponding coordinate signal, so that the position of definite electromagnetism input pen, the writing function of realization electromagnetism input pen.
Based on said system, the inventor is holding under the normal state that uses of electromagnetism input pen through discovering, the receiving coil of antenna plate can receive the electromagnetic signal of continuous variation; And be under the motionless state holding the electromagnetism input pen, owing to be subjected to the influence of human body pulsation, the shake that the nib of electromagnetism input pen can be slight, so receiving coil also can receive the electromagnetic signal of continuous variation; But when the electromagnetism input pen lay against on the display panel, nib was motionless, so the electromagnetic signal that receiving coil receives also is constant.
In view of above-mentioned research, electromagnetic induction signal disposal route provided by the invention as shown in Figure 3, may further comprise the steps:
Step 301: control panel receives the electromagnetic signal that the electromagnetism input pen produces continuously, and storage comprises current electromagnetic signal sampled value in interior n the electromagnetic signal sampled value adjacent with current electromagnetic signal sampled value;
In this step, the electromagnetism input pen is when the antenna plate, and the resonant circuit in the pen is sensed the electromagnetic signal that produces fixed frequency behind the pulse signal of excitation, and the receiving coil of antenna plate receives this electromagnetic signal, gives control panel with this electromagnetic signal transmission; Control panel to this electromagnetic signal amplify, rectifying and wave-filtering is handled and the A/D sampling after, store resulting electromagnetic signal sampled value.By that analogy, control panel receives the electromagnetic signal that time writer sends continuously, and after amplification, rectifying and wave-filtering processing and A/D sampling, storage comprises current electromagnetic signal sampled value in interior n the electromagnetic signal sampled value adjacent with current electromagnetic signal sampled value; Wherein, n is a natural number.
Step 302: judge the validity of the electromagnetic signal of current reception according to the electromagnetic signal sampled value of being stored, if the electromagnetic signal of current reception is effective, then execution in step 303; If the electromagnetic signal of current reception is invalid, then execution in step 304;
In this step, compare by n electromagnetic signal sampled value will storing continuously, judge the residing state of electromagnetism input pen, in the present embodiment, n equals 8.Particularly, if n the electromagnetic signal sampled value of being stored is all identical, i.e. the electromagnetic signal of electromagnetism input pen output does not change, and illustrates that current electromagnetism input pen lies on the display panel, then is changed to 1 with corresponding marker bit (change_flag); Otherwise, illustrate that the electromagnetic signal of electromagnetism input pen output changes, illustrate currently for holding a normal operating condition or holding a motionless state, then corresponding marker bit (change_flag) is changed to 0.Generally speaking, even holding under the motionless state of pen, because of the existence of human pulse, resulting n electromagnetic signal sampled value is inequality, but do not get rid of the possibility that two or more same electromagnetic signal sampling values occur.When zone bit was 1, control panel confirmed that according to corresponding marker bit the current electromagnetic signal that receives is an invalid signals, and then execution in step 304; When zone bit was 0, control panel confirmed that according to corresponding marker bit the current electromagnetic signal that receives is a useful signal, and then execution in step 303.
Step 303: control panel is handled the electromagnetic signal of current reception, realizes the function of electromagnetism input pen correspondence, finishes current flow process.
In this step, when control panel is judged the current electromagnetic signal that receives and is useful signal, the current electromagnetic signal that receives is handled, realized the function of electromagnetism input pen correspondence.Described electromagnetic signal is handled comprises: calculated according to current electromagnetic signal sampled value by MCU, obtain the coordinate of electromagnetism input pen input position, and then realize the input function that it is corresponding.
Step 304: control panel stops the electromagnetic signal of current reception is handled.
In this step, when control panel is judged the current electromagnetic signal that receives and is invalid signals, stop the current electromagnetic signal that receives is carried out any processing.Particularly, control panel stops the current electromagnetic signal that receives is treated to: MCU stops to calculate according to current electromagnetic signal sampled value the coordinate of electromagnetism input pen input position.
Based on said method, the invention provides a kind for the treatment of apparatus of electromagnetic induction signal, this device comprises: antenna plate and control panel; Wherein,
Described control panel be used for receiving the electromagnetic signal that the electromagnetism input pen produces continuously by antenna plate, and storage comprises current electromagnetic signal sampled value in interior n the electromagnetic signal sampled value adjacent with current electromagnetic signal sampled value; Judge the validity of the electromagnetic signal of current reception according to the electromagnetic signal sampled value of being stored, and after the electromagnetic signal of current reception is invalid, stop the electromagnetic signal of current reception is handled; Wherein, n is a natural number.
Described control panel is judged according to the electromagnetic signal sampled value of being stored and comprised the validity of the electromagnetic signal of current reception: if n the electromagnetic signal sampled value of being stored is all identical, the then current electromagnetic signal that receives is an invalid signals; Otherwise the current electromagnetic signal that receives is a useful signal.Wherein, the value of n can be provided with according to actual conditions, and in the present embodiment, n gets 8.
Described control panel stops the electromagnetic signal of current reception is treated to: the position coordinates that stops to calculate according to current electromagnetic signal sampled value electromagnetism input pen correspondence.
Described control panel also be used for judge the current electromagnetic signal that receives effectively after, calculate the position coordinates of electromagnetism input pen correspondence according to current electromagnetic signal sampled value.
In sum, adopt method of the present invention and device, by the current effective electromagnetic signal that receives is handled, " leaking " phenomenon in the time of can eliminating the electromagnetism input pen and lie against on the display panel, thereby prevent that the electromagnetism hand writing system from because of false triggering and maloperation that noise produces, having improved the precision of electromagnetism hand writing system.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.