CN114089842B - Method for judging inclination direction of electromagnetic pen and calculating cursor position and display device - Google Patents

Method for judging inclination direction of electromagnetic pen and calculating cursor position and display device Download PDF

Info

Publication number
CN114089842B
CN114089842B CN202010757976.9A CN202010757976A CN114089842B CN 114089842 B CN114089842 B CN 114089842B CN 202010757976 A CN202010757976 A CN 202010757976A CN 114089842 B CN114089842 B CN 114089842B
Authority
CN
China
Prior art keywords
antenna loop
induced voltage
voltage value
antenna
axis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010757976.9A
Other languages
Chinese (zh)
Other versions
CN114089842A (en
Inventor
廖志铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitac Computer Kunshan Co Ltd
Getac Technology Corp
Original Assignee
Mitac Computer Kunshan Co Ltd
Getac Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitac Computer Kunshan Co Ltd, Getac Technology Corp filed Critical Mitac Computer Kunshan Co Ltd
Priority to CN202010757976.9A priority Critical patent/CN114089842B/en
Publication of CN114089842A publication Critical patent/CN114089842A/en
Application granted granted Critical
Publication of CN114089842B publication Critical patent/CN114089842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/046Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by electromagnetic means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Position Input By Displaying (AREA)

Abstract

A method for judging the tilt direction of an electromagnetic pen and calculating the cursor position of the electromagnetic pen and a display device can be used for executing the method for judging the tilt direction of the electromagnetic pen and the method for calculating the cursor position of the electromagnetic pen. Compared with the conventional electromagnetic pen inclination judging method, the method has better correctness, can solve the problem that the conventional electromagnetic pen inclination judging method is easy to misjudge, and can greatly improve the speed of judging whether the electromagnetic pen is inclined or not.

Description

Method for judging inclination direction of electromagnetic pen and calculating cursor position and display device
[ Field of technology ]
The present invention relates to a method for determining an inclination direction of an electromagnetic pen and a method for calculating a cursor position of an electromagnetic pen, and more particularly, to a method for determining an inclination direction of an electromagnetic pen for determining a rightward inclination, leftward inclination or a vertical state of an electromagnetic pen with respect to a display, and a method for calculating a cursor position of an electromagnetic pen.
[ Background Art ]
The conventional method for judging the inclination direction of the electromagnetic pen is easy to misjudge the inclination direction of the electromagnetic pen, so that a cursor for marking the position of the pen point of the electromagnetic pen is displayed on the wrong position of the display screen of the display device, and the use of a user is inconvenient. In addition, the conventional method for determining the tilt direction of the electromagnetic pen requires a large number of antennas to calculate, and thus, the display device has a slow response speed for displaying the cursor corresponding to the pen tip of the electromagnetic pen.
[ Invention ]
The invention discloses a method for judging the inclination direction of an electromagnetic pen and calculating the position of a cursor and a display device, which are mainly used for solving the problem that the conventional method for judging the inclination direction of the electromagnetic pen is easy to misjudge.
An embodiment of the invention discloses a method for determining an inclination direction of an electromagnetic pen, which is used for determining an inclination direction of an electromagnetic pen relative to a display device, wherein the display device comprises two antenna loop groups, each antenna loop group comprises a plurality of antenna loops, wherein the plurality of antenna loops included in one antenna loop group are arranged side by side along an X-axis direction, the plurality of antenna loops included in the other antenna loop group are arranged side by side along a Y-axis direction, and the method for determining the inclination direction of the electromagnetic pen comprises: a unidirectional tilt determination step, comprising: a power supply step: supplying power to a plurality of antenna loops contained in one antenna loop group of the electronic device, and obtaining an induced voltage value corresponding to each antenna loop after power supply; a comparison step: comparing the induced voltage values to determine which antenna loop is a reference antenna loop; the induction voltage value corresponding to the reference antenna loop is larger than the induction voltage values corresponding to the rest antenna loops, and the induction voltage value corresponding to the reference antenna loop is defined as a reference induction voltage value; the antenna loop positioned on the right side of the reference antenna loop is defined as a first right antenna loop, and the antenna loop positioned on the right side of the first right antenna loop is defined as a second right antenna loop; the antenna loop at the left side of the reference antenna loop is defined as a first left antenna loop, and the antenna loop at the left side of the first left antenna loop is defined as a second left antenna loop; the induced voltage value corresponding to the first right antenna loop is defined as a first right induced voltage value, the induced voltage value corresponding to the second right antenna loop is defined as a second right induced voltage value, the induced voltage value corresponding to the first left antenna loop is defined as a first left induced voltage value, and the induced voltage value corresponding to the second left antenna loop is defined as a second left induced voltage value; a determining step, comprising: judging whether a second right induced voltage value positioned on the right side of the reference antenna loop is larger than or equal to a first left induced voltage value; judging whether the second left induced voltage value is larger than or equal to the first right induced voltage value; if the second right induced voltage value is greater than or equal to the first left induced voltage value and the second left induced voltage value is greater than or equal to the first right induced voltage value, judging that the electromagnetic pen is inclined rightwards relative to the display device; if the second right induced voltage value is smaller than the first left induced voltage value and the second left induced voltage value is smaller than the first right induced voltage value, judging that the electromagnetic pen is inclined leftwards relative to the display device; if the second right induced voltage value is greater than or equal to the first left induced voltage value and the second left induced voltage value is greater than or equal to the first right induced voltage value, determining that the electromagnetic pen is in a vertical state relative to the display device; the unidirectional tilt determination step is performed twice, wherein one time is to determine that the electromagnetic pen is tilted right, tilted left or vertical with respect to the direction of the X axis of the display device by using an antenna loop group including a plurality of antenna loops arranged side by side along the X axis, and the other time is to determine that the electromagnetic pen is tilted right, tilted left or vertical with respect to the direction of the Y axis of the display device by using an antenna loop group including a plurality of antenna loops arranged side by side along the Y axis.
An embodiment of the invention discloses a method for determining an inclination direction of an electromagnetic pen, which is used for determining an inclination direction of an electromagnetic pen relative to a display device, wherein the display device comprises two antenna loop groups, each antenna loop group comprises a plurality of antenna loops, wherein the plurality of antenna loops included in one antenna loop group are arranged side by side along an X-axis direction, the plurality of antenna loops included in the other antenna loop group are arranged side by side along a Y-axis direction, and the method for determining the inclination direction of the electromagnetic pen comprises: a unidirectional tilt determination step, comprising: a power supply step: supplying power to each antenna loop of one antenna loop group; a comparison step: comparing the induced voltage values corresponding to the antenna loops which are powered, and finding out a first antenna loop, a second antenna loop and a third antenna loop; the antenna loop with the largest induced voltage value among the plurality of antenna loops is defined as a first antenna loop, the antenna loop with the second largest induced voltage value is defined as a second antenna loop, and the antenna loop with the third largest induced voltage value is defined as a third antenna loop; a judging step: judging the positions of the second antenna loop and the third antenna loop relative to the first antenna loop; if the second antenna loop and the third antenna loop are simultaneously positioned on the right side of the first antenna loop, judging that the electromagnetic pen is inclined rightwards relative to the display device; if the second antenna loop and the third antenna loop are simultaneously positioned at the left side of the first antenna loop, judging that the electromagnetic pen is inclined leftwards relative to the display device; if the second antenna loop and the third antenna loop are positioned at two sides of the first antenna loop, judging that the electromagnetic pen is in a vertical state relative to the display device; the unidirectional tilt determination step is performed twice, wherein one time is to determine that the electromagnetic pen is tilted right, tilted left or vertical with respect to the direction of the X axis of the display device by using an antenna loop group including a plurality of antenna loops arranged side by side along the X axis, and the other time is to determine that the electromagnetic pen is tilted right, tilted left or vertical with respect to the direction of the Y axis of the display device by using an antenna loop group including a plurality of antenna loops arranged side by side along the Y axis.
An embodiment of the present invention discloses a cursor position calculating method of an electromagnetic pen, for determining a cursor position of the electromagnetic pen on a display device, the display device includes two antenna loop groups, each antenna loop group includes a plurality of antenna loops, wherein the plurality of antenna loops included in one antenna loop group are arranged side by side along an X-axis direction, the plurality of antenna loops included in the other antenna loop group are arranged side by side along a Y-axis direction, the cursor position determining method of the electromagnetic pen includes: a unidirectional determination step, comprising: a power supply step: supplying power to a plurality of antenna loops contained in one antenna loop group of the electronic device, and obtaining an induced voltage value corresponding to each antenna loop after power supply; a comparison step: comparing the induced voltage values to determine which antenna loop is a reference antenna loop; the induction voltage value corresponding to the reference antenna loop is larger than the induction voltage values corresponding to the rest antenna loops, and the induction voltage value corresponding to the reference antenna loop is defined as a reference induction voltage value; the antenna loop positioned on the right side of the reference antenna loop is defined as a first right antenna loop, and the antenna loop positioned on the right side of the first right antenna loop is defined as a second right antenna loop; the antenna loop at the left side of the reference antenna loop is defined as a first left antenna loop, and the antenna loop at the left side of the first left antenna loop is defined as a second left antenna loop; the induced voltage value corresponding to the first right antenna loop is defined as a first right induced voltage value, the induced voltage value corresponding to the second right antenna loop is defined as a second right induced voltage value, the induced voltage value corresponding to the first left antenna loop is defined as a first left induced voltage value, and the induced voltage value corresponding to the second left antenna loop is defined as a second left induced voltage value; a determining step, comprising: judging whether a second right induced voltage value positioned on the right side of the reference antenna loop is larger than or equal to a first left induced voltage value; judging whether the second left induced voltage value is larger than or equal to the first right induced voltage value; if the second right induced voltage value is greater than or equal to the first left induced voltage value and the second left induced voltage value is greater than or equal to the first right induced voltage value, judging that the electromagnetic pen inclines rightwards relative to the display device, and calculating the cursor position corresponding to the electromagnetic pen in the display device by using the difference value between the reference induced voltage value and the first left induced voltage value and the difference value between the reference induced voltage value and the second right induced voltage value by the processing module; if the second right induced voltage value is smaller than the first left induced voltage value and the second left induced voltage value is smaller than the first right induced voltage value, judging that the electromagnetic pen inclines leftwards relative to the display device, and calculating the cursor position corresponding to the electromagnetic pen in the display device by using the difference value between the reference induced voltage value and the second left induced voltage value and the difference value between the reference induced voltage value and the first right induced voltage value by the processing module; if the second right induced voltage value is greater than or equal to the first left induced voltage value and the second left induced voltage value is greater than or equal to the first right induced voltage value, determining that the electromagnetic pen is in a vertical state relative to the display device, and calculating a cursor position corresponding to the electromagnetic pen in the display device by using the reference induced voltage value, the first right induced voltage value and the first left induced voltage value by the processing module; the unidirectional tilt determination step is performed twice, wherein one time is to determine that the electromagnetic pen is tilted right, tilted left or vertical with respect to the direction of the X axis of the display device by using an antenna loop group including a plurality of antenna loops arranged side by side along the X axis, and the other time is to determine that the electromagnetic pen is tilted right, tilted left or vertical with respect to the direction of the Y axis of the display device by using an antenna loop group including a plurality of antenna loops arranged side by side along the Y axis.
An embodiment of the invention discloses a method for determining an inclination direction of an electromagnetic pen, which is used for determining an inclination direction of an electromagnetic pen relative to a display device, wherein the display device comprises two antenna loop groups, each antenna loop group comprises a plurality of antenna loops, wherein the plurality of antenna loops included in one antenna loop group are arranged side by side along an X-axis direction, the plurality of antenna loops included in the other antenna loop group are arranged side by side along a Y-axis direction, and the method for determining the inclination direction of the electromagnetic pen comprises: a unidirectional tilt determination step, comprising: a power supply step: supplying power to each antenna loop of one antenna loop group; a comparison step: comparing the induced voltage values corresponding to the antenna loops which are powered, and finding out a first antenna loop, a second antenna loop, a third antenna loop, a fourth antenna loop and a fifth antenna loop; the antenna loop with the largest induced voltage value among the plurality of antenna loops is defined as a first antenna loop, the antenna loop with the second largest induced voltage value is defined as a second antenna loop, the antenna loop with the third largest induced voltage value is defined as a third antenna loop, the antenna loop with the fourth largest induced voltage value is defined as a fourth antenna loop, and the antenna loop with the fifth largest induced voltage value is defined as a fifth antenna loop; a judging step: judging the positions of the second antenna loop and the third antenna loop relative to the first antenna loop; if the second antenna loop and the third antenna loop are positioned at the right side of the first antenna loop at the same time, judging that the electromagnetic pen inclines rightwards relative to the display device, and calculating the corresponding cursor position of the electromagnetic pen in the display device by using the difference value of the induction voltage of the first antenna loop and the induction voltage of the third antenna loop and the difference value of the induction voltage of the first antenna loop and the induction voltage of the fourth antenna loop by the processing module; if the second antenna loop and the third antenna loop are simultaneously positioned at the left side of the first antenna loop, judging that the electromagnetic pen inclines leftwards relative to the display device, and calculating the corresponding cursor position of the electromagnetic pen in the display device by using the difference value of the induction voltage of the first antenna loop and the induction voltage of the third antenna loop and the difference value of the induction voltage of the first antenna loop and the induction voltage of the fourth antenna loop by the processing module; if the second antenna loop and the third antenna loop are positioned at two sides of the first antenna loop, judging that the electromagnetic pen is in a vertical state relative to the display device, and calculating the cursor position corresponding to the electromagnetic pen in the display device by using the difference value between the first antenna sensing voltage and the second sensing voltage by the processing module; the unidirectional tilt determination step is performed twice, wherein one time is to determine that the electromagnetic pen is tilted right, tilted left or vertical with respect to the direction of the X axis of the display device by using an antenna loop group including a plurality of antenna loops arranged side by side along the X axis, and the other time is to determine that the electromagnetic pen is tilted right, tilted left or vertical with respect to the direction of the Y axis of the display device by using an antenna loop group including a plurality of antenna loops arranged side by side along the Y axis.
In summary, the method for determining the tilt direction of the electromagnetic pen and calculating the cursor position of the electromagnetic pen and the display device of the invention have better accuracy compared with the conventional method for determining the tilt direction of the electromagnetic pen, so that the problem that the conventional method for determining the tilt direction of the electromagnetic pen is easy to misdetermine can be solved.
[ Description of the drawings ]
Fig. 1 is a schematic top view of a display device according to the present invention.
Fig. 2 is a flow chart illustrating a method for determining an inclination direction of an electromagnetic pen according to the present invention.
Fig. 3 is a schematic flow chart of another method for determining the tilt direction of the electromagnetic pen according to the present invention.
Fig. 4 shows an exemplary schematic diagram of a plurality of X-axis antenna loops and an electromagnetic pen.
Fig. 5 shows a first schematic diagram of induction voltage values corresponding to electromagnetic pens with different postures and 5 antenna loops.
Fig. 6 shows a second schematic diagram of the induction voltage values corresponding to the electromagnetic pen and the 5 antenna loops with different postures.
Fig. 7 shows a third schematic diagram of induction voltage values corresponding to electromagnetic pens with different postures and 5 antenna loops.
Fig. 8 shows a fourth schematic diagram of induction voltage values corresponding to electromagnetic pens with different postures and 5 antenna loops.
Fig. 9 shows a fifth schematic diagram of the induction voltage values corresponding to the electromagnetic pen and the 5 antenna loops with different postures.
FIG. 10 is a flow chart of a cursor position calculating method of the electromagnetic pen according to the present invention.
FIG. 11 is a flow chart of a cursor position calculating method of the electromagnetic pen according to the present invention.
Fig. 12 is a flowchart of another embodiment of a method for determining an inclination direction of an electromagnetic pen according to the present invention.
Fig. 13 is a flowchart of another embodiment of a cursor position calculating method of an electromagnetic pen according to the present invention.
[ Detailed description ] of the invention
In the following description, reference is made to or as indicated in the accompanying drawings, which are merely for emphasis instead of limiting the description in which reference is made to the specific drawings. The right side in the following examples refers to the positive X-axis direction (+x direction) or the negative Y-axis direction (-Y direction), while the left side in the following examples refers to the negative X-axis direction (-X direction) or the positive Y-axis direction (+y direction).
Referring to fig. 1 to 3, fig. 1 is a schematic top view of a display device according to the present invention, and fig. 2 and 3 are flow charts of a method for determining an inclination direction of an electromagnetic pen according to the present invention. As shown in fig. 1, the display device 1 includes a body 10, a processing module 11, a display 12, and two antenna loop sets. The body 10 is provided with a display 12. The processing module 11 is provided to the machine body 10. The machine body 10 may include a housing, a circuit board, and other components, the processing module 11 may be, for example, various micro processing Modules (MCUs) and signal processing circuits, where the signal processing circuits include, for example, a loop switch (switch), a signal filter, a signal amplification circuit (amplifier), an analog/digital conversion circuit (a/Dconverter), and the processing module 11 can execute the method for determining the tilt direction of the electromagnetic pen according to the present invention, so as to determine that the electromagnetic pen 2 is tilted rightward, leftward, or vertical in the X-axis and the Y-axis relative to the display device 1, respectively.
The display 12 is disposed in the machine body 10, and the display 12 can be controlled by the processing module 11 to display a display screen. Two antenna loop sets are disposed in the machine body 10, and the two antenna loop sets are disposed corresponding to the positions of the display 12. When the user performs clicking, drawing, etc. operations on the display 12 using the electromagnetic pen 2, the two antenna loop sets will sense the position of the electromagnetic pen 2 relative to the display 12, and the processing module 11 can display a cursor at a corresponding position in the display screen of the display 12, where the position of the cursor in the display screen corresponds to the pen tip position of the electromagnetic pen 2.
The two antenna loop groups are respectively defined as an X-axis antenna loop group 131 and a Y-axis antenna loop group 132, wherein the X-axis antenna loop group 131 includes a plurality of X-axis antenna loops 1311, and the Y-axis antenna loop group 132 includes a plurality of Y-axis antenna loops 1321. A part of each X-axis antenna loop 1311 and a part of at least one X-axis antenna loop 1311 adjacent thereto are disposed so as to overlap each other; a portion of each Y-axis antenna loop 1321 is disposed overlapping with a portion of at least one Y-axis antenna loop 1321 adjacent thereto; each of the X-axis antenna circuits 1311 and the plurality of Y-axis antenna circuits 1321 are provided so as to overlap each other, and each of the Y-axis antenna circuits 1321 and the plurality of X-axis antenna circuits 1311 are provided so as to overlap each other. The number of X-axis antenna loops 1311 and Y-axis antenna loops 1321 shown in fig. 1 is merely an example, and in practical applications, the number of X-axis antenna loops 1311 and Y-axis antenna loops 1321 may be designed according to the size of the display, the size of the electromagnetic pen 2, the size of an induction coil 21 disposed in the electromagnetic pen 2, and so on.
The method for judging the inclination direction of the electromagnetic pen comprises the following steps: the unidirectional tilt determination step is performed simultaneously or sequentially, wherein the unidirectional tilt determination step is performed twice, one time, the unidirectional tilt determination step is performed by using the X-axis antenna loop group 131 to determine whether the electromagnetic pen 1 is tilted right, tilted left or vertical relative to the display device 1 in the X-axis direction, and the unidirectional tilt determination step is performed again by using the Y-axis antenna loop group 132 to determine whether the electromagnetic pen is tilted right, tilted left or vertical relative to the display device 1 in the Y-axis direction.
As shown in fig. 1 and 2, the one-way tilt determination step includes: a power supply step S11: the X-axis antenna loop group 131 of the display device 1 is powered by the plurality of X-axis antenna loops 1311, and an induced voltage value corresponding to each of the powered X-axis antenna loops 1311 is obtained;
A comparison step S12: comparing the induced voltage values to determine which X-axis antenna loop 1311 is a reference antenna loop; the induction voltage value corresponding to the reference antenna loop is larger than the induction voltage values corresponding to the rest X-axis antenna loops, and the induction voltage value corresponding to the reference antenna loop is defined as a reference induction voltage value P max; the X-axis antenna loop positioned on the right side of the reference antenna loop is defined as a first right-side antenna loop, and the X-axis antenna loop positioned on the right side of the first right-side antenna loop is defined as a second right-side antenna loop; the X-axis antenna loop positioned at the left side of the reference antenna loop is defined as a first left-side antenna loop, and the antenna loop positioned at the left side of the first left-side antenna loop is defined as a second left-side antenna loop; the induced voltage value corresponding to the first right antenna loop is defined as a first right induced voltage value P max+1, the induced voltage value corresponding to the second right antenna loop is defined as a second right induced voltage value P max+2, the induced voltage value corresponding to the first left antenna loop is defined as a first left induced voltage value P max-1, and the induced voltage value corresponding to the second left antenna loop is defined as a second left induced voltage value P max-2;
a determining step, comprising:
Step S131: judging whether the second right induced voltage value P max+2 is larger than or equal to the first left induced voltage value P max-1;
Step S132: judging whether the second left induced voltage value P max-2 is larger than or equal to the first right induced voltage value P max+1;
If the second right induced voltage value P max+2 is greater than or equal to the first left induced voltage value P max-1 (P max+2≥Pmax-1 in mathematical expression), and the second left induced voltage value P max-2 is less than the first right induced voltage value P max+1 (P max-2<Pmax+1 in mathematical expression), it is determined that the electromagnetic pen 2 is tilted rightward in the X-axis direction relative to the display device 1 (i.e., the pen tip 22 of the electromagnetic pen 2 is facing right and the pen body 23 of the electromagnetic pen 2 is facing left);
If the second right induced voltage value P max+2 is smaller than the first left induced voltage value P max-1 (P max+2<Pmax-1 in mathematical expression), and the second left induced voltage value P max-2 is greater than or equal to the first right induced voltage value P max+1 (P max-2≥Pmax+1 in mathematical expression), it is determined that the electromagnetic pen 2 is tilted to the left in the X-axis direction relative to the display device 1 (i.e., the pen tip 22 of the electromagnetic pen 2 is facing to the left and the pen body 23 of the electromagnetic pen 2 is facing to the right);
If the second right induced voltage P max+2 is smaller than the first left induced voltage P max-1 (P max+2<Pmax-1 in mathematical expression) and the second left induced voltage P max-2 is smaller than the first right induced voltage P max+1 (P max-2<Pmax+1 in mathematical expression), it is determined that the electromagnetic pen 2 is perpendicular to the display device 1 in the X-axis direction (i.e., the electromagnetic pen 2 is disposed substantially perpendicular to the display device 1 in the X-axis direction as a whole). It should be noted that the sequence of step S131 and step S132 may be exchanged.
As shown in fig. 3, the other unidirectional inclination determination step includes:
a power supply step S21: the Y-axis antenna loops 1312 included in the Y-axis antenna loop group 132 of the display device 1 are powered to obtain an induced voltage value corresponding to each of the powered Y-axis antenna loops 1312;
a comparison step S22: comparing the plurality of induced voltage values to determine which Y-axis antenna loop 1312 is a reference antenna loop; the induction voltage value corresponding to the reference antenna loop is larger than the induction voltage values corresponding to the rest Y-axis antenna loops, and the induction voltage value corresponding to the reference antenna loop is defined as a reference induction voltage value P max; the Y-axis antenna loop positioned on the right side of the reference antenna loop is defined as a first right-side antenna loop, and the Y-axis antenna loop positioned on the right side of the first right-side antenna loop is defined as a second right-side antenna loop; the Y-axis antenna loop positioned at the left side of the reference antenna loop is defined as a first left-side antenna loop, and the antenna loop positioned at the left side of the first left-side antenna loop is defined as a second left-side antenna loop; the induced voltage value corresponding to the first right antenna loop is defined as a first right induced voltage value P max+1, the induced voltage value corresponding to the second right antenna loop is defined as a second right induced voltage value P max+2, the induced voltage value corresponding to the first left antenna loop is defined as a first left induced voltage value P max-1, and the induced voltage value corresponding to the second left antenna loop is defined as a second left induced voltage value P max-2;
a determining step, comprising:
step S231: judging whether the second right induced voltage value P max+2 is larger than or equal to the first left induced voltage value P max-1;
Step S232: judging whether the second left induced voltage value P max-2 is larger than or equal to the first right induced voltage value P max+1;
If the second right induced voltage value P max+2 is greater than or equal to the first left induced voltage value P max-1 (P max+2≥Pmax-1 in mathematical expression), and the second left induced voltage value P max-2 is less than the first right induced voltage value P maY+1 (P max-2<Pmax+1 in mathematical expression), it is determined that the electromagnetic pen 2 is tilted rightward in the Y-axis direction relative to the display device 1 (i.e., the pen tip 22 of the electromagnetic pen 2 is facing right and the pen body 23 of the electromagnetic pen 2 is facing left);
If the second right induced voltage value P max+2 is smaller than the first left induced voltage value P max-1 (P max+2<Pmax-1 in mathematical expression), and the second left induced voltage value P max-2 is greater than or equal to the first right induced voltage value P max+1 (P max-2≥Pmax+1 in mathematical expression), it is determined that the electromagnetic pen 2 is tilted to the left in the Y-axis direction relative to the display device 1 (i.e., the pen tip 22 of the electromagnetic pen 2 is facing to the left and the pen body 23 of the electromagnetic pen 2 is facing to the right);
If the second right induced voltage P max+2 is smaller than the first left induced voltage P max-1 (P max+2<Pmax-1 in mathematical expression) and the second left induced voltage P max-2 is smaller than the first right induced voltage P max+1 (P max-2<Pmax+1 in mathematical expression), it is determined that the electromagnetic pen 2 is perpendicular to the display device 1 in the Y-axis direction (i.e., the electromagnetic pen 2 is disposed substantially perpendicular to the display device 1 in the Y-axis direction as a whole). It should be noted that the sequence of step S231 and step S232 may be exchanged.
In practical applications, the processing module 11 may execute another unidirectional tilt determination step after executing one unidirectional tilt determination step, and the first time the processing module 11 executes the unidirectional tilt determination step, the X-axis antenna loop group 131 (or the Y-axis antenna loop group 132) may be used to determine that the electromagnetic pen 2 is tilted to the right, tilted to the left, or in a vertical state along the X-axis direction relative to the display 12, and the second time the processing module 11 executes the unidirectional tilt determination step, the Y-axis antenna loop group 132 (or the X-axis antenna loop group 131) is used to determine that the electromagnetic pen 2 is tilted to the right, tilted to the left, or in a vertical state along the Y-axis direction relative to the display 12. Of course, in different embodiments, the processing module 11 may perform two unidirectional tilt determination steps simultaneously, or the display device 1 may have two processing modules 11 performing unidirectional tilt determination steps at the same time.
It should be noted that, in the comparing step, the processing module 11 may start to supply power to the X-axis antenna loop (or the Y-axis antenna loop) nearest to one side of the display device 1 one by one along the X-axis direction (or the Y-axis direction), the induced voltage value corresponding to the first powered X-axis antenna loop (or the Y-axis antenna loop) is recorded as a current maximum induced voltage value, and the processing module 11 compares whether the induced voltage value corresponding to the first powered X-axis antenna loop (or the Y-axis antenna loop) is greater than the current maximum induced voltage value one by one; if the processing module 11 determines that the induced voltage value corresponding to the X-axis antenna loop (or Y-axis antenna loop) that is currently being powered is greater than the current maximum induced voltage value, the processing module 11 will replace the current maximum induced voltage value with the induced voltage value corresponding to the X-axis antenna loop (or Y-axis antenna loop) that is currently being powered; when the processing module 11 determines that none of the induction voltage values corresponding to the X-axis antenna loops (or Y-axis antenna loops) that are continuously powered by 2 are greater than the current maximum induction voltage value, the processing module 11 will stop the comparing step and continue to execute the determining step. That is, when the processing module 11 performs the comparison step, each antenna loop is not required to be powered, but the processing module 11 only needs to find the X-axis antenna loop (or the Y-axis antenna loop) with the maximum induced voltage value, and then stop powering the rest of the antenna loops, so that the speed of the cursor corresponding to the electromagnetic pen 2 displayed by the processing module 11 on the display screen of the display 12 can be greatly improved.
Fig. 4 shows an exemplary schematic diagram of a plurality of X-axis antenna loops and an electromagnetic pen. Assuming that the X-axis antenna loop group 131 of the display device includes 11X-axis antenna loops 1311, the electromagnetic pen 2 is inclined to the right in the X-axis direction with respect to the X-axis antenna loop group 131, and the induction coil 21 of the electromagnetic pen 2 is correspondingly located above the 5 th X-axis antenna loop 1311 from the left side of the X-axis antenna loop group 131 in the figure, when the processing module of the display device performs the unidirectional inclination direction determining step, the processing module of the display device may power the X-axis antenna loops 1311 one by one from the left side of the figure to the right side along the X-axis direction, and the processing module may power the 7 th X-axis antenna loop from the left side of the figure, and the processing module may determine that the induction voltage values corresponding to two antenna loops that have been powered continuously are smaller than the current maximum induction voltage value (i.e., the induction voltage values corresponding to the 5 th X-axis antenna loop from the left side of the figure), and the processing module may stop powering the rest of the X-axis antenna loops, and the processing module may perform the subsequent determining step; when the processing module executes the judging step, the processing module takes the 3 rd to 7 th X-axis antenna loops from the left side in the figure as the second left side antenna loop, the first left side antenna loop, the reference antenna loop, the first right side antenna loop and the second right side antenna loop. According to the method for judging the tilt direction of the electromagnetic pen, the second left antenna loop, the first left antenna loop, the reference antenna loop, the first right antenna loop and the second right antenna loop are utilized, and the design such as "when the processing module judges that the induction voltage values corresponding to the continuous 2 antenna loops which are powered are not greater than the current maximum induction voltage value, the processing module stops the comparing step and continues to execute the judging step" is matched, so that the processing module can judge the tilt direction of the electromagnetic pen relative to the display device more quickly, and the processing module does not consume a great amount of time to supply power to the antenna loops which are not helpful for judging whether the electromagnetic pen is tilted or not in the control of the related power supply units.
As shown in fig. 5, a first schematic diagram of the induced voltage values corresponding to the electromagnetic pen and the 5 antenna loops located below the electromagnetic pen is shown. According to the aforementioned method for determining the tilt direction of the electromagnetic pen according to the present invention, in this embodiment, the processing module 11 determines that the second right-side induced voltage P max+2 is greater than the first left-side induced voltage P max-1 and the second left-side induced voltage P max-2 is less than the first right-side induced voltage P max+1, and the processing module 11 determines that the electromagnetic pen 2 is tilted to the right with respect to the display.
As shown in fig. 6, a second schematic diagram of the induced voltage values corresponding to the electromagnetic pen and the 5 antenna loops located below the electromagnetic pen is shown. According to the aforementioned method for determining the tilt direction of the electromagnetic pen according to the present invention, in this embodiment, the processing module 11 determines that the second left-hand induced voltage P max-2 is greater than the first right-hand induced voltage P max+1 and the second right-hand induced voltage P max+2 is less than the first left-hand induced voltage P max-1, and the processing module 11 determines that the electromagnetic pen 2 is tilted to the left with respect to the display.
As shown in fig. 7, a third schematic diagram of the induction voltage values corresponding to the electromagnetic pen and the 5 antenna loops located below the electromagnetic pen is shown. According to the aforementioned method for determining the tilt direction of the electromagnetic pen of the present invention, in this embodiment, the processing module 11 determines that the second left induced voltage P max-2 is smaller than the first right induced voltage P max+1, and the second right induced voltage P max+2 is smaller than the first left induced voltage P max-1, and the processing module 11 determines that the electromagnetic pen 2 is vertical to the display.
As shown in fig. 8, a fourth diagram of the induced voltage values corresponding to the electromagnetic pen and the 5 antenna loops located below the electromagnetic pen is shown. In practical applications, the second right-side induced voltage P max+2 is smaller than the first left-side induced voltage P max-1 and the second left-side induced voltage P max-2 is larger than the first right-side induced voltage P max+1, but the first right-side induced voltage P max+1 is larger than the first left-side induced voltage P max-1 due to various factors (for example, the angle of inclination of the hand-held electromagnetic pen is too large), and in this case, if the first right-side induced voltage P max+1 and the first left-side induced voltage P max-1 are compared to determine the inclination of the electromagnetic pen 2, it is determined that: although the electromagnetic pen 2 is tilted rightward with respect to the display, the above-described method for determining the tilt direction of the electromagnetic pen according to the present invention can accurately determine that the electromagnetic pen 2 is tilted leftward with respect to the display.
As shown in fig. 9, a fifth diagram of the induction voltage values corresponding to the electromagnetic pen and the 5 antenna loops located below the electromagnetic pen is shown. In practical applications, it may occur that the second right induced voltage P max+2 is greater than the first left induced voltage P max-1 and the second left induced voltage P max-2 is less than the first right induced voltage P max+1, but the first right induced voltage P max+1 is less than the first left induced voltage P max-1, in which case, if the first right induced voltage P max+1 and the first left induced voltage P max-1 are compared to determine the tilt direction of the electromagnetic pen 2, it may be determined that: although the electromagnetic pen 2 is tilted leftward with respect to the display, the above-described method for determining the tilt direction of the electromagnetic pen according to the present invention can accurately determine that the electromagnetic pen 2 is tilted rightward with respect to the display.
In summary, in the method for determining the tilt direction of the electromagnetic pen according to the present invention, by the steps of determining whether the second right induced voltage value P max+2 is greater than or equal to the first left induced voltage value P max-1 and determining whether the second left induced voltage value P max-2 is greater than or equal to the first right induced voltage value P max+1, a more accurate determination result can be obtained than a method of determining the tilt direction of the electromagnetic pen by using only the first right induced voltage value P max+1 and the first left induced voltage value P max-1. In addition, the method for judging the inclination direction of the electromagnetic pen judges that the electromagnetic pen is inclined rightwards, leftwards or vertical relative to the display by only 5 antenna loops, so that the speed of the processing module for controlling the display to display the cursor corresponding to the pen point of the electromagnetic pen can be greatly improved.
In the above-mentioned method for determining the tilt direction of the electromagnetic pen according to the present invention, it can be accurately determined that the electromagnetic pen 2 is tilted to the right, to the left or to the vertical in the X-axis direction and the Y-axis direction, respectively, and when the processing module 11 determines that the electromagnetic pen 2 is tilted to the left or to the right relative to the display, the processing module 11 can correspondingly correct the cursor position (coordinates) corresponding to the pen tip 22 of the electromagnetic pen 2 in the display screen of the display, and the user can see that the cursor position corresponds to the pen tip 22 of the electromagnetic pen 2. More specifically, when the electromagnetic pen 2 is disposed obliquely with respect to the display and the processing module 11 does not correct the cursor position, the user will see that the cursor is located under the pen shaft of the electromagnetic pen 2 (i.e. at the position where the induction coil 23 is disposed).
Referring to fig. 1, fig. 10 and fig. 11 together, fig. 10 and fig. 11 are flowcharts illustrating a cursor position calculating method of an electromagnetic pen according to the present invention. As shown in fig. 1, the processing module 11 of the display device 1 of the present invention can also execute the cursor position calculating method of the electromagnetic pen of the present invention to calculate an X-axis coordinate value and a Y-axis coordinate value of a cursor in the display screen of the display 12, and display the cursor corresponding to the position of the pen tip 22 of the electromagnetic pen 2 in the display screen.
The cursor position calculating method of the electromagnetic pen comprises the following steps: the two unidirectional tilt determination steps are performed simultaneously or sequentially, wherein one of the unidirectional tilt determination steps is performed by using the X-axis antenna loop group 131 to determine whether the electromagnetic pen 2 is tilted right, tilted left or vertical with respect to the display in the X-axis direction, and the other one of the unidirectional tilt determination steps is performed by using the Y-axis antenna loop group 132 to determine whether the electromagnetic pen 2 is tilted right, tilted left or vertical with respect to the display in the Y-axis direction.
As shown in fig. 10, the one-way determining step performed by the processing module 11 includes: a power supply step S31: the X-axis antenna loops 1312 included in the X-axis antenna loop group 132 of the display device 1 are powered to obtain an induced voltage value corresponding to each of the powered X-axis antenna loops 1312;
A comparison step S32: comparing the plurality of induced voltage values to determine which of the X-axis antenna loops 1312 is a reference antenna loop; the induction voltage value corresponding to the reference antenna loop is larger than the induction voltage values corresponding to the rest X-axis antenna loops, and the induction voltage value corresponding to the reference antenna loop is defined as a reference induction voltage value P max; the X-axis antenna loop positioned on the right side of the reference antenna loop is defined as a first right-side antenna loop, and the X-axis antenna loop positioned on the right side of the first right-side antenna loop is defined as a second right-side antenna loop; the X-axis antenna loop positioned at the left side of the reference antenna loop is defined as a first left-side antenna loop, and the antenna loop positioned at the left side of the first left-side antenna loop is defined as a second left-side antenna loop; the induced voltage value corresponding to the first right antenna loop is defined as a first right induced voltage value P max+1, the induced voltage value corresponding to the second right antenna loop is defined as a second right induced voltage value P max+2, the induced voltage value corresponding to the first left antenna loop is defined as a first left induced voltage value P max-1, and the induced voltage value corresponding to the second left antenna loop is defined as a second left induced voltage value P max-2;
a judging step S33, which includes: step S331: judging whether the second right induced voltage value P max+2 is larger than or equal to the first left induced voltage value P max-1;
Step S332: judging whether the second left induced voltage value P max-2 is larger than or equal to the first right induced voltage value P max+1;
If the second right induced voltage P max+2 is greater than or equal to the first left induced voltage P max-1 (represented by the formula P max+2≥Pmax-1) and the second left induced voltage P max-2 is less than the first right induced voltage P max+1 (represented by the formula P max-2<Pmax+1), the processing module 11 determines that the electromagnetic pen 2 is tilted to the right relative to the display 12, and the processing module 11 calculates the cursor position corresponding to the electromagnetic pen 2 in the display screen of the display 12 by using the difference between the reference induced voltage P max and the first left induced voltage P max-1 (represented by the formula P max-Pmax-1) and the difference between the reference induced voltage P max and the second right induced voltage P max+2 (represented by the formula P max-Pmax+2);
If the second right induced voltage P max+2 is smaller than the first left induced voltage P max-1 (represented by the formula P max+2<Pmax-1) and the second left induced voltage P max-2 is greater than or equal to the first right induced voltage P max+1 (represented by the formula P max-2≥Pmax+1), the processing module 11 determines that the electromagnetic pen 2 is tilted to the left with respect to the display, and the processing module 11 calculates the cursor position corresponding to the display screen of the display 12 by using the difference between the reference induced voltage P max and the second left induced voltage P max-2 (represented by the formula P max-Pmax-2) and the difference between the reference induced voltage P max and the first right induced voltage P max+1 (represented by the formula P max-Pmax+1);
If the second right induced voltage P max+2 is smaller than the first left induced voltage P max-1 (expressed by the mathematical formula P max+2≥Pmax-1) and the second left induced voltage P max-2 is smaller than the first right induced voltage P max+1 (expressed by the mathematical formula P max-2≥Pmax+1), the processing module 11 determines that the electromagnetic pen 2 is vertical to the display, and the processing module 11 calculates the cursor position corresponding to the electromagnetic pen in the display screen of the display by using the reference induced voltage P max, the first right induced voltage P max+1 and the first left induced voltage P max-1. It should be noted that the sequence of step S331 and step S332 may be exchanged.
As shown in fig. 11, the one-way determining step performed by the processing module 11 includes: a power supply step S41: the Y-axis antenna loops 1312 included in the Y-axis antenna loop group 132 of the display device 1 are powered to obtain an induced voltage value corresponding to each of the powered Y-axis antenna loops 1312;
a comparison step S42: comparing the plurality of induced voltage values to determine which Y-axis antenna loop 1312 is a reference antenna loop; the induction voltage value corresponding to the reference antenna loop is larger than the induction voltage values corresponding to the rest Y-axis antenna loops, and the induction voltage value corresponding to the reference antenna loop is defined as a reference induction voltage value P max; the Y-axis antenna loop positioned on the right side of the reference antenna loop is defined as a first right-side antenna loop, and the Y-axis antenna loop positioned on the right side of the first right-side antenna loop is defined as a second right-side antenna loop; the Y-axis antenna loop positioned at the left side of the reference antenna loop is defined as a first left-side antenna loop, and the antenna loop positioned at the left side of the first left-side antenna loop is defined as a second left-side antenna loop; the induced voltage value corresponding to the first right antenna loop is defined as a first right induced voltage value P max+1, the induced voltage value corresponding to the second right antenna loop is defined as a second right induced voltage value P max+2, the induced voltage value corresponding to the first left antenna loop is defined as a first left induced voltage value P max-1, and the induced voltage value corresponding to the second left antenna loop is defined as a second left induced voltage value P max-2;
A judging step S43, which includes: step S431: judging whether the second right induced voltage value P max+2 is larger than or equal to the first left induced voltage value P max-1;
Step S432: judging whether the second left induced voltage value P max-2 is larger than or equal to the first right induced voltage value P max+1;
If the second right induced voltage P max+2 is greater than or equal to the first left induced voltage P max-1 (represented by the formula P max+2≥Pmax-1) and the second left induced voltage P max-2 is less than the first right induced voltage P max+1 (represented by the formula P max-2<Pmax+1), the processing module 11 determines that the electromagnetic pen 2 is tilted to the right relative to the display 12, and the processing module 11 calculates the cursor position corresponding to the electromagnetic pen 2 in the display screen of the display 12 by using the difference between the reference induced voltage P max and the first left induced voltage P max-1 (represented by the formula P max-Pmax-1) and the difference between the reference induced voltage P max and the second right induced voltage P max+2 (represented by the formula P max-Pmax+2);
If the second right induced voltage P max+2 is smaller than the first left induced voltage P max-1 (represented by the formula P max+2<Pmax-1) and the second left induced voltage P max-2 is greater than or equal to the first right induced voltage P max+1 (represented by the formula P max-2≥Pmax+1), the processing module 11 determines that the electromagnetic pen 2 is tilted to the left with respect to the display, and the processing module 11 calculates the cursor position corresponding to the display screen of the display 12 by using the difference between the reference induced voltage P max and the second left induced voltage P max-2 (represented by the formula P max-Pmax-2) and the difference between the reference induced voltage P max and the first right induced voltage P max+1 (represented by the formula P max-Pmax+1);
If the second right induced voltage P max+2 is smaller than the first left induced voltage P max-1 (expressed by the mathematical formula P max+2≥Pmax-1) and the second left induced voltage P max-2 is smaller than the first right induced voltage P max+1 (expressed by the mathematical formula P max-2≥Pmax+1), the processing module 11 determines that the electromagnetic pen 2 is vertical to the display, and the processing module 11 calculates the cursor position corresponding to the electromagnetic pen in the display screen of the display by using the reference induced voltage P max, the first right induced voltage P max+1 and the first left induced voltage P max-1.
In practical applications, if each antenna loop corresponds to surrounding Q pixels, the reference antenna loop is defined as the nth antenna loop of the display device 1 from left to right; when the processing module 11 calculates the cursor position of the electromagnetic pen 2 corresponding to the display screen of the display 12, the processing module 11 will also calculate a right induced voltage difference Δr and a left induced voltage difference Δl to the processing module 11, and determine that the pen tip 22 of the electromagnetic pen 2 is correspondingly located at the left half side (i.e. Δl > Δr) or the right half side (i.e. Δr > Δl) in the range surrounded by the reference antenna loop; if the nib 22 of the electromagnetic pen 2 is located on the left half side of the range surrounded by the reference antenna loop, the X-axis coordinate (or Y-axis coordinate) of the cursor is Q (N-1) +q/2×right induced voltage difference Δr/left induced voltage difference Δl (expressed by the mathematical formula: Q (N-1) + (q×Δr)/(2×Δl)); if the nib 22 of the electromagnetic pen 2 is located on the right half of the range surrounded by the reference antenna loop, the X-axis coordinate (or Y-axis coordinate) of the cursor is Q (N-1) +q/2×left induced voltage difference Δl/right induced voltage difference Δr (expressed by the mathematical formula: Q (N-1) + (q×Δl)/(2×Δr)).
If the processing module 11 determines that the electromagnetic pen 2 is perpendicular to the display 11, the right induced voltage difference Δr is the reference induced voltage value P max minus the first right induced voltage value P max+1 (expressed by mathematical formula: Δr=p max-Pmax+1), and the left induced voltage difference Δl is the reference induced voltage value P max minus the first left induced voltage value P max-1 (expressed by mathematical formula: Δl=p max-Pmax-1); if the processing module 11 determines that the electromagnetic pen 2 is tilted to the left, the left induced voltage difference Δl is the reference induced voltage value P max minus the second left induced voltage value P max-2 (expressed by mathematical formula: Δl=p max-Pmax-2), and the right induced voltage difference Δr is the reference induced voltage value P max minus the first right induced voltage value P max+1 (expressed by mathematical formula: Δr=p max-Pmax+1); if the processing module 11 determines that the electromagnetic pen 2 is tilted to the right, the right induced voltage difference Δr is the reference induced voltage value P max minus the second right induced voltage value P max+2 (expressed by the mathematical formula: Δr=p max-Pmax+2), and the left induced voltage difference Δl is the reference induced voltage value P max minus the first left induced voltage value P max-1 (expressed by the mathematical formula: Δl=p max-Pmax-1).
As described above, if the nib 22 of the electromagnetic pen 2 is correspondingly located at the left half side of the range surrounded by the reference antenna loop, and the processing module determines that the electromagnetic pen is perpendicular to the display device, the X axis coordinate value (or Y axis coordinate value) of the cursor is expressed as:
In the above description, if the nib of the electromagnetic pen is correspondingly located at the left half side of the range surrounded by the reference antenna loop, and the processing module determines that the electromagnetic pen is tilted to the left, the X axis coordinate value (or Y axis coordinate value) of the cursor is expressed as:
in the above description, if the nib of the electromagnetic pen is correspondingly located at the left half side of the range surrounded by the reference antenna loop, and the processing module determines that the electromagnetic pen is inclined to the right, the X axis coordinate value (or Y axis coordinate value) of the cursor is expressed as:
In the above description, if the nib of the electromagnetic pen is correspondingly located on the right half side of the range surrounded by the reference antenna loop, and the processing module determines that the electromagnetic pen is perpendicular to the display device, the X axis coordinate value (or Y axis coordinate value) of the cursor is expressed as:
In the above description, if the nib of the electromagnetic pen is correspondingly located at the right half side of the range surrounded by the reference antenna loop, and the processing module determines that the electromagnetic pen is tilted to the left, the X axis coordinate value (or Y axis coordinate value) of the cursor is expressed as:
in the above description, if the pen tip of the electromagnetic pen is correspondingly located at the right half side of the range surrounded by the reference antenna loop, and the processing module determines that the electromagnetic pen is inclined to the right, the X axis coordinate value (or Y axis coordinate value) of the cursor is expressed as:
In summary, the processing module 11 can calculate the X-axis coordinate value and the Y-axis coordinate value of the electromagnetic pen 2 in the display screen of the display 12 according to the values of the reference induced voltage, the first right induced voltage, the second right induced voltage, the first left induced voltage, the second left induced voltage, and the state that the electromagnetic pen is located at the left half side or the right half side of the reference antenna loop, so as to display the cursor corresponding to the pen tip of the electromagnetic pen at the specific position in the display screen.
Fig. 12 is a flowchart illustrating a method for determining an inclination direction of an electromagnetic pen according to another embodiment of the invention. The method for determining an inclination direction of a magnetic pen according to the present embodiment is used for determining an inclination direction of an electromagnetic pen with respect to a display device, the display device includes two antenna loop sets, each antenna loop set includes a plurality of antenna loops, wherein the plurality of antenna loops included in one antenna loop set are arranged side by side along an X-axis direction, and the plurality of antenna loops included in the other antenna loop set are arranged side by side along a Y-axis direction. The display device and the plurality of antenna loops in this embodiment are the same as those in the previous embodiments, and will not be described in detail. The method for judging the inclination direction of the electromagnetic pen in the embodiment comprises the following steps: a unidirectional tilt determination step, comprising:
a power supply step S51: supplying power to each antenna loop of one antenna loop group;
A comparison step S52: comparing the induced voltage values corresponding to the antenna loops which are powered, and finding out a first antenna loop, a second antenna loop and a third antenna loop; the antenna loop with the largest induced voltage value among the plurality of antenna loops is defined as a first antenna loop, the antenna loop with the second largest induced voltage value is defined as a second antenna loop, and the antenna loop with the third largest induced voltage value is defined as a third antenna loop;
A judging step S53: judging the positions of the second antenna loop and the third antenna loop relative to the first antenna loop; if the second antenna loop and the third antenna loop are simultaneously positioned on the right side of the first antenna loop, judging that the electromagnetic pen is inclined rightwards relative to the display device; if the second antenna loop and the third antenna loop are simultaneously positioned at the left side of the first antenna loop, judging that the electromagnetic pen is inclined leftwards relative to the display device; if the second antenna loop and the third antenna loop are positioned at two sides of the first antenna loop, judging that the electromagnetic pen is in a vertical state relative to the display device;
The unidirectional tilt determination step is performed twice, wherein one time is to determine that the electromagnetic pen is tilted right, tilted left or vertical with respect to the direction of the X axis of the display device by using an antenna loop group including a plurality of antenna loops arranged side by side along the X axis, and the other time is to determine that the electromagnetic pen is tilted right, tilted left or vertical with respect to the direction of the Y axis of the display device by using an antenna loop group including a plurality of antenna loops arranged side by side along the Y axis.
In summary, the method for determining the tilt direction of the electromagnetic pen according to the present embodiment mainly includes supplying power to a plurality of antenna loops arranged along the X-axis direction and a plurality of antenna loops arranged along the Y-axis direction, obtaining induced voltages of all the antenna loops, determining three antenna loops having the first three induced voltage values according to the induced voltages, and determining a positional relationship of the three antenna loops relative to each other according to whether the electromagnetic pen is tilted right, tilted left, or perpendicular to the X-axis direction and the Y-axis direction of the display device, respectively.
Fig. 13 is a flowchart of another embodiment of a cursor position calculating method of an electromagnetic pen according to the present invention. The method for determining an inclination direction of an electromagnetic pen according to the present embodiment is used for determining an inclination direction of an electromagnetic pen with respect to a display device, the display device includes two antenna loop sets, each antenna loop set includes a plurality of antenna loops, wherein the plurality of antenna loops included in one antenna loop set are arranged side by side along an X-axis direction, and the plurality of antenna loops included in the other antenna loop set are arranged side by side along a Y-axis direction. The display device and the plurality of antenna loops in this embodiment are the same as those in the previous embodiments, and will not be described in detail. The method for judging the inclination direction of the electromagnetic pen in the embodiment comprises the following steps: a unidirectional tilt determination step, comprising:
a power supply step S61: supplying power to each antenna loop of one antenna loop group;
A comparison step S62: comparing the induced voltage values corresponding to the antenna loops which are powered, and finding out a first antenna loop, a second antenna loop, a third antenna loop, a fourth antenna loop and a fifth antenna loop; the antenna loop with the largest induced voltage value among the plurality of antenna loops is defined as a first antenna loop, the antenna loop with the second largest induced voltage value is defined as a second antenna loop, the antenna loop with the third largest induced voltage value is defined as a third antenna loop, the antenna loop with the fourth largest induced voltage value is defined as a fourth antenna loop, and the antenna loop with the fifth largest induced voltage value is defined as a fifth antenna loop;
A judging step S63: judging the positions of the second antenna loop and the third antenna loop relative to the first antenna loop;
If the second antenna loop and the third antenna loop are positioned at the right side of the first antenna loop at the same time, judging that the electromagnetic pen inclines rightwards relative to the display device, and calculating the corresponding cursor position of the electromagnetic pen in the display device by using the difference value of the induction voltage of the first antenna loop and the induction voltage of the third antenna loop and the difference value of the induction voltage of the first antenna loop and the induction voltage of the fourth antenna loop by the processing module;
If the second antenna loop and the third antenna loop are simultaneously positioned at the left side of the first antenna loop, judging that the electromagnetic pen inclines leftwards relative to the display device, and calculating the corresponding cursor position of the electromagnetic pen in the display device by using the difference value of the induction voltage of the first antenna loop and the induction voltage of the third antenna loop and the difference value of the induction voltage of the first antenna loop and the induction voltage of the fourth antenna loop by the processing module;
If the second antenna loop and the third antenna loop are positioned at two sides of the first antenna loop, judging that the electromagnetic pen is in a vertical state relative to the display device, and calculating the cursor position corresponding to the electromagnetic pen in the display device by using the difference value between the first antenna sensing voltage and the second sensing voltage by the processing module;
The unidirectional tilt determination step is performed twice, wherein one time is to determine that the electromagnetic pen is tilted right, tilted left or vertical with respect to the direction of the X axis of the display device by using an antenna loop group including a plurality of antenna loops arranged side by side along the X axis, and the other time is to determine that the electromagnetic pen is tilted right, tilted left or vertical with respect to the direction of the Y axis of the display device by using an antenna loop group including a plurality of antenna loops arranged side by side along the Y axis.
In summary, the cursor position calculating method of the electromagnetic pen according to the present embodiment mainly includes supplying power to a plurality of antenna loops arranged along the X-axis direction and a plurality of antenna loops arranged along the Y-axis direction, obtaining induced voltages of all antenna loops, determining five antenna loops having the first five induced voltage values according to the induced voltages, determining a position relationship of three antenna loops having the largest, second largest and third largest induced voltages (i.e., the first antenna loop, the second antenna loop and the third antenna loop) relative to each other, and accordingly obtaining that the electromagnetic pen is inclined rightward, leftward or vertical relative to the display device in the X-axis direction and the Y-axis direction, and finally, if the electromagnetic pen is inclined relative to the display device, calculating a cursor position corresponding to the electromagnetic pen in the display device by using a difference between the induced voltages of the first antenna loop and the third antenna loop and a difference between the induced voltages of the first antenna loop and the fourth antenna loop; if the electromagnetic pen is in a vertical state relative to the display device, calculating the cursor position corresponding to the electromagnetic pen in the display device by utilizing the difference value of the first antenna sensing voltage and the second sensing voltage.
The foregoing description is only of the preferred embodiments of the invention and is not intended to limit the scope of the invention, so that all changes which come within the meaning and range of equivalency of the description and drawings are intended to be embraced therein.

Claims (12)

1. The method for judging the tilt direction of an electromagnetic pen is used for judging the tilt direction of the electromagnetic pen relative to a display device, the display device comprises two groups of antenna loop groups, each group of antenna loop groups comprises a plurality of antenna loops, wherein the antenna loops contained in one group of antenna loop groups are arranged side by side along the X-axis direction, and the antenna loops contained in the other group of antenna loop groups are arranged side by side along the Y-axis direction, and the method for judging the tilt direction of the electromagnetic pen is characterized by comprising the following steps:
A unidirectional tilt determination step, comprising:
A power supply step: supplying power to at least 5 antenna loops contained in one antenna loop group, and obtaining an induced voltage value corresponding to each antenna loop after power supply;
A comparison step: comparing the induced voltage values to determine which antenna loop is a reference antenna loop; the induction voltage value corresponding to the reference antenna loop is larger than the induction voltage values corresponding to the rest of the antenna loops, and the induction voltage value corresponding to the reference antenna loop is defined as a reference induction voltage value; the antenna loop on the right side of the reference antenna loop is defined as a first right side antenna loop, and the antenna loop on the right side of the first right side antenna loop is defined as a second right side antenna loop; the antenna loop on the left side of the reference antenna loop is defined as a first left antenna loop, and the antenna loop on the left side of the first left antenna loop is defined as a second left antenna loop; the induced voltage value corresponding to the first right antenna loop is defined as a first right induced voltage value, the induced voltage value corresponding to the second right antenna loop is defined as a second right induced voltage value, the induced voltage value corresponding to the first left antenna loop is defined as a first left induced voltage value, and the induced voltage value corresponding to the second left antenna loop is defined as a second left induced voltage value;
a determining step, comprising:
Judging whether the second right induced voltage value is larger than or equal to the first left induced voltage value;
judging whether the second left induced voltage value is greater than or equal to the first right induced voltage value;
if the second right-side induced voltage value is greater than or equal to the first left-side induced voltage value and the second left-side induced voltage value is smaller than the first right-side induced voltage value, judging that the electromagnetic pen is inclined rightwards relative to the display device;
If the second right-side induced voltage value is smaller than the first left-side induced voltage value and the second left-side induced voltage value is larger than or equal to the first right-side induced voltage value, judging that the electromagnetic pen is inclined leftwards relative to the display device;
If the second right induced voltage value is smaller than the first left induced voltage value and the second left induced voltage value is smaller than the first right induced voltage value, judging that the electromagnetic pen is in a vertical state relative to the display device;
The unidirectional tilt determination step is performed twice, wherein the unidirectional tilt determination step is performed once by using the antenna loop group including a plurality of antenna loops arranged side by side along an X-axis to determine that the electromagnetic pen is in a rightward tilt, leftward tilt or vertical state with respect to the X-axis direction of the display device, and the unidirectional tilt determination step is performed once by using the antenna loop group including a plurality of antenna loops arranged side by side along a Y-axis to determine that the electromagnetic pen is in a rightward tilt, leftward tilt or vertical state with respect to the Y-axis direction of the display device.
2. The method according to claim 1, wherein in the comparing step, a processing module starts to supply power to the antenna loops nearest to one side of the display device one by one along an X-axis direction or a Y-axis direction, the induced voltage value corresponding to the first powered antenna loop is recorded as a current maximum induced voltage value, and the processing module compares whether the induced voltage value corresponding to the first powered antenna loop is greater than the current maximum induced voltage value one by one; if the processing module judges that the induction voltage value corresponding to the antenna loop which is just powered on is larger than the current maximum induction voltage value, the processing module replaces the current maximum induction voltage value with the induction voltage value corresponding to the antenna loop which is just powered on; when the processing module judges that none of the induction voltage values corresponding to the antenna loops with 2 continuous power supplies is greater than the current maximum induction voltage value, the processing module stops the comparing step and continues to execute the judging step.
3. The method of claim 1, wherein two of the antenna loop groups are defined as an X-axis antenna loop group and a Y-axis antenna loop group, each of the antenna loops included in the X-axis antenna loop group is defined as an X-axis antenna loop, and each of the antenna loops included in the Y-axis antenna loop group is defined as a Y-axis antenna loop; a part of each of the X-axis antenna loops is disposed overlapping with a part of at least one of the X-axis antenna loops adjacent thereto; a part of each of the Y-axis antenna loops is disposed overlapping with a part of at least one of the Y-axis antenna loops adjacent thereto; each of the X-axis antenna loops and the plurality of Y-axis antenna loops are disposed so as to overlap each other, and each of the Y-axis antenna loops and the plurality of X-axis antenna loops are disposed so as to overlap each other.
4. The method of claim 3, wherein the processing module uses the X-axis antenna loop set and the Y-axis antenna loop set to determine that the electromagnetic pen is tilted to the right, to the left or to the vertical with respect to the display in the X-axis direction and the Y-axis direction, or the processing module performs another one of the unidirectional tilt determining steps after performing one of the unidirectional tilt determining steps.
5. The method for judging the tilt direction of an electromagnetic pen is used for judging the tilt direction of the electromagnetic pen relative to a display device, the display device comprises two groups of antenna loop groups, each group of antenna loop groups comprises a plurality of antenna loops, wherein the antenna loops contained in one group of antenna loop groups are arranged side by side along the X-axis direction, and the antenna loops contained in the other group of antenna loop groups are arranged side by side along the Y-axis direction, and the method for judging the tilt direction of the electromagnetic pen is characterized by comprising the following steps:
A unidirectional tilt determination step, comprising:
a power supply step: powering each of said antenna loops of one of said antenna loop groups;
A comparison step: comparing the induction voltage values corresponding to the antenna loops which are powered, and finding out a first antenna loop, a second antenna loop and a third antenna loop; the antenna loop having the largest induced voltage value among the plurality of antenna loops is defined as the first antenna loop, the antenna loop having the second largest induced voltage value is defined as the second antenna loop, and the antenna loop having the third largest induced voltage value is defined as the third antenna loop;
a judging step: judging the positions of the second antenna loop and the third antenna loop relative to the first antenna loop; if the second antenna loop and the third antenna loop are simultaneously positioned on the right side of the first antenna loop, judging that the electromagnetic pen is inclined rightwards relative to the display device; if the second antenna loop and the third antenna loop are simultaneously positioned at the left side of the first antenna loop, judging that the electromagnetic pen is inclined leftwards relative to the display device; if the second antenna loop and the third antenna loop are positioned on two sides of the first antenna loop, judging that the electromagnetic pen is in a vertical state relative to the display device;
The unidirectional tilt determination step is performed twice, wherein the unidirectional tilt determination step is performed once by using the antenna loop group including a plurality of antenna loops arranged side by side along an X-axis to determine that the electromagnetic pen is in a rightward tilt, leftward tilt or vertical state with respect to the X-axis direction of the display device, and the unidirectional tilt determination step is performed once by using the antenna loop group including a plurality of antenna loops arranged side by side along a Y-axis to determine that the electromagnetic pen is in a rightward tilt, leftward tilt or vertical state with respect to the Y-axis direction of the display device.
6. The cursor position calculating method for electromagnetic pen includes calculating the X axis coordinate value and Y axis coordinate value of one cursor of one electromagnetic pen in one display device, and the display device includes two antenna loop groups with each antenna loop group including several antenna loops, one antenna loop group including several antenna loops set side by side along X axis direction and the other antenna loop group including several antenna loops set side by side along Y axis direction, and features that the cursor position judging method includes:
A unidirectional tilt determination step, comprising:
A power supply step: supplying power to at least 5 antenna loops contained in one antenna loop group, and obtaining an induced voltage value corresponding to each antenna loop after power supply;
A comparison step: comparing the induced voltage values to determine which antenna loop is a reference antenna loop; the induction voltage value corresponding to the reference antenna loop is larger than the induction voltage values corresponding to the rest of the antenna loops, and the induction voltage value corresponding to the reference antenna loop is defined as a reference induction voltage value; the antenna loop on the right side of the reference antenna loop is defined as a first right side antenna loop, and the antenna loop on the right side of the first right side antenna loop is defined as a second right side antenna loop; the antenna loop on the left side of the reference antenna loop is defined as a first left antenna loop, and the antenna loop on the left side of the first left antenna loop is defined as a second left antenna loop; the induced voltage value corresponding to the first right antenna loop is defined as a first right induced voltage value, the induced voltage value corresponding to the second right antenna loop is defined as a second right induced voltage value, the induced voltage value corresponding to the first left antenna loop is defined as a first left induced voltage value, and the induced voltage value corresponding to the second left antenna loop is defined as a second left induced voltage value;
a determining step, comprising:
Judging whether the second right induced voltage value positioned on the right side of the reference antenna loop is larger than or equal to the first left induced voltage value;
judging whether the second left induced voltage value is greater than or equal to the first right induced voltage value;
If the second right induced voltage value is greater than or equal to the first left induced voltage value and the second left induced voltage value is less than the first right induced voltage value, the processing module calculates the cursor position corresponding to the electromagnetic pen in the display device by using the difference value between the reference induced voltage value and the first left induced voltage value and the difference value between the reference induced voltage value and the second right induced voltage value;
If the second right induced voltage value is smaller than the first left induced voltage value and the second left induced voltage value is larger than or equal to the first right induced voltage value, the processing module calculates the cursor position corresponding to the electromagnetic pen in the display device by using the difference value between the reference induced voltage value and the second left induced voltage value and the difference value between the reference induced voltage value and the first right induced voltage value;
If the second right induced voltage value is greater than or equal to the first left induced voltage value and the second left induced voltage value is greater than or equal to the first right induced voltage value, the processing module calculates the cursor position corresponding to the electromagnetic pen in the display device by using the reference induced voltage value, the first right induced voltage value and the first left induced voltage value;
The unidirectional tilt determination step is performed twice, wherein the unidirectional tilt determination step is performed once by using the antenna loop group including a plurality of antenna loops arranged side by side along an X-axis to determine that the electromagnetic pen is in a rightward tilt, leftward tilt or vertical state with respect to the X-axis direction of the display device, and the unidirectional tilt determination step is performed once by using the antenna loop group including a plurality of antenna loops arranged side by side along a Y-axis to determine that the electromagnetic pen is in a rightward tilt, leftward tilt or vertical state with respect to the Y-axis direction of the display device.
7. The cursor position calculating method of an electromagnetic pen according to claim 6, wherein in the comparing step, the processing module starts to supply power one by one along an X-axis direction or a Y-axis direction from the antenna loop nearest to one side of the display device, the induced voltage value corresponding to the first antenna loop to be supplied is recorded as a current maximum induced voltage value, and the processing module compares whether the induced voltage value corresponding to the first antenna loop to be supplied later is greater than the current maximum induced voltage value; if the processing module judges that the induction voltage value corresponding to the antenna loop which is just powered on is larger than the current maximum induction voltage value, the processing module replaces the current maximum induction voltage value with the induction voltage value corresponding to the antenna loop which is just powered on; when the processing module judges that none of the induction voltage values corresponding to the antenna loops with 2 continuous power supplies is greater than the current maximum induction voltage value, the processing module stops the comparing step and continues to execute the judging step.
8. The cursor position calculating method of an electromagnetic pen according to claim 6, wherein each of said antenna loops corresponds to surrounding Q pixels, said reference antenna loop being defined as an nth of said antenna loops from left to right of said display device; when the processing module calculates the cursor position corresponding to the electromagnetic pen in the display device, the processing module also judges that the pen point of the electromagnetic pen is correspondingly positioned at the left half side or the right half side in the range surrounded by the reference antenna loop, and the processing module also calculates a right induced voltage difference value and a left induced voltage difference value; if the nib of the electromagnetic pen is correspondingly positioned at the left half side of the range surrounded by the reference antenna loop, the cursor position is Q (N-1) +Q/2 right induced voltage difference/left induced voltage difference; if the pen point of the electromagnetic pen is correspondingly positioned at the right half side of the range surrounded by the reference antenna loop, the cursor position is Q (N-1) +Q/2, namely the left induced voltage difference value/the right induced voltage difference value; if the electromagnetic pen is perpendicular to the display device, the right induced voltage difference value is the reference induced voltage value minus the first right induced voltage value, and the left induced voltage difference value is the reference induced voltage value minus the first left induced voltage value; if the electromagnetic pen is judged to be inclined leftwards, the left induced voltage difference value is a reference induced voltage value minus the second left induced voltage value, and the right induced voltage difference value is the reference induced voltage value minus the first right induced voltage value; and if the electromagnetic pen is judged to be inclined rightwards, the right induced voltage difference value is a reference induced voltage value minus the second right induced voltage value, and the left induced voltage difference value is the reference induced voltage value minus the first left induced voltage value.
9. The method of claim 6, wherein two of the antenna loop sets are defined as an X-axis antenna loop set and a Y-axis antenna loop set, each of the antenna loops included in the X-axis antenna loop set is defined as an X-axis antenna loop, and each of the antenna loops included in the Y-axis antenna loop set is defined as a Y-axis antenna loop; a part of each of the X-axis antenna loops is disposed overlapping with a part of at least one of the antenna loops adjacent thereto; a part of each Y-axis antenna loop and a part of at least one of the antenna loops adjacent thereto are disposed so as to overlap each other; each of the X-axis antenna loops and the plurality of Y-axis antenna loops are disposed so as to overlap each other, and each of the Y-axis antenna loops and the plurality of X-axis antenna loops are disposed so as to overlap each other.
10. The cursor position calculating method of an electromagnetic pen according to claim 9, wherein the processing module uses the X-axis antenna loop set and the Y-axis antenna loop set to determine that the electromagnetic pen is tilted to the right, to the left or to the vertical with respect to the display in the X-axis direction and the Y-axis direction, or the processing module performs another one of the unidirectional tilt determining steps after performing one of the unidirectional tilt determining steps.
11. The cursor position calculating method for electromagnetic pen includes calculating the X axis coordinate value and Y axis coordinate value of one cursor of one electromagnetic pen in one display device, and the display device includes two antenna loop groups with each antenna loop group including several antenna loops, one antenna loop group including several antenna loops set side by side along X axis direction and the other antenna loop group including several antenna loops set side by side along Y axis direction, and features that the cursor position judging method includes:
A unidirectional tilt determination step, comprising:
a power supply step: powering each of said antenna loops of one of said antenna loop groups;
A comparison step: comparing the induction voltage values corresponding to the antenna loops which are powered, and finding out a first antenna loop, a second antenna loop and a third antenna loop; the antenna loop having the largest induced voltage value among the plurality of antenna loops is defined as the first antenna loop, the antenna loop having the second largest induced voltage value is defined as the second antenna loop, the antenna loop having the third largest induced voltage value is defined as the third antenna loop, and the antenna loop having the fourth largest induced voltage value is defined as the fourth antenna loop;
A judging step: judging the positions of the second antenna loop and the third antenna loop relative to the first antenna loop;
If the second antenna loop and the third antenna loop are simultaneously positioned on the right side of the first antenna loop, judging that the electromagnetic pen is inclined rightwards relative to the display device, and calculating the corresponding vernier position of the electromagnetic pen in the display device by using the difference value of the induction voltage of the first antenna loop and the induction voltage of the third antenna loop and the difference value of the induction voltage of the first antenna loop and the induction voltage of the fourth antenna loop by the processing module;
If the second antenna loop and the third antenna loop are simultaneously positioned at the left side of the first antenna loop, judging that the electromagnetic pen inclines leftwards relative to the display device, and calculating the cursor position corresponding to the electromagnetic pen in the display device by using the difference value of the induction voltage of the first antenna loop and the induction voltage of the third antenna loop and the difference value of the induction voltage of the first antenna loop and the induction voltage of the fourth antenna loop;
If the second antenna loop and the third antenna loop are positioned at two sides of the first antenna loop, judging that the electromagnetic pen is in a vertical state relative to the display device, and the processing module calculates the cursor position corresponding to the electromagnetic pen in the display device by utilizing the difference value between the induced voltage of the first antenna loop and the induced voltage of the second antenna loop; the unidirectional tilt determination step is performed twice, wherein the unidirectional tilt determination step is performed once by using the antenna loop group including a plurality of antenna loops arranged side by side along an X-axis to determine that the electromagnetic pen is in a rightward tilt, leftward tilt or vertical state with respect to the X-axis direction of the display device, and the unidirectional tilt determination step is performed once by using the antenna loop group including a plurality of antenna loops arranged side by side along a Y-axis to determine that the electromagnetic pen is in a rightward tilt, leftward tilt or vertical state with respect to the Y-axis direction of the display device.
12. A display device, comprising:
a body provided with a display;
a processing module arranged on the machine body;
An X-axis antenna loop group disposed in the body, the X-axis antenna loop group including a plurality of X-axis antenna loops disposed side by side along an X-axis, a portion of each of the X-axis antenna loops being disposed overlapping an adjacent one of the X-axis antenna loops;
a Y-axis antenna loop group disposed in the body, the Y-axis antenna loop group including a plurality of Y-axis antenna loops disposed side by side along a Y-axis, a portion of each of the Y-axis antenna loops being disposed overlapping an adjacent one of the Y-axis antenna loops; wherein each of the X-axis antenna loops and the plurality of Y-axis antenna loops are disposed so as to overlap each other, and each of the Y-axis antenna loops and the plurality of X-axis antenna loops are disposed so as to overlap each other;
The processing module can execute the cursor position calculating method of the electromagnetic pen according to claim 6 to calculate the X axis coordinate value and the Y axis coordinate value of the cursor.
CN202010757976.9A 2020-07-31 2020-07-31 Method for judging inclination direction of electromagnetic pen and calculating cursor position and display device Active CN114089842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010757976.9A CN114089842B (en) 2020-07-31 2020-07-31 Method for judging inclination direction of electromagnetic pen and calculating cursor position and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010757976.9A CN114089842B (en) 2020-07-31 2020-07-31 Method for judging inclination direction of electromagnetic pen and calculating cursor position and display device

Publications (2)

Publication Number Publication Date
CN114089842A CN114089842A (en) 2022-02-25
CN114089842B true CN114089842B (en) 2024-06-11

Family

ID=80295130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010757976.9A Active CN114089842B (en) 2020-07-31 2020-07-31 Method for judging inclination direction of electromagnetic pen and calculating cursor position and display device

Country Status (1)

Country Link
CN (1) CN114089842B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0218745A1 (en) * 1985-10-15 1987-04-22 Pencept, Inc. Digitizing tablet system having stylus tilt correction
JPH05150892A (en) * 1991-11-28 1993-06-18 Graphtec Corp Position detecting method for cordless digitizer
JPH10105322A (en) * 1996-09-25 1998-04-24 Sharp Corp Tablet device, document processor using the same, and medium stored with tablet device control program
US5748110A (en) * 1995-04-13 1998-05-05 Wacom Co., Ltd. Angular input information system relative to a tablet for determining an incline angle of a pointer or stylus
CN102147457A (en) * 2010-02-10 2011-08-10 太瀚科技股份有限公司 Method for detecting slant angle of electromagnetic input pen
CN102375646A (en) * 2010-08-18 2012-03-14 太瀚科技股份有限公司 Hand input device and angle correcting method thereof
CN102566792A (en) * 2010-12-17 2012-07-11 太瀚科技股份有限公司 Antenna loop scanning method during coordinate calculation process of electromagnetic induction system
KR20140006297A (en) * 2012-07-03 2014-01-16 삼성전자주식회사 Selective operation method of tilt function and portable device supporting the same
CN110955345A (en) * 2019-11-29 2020-04-03 深圳市精源宇科技有限公司 Pen point position calibration method of electromagnetic input device and electromagnetic input device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102126531B1 (en) * 2013-09-27 2020-06-24 엘지디스플레이 주식회사 Touch sensing system and driving method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0218745A1 (en) * 1985-10-15 1987-04-22 Pencept, Inc. Digitizing tablet system having stylus tilt correction
JPH05150892A (en) * 1991-11-28 1993-06-18 Graphtec Corp Position detecting method for cordless digitizer
US5748110A (en) * 1995-04-13 1998-05-05 Wacom Co., Ltd. Angular input information system relative to a tablet for determining an incline angle of a pointer or stylus
JPH10105322A (en) * 1996-09-25 1998-04-24 Sharp Corp Tablet device, document processor using the same, and medium stored with tablet device control program
CN102147457A (en) * 2010-02-10 2011-08-10 太瀚科技股份有限公司 Method for detecting slant angle of electromagnetic input pen
CN102375646A (en) * 2010-08-18 2012-03-14 太瀚科技股份有限公司 Hand input device and angle correcting method thereof
CN102566792A (en) * 2010-12-17 2012-07-11 太瀚科技股份有限公司 Antenna loop scanning method during coordinate calculation process of electromagnetic induction system
KR20140006297A (en) * 2012-07-03 2014-01-16 삼성전자주식회사 Selective operation method of tilt function and portable device supporting the same
CN110955345A (en) * 2019-11-29 2020-04-03 深圳市精源宇科技有限公司 Pen point position calibration method of electromagnetic input device and electromagnetic input device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电磁笔的"原笔迹";办公自动化(第03期);全文 *

Also Published As

Publication number Publication date
CN114089842A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
JP2006338526A (en) Pointing device, motion sensor, character recognition device, and position data computing method
US9552071B2 (en) Information processing apparatus, information processing method and computer program
EP2626778B1 (en) Capacitive touch panel device
US8373674B2 (en) Touch screen device
US8269720B2 (en) Input device having the function of recognizing hybrid coordinates and operating method of the same
US8994761B2 (en) Information display control apparatus, information display control method, and storage medium storing information display control program
US20030006975A1 (en) Input device for personal digital assistants
JP5422724B1 (en) Electronic apparatus and drawing method
KR20040081854A (en) Motion recognition system using a imaginary writing plane and method thereof
US20110134029A1 (en) Electronic device and a pointer motion control method thereof
JPWO2019013222A1 (en) How to correct the gap between the pen coordinates and the display position of the pointer
CN101593024A (en) Have improved cursor control in-air and allow the pointing device of a plurality of operator schemes
US20070070054A1 (en) Slide-type input device, portable device having the input device and method and medium using the input device
JP2014139759A (en) Information device and information processing method
CN114089842B (en) Method for judging inclination direction of electromagnetic pen and calculating cursor position and display device
US20180024652A1 (en) Stylus and touch control method
US20230176623A1 (en) Electronic device
JPH04172521A (en) Pointing controller
JP2000242408A (en) Device and method for correcting coordinate and calculating parameter for coordinate correction, storage medium storing coordinate correction control program and medium storing parameter calculation program for coordinate correction
WO2016174952A1 (en) Written data processing device
JP4450569B2 (en) Pointer cursor control device and electronic apparatus equipped with the device
CN114877793A (en) Electronic equipment, electronic equipment state determination method and related equipment
JP2008116995A (en) Pointer control device, pointer control method and pointer control program
JPH10105322A (en) Tablet device, document processor using the same, and medium stored with tablet device control program
US8126211B2 (en) Pointing device and motion value calculating method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant