METHOD AND APPARATUS FOR PROVIDING STYLUS ORIENTATION AND POSITION INPUT

Information

  • Patent Application
  • 20130300719
  • Publication Number
    20130300719
  • Date Filed
    May 10, 2012
    12 years ago
  • Date Published
    November 14, 2013
    11 years ago
Abstract
Position and orientation of a stylus with respect to a sensing surface of a host electronic device are provided by sensing first and second electromagnetic fields at a sensing surface, the first and second electromagnetic fields varying in strength in response to stylus orientation, and determining the orientation from a difference in sensed field strength between the first and second electromagnetic fields. The first and second electromagnetic fields may be produced by proximal and distal electromagnetic transmitters of the stylus. The orientation may be used, for example, to control the response of a computer drawing application executed on the host electronic device.
Description
BACKGROUND

Stylus pointing devices enable information to be input to a host electronic device. When the tip of the stylus is placed in close proximity to a display surface of the host device, the position of the tip may be determined by the host by a variety of methods, including the influence of the stylus on the electrical properties of the tablet (i.e., via electromagnetic induction, changes in electrical resistance, electrical capacitance, and the like); the optical properties of the tablet; or by ultrasonic positioning.


One method for determining stylus position is to employ a surface of the host to sense an electromagnetic field generated by a transmitter in the stylus. The sensed field information is processed to yield a position. However, since this determination yields the position of the transmitter as opposed to the tip of the stylus, the transmitter must be disposed proximal to the tip of the stylus.


A common use of a stylus in this regard is to provide position input to a computer drawing or handwriting application. For such an application, the stylus may be used, for example, to draw lines, move or size objects, and to interact with a user interface. When using typical physical drawing implements such as a pen, pencil or marker, line properties may be varied by changing the tilt angle of drawing implement. It would therefore be desirable to provide such a capability when drawing or writing with a stylus in an electronic environment, such that the response to the stylus inputs can be made to vary in dependence upon the tilt angle of the stylus with respect to the host computer device. In this regard, it would thus be desirable to provide an expedient for sensing the orientation of a stylus with respect to a sensing or drawing surface of the host device.





BRIEF DESCRIPTION OF THE DRAWINGS

Exemplary embodiments of the present disclosure will be described below with reference to the included drawings such that like reference numerals refer to like elements and in which:



FIG. 1 is a diagram of a drawing system in accordance with exemplary embodiments of the present disclosure;



FIG. 2 is a diagram of a host electronic device, in accordance with illustrative embodiments of the disclosure;



FIG. 3 is a diagram showing an exemplary geometric arrangement of a stylus disposed at an angle with respect to a sensing surface in accordance with illustrative embodiments of the present disclosure;



FIG. 4 is a diagram depicting a further view of the orientation of stylus transmitters with respect to a sensing surface of a host electronic device in accordance with exemplary embodiments of the present disclosure;



FIG. 5 is a diagram showing yet another view of an illustrative geometric arrangement of stylus transmitters with respect to a sensing surface of a host electronic device in accordance with exemplary embodiments of the present disclosure;



FIG. 6 is a flow chart of a method for providing stylus position and orientation input in accordance with exemplary embodiments of the present disclosure and; and



FIG. 7 is a flow chart of another method for providing stylus position and orientation input in accordance with exemplary embodiments of the present disclosure.





DETAILED DESCRIPTION

For simplicity and clarity of illustration, reference numerals may be repeated among the figures to indicate corresponding or analogous elements. Numerous details are set forth to provide an understanding of the illustrative embodiments described herein. The exemplary embodiments may be practiced without these details. In other instances, well-known methods, procedures, and components have not been described in detail to avoid obscuring the embodiments described. The description is not to be considered as limited to the scope of the embodiments disclosed herein.


The present disclosure relates to a method, device and apparatus for providing stylus orientation input. In operation, a computer input stylus interacts with a sensing surface of a host electronic device to provide stylus orientation input. The stylus orientation input may be utilized by a computer drawing application executed on an application processor on the host electronic device. For example, the tilt of a stylus may be used to control the width of a line produced by a virtual drawing tool, such as pen or brush.



