The entire contents of Taiwan Patent Application No. 102108555, filed on Mar. 11, 2013, from which this application claims priority, are incorporated herein by reference.
1. Field of the Invention
The present invention generally relates to an electromagnetic pointer control method, and more particularly to an electromagnetic pointer control method which can provide an electromagnetic pointer with a tip pressure-sensitive function.
2. Description of Related Art
The operation principle of electromagnetic type input technology is performed by a circuit board with a plurality of antennas or sensor coils arranged along axial directions and an electromagnetic pen which can emit electromagnetic signals. The sensing plane of an electromagnetic input apparatus includes a plurality of antennas or sensor coils. The antennas or sensor coils are arranged under a work surface or a display panel of the electromagnetic input apparatus. The coordinates of the electromagnetic pen are obtained through processing and calculating signals transmitted between the circuit of the electromagnetic pen and the antennas or the sensor coils.
Input apparatuses which use the electromagnetic type input technology comprise smart mobile devices (Smart Phone), digitizers or tablets or e-books/green books and are used with electromagnetic pens or styluses.
The circuit of the electromagnetic pen usually comprises an inductor, a capacitor and relative components enclosed in a case. The inductor constituted by a ferrite core winded with a metal coil and the capacitor constitute the circuit to transmit and receive electromagnetic signals with the antennas or sensor coils. The frequency of the circuit is determined according to the capacitance and the inductance connected in parallel. When a user utilizes the electromagnetic pen to perform writing function on the input apparatus, the tip of the electromagnetic pen being pressed would induce the continuous changes of the inductance or capacitance as well as the frequency of the circuit. The input apparatus detects and calculates the frequency of the electromagnetic signals received to obtain pressure gradients or levels of the electromagnetic pen via an internal circuit.
The main design principle for obtaining pressure gradient value of an electromagnetic pen mentioned above is to continuously change capacitance or inductance so as to alter the transmitting frequency of the oscillation circuit when the pen tip is pressed, so that a trigger structure connected to the pen tip which can change the capacitance or inductance must be used.
The invention focuses on an electromagnetic control method which can be used on an electromagnetic pen without a trigger structure connected to the pen tip so that any electromagnetic pen without a tip trigger structure can have a tip pressure-sensitive function.
One object of the invention is to provide an electromagnetic pointer control method. The electromagnetic pointer control method enables users to perform various functions of an electromagnetic pointer through converting coordinate movement signals generating from writing operation of the electromagnetic pointer to tip pressure gradient value signals by firmware or software programs when the electromagnetic pointer is applied on electromagnetic input apparatus or system.
The invention provides an electromagnetic pointer control method, the method comprises the following steps. First of all, an electromagnetic pointer is applied upon an electromagnetic input device. Then, a coordinate moving distance Lt of the electromagnetic pointer is calculated. The coordinate moving distance Lt is sampled and differentiated to obtain a coordinate displacement It. A coordinate sampling length φ is calculated by the coordinate displacement It. Next, an actual moving distance m is calculated according to φ, a unit μ of the actual moving distance, a predetermined unit transformation gain α and a coordinate resolution R. Then, m is differentiated to obtain an acceleration variation
Finally, a tip pressure of the electromagnetic pointer pre is calculated according to M, a predetermined maximum tip pressure premax, a predetermined minimum tip pressure premin, and a predetermined moving distance DM.
Embodiment of this invention will be described in detail below. However, in addition to as described below, and this invention can be broadly implemented in the other cases the purpose and scope of this invention is not affected by the application of qualified, claim after its prevail. Furthermore, to provide a description more clear and easier to understand the invention, the pieces within the schema and not in accordance with their relative size of drawing, compared to certain dimensions to other scales have been exaggerated; details not related nor completely drawn in part in order to schematic simplicity.
Coordinate calculation of an electromagnetic pointer
L
t
=P(X,Y)−
L
t
=L
t(X−
X−
t
,Y−
t
L
t
=L
t(Xt,Yt)
wherein Xt is the displacement of the electromagnetic pointer along x axis while Yt is the displacement of the electromagnetic pointer along y axis.
Sampling of the Coordinate Moving Distance of the Electromagnetic Pointer
In one embodiment of the invention, the coordinate moving distance of the electromagnetic pointer is sampled and integrated in order to convert the coordinate moving distance to a tip pressure of the electromagnetic pointer.
The coordinate displacement after differentiation lt is calculated by:
Two new coordinates will be obtained after differentiation.
The coordinate sampling length is calculated by:
Conversion of an Actual Moving Distance
An actual moving distance m of an electromagnetic pointer can be calculated through the following equations, wherein μ is a unit of the actual moving distance, α is a predetermined unit transformation gain, R is a coordinate resolution, ε is a predetermined distance transformation unit,
The actual moving distance m is calculated by
m=ε×φ.
Time and Coordinate Distance Unit Conversion
Moving distance integration of the electromagnetic pointer
A moving distance M the electromagnetic pointer after integration is obtained by:
wherein TS is an integration time, and h is a length of integration time. Further differentiation or integration can be performed according to requirement. The relation between time and distance can be changed to alter the requirement of time and distance.
In one embodiment of the invention, the tip pressure of an electromagnetic pointer is calculated according to the following equations,
wherein premax is a maximum tip pressure of the electromagnetic pointer, premin is a minimum tip pressure of the electromagnetic pointer, prediff is a tip pressure difference, preatten is a tip pressure attenuation, DM is a predetermined moving distance of the electromagnetic pointer, and pre is a tip pressure of the electromagnetic pointer. If the electromagnetic pointer is on an initial location or is static, the tip pressure pre of the electromagnetic pointer equals to a maximum tip pressure premax.
In another embodiment of the invention, the tip pressure pre of the electromagnetic pointer equals to a minimum tip pressure premin when the electromagnetic pointer is on an initial location or is static, the tip pressure pre can be calculated by
pre=premin+preatten,
wherein preatten is a tip pressure increase.
The embodiments of the invention can be applied on various electromagnetic pointers to perform various functions. Whether electromagnetic pointers are used to perform the embodiments of the invention depends on the requirements.
The electromagnetic pointer control method of the invention enables users to perform various functions of an electromagnetic pointer through converting coordinate movement signals generating from writing operation of the electromagnetic pointer to tip pressure gradient value signals by firmware or software programs when the electromagnetic pointer is applied on electromagnetic input apparatus or system.
Although specific embodiments of the present invention have been described, it will be understood by those of skill in the art that there are other embodiments that are equivalent to the described embodiments. Accordingly, it is to be understood that the invention is not to be limited by the specific illustrated embodiments, but only by the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
102108555 | Mar 2013 | TW | national |