# Patent

## Title
Digitizer system

## Abstract

An X-Y digitizer system is described for embedding within a host device, such as a tablet PC, a mobile telephone, a personal digital assistant or the like. The digitizer is configurable so that it can detect and track the position of different types of position indicator. The digitizer that is described also includes novel digitizer windings and novel excitation circuitry for energizing the windings.

## Background
This application is the US national phase of international application PCT/GB2004/003639 filed 26 Aug. 2004, which designated the U.S. and claims benefit of GB 0319945.2 filed 26 Aug. 2003, the entire contents of each of which are hereby incorporated by reference.
The present invention relates to digitizer systems and to parts thereof. The invention has particular relevance to inductive digitizers for use with portable electronic equipment such as a tablet PC, PDA or mobile telephone.
U.S. Pat. No. 4,878,553 describes an inductive digitizer system having loop coils arrayed in X and Y directions. The digitizer includes an excitation circuit for applying an energizing signal to a selected loop coil for energizing a resonant stylus. Once energized, the resonant stylus emits a response magnetic field which couples back into the loop coils. Processing electronics of the digitizer then process the signals from the loop coils to determine a measurement of the X-Y position of the stylus over the digitizer.
The system described in U.S. Pat. No. 4,878,553 has a number of problems. One problem is that there are a large number of coil crossovers required at the edge of the sensor board. For best accuracy and resolution, the coils should approach the edge of the sensor board as closely as possible. This means that when the loop coils are formed from conductors on printed circuit boards, the PCB geometries (line widths, gaps and via sizes) must be small, yielding an expensive product. The alternative is for these geometries to be large, at the expense of accuracy. Further, in view of the large number of crossovers, there are a relatively large number of connections between the layers of the printed circuit board. Since each connection has a finite chance of failure at manufacture, the manufacturing process must yield high reliability for each such connection, thereby again increasing manufacturing cost.
A further problem with the system described in U.S. Pat. No. 4,878,553 is that typically it draws a relatively high current from its supply, for a given noise level, due to inefficiencies in coil layout and the way in which the coils are energized to energize the resonant stylus.
An aim of the present invention is to address at least one of these problems and to provide an alternative digitizer system or to provide alternative components for use in such a digitizer system.
In the main embodiment described below, a new digitizing system is described having a new arrangement of windings for energizing and sensing the position of a resonant stylus above a working surface thereof. The digitizing system also includes novel excitation and multiplexing circuitry that is used to select a winding to be energized for energizing the resonant stylus. The digitizing system also includes novel processing circuitry that is used to control the operation of the digitizer so that it can operate with different types of stylus.



Various other aspects of the digitizing system will become apparent from the following detailed description of preferred embodiments in which:
FIG. 1 is a block diagram illustrating the main components of a tablet PC having an X-Y digitizer for sensing the position of a resonant stylus over a writing surface thereof;
FIG. 2a shows a top layer of conductors of a printed circuit board which forms part of the X-Y digitizer shown in FIG. 1;
FIG. 2b shows a bottom layer of conductors of a printed circuit board which forms part of the X-Y digitizer shown in FIG. 1;
FIG. 2c shows the conductors of the printed circuit board which form the Y direction digitizer windings of the X-Y digitizer;
FIG. 2d shows the conductors on both layers of the printed circuit board of the X-Y digitizer;
FIG. 3a is a block diagram illustrating the main components of a control and signal processing circuit forming part of the digitizer electronics shown in FIG. 1;
FIG. 3b is a signal plot showing an excitation signal which is applied to a selected one of the sensor board windings and showing the form of a signal generated by a resonant stylus in response;
FIG. 4a is a block diagram illustrating the main components of an excitation circuit forming part of the digitizer electronics shown in FIG. 1;
FIG. 4b is a circuit diagram illustrating in more detail the main components of a drive signal generator shown in FIG. 4a; 
FIG. 4c is a signal plot illustrating the form of voltage signals at different points of the drive signal generator circuit shown in FIG. 4b; 
FIG. 4d is a plot illustrating the resonant characteristics of the drive signal generator circuit shown in FIG. 4b, for different configurations of the circuit;
FIG. 4e is a circuit diagram illustrating in more detail the components of coil select switching circuitry shown in FIG. 4a; 
FIG. 4f is a simplified circuit diagram illustrating the operation of the coil select switching circuitry shown in FIG. 4e; 
FIG. 5a is a block diagram illustrating the main components of a sensing circuit forming part of the digitizer electronics shown in FIG. 1;
FIG. 5b is a circuit diagram illustrating the main components of one of the multiplexers shown in FIG. 5a; 
FIG. 6 is a block diagram illustrating the main components of a digitizer microprocessor shown in FIG. 3a; 
FIG. 7a is a schematic diagram illustrating the main components of a battery powered stylus which includes processing electronics for controlling the transmission of information to the digitizer;
FIG. 7b is a schematic diagram illustrating the components of a single resonator stylus;
FIG. 7c is a schematic diagram illustrating the main components of a stylus which is powered by the digitizer and which includes processing electronics for encoding data to be transmitted by the stylus;
FIG. 7d schematically illustrates the main components of a two resonator stylus;
FIG. 7e schematically illustrates the form of an RFID tag which can be detected by the digitizer shown in FIG. 1;
FIG. 8 schematically illustrates stylus configuration data that is stored within the digitizer microprocessor for different types of stylus that the digitizer can detect;
FIGS. 9a and 9b are flow charts illustrating the way in which the digitizer microprocessor controls the digitizer to detect the presence and position of the different types of stylus or the RFID tag above the writing surface of the tablet PC;
FIG. 10a is a flow chart illustrating the processing steps performed by the digitizer microprocessor during a survey for the battery powered stylus shown in FIG. 7a; 
FIGS. 10b and 10c are flow charts illustrating the processing steps performed by the digitizer microprocessor when continuously sensing the status and position of the battery powered stylus shown in FIG. 7a; 
FIG. 10d schematically illustrates the type of correction performed by the digitizer microprocessor to account for different magnetic center positions for different types of styluses;
FIG. 11a is a flow chart illustrating the processing steps performed by the digitizer microprocessor during a survey for the resonant stylus shown in FIG. 7b; 
FIG. 11b is a flow chart illustrating the main steps performed to capture the resonant frequency of the resonant stylus during the survey process shown in FIG. 11a; 
FIG. 11c is a plot illustrating the way in which the digitizer emits bursts of excitation signal over a frequency band of interest in order to detect resonant styluses operating at different frequencies;
FIG. 11d is a flow chart illustrating the processing steps carried out by the digitizer microprocessor during a capture process for the resonant stylus shown in FIG. 7b; 
FIG. 11e is a flow chart illustrating the processing steps carried by the digitizer microprocessor to continuously track the position and status of the resonant stylus shown in FIG. 7b; 
FIG. 12a is a flow chart illustrating the processing steps carried out by the digitizer microprocessor during a capture process for the electronic stylus shown in FIG. 7c; 
FIG. 12b is a flow chart illustrating the processing steps performed by the digitizer microprocessor to continuously track the position and status of the electronic stylus shown in FIG. 7c; 
FIG. 13a is a flow chart illustrating the processing steps carried out by the digitizer microprocessor to continuously track the position and status of the two resonator stylus shown in FIG. 7d; 
FIG. 13b is a spectral plot used by the digitizer microprocessor to determine the resonator frequency and Q factor of the resonators forming part of the stylus shown in FIG. 7d; 
FIG. 14a schematically illustrates the form of an alternative set of X and Y windings which may be used in the digitizer shown in FIG. 1;
FIG. 14b schematically illustrates the way in which the windings shown in FIG. 14a may be folded underneath a rigid support for connection to a digitizer controller printed circuit board; and
FIG. 15 illustrates an alternative form of PCB conductors which can be used for Y position measurement in the digitizer.



MAIN EMBODIMENT
Overview
FIG. 1 is a schematic block diagram illustrating a battery-powered tablet PC 1 which includes a writing surface 3 over which a user moves a resonant stylus 7. As shown in FIG. 1, the writing surface 3 is provided over a display 5. The tablet PC 1 also includes an X-Y digitizer 9 having an X-Y digitizer winding printed circuit board (PCB) 11 and digitizer electronics 13 (typically mounted on a controller board (not shown) attached to the rear of the PCB 11). As shown in FIG. 1, in this embodiment, the X-Y digitizer winding PCB 11 is provided under the display 5 and carries X-Y digitizer windings (not shown) for transmitting signals to and for receiving signals from the stylus 7. The digitizer electronics 13 are connected to the windings on the X-Y digitizer winding PCB 11 and control the excitation of those windings and the sensing and processing of signals generated in the windings by the stylus 7.
More specifically, the digitizer electronics 13 includes a control and signal processing circuit 15 which controls an excitation circuit 17 and a sensing circuit 19. The excitation circuit 17 is used to generate an excitation signal which is applied to a selected one or more of the digitizer windings on the PCB 11. The sensing circuit 19 is arranged to detect the signals generated in some or all of the digitizer windings on the PCB 11 and to pass the detected signals to the control and signal processing circuit 15. The control and signal processing circuit 15 then processes the detected signals to determine the current position (X position, Y position and optionally height (Z) above the writing surface 3), tilt and status of the stylus 7. The control and signal processing circuit 15 then reports this current position and status information to the tablet PC operating system 21 via a digitizer-PC interface 23, a PC-digitizer interface hardware 25 and digitizer interface driver software 27. The operating system 21 then makes this position and status information available to the appropriate software applications 29 running on the tablet PC 1.
As shown in FIG. 1, the operating system 21 also passes digitizer control data back to the digitizer electronics 13 to control, for example, the rate at which the control and signal processing circuit 15 reports the position and status of the stylus 7. The operating system 21 also controls a speaker driver 31 for generating appropriate audio signals for output via a speaker system 33. For example, the operating system 21 can control the speaker driver 31 in response to the current stylus position and/or status information received from the digitizer electronics 13, thereby providing audible feedback to the user. The operating system 21 also controls a display driver 35 which in turn generates the appropriate control signals for a display controller 37 which controls the image displayed on the display 5. Again, in this embodiment, the operating system 21 controls the display driver 35 in accordance with the current stylus position and/or status received from the digitizer electronics 13 in order to provide visual feedback to the user via the display 5.
As will be described in greater detail below, the digitizer system 9 described above includes a novel set of X-Y digitizer windings on the PCB 11 which allows the PCB 11 to be manufactured at low cost while allowing the digitizer electronics to maintain position sensing accuracy. The digitizing system 9 also includes a novel excitation circuit which allows for the efficient driving of the selected digitizer windings on the PCB 11. The control and signal processing circuit 15 also includes novel control software which allows the digitizer 9 to be able to detect and interact with several different types of stylus 7. A more detailed description of these components of the system will now be described.
Digitizer Windings
In this embodiment, the digitizer windings PCB 11 is a two layer PCB for low cost. FIG. 2a illustrates the conductor patterns on the top layer (closest to the display 5) of the X-Y digitizer winding PCB 11 used in this embodiment. As shown, the top layer of conductors includes a “comb” type winding 51 which is formed by twenty seven conductors (labelled CV1 to CV27) which extend substantially parallel to each other along the Y direction, which are arrayed along the X direction and which are connected together at one end by the common connecting conductor 57 which extends parallel to the X axis. As will be described in more detail below, when the stylus 7 is placed above the printed circuit board 11 and when it generates an AC magnetic field, it induces EMFs in conductors CV1 to CV27, which EMFs vary in dependence upon the position, tilt and status of the stylus 7. Therefore, the EMFs induced in winding 51 can be used in calculations to determine the position, tilt and status of the stylus 7. In this embodiment, the winding 51 is also used for energizing the stylus 7 when required.
The use of this type of comb winding 51 offers a number of advantages over the parallel loop coils used in the prior art systems (such as those described in U.S. Pat. No. 4,878,553).
Firstly, since all of the conductors CV1 to CV27 are connected in common by the conductor 57, it is possible to dynamically select the width and the position of an area above the writing surface 3 to be energized. For example, when the position of the stylus 7 is unknown, it is possible to energize a relatively wide area above the writing surface by, for example, applying current between conductors CV5 and CV11. This therefore allows the detection of a resonant stylus 7 over a relatively large area. Once the resonant stylus 7 has been detected over the writing surface 3, the efficiency of the excitation can be improved by energizing a narrower area above the writing surface 3 (corresponding to the detected position of the stylus). It is therefore possible to detect the presence of the stylus 7 more efficiently (in terms of power consumption and hence battery life) than with the prior art type parallel overlapping loop coils.
A further advantage of the comb type winding 51 is that there is no need for complex conductor crossovers at the edge of the circuit board 11, thereby minimizing any wasted “dead” space at the edge of the circuit board 11. Further, because there are no crossovers, there is no need for vias at the edge, thereby leading to reduced manufacturing costs and improved manufacturing reliability. Additionally, because the conductor track widths and the distance between them can be quite large, this also leads to lower manufacturing cost and higher yield. Typically, with prior art designs, the track width and spacing have been about 0.15 mm, whereas with the above comb type winding (which is designed to accommodate connecting conductors between the conductors CV), the track width and spacing can be 0.5 mm or more, while achieving the same position sensing accuracy. Where such connecting conductors are not required, the track widths of the comb winding 51 and the gaps between them can be as large as 1 mm and 4 mm, respectively.
As can be seen from FIG. 2a, the center to center distance between the conductors CV1 to CV27 is not uniform across the sensor board 11. In particular, the spacing between the conductors at the left and right edges of the board 11 is smaller than the spacing between the conductors in the center of the board 11. For example, the spacing between conductors CV1 and CV2 is smaller than the spacing between conductors CV11 and CV12. This variation of the spacing between the conductors CV1 to CV27 allows the digitizer 9 to maintain position sensing accuracy (especially at the edge of the circuit board 11) while maximizing conductor widths and spacings. In particular, position sensing accuracy is usually lower at the edge of the printed circuit board 11. Therefore, the smaller spacing at the edges yields a greater number of conductors that can be used to detect stylus position near the edges. As a consequence of the greater information available, the control and signal processing circuit 15 can provide more accurate position estimates for these positions.
FIG. 2b illustrates the conductors provided on the bottom layer (furthest from the display 5) of the digitizer winding PCB 11. As illustrated in FIG. 2b these conductors form thirty four substantially parallel non-overlapping loops (labelled L1 to L34) which extend along the X direction and which are arrayed side by side along the Y direction. As will be described in more detail below, the signals from conductor loops L1 to L34 are also used to determine the position of the stylus 7. In particular, when the stylus 7 is above the printed circuit board 11 and when the stylus 7 generates an AC magnetic field, it induces EMFs in the conductor loops L1 to L34, which EMFs vary with the position of the stylus 7 relative to the sensor board 11. Therefore, by measuring and comparing the EMFs induced in some or all of the conductor loops L1 to L34, the control and signal processing circuit 15 can determine the position of the stylus 7 over the PCB 11.
Connections to the conductor loops Li to L34 can be made at any convenient point on the loop, in order to connect the loops back to the digitizer electronics 13. In this embodiment, these connections are provided by conductors on the top layer of the PCB 11 (shown in FIG. 2a) which are connected to the conductor loops L1 to L34 at the vias which are represented in FIG. 2 by the oval shaped black dots. The conductor loops Li to L34 and their connecting conductors are shown together in FIG. 2c. As shown in FIG. 2c, all of the connecting conductors extend substantially parallel to each other along the Y direction, with the connecting conductors for each loop running as close as possible next to each other. For example, loop L34 is connected to the digitizer electronics 13 by conductor CV15 and conductor CV15B which extend from vias V2 and V3 respectively. Similarly, conductor loop L33 is connected to the sensing circuit 19 by conductors CV15 and CV15A which connect to conductor loop L33 at vias V2 and V1 respectively. As shown in FIG. 2c, similar connections are provided for the other conductor loops L1 to L34.
As is apparent from FIG. 2c, adjacent pairs of conductor loops (e.g. loops L33 and L34) share a common return path to the digitizer electronics 13 using one of the X position sensing conductors (in the above example conductor CV15). This arrangement minimizes the number of vias required and the number of connecting conductors that have to be provided back to the digitizer electronics 13. Additionally, as will be described in more detail below, the sensing circuit 19 includes differential signal processing circuits which remove any common mode signal. In particular, since conductors CV15 and CV15B run parallel and very close to each other, they will both experience the same magnetic field and therefore any EMF induced in these conductors will cancel each other out in the differential processing circuits, leaving just the EMF induced in the conductor loop L34.
As shown in FIGS. 2b and 2c, in this embodiment, the areas enclosed by the conductor loops Li to L34 are not the same. In particular, the areas enclosed by the conductor loops at the top and bottom edges are smaller than the areas enclosed by the conductor loops in the center of the printed circuit board 11. For example, the area enclosed by conductor loop L1 is smaller than the area enclosed by conductor loop L16. As with the conductors CV1 to CV27, the smaller areas at the edges allow the digitizer 9 to maintain position sensing accuracy at these edges.
One advantage of using the combination of a comb type winding 51 and the separate conductor loops L1 to L34 is that all of the connections for connecting the windings to the digitizer electronics 13 can be made at one edge of the printed circuit board 11. This is illustrated in FIG. 2d which shows the conductors on both layers of the PCB 11 and which illustrates the connection of those conductors to connection pads 41-1 and 41-2 for connection to the digitizer electronics 13. Had two comb type windings 51 been used then either connections would have to be made at two edges of the printed circuit board 11 or space would have to be provided at one edge of the printed circuit board 11 to run connecting conductors to the other edge.
As will be apparent to those skilled in the art, one of the advantages of the digitizer winding design shown in FIG. 2 is the PCB geometries that are used. In particular, only a few via holes are required and their size can be relatively large. Additionally, the gaps between the conductors are relatively large and the conductors themselves are relatively wide. As a result, it is possible to manufacture the digitizer winding PCB 11 at relatively low cost and with high reliability.
Digitizer Electronics
FIG. 3a is a block diagram illustrating the main components of the control and signal processing circuit 15 shown in FIG. 1. As shown, the control and signal processing circuit 15 includes a digitizer microprocessor 71 which controls the digitizer electronics 13 and which processes the received signal values to determine the position and status of the stylus 7 over the PCB 11 and hence over the writing surface 3 and display 5. As shown, the digitizer microprocessor 71 generates appropriate excitation waveform and control signals which it outputs to an output waveform buffer 73, where they are stored until they are output to control the operation of the excitation circuit 17. As shown in FIG. 3a, the excitation control signals include excitation coil select signals for selecting the conductors (CV1 to CV27) that will receive the excitation current. The excitation control signals also include drive control signals which are used to control the excitation circuit 17 in order to generate the desired excitation signal. Finally, the excitation control signals include calibration reference signals which are used to fine tune the excitation circuit 17 to maximize its drive efficiency at the desired excitation frequency and for the selected digitizer conductors.
As shown in FIG. 3a, the control and signal processing circuit 15 also includes an input waveform buffer 75, which operates to receive the digital data output by the sensing circuit 19 and digital feedback data from the excitation circuit 17. This digital data is stored in the input waveform buffer 75 until they are required by the digitizer microprocessor 71 for processing.
The digital microprocessor 71 also controls an A/D control circuit 77. As will be described in more detail below, the sensing circuit 19 includes a plurality of parallel processing channels and the A/D control circuit 77 outputs control signals to select which one of the processing channels is connected to the A/D converter in the sensing circuit 19. The A/D control circuit 77 also outputs a sample control signal which is used to control the triggering of sample and hold circuits (not shown) which are also provided in the sensing circuit 19.
The digitizer microprocessor 71 also outputs sensor coil select signals for selecting which ones of the digitizer conductors (CV1 to CV27 and Li to L34) are to be connected to the processing channels of the sensing circuit 19.
In this embodiment, when the stylus 7 includes a resonator, the digitizer electronics 13 is arranged to apply a burst of excitation signal to the selected conductors on the digitizer winding PCB 11 and then, after the burst of excitation signal has ended, to process the signals generated in the selected digitizer windings. This type of processing is referred to as “pulse echo” and works because the resonator in the stylus 7 continues to resonate for a period of time after the excitation signal has ended. This type of pulse echo processing is preferred (although not essential) because it avoids errors caused by direct breakthrough between the windings used for excitation and the windings used for sensing as well as errors caused by any other coupling between the excitation and sensing circuitry.
FIG. 3b is a time plot illustrating the form of a burst of excitation signal 81 which, in this example, includes twelve cycles of the excitation signal; and illustrating the signal 83 generated in a resonator of the stylus 7 as a result of the excitation signal 81. As shown, the resonator signal 83 typically builds up to a peak when the excitation signal ends and then decays with time when the excitation signal is removed. During excitation, the resonator signal 83 oscillates at approximately the excitation frequency (Fex), even when this differs from the resonant frequency (Fres) of the resonator. After excitation ends, the resonator rings down while oscillating at the resonant frequency (Fres). As is well known, maximum energy transfer between the excitation winding and the resonant stylus 7 is achieved when the frequency of the excitation signal (Fex) is the same as the resonant frequency (Fres) of the resonator.
As shown in FIG. 3a, the control and signal processing circuit 15 includes an excitation-detection synchronisation circuit 79 which controls the output waveform buffer 73 so that the excitation signal is generated for the required period of time. The excitation-detection synchronisation circuit 79 also controls the A/D control circuit 77 to ensure that the signals induced in the sensor windings are only converted into digital data after the excitation signal 81 has ended. The excitation-detection synchronisation circuit 79 also controls the input waveform buffer 75 to control the timing at which the data stored in this buffer is passed to the digitizer microprocessor 71. The excitation-detection synchronisation circuit 79 is controlled by the digitizer microprocessor 71 and therefore knows when the excitation signal is being generated and when the data from the sensor windings will be ready for processing.
Excitation Circuit
FIG. 4a is a block diagram illustrating the main components of the excitation circuit 17 used in this embodiment. As shown, the excitation circuit 17 includes a drive signal generator 91 which receives the drive control signals and the calibration reference signals from the control and signal processing circuit 15 and which generates an excitation signal at the appropriate frequency for application to the selected conductors of the digitizer winding 51. The excitation circuit 17 also includes coil select switching circuitry 93 which selects the conductors of the digitizer winding 51 to which the excitation signal will be applied. As shown, the coil select switching circuitry 93 makes this selection based on the excitation coil select signals received from the control and signal processing circuit 15.
As shown in FIG. 4a, the drive signal generator 91 and the coil select switching circuitry 93 feed back measurements of the supply voltage and the excitation current to the control and signal processing circuit 15 so that it can dynamically change the drive control signals in order to try to maintain the amplitude of the excitation current at a desired level.
Drive Signal Generator
FIG. 4b is a circuit diagram illustrating a preferred form of the drive signal generator 91 used in this embodiment. As shown, the drive signal generator 91 includes two MOSFET switches 95 and 97 which are connected in series between a supply voltage Vs (which in this embodiment is 3 volts) and ground (0v). In this embodiment, MOSFET 95 is a P-type MOSFET and MOSFET 97 is an N-type MOSFET. As shown in FIG. 4b, the gates of MOSFETs 95 and 97 are controlled by drive_P and drive_N control signals, which operate to switch the MOSFETs 95 and 97 on and off respectively. Drive_P and drive_N are two of the drive control signals received from the control and signal processing circuit 15. In this embodiment, drive_P and drive_N are arranged to operate so that when MOSFET 95 is switched on, MOSFET 97 is switched off and vice versa. Therefore, when MOSFET 95 is switched on Vm will be raised to the supply voltage Vs and when MOSFET 97 is switched on, Vm will be pulled down to ground. In this embodiment, the drive control signals (drive_P and drive_N) are arranged so that voltage Vm includes a periodic sequence of double pulses whose period corresponds to the reciprocal of the desired excitation frequency.
FIG. 4c is a voltage plot illustrating the form of the voltage Vm generated in this embodiment. As mentioned above and as shown, voltage Vm includes a repeating sequence of double pulses 98-1 and 98-2, with the period between the double pulses 98 being equal to 1/Fex and with the time between each pulse of a double pulse being 1/4Fex. In this embodiment, double pulses 98 are generated with this spacing in order to minimize second harmonic generation (i.e. frequency components in the excitation signal having a frequency of 2Fex). As those skilled in the art will appreciate, the period between double pulses and the time between pulses in a pair might not be exactly equal to 1/FeX and 1/4Fex respectively. For example, if 1/4Fex is not an integer number of digitizer clock cycles, then those timings might be made to vary by 1 clock cycle between successive periods.
Returning to FIG. 4b, the voltage Vm generated by switching the MOSFETs 95 and 97 on and off is applied to an inductor-capacitor filter network 99 which removes the high frequency components of Vm, to generate a filtered excitation voltage (VL) at the excitation frequency (Fex) which, as will be described below, is applied to the selected conductors of digitizer winding 51. FIG. 4c also shows this filtered excitation voltage VL.
As will be apparent to those skilled in the art, the control and signal processing circuit 15 can control the frequency (Fex) of the excitation voltage VL by controlling the frequency with which drive_P and drive_N are changed. The control and signal processing circuit 15 can also control the amplitude of the excitation voltage VL (and hence the amplitude of the excitation current) by varying the duration of the drive_P and drive_N pulses, thereby controlling the duration Tm of the voltage pulses 98.
In this embodiment, the filtering network 99 includes capacitors C2A, C2b and C3 which are used to make the circuit resonant with the connected load (i.e. with the coil formed by the selected conductors of the digitizer winding 51) at a frequency approximately corresponding to the excitation frequency, thereby making the drive signal generator 91 more efficient. As mentioned above, the excitation circuit 17 can connect to different conductors (CV) of the digitizer winding 51 to excite different width coils. The different width of the coils means that they will have different inductances. Therefore, the resonant characteristics of the drive signal generator 91 when connected to the digitizer winding 51 will depend on to which conductors of the winding 51 the excitation circuit 17 is attached (which conductors will hereinafter be referred to as the excitation configuration). To account for this variability (and to account for the variability of excitation frequency which can be generated), the capacitors C2A and C2B can be switched in and out of the circuit by the MOSFETs 101 and 103 respectively, which are controlled by the control signals tune_A and tune_B.
In this embodiment, as there are two capacitors that can be switched in and out, the drive signal generator 91 has four different resonant characteristics to choose from for a given excitation configuration. This is illustrated in FIG. 4d, which is a plot showing the four different resonant frequency characteristics 107-1 to 107-4 of the drive signal generator 91. Plot 107-1 is selected by turning off both MOSFETs 101 and 103; plot 107-2 is selected by turning MOSFET 101 on and MOSFET 103 off; plot 107-3 is selected by turning MOSFET 101 off and MOSFET 103 on; and plot 107-4 is selected by turning on both MOSFETs 101 and 103. The arrows 109-1 and 109-2 shown in FIG. 4d represent that the characteristics 107 can move along the frequency axis, depending on the currently selected excitation configuration.
The tune_A and tune_B signals that are used to control the MOSFETs 101 and 103 are the calibration reference signals that are received from the control and signal processing circuit 15. The values that these signals take for a given excitation configuration and excitation frequency are determined in advance during the following calibration procedure:
Initially, determine a set of desired excitation configurations. (This is likely to be a subset of all possible excitation configurations that can be achieved between the excitation circuit 17 and the digitizer windings.) Then, for each of those excitation configurations, choose a set of excitation frequencies. For example, the frequencies between fmin and fmax represented in FIG. 4d by the vertical lines that cross the frequency axis. Then, apply an excitation signal at each of those frequencies (in turn) to each desired excitation configuration (in turn) with different values of the control signals tune_A and tune_B, and measure the peak excitation current for each combination (to give, for example, I1 and I2 shown in FIG. 4d). The best values of tune_A and tune_B for a given excitation configuration and frequency are then determined by comparing the measured peak excitation currents obtained for that configuration for the different values of tune_A and tune_B, and in particular by identifying which values of tune_A and tune_B resulted in the largest peak excitation current. The values for tune_A and tune_B that are obtained are then stored for that configuration (together with the corresponding peak current that was measured during the calibration procedure) in the control and signal processing circuit 15 for subsequent use in selecting appropriate values for tune_A and tune_B for a current excitation frequency and a current excitation configuration.
As those skilled in the art will appreciate, if during normal use, the current excitation frequency is not one from the set of frequencies used during the calibration procedure then the microprocessor 71 can determine appropriate values for tune_A and tune_B from those stored for the nearest one or more calibration frequencies. Similarly, if the current excitation configuration is not one of the set used during calibration, then the microprocessor 71 can determine appropriate values for tune_A and tune_B from those stored for one or more similar excitation configurations.
During this calibration routine, the control and signal processing circuit 15 outputs drive control signals that cause the drive signal generator 91 to generate the above described periodic train of double pulses 98 at the appropriate period for the desired excitation frequency. In this embodiment, during this calibration procedure, the pulse width TM of these pulses 98 is set at a fixed calibration value. This allows the control and signal processing circuit 15 to determine, during normal use, the pulse width to use for a current configuration to achieve a desired peak amplitude of excitation current, by using the stored peak current that was measured for that configuration during the calibration procedure. In particular, since the peak excitation current that is output by the excitation circuit 17 is proportional to the width of the pulses 98 that are generated by the drive signal generator 91, the pulse width to use to achieve a desired peak current can be determined by taking the ratio of the desired peak current and the stored peak current for that configuration and then by multiplying the calibration pulse width with the calculated ratio.
Returning to FIG. 4b, the filter network 99 also includes a resistor R1 which is connected to ground through another MOSFET 105. The MOSFET 105 is controlled by a “snub” control signal which forms part of the drive control signals received from the control and signal processing circuit 15. The control and signal processing circuit 15 outputs the appropriate snub control signal to the MOSFET 105 so that when the excitation signal is to end, MOSFET 105 is switched on, thereby connecting resistor R1 to ground, which in turn diverts the excitation current (IE) to ground.
As discussed above, in this embodiment, the level of the supply voltage V5 is monitored by the control and signal processing circuit 15. This is achieved by measuring the voltage drop across a capacitor Cs using an analogue to digital converter (not shown).
Coil Select Switching Circuitry
FIG. 4e is a circuit diagram illustrating the coil select switching circuitry 93 used in this embodiment and illustrating the way in which the switching circuitry 93 is connected to some of the conductors of the digitizer winding 51 shown in FIG. 2a. As shown, the coil select switching circuitry 93 includes a first set of MOSFET switches 111-1 to 111-6 which are connected in parallel to conductors CV5, CV7, CV13, CV15, CV21 and CV23 respectively. In particular: the source of MOSFET 111-1 is connected to conductor CV5; the source of MOSFET 111-2 is connected to conductor CV7; the source of MOSFET 111-3 is connected to conductor CV13; the source of MOSFET 111-4 is connected to conductor CV15; the source of MOSFET 111-5 is connected to conductor CV21; and the source of MOSFET 111-6 is connected to conductor CV23.
The coil select switching circuitry 93 also includes a second set of MOSFET switches 113-1 to 113-8 which are each connected between one of the conductors of the digitizer winding 51 shown in FIG. 2a and ground via resistor R2. In particular: the drain of MOSFET 113-1 is connected to conductor CV1; the drain of MOSFET 113-2 is connected to conductor CV3; the drain of MOSFET 113-3 is connected to conductor CV9; the drain of MOSFET 113-4 is connected to conductor CV11; the drain of MOSFET 113-5 is connected to conductor CV17; the drain of MOSFET 113-6 is connected to conductor CV19; the drain of MOSFET 113-7 is connected to conductor CV25; and the drain of MOSFET 113-8 is connected to conductor CV27.
The first set of switches 111 are used to control the connection of the corresponding conductor (CV) to the excitation voltage (VL) through a respective DC blocking capacitor C4A to C4F. The second set of switches 113 are used to control the connection of the corresponding conductor (CV) to ground through the resistor R2. As shown in FIG. 4e, the gates of the switches 111 and 113 receive control signals SA to SN, which are the excitation coil select signals received from the control and signal processing circuit 15. In this embodiment, the control signals SA to SN are used to open or close the corresponding switch. Therefore, by appropriate selection of the excitation coil select signals (SA to SN), the control and signal processing circuit 15 can control which conductors (CV) of the digitizer winding 51 receive the excitation signal. For example, if switches 111-6 and 113-8 are both switched on (while the others are switched off), then the excitation signal will be applied to conductors CV23 and CV27.
Further, since all of the conductors CV1 to CV27 are connected together by the connecting conductor 57 shown in FIG. 2a, it is possible to use the coil select switching circuitry shown in FIG. 4e to apply the excitation signal to one or more of conductors CV5, CV7, CV13, CV15, CV21 or CV23 and one or more of conductors CV1, CV3, CV9, CV11, CV17, CV19, CV25 or CV27. For example, by switching on switches 111-1 and 113-5, the excitation signal will be applied to conductors CV5 and CV17. As a result, it is possible to dynamically vary the width of the area above the writing surface 3 which receives the excitation signal. This is important for power consumption since it is wasteful to excite a relatively large area all the time. For example, when the position of the stylus 7 is not known, the excitation signal may be applied to conductors (CV) which are relatively far apart (e.g. conductors CV5 and CV17) in order to maximize the area above the writing surface 3 being energized; and then, once the position of the resonant stylus 7 has been approximated, to apply the excitation signal to conductors which are relatively close together (e.g. conductors CV7 and CV11) and which are close to the approximate position of the stylus 7.
As those skilled in the art will appreciate, not all of the conductors (CV) of the digitizer winding 51 are connected to the excitation circuit 17. This is because it is not essential to do so. All that is required is that the excitation signal can be applied to appropriate conductors that will allow the detection of a resonant stylus 7 above the entire writing surface 3 of the tablet PC 1. The particular conductors discussed above constitute one set that can be used to achieve this result. Other sets of conductors can of course achieve the same result.
As mentioned above, in this embodiment, the coil select switching circuitry 93 returns a measurement of the excitation current (IE) to the control and signal processing circuit 15. In this embodiment, this measurement is obtained by digitizing the voltage drop across resistor R2, which is proportional to the excitation current.
As discussed above, in this embodiment, the digitizer windings on the PCB 11 are designed to minimize manufacturing cost and to maximize reliability. This is achieved by using single turn windings that have relatively low impedance. The excitation circuit 17 described above has been designed so that it can allow a large AC current to be driven into the digitizer winding 51 at low voltages, while maintaining high efficiency and with low spurious emissions across a broad range of operating frequencies (greater than 1 KHz and less than 10 MHz). This has been achieved by minimizing the resistance of the excitation circuit 17 that is in series with the digitizer winding 51. There are a number of design features of the excitation circuit 17 described above which contribute to its high efficiency and low series resistance. Firstly, the use of MOSFET switching circuitry (switches 95 and 97) and a smoothing filter 99 built from LC filter components enables the drive signal generator 91 to generate an approximately sinusoidal excitation current at high power efficiency, unlike alternative signal generators built from, for example, class A or class D amplifiers. An approximate sinusoidal excitation current is important as this reduces the harmonic content of the magnetic field generated when the excitation current is applied to the digitizer winding 51. This is important because this reduces emissions in other regulated frequency bands and reduces the amount of power that is lost in the emitted harmonics.
The low series resistance of the excitation circuit 17 has been achieved by using a single MOSFET to control the application of current to each connected conductor (CV) of the digitizer winding 51 and not the conventional N-channel and P-channel MOSFET pair normally used. As will be described in more detail below, this is possible because any negative drain-source voltage experienced by the other switches 113 will be below the level at which the parasitic reverse diode within those MOSFETs 113 conducts more than a nominal amount.
To explain this in more detail, reference is made to FIG. 4f which schematically represents the excitation circuit 17 when switches 111-1 and 113-3 are switched on (and when the other switches 111 and 113 are switched off), so that the excitation signal from the drive signal generator 91 is applied to conductors CV5 and CV9. FIG. 4f also illustrates the coil 114 formed by conductor CV3, conductor 57 and conductor CV5, which is connected to ground via the corresponding MOSFET switch 113-2, which is in its off or high impedance state. When the excitation current flows through the coil 115 formed by conductor CV5, conductor 57 and conductor CV9, this will generate a magnetic field which couples (M) with the coil 114. This coupled magnetic field will induce an EMF (e3-5) in the coil 114. The drain-source voltage of the MOSFET 113-2 therefore equals the induced EMF (e3-5) plus the excitation voltage VL. However, because of the geometry of the digitizer winding 51, the induced EMF (e3-5) is dominated by the excitation voltage VL. As a result of the relatively low peak magnitude of the excitation voltage VL, the peak negative excursion of this drain-source voltage never exceeds the level at which the parasitic reverse diode (not shown) within the MOSFET 113-2 conducts more than a nominal amount. As a result of this, it is possible to use a single MOSFET per connected conductor (CV) of the digitizer winding 51 and not the conventional N-channel and P-channel MOSFET pair normally used.
Further, since only one type of MOSFET is required, it is preferred to use N-type MOSFETs as these require about a quarter of the silicon area of P-type MOSFETs to achieve the same on resistance. Therefore, the above design of the excitation circuit 17 minimizes the series resistance of the excitation circuit 17 (and hence the power loss within the excitation circuit 17) for a given area (and hence cost) of silicon.
Sensing Circuit
FIG. 5a is a block diagram illustrating the main components of the sensing circuit 19 used in this embodiment. As shown, in this embodiment, the sensing circuit 19 includes four multiplexers 121-1 to 121-4 which are each connected to a respective sub-set of the connections on the connection pad 41 shown in FIG. 2d. As shown in FIG. 5a, the four multiplexers 121 operate to multiplex the signals from the digitizer windings (51 and L1 to L34) into sixteen processing channels, each having a differential anti-alias filter 123-1 to 123-16 and a differential sample and hold circuit 125-1 to 125-16. (Although not shown, each processing channel will also include a differential amplifier for amplifying the signals from the digitizer windings and for removing any common mode signals from its inputs.) The particular conductors (CV) which are connected through the multiplexers 121 to the anti-alias filters 123 are determined by the sensor coil select signals generated by the control and signal processing circuit 15. As shown, these sensor coil select signals include signals XS1A, XS2A, XS1B, XS2B, XS1C, XS2C, XS1D and XS2D which are used to select conductors from digitizer winding 51 and signals YS1A, YS2A, YS3A, YS1B, YS2B, YS3B, YS1C, YS2C, YS3C, YS1D, YS2D and YS3D which are used to select the conductor loops L1 to L34. In this embodiment, the coil select signals that are activated are designed to connect 16 adjacent conductors (CV) and conductor loops spanning the current stylus position, under control of the control and signal processing circuit 15.
As those skilled in the art will appreciate, the anti-alias filters 123 are arranged to remove frequency components from the detected signals that are outside the frequency band of interest. In this embodiment, the frequency band of interest starts at 400 kHz and ends at 700 kHz, although the system could be modified to operate within any frequency band lying between 1 kHz and 10 MHz. The output from each anti-alias filter 123 is then sampled by the corresponding sample and hold circuit 125 at a sampling rate controlled by the “sample” control signal, which forms part of the A/D control signals generated by the A/D control circuit 77 shown in FIG. 3a. The sampling frequency used is sufficient to capture adequate information from the input waveforms and in this embodiment is 4 MHz. The values held by the sample and hold circuits 125 are then digitized one at a time by a high speed differential analogue to digital (A/D) converter 127 before the next sample of each filtered signal is taken. The digital sample output by the high speed A/D 127 is then passed to the input waveform buffer shown in FIG. 3a for processing by the digitizer microprocessor 71. The control and signal processing circuit 15 controls which sample and hold measurement is A/D converted using the select switches 129-1 to 129-16, which are controlled by a respective activation signal (H1 to H16) which also form part of the A/D control signals generated by the A/D control circuit 77.
FIG. 5b is a schematic diagram illustrating in more detail the inputs and outputs of multiplexer 121-1. Similar arrangements are provided in the other multiplexers 121. As shown, in this embodiment, multiplexer 121-1 includes five banks of switches 131-1 to 131-5 which are controlled by a respective one of the coil select signals (XS1A, XS2A, YS1A, YS2A and YS2A). As shown in FIG. 5b, the first bank of switches 131-1 has its inputs connected to conductors CV1, CV2, CV3, CV4 and CV5 shown in FIG. 2. When coil select signal XS1A is active, conductors CV1 and CV2 will be connected to the differential anti-alias filter 123-1; conductors CV2 and CV3 will be connected to anti-alias filter 123-2; conductors CV3 and CV4 will be connected to anti-alias filter 123-3; and conductors CV4 and CV5 will be connected to anti-alias filter 123-4. Because of the differential nature of the anti-alias filters 123, the filtered signal output from these filters will correspond to the difference between the EMFs induced in the two input conductors. As those skilled in the art will appreciate, this difference in EMFs will also represent the EMF induced in the loop formed by the two input conductors and the connecting conductor 57 shown in FIG. 2a. 
For example, the output from the anti-alias filter 123-1 will represent the EMF induced in the loop formed by conductor CV1, conductor 57 and conductor CV2. As shown in FIG. 5b, a similar arrangement is provided for the second bank of switches 131-2, except that its inputs are connected to conductors CV17, CV18, CV19, CV20 and CV21.
The third, fourth and fifth banks of switches 131-3 to 131-5 are for connection to some of the conductor loops Li shown in FIG. 2b. For example, as shown, the third bank of switches 131-3 has its inputs connected to conductors CV13A, CV13, CV13B, CV12A, CV12 and CV12B. When coil select signal YS1A is active, conductors CV13A and CV13 will be connected to the differential anti-alias filter 123-1; conductors CV13 and CV13B will be connected to anti-alias filter 123-2; conductors CV12A and CV12 will be connected to anti-alias filter 123-3; and conductors CV12 and CV12B will be connected to anti-alias filter 123-4. Therefore, as a result of the differential nature of the anti-alias filters 123, the outputs from these filters will represent the EMFs induced in the corresponding conductor loop Li shown in FIG. 2b. 
A similar set of connections are provided by the fourth and fifth bank of switches 131-4 and 131-5, although as shown in FIG. 5b, the fifth bank of switches 131-5 has its inputs connected to only some of the conductors shown in FIG. 2. As those skilled in the art will appreciate, this is because there are more switch inputs than there are conductors of the digitizer windings.
As mentioned above, the other multiplexers 121 shown in FIG. 5a have a similar structure to the multiplexer 121-1 and therefore a further description of those other multiplexers 121 will not be given.
Digitizer Microprocessor
FIG. 6 is a schematic diagram illustrating the main components of the digitizer microprocessor 71 shown in FIG. 3a. As shown, the digitizer microprocessor 71 includes a central processing unit (CPU) 151 for performing calculations and which is connected to memory 153 via a bus 155. The CPU 151 is also connected to input/output circuitry 157 which controls the inputting and outputting of data to and from the digitizer microprocessor 71.
As shown in FIG. 6, the memory 153 includes a working memory area 159 which holds processing instructions that define the operation of the CPU 151 and which stores data necessary during the calculation of the current position and status of the stylus 7. The memory 153 also stores a number of software modules including:
1) A digitizer-PC interface software module 161 which controls the interaction of the digitizer microprocessor 71 with the operating system 21 of the tablet PC 1 via the digitizer-PC interface 23.
2) An excitation control software module 163 which generates the necessary control signals for controlling the selection and excitation of the selected conductors of digitizer winding 51.
3) A sensing control software module 165 for controlling the sensor coil selection and for controlling the analogue to digital control circuit 77.
4) A main control software module 167 which forms the main set of processing instructions for controlling the operation of the digitizer electronics 13 and which invokes the other software modules when necessary.
5) Signal processing software modules 169 which define the processing steps to be carried out by the CPU 151 in order to calculate the position and status of the stylus 7 over the writing surface 3. As mentioned above, in this embodiment, the digitizer electronics 13 is arranged to be able to detect the position and status of different types of stylus 7. In this embodiment, a number of different signal processing modules 169 are provided since different calculations are performed to determine the position and status of the stylus 7 depending on the type of stylus 7 being used.
As shown in FIG. 6, the memory 153 also stores predefined data which is used by the CPU 151 during the position and status calculations. This data includes:
1) Host calibration data 171 which, in this embodiment, defines corrections for calculated positions in order to take into account, for example, misalignment between the X-Y digitizer winding PCB 11 and the display 5. This host calibration data is determined in advance during a calibration routine in which measured positions are compared with actual positions on the display. The reader is referred to the applicant's co-pending UK patent application GB 0416614.6 for more details on how this calibration data may be generated.

2) Sensor model data 173 which defines, among other things, the relationship between the signals obtained from the digitizer windings and the corresponding position of the stylus 7 over the digitizer windings PCB 11.

3) Stylus calibration data 175-1 to 175-n (one for each of the n different types of stylus 7 that the digitizer electronics 13 can detect and cooperate with) which defines various stylus specific data such as, for example, details of its operation and its magnetic characteristics. More details of the stylus calibration data 175 will be given below.

As discussed above, in this embodiment, the digitizer electronics 13 are arranged to be able to detect and to operate with several different types of stylus 7. FIG. 7 illustrates some of the different types of stylus 7 that can be detected. In particular, FIG. 7a schematically illustrates a first type of stylus 7-1 that can be detected by the digitizer electronics 13. As shown, the stylus 7-1 includes processing electronics 191 which are powered by a battery 193. In this embodiment, the processing electronics 191 powers up when pressure is applied to a tip 195 of the stylus 7-1, thereby activating a tip switch 197, and remains powered while tip switch activity indicative of normal use is observed (and for a short period after the last tip switch activity is observed). The processing electronics 191 senses the state of the tip switch 197 and the state of a side switch 199 and transmits encoded signals indicative of these switch states to the digitizer winding PCB 11 via a coil 201.
FIG. 7b illustrates a second type of stylus 7-2 that can be detected by the digitizer electronics 13. As shown, the stylus 7-2 has a single resonator 203, whose frequency indicates the pressure applied to the tip 195 of the stylus 7-2 and the state of the side switch 199.
FIG. 7c illustrates a third type of stylus 7-3 that can be detected by the digitizer electronics 13. As shown the stylus 7-3 has a resonator 205 and processing electronics 191. The processing electronics 191 provides power from energy received from the digitizer windings via the resonator 205; senses the state of the side switch 199 and the amount of pressure applied to the tip 195 of the stylus 7-3; and then drives the coil 207 of the resonator 205 with a signal indicative of those quantities for detection by the digitizer windings on the PCB 11.
FIG. 7d illustrates a fourth type of stylus 7-4 that can be detected by the digitizer electronics 13. As shown, the stylus 7-4 has two coupled resonators 209 and 211 at nominally fixed resonant frequencies (F1 and F2), one of which is magnetically coupled to the digitizer windings on the PCB 11. The Q-factor of resonator 209 varies with the pressure applied to the tip 195 of the stylus 7-4 and the Q factor of resonator 211 varies with the state of the side switch 199. When the digitizer electronics 13 detects this type of stylus 7-4 above the writing surface 3, it detects the Q factors of both resonators 209 and 211 and hence the state of the side switch 199 and the pressure applied to the tip 195.
As those skilled in the art will appreciate, although the position indicators described above are all styluses 7, the digitizer 9 can work with similar position indicators that do not have the shape of a stylus 7. For example, an equivalent mouse shaped position indicator may be used having the corresponding components of one of the styluses 7 discussed above. Additionally, in this embodiment, the digitizer 9 is operable to detect and interact with RFID tags and other near field communications devices (NFCD). A typical RFID tag 213 is illustrated in FIG. 7e. As those skilled in the art will appreciate, an RFID tag 213 is similar in electronic composition and operation to the stylus 7-3 illustrated in FIG. 7c. In particular, the RFID tag 213 includes a coil 215 which is connected to processing electronics 217 and which forms a resonant circuit with a capacitor 219.
As discussed above, the digitizer microprocessor 71 includes stylus calibration data 175 for the n different classes or types of stylus 7 that the digitizer 9 can detect. FIG. 8 illustrates the typical contents of this stylus calibration data 175. As shown, the stylus calibration data 175 includes:
1) Data 221 defining the name of the stylus type.
2) Data 223 defining the order of this stylus type in a survey process. As will be described in more detail below, the digitizer 9 initially tries to detect each type of stylus in turn until it detects one above the writing surface 3. The data 223 defines the order in that detection process and is used to simplify the detection process and to minimize any confusion between the different types of stylus 7.

3) Data 225 which defines the survey process for that type of stylus 7 and any thresholds or limits used in the survey process. As will be described in more detail below, this survey process defines how the digitizer 9 tries to detect the presence of this type of stylus 7.

4) Data 227 defining a stylus capture process for this type of stylus 7 and any thresholds or limits used in the capture process. As will be described in more detail below, after the digitizer 9 has detected a particular type of stylus 7 is above the writing surface 3, it then enters a capture process in which initial position and operating characteristics of the stylus 7 are detected or captured.

5) Data 229 defining a continuous sensing process to be carried out by the digitizer 9 to track the position and status of that type of stylus 7 above the writing surface 3. The data 229 also defines any thresholds or limits used in the continuous sensing process.

6) Data 231 defining the status reporting data structure that is used by that type of stylus 7. This data tells the digitizer microprocessor 71 how to report the determined stylus position and status to the operating system 21 of the tablet PC 1.

7) Data 233 defining magnetic variables of the stylus 7 that influence position calculations, such as the magnetic center for that type of stylus 7. As will be described in more detail below, this information is used by the digitizer microprocessor 71 to make an appropriate position correction during the calculations.

In this embodiment, when the digitizer 9 is manufactured it is programmed with the stylus configuration data 175 for the or each stylus 7 that will be supplied with the digitizer 9 and any others required at that time. New stylus configuration data 175 for new styluses may be programmed into the digitizer 9 after manufacture, for example when the user of the tablet PC 1 buys a new stylus 7. In this case, the configuration data 175 may be downloaded via host driver software, from a CD or from a website on the internet.
FIGS. 9a and 9b are flow charts illustrating the main processing steps performed by the CPU 151 when running the main control module 167, for a particular set of stylus configuration data 175. This main control module 167 causes the digitizer electronics 13 to survey for the different types of stylus 7 until a particular type is found. Once the survey has identified the presence of a particular type of stylus 7, the main control module causes the CPU 151 to capture (lock onto) the stylus 7 and then to continuously track that stylus 7 at the rates required. In this embodiment, the digitizer microprocessor 71 also reports the type of stylus 7 to the operating system 21, which uses this information to activate functions and software modules appropriate for that type of stylus 7.
As will be apparent to those skilled in the art, the digitizer has to distinguish between styluses 7 having similar inductive signatures. For example, both the simple resonator stylus 7-2 of FIG. 7b and the electronic stylus 7-3 of FIG. 7c employ resonant circuits. If these two styluses 7 share a frequency band, then they may become confused. This problem is addressed by selecting an appropriate order for the styluses 7 in the processing steps illustrated in FIG. 9. In particular, the process starts by surveying for styluses 7 which are most easily distinguished. The particular order used in this embodiment for the styluses 7 shown in FIG. 7 are as follows:
Type A—the first type of stylus 7 to be detected is the battery powered stylus 7-1 like that illustrated in FIG. 7a. This stylus 7-1 should be easily distinguished since it operates without having to energize it by applying an excitation signal to the digitizer windings on the PCB 11.

Type B—the stylus 7-3 with the processing electronics 191 shown in FIG. 7c is the next easily distinguishable stylus 7, as it responds with encoded data which is easily identifiable.

Type C—is the two resonator stylus 7-4 shown in FIG. 7d and is relatively easy to distinguish as a result of its unique dual resonance characteristics.

Type D—in this embodiment is the simple resonator stylus 7-2 shown in FIG. 7b. This stylus 7-2 is the most likely stylus to be confused with the electronic stylus 7-3 of FIG. 7c and the two resonator stylus 7-4 shown in FIG. 7d, if the resonant frequencies overlap.

Returning to FIGS. 9a and 9b, as shown, the digitizer microprocessor 71 initially performs a survey process for the type A stylus 7-1 in step S1. The survey process that is used is defined by the survey process description data 225 forming part of the stylus configuration data 175 for the type A stylus 7-1. The processing then proceeds to step S3 where the digitizer microprocessor 71 determines if a type A stylus 7-1 has been detected. If a type A stylus 7-1 has not been detected, then the processing proceeds to step S5, where the digitizer microprocessor 71 performs a survey for the type B stylus 7-3. The digitizer microprocessor 71 then checks, in step S7, if a type B stylus 7-3 has been detected. If it has not, then the processing proceeds to step S9 where a similar survey is then carried out for a type C stylus 7-4. The processing then proceeds to step S11 where the digitizer microprocessor 71 determines if a type C stylus 7-3 has been detected. If it has not, then the processing proceeds to step S13 where a similar survey process is performed for the type D stylus 7-2. The processing then proceeds to step S15 where the digitizer microprocessor 71 determines if a type D stylus 7-2 has been detected. If it has not, then the processing proceeds to step S17, where the digitizer microprocessor 71 performs a survey process for an RFID tag 213. The processing then proceeds to step S19 where the digitizer microprocessor 71 determines if an RFID tag 213 has been detected. If it has not, then the processing proceeds to step S21 where the digitizer microprocessor 71 determines if the main control module 167 should end. If it is to end, then the processing ends, otherwise the processing returns to step S1 where the surveying process starts again.
If at step S3, the digitizer microprocessor 71 detects the presence of a type A stylus 7-1 then the processing proceeds to step S23, where the digitizer microprocessor 71 controls the digitizer electronics 13 to perform a capture process for the type A stylus 7-1. This capture process is defined by the stylus capture process description data 227 forming part of the stylus configuration data for the type A stylus 7-1. The processing then proceeds to step S25 where the digitizer microprocessor 71 determines if a type A stylus 7-1 has been captured. If it has not, then the processing returns to step S1. If a type A stylus 7-1 has been captured, then the processing proceeds from step S25 to step S27, where the digitizer microprocessor 71 causes the digitizer electronics to perform a continuous sensing process for the type A stylus 7-1. The processing steps performed in this step are defined by the stylus continuous sensing process description data 229 forming part of the stylus configuration data 175 for the type A stylus 7-1. The processing then proceeds to step S29 where the digitizer microprocessor 71 determines if it is synchronized with the type A stylus 7-1. If it is, then the processing returns to step S27, otherwise the processing returns to step S23 where the capture process for the type A stylus 7-1 is repeated.
As shown in FIG. 9, similar capture and continuous sensing processes are provided in respect of the type B stylus 7-3 in steps S31 to S34; similar capture and continuous sensing processes are provided in respect of the type C stylus 7-4 in steps S35 to S38; and similar capture and continuous sensing processes are provided in respect of the type D stylus 7-2 in steps S39 to S42.
If an RFID tag 213 is detected at step S19, then, at step 43, the digitizer microprocessor 71 enters an RFID tag read/write mode in which it transmits data to and receives data from the RFID tag 213 in order to perform the corresponding functions associated with the RFID tag 213. For example, the RFID tag 213 may be used as part of a security unlocking device which unlocks the tablet PC 1 so that it can be used by the user.
A description will now be given of exemplary survey, capture and continuous sensing processes for the different types of stylus 7 shown in FIG. 7.
Battery Powered Stylus
Survey Process
FIG. 10a is a flow chart illustrating the processing steps carried out by the digitizer microprocessor 71 in this embodiment, during the survey process for a battery powered stylus 7-1. As shown, in step S61, the digitizer microprocessor 71 configures the sensing circuit 19 to detect signals from a first subset (CV1 to CV17) of the conductors of digitizer winding 51, using the appropriate configuration of the multiplexers 121 shown in FIG. 5. (In the following description, the conductors of the winding 51 will sometimes be referred to as the X sensing conductors as they are arrayed along the X direction of the digitizer winding PCB 11 and the conductor loops Li will sometimes be referred to as the Y sensing conductors as they are arrayed along the Y direction of the digitizer winding PCB 11.) In step S63, the digitizer microprocessor 71 controls the sample and hold circuits 125, the switches 129 and the high speed A/D converter 127 to obtain two hundred and fifty-six samples (256 data points) of the sensor EMFs from each of the sixteen processing channels. The processing then proceeds to step S65, where the digitizer microprocessor 71 configures the sensing circuit 19 to detect signals from the remaining X sensing conductors (CV17 to CV27) adequate to cover all possible stylus 7 positions of interest.
The processing then proceeds to step S67 where the digitizer microprocessor 71 controls the sample and hold circuits 125, the switches 129 and the high speed A/D converter 127 to capture 256 samples of the EMFs from those remaining X sensing conductors.
In step S69, the digitizer microprocessor 71 processes the received samples to identify which pair of X sensing conductors has the highest differential signal level in the frequency band of interest. This frequency band information is defined in the stylus survey process description data 225 of the stylus configuration data 175 for stylus 7-1. In this embodiment, the digitizer microprocessor 71 identifies which pair of X sensing conductors has the highest differential signal level by passing the two hundred and fifty-six samples obtained for each pair of X sensing conductors, through a digital pass band filter centered on the frequency band of interest and then by identifying which pair of X sensing conductors yields the highest signal level output from the digital filter. The identified pair of X sensing conductors indicates the approximate X position of the stylus 7-1 over the digitizer winding PCB 11. For example, if the digitizer microprocessor determines at step S69 that the highest differential signal level is obtained from conductors CV8 and CV9, then this indicates that if there is a powered stylus 7-1 it is somewhere near the conductor loop formed by conductor CV8, conductor 57 and conductor CV9. As shown, in step S71, the digitizer microprocessor 71 stores data identifying the pair of X sensing conductors having the highest in-band signal level, as this approximate position information will be used later by the continuous sensing process.
The processing then proceeds to step S73 where the digitizer microprocessor 71 performs a 256 point Fast Fourier Transform (FFT) on the samples obtained from the pair of X sensing conductors identified in step S69. Then, in step S75, the digitizer microprocessor 71 processes the resulting FFT to determine if the peak of the FFT falls within a frequency range specified by the stylus configuration data 175 for the powered stylus 7-1. If it does not, then the digitizer microprocessor 71 determines that there is no powered stylus 7-1 above the writing surface 3. If, however, the peak of the FFT does fall within the frequency range specified by the stylus configuration data 175 then the processing proceeds to step S77, where the microprocessor 71 determines if the amplitude of the FFT peak is within a range specified by the stylus configuration data 175 for the powered stylus 7-1. If the amplitude is within this range, then the digitizer microprocessor 71 determines that a powered stylus 7-1 is above the writing surface 3; otherwise it determines that no powered stylus 7-1 is above the writing surface 3.
Capture Process
In this embodiment, the capture process for the powered stylus 7-1 is the same as the survey process described above, except that the digitizer microprocessor 71 configures the sensing circuit 19 to detect signals from the conductor loops L1 to L34. The scan process (step S69), therefore, determines the Y sensing conductor loop Li having the maximum signal level, which also represents the approximate Y position of the stylus 7-1 above the writing surface 3. A further description of the battery powered stylus capture process will, therefore, be omitted.
Continuous Sensing Process
FIGS. 10b and 10c are flow charts illustrating the processing steps performed by the digitizer microprocessor 71 in this embodiment, when continuously tracking the position of the battery powered stylus 7-1 above the writing surface 3. Provided the stylus 7-1 remains synchronized with the digitizer electronics 13, this process is repeated at a repetition rate defined in the stylus configuration data 175 for that stylus 7-1. As shown, the process begins at step S201 where the digitizer microprocessor 71 configures the multiplexers 121 in the sensing circuit 19 to detect the signals from the sixteen pairs of X sensing conductors closest to the previously reported maximum (consistent with any restrictions on the multiplexers 121 with regard to the pairs of X sensing conductors that can be connected at the same time through to the processing channels of the sensing circuit 19). The processing then proceeds to step S203 where the digitizer microprocessor 71 controls the sample and hold circuits 125, the switches 129 and the high speed A/D converter 127 in order to capture two hundred and fifty-six samples of the signals from the selected sixteen pairs of X sensing conductors.
The processing then proceeds to step S205 where the digitizer microprocessor 71 processes the signal samples obtained from each pair of X sensing conductors to identify which pair of X sensing conductors now has the highest signal level in the frequency band of interest. Again, this is achieved by passing the two hundred and fifty-six samples through an appropriate digital filter centered on the frequency band of interest and by identifying which pair of X sensing conductors provides the largest signal level output from that digital filter.
The processing then proceeds to step S207 where the digitizer microprocessor 71 performs a 256 point FFT on the data from the pair of X sensing conductors identified in step S205. In step S209, the digitizer microprocessor 71 processes the obtained FFT to identify the frequency and phase of the stylus signal (corresponding to the peak signal in the FFT). These quantities will be referred to as FX and PX in subsequent calculations. After step S207, the processing proceeds to step S211, where the digitizer microprocessor 71 performs an amplitude processing at the identified frequency and phase (FX and PX) on the two hundred and fifty-six data points obtained from each of the sixteen pairs of X sensing conductors. More specifically, in step S211 the digitizer microprocessor 71 calculates the following amplitude value (A(Xj)) for each of the sixteen pairs of X sensing conductors from the corresponding two hundred and fifty-six data points:




  
    A
    ⁡
    
      (
      
        X
        j
      
      )
    
  
  =
  
    
      ∑
      
        r
        =
        0
      
      255
    
    ⁢
    
      
        
          S
          ⁡
          
            (
            
              X
              j
            
            )
          
        
        r
      
      ·
      
        sin
        ⁡
        
          (
          
            
              2
              ⁢
              π
              ⁢
              
                
              
              ⁢
              
                F
                X
              
              ⁢
              
                rT
                s
              
            
            +
            
              P
              X
            
          
          )
        
      
    
  