FIG. 1 is a diagram of an example drawing system in accordance with some embodiments of the disclosure. In FIG. 1, a stylus 100 has a body 102 and a tip 104. The tip 104 is located at one end of the body 102 and is used, for example, to draw a line or other image 106 on a display screen. The display screen may be combined with a sensing surface 108 and form part of a host electronic device 110. The host electronic device 110 may be, for example, a laptop computer, tablet computer (tablet), mobile phone, personal digital assistant (PDA), display screen, or other portable or non-portable electronic device. The stylus 100 includes a first transmitter 112 located in the stylus body 102 and operable to generate a first electromagnetic field, and a second transmitter 114, also located in the stylus body 102 and operable to generate a second electromagnetic field. The first transmitter 112 is proximal to the tip 104 of the stylus and the second transmitter 114 is distal to the tip 104 of the stylus. The first and second (proximal and distal) transmitters are driven by a control circuit 122. The control circuit 122 may drive the first and second transmitters together or separately. In one embodiment, the control circuit 122 alternates between driving the first transmitter and driving the second transmitter, so that the first and second electromagnetic fields do not interfere with one another. In a further embodiment, the transmitters are driven simultaneously but at different frequencies or with different waveforms. The electromagnetic fields produced by the transmitters may be unidirectional or directional. Directional fields may be obtained, for example, through antenna design or by the use of shielding.


In operation, the electromagnetic fields are sensed by the sensing surface 108 of the host electronic device 110. In one embodiment, the position of a transmitter is determined by sensing a maximum of the electromagnetic field on the sensing surface 108. If the transmitter is positioned close to the tip 104 of the stylus 100, the position of the transmitter may used to approximate the position of the tip 104 on the sensing surface 108.


In the embodiment shown in FIG. 1, the first and second transmitters are at different locations along the longitudinal axis of the stylus body 102. Thus, the maximum of first electromagnetic field on the sensing surface 108 is displaced from the maximum of the second electromagnetic field on the sensing surface 108. The distance between these maxima is dependent on the orientation of the stylus with respect to the sensing surface and may be used to determine the tilt of the stylus with respect to the sensing surface. This will be discussed in more detail below.


In the sequel, the sensing surface 108 is defined to lie in a plane defined by an ‘up’ direction 116 and a ‘right’ direction 118. The direction 120 is perpendicular to the sensing surface 108.



FIG. 2 is a diagram of a host electronic device 110, in accordance with various example embodiments of the disclosure. A processing circuit 200 of the host electronic device includes a position processor 202 that is responsive to a signal 204 from the sensing surface 108. The position processor 202 detects a first position on the sensing surface dependent upon a first electromagnetic field generated by the first transmitter of a stylus and a second position on the sensing surface dependent upon the second electromagnetic field generated by the second transmitter of the stylus. An orientation processor 206 is operable to determine, dependent upon the first and second positions 208, an orientation of the stylus with respect to the sensing surface. The orientation processor 206 outputs an orientation signal 210 dependent upon the orientation of the stylus. An application processor 212 is responsive to the orientation signal 210 and uses the signal to control a computer application. In one embodiment, the position processor 202 also outputs a tip position signal 214 that corresponds to an estimated position of the tip of the stylus. The tip position signal 214 is dependent upon the first and second positions.


The computer application may be, for example, a computer drawing application. In this example, the application processor 212 generates images that are passed to a frame buffer 216. The frame buffer 216 is accessed by a display driver 218 that renders images generated by the application processor on a display screen 220. The display screen 220 and the sensing surface 108 may be located in close proximity, such that, for example, a line displayed on the display screen follows the trajectory of the stylus to simulate physical drawing.



