Background technology
The input mode of computing machine has multiple, wherein handwriting input becomes wherein very important a kind of input mode, input equipment mainly is a hand input device, as handwriting pad, touch-screen etc., but these equipment need real-time sense position and angle parameter constantly in work, perhaps need sometimes some parameters are revised.
The patent No. is that CN95108436.4 discloses position and angle detection device, in the position indicator that has by first coil of coordinate detection usefulness and the resonant circuit that capacitor is formed, be provided with and put the control coil on this first coil, by the switching and the variation of control control coil, to detect rotation angle, inclination angle; Simultaneously, the technical scheme as the touch-screen is proofreaied and correct when generally using after first use or long-time leaving unused.A kind of calibration steps of touch-screen in being the patent of CN02823252.6, another patent No. is disclosed, X, the Y position of each terminal and calculate the offset error of each terminal and use described offset error obtaining to proofread and correct and touch the position when using calibration impedance from measuring touch location, and can calculate the gain error of each terminal and use described gain error to obtain described correction touch location.
The equipment that can carry out handwriting input mainly is handwriting pad, and the product type of handwriting pad also mainly is divided three classes at present: resistance-type pressure plare, electromagnetic type handwriting pad, capacitive touch control plate.Resistance-type pressure handwriting pad uses less at present, wear-resistant, easy to use, susceptibility advantages of higher that the capacitance touching control handwriting pad has, and the electromagnetic type handwriting pad has characteristics such as precision height, thereby in the middle of practical application, the electromagnetic type handwriting pad is most of market share that the main product on the present market is capturing hand-written field.
The detection method of writing pencil 2 positions is: more than 10 or the elongated inductive coil that more is arranged in parallel are arranged below the handwriting pad 1, the front end of writing pencil 2 has also added a spiral circle, this coil is connected the back and forms lc circuit with capacitor, have in the coil under the handwriting pad 1 electric current by the time produce magnetic field; When magnetic field changes, form electric current in the coil, the coil-induced electric current (Charge Storage is in capacitor) that goes out magnetic field of writing pencil 2 sides; The electric current that interrupts in handwriting pad 1 inductive coil flows; The electric charge that stores in writing pencil 2 side capacitors forms electric current in writing pencil 2 lateral coils, produce magnetic field; Be subjected to the influence in the magnetic field that writing pencil 2 front ends produce, produce induction current in the inductive coil below the writing pencil 2; Just can judge the position of the writing pencil 2 of handwriting pad 1 top by the induction current in the inductive coil group in the detection handwriting pad 1.This a series of operation all can repeat in 1 second tens times or hundred times, and by electric current, the voltage that produces in several adjacent inductive coils is compared, according to its position that distributes and just can calculate writing pencil 2 accurately, generally peaked as coordinate points again to have.
Above-mentioned prior art scheme has just related to coordinate and has proofreaied and correct surely or inclination angle detection, does not relate to dip correction, particularly the Writing pen obliquity correcting method in electromagnetic type writing pencil field.
Summary of the invention
Purpose of the present invention just provides a kind of simple to operate, Writing pen obliquity correcting method of not needing to increase hardware cost.Click reference point calculating at display interfaces with default inclination angle by the record writing pencil and with the difference of actual point original numerical value is proofreaied and correct, trimming process is succinctly accurate, does not increase hardware cost, has excellent application value and marketable value.
Writing pen obliquity correcting method of the present invention comprises the steps:
Show a dip correction state interface, interface display dip correction reference point;
Default writing pencil is at the inclination angle of display interfaces; And with this inclination angle click reference point;
Write down the deviate of reference point and actual point, and in the planimetric coordinates system, original numerical value is proofreaied and correct, the reference point that shows on the display under this default inclination angle is overlapped with actual point with this difference;
If also have deviation between reference point and the actual point, continue to click reference point and proofread and correct, until reaching specified accuracy with predetermined angle.
Further, preset writing pencil when the inclination angle of display interfaces, the angle that writing pencil suits for the user.
Further, described correcting state interface is menu-style or toolbar form.
Further, described display is non-volatile display device or liquid crystal display device.
Advantage of the present invention and effect are: this method is the deviation of datum mark and actual point dynamically, can directly carry out and obtain immediately proofreading and correct the result at the system operation interface, simple to operate, need not increase hardware cost, can proofread and correct the angle of writing of writing pencil very easily, avoid the sum of errors mistake.
Embodiment
The hand-written information input realizes by handwriting input device and display device in the middle of practical application, just mainly import by the electromagnetic type handwriting pad, handwriting input device is generally handwriting pad 1 and supporting writing pencil 2, display device is the display 3 that is used for showing the trajectory signal that handwriting pad 1 and writing pencil 2 are produced, display 3 can be multiple display equipment, comprises LCD, no volatibility device displays etc.
Handwriting pad 1 adopts the electromagnetic type handwriting pad in the present embodiment, and the groundwork principle is: by after the energising of the wired circuit below the handwriting pad 1, form electromagnetic field in the certain space scope, respond to the position that writing pencil 2 has the nib of coil and carry out work.
As Fig. 1, shown in 3, writing plane at handwriting pad 1 is equipped with display 3, display 3 can in time show the input trajectory that is produced by handwriting pad 1 and writing pencil 2, input trajectory in display 3 with arrow cursor or tracking cross form, in above-mentioned handwriting input device, owing to have the height that certain distance produces between the circuit that coil in the writing pencil 2 and electric capacity constitute and handwriting pad 1 coil and the display 3, as the height H in the accompanying drawing 3, H is changing along with the difference of user mode, promptly working as user's writing pencil 2 pen tip position is same position, and writing pencil 2 handwriting inclination directions are not simultaneously, can produce different distance errors, writing pencil 2 will be different by the position of the measurement of the generation in inductive coil coordinate on display 3 interfaces.
As shown in Figure 3, bee-line between the cursor of circuit that electric capacity and coil constitute in writing pencil 2 nibs and the indication of writing pencil 2 nibs is H=1cm, writing pencil 2 to and display 3 planes of handwriting pad 1 between and angle be α, when writing pencil 2 to and display 3 planes of handwriting pad 1 between when being α=90 °, the indicated position of the input trajectory of writing pencil 2 corresponding cursor in display 3 is consistent with the position of the nib of reality, the promptly relative error delta H=cos90 ° * 1=0 that produces is for writing pencil 2 in the accompanying drawing 1 is in vertical state; When writing pencil 2 to the right or when being tilted to the left certain angle, when between writing pencil 2 and the display plane being degree angle, α=45 °, because the coil in the handwriting pad 1 is induction writing pencil 2 interior signals by electric capacity and coil forming circuit, the position of coordinate plane is the signal deciding of the circuit that is made of this electric capacity and coil, and the circuit position in the writing pencil 2 is owing to tilt to have taken place variation, shown in dotted line writing pencil 2 in the accompanying drawing 1, so true point that shows and anticipation has a deviation on display 3, but the pen tip position of writing pencil 2 does not change, in embodiments of the present invention, the point of this actual displayed on display 3, when writing pencil 2 heeling conditions,, be referred to as actual point with the inconsistent point of anticipation.Thereby, between coordinate points and writing pencil 2 nibs that the display on the handwriting pad 13 shows actual point pointed, will produce the lateral error distance (wherein the error that is produced owing to display 3 thickness is disregarded) of cos45 ° * 1 ≈ 0.7cm; Equally, when writing pencil 2 to the right or be tilted to the left and display 3 planes between during for α=60 °, on the display on the handwriting pad 13, will produce the horizontal range of cos60 ° * 1=0.5cm, this is a very large error for the electromagnetic type handwriting pad, can produce very bad influence when hand-written character and drawing.
Thereby, before the user uses writing pencil 2 to write use, will be to it since the deviation that the inclination angle is produced when tilting proofread and correct, as shown in Figure 2, at first on the display interface of operating system, setting also shows a dip correction state interface 301, and this correcting state interface 301 can be the pop-up window form, also can the toolbar form.As the cross among figure sign, on correcting state interface 301, have a benchmark sign, also be a reference point, be by the planimetric coordinates system-computed of handwriting pad 1 and be reflected in a position physically on the display 3.
As shown in Figure 4, when this state, have a dip correction state, on display 3 interfaces, can show the dip correction reference point.Do not having under the situation of deviation, promptly when writing pencil 2 was vertical with display 3 display planes, this reference point was corresponding with the writing pencil 2 interior circuit that are made of coil and electric capacity, and fiducial mark is also consistent with actual nib click location; When writing pencil 2 with perpendicular to display 3 display plane states when display 3 interface reference points are clicked, reference point overlaps with actual point; When user's writing pencil 2 went to click with the state with default inclination angle, as previously mentioned, the actual click point can depart from reference point.
Like this, when the hand-held writing pencil 2 of user is clicked reference point at display 3 interfaces with default inclination angle, actual point will produce a deviation with reference point, this deviation can be by the offset deviation that is expressed as directions X and Y direction in display plane, as Δ X and Δ Y, this value can and be noted when clicking the sign of reference point with writing pencil 2 nibs, just with this offset deviation value.This correction parameter is preserved, and in the planimetric coordinates system, original numerical value is proofreaied and correct with this difference, displacement with current writing pencil 2 adds corresponding deviate Δ X and Δ Y, and the reference point after proofreading and correct on the display 3 under this default inclination angle is overlapped with actual click point.
If reference point after also finding to proofread and correct and actual point can be carried out repeatable operation to above-mentioned process outside the degree of accuracy of expection, until satisfaction is transferred in displacement, this method finishes, and promptly the dip correction state can repeat to adjust.
If adjust the inclination angle of writing pencil 2, need proofread and correct again, click reference point again, write down the calculating and the correction of deviation, promptly repeat said process, reference point after proofreading and correct and actual point are outside the degree of accuracy of expection, and this method finishes.
Described default writing pencil is with hand-held and suitable angle at the inclination angle of display interfaces.
For hand-written equipment related in the above-mentioned Writing pen obliquity correcting method, employed writing pencil 2 is the electromagnetic type writing pencil.Writing pencil 2 and handwriting pad 1 and display 3 co-operation that show hand-written equipment trajectory signal, circuit comprises the circuit that is made of electric capacity and coil in the writing pencil 2, many group coils and testing circuit are arranged in the handwriting pad 1, many groups coil in the handwriting pad 1 can send the signal with predeterminated frequency, circuit in the writing pencil 2 can receive this signal, and return signal, the testing circuit in the handwriting pad 1 takes this to obtain the position and the pressure information of writing pencil 2.
Simultaneously, described display 3 is non-volatile display device, and just the Electronic Paper device perhaps can be prevailing LCD.
Hand-written equipment can be to be assemblied in the same housing with the display that shows hand-written equipment trajectory signal, as equipment such as liquid crystal handwriting pad, e-book, also can split stack.
Though the preferred embodiments of the present invention only have been described here, its meaning be not limit the scope of the invention, applicability and configuration.On the contrary, the detailed description to embodiment can make those skilled in the art be implemented.Will be understood that not departing under the definite spirit and scope of the invention situation of appended claims, can make suitable change and modification some details.