where S(Xj)r is the rth sample of the signal induced in the jth pair of X sensing conductors out of the sixteen that are processed; and Ts is the interval between samples (i.e. one over the sampling rate of the sample and hold circuits 125). Since there are sixteen channels of samples that are processed, this results in the following vector of amplitude values:





  
    A
    X
  
  =
  
    [
    
      
        
          
            A
            ⁡
            
              (
              
                X
                1
              
              )
            
          
        
      
      
        
          
            A
            ⁡
            
              (
              
                X
                2
              
              )
            
          
        
      
      
        
          ⋮
        
      
      
        
          
            A
            ⁡
            
              (
              
                X
                16
              
              )
            
          
        
      
    
    ]
  




This vector of amplitude values is stored in step S213.
After step S211, the processing proceeds to step S215 where the digitizer microprocessor 71 repeats the above process for the sixteen pairs of Y sensing conductors (i.e. conductor loops Li shown in FIG. 2b) that are closest to the Y sensing conductor loop that yielded the maximum signal level during the capture process or during the previous iteration of the continuous sensing process. This yields another estimate of the frequency of the stylus signal and a similar vector (AY) of signal amplitudes for the sixteen Y sensing conductor loops, and these are stored in step S217.
After step S215, the processing proceeds to step S219 where the digitizer microprocessor 71 determines which pair of X sensing conductors and which Y conductor loop now have the greatest signal level, by comparing the signal amplitude values in the stored vectors AX and AY. The pair of X sensing conductors and the Y conductor loop with the greatest signal levels are then stored in step S221 as these will be used the next time this continuous sensing for the battery powered stylus 7-1 is performed.
After step S219, the processing proceeds to step S223, where the digitizer microprocessor 71 combines (in this embodiment averages) the frequency data stored in steps S209 and 5217 and determines the stylus tip pressure and other status information in accordance with the stylus configuration data 175 for the battery powered stylus 7-1. The digitizer microprocessor 71 then stores, in step S225, the determined stylus tip pressure and other status information for subsequent reporting to the operating system 21.
After step S223, the processing proceeds to step S227, where the digitizer microprocessor 71 performs a generic stylus position (x,y,z) and tilt angle calculation based on the data vectors AX and AY. This may be achieved using, for example, the approach outlined in the applicant's earlier international patent application WO 03/105072, and in particular based on the processing described with reference to FIG. 15 of that application. Alternatively, these position and tilt angle calculations can be determined using other prior art techniques such as those described in U.S. Pat. No. 5,751,229. The way in which the digitizer microprocessor 71 should calculate the position and tilt from this amplitude data is defined in the sensor model data 173 shown in FIG. 6. The processing then proceeds to step S229 where the determined position and tilt data is corrected for errors specific to the particular tablet PC installation, using the host calibration data 171 shown in FIG. 6.
Up to this point, the position detection algorithm performed by the digitizer microprocessor 71 is based on a specific reference stylus design with known characteristics, such as the position of its effective magnetic center MC(ref) illustrated at the top of FIG. 10d. As is well known to those skilled in the art, the magnetic center (MC) is the position of a point magnetic dipole which most nearly approximates the magnetic field generated by the magnetic components in the stylus 7. The generic position calculation based on this reference stylus 7, therefore, estimates the stylus tip 195 position to be the point P(ref) shown in FIG. 10d. Therefore, after step S229, the processing proceeds to step S231, where the digitizer microprocessor 71 performs a further correction to the position and angle data for errors specific to the particular stylus (in this case the battery powered stylus 7-1) being used. The digitizer microprocessor determines the appropriate corrections using the stylus magnetic variables data 233 forming part of the stylus configuration data 175 for the battery powered stylus 7-1. This stylus magnetic variables data includes, among other things, the position of the effective magnetic center (MC(powered stylus)) of the stylus 7-1, which the digitizer microprocessor 71 uses together with the measured tilt angle and direction to adjust the calculated stylus X-Y position and the stylus height (Z). The corrected position and tilt data is then stored in step S233 for subsequent reporting to the operating system 21.
Following step S231, the processing proceeds to step S235, where the digitizer microprocessor 71 checks to see if the determined amplitude and frequency data are within predetermined limits defined in the stylus configuration data 175. If they are, then the current continuous sensing operation ends with an indication that the stylus 7-1 is synchronized, otherwise the current continuous sensing process ends with an indication that the stylus 7-1 is not synchronized. Although not shown in FIG. 10c, at the end of the continuous sensing process, the digitizer microprocessor 71 reports the determined stylus position and status data to the operating system 21.
Single Resonator Stylus
Survey Process
The survey process for the single resonator stylus 7-2 is similar to the survey process for the battery powered stylus 7-1 discussed above, except that the single resonator stylus 7-2 requires power from the digitizer 9 (supplied in the form of an AC magnetic field at approximately its resonant frequency). In general, it is not possible to power the resonator stylus 7-2 across all possible positions above the writing surface 3 with excitation current applied to a single set of sensor board conductors (e.g. with the excitation signal being applied between conductors CV5 and CV27). It is therefore usual to survey (and capture) the resonator stylus 7-2 by successively powering selected excitation conductors in turn, adequate to cover the entire area of the writing surface 3. Similarly, in general, it is not possible to detect signals from the resonator stylus 7-2 across all possible positions above the writing surface 3, as the sensing circuit usually has fewer processing channels than there are sensing conductors on the PCB 11. It is therefore usual to successively detect signals from selected sensor board conductors in turn. Therefore, in this embodiment, the digitizer 9 is arranged to repeat the survey process for the resonator stylus 7-2 across a number (in this case three) of different portions of the writing surface 3.
FIG. 11a is a flow chart illustrating the resonator stylus 7-2 survey process that is used in this embodiment. As shown, the survey process starts at step S91, where the digitizer microprocessor 71 configures the excitation circuit 17 to apply the excitation signal across conductors CV5 and CV11. Then, in step S93, the digitizer microprocessor 71 configures the multiplexers 121 in the sensing circuit 19 to detect the signals from conductors CV1 to CV17. The processing then proceeds to step S95, where the digitizer microprocessor 71 processes the signals obtained from the conductors CV1 to CV17 in a resonator frequency capture process (more details of which will be described below), to determine if a resonator stylus 7-2 is above the portion of the writing surface 3 corresponding to conductors CV1 to CV17.
If at step S97, the digitizer microprocessor 71 determines that a resonator stylus 7-2 has been detected, then the survey process ends with an indication that a resonator stylus 7-2 has been detected. Otherwise, a similar processing is performed in steps S98 to S101 when the excitation circuit 17 is configured to apply the excitation signal to conductors CV13 and CV19 and when the sensing circuit 19 is arranged to detect the signals from conductors CV5 to CV21. If no detection is made at step S101, then in steps S103 to S106, a similar processing is carried out when the excitation circuit is configured to apply the excitation signal across conductors CV21 and CV27 and when the sensing circuit 19 is configured to detect signals from conductors CV13 to CV27. If a resonator stylus 7-2 is still not detected in step S106, then the digitizer microprocessor 71 makes a determination that a resonator stylus 7-2 is not present and the survey process ends. If a resonator stylus 7-2 is detected at any of steps S97, 5101 or 5106, then the survey process ends with an indication that a resonator stylus 7-2 has been detected.
FIG. 11b is a flow chart illustrating in more detail the processing steps performed by the digitizer microprocessor 71 in the resonator frequency capture process performed in steps S95, S100 and S105 shown in FIG. 11a. Since the resonant frequency of the stylus 7-2 is unknown, the digitizer microprocessor 71 must search for the stylus 7-2 across the range of possible resonant frequencies defined by the stylus configuration data 175. In general, it will be necessary to search for the stylus 7-2 with a number of excitation bursts across the frequency range of interest (Flow to Fhigh) which is defined in the stylus configuration data 175. FIG. 11c illustrates how the detected signal level from a representative sensing circuit channel varies with resonator frequency for three different excitation bursts. The number of excitation bursts required depends on the minimum acceptable detected signal level (Th) and the frequency width of each burst. For the survey and subsequent capture processes, it is desirable to minimize the power and time required to detect the stylus 7-2. It is therefore desirable that each excitation burst of FIG. 11b covers a broad range of frequencies. This breadth may be achieved by “chirping” the excitation frequency between two or more values during excitation or by employing a small number of excitation cycles. Unfortunately, both of these techniques result in relatively low signal levels returned from the stylus 7. It is therefore better to achieve broad coverage not by using these techniques, but by transmitting more than one excitation burst spread out over the frequency band of interest, as shown in FIG. 11c. 
Returning to FIG. 11b, in step S121, the digitizer microprocessor 71 causes the excitation circuit 17 to apply a first burst of excitation signal within a first frequency band across the selected pair of excitation conductors. Then, in step S123, the digitizer microprocessor 71 controls the sample and hold circuits 125, the switches 129 and the high speed A/D converter 127 to capture two hundred and fifty-six samples from each of the sixteen selected pairs of X sensing conductors. The processing then proceeds to step S125 where the digitizer microprocessor 71 calculates an FFT of the two hundred and fifty-six samples obtained from each pair of X sensing conductors, from which it determines the amplitude and frequency of the peak sensed signal (i.e. the amplitude and frequency of the largest FFT bin from all of the FFT outputs) within the first frequency band. The digitizer microprocessor stores this determined frequency as the approximate resonator frequency of the stylus 7-2 in step S127.
After step S125, the digitizer microprocessor 71 compares, in step S129, the determined amplitude with a threshold value defined in the stylus configuration data 175. If the determined amplitude is above the threshold, then the digitizer microprocessor 71 determines that a resonator stylus 7-2 is present above the writing surface 3 and the survey process ends. Otherwise, the processing proceeds to step S131 where a similar process is performed for excitation bursts centered in the second and third excitation frequency bands discussed above. In step S133, the digitizer microprocessor compares the amplitude obtained for the second/third excitation frequency bursts with the threshold and if it is above the threshold, then the survey process ends with an indication that a resonator stylus 7-2 has been detected. Otherwise, the survey process ends with an indication that a resonator stylus 7-2 has not been detected.
Although not illustrated in FIG. 11b, it will be apparent to those skilled in the art that the processes performed in steps S121 to S125 are carried out in step S131 for the second and third excitation frequency bands one at a time, with the excitation in the third frequency band only being performed if a resonator stylus 7-2 is not detected in the second frequency band.
Capture Process
The capture process for the single resonator stylus 7-2 is designed to establish the resonator frequency and position of the stylus 7-2 with precision adequate to enable the continuous sensing process to operate successfully. Its outputs are an optimum excitation configuration for the excitation circuit 17, an optimum X and Y detection configuration for the sensing circuit 19 and an optimum excitation frequency.
As discussed above, the coil select switching circuitry 93 can be set to drive current into a large number of different winding configurations. The optimum excitation configuration is the one that powers the stylus 7-2 the most efficiently. The optimum excitation configuration depends upon the position of the stylus 7-2 and the angle at which the stylus 7-2 is held relative to the writing surface 3.
The optimum X detection configuration is the set of multiplexer control signals that yields the maximum status and position information from the stylus 7-1. It is established by selecting the pair of X sensing conductors with the greatest differential signal level and its nearest neighbours, consistent with any multiplexer control restrictions. The optimum Y detection configuration is calculated in an equivalent way.
The capture process used in this embodiment for the resonant stylus 7-2 is illustrated in FIG. 11d and is performed after a resonant stylus 7-2 has been detected during the survey process described above. As shown, the digitizer microprocessor 71 initially retains, in step S151, the configurations of the excitation circuit 17 and the sensing circuit 19 from the survey process. In step S153, the digitizer microprocessor 71 sets the excitation frequency in accordance with the approximate resonator frequency determined during the survey process (which was stored in step S127) and then controls the excitation circuit 17 to apply the excitation signal to the appropriate sensor board connections defined by the excitation configuration. The excitation frequency may be set equal to the determined resonator frequency or it may be set to one of a small number of possible frequencies, or to a frequency that the excitation circuit can generate with particular accuracy and purity. After step S153, the processing proceeds to step S155 where the digitizer microprocessor 71 configures the sensing circuit 19 to detect the signals from the X sensing conductors defined by the current detection configuration. In step S155, the digitizer microprocessor 71 also processes the sample values obtained from the sensing circuit 19 to determine a new estimate of the stylus frequency and to determine the above described amplitude vector AX in accordance with processing performed in steps S203 to S211 described above.
The processing then proceeds to step S157, where the digitizer microprocessor 71 configures the multiplexers 121 in the sensing circuit 19 to connect conductor loops L1 to L16 to the sixteen processing channels of the sensing circuit 19. At step S157, the digitizer microprocessor 71 also obtains the signal samples from those conductor loops (after an appropriate excitation burst has been applied to the excitation conductors defined by the current excitation configuration) and processes them to determine a new estimate of the resonant frequency of the stylus 7-2 and a vector of amplitude data (AY) for those conductor loops L1 to L16. The processing then proceeds to step S159 where a similar process is performed for conductor loops L9 to L24. The processing then proceeds to step S161 where a similar process is performed for conductor loops L21 to L34. The signals from overlapping groups of the conductor loops are processed as readings from separate excitations with non-overlapping groups may not be easily combined as there may not be a common phase reference between the excitation bursts. The particular groups of conductor loops used above were chosen based on the constraints of the multiplexers 121.
In step S163 the digitizer microprocessor 71 processes the amplitude data obtained in steps S155 to S161 to determine whether or not a resonator stylus 7-2 has been detected. In this embodiment, it does this by comparing the determined amplitude values and the determined frequency estimates with predetermined threshold values defined in the stylus configuration data 175. If the resonator stylus 7-2 is not detected, then the capture process outputs a determination that the stylus 7-2 has not been captured. If the digitizer microprocessor 71 determines that a resonator stylus 7-2 has been detected, then the processing proceeds to step S165 where the digitizer microprocessor 71 processes the X and Y amplitude data to determine the optimum excitation configuration for the current position and tilt of the stylus 7-2.
The technique used in this embodiment to determine the optimum excitation configuration will now be described. The digitizer microprocessor 71 stores a table of the different excitation configurations that can be used. This table identifies the name of the excitation configuration and the conductors (CV) of the digitizer winding 51 that will be connected to the excitation circuit 17 for that excitation configuration. At this point in the capture process, the digitizer microprocessor 71 has established the above described amplitude vectors AX and AY for the X sensing conductors and the Y sensing conductors, respectively. As those skilled in the art will appreciate, the amplitude values in these vectors are proportional to the coupling factors between the corresponding X and Y sensing conductors and the resonator stylus 7-2. Since the conductors that will be used for excitation have a fixed positional relationship with the conductors that are connected to the sensing circuit 19 (and indeed in some cases they are the same conductors), the digitizer microprocessor 71 uses different combinations of these amplitude values to determine approximate couplings between the resonator stylus 7-2 and the conductors of a number of candidate excitation configurations (i.e. those most likely to be closest to the optimum configuration). The determined couplings for the different excitation configurations represent the efficiency with which each candidate excitation configuration will couple to and therefore power the resonant stylus 7-2. To give an example, for an excitation configuration in which the excitation circuit 17 is connected to conductors CV1 and CV5, the digitizer microprocessor 71 calculates an efficiency figure for that excitation configuration from the following equation:

Eff(EC1)=D(EC1)·[A(CV1−CV2)+A(CV2−CV3)+A(CV3−CV4)+A(CV4−CV5)]

where A(CV1−CV2) is the amplitude value obtained from the signals from the pair of X sensing conductors CV1 and CV2 etc; and D(EC1) is a factor established during digitizer design which corrects for the relative efficiency of this excitation configuration (EC1), which takes into account, among other things, the effective conductor path resistance for this excitation configuration.

In determining an efficiency figure for each excitation configuration, the digitizer microprocessor 71 will calculate a different combination of the amplitude values depending on the relative position between the coil formed by the excitation configuration and the coils that provide the sensed amplitude values. For some excitation configurations, this may simply be a weighted value of one amplitude value.
Having established an efficiency figure for each candidate excitation configuration, the digitizer microprocessor 71 then selects the excitation configuration having the greatest efficiency figure as the optimum excitation configuration.
In step S165, the digitizer microprocessor 71 also uses the X and Y amplitude data to identify the optimum X and Y detection configurations (corresponding to the X and Y conductors closest to those that yielded the largest amplitude data). In step S165, the digitizer microprocessor 71 also stores the last resonator frequency estimate (determined in step S161) as the optimum excitation frequency. The capture process then ends with an indication that the resonator stylus 7-2 has been captured.
Continuous Sensing Process
Like the powered stylus 7-1, the single resonator stylus 7-2 returns a frequency to the digitizer 9 whose value indicates stylus status, such as the state of the side switch 199 and the pressure applied to the stylus tip 195. However, the single resonator stylus 7-2 requires power from the digitizer 9, supplied in the form of an AC magnetic field at approximately its resonant frequency. Therefore, other than the provision of an appropriate burst of excitation signal immediately before signal detection, the continuous sensing operation for the single resonator stylus 7-2 proceeds in a similar manner to the continuous sensing operation for the battery powered stylus 7-1.
FIG. 11e is a simplified flow chart illustrating the processing steps performed during the continuous sensing process for the single resonator stylus 7-2. As shown, in step S251, the digitizer microprocessor 71 configures the excitation circuit 17 for the latest optimum excitation configuration determined either in the previous continuous sensing processing step or from the previous capture process discussed above. The processing then proceeds to step S253 where the digitizer microprocessor 71 configures the sensing circuit 19 for the latest optimum X detection configuration which was again determined from the previous continuous sensing process step or from the previous capture process discussed above. The processing then proceeds to step S255 where the digitizer microprocessor 71 causes an excitation signal to be applied to the optimum excitation configuration at a frequency matching the latest estimate for the resonant frequency of the stylus 7-2. Again, this latest estimate of the resonator frequency is obtained either from the previous continuous sensing process step or from the previous capture process described above.
The processing then proceeds to step S257 where the digitizer microprocessor 71 performs signal detection of the signals from the optimum X detection configuration to yield the above described vector of amplitude values AX and an updated estimate of the resonator frequency. The steps performed in step S257 are similar to those performed in steps S203 to 5211 for the battery powered stylus 7-1 discussed above. In step S259, the digitizer microprocessor 71 checks if the determined amplitude levels and the updated resonator frequency estimate are within predetermined thresholds defined in the stylus configuration data 175 for the single resonator stylus 7-2. If they are not, then the continuous processing ends with an indication that the stylus 7-2 has not been synchronized.
If the amplitude levels and the updated resonator frequency estimate are within the thresholds, then the processing proceeds to step S261, where the digitizer microprocessor 71 configures the sensing circuit 19 for the latest optimum Y detection configuration which is again determined either from the previous continuous sensing process step or from the capture process described above. The processing then proceeds to step S263, where the digitizer microprocessor 71 causes another burst of excitation frequency (at the updated resonator frequency) to be applied to the current optimum excitation configuration. The processing then proceeds to step S265, where the digitizer microprocessor 71 performs a similar signal processing to the processing performed in step S257 described above, in order to determine the vector of Y amplitude values (AY) and a further updated estimate of the resonator frequency. The digitizer microprocessor 71 then compares in step S267, the determined vector of amplitude levels (AX) and the updated resonator frequency with the thresholds defined in the stylus configuration data 175. If the amplitude levels and the updated resonator frequency are not within those thresholds, then the continuous processing ends with an indication that the stylus 7-2 is not synchronized.
Provided the signal levels (AY) and the updated resonator frequency are within the thresholds, then the processing proceeds to step S269, where the digitizer microprocessor 71 processes the X and Y amplitude data (i.e. vectors AX and AY) to yield the stylus 7-2 position and tilt. In this embodiment, the processing performed in step S269 is similar to the processing performed in steps S227 to S231 discussed above for the battery powered stylus 7-1. The processing then proceeds to step S271, where the digitizer microprocessor 71 processes the frequency data obtained from the stylus 7-2 to yield the status of the side switch 199 and the pressure applied to the tip 195 of the stylus 7-2. The processing performed in step S271 is similar to the processing performed in step S223 described above for the battery powered stylus 7-1. Once the digitizer microprocessor 71 has determined the current position, tilt and status of the stylus 7-2, it reports these to the operating system 21 in step S273. The processing then proceeds to step S275 where the digitizer microprocessor 71 processes the X and Y amplitude data (AX and AY) to yield new optimum configurations such as the optimum excitation and detection configurations and the optimum excitation frequency, for use in the next continuous sensing processing. The current continuous sensing processing then ends together with an indication that the stylus 7-2 is synchronized.
Stylus with Processing Electronics
Survey Process
The survey process for the stylus 7-3 with processing electronics is the same as the survey process described above for the single resonator stylus 7-2. A further description is, therefore, not necessary.
Capture Process
The capture process for the stylus 7-3 with processing electronics will now be described with reference to FIG. 12a. As shown, in step S171, the capture process starts with the capture process shown in FIG. 11d for the resonant stylus 7-2. Assuming that the resonator 205 has been detected in this processing step, the processing then proceeds to step S173, where the digitizer microprocessor 71 configures the excitation circuit 17 for optimum excitation and configures the sensing circuit 19 to sense on the optimum X sensing conductors. The processing then proceeds to step S175 where the digitizer microprocessor 71 controls the excitation circuit 17 to apply a long burst of excitation current to the determined optimum excitation conductors at the determined optimum excitation frequency. The processing then proceeds to step S177 where the digitizer microprocessor 71 processes the signals from the sensing circuit 19 to detect the waveform emitted by the stylus 7-3. The processing then proceeds to step S179, where, provided the amplitude and frequency of the detected waveform are within predetermined thresholds, the digitizer microprocessor 71 decodes the detected waveform according to the algorithm specified in the stylus configuration data 175 for stylus 7-3, to yield the stylus status information and any other data stored in the stylus 7-3.
The processing then proceeds to step S181, where the digitizer microprocessor 71 checks to see if the data that is detected conforms to a specified format, as defined by the stylus configuration data 175. If it does not, then the capture process ends and the capture process outputs that the processing electronics stylus 7-3 has not been synchronized. If the detected data does conform to the specified format, then the processing proceeds from step S181 to step S183, where the digitizer microprocessor 71 reports the stylus type, its status and the data received to the operating system 21.
The processing then proceeds to step S185 where the digitizer microprocessor 71 checks to see if the operating system 21 wants to send data to the stylus 7-3. If it does not, then the capture process ends with an indication that the stylus 7-3 has been synchronized with the digitizer 9. On the other hand, if the operating system 21 does want to transmit data to the stylus 7-3 then the processing proceeds to step S187, where the digitizer microprocessor 71 controls the excitation circuit 17 to transmit a burst of excitation signal encoded with the data to be sent to the stylus 7-3. The digitizer microprocessor 71 encodes the data onto the excitation burst in accordance with a protocol defined in the stylus calibration data 175 for stylus 7-3. The processing then proceeds to step S189 where the digitizer microprocessor 71 reports any response from the stylus 7-3 to the operating system 21 following a similar process to steps S177 and S179 discussed above. Provided the response does not fail, the capture process then ends with an indication that the stylus 7-3 has been synchronized.
Continuous Sensing Process
The continuing sensing process for the stylus 7-3 with processing electronics 191 is shown in FIG. 12b. As shown, the processing begins at step S301, where the digitizer microprocessor 71 configures the excitation circuit 17 for the latest optimum excitation configuration. The processing then proceeds to step S303 where the digitizer microprocessor 71 causes a long burst of excitation signal to be applied to the optimum excitation configuration at the optimum excitation frequency. In this embodiment, the duration of the burst of excitation signal is chosen so that it is adequate to power the stylus 7-3 throughout the remainder of the current continuous sensing process step. Additionally, in this embodiment, if any data is to be transmitted to the stylus 7-3 from the operating system 21 then this data is encoded onto the excitation burst. A storage capacitor (not shown) is provided in the stylus 7-3 in order to retain the energy for the remainder of the continuous sensing process after the excitation burst has ended.
The processing then proceeds to step S305 where the digitizer microprocessor 71 configures the sensing circuit 19 so that it can detect the waveform of the signals induced in the optimum X sensing conductors. Subsequently, in step S307, the digitizer microprocessor configures the sensing circuit 19 to detect the waveform induced in the optimum Y sensing conductor loops. The processing then proceeds to step S309, where, provided the amplitude and frequency of the detected waveform are within predetermined thresholds, the digitizer microprocessor 71 decodes the detected waveform according to the algorithm specified in the stylus calibration data 175 for this stylus 7-3, to yield the stylus status information and any data stored in the stylus 7-3.
In step S311, the digitizer microprocessor 71 determines whether or not the detected data conforms to a specified format, as defined in the stylus configuration data 175 for this stylus 7-3. If there is any error correction/detection in the data transfer protocol used, then detected errors here may also indicate desynchronization. If the data does not conform to the specified format or if the data transfer includes errors, then the continuous sensing process ends with an indication that the stylus 7-3 is not synchronized. If the detected data does conform to the specified format and does not include errors, then the processing proceeds to step S313 where the digitizer microprocessor 71 carries out an amplitude detection algorithm on the X and Y data to determine the above described amplitude vectors (AX and AY). The particular amplitude detection algorithm used will be slightly more complex than the algorithm used for the battery powered stylus 7-1 due to the coded nature of the data that is returned. However, the stylus configuration data 175 for this stylus 7-3 includes data specifying the amplitude detection algorithm to be used.
The processing then proceeds to step S315 where the digitizer microprocessor 71 processes the X and Y amplitude vectors to yield the stylus position and tilt relative to the writing surface 3. The processing then proceeds to step S317 where the digitizer microprocessor 71 reports the stylus status, position, tilt and data to the operating system 21. The current cycle of the continuous sensing process then ends together with an indication that the stylus 7-3 is synchronized.
Two Resonator Stylus
Survey and Capture Processes
The capture and survey processes for the two resonator stylus 7-4 shown in FIG. 7d are the same as the survey and capture processes for the single resonator stylus 7-2, except that there are now two frequencies of interest in different bands. The first resonator frequency is detected as above, while the detection of the second resonator frequency is simplified because the same excitation and detection conductor settings can be used. It will be apparent to those skilled in the art how to modify the single resonator stylus survey and capture processes discussed above for the two resonator stylus 7-3. A further description will therefore be omitted.
Continuous Sensing Process
FIG. 13a is a flow chart illustrating the main processing steps performed in the continuous sensing process for the two resonator stylus 7-4 shown in FIG. 7d. As shown, the continuous sensing process begins at step S331, where the digitizer microprocessor 71 configures the excitation circuit for the latest optimum excitation configuration. The processing then proceeds to step S333, where the digitizer microprocessor 71 configures the sensing circuit 19 for the latest optimum X detection configuration. The processing then proceeds to step S335 where the digitizer microprocessor 71 causes the excitation circuit 17 to excite the optimum excitation configuration at a frequency matching the latest estimate for the resonant frequency F1 of the first resonator 209. In step S337 the digitizer microprocessor 71 processes the signals from the optimum X detection configuration to yield the vector of X amplitudes (AX) and an updated estimate of the resonator frequency F1. At step S337, the digitizer microprocessor also determines the Q-factor (Q1) for the first resonator 209.
In this embodiment, the digitizer microprocessor 71 estimates the resonant frequency and Q factor data by fitting the FFT data obtained for the pair of X sensing conductors having the maximum signal level, to an appropriate fitting function. FIG. 13b is a plot illustrating the way in which the FFT amplitudes will vary with frequency around a peak corresponding to the resonant frequency. FIG. 13b also illustrates the function G(f,Q) which is used to fit the plotted FFT data points. In this embodiment, the following function G(f,Q) is used:




  
    G
    ⁡
    
      (
      
        f
        ,
        Q
      
      )
    
  
  =
  
    
      
        A
        0
      
      ⁡
      
        (
        
          f
          
            f
            res
          
        
        )
      
    
    
      
        
          
            (
            
              1
              -
              
                
                  (
                  
                    f
                    
                      f
                      res
                    
                  
                  )
                
                2
              
            
            )
          
          2
        
        +
        
          
            (
            
              
                (
                
                  f
                  
                    f
                    res
                  
                
                )
              
              ⁢
              
                1
                Q
              
            
            )
          
          2
        
      
    
  