FIG. 3 is a diagram showing an example geometric arrangement of a stylus 100 interacting with a sensing surface 108. The stylus is tilted such the longitudinal axis 300 of the stylus is at an elevation angle φ to the sensing surface 108. The first (proximal) transmitter 112 is at a height h1 above the sensing surface and the second (distal) transmitter 114 is at a height h2 above the sensing surface. A first position 302 corresponds to the position on the sensing surface at which the electromagnetic field from the first transmitter 112 is at a maximum. This may be, for example, the position on the surface closest to the first transmitter. However, it may be a different position if the electromagnetic field is directional. A second position 304 corresponds to the position on the sensing surface at which the electromagnetic field from the second transmitter 114 is at a maximum. This may be, for example, the position on the surface closest to the second transmitter. The line 306 on the surface through the first and second positions is at an azimuth angle θ to the direction 118. The elevation angle φ and the azimuth angle θ define the orientation of the stylus with respect to the sensing surface 108. The tilt angle is defined as the angle between direction 120 and the stylus and, in radians, is given by







π
2

-

φ
.





Referring again to FIG. 3, the distance of the first transmitter 112 from the tip 104 of the stylus is denoted by the distance a and the distance of the second transmitter 114 from the first transmitter 112 is denoted by the distance b. In operation, the position processor of the host electronic device detects the first and second positions, 302 and 304. The position processor may also determine a third position, corresponding to the position of the tip 104 of the stylus 100.


In a further embodiment, the position processor is operable to sense the strength of the first and second electromagnetic fields at the positions 302 and 304. These field strengths are related to the heights h1 and h2 of the first and second transmitters above the sensing surface and so can be used to estimate the heights h1 and h2. In particular, the height h2 of the distal transmitter above the sensing surface is related to the elevation angle φ by






h
2=(a+b)sin(φ),   (1)


and the elevation angle φ is given by









φ
=



sin

-
1




(


h
2


a
+
b


)


.





(
2
)







More generally, since a and b are constant and the relationship between the field strength and the height is fixed, the tilt angle of the stylus







(


π
2

-
φ

)

,




which is directly related to the elevation angle φ, may be expressed as a function of the sensed electromagnetic field strength produced by the distal transmitter, with greater field strength indicating greater tilt. This function may be stored as a lookup table or computed from an analytic expression, for example.


The elevation, or equivalently the tilt, of the stylus may also be determined from the first and second positions as shown in FIG. 4. Referring to FIG. 4, the first position 302, relating to the first transmitter 112 and the second position 304, relating to the second transmitter 114, are separated by a distance d on the sensing surface. The first position 302 is separated by a distance c from the tip of the stylus. The distance d is given by






d=b cos(φ),   (3)


where b is the distance between the first and second transmitters. The elevation angle φ is given by









φ
=



cos

-
1




(

d
b

)


.





(
4
)







Thus, the elevation angle φ, or equivalently the tilt angle







(


π
2

-
φ

)

,




may be determined from the distance d between the first and second positions on the sensing surface.



FIG. 5 is a diagram of a sensing surface 108 in accordance with some embodiments of the present disclosure. In this embodiment, the sensing surface 108 comprises a plurality of horizontal sensing elements 502 and a plurality of vertical sensing elements 504 arranged to form a grid. In operation the horizontal and vertical sensing elements having the strongest response to an electromagnetic field of a stylus are identified. This, in turn, identifies a position on the grid. In one embodiment, the first and second transmitters of the stylus are driven alternately, so that a first position 302 and the second position 304 may be identified. The stronger response may be indentified as corresponding to the first (proximal) transmitter. Alternatively, the first and second transmitters may be excited simultaneously using different signals, such as different frequencies, to enable the first and second positions to be distinguished from one another.


The coordinates of the first position 302 are denoted as (x1, y1) and the coordinates of the second position 304 are denoted as (x2, y2), where x denotes the horizontal (right) coordinate and y denotes the vertical (up) coordinate. The separation e of the first and second positions in the horizontal direction 118 is






e=x
2
−x
1
=d cos(θ).   (5)


Thus, the azimuth angle θ is given by









