Summary of the invention
For avoiding the deficiency of above prior art, the present invention provides a kind of method for correcting coordinate of electromagnetic induction device.This method is utilized the actual coordinate of time writer when the measurement coordinate figure of different contact points on the magnetic board and time coefficient obtain time writer and on magnetic board, move, with the coordinate figure that solves the magnetic board actual measurement and the inconsistent problem of movement locus of electric time writer.
Technical scheme of the present invention is following:
The method for correcting coordinate of electromagnetic induction device, this electromagnetic induction device have the magnetic board and the time writer of the electromagnetic signal of interacting, and this method comprises the steps:
Confirm the coordinate of time writer first make contact of touch-control on magnetic board;
Time writer through behind the very first time t1 on the magnetic board when first make contact moves to second contact point, confirm first coordinate figure of said second contact point;
Time writer through the second time t2 after on the magnetic board when second contact point moves to the 3rd contact point, confirm second coordinate figure of said the 3rd contact point;
Obtain the actual coordinate value of second coordinate of second contact point according to second coordinate figure of first coordinate figure of the coordinate figure of first make contact, second contact point and the 3rd contact point and very first time t1 and the second time t2.
Further, second coordinate figure of first coordinate figure of the coordinate figure of said first make contact, second contact point and the 3rd contact point confirms to adopt the same coordinate system;
Said coordinate system is a rectangular coordinate system, and said first coordinate figure and second coordinate figure are respectively horizontal ordinate and ordinate, or said first coordinate and second coordinate are respectively ordinate and horizontal ordinate; Or
Said coordinate system is the pole axis coordinate system, and said first coordinate and second coordinate are respectively utmost point footpath and polar angle, or said first coordinate and second coordinate are respectively polar angle and the utmost point directly.
Further, the coordinate of described time writer first make contact be (x1, y1);
First coordinate figure of described second contact point is x2;
Second coordinate figure of described the 3rd contact point is y3;
The actual coordinate value of described second coordinate is y2=y3-(y3-y1) * C, and wherein, C is a time coefficient, C=t1/ (t1+t2).
Nearly one the step, described time writer first make contact coordinate be (x1, y1);
First coordinate figure of described second contact point is y2;
Second coordinate figure of described the 3rd contact point is x3;
The actual coordinate value of described second coordinate is x2=x3-(x3-x1) * C, and wherein, C is a time coefficient, C=t1/ (t1+t2).
Said time writer moves to second contact point and moves to the 3rd contact point from second contact point mobile at the uniform velocity from first make contact on magnetic board.
A kind of electromagnetic induction device, magnetic board and time writer with the electromagnetic signal of interacting, this device comprises:
Control module; Be used for confirming the coordinate of time writer first make contact of touch-control on magnetic board; Detect time writer through behind the very first time t1 at first coordinate figure of when first make contact moves to second contact point, confirming second contact point on the magnetic board; And time writer through the second time t2 on the magnetic board when second contact point moves to the 3rd contact point, confirm second coordinate figure of the 3rd contact point; With
Correcting unit is used for second coordinate figure and very first time t1 and the actual coordinate value that the second time t2 obtains second coordinate of second contact point of first coordinate figure and the 3rd contact point of coordinate figure, second contact point according to first make contact.
Further, in the above-mentioned electromagnetic induction device, definite employing the same coordinate system of first coordinate figure of the coordinate of said first make contact, second contact point and second coordinate figure of the 3rd contact point;
Said coordinate system is a rectangular coordinate system, and said first coordinate figure and second coordinate figure are respectively horizontal ordinate and ordinate, or said first coordinate and second coordinate are respectively ordinate and horizontal ordinate; Or
Said coordinate system is the pole axis coordinate system, and said first coordinate and second coordinate are respectively utmost point footpath and polar angle, or said first coordinate and second coordinate are respectively polar angle and the utmost point directly.
Further, in the above-mentioned electromagnetic induction device, the coordinate of described first make contact be (x1, y1);
First coordinate figure of described second contact point is x2;
Second coordinate figure of described the 3rd contact point is y3;
The actual coordinate value of described second coordinate is y2=y3-(y3-y1) * C, and wherein, C is a time coefficient, C=t1/ (t1+t2).
Further, in the above-mentioned electromagnetic induction device, described first make contact coordinate be (x1, y1);
First coordinate figure of described second contact point is y2;
Second coordinate figure of described the 3rd contact point is x3;
The actual coordinate value of described second coordinate is x2=x3-(x3-x1) * C, and wherein, C is a time coefficient, C=t1/ (t1+t2).
Further, in the above-mentioned electromagnetic induction device, said time writer moves to second contact point and moves to the 3rd contact point from second contact point mobile at the uniform velocity from first make contact on magnetic board.
Advantage of the present invention is:
Adopt method for correcting coordinate provided by the invention; Solve time writer and measured the problem that coordinate and actual motion track depart from when touch-control moves on magnetic board; Help accurately to show the time writer movement locus that touch-control moves on magnetic board, fully improve user's Experience Degree.
Embodiment
The method for correcting coordinate of electromagnetic induction device of the present invention mainly is to utilize the actual coordinate of time writer when the measurement coordinate figure of different contact points on the magnetic board and time coefficient obtain time writer and on magnetic board, move.Concrete grammar is a coordinate of at first confirming time writer first make contact of touch-control on magnetic board; And then confirm through the second contact point coordinate of time writer touch-control on magnetic board after a while; Secondly confirm the 3rd contact point coordinate through another section time time writer touch-control on magnetic board, the coordinate and the time of first to the 3rd contact point that is detected by magnetic board are confirmed calibration coordinate.
Below in conjunction with the method for correcting coordinate in Fig. 3-6 explanation the present invention measurement.Fig. 3 is the overview flow chart of the method for correcting coordinate in the present invention's measurement.Coordinate system of the present invention can be rectangular coordinate system or pole axis coordinate system, perhaps other coordinate system.Coordinate system among the hereinafter embodiment adopts rectangular coordinate system, and the summit of suppose the magnetic board upper left corner is (0,0), the coordinate on summit, the lower right corner be (Xmax, Ymax).
Embodiment 1:
Elder generation's measured X axial coordinate when moving on magnetic board with time writer, measuring the Y axial coordinate again is example explanation method for correcting coordinate.
Fig. 4 is a time writer motion track synoptic diagram, and the C point is the contact point of time writer when on magnetic board, moving among the figure, its coordinate be (x1, y1).After magnetic board is measured and has been proofreaied and correct the C point coordinate; The magnetic board internal controller carries out data processing and (x1 y1), is designated as t1 during this period of time to main frame transmission coordinate; Behind the elapsed time t1; Time writer moves to D point place, and the magnetic board control circuit was set and measured the X axial coordinate that D is ordered earlier this moment, and this X axial coordinate value is designated as x2.Then the magnetic board internal controller need be handled X axle measurement data; That handles measured value is designated as t2 during this period of time; Measure the Y axial coordinate behind the elapsed time t2 again, but E point position has been arrived in back time writer actual motion during this period of time through t2, the Y axle that this moment, E was ordered is measured coordinate figure and is designated as y3.(x2 y3) corresponding to the point of the F among Fig. 3, also is that the F point is the coordinate position of magnetic board actual measurement time writer to the coordinate points represented of coordinate figure x2 and y3 thus.Therefore can find out measure time writer coordinate position obviously and the D point of required measurement in the actual motion track of time writer (x2, y2) coordinate is not inconsistent.The calibration coordinate y2 that for this reason need find D to order.
Can know, when time writer when the C point moves to the D point, average velocity v1=(the y2-y1)/t1 on the Y axial vector; When time writer when the C point moves to the E point; Average velocity v2=(y3-y1)/(t1+t2) on the Y axial vector; Because the cycle of the measurement coordinate of magnetic board is very short, is several milliseconds of magnitudes, can suppose that therefore time writer is a uniform motion in time of this Millisecond that time writer is perhaps ordered from the C point to E through the D point from C point; V1=v2 is then arranged, so can obtain following formula:
(y2-y1)/t1=(y3-y1)/(t1+t2); Get y2=y3-(y3-y1) * t1/ (t1+t2) after the arrangement; Because t1, t2 is a constant, makes C=t1/ (t1+t2); Y2=y3-(y3-y1) * C then, Y axial coordinate y2=y3-(y3-y1) the * C that can obtain real time writer loca through measured Y axial coordinate y3 of reality and more preceding Y axial coordinate y1.
Embodiment 2:
Measure the Y axial coordinate earlier when the present invention being moved on magnetic board with time writer below, the measured X axial coordinate is an example explanation method for correcting coordinate more again.
Fig. 5 is a time writer motion track synoptic diagram, and the C1 point is the contact point of time writer when on magnetic board, moving among the figure, its coordinate be (x1, y1).After magnetic board is measured and has been proofreaied and correct the C1 point coordinate; The magnetic board internal controller carries out data processing and (x1 y1), is designated as t1 during this period of time to main frame transmission coordinate; Behind the elapsed time t1; Time writer moves to D1 point place, and the magnetic board control circuit was set and measured the Y axial coordinate that D1 is ordered earlier this moment, and this Y axial coordinate value is designated as y2.Then the magnetic board internal controller need be handled Y axle measurement data; That handles measured value is designated as t2 during this period of time; Measured X axial coordinate again behind the elapsed time t2, but E1 point position has been arrived in back time writer actual motion during this period of time through t2, and the X axle measurement coordinate figure that this moment, E1 was ordered is designated as x3.(x2 y3) corresponding to the point of the F1 among Fig. 3, also is that the F1 point is the coordinate position of magnetic board actual measurement time writer to the coordinate points represented of coordinate figure x2 and y3 thus.Therefore can find out measure time writer coordinate position obviously and the D1 point of required measurement in the actual motion track of time writer (x2, y2) coordinate is not inconsistent.The calibration coordinate x2 that for this reason need find D1 to order.
Can know, when time writer when the C1 point moves to the D1 point, average velocity v1=(the x2-x1)/t1 on the X axis amount; When time writer when the C1 point moves to the E1 point; Average velocity v2=(x3-x1)/(t1+t2) on the X axis amount; Because the cycle of the measurement coordinate of magnetic board is very short, is several milliseconds of magnitudes, can suppose that therefore time writer is a uniform motion in time of this Millisecond that time writer is perhaps ordered from the C1 point to E1 through the D1 point from C1 point; V1=v2 is then arranged, so can obtain following formula:
(x2-x1)/t1=(x3-x1)/(t1+t2); Get x2=x3-(x3-x1) * t1/ (t1+t2) after the arrangement; Because t1, t2 is a constant, makes C=t1/ (t1+t2); X2=x3-(x3-x1) * C then, X axial coordinate x2=x3-(x3-x1) the * C that can obtain real time writer loca through measured X axial coordinate x3 of reality and more preceding X axial coordinate x1.
No matter time writer from which angle moves up or down on magnetic board, and straight line or curve move, and the calibration coordinate that time writer moves all can obtain through above-mentioned bearing calibration.
Be illustrated in figure 6 as the coordinates correction apparatus structure synoptic diagram in the magnetic board measurement of the present invention; This device comprises control module 1 and correcting unit 2; Wherein control module 1 detects the first make contact coordinate that time writer contacts with magnetic board; Confirm first coordinate figure of second contact point when detecting behind the time writer traveling time t1, and detect and confirm the coordinate figure of said the 3rd contact point when moving to the 3rd contact point behind the time writer elapsed time t2 at said coordinate system second coordinate to second contact point.Correcting unit 2 calculates the coordinate figure of second contact point at said coordinate system second coordinate according to the above-mentioned coordinate figure of first make contact, second contact point and the 3rd contact point and time t1 and t2.
Should be appreciated that the above detailed description of technical scheme of the present invention being carried out by preferred embodiment is schematic and nonrestrictive.Those of ordinary skill in the art is reading on the basis of instructions of the present invention and can make amendment to the technical scheme that each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.