where A0 is an arbitrary amplitude constant which is included in the fitting process. Therefore, given the FFT data points obtained for the X channel having the largest signal level, the digitizer microprocessor 71 fits these FFT data points to this function to obtain the best fit estimate of the resonant frequency (F1) and the Q-factor (Q0 of the first resonator 209.

In step S339, the digitizer microprocessor 71 excites the optimum excitation configuration with an excitation signal having a frequency matching the latest estimate for the resonant frequency (F2) of the second resonator 211. The processing then proceeds to step S341 where the digitizer microprocessor 71 processes the signals induced in the optimum X detection configuration to yield a new estimate of the resonant frequency F2 and an estimate of the Q factor (Q2) for the second resonator 211. The processing performed in step S341 is similar to the processing performed in step S337 discussed above, except the microprocessor 71 does not determine the vector of amplitude values for the second resonator 211.
In step S343, the digitizer microprocessor 71 determines whether or not the amplitude levels and the estimates of the resonant frequencies are within predefined thresholds defined in the stylus calibration data 175 for the two resonator stylus 7-4. If they are not within these thresholds, then the continuous sensing process ends with an indication that the stylus 7-4 is not synchronized. Otherwise, the processing continues to step S345 where the digitizer microprocessor 71 configures the sensing circuit 19 for the latest optimum Y detection configuration. In steps 347 and S349 the digitizer microprocessor performs a similar process to steps S335 and S337 discussed above, to obtain the vector of Y amplitudes (AY) and a new updated estimate of the resonant frequency F1.
In step S351 the digitizer microprocessor 71 checks if the levels within the amplitude vector AY and the new resonator frequency estimate F1 are still within the thresholds. If they are not, then the continuous sensing process ends with an indication that the stylus 7-4 is not synchronized. If these values are within the thresholds, then the processing continues to step S353, where the digitizer microprocessor 71 processes the X and Y amplitude vectors (AX and AY) to determine the stylus position and tilt. The processing then proceeds to step S355 where the digitizer microprocessor 71 processes the Q factor data determined in steps S337 and S341 to yield the status of the stylus 7-4 and in particular the status of the side switch 199 and the pressure applied to the tip 195 of the stylus 7-4. The digitizer microprocessor 71 then reports, in step S357, the determined position, tilt and status to the operating system 21. Finally, in step S359, the digitizer microprocessor 71 processes the X and Y amplitude data to yield new optimum excitation and detection configurations. The continuous sensing process then ends with an indication that the stylus 7-4 is synchronized.
RFID Tag
The process for detecting and communicating with the RFID tag 213 is similar to that used for the stylus with processing electronics discussed above, except that position calculation may be omitted if desired. Alternatively, the RFID tag's position may be used to relay the user's gestures to the host system for use by applications making use of the RFID tag data.
The digitizer microprocessor 71 may configure the sensing circuit 19 to detect signals from a single pair of sensing conductors with adequate signal level, so that the full sample rate of the A/D converter 127 is available to detect the coded signal. This approach is appropriate when the signalling frequency of the RFID tag is an appreciable fraction of the A/D sample rate.
Typical applications for the RFID tag include applications such as inventory control and monitoring, security access, digital signature and bill payment.
SUMMARY AND ADVANTAGES
A tablet PC 1 has been described above having an embedded X-Y digitizer 9. The digitizer 9 included a digitizer winding PCB 11 for sensing magnetic fields generated by a stylus 7 that is moved over a writing surface 3 of the tablet PC 1. The PCB geometries (line widths, gaps and via sizes) were all designed to enable manufacture of the PCB 11 at low cost and high yield. This was achieved by using non-overlapping single turn windings. Although not described above, the PCB 11 is preferably fitted with a screen to the rear (i.e. away from the display 5), and the connection pads 41 are preferably provided on a flexible portion of the circuit board 11 which can be folded back behind the screen to connect with the digitizer electronics 13. This screen preferably includes a magnetically permeable material such as mumetal or spin melt ribbon. The screen is preferably laminated with a non-permeable conductive material such as copper or aluminium foil to the rear, for repelling magnetic fields from below, thereby improving the immunity of the digitizer windings from spurious emissions. This non-permeable layer also minimizes the distorting effects of magnetic materials placed behind the sensor board 11.
As a result of the use of non-overlapping single turn digitizer windings on the PCB 11, the excitation circuit 17 is specially designed for driving low impedance loads. In particular, the excitation circuit 17 is capable of driving a relatively large AC current at low excitation voltages, while maintaining high efficiency and with low spurious emissions across a broad range of operating frequencies. This broad range of frequencies enables the system to power the stylus 7 across a broad frequency range at high efficiency by matching its resonant frequency. It also enables the system to power a variety of electronic styluses 7 having different operating frequencies.
Finally, the digitizer electronics were arranged to be able to power and to detect the signals from a number of different types of stylus 7. The data necessary for allowing the digitizer electronics 13 to be able to distinguish the different types of stylus 7 is programmed into the digitizer electronics 13 in advance as the stylus configuration data 175. Further, since new stylus configuration data 175 can be downloaded into the digitizer electronics 13 after manufacture, the tablet PC 1 has the advantage that it can be adapted to future designs of the different types of stylus 7 and to future types of stylus 7.
Modifications and Alternative Embodiments
A detailed description has been given above of a main embodiment illustrating the various novel features of the digitizer 9. As those skilled in the art will appreciate, various modifications can be made to the above system while achieving many of the advantages described above. A number of these modifications and alternatives will now be described.
In the above embodiment, a comb type winding 51 and an array of non-overlapping conductor loops Li were provided for position sensing. The advantage of using the combination of a comb type winding 51 and the array of conductor loops Li is that the connections from these windings to the digitizer electronics 13 can be made at one side of the PCB 11 (as illustrated in FIG. 2d). However, as those skilled in the art will appreciate, it is not essential to employ this combination of digitizer windings. FIG. 14a schematically illustrates an alternative arrangement of digitizer windings in which two comb type windings 255 and 257 are provided, one extending in the X direction and the other extending in the Y direction. As a result, and as shown in FIG. 14a, the connections from the two comb windings 255 and 257 are provided at two sides of the PCB 11. However, if these connections are provided on flexible portions of the circuit board 11, then, as shown in FIG. 14b, they can be folded behind the active area of the digitizer windings to connect to a digitizer controller PCB 259 (carrying the digitizer electronics 13) located underneath the PCB 11. Similarly, it is not essential to use any comb type winding with the new excitation circuit and the new processing circuitry described above. For example, the new processing circuitry discussed above can be used with the prior art type loop coils described in U.S. Pat. No. 4,878,553.
In the main embodiment described above, the connections to adjacent conductor loops Li shared a common return path which was also one of the X sensing conductors of the comb winding 51. This arrangement offers the advantage of minimizing the number of connections back to the digitizer electronics 13. However, as those skilled in the art will appreciate, a common return path that is not also one of the X sensing conductors may be provided. Alternatively, separate connections may be provided to each of the conductor loops Li. In this case, the connections may be provided by separate wires arranged, for example, in a twisted pair back to the digitizer electronics 13. Alternatively, where the connections are also provided as conductors on the PCB 11, a similar effect to the twisted pair can be achieved by using both layers of the PCB 11 and by crossing the conductor tracks over each other as they extend back to the digitizer electronics 13.
In the above embodiment, the excitation circuit 17 was arranged to excite only the comb type winding 51. As those skilled in the art will appreciate, it is possible to excite using both the X and the Y digitizer windings. In such an embodiment, more complex processing would be carried out to determine the optimum excitation and detection configurations in view of the greater variety of possible excitation windings that can be energized. In this case, an optimum configuration map may be pre-stored in the digitizer 9 which defines the optimum excitation configuration for any given position of the stylus 7 over the writing surface 3. Alternatively, the optimum configuration may be determined dynamically from the amplitudes of the signals induced in the selected sensor windings, in the manner described above.
In the above embodiment, the digitizer windings used for Y position sensing comprised an array of non-overlapping conductor loops Li. As those skilled in the art will appreciate, it is not essential to use such conductor loops. FIG. 15 illustrates an example of an alternative array of more complex digitizer windings that can be used. As shown, the Y digitizer windings include an array of non-overlapping digitizer windings W1 to W10, which each comprise three sub-loops which are labelled EH1 to EH30. Each of the separate Y digitizer windings Wi has four connections back to the digitizer electronics 13. By suitable arrangement of the multiplexers in the sensing circuit 19, the digitizer electronics 13 can measure the EMF induced in each of the sub-loops EH1 to EH30, from which it can determine the approximate Y position of the stylus 7 above the writing surface 3. For example, referring to FIG. 15, the EMF induced in loop EH1 is obtained by a differential measurement of the EMFs obtained at conductors CV3B and CV3A; the EMF induced in loop EH2 is obtained by a differential measurement of the EMFs obtained at conductors CV3A and CV3; and the EMF induced in loop EH3 is obtained by a differential measurement of the EMFs obtained at conductors CV3C and CV3B.
In the above embodiments, the digitizer windings were formed from conductor patterns on a printed circuit board. As those in the art will appreciate, the digitizer windings may be manufactured from any appropriate technology such as with discrete wires, conductors punched from sheet material, printed inks etc. Additionally, if the digitizer windings are made from transparent conductor, then they may be placed above (or partly above and partly under) the display 5.
In the above embodiment, the density of the X sensing conductors and the density of the Y sensing conductors varied across the measurement area of the digitizer 9. As those skilled in the art will appreciate, the same variation of the sensing conductors can be achieved with different types of digitizer windings, such as with the loop coil windings described in U.S. Pat. No. 4,878,553.
In the above embodiments, the digitizer microprocessor 71 performed the processing of the stylus signals to detect the stylus position and status. Some or all of these processing operations may alternatively be performed by the host system's processor.
In the above embodiment, the digitizer electronics 13 scans and captures styluses 7 in turn according to the process illustrated in FIG. 9 and then performs continuous measurement on one stylus 7 at a time. As an alternative, the system could be arranged to regularly scan for all types of stylus 7, for example in periods of user inactivity, and to interleave continuous sensing processes for each type of stylus 7 that is detected, yielding a system that can track multiple styluses 7 simultaneously.
In the above embodiments, for those styluses 7 which need to be powered by the digitizer 9, the digitizer 9 was arranged to transmit a burst of excitation signal and then to process the signals obtained in the digitizer windings. In an alternative embodiment, the excitation and detection may be performed at the same time. This is facilitated in the above embodiment by the differential nature of the sensing circuit 19 which removes any direct coupling between the excitation windings and the sensor windings. Alternatively, for the stylus with processing electronics shown in FIG. 7c, excitation and detection may be performed at the same time by, for example, causing the stylus 7-3 to transmit a response signal back to the digitizer 9 in a different frequency band to the excitation frequency.
In the above embodiment, a calibration procedure was described for determining appropriate values for tune_A and tune_B. As those skilled in the art will appreciate, there are other ways to determine tune_A and tune_B values. For instance, the system could incorporate a mathematical model of the effect of changing excitation configuration and frequency, and choose tune_A and tune_B to maximize the output signal. Or there could be an ad hoc formula estimating the desired capacitance in the excitation circuit, and tune_A and tune_B could be chosen to approximate that capacitance.
In the embodiments described above, the sensing circuit 19 digitized the EMFs induced in the digitizer windings and the digitizer microprocessor 71 performed FFT calculations on the data to detect pen frequency, etc. As those skilled in the art will appreciate, other techniques can be employed. For example, the processing techniques described in the applicant's earlier international patent application WO 03/075213, the contents of which are incorporated herein by reference, could be used.
In the above embodiment, the signals from the digitizer windings were passed through sixteen parallel processing channels of the sensing circuit 19. Since those processing channels may have slightly different gain and phase responses, the digitizer preferably includes a calibration function in which a differential calibration reference signal is switched to all processing channels. The digitizer microprocessor 71 can then calculate the relative amplitudes and phases of the signal detected in each channel and use them to correct signal amplitudes for gain and phase errors suffered during normal operation. This may be achieved, for example, by changing the amplitude measure that is calculated to:




  
    A
    ⁡
    
      (
      
        X
        j
      
      )
    
  
  =
  
    
      G
      j
    
    ·
    
      
        ∑
        
          r
          =
          0
        
        255
      
      ⁢
      
        
          
            S
            ⁡
            
              (
              
                X
                j
              
              )
            
          
          r
        
        ·
        
          sin
          ⁡
          
            (
            
              
                2
                ⁢
                π
                ⁢
                
                  
                
                ⁢
                
                  F
                  X
                
                ⁢
                
                  rT
                  s
                
              
              +
              
                P
                X
              
              +
              
                P
                j
              
            
            )
          
        
      
    
  




where Gj is the gain correction for the jth processing channel and Pj is the phase correction for the jth processing channel. As will be apparent to those skilled in the art, the sine function above may be replaced with a complex exponential and exp(Pj) factored out, if that is more convenient computationally.

In the above embodiments, the sensing circuit 19 included sixteen channels of filters and sample and hold circuits. As those skilled in the art will appreciate, any number (greater or smaller) of channels may be provided with multiplexing being used as appropriate to detect all sensor signals of interest. Further, as an alternative to filtering and sampling each signal of interest, the processing channels of the sensing circuit 19 may be arranged to, for example, mix the sensor signals of interest with in-phase and quadrature phase versions of the excitation signal, with the outputs from the mixers either being low pass filtered to remove the high frequency components from the mixed signals or being integrated over a predetermined period. The digitizer microprocessor 71 can then determine the position and frequency of the stylus from the filtered or integrated I and Q signals. For example, in the case where the mixed signals are low pass filtered, any difference between the stylus frequency and the mixing frequency will result in a periodic signal at a frequency corresponding to the difference between the stylus frequency and the mixing frequency. Therefore, by sampling the filtered I and Q signals, the digitizer microprocessor 71 can determine the difference in frequencies between the mixing signal and the stylus signal, from which it can determine the stylus frequency. Position calculations can be carried out by using the peak amplitudes of the filtered I and Q signals. As those skilled in the art will appreciate, in such an embodiment if the stylus 7 is arranged to transmit at a different frequency to the excitation frequency (for example to facilitate simultaneous excitation and detection), the frequency of the mixing signals would usually be set at the estimated transmit frequency of the stylus 7 and not at the excitation frequency.
In the above embodiment, the digitizer microprocessor 71 obtained two hundred and fifty-six data samples from each digitizer signal of interest. As those skilled in the art will appreciate, an alternative number of signal sample values may be obtained, depending on the compromise between frequency and amplitude accuracy, power supply current, the time available for processing, ADC speed etc.
In the above embodiment, a single ADC was used to digitize the signals from all the processing channels of the sensing circuit 19. As those skilled in the art will appreciate, any number of ADCs may be used. For example, a separate ADC may be provided for each processing channel of the sensing circuit 19.
In the above embodiments, the signal from the channel having the largest signal level was used to estimate the stylus frequency and phase. In an alternative embodiment, the signals from all channels may be combined and then the combined signal can be used to estimate the stylus frequency and phase. The combination could be achieved by initially guessing which channels are “negative” (for example, using a previous position estimate), and then adding up all the channels' signals, flipping the signs of the negative ones.
In the above embodiment, during the continuous sensing process, the position and angle calculations were based on a generic stylus design. As those skilled in the art will appreciate, this is not essential. The stylus specific data could be fed into the calculations so that there is no need for a separate correction stage.
In the continuous sensing processes discussed above, the digitizer microprocessor 71 checked if the determined frequency and amplitude data were within predetermined limits. If they were not, then the continuous sensing process ended with an indication that the stylus was no longer synchronized. As well as checking that the frequency and amplitude are within limits, the digitizer microprocessor 71 can also check that the estimated position is reasonably close to the position that the stylus 7 was assumed to be at. If it is not, then that indicates the position estimate that has been obtained is based on a poorly chosen set of sensing channels. For this reason, the digitizer microprocessor 71 may deem the stylus 7 to be no longer synchronized.
In the above embodiments, the position indicators that have been used have all transmitted signals for sensing by the digitizer windings. As those skilled in the art will appreciate, the new excitation circuit 17 discussed above could be used in a digitizer system where the position indicator receives signals from the digitizer windings, from which it determines its own position relative to the digitizer's working area. This position information can then be used internally by the position indicator or it can be transmitted to the host device.
In the main embodiment described above, the excitation signal generator was directly connected to the coil select switching circuitry. As those skilled in the art will appreciate, this direct connection is not essential. Instead, the coil select switching circuitry can be, for example, electrically or magnetically coupled to the excitation signal generator through an appropriate coupling.
In the above embodiment, the coil select switching circuitry in the excitation circuit 17 was arranged to be able to apply the excitation signal to selected ones of the X sensing conductors CV1 to CV27. As those skilled in the art will appreciate, this coil select switching circuitry 93 may be configured to allow the excitation signal to be applied to any of the X sensing conductors or to the Y sensing conductor loops. Similarly, it is possible to adapt the coil select switching circuitry 93 to minimize the number of coils to which the excitation current can be applied. However, as those skilled in the art will appreciate, the arrangement of the coil select switching circuitry 93 must be such that a stylus 7 above any position of interest on the writing surface 3 must be able to be energized with the required efficiency.
In the above embodiment, the excitation circuit included a drive signal generator and coil select switching circuitry. As those skilled in the art will appreciate, the particular drive signal generator that was used can be replaced with a more conventional drive signal generator that employs a class A or class D amplifier. Similarly, the particular coil select switching circuitry can also be replaced with more conventional select switching circuitry.
In the above embodiment, the excitation circuit 17 was arranged to apply an excitation signal across two conductors of the comb winding 51, leaving the remaining conductors disconnected. As an alternative, a greater number of the conductors of the comb winding 51 may be driven with the excitation signal at the same time. For example, to power a stylus 7 in the vicinity of conductor CV8, transistors 111-1 and 111-2 may be switched on and transistors 113-3 and 113-4 may be switched on, so that excitation current is applied in phase to conductors CV5 and CV7 and out of phase to conductors CV9 and CV11. This approach is particularly advantageous where the resistance of the conductors is substantial, for example in the case that they are manufactured from conductive ink, where the lower effective resistance of the conductors surrounding the stylus 7 improves efficiency.
As those skilled in the art will appreciate, the way in which the digitizer electronics 13 are arranged to be able to work with several different types of stylus 7 may be applied for use with digitizers having different digitizer winding designs, such as those described in the applicant's earlier U.S. Pat. No. 6,489,899.
In the above embodiment, the digitizer microprocessor included a survey module, a capture module and a tracking module. As those skilled in the art will appreciate, it is not essential to employ three separate modules to detect the presence of the different types of stylus and then to track the position of any that are found. In particular, in an alternative embodiment, the digitizer may include a survey module for detecting the presence of the different types of stylus (as defined by the stylus calibration data) and a position sensing module which tracks the position of the or each stylus identified by the survey module.
In the above embodiment, the digitizer microprocessor output a set of control signals for controlling the switches within the coil select switching circuitry. As those skilled in the art will appreciate, it is not essential for the digitizer microprocessor to output a plurality of different control signals to achieve the same result. For example, the digitizer microprocessor may output a single control signal whose level determines which one or more of the switching circuits within the coil select switching circuitry is/are to be activated.
In the above embodiment, the battery powered stylus 7-1 described above activates with the pressure applied to the tip 195 of the stylus 7-1. As an alternative, the battery powered stylus 7-1 could respond to a special inductive wake up signal emitted by the digitizer system. In this case, the survey process for the battery powered pen would be adapted so that the digitizer 9 generates the appropriate wake up signal.
In the above embodiment, the digitizer 9 was embedded within a tablet PC 1. As those skilled in the art will appreciate, the digitizer system described above may be embedded in other types of host device, such as Personal Digital Assistants (PDAs), mobile telephones, etc.
In the above embodiment, the operation of the digitizer 9 was controlled by a software controlled microprocessor 71. As those skilled in the art will appreciate, the software controlled microprocessor may be replaced by dedicated hardware circuits that are programmed to carry out the necessary functions. However, a programmable computer device is preferred as it allows the digitizer 9 to be adapted after manufacture, for example, to detect and operate with new styluses 7. The software provided for controlling the digitizer 9 may be loaded into the digitizer 9 via the host device or it may be downloaded as a signal over a computer network, such as the internet.
A computer-readable medium can store processor-implementable (e.g. computer executable) instructions for configuring a programmable processor as the digitizer controller.

## Claims

1. A digitizer system comprising:
at least one set of N digitizer conductors that are connected together and arranged in an array over a working area, each digitizer conductor (Ci, where i=1 to N) of the array extending in a first direction and being spaced apart from an adjacent digitizer conductor (Ci+1) of the array along a second direction; and
a digitizer controller comprising:
an excitation signal generator for generating an excitation signal for application to selected ones of said digitizer conductors;
conductor select switching circuitry operable: i) to receive the excitation signal generated by the excitation signal generator; and ii) to apply the excitation signal to the selected digitizer conductors identified by one or more select control signals; and
a controller operable to generate said one or more select control signals for controlling said conductor select switching circuitry;
wherein said controller is operable, in a first mode, to generate select control signals for causing said conductor select switching circuitry to apply, at the same time, said excitation signal to digitizer conductors of said array which are separated within the array by p other digitizer conductors (where p is an integer greater than 1) and which are spaced apart along said second direction by a first spacing so that a first portion of said working area is energized; and is operable, in a second mode, to generate select control signals for causing said conductor select switching circuitry to apply, at the same time, said excitation signal to digitizer conductors of said array which are separated within the array by q other digitizer conductors (where q is an integer less than p) and which are spaced apart along said second direction by a second smaller spacing so that a second smaller portion of said working area is energized.