θ
=



cos

-
1




(



x
2

-

x
1


d

)


=



cos

-
1


(



x
2

-

x
1






(


x
2

-

x
1


)

2

+


(


y
2

-

y
1


)

2




)

.






(
6
)







The azimuth angle θ is thus dependent upon the first position, with coordinates (x1, y1), and the second position, with coordinates (x2, y2).


In operation, the orientation processor of a host electronic device receives one or more inputs from the sensing surface and determines, from the inputs, a first surface position 302 dependent upon the position of a first electromagnetic transmitter of the stylus with respect to the sensing surface and a second surface position 304 dependent upon the position of the second electromagnetic transmitter of the stylus with respect to the sensing surface. The orientation of the stylus with respect to the sensing surface is then determined upon the first and second surface positions. An orientation signal, dependent upon the orientation of the stylus, may be output to control a computer application. For example, the width of a line drawn on a display screen of the host electronic device may be varied dependent upon the orientation signal.


In one embodiment, a third surface position 506 may be determined, dependent upon the first and second surface positions, the third surface position corresponding to a stylus tip position on the sensing surface. A tip position signal may be output dependent upon the third surface position to control a computer application. The third position may be defined by the coordinates











(


x
3

,

y
3


)

=

(



x
1

+


a
b



(


x
1

-

x
2


)



,


y
1

+


a
b



(


y
1

-

y
2


)




)


,




(
6
)







which are dependent upon the coordinates of the first and second surface positions and upon the relative positions of the first and second transmitters in the stylus body.



FIG. 6 is a flow chart of an example method 600 for providing stylus position and orientation input, in accordance with some embodiments of the disclosure. Following start block 602 in FIG. 6, one or more inputs are received, at block 604, from a sensing surface in response to a stylus. The inputs are generated in response to electromagnetic fields generated by two or more electromagnetic transmitters on the stylus. From the one or more inputs, a first surface position is determined at block 606, dependent on the electromagnetic field from a first stylus transmitter, proximal to the tip of the stylus. At block 608 a second surface position is determined from the one or more inputs, dependent on the electromagnetic field from a second stylus transmitter, distal to the tip of the stylus. At block 610, the orientation of the stylus is determined dependent upon the first and second surface positions. The orientation may depend upon one or both of the elevation angle (or equivalently the tilt angle) and the azimuth angle of the stylus with respect to the sensing surface. At block 612 the position of the tip of the stylus is determined. The position may be dependent upon the first surface position or upon a combination of the first surface position and the second surface position. At block 614, the stylus position and stylus orientation are output. The output may be used, for example, to control the response of a computer drawing application to the stylus. In one embodiment, the trajectory of the stylus position may define a line displayed on a display screen and the orientation of the stylus may be used to control the width of the line. Other settings of the computer drawing application may be controlled without departing from the present disclosure. After block 614, flow returns to block 604, so that the position and orientation of the stylus are repeatedly determined.



FIG. 7 is a flow chart of a further example method 700 for providing stylus position and orientation input in accordance with some embodiments of the disclosure. Following start block 702 in FIG. 7, one or more inputs are received, at block 704, from a sensing surface in response to a stylus. The inputs are generated in response to electromagnetic fields generated by two or more electromagnetic transmitters on the stylus. From the one or more inputs, the strength of an electromagnetic field produced by a distal (with respect to the tip of the stylus) transmitter of the stylus is determined at block 706. The field strength is dependent upon the distance of the distal transmitter from the sensing surface, which, in turn, is dependent upon the elevation or tilt angle of the stylus with respect to the sensing surface. The field strength is used to determine the orientation of the stylus at block 708. At block 710, the position of the stylus on the sensing surface is determined dependent upon the electromagnetic field produced by a proximal (with respect to the tip of the stylus) transmitter. Alternatively, the position of the stylus may be determined dependent upon the electromagnetic fields from both the distal and proximal transmitters of the stylus. At block 712, the position and orientation of the stylus are output. The output may be used, for example, to control the response of a computer drawing application to the stylus.


