The multi-channel scanning method of electromagnetism handwriting device and antenna thereof
Technical field
The invention belongs to field of computer peripherals, relate to the multi-channel scanning method of a kind of electromagnetism handwriting device and antenna thereof.
Background technology
At present, the electromagnetic type touching technique is owing to the bearing accuracy height, can obtain an angle of inclination and pressure information, do not influence advantage such as screen display quality, extremely market favor is widely used in the TabletPC(handwritten computer), equipment such as plotting sheet, handwriting pad, mobile phone, e-book.Wireless and passive formula electromagnetic type touch modules is made up of electromagnetic induction control panel and electromagnetic induction antenna plate two parts.Electromagnetic induction antenna plate plate is handled by the control of electromagnetic induction control panel, switches the emission of electromagnetic field at a high speed and receives induced electricity magnetic pen information.Concrete principle of work is: in the magnetic field range that the electromagnetic induction antenna plate produces, the time writer in built-in resonating electron loop can be put aside faint energy, by this energy, time writer is to electromagnetic induction antenna plate emission electromagnetic signal, moves the coordinate that just can induce time writer, angle of inclination, the mode of operation (speed, pressure sensitivity) etc. of moving in circles at a high speed with this.The so-called wireless time writer that refers to does not directly have physics to contact with tablet, the passive time writer that refers to is without powered battery, there are not direct supplys such as battery in the pen, but the power voltage supply that the electromagnetic field that sends by built-in resonating electron loop inductive electromagnetic induction antenna plate produces.The electromagnetic field that the resonance frequency in the resonating electron loop of time writer and electromagnetic induction antenna plate send is relevant, as: the resonance frequency of the electronic loop in the pen and the electromagnetic field of electromagnetic induction antenna plate with the harmonic wave of the resonance frequency of electronic loop frequently or in the pen and induction antenna plate electromagnetic field frequency with frequency.The patent No. is the ultimate principle that 02117257.9 patent of invention " wireless, the passive handwriting device that is used for the computing machine typing " has illustrated the wireless and passive technology.
Increase along with electromagnetic induction antenna plate scale, the coil that the electromagnetic induction antenna plate need scan is also more and more, therefore the time of having scanned these coils needs is just long, accordingly, look for a time just long, caused " first time delay " phenomenon, just time writer falls in the perform region of electromagnetic induction antenna plate, the electromagnetic induction antenna plate find time writer time can than small-scale electromagnetic induction antenna plate look for the pen time lengthening.So-called extensive, the transmission and the receiving coil number that refer on the electromagnetic induction antenna plate are many, rather than handwriting pad/hand-written assembly area is big.
Summary of the invention
(1) technical matters that will solve
The technical problem to be solved in the present invention is: under the excessive situation of the coil scale of electromagnetic induction antenna plate, shorten the time of detecting time writer, improve the accuracy that detects time writer.
(2) technical scheme
In order to solve the problems of the technologies described above, the invention provides a kind of electromagnetism handwriting device, comprise the electromagnetism handwriting pad and be used for the time writer of handwriting input on described electromagnetism handwriting pad, described electromagnetism handwriting pad comprises the electromagnetic induction antenna plate and is used for the control panel of the described electromagnetic induction antenna plate of control;
Described electromagnetic induction antenna plate comprises transmitting coil and receiving coil, described transmitting coil is used for sending electromagnetic wave to described time writer, described receiving coil and described transmitting coil are crisscross, and are used for receiving the resonance signal of the electromagnetic wave resonance generation that is sent by described time writer and described transmitting coil;
Described control panel comprises microprocessor and signal processing module, described microprocessor is handled for generation of square wave with to data, described signal processing module is connected with receiving coil with described microprocessor respectively, and is used for the resonance signal that receiving coil obtains being handled and result being sent to described microprocessor;
Described transmitting coil and at least one side of described receiving coil are the multi-channel scanning structure.
Wherein, described multi-channel scanning structure is:
Described receiving coil is divided into D zone, and each regional coil number is identical or different; Wherein, D is integer, and D 〉=2;
Each regional receiving coil has and independently receives end line and public output line in the described D zone;
Described reception end line is connected with described control panel with output line, and controls its gating by described control panel, and then the gating of control receiving coil.
Wherein, described multi-channel scanning structure is:
Described transmitting coil is divided into T zone, and each regional coil number is identical or different; Wherein, T is integer, and T 〉=2;
Each regional transmitting coil has and independently receives end line and public output line in the described T zone;
Described reception end line is connected with described control panel with output line, and controls its gating by described control panel, and then the gating of control transmitting coil.
Wherein, described signal processing module is D, and a described D signal processing module is connected with D zone of receiving coil respectively, and is sent to microprocessor respectively after the resonance signal processing with described receiving coil D zone transmission.
Wherein, described microprocessor has one at least.
Wherein, when described microprocessor was two or more, one of them microprocessor was master microprocessor, linked to each other with described signal processing module, was used for carrying out data and handled; Other microprocessors are the secondary microprocessor for generation of square wave, link to each other with described transmitting coil with described master microprocessor respectively.
Wherein, described signal processing module comprises: amplifying circuit is used for amplifying resonance signal; Phase angle and amplitude detection circuit link to each other with described amplifying circuit, for detection of phase angle and amplitude; Integrating circuit is used for the signal of phase angle and amplitude detection circuit output is carried out integration.
The present invention also provides a kind of multi-channel scanning method of the antenna based on above-mentioned electromagnetism handwriting device, and described scan method scans at least one side with described receiving coil and described transmitting coil is arranged as the multi-channel scanning structure.
Wherein, described multi-channel scanning method may further comprise the steps:
Described receiving coil is divided into D zone, and each regional coil number is identical or different, and each regional receiving coil has and independently receives end line and public output line in the described D zone;
One of them receiving coil of opening each zone in D the zone simultaneously scans, and is opened and scans until the last root receiving coil in each zone;
Described reception end line is connected with described control panel with output line, controls the gating of described reception end line and output line by described control panel, and then control the gating of receiving coil.
Wherein, described multi-channel scanning method may further comprise the steps:
Described transmitting coil is divided into T zone, and each regional coil number is identical or different, and each the regional transmitting coil in the described T zone has independently launches end line and public output line;
One of them transmitting coil of opening each zone in T the zone simultaneously scans, and is opened and scans until the last root transmitting coil in each zone;
Described emission end line is connected with described control panel with output line, controls the gating of described emission end line and output line by described control panel, and then control the gating of transmitting coil.
Wherein, the scanning of described receiving coil and transmitting coil may further comprise the steps:
S1: open one of them coil in each coil region in institute's dividing line collar region;
S2: opening coil is scanned, detect time writer and whether exist; If exist, turn to step S3, if do not exist, turn to step S4;
S3: open in the current coil that detects, close other coil, and execution in step S5;
S4: current institute magnetic test coil is moved the n root after respectively, judge whether the new coil of determining is the most end coil in institute scanning yoke zone, if, turn to step S1, if not, open described coil, and turn to step S2; Wherein, n is integer, and n is less than the coil sum of institute's surveyed area;
S5: opening coil is scanned, detect time writer and whether exist; If exist, turn to step S6, if do not exist, turn to step S3;
S6: open the adjoining coil of the current coil that detects, and execution in step S7;
S7: opening coil is scanned, detect time writer and whether exist; If exist, turn to step S8, if do not exist, turn to step S1;
S8: calculate coordinate and the pressure information of detected time writer, and flow to computing machine and handle, the scanning that begins next round simultaneously detects.
Wherein, adjoining coil is m the coil adjacent with the coil that detects described in the described step S6, and wherein, m is integer, and m is less than the coil sum of institute's surveyed area, and m equals, is greater than or less than n.
(3) beneficial effect
Technique scheme has following advantage: with the compartmentalization of extensive electromagnetic induction antenna plate, just the coil in the electromagnetic induction antenna plate is divided into some groups, every group of coil is separate physically, utilize coarse scan and carefully sweep the scan method that combines, shorten coil sweep time, improve the efficient and the accuracy that detect time writer.
Description of drawings
Fig. 1 is the system chart of the embodiment of electromagnetism handwriting device of the present invention;
Fig. 2 is the electromagnetic induction antenna board structure figure of the embodiment of electromagnetism handwriting device of the present invention;
Fig. 3 is the program control flow chart of embodiment of multi-channel scanning method of the antenna of electromagnetism handwriting device of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples are used for explanation the present invention, but are not used for limiting the scope of the invention.
A kind of electromagnetism handwriting device provided by the invention comprises the electromagnetism handwriting pad and is used for the time writer of handwriting input on described electromagnetism handwriting pad that the electromagnetism handwriting pad comprises the electromagnetic induction antenna plate and is used for the control panel of the described electromagnetic induction antenna plate of control; The electromagnetic induction antenna plate comprises transmitting coil and receiving coil, transmitting coil is used for sending electromagnetic wave to described time writer, receiving coil and described transmitting coil are crisscross, and are used for receiving the resonance signal of the electromagnetic wave resonance generation that is sent by time writer and transmitting coil.
Control panel comprises microprocessor and signal processing module, microprocessor is handled for generation of square wave with to data, signal processing module is connected with receiving coil with microprocessor respectively, and is used for the resonance signal that receiving coil obtains being handled and result being sent to described microprocessor.At least one side of transmitting coil provided by the invention and receiving coil is the multi-channel scanning structure.
According to embodiments of the invention, microprocessor can be one, also can be for more than two.When microprocessor was two, one of them was master microprocessor, and another is secondary microprocessor, and secondary microprocessor is for generation of square wave.
According to first embodiment of the invention, the multi-channel scanning structure is: receiving coil is divided into D zone, and each regional coil number is identical or different; Wherein, D is integer, and D 〉=2.Each regional receiving coil has and independently receives end line and public output line in D the zone.Receive end line and be connected with control panel with output line, and control its gating by described control panel, and then the gating of control receiving coil.
As shown in Figure 1, a master microprocessor and a secondary microprocessor are set, master microprocessor and secondary microprocessor branch are arranged, and secondary microprocessor is for generation of square wave, by the transmitting coil emission electromagnetic wave of electromagnetic induction antenna plate.The resonance that arranges in the electromagnetic wave of emission and the time writer produces resonance signal, again resonance signal is reflexed to receiving coil.Receiving coil is sent to input signal and inputs to master microprocessor after signal processing circuit is handled.Specifically be, the signal that receiving coil obtains amplifies through amplifying circuit, inserts phase angle and amplitude detection circuit then to detect phase angle and amplitude, imports master microprocessor through Integral Processing again, handles after being changed by the built-in A/D change-over circuit of master microprocessor.Master microprocessor feeds back to computing machine with it after calculating position, inclination angle and the force value of time writer.Wherein, secondary microprocessor and master microprocessor also can be integrated into a microprocessor, carry out data by a microprocessor and handle and send square wave.The A/D change-over circuit also can independently arrange, and the result after the reception Integral Processing changes, and the signal after will changing sends to the master microprocessor processing.
In the present embodiment, receiving coil is divided into two coil region.Each coil region is corresponding cover signal processing circuit respectively, come to signal amplify, A/D conversion and integration, last integrated value is then handled by master microprocessor.
According to second embodiment of the invention, the multi-channel scanning structure is: transmitting coil is divided into T zone, and each regional coil number is identical or different; Wherein, T is integer, and T 〉=2.
Each regional transmitting coil has and independently receives end line and public output line in T the zone.Receive end line and be connected with described control panel with output line, and control its gating by described control panel, and then the gating of control transmitting coil.
According to third embodiment of the invention, the multi-channel scanning structure is that receiving coil and transmitting coil all have the multi-channel scanning structure.As shown in Figure 2, the coil in each zone of transmitting coil has and independently receives end line, but has a public output line, and this public output line is by a resistance R ground connection.For receiving coil, the coil in each zone of receiving coil has independently imports end line, and the receiving coil in each zone then has public output line.The number of public output line is identical with the number of regions of dividing.At this moment, large-scale output line then no longer has a public output terminal, but has a plurality of public outputs, and these public outputs all pass through resistance eutral grounding.Described in Fig. 1, the receiving coil in each zone connects amplifying circuit independent of each other respectively, and respectively through after A/D conversion and the integral and calculating, integrated value is passed to master microprocessor, is handled by master microprocessor.
According to fourth embodiment of the invention, this embodiment provides a kind of multi-channel scanning method of antenna of electromagnetism handwriting device.
In the present embodiment, the multi-channel scanning method comprises the steps:
Receiving coil is divided into D zone, and each regional coil number is identical or different, and each regional receiving coil has and independently receives end line and public output line in the described D zone;
One of them receiving coil of opening each zone in D the zone simultaneously scans, and is opened and scans until the last root receiving coil in each zone;
Described reception end line is connected with described control panel with output line, controls the gating of described reception end line and output line by described control panel, and then control the gating of receiving coil.
According to fifth embodiment of the invention, this embodiment provides a kind of multi-channel scanning method of antenna of electromagnetism handwriting device.
In the present embodiment, the multi-channel scanning method comprises the steps:
Transmitting coil is divided into T zone, and each regional coil number is identical or different, and each the regional transmitting coil in the described T zone has independently launches end line and public output line;
One of them transmitting coil of opening each zone in T the zone simultaneously scans, and is opened and scans until the last root transmitting coil in each zone;
Described emission end line is connected with described control panel with output line, controls the gating of described emission end line and output line by described control panel, and then control the gating of transmitting coil.
According to sixth embodiment of the invention, this embodiment provides a kind of multi-channel scanning method of antenna of electromagnetism handwriting device.In the present embodiment, receiving coil and transmitting coil are all adopted the multi-channel scanning method.
As shown in Figure 3, have 60 transmitting coils and Y-direction with directions X and have the process that 40 receiving coils are example explanation present embodiment multi-channel scanning.On directions X, transmitting coil is divided into two zones, and the 1st to the 30th is the first area, and the 31st to the 60th is second area, when scanning, opens the 1st coil of first area simultaneously, and the 31st coil that is in the second area starting position.These two coils send electromagnetic wave simultaneously for sending coil.On Y-direction, receiving coil also is divided into two zones, and the 1-20 root is the first area, and the 21-40 root is second receiving area, opens the 1st of Y-direction first area simultaneously and is in the 21st receiving coil of second area starting position.
Coil region namely is divided into 4 zonules like this, on a large scale.In the zonule, carry out coarse scan, after namely one group of coil scanning being finished, when not detecting the time writer signal, open respectively again in the directions X first area and the be separated by n+1 root coil of n coil of the 1st coil, in the directions X second area with the be separated by n+31 root coil of n coil of the 31st coil, in the Y-direction first area with the be separated by s+1 root coil of s coil of the 1st coil, in the Y-direction second area with the be separated by s+20 root coil of s coil of the 20th coil, namely open the coil of adjacent n with the current detection coil in each zone of directions X respectively, the line scanning of going forward side by side of coil in each zone of Y-direction after the coil of adjacent s with the current detection coil, constantly open new coil scanning in this way until detecting time writer information, the Ruo Mogen coil is opened and is scanned, also do not detect time writer information, then return first coil multiple scanning of opening each zone again, to detect time writer information.Wherein, n, s are integer, 1<n<each regional coil sum, 1<s<each regional coil sum, s can equal, less than or greater than n.
After a certain group of coil scans time writer information, for example, when the 3rd coil in transmitting coil first area and the 33rd coil of second area are opened simultaneously, detected the time writer induced signal, then with in two coils wherein one turn off (as the 3rd), open another root coil (as the 33rd) again and scan, handle.If the induced signal maximal value appears at the 33rd transmitting coil of conducting, illustrate that so time writer is in the 33rd coil or near the coil scope it.If after opening the 33rd transmitting coil, the induced signal maximal value is very little, illustrate that so time writer is in the coil scope of the 3rd coil or its annex.Like this, just determined the general location of time writer, near the coil of opening then the 33rd coil or the 3rd coil is carefully swept, to determine the accurate position of pen.Carefully sweeping namely is that adjacent windings to the bigger coil of influence value scans, and for example, the 9th coil place influence value is bigger, can scan 6-12 coil, scans each coil respectively, does not do property scanning at interval.After obtaining time writer information, calculate position and the information such as inclination angle, pressure of time writer, send to computing machine and be further processed, begin the scanning of a new round simultaneously.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the technology of the present invention principle; can also make some improvement and replacement, these improvement and replacement also should be considered as protection scope of the present invention.