2. A system according to claim 1, wherein said digitizer conductors are spaced in a second direction which is substantially orthogonal to said first direction.

3. A system according to claim 1, wherein said digitizer conductors are connected together at or near one end by a connecting conductor and wherein the other end of some or all of said digitizer conductors are for connection to said conductor select switching circuitry.

4. A system according to claim 1, further comprising a movable indicator for moving over said working area and for interacting with said digitizer conductors.

5. A system according to claim 4, wherein said movable indicator is a position indicator.

6. A system according to claim 5, wherein said controller has a survey mode in which the controller is operable to determine initial data relating to said position indicator, and a tracking mode in which the controller is operable to track the position of the position indicator over said working area.

7. A system according to claim 6, wherein said first mode of said controller corresponds to said survey mode.

8. A system according to claim 6, wherein said second mode of said controller corresponds to said tracking mode.

9. A system according to claim 6, wherein said one or more select control signals are for causing said conductor select switching circuitry to apply said excitation signal to digitizer conductors in the vicinity of a previously reported position of said position indicator.

10. A digitizer controller comprising:
an excitation signal generator for generating an excitation signal for application to selected ones of a plurality of digitizer conductors;
conductor select switching circuitry operable: i) to receive the excitation signal generated by the excitation signal generator; and ii) to apply the excitation signal to the selected digitizer conductors identified by one or more select control signals; and
a controller operable to generate said one or more select control signals for controlling said conductor select switching circuitry;
wherein said controller is operable, in a first mode, to generate select control signals for causing said conductor select switching circuitry to apply, at the same time, said excitation signal to digitizer conductors which are spaced apart along said second direction by a first spacing so that a first portion of said working area is energized and is operable, in a second mode, to generate select control signals for causing said conductor select switching circuitry to apply, at the same time, said excitation signal to digitizer conductors which are spaced apart along said second direction by a second smaller spacing so that a sub-portion of said first portion of said working area is energized.

11. A non-transitory computer readable medium storing computer executable instructions for causing a programmable computer device to become configured as the digitizer controller of claim 10.

12. A digitizer system comprising:
a plurality of sensor conductors arrayed over a working area of the digitizer;
a plurality of excitation conductors arrayed over the working area of the digitizer;
a position indicator which is movable over the working area and which, in use, is electromagnetically coupled with said sensor conductors and said excitation conductors;
an excitation circuit operable to generate an excitation signal for application to a selected one or more of said excitation conductors, for transmitting signals to said position indicator;
a sensing circuit operable to sense signals generated in said sensor conductors as a result of an electromagnetic interaction between the sensor conductors and the position indicator, each sensor signal varying with a respective electromagnetic coupling between the position indicator and the corresponding sensor conductor; and
a digitizer controller comprising:
i) a processing circuit operable to process the sensor signals sensed by said sensing circuit in response to the application of said excitation signal to an initial excitation configuration of the excitation conductors, to determine which one or more of said excitation conductors should be selected to receive the excitation signal generated by said excitation circuit in a subsequent excitation process;
wherein said processing circuit is operable to determine a coupling measure for each of a plurality of candidate excitation configurations, each candidate excitation configuration corresponding to the selection of a respective one or more of said excitation conductors and each coupling measure being determined from one or more of said sensor signals sensed in response to the application of said excitation signal to said initial excitation configuration of the excitation conductors and being an indication of an electromagnetic coupling between the one or more excitation conductors for that candidate excitation configuration and said position indicator;
wherein said processing circuit is operable to determine said coupling measure for at least one of said candidate excitation configurations as a function of two or more of said sensor signals obtained from said sensing circuit in response to the application of said excitation signal to said initial excitation configuration of the excitation conductors; and
ii) a selection circuit operable to process the determined coupling measures for the plurality of candidate excitation configurations to select a candidate excitation configuration to be used to transmit said signals to said position indicator in said subsequent excitation process.

13. A digitizer according to claim 12, wherein one or more of the sensor conductors are also excitation conductors.

14. A digitizer according to claim 12, wherein said sensor conductors and said excitation conductors are arrayed in first and second directions over said working area.

15. A digitizer according to claim 12, wherein, the signals transmitted by said excitation conductors are for energizing said position indicator.

16. A digitizer according to claim 12, wherein said processing circuit is operable to determine a measure of the amplitude of the sensor signals and is operable to determine said coupling measure for each excitation configuration in dependence upon the amplitude of one or more of said sensor signals.

17. A digitizer according to claim 16, wherein said processing circuit is operable to determine the coupling measure for an excitation configuration in dependence upon the sensor signals from three or more sensor conductors that are in the vicinity of the excitation conductors for that excitation configuration.

18. A digitizer according to claim 12, wherein said sensing circuit is operable to sense signals generated in sensor coils formed by two or more of said sensor conductors and wherein said processing circuit is operable to determine a coupling measure for one or more of said excitation configurations as a function of the sensor signals sensed by said sensing circuit from two or more of said sensor coils.

19. A digitizer controller comprising:
a processing circuit operable to process sensor signals sensed by a digitizer sensing circuit in response to the application of an excitation signal to an initial excitation configuration of plurality of excitation conductors, to determine which one or more excitation conductors of the digitizer should be selected to receive an excitation signal generated by a digitizer excitation circuit in a subsequent excitation process;
wherein said processing circuit is operable to determine a coupling measure for each of a plurality of candidate excitation configurations, each candidate excitation configuration corresponding to the selection of a respective one or more of said excitation conductors and each coupling measure being determined from one or more of said sensor signals sensed in response to the application of said excitation signal to said initial excitation configuration of the excitation conductors and being an indication of the electromagnetic coupling between the one or more excitation conductors for that candidate excitation configuration and a position indicator;
wherein said processing circuit is operable to determine a coupling measure for at least one of said candidate excitation configurations as a function of two or more of said sensor signals obtained from said sensing circuit in response to the application of said excitation signal to said initial excitation configuration of the excitation conductors; and
a selection circuit operable to process the determined coupling measures for the plurality of candidate excitation configurations to select a candidate excitation configuration to be used to transmit signals to said position indicator in said subsequent excitation process.