From the above description, it will be apparent that use of a second transmitter in a stylus enables the orientation of the stylus, both in elevation (or tilt) and azimuth to be determined. The use of a second transmitter also enables the position of the tip of the stylus to be determined more accurately.


The elevation or tilt may be used to control attributes of a drawing tool. For example, the width of line drawn in response to stylus movement may be varied dependent upon the tilt of the stylus. This allows for continuous control of the line width without user interaction with a user interface of the host electronic device. The tilt or elevation may be used to control other functions of the host electronic device. Similarly the, azimuth angle may be used to control functions of the electronic devices. For example, azimuth rotation of the stylus in the may be used to control rotation of an object rendered on a display screen.


The implementations of the present disclosure described above are intended to be merely exemplary. It will be appreciated by those of skill in the art that alterations, modifications and variations to the illustrative embodiments disclosed herein may be made without departing from the scope of the present disclosure. Moreover, selected features from one or more of the above-described embodiments may be combined to create alternative embodiments not explicitly shown and described herein.


It will be appreciated that any module or component disclosed herein that executes instructions may include or otherwise have access to non-transient and tangible computer readable media such as storage media, computer storage media, or data storage devices (removable or non-removable) such as, for example, magnetic disks, optical disks, or tape data storage. For example, any or all of the position processor, orientation processor and application processor of the host electronic device may be implemented on a programmed processor. Computer storage media may include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. Examples of computer storage media include RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by an application, module, or both. Any such computer storage media may be part of the server, any component of or related to the network, backend, etc., or accessible or connectable thereto. Any application or module herein described may be implemented using computer readable/executable instructions that may be stored or otherwise held by such computer readable media.


The present disclosure may be embodied in other specific forms without departing from its spirit or essential characteristics. The described example embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the disclosure is, therefore, indicated by the appended claims rather than by the foregoing description. All changes that come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims
  • 1. A stylus comprising: a body including:a first transmitter operable to generate a first electromagnetic field; anda second transmitter operable to generate a second electromagnetic field, the firstand second transmitters being displaced from each other such that a variable difference between respective field strengths of the first and second transmitters may be sensed by a host device when changing an orientation of the stylus with respect to a sensing element.
  • 2. A stylus in accordance with claim 1, wherein the first transmitter is located between the second transmitter and a tip of the stylus.
  • 3. A stylus in accordance with claim 1, further comprising a control circuit operable to drive the first and second transmitters alternately.
  • 4. A stylus in accordance with claim 1, further comprising a control circuit operable to drive the first and second transmitters at different frequencies.
  • 5. An electronic device comprising: a sensing surface configured to sense external electromagnetic fields; anda processor coupled to the sensing surface and configured to receive signals representative of a plurality of electromagnetic fields incident on the sensing surface, the processor further configured to determine an orientation of a stylus when positioned relative to the sensing surface from a difference in the sensed field strength resulting from a first electromagnetic field and the sensed field strength resulting from a second electromagnetic fields propagating from the stylus.
  • 6. The electronic device of claim 5, wherein the plurality of electromagnetic fields comprises the first electromagnetic field generated by a first transmitter of a stylus and the second electromagnetic field generated by a second transmitter of the stylus, and wherein the processor comprises: a position processor operable to detect first and second positions corresponding, respectively, to maxima of the sensed field strength resulting from the first electromagnetic field and maxima of the sensed field strength resulting from the second electromagnetic fields on the sensing surface; andan orientation processor operable to determine the orientation of the stylus with respect to the sensing surface dependent upon the first and second positions.
  • 7. The electronic device of claim 5, further comprising: an application processor, responsive to the orientation of the stylus and operable to control a computer application dependent upon the orientation.
  • 8. The electronic device of claim 7, further comprising: a display screen operable to render an image generated by the application processor dependent upon the orientation of the stylus.
  • 9. The electronic device of claim 8, wherein the application processor is operable to adjust the width of a line drawn rendered on the display screen dependent upon the orientation of the stylus.
  • 10. The electronic device of claim 5, wherein the processor is further operable to output a tip position signal dependent upon the sensed field strength resulting from the first electromagnetic field and the sensed field strength resulting from the second electromagnetic fields sensed by the sensing surface, the tip position signal corresponding to a position of a tip of the stylus.
  • 11. A method for determining the tilt of a stylus having a tip in contact with a sensing surface of a host electronic device, the method comprising: sensing a first electromagnetic field strength at the sensing surface;sensing a second electromagnetic field strength at the sensing surface, the first and second electromagnetic fields varying in strength in response to the tilt of the stylus; anddetermining the tilt from a difference in sensed field strength between the first and second electromagnetic fields relative to the sensing surface.
  • 12. A method in accordance with claim 11, further comprising: generating an a signal dependent upon the tilt of the stylus relative to the display; andcontrolling a computer application dependent upon the signal.
  • 13. A method in accordance with claim 12, wherein controlling a computer application dependent upon the signal comprises: adjusting the width of a line drawn by the computer application dependent upon the signal.
  • 14. A method in accordance with claim 11, further comprising: determining a tip location dependent upon the first and second electromagnetic fields at the sensing surface and a stylus configuration; andgenerating a tip location signal dependent upon the tip location.
  • 15. A method for determining the tilt of a stylus having a tip in contact with a sensing surface, the method comprising: at the sensing surface, sensing an electromagnetic field strength emitted from a distal electromagnetic transmitter of the stylus, the distal electromagnetic transmitter being displaced by a known distance from the tip of the stylus;determining the tilt of the stylus dependent upon the sensed strength of the electromagnetic field; andgenerating a signal dependent upon the tilt of the stylus.
  • 16. A method in accordance with claim 15, further comprising: at the sensing surface, sensing an electromagnetic field strength emitted from a proximal electromagnetic transmitter of the stylus, the proximal electromagnetic transmitter being located in proximity to the tip of the stylus;determining a position of the stylus on the sensing surface dependent upon the electromagnetic field strength emitted from the proximal electromagnetic transmitter; andgenerating a position signal dependent upon the determined position of the stylus.
  • 17. A method in accordance with claim 16, further comprising: at the sensing surface, sensing an electromagnetic field emitted from a distal electromagnetic transmitter of the stylus, where the determined location of the tip of the stylus on the sensing surface is determined based upon the electromagnetic field strength emitted from the distal electromagnetic transmitter, at the sensing surface and upon a stylus configuration.
  • 18. A non-transitory computer-readable medium having computer-executable instructions that, when executed by a processor, cause the processor to determine the tilt of a stylus relative to a sensing surface of a host electronic device, comprising: process signals corresponding to a first electromagnetic field sensed at the sensing surface to determine a first location;process signals corresponding to a second electromagnetic field sensed on the sensing surface to determine a second location, the first and second electromagnetic fields varying in strength in response to the tilt of the stylus; anddetermine the tilt from the determined first and second locations.
  • 19. The non-transitory computer-readable medium of claim 18 having further computer-executable instructions that, when executed by a processor, cause the processor to: control a computer drawing application dependent upon the tilt.
  • 20. The non-transitory computer-readable medium of claim 18 having further computer-executable instructions that, when executed by a processor, cause the processor to: determine a position of a tip the stylus dependent upon the first and second locations and a configuration of the stylus; andgenerate a tip position signal dependent upon the position of the tip of the stylus.
  • 21. A method in accordance with claim 15, further comprising: controlling a computer drawing application dependent upon the signal.
  • 22. A method of determining the orientation of a stylus, the method comprising: receiving on a sensing surface of an electronic device a plurality of external electromagnetic fields; anddetermining an orientation of the stylus when positioned relative to the sensing surface from a difference in the sensed field strength resulting from a first electromagnetic field and the sensed field strength resulting from a second electromagnetic field propagating from the stylus.