WO2024090186A1 - 電磁誘導ペン、集積回路、及び位置検出装置 - Google Patents

電磁誘導ペン、集積回路、及び位置検出装置 Download PDF

Info

Publication number
WO2024090186A1
WO2024090186A1 PCT/JP2023/036639 JP2023036639W WO2024090186A1 WO 2024090186 A1 WO2024090186 A1 WO 2024090186A1 JP 2023036639 W JP2023036639 W JP 2023036639W WO 2024090186 A1 WO2024090186 A1 WO 2024090186A1
Authority
WO
WIPO (PCT)
Prior art keywords
magnetic field
alternating magnetic
electromagnetic induction
circuit
resonant circuit
Prior art date
Application number
PCT/JP2023/036639
Other languages
English (en)
French (fr)
Inventor
聡 伊藤
義久 杉山
比呂志 水橋
詞貴 後藤
ジュフン リ
Original Assignee
株式会社ワコム
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社ワコム filed Critical 株式会社ワコム
Publication of WO2024090186A1 publication Critical patent/WO2024090186A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/046Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by electromagnetic means

Definitions

  • the present invention relates to an electromagnetic induction pen, an integrated circuit, and a position detection device.
  • An electromagnetic induction pen is known that is configured to be switchable between a first resonant circuit in which an inductance element and a capacitance element are connected in series, and a second resonant circuit in which a variable capacitance element is added to the first resonant circuit, and that is configured to emit an alternating magnetic field from one of the resonant circuits.
  • the variable capacitance element is configured so that its capacitance changes depending on the writing pressure of the electromagnetic induction pen (pressure applied to the pen tip), and is connected in parallel with the capacitance element that constitutes the first resonant circuit.
  • the alternating magnetic field emitted by the electromagnetic induction pen using the first resonant circuit is referred to as the "reference alternating magnetic field”
  • the alternating magnetic field emitted by the electromagnetic induction pen using the second resonant circuit is referred to as the "modulated alternating magnetic field”.
  • Patent document 1 discloses an example of this type of electromagnetic induction pen and position detection device.
  • the electromagnetic induction pen (position indicator) described in the document has a normally-on type junction field effect transistor (JFET) connected in series with the variable capacitance element described above, and is configured so that this JFET turns off when the alternating magnetic field from the position detection device continues for a certain period of time or more.
  • JFET normally-on type junction field effect transistor
  • the position detection device of Patent document 1 is able to cause the electromagnetic induction pen to emit a reference alternating magnetic field by continuing to emit an alternating magnetic field for a predetermined period of time or more.
  • Patent document 1 also discloses that a switch circuit is provided that shorts the first resonant circuit, and that this switch circuit is controlled to be on when a bit "0" is to be transmitted, and that this switch circuit is controlled to be off when a bit "1" is to be transmitted, thereby making it possible to transmit digital data from the electromagnetic induction pen to a position detection device by on-off modulation.
  • the position detection device must continue to emit an alternating magnetic field for a predetermined period of time or more in order to cause the electromagnetic induction pen to emit a reference alternating magnetic field. Since the reference frequency can change in a time shorter than this predetermined period of time and it is not possible to frequently emit an alternating magnetic field for a long period of time, in the configuration described in Patent Document 1, the reference frequency stored in the position detection device may deviate from the actual reference frequency value at the time the modulated alternating magnetic field is received, and as a result, the detection accuracy of the pen pressure may decrease. The same applies when the capacitance of the variable capacitance element is changed by a value indicating a user's behavior other than pen pressure (such as a value indicating the grip pressure of the housing), and the detection accuracy of that value may decrease.
  • one of the objects of the present invention is to provide an electromagnetic induction pen and integrated circuit that can improve the detection accuracy of values indicating a user's actions compared to conventional methods.
  • the above-mentioned difference (the difference between the frequency of the modulated alternating magnetic field and the reference frequency) may not become a predetermined value (usually 0, hereinafter referred to as the "hover indication value") indicating that no pressure is being applied to the pen tip.
  • a predetermined value usually 0, hereinafter referred to as the "hover indication value”
  • the frequency of the alternating magnetic field emitted from the electromagnetic induction pen is always vibrating slightly due to the self-capacity of the JFET described above and external factors, but since this would require the drawing application to implement processing to actually determine whether or not pressure is being applied to the pen tip, improvements are needed.
  • another object of the present invention is to provide a position detection device that can use the difference between the frequency of a reference alternating magnetic field and the frequency of a modulated alternating magnetic field as a hover indication value when no pressure is applied to the pen tip.
  • yet another object of the present invention is to provide an electromagnetic induction pen and a position detection device that can maintain the state in which an alternating magnetic field is emitted from the electromagnetic induction pen even when transmitting digital data.
  • the position detection device receives an alternating magnetic field (including an alternating magnetic field for detecting writing pressure and an alternating magnetic field for receiving the identification signal ID) from the electromagnetic induction pen while sending a burst signal.
  • the burst signal is superimposed on the alternating magnetic field from the electromagnetic induction pen, which can result in failure to detect writing pressure or receive the identification signal ID.
  • yet another object of the present invention is to provide an electromagnetic induction pen that can prevent a position detection device from failing to detect the analog operation amount and receive the digital data transmitted by the electromagnetic induction pen.
  • the electromagnetic induction pen is an electromagnetic induction pen including a first resonant circuit including an inductance element and a capacitance element, and a variable element connected to the first resonant circuit, the variable element being an element that changes the resonant frequency of a second resonant circuit including the variable element and the first resonant circuit in relation to the user's actions, and further including a toggle circuit that switches between emitting a reference alternating magnetic field using the first resonant circuit and emitting a modulated alternating magnetic field using the second resonant circuit.
  • the integrated circuit according to the second aspect of the present invention is an integrated circuit for a position detection device, which includes a first resonant circuit including an inductance element and a capacitance element, and a variable element connected to the first resonant circuit, and the variable element is an element that changes the resonant frequency of a second resonant circuit including the variable element and the first resonant circuit in relation to the user's actions, receives an alternating magnetic field, which is a reference alternating magnetic field generated using the first resonant circuit or a modulated alternating magnetic field generated using the second resonant circuit, from an electromagnetic induction pen, determines whether the received alternating magnetic field is the reference alternating magnetic field or the modulated alternating magnetic field, and outputs a digital value corresponding to the analog quantity indicated by the modulated alternating magnetic field based on the reception result of the alternating magnetic field determined to be the reference alternating magnetic field.
  • an alternating magnetic field which is a reference alternating magnetic field generated using the first resonant circuit or
  • the position detection device includes a first resonant circuit including an inductance element and a capacitance element, and a variable element connected to the first resonant circuit, the variable element being an element that changes the resonant frequency of a second resonant circuit including the variable element and the first resonant circuit in relation to the user's actions.
  • the position detection device receives a reference alternating magnetic field generated by the first resonant circuit and a modulated alternating magnetic field generated by the second resonant circuit from an electromagnetic induction pen, obtains a first output based on the reference alternating magnetic field, obtains a second output based on the modulated alternating magnetic field, obtains a third output by adding or subtracting a predetermined offset amount to or from the difference between the first output and the second output, and converts the third output into a digital value according to a predetermined conversion rule.
  • the electromagnetic induction pen is an electromagnetic induction pen including a first resonant circuit including an inductance element and a capacitance element, and a variable element connected to the first resonant circuit, the variable element being an element that changes the resonant frequency of a second resonant circuit including the variable element and the first resonant circuit in relation to the user's actions, and further including a processing circuit that switches between sending a reference alternating magnetic field using the first resonant circuit and sending a modulated alternating magnetic field using the second resonant circuit based on a bit value transmitted to a position detection device.
  • the position detection device includes a first resonant circuit including an inductance element and a capacitance element, and a variable element connected to the first resonant circuit, the variable element being an element that changes the resonant frequency of a second resonant circuit including the variable element and the first resonant circuit in relation to the user's actions.
  • the position detection device receives an alternating magnetic field, which is a reference alternating magnetic field generated using the first resonant circuit or a modulated alternating magnetic field generated using the second resonant circuit, from an electromagnetic induction pen, determines whether the alternating magnetic field is the reference alternating magnetic field or the modulated alternating magnetic field, and obtains a bit value transmitted by the electromagnetic induction pen based on the result of the determination.
  • an alternating magnetic field which is a reference alternating magnetic field generated using the first resonant circuit or a modulated alternating magnetic field generated using the second resonant circuit
  • the electromagnetic induction pen according to the fifth aspect of the present invention is an electromagnetic induction pen that performs the process of transmitting digital data by digital modulation and the process of transmitting an analog operation amount by analog modulation during a period when the sensor controller is not transmitting an alternating magnetic field.
  • a reference alternating magnetic field can be emitted from an electromagnetic induction pen without the need for the position detection device to emit an alternating magnetic field for a predetermined period of time or longer, making it possible to improve the detection accuracy of values indicating the user's actions more than ever before.
  • a predetermined offset amount is added or subtracted from the difference between the first output obtained based on the reference alternating magnetic field and the second output obtained based on the modulated alternating magnetic field, so that when no pressure is applied to the pen tip, the difference between the frequency of the reference alternating magnetic field and the frequency of the modulated alternating magnetic field can be used as the hover indication value.
  • bit values can be transmitted by switching between transmitting a reference alternating magnetic field and a modulated alternating magnetic field, making it possible to maintain the state in which an alternating magnetic field is being transmitted from the electromagnetic induction pen even when transmitting digital data.
  • both the digital data and the analog operation amount are transmitted during the period when the sensor controller is not transmitting an alternating magnetic field, thereby making it possible to prevent the position detection device from failing to detect the analog operation amount transmitted by the electromagnetic induction pen and to receive the digital data.
  • 11A and 11B are diagrams showing changes in the reference alternating magnetic field or the modulated alternating magnetic field when a metal is brought close to or touched on the panel surface of the position detection device with a constant writing pressure.
  • 1 is a diagram showing a configuration of a position detection system 1 according to a first embodiment of the present invention.
  • 2 is a diagram for explaining the operation of a sensor controller 31 and a processing circuit 23 according to the first embodiment of the present invention.
  • FIG. FIG. 4 is a diagram showing the internal configuration of a processing circuit 23 for implementing the operation described with reference to FIG. 3.
  • FIG. 4 is a diagram showing detailed configurations of a detection circuit 41 and a wait detection circuit 42.
  • FIG. 4 is a flowchart showing a process performed by a sensor controller 31 according to the first embodiment of the present invention.
  • FIG. 4 is a flowchart showing a process performed by a sensor controller 31 according to the first embodiment of the present invention.
  • 11 is a diagram showing measurement results of changes over time in the modulation phase phCw, the reference phase phDh, the difference phCw-phDh, and the writing pressure value P acquired by the sensor controller 31 according to the first embodiment of the present invention.
  • FIG. 11 is a diagram showing a configuration of a position detection system 1 according to a second embodiment of the present invention.
  • 13 is a diagram for explaining the operation of a sensor controller 31 and a processing circuit 23 according to the second embodiment of the present invention.
  • FIG. FIG. 12 is a diagram showing the internal configuration of a processing circuit 23 for realizing the operation described with reference to FIG. 11.
  • 2 is a diagram showing detailed configurations of a detection circuit 41, a wait detection circuit 42, and a long burst detection circuit 44.
  • FIG. 11 is a diagram showing simulation results of waveforms of the electromotive force PE, the output nodes n1 and n2, the clock signal Pen_clk, the wait detection signal det_wait, and the long burst detection signal det_lb.
  • FIG. 4 is a diagram showing the internal configuration of a timing generation circuit 45.
  • FIG. 11 is a flowchart showing a process performed by a sensor controller 31 according to a second embodiment of the present invention.
  • FIG. 11 is a flowchart showing a process performed by a sensor controller 31 according to a second embodiment of the present invention.
  • FIG. 17 is a diagram showing details of the digital data receiving process executed in step S37 of FIG. 16.
  • FIG. 13 is a diagram showing the internal configuration of an electromagnetic induction pen 2 in a position detection system 1 according to a third embodiment of the present invention.
  • FIG. 13 is a flowchart showing a digital data receiving process performed by a sensor controller 31 according to the third embodiment of the present invention.
  • FIG. 11 is a flowchart showing a process performed by a sensor controller 31 according to a second embodiment of the present invention.
  • FIG. 11 is a flowchart showing a process performed by a sensor controller 31 according to a second embodiment of the present invention.
  • FIG. 13 is a diagram for explaining the operation of a sensor controller 31 and a processing circuit 23 according to the fourth embodiment of the present invention.
  • FIG. 13 is a diagram for explaining the operation of a sensor controller 31 and a processing circuit 23 according to the fourth embodiment of the present invention.
  • FIG. 13 is a diagram for explaining the operation of a sensor controller 31 and a processing circuit 23 according to the fourth embodiment of the present invention.
  • FIG. 13 is a flowchart showing a process performed by a sensor controller 31 according to a fourth embodiment of the present invention.
  • FIG. 13 is a flowchart showing a process performed by a sensor controller 31 according to a fourth embodiment of the present invention.
  • FIG. 13 is a diagram showing the configuration of an electromagnetic induction pen 2 according to a fifth embodiment of the present invention.
  • FIG. 13A is a diagram showing the relationship between the value transmitted by the electromagnetic induction pen 2 according to the fifth embodiment of the present invention, the on/off state of the switch elements 24, 65 to 68, the combined capacitance C C of the capacitors C, C SW , C 1 to C 4 incorporated in the resonant circuit, and the resonant frequency f R of the resonant circuit
  • FIG. 13B is a diagram showing the value of the resonant frequency f R corresponding to each transmitted value on a straight line.
  • Figure 1 shows the change in the reference alternating magnetic field or modulated alternating magnetic field when a metal is brought close to or spoken on the panel surface of the position detection device with a constant writing pressure.
  • the vertical axis in the figure is phase, but this is because the position detection device is configured to detect changes in frequency by detecting the phase of the received signal.
  • the phase corresponding to the frequency of the reference alternating magnetic field is referred to as the "reference phase”
  • the phase corresponding to the frequency of the modulated alternating magnetic field is referred to as the "modulation phase.”
  • phase (frequency) of the alternating magnetic field emitted from an electromagnetic induction pen can easily fluctuate for various reasons other than writing pressure. Such fluctuations can occur even in an extremely short period of time, reducing the accuracy of detecting values that indicate the user's actions, such as writing pressure values. They can also cause writing pressure to be generated even when the pen tip is not in contact with the panel surface.
  • One of the objectives of the present invention is to improve these situations. Below, an embodiment of the present invention for solving such problems will be described in detail with reference to the attached drawings.
  • FIG. 2 is a diagram showing the configuration of a position detection system 1 according to a first embodiment of the present invention.
  • the position detection system 1 is configured with an electromagnetic induction pen 2 and a position detection device 3, each of which corresponds to an electromagnetic induction method (EMR method).
  • EMR method electromagnetic induction method
  • the electromagnetic induction pen 2 is a pen-shaped device including a core body 20, a pressure sensor 21 including a variable capacitance capacitor C SW , a processing circuit 23, a coil (inductance element) L, a capacitor (capacitance element) C, and a switch element 24.
  • the coil L and the capacitor C form a first resonant circuit R1
  • the coil L, the capacitor C, the variable capacitance capacitor C SW , and the switch element 24 form a second resonant circuit R2.
  • the coil L and the capacitor C are connected in series with each other.
  • the variable capacitor C SW is connected in parallel with the capacitor C, and the switch element 24 is connected in series with the variable capacitor C SW .
  • the switch element 24 is an on-off switch provided to switch between the first resonant circuit R1 and the second resonant circuit R2, and is controlled to be turned on and off by the processing circuit 23.
  • the switch element 24 is configured by a JFET.
  • variable capacitor C SW is an element (variable element) that changes the resonant frequency of the second resonant circuit R2 in relation to the user's actions. Note that, instead of the variable capacitor C SW , or together with the variable capacitor C SW , other types of variable elements such as a variable inductance or a variable resistor may be used.
  • the user's gesture is the gesture of pressing the tip of the electromagnetic induction pen 2 against the panel surface.
  • the pressure sensor 21 is a sensor for detecting the degree of this gesture, and is specifically configured so that the capacitance of the variable capacitance capacitor C SW changes according to the pressure applied to the tip of the core body 20 (hereinafter, this pressure value is referred to as the "pen pressure value P").
  • the pen pressure value P is a continuously changing analog amount, and the capacitance of the variable capacitance capacitor C SW also changes continuously. Therefore, it can be said that the transmission of the pen pressure value P by the electromagnetic induction pen 2 is a transmission by analog modulation.
  • variable capacitance capacitor C SW is built into a sensor for detecting the degree of the gesture, rather than the pressure sensor 21.
  • the position detection device 3 is a device that includes multiple loop coils LC, a switch unit 30, a sensor controller 31, and a host processor 32.
  • a typical example of the position detection device 3 is a tablet terminal or a notebook computer whose display surface also serves as a touch surface, but the position detection device 3 may also be configured using a digitizer or the like that does not have a display surface.
  • the multiple loop coils LC are coils arranged within the touch surface, and include multiple loop coils LCx arranged in a row in the x direction, and multiple loop coils LCy arranged in a row in the y direction perpendicular to the x direction. One end of each loop coil LC is connected to the switch unit 30, and the other end is grounded.
  • the switch unit 30 is a circuit that serves to connect one or more of the multiple loop coils LC to the sensor controller 31 according to the control of the sensor controller 31.
  • the sensor controller 31 is an integrated circuit that has the function of detecting the position of the electromagnetic induction pen 2 on the touch surface, acquiring the pen pressure value P transmitted by the electromagnetic induction pen 2, and sequentially supplying the detected position and acquired pen pressure value P to the host processor 32. To perform these processes, the sensor controller 31 is configured to drive the multiple loop coils LCy in sequence or simultaneously (i.e., supply a drive current Tx), and receive the induced current Rx appearing in the multiple loop coils LCx.
  • an alternating magnetic field AM is generated on the touch surface.
  • an electromotive force PE is generated at both ends of the coil L, and the resonant circuit (the first resonant circuit R1 or the second resonant circuit R2) that is active at that time enters a resonant state, and as a result, an alternating magnetic field PS (pen signal) is sent from the electromagnetic induction pen 2.
  • the alternating magnetic field PS sent from the electromagnetic induction pen 2 when the first resonant circuit R1 is active may be referred to as a "reference alternating magnetic field PSS”
  • the alternating magnetic field PS sent from the electromagnetic induction pen 2 when the second resonant circuit R2 is active may be referred to as a "modulated alternating magnetic field PSM”.
  • the frequencies of the reference alternating magnetic field PSS and the modulated alternating magnetic field PSM are ideally equal to the resonant frequencies of the first resonant circuit R1 and the second resonant circuit R2, respectively.
  • the sensor controller 31 is configured to derive the phase of the induced current Rx at a predetermined frequency by performing a discrete Fourier transform (or a fast Fourier transform) of the induced current Rx using a predetermined period after the timing at which the transmission of the alternating magnetic field AM is completed.
  • This predetermined frequency is, for example, the ideal frequency of the reference alternating magnetic field PSS (i.e., when the effects of parasitic capacitance and disturbances are not taken into consideration).
  • the phase derived in this way is a value that reflects the frequency of the induced current Rx, since the transmission of the alternating magnetic field PS by the electromagnetic induction pen 2 begins at a known timing, immediately after the transmission of the alternating magnetic field AM is completed. Therefore, the sensor controller 31 obtains the derived phase as a value indicating the frequency of the induced current Rx, and obtains the pen pressure value P.
  • the sensor controller 31 stores the phase phDh (first output) derived when the electromagnetic induction pen 2 transmits the reference alternating magnetic field PSS as a reference phase, and obtains the phase difference phCw-phDh by subtracting the reference phase from the phase phCw (modulation phase; second output) derived when the electromagnetic induction pen 2 transmits the modulated alternating magnetic field PSM.
  • the phase phCw-phDh-offset (third output) obtained by subtracting a given offset amount offset from the obtained difference phCw-phDh is converted into a digital value according to a predetermined conversion rule, thereby obtaining the pen pressure value P transmitted by the electromagnetic induction pen 2.
  • PressMax is the maximum level of the pen pressure value P (e.g., 2047), and PhMax is the value of the phase phCw-phDh-offset when the maximum level of pen pressure is applied.
  • the offset amount "offset” is used to absorb slight vibrations (see Figure 1) that appear in the difference between the reference phase and the modulation phase.
  • the appropriate offset amount "offset” value varies depending on the characteristics of the electromagnetic induction pen 2 and the position detection device 3, as well as the external environment such as temperature.
  • the sensor controller 31 is configured to perform a calibration process while the electromagnetic induction pen 2 is hovering and adjust the value of the offset amount "offset". Specifically, the sensor controller 31 derives the height (distance from the panel surface) of the electromagnetic induction pen 2 from the maximum amplitude of the induced current Rx that appears in the loop coil LCx, measures the difference phCw-phDh under conditions where the electromagnetic induction pen 2 is at a certain height or higher and is considered to be free of pen pressure, and determines the value of the offset amount offset so that the value obtained by subtracting the offset amount offset from the measured difference phCw-phDh is a predetermined value (for example, -30). This makes it possible to appropriately absorb slight vibrations that appear in the difference phCw-phDh.
  • FIG. 3 is a diagram for explaining the operation of the sensor controller 31 and processing circuit 23 according to this embodiment. Focusing first on the sensor controller 31, the sensor controller 31 is configured to operate in one of three operating modes: Wait, D-Phase, and C-SW. The sensor controller 31 also has an initial setting mode, which will be explained later with reference to the flow diagram in FIG. 7.
  • the operation mode Wait is a mode for causing the electromagnetic induction pen 2 to switch the alternating magnetic field to be transmitted (i.e., turn the switch element 24 on and off).
  • the electromagnetic induction pen 2 is configured to switch the switch element 24 on and off in response to detecting that the sensor controller 31 has entered the operation mode Wait.
  • the sensor controller 31 When the sensor controller 31 has entered the operation mode Wait, it neither supplies AC current Tx to the loop coil LCy nor receives induced current Rx at the loop coil LCx for a predetermined period of time.
  • the D-Phase operating mode is a mode in which a reference phase is obtained and stored based on the reception result of the reference alternating magnetic field PSS sent out by the electromagnetic induction pen 2.
  • the sensor controller 31 that has entered the D-Phase operating mode repeats the process of supplying an AC current Tx to the loop coil LCy for a predetermined time T1 a predetermined number of times at intervals of a predetermined time T2 while changing the loop coil LCy.
  • the phase of the induced current Rx appearing in the loop coil LCx is derived as described above, and the resulting phase is stored as the reference phase.
  • Operation mode C-SW is a mode for acquiring the pen pressure value P transmitted by the electromagnetic induction pen 2 based on the reception result of the modulated alternating magnetic field PSM transmitted by the electromagnetic induction pen 2.
  • the sensor controller 31 that has entered operation mode C-SW repeats the process of supplying an AC current Tx to the loop coil LCy for a predetermined time T1 a predetermined number of times at intervals of a predetermined time T2, as in operation mode D-Phase.
  • the phase of the induced current Rx appearing in the loop coil LCx is derived as described above.
  • the pen pressure value P is derived based on the phase difference obtained by subtracting the reference phase from the derived phase.
  • the specific method of deriving the pen pressure value P is as described above.
  • the wait detection signal det_wait and the D-Phase enable signal EN_DP shown in the figure are both signals that the processing circuit 23 generates from the alternating magnetic field AM.
  • the processing circuit 23 is configured to keep the wait detection signal det_wait high while the alternating magnetic field AM is being received, but to set the wait detection signal det_wait low when a predetermined time has passed since the alternating magnetic field AM was no longer being received. This predetermined time is set to a length of time that is slightly shorter than the length of time that the sensor controller 31 is in the operation mode Wait. Therefore, the wait detection signal det_wait temporarily changes to low each time the sensor controller 31 enters the operation mode Wait.
  • the processing circuit 23 is also configured to switch the value of the D-Phase enable signal EN_DP between high and low in response to the wait detection signal det_wait going low.
  • the processing circuit 23 is also configured to turn off the switch element 24 when the D-Phase enable signal EN_DP is low, and turn on the switch element 24 when the D-Phase enable signal EN_DP is high.
  • the electromagnetic induction pen 2 operates by switching between a state in which the reference alternating magnetic field PSS is sent using the first resonant circuit R1 and a state in which the modulated alternating magnetic field PSM is sent using the second resonant circuit R2 each time the sensor controller 31 enters the operation mode Wait.
  • FIG. 4 is a diagram showing the internal configuration of the processing circuit 23 for realizing the operation described with reference to FIG. 3.
  • the processing circuit 23 is configured to have a power supply circuit 40, a detection circuit 41, a wait detection circuit 42, and a toggle circuit 43.
  • the power supply circuit 40 is a circuit that generates the power supply voltage VDD required for the operation of the processing circuit 23, using the electromotive force PE generated in the first resonant circuit R1 by the alternating magnetic field AM.
  • the detection circuit 41 is a circuit that generates a clock signal Pen_clk based on the electromotive force PE
  • the wait detection circuit 42 is a circuit that generates a wait detection signal det_wait based on the clock signal Pen_clk.
  • the wait detection signal det_wait generated by the wait detection circuit 42 is supplied to the toggle circuit 43.
  • FIG. 5 is a diagram showing the detailed configuration of the detection circuit 41 and the wait detection circuit 42.
  • the detection circuit 41 is composed of a half-wave voltage doubler rectifier circuit 41a configured using a Schottky barrier diode, a voltage divider circuit 41b, a smoothing circuit 41c configured using a Schottky barrier diode, a voltage divider circuit 41d, an operational amplifier 41e, a resistive element 41f, an inverting buffer circuit 41g, an RC low-pass filter 41h, and an inverting buffer circuit 41i.
  • the half-wave voltage doubler rectifier circuit 41a, the voltage divider circuit 41b, the smoothing circuit 41c, and the voltage divider circuit 41d are connected in series in this order.
  • the input node of the half-wave voltage doubler rectifier circuit 41a constitutes the input node of the detection circuit 41, and the electromotive force PE is supplied from the first resonant circuit R1.
  • the non-inverting input terminal of the operational amplifier 41e is connected to the output node n1 of the voltage divider circuit 41b, and the inverting input terminal is connected to the output node n2 of the voltage divider circuit 41d.
  • the resistive element 41f, the inverting buffer circuit 41g, the RC low-pass filter 41h, and the inverting buffer circuit 41i are connected in series in this order between the output terminal of the operational amplifier 41e and the output node of the detection circuit 41.
  • the signal output from the output node of the detection circuit 41 becomes the clock signal Pen_clk shown in FIG. 4.
  • the wait detection circuit 42 is configured to include a resistive element 42a, a Schottky barrier diode 42b, a capacitor 42c, and a Schmitt trigger circuit 42d.
  • the resistive element 42a is connected between an input node of the wait detection circuit 42 to which the clock signal Pen_clk is input and an input terminal of the Schmitt trigger circuit 42d.
  • the Schottky barrier diode 42b is connected in parallel with the resistive element 42a with its anode connected to the input node of the wait detection circuit 42.
  • the capacitor 42c is connected between the input terminal of the Schmitt trigger circuit 42d and the ground terminal.
  • the output terminal of the Schmitt trigger circuit 42d constitutes the output node of the wait detection circuit 42.
  • the signal output from the output node of the wait detection circuit 42 becomes the wait detection signal det_wait shown in FIG. 4.
  • FIG. 6 shows the simulation results of the electromotive force PE, the waveforms appearing at the output nodes n1 and n2, the clock signal Pen_clk, and the wait detection signal det_wait.
  • the upper part of the figure shows the corresponding operating mode of the sensor controller 31.
  • the predetermined times T1 and T2 shown in Fig. 6 correspond to the predetermined times T1 and T2 shown in Fig. 3.
  • the electromotive force PE gradually increases during the predetermined time T1 during which the sensor controller 31 is emitting the alternating magnetic field AM, and charges the capacitor C shown in Fig. 2 and Fig. 4.
  • the sensor controller 31 stops emitting the alternating magnetic field AM, and the capacitor C starts discharging. This discharge causes the coil L to emit the alternating magnetic field PS.
  • the switch element 24 is on, the variable capacitance capacitor C SW is also subject to this charging and discharging.
  • the waveform appearing at output node n1 is the rectified and voltage-divided waveform of the electromotive force PE.
  • the waveform appearing at output node n2 is the smoothed and voltage-divided waveform appearing at output node n1.
  • the clock signal Pen_clk is a binary signal that is high when the waveform appearing at output node n1 is larger than the waveform appearing at output node n2, and low when the waveform appearing at output node n1 is smaller than the waveform appearing at output node n2, due to the action of the operational amplifier 41e shown in FIG. 5.
  • the clock signal Pen_clk generated in this way is high when the alternating magnetic field AM from the sensor controller 31 reaches the coil L, and low when it does not.
  • the wait detection signal det_wait remains high while the clock signal Pen_clk is high, but becomes low when a predetermined time or more has passed since the clock signal Pen_clk became low.
  • the operation of the wait detection circuit 42 for generating such a wait detection signal det_wait will be described in detail with reference to FIG. 5 again.
  • the wait detection signal det_wait which is the output of the Schmitt trigger circuit 42d, also becomes high almost at the same time as the clock signal Pen_clk becomes high.
  • the wait detection signal det_wait which is the output of the Schmitt trigger circuit 42d, changes to low.
  • the wait detection signal det_wait becomes the signal described above.
  • the toggle circuit 43 is a circuit for switching between a state in which a reference alternating magnetic field PSS is transmitted using the first resonant circuit R1 and a state in which a modulated alternating magnetic field PSM is transmitted using the second resonant circuit R2, and is configured with a D-type flip-flop circuit 43a.
  • An inverted signal of the wait detection signal det_wait is supplied to the clock terminal of the flip-flop circuit 43a, and an inverted signal of the output terminal is supplied to the data terminal.
  • the output signal of the toggle circuit 43 is the D-Phase enable signal EN_DP also shown in Figure 3.
  • the D-Phase enable signal EN_DP becomes a signal that switches between high and low in response to the wait detection signal det_wait changing to low.
  • the D-Phase enable signal EN_DP is supplied to the gate of the switch element 24, which causes the transmission of the reference alternating magnetic field PSS and the modulated alternating magnetic field PSM to be switched at the falling edge of the wait detection signal det_wait.
  • FIGS. 7 and 8 are flow diagrams showing the processing performed by the sensor controller 31 according to this embodiment. Below, the operation of the sensor controller 31 according to this embodiment will be explained in more detail with reference to these figures.
  • the sensor controller 31 first enters the initial setting mode (step S1).
  • the initial setting mode is an operating mode for determining the timing of the transmission of the reference alternating magnetic field PSS and the modulated alternating magnetic field PSM by the electromagnetic induction pen 2.
  • the sensor controller 31 that has entered the initial setting mode supplies an AC current Tx to each loop coil LCy and detects the amplitude of the induced current Rx appearing in each loop coil LCx (step S2). If the sensor controller 31 has already detected the position of the electromagnetic induction pen 2 at this point, it only needs to execute step S2 for a predetermined number of loop coils LCy, LCx that are in the vicinity of the detected position. This also applies to steps S13, S19 (see FIG. 8), step S33 (see FIG. 16), and step S41 (see FIG. 17), which will be described later.
  • the sensor controller 31 derives the position of the electromagnetic induction pen 2 based on the amplitude of the induced current Rx in each loop coil LCy detected in step S3, and outputs the position to the host processor 32 (step S3).
  • the sensor controller 31 also derives the phase of the induced current Rx in the loop coil LCx with the largest amplitude detected in step S3 (step S4), and stores the derived phase (step S5).
  • Step S6 the sensor controller 31 judges whether the processes of steps S2 to S5 have been executed twice (step S6). As a result, if it is judged that they have not been executed, it waits for a predetermined time (step S7) and then returns to step S3 to repeat the process.
  • Step S7 is a process for switching the alternating magnetic field PS to be sent to the electromagnetic induction pen 2, and the sensor controller 31 waits for a time equivalent to the duration of the operation mode Wait without supplying the alternating current Tx to the loop coil LCy or receiving the induced current Rx at the loop coil LCx.
  • the sensor controller 31 determines whether the alternating magnetic field PS last sent out by the electromagnetic induction pen 2 is the reference alternating magnetic field PSS or the modulated alternating magnetic field PSM based on the two phases stored in the two times of step S5 (steps S8 and S9). Specifically, this determination can be made based on the magnitude of the two phases. As shown in FIG. 9 below, the modulated phase is greater than the reference phase regardless of the presence or absence of pen pressure, so the sensor controller 31 can distinguish between the modulated phase and the reference phase based on the magnitude of the two phases. If the sensor controller 31 determines that the alternating magnetic field is the reference alternating magnetic field PSS, the process proceeds to step S10 in FIG. 8, and if it determines that the alternating magnetic field is the modulated alternating magnetic field PSM, the process proceeds to step S17 in FIG. 8.
  • step S10 the sensor controller 31 stores the last derived phase as a reference phase. Then, after waiting for a predetermined time by entering an operation mode Wait (step S11), it enters an operation mode C-SW (step S12) and supplies an AC current Tx to each loop coil LCy and detects the amplitude of the induced current Rx appearing in each loop coil LCx (step S13).
  • the sensor controller 31 derives the position of the electromagnetic induction pen 2 based on the amplitude of the induced current Rx in each loop coil LCy detected in step S13, and outputs the position to the host processor 32 (step S14).
  • the sensor controller 31 also derives the phase of the induced current Rx in the loop coil LCx with the largest amplitude detected in step S15 (step S16).
  • the sensor controller 31 derives the writing pressure value P transmitted by the electromagnetic induction pen 2 based on the derived phase and the reference phase stored in the most recent step S10, and outputs the value to the host processor 32 (step S17).
  • the specific method of deriving the writing pressure value P is as described above.
  • the sensor controller 31 waits for a predetermined time by re-entering the operation mode Wait (step S17), and then enters the operation mode D-Phase (step S18), supplying AC current Tx to each loop coil LCy and detecting the amplitude of the induced current Rx appearing in each loop coil LCx (step S19).
  • the sensor controller 31 derives the position of the electromagnetic induction pen 2 based on the amplitude of the induced current Rx in each loop coil LCy detected in step S19, and outputs it to the host processor 32 (step S20).
  • the sensor controller 31 also derives the phase of the induced current Rx in the loop coil LCx with the largest amplitude detected in step S15 (step S21), and stores the derived phase as a reference phase (step S10).
  • the subsequent processing is as described above, and from this point on, the sensor controller 31 repeatedly executes the operation mode Wait, operation mode C-SW, operation mode Wait, and operation mode D-Phase in this order.
  • the electromagnetic induction pen 2 can alternately emit a reference alternating magnetic field and a modulated alternating magnetic field without emitting an alternating magnetic field from the position detection device 3 for a predetermined period of time or longer. This makes it possible to improve the detection accuracy of values indicating the user's actions, such as the pen pressure value P, compared to the conventional technology.
  • the sensor controller 31 determines the type of alternating magnetic field PS (reference alternating magnetic field PSS or modulated alternating magnetic field PSM), so the sensor controller 31 can correctly receive the reference alternating magnetic field PSS and modulated alternating magnetic field PSM that the electromagnetic induction pen 2 autonomously transmits in a predetermined order.
  • alternating magnetic field PS reference alternating magnetic field PSS or modulated alternating magnetic field PSM
  • the sensor controller 31 to reset the transmission order of the alternating magnetic field PS by the electromagnetic induction pen 2, so that it is possible to use, as the electromagnetic induction pen 2, a type that operates with power supplied from a built-in battery (i.e., a type that performs one-way communication from the electromagnetic induction pen 2; EM method), in addition to the type that generates power from the alternating magnetic field AM described in this embodiment.
  • a type that operates with power supplied from a built-in battery i.e., a type that performs one-way communication from the electromagnetic induction pen 2; EM method
  • the switching between transmitting the reference alternating magnetic field PSS and transmitting the modulated alternating magnetic field PSM in the electromagnetic induction pen 2 is performed not at the fall edge of the wait detection signal det_wait, but at the edge of the clock signal output from the built-in oscillator.
  • an offset amount offset is subtracted from the difference phCw-phDh, so when no pressure is applied to the tip of the electromagnetic induction pen 2, it is possible to use the difference between the frequency of the reference alternating magnetic field and the frequency of the modulated alternating magnetic field as the hover indication value. Note that although this embodiment uses subtraction, it is of course possible to add the offset amount offset to the difference phCw-phDh depending on the method of calculating the pen pressure value P, etc.
  • FIG. 9 is a diagram showing the measurement results of the modulation phase phCw, reference phase phDh, difference phCw-phDh, and pen pressure value P over time acquired by the sensor controller 31 according to this embodiment.
  • the phase phCw increases where the tip of the electromagnetic induction pen 2 is pressed against the panel surface. In other places, the tip of the electromagnetic induction pen 2 is away from the panel surface (hover state).
  • the difference phCw-phDh is not 0 even during hover, but the pen pressure value P is 0 during hover. Therefore, with position detection system 1 according to this embodiment, it can be said that there is no need to implement in the drawing application a process for determining whether or not pressure is being applied to the pen tip.
  • the sensor controller 31 is configured to store the phase of the induced current Rx (the phase of the alternating magnetic field PS) in step S5 of FIG. 7, and determine the type of alternating magnetic field PS emitted by the electromagnetic induction pen 2 based on the two stored phases in step S8.
  • the sensor controller 31 may also store the frequency or amplitude of the induced current Rx (the frequency or amplitude of the alternating magnetic field PS) in step S5 of FIG. 7, and determine the type of alternating magnetic field PS emitted by the electromagnetic induction pen 2 based on the two stored frequencies or amplitudes in step S8.
  • steps S6, S8, and S9 in FIG. 7 if the phase (or frequency, amplitude) of the induced current Rx satisfies a predetermined condition, it may be determined whether the alternating magnetic field PS emitted by the electromagnetic induction pen is the reference alternating magnetic field PSS.
  • the sensor controller 31 repeats the processing of steps S2 to S5, including step S7, until it is determined that the alternating magnetic field is the reference alternating magnetic field PSS, and when it is determined that the alternating magnetic field is the reference alternating magnetic field PSS, it proceeds to step S10.
  • the position detection system 1 according to this embodiment differs from the position detection system 1 according to the first embodiment in that digital data (a set of bit values that are "0" or "1") is transmitted from the electromagnetic induction pen 2 to the position detection device 3, and the order in which the reference alternating magnetic field PSS and the modulated alternating magnetic field PSM are transmitted by the electromagnetic induction pen 2 is reset by the position detection device 3.
  • digital data a set of bit values that are "0" or "1”
  • it is the same as the position detection system 1 according to the first embodiment, so the following description will focus on the differences from the position detection system 1 according to the first embodiment.
  • FIG. 10 is a diagram showing the configuration of a position detection system 1 according to this embodiment. The difference from the position detection system 1 shown in FIG. 2 is that the electromagnetic induction pen 2 has side switches 22a and 22b, and the first resonant circuit R1 has a switch element 25.
  • the side switches 22a and 22b are on/off switches provided on the surface of the housing of the electromagnetic induction pen 2 and are configured to be turned on and off by the user.
  • the processing circuit 23 is configured to be able to acquire the on/off states of the side switches 22a and 22b as 1-bit on/off information.
  • the processing circuit 23 in this embodiment is configured to have the function of generating 4-bit digital data representing the identification information (2-bit information) of the electromagnetic induction pen 2 that is written in advance into the processing circuit 23 and transmitting this to the position detection device 3 at the timing specified by the position detection device 3.
  • the switch element 25 is an on/off switch connected in parallel with the capacitor C, and is controlled to be turned on and off by the processing circuit 23.
  • the switch element 25 is composed of a JFET.
  • the operation when the switch element 25 is off is as described in the first embodiment.
  • the processing circuit 23 turns on the switch element 25, the coil L is short-circuited, so that neither the first resonant circuit R1 nor the second resonant circuit R2 function as a resonant circuit, and the alternating magnetic field PS is no longer emitted from the electromagnetic induction pen 2.
  • the processing circuit 23 uses this to transmit a bit value.
  • the switch element 25 when transmitting a "1", the switch element 25 is controlled to be turned off, whereas when transmitting a "0", the switch element 25 is controlled to be turned on.
  • the electromagnetic induction pen 2 when transmitting a "1", the electromagnetic induction pen 2 transmits an alternating magnetic field PS (reference alternating magnetic field PSS or modulated alternating magnetic field PSM) as usual, whereas when transmitting a "0", the electromagnetic induction pen 2 does not transmit an alternating magnetic field PS, so that the sensor controller 31 can demodulate the bit value transmitted by the electromagnetic induction pen 2 using the on-off modulation method, which is a type of amplitude shift keying method.
  • PS reference alternating magnetic field PSS or modulated alternating magnetic field PSM
  • FIG. 11 is a diagram for explaining the operation of the sensor controller 31 and processing circuit 23 according to this embodiment.
  • the sensor controller 31 according to this embodiment is configured to be operable in the operation modes LB and ID in addition to the three operation modes Wait, D-Phase, and C-SW shown in FIG. 3.
  • the order in which the reference alternating magnetic field PSS and the modulated alternating magnetic field PSM are sent by the electromagnetic induction pen 2 is reset by the position detection device 3, so that the initial setting mode shown in FIG. 7 is not necessary for the sensor controller 31 according to this embodiment.
  • the operation mode LB is a mode for resetting the order of sending the reference alternating magnetic field PSS and the modulated alternating magnetic field PSM by the electromagnetic induction pen 2 by forcibly enabling the first resonant circuit R1 in the electromagnetic induction pen 2 (i.e., turning off the switch element 24) and resetting the 3-bit counter cnt_s (described later) provided in the electromagnetic induction pen 2.
  • the sensor controller 31 that has entered the operation mode LB continues to perform the process of supplying the AC current Tx to each loop coil LCy for a predetermined time T3 that is longer than the predetermined times T1 and T2 shown in FIG. 3. As a result, the alternating magnetic field AM is continuously sent from the panel surface for the predetermined time T3.
  • the alternating magnetic field AM sent in this way is referred to as a "long burst signal”.
  • the first resonant circuit R1 becomes effective in the electromagnetic induction pen 2 after the operation mode LB, so that the sensor controller 31 that has finished the operation in the operation mode LB enters the operation mode D-Phase.
  • the operation mode ID is a mode for causing the electromagnetic induction pen 2 to transmit digital data.
  • the electromagnetic induction pen 2 is configured to transmit one bit of data (bit value) per operation mode ID by turning on and off the switch element 25 described above. Since the data transmitted in this manner is a discrete digital quantity, this transmission is a transmission by digital modulation.
  • the sensor controller 31 demodulates the bit value transmitted by the electromagnetic induction pen 2 based on whether or not an induced current Rx is received after the transmission of the alternating magnetic field AM. As described above, since the digital data transmitted by the electromagnetic induction pen 2 is four bits of data, the sensor controller 31 is configured to receive all four bits of digital data by entering the operation mode ID four times, with an operation mode Wait in between.
  • the processing circuit 23 is configured to operate using the long burst detection signal det_lb, 3-bit counter cnt_s, D-Phase detection signal det_dp, digital data transmission period detection signal det_id, first side switch selection signal sel_sw0, second side switch selection signal sel_sw1, first identification information selection signal sel_id0, second identification information selection signal sel_id1, and digital data transmission enable signal EN_ID, in addition to the clock signal Pen_clk, wait detection signal det_wait, and D-Phase enable signal EN_DP described in the first embodiment.
  • the clock signal Pen_clk is a signal that is high when the alternating magnetic field AM from the sensor controller 31 reaches the coil L, and is low when it does not.
  • the processing circuit 23 is configured to maintain the long burst detection signal det_lb low when the clock signal Pen_clk is low, and to set the long burst detection signal det_lb high when the clock signal Pen_clk remains high for a predetermined period of time or more. As a result, the long burst detection signal det_lb becomes a signal that changes to high only when a long burst signal is received from the sensor controller 31.
  • the 3-bit counter cnt_s is a counter that determines the order of digital data transmitted by the electromagnetic induction pen 2.
  • the processing circuit 23 is configured to reset the value of the 3-bit counter cnt_s to 0 in response to the long burst detection signal det_lb going high, and then count up the value of the 3-bit counter cnt_s by 1 each time the wait detection signal det_wait goes low. This count up continues until the value of the 3-bit counter cnt_s reaches 4, after which it remains at 4 until the long burst detection signal det_lb goes high again.
  • the D-Phase detection signal det_dp is a signal that indicates the switching timing of the resonant circuit.
  • the processing circuit 23 is configured to switch the value of the D-Phase detection signal det_dp between high and low in response to the wait detection signal det_wait changing to low.
  • the processing circuit 23 is configured not to switch the value of the D-Phase detection signal det_dp when the value of the 3-bit counter cnt_s is 1 to 3, and when the value of the 3-bit counter cnt_s becomes 4 and the wait detection signal det_wait changes to low for the first time. This is to prevent switching of the resonant circuit from occurring during the transmission of digital data.
  • the processing circuit 23 is also configured to set the value of the D-Phase detection signal det_dp to high in response to the long burst detection signal det_lb changing to low. This is a configuration for forcibly enabling the first resonant circuit R1 with a long burst signal, which resets the order in which the reference alternating magnetic field PSS and the modulated alternating magnetic field PSM are sent by the electromagnetic induction pen 2.
  • the digital data transmission period detection signal det_id is a signal that indicates the transmission period of digital data.
  • the processing circuit 23 is configured to set the value of the digital data transmission period detection signal det_id to high in response to the wait detection signal det_wait changing to low when the value of the 3-bit counter cnt_s is 0, and to set the value of the digital data transmission period detection signal det_id to low in response to the wait detection signal det_wait changing to low for the first time after the value of the 3-bit counter cnt_s returns to 4.
  • the first side switch selection signal sel_sw0 is a signal that indicates the timing of transmitting on/off information for the side switch 22a shown in FIG. 10.
  • the processing circuit 23 is configured to make the first side switch selection signal sel_sw0 high for a predetermined time in response to the value of the 3-bit counter cnt_s changing to 1.
  • the second side switch selection signal sel_sw1 is a signal that indicates the timing of transmitting on/off information for the side switch 22b shown in FIG. 10.
  • the processing circuit 23 is configured to make the second side switch selection signal sel_sw1 high for a predetermined time in response to the value of the 3-bit counter cnt_s changing to 2.
  • the first identification information selection signal sel_id0 and the second identification information selection signal sel_id1 are signals that indicate the transmission timing of the first and second bits of the identification information (2-bit information) of the electromagnetic induction pen 2 described above, respectively.
  • the processing circuit 23 is configured to make the first identification information selection signal sel_id0 high for a predetermined time in response to the value of the 3-bit counter cnt_s changing to 3.
  • the processing circuit 23 is also configured to make the second identification information selection signal sel_id1 high for a predetermined time in response to the value of the 3-bit counter cnt_s changing to 4.
  • the D-Phase enable signal EN_DP is a control signal for the switch element 24 shown in Figure 10.
  • the processing circuit 23 is configured to use the inverted signal of the D-Phase detection signal det_dp as the D-Phase enable signal EN_DP when the digital data transmission period detection signal det_id is low, and to fix the D-Phase enable signal EN_DP to high when the digital data transmission period detection signal det_id is high.
  • the processing circuit 23 may fix the D-Phase enable signal EN_DP to low, in which case the transmission of digital data is performed by on-off modulation of the reference alternating magnetic field PSS.
  • the digital data transmission enable signal EN_ID is a control signal for the switch element 25 shown in FIG. 10.
  • the processing circuit 23 is configured to set the digital data transmission enable signal EN_ID low when the bit value to be transmitted is "1", and to set the digital data transmission enable signal EN_ID high when the bit value to be transmitted is "0". This realizes the control of the switch element 25 described above (off when transmitting "1" and on when transmitting "0").
  • FIG. 12 is a diagram showing the internal configuration of the processing circuit 23 for realizing the operation described with reference to FIG. 11.
  • the processing circuit 23 according to this embodiment is configured to have a power supply circuit 40, a detection circuit 41, a wait detection circuit 42, a long burst detection circuit 44, a timing generation circuit 45, and four switch elements 46a to 46d.
  • the power supply circuit 40, the detection circuit 41, and the wait detection circuit 42 are the same circuits as those described in the first embodiment.
  • the long burst detection circuit 44, the timing generation circuit 45, and the switch elements 46a to 46d will be described in detail.
  • the long burst detection circuit 44 is a circuit that generates a long burst detection signal det_lb based on the clock signal Pen_clk generated by the detection circuit 41.
  • the long burst detection signal det_lb generated by the long burst detection circuit 44 is supplied to the timing generation circuit 45 together with the wait detection signal det_wait generated by the wait detection circuit 42.
  • FIG. 13 is a diagram showing the detailed configuration of the detection circuit 41, the wait detection circuit 42, and the long burst detection circuit 44. This figure is an addition of the configuration related to the long burst detection circuit 44 to FIG. 5.
  • the long burst detection circuit 44 is configured to include a resistive element 44a, a Schottky barrier diode 44b, a capacitor 44c, and a Schmitt trigger circuit 44d.
  • the resistive element 44a is connected between an input node of the long burst detection circuit 44 to which the clock signal Pen_clk is input and an input terminal of the Schmitt trigger circuit 44d.
  • the Schottky barrier diode 44b is connected in parallel with the resistive element 44a with its cathode connected to the input node of the long burst detection circuit 44.
  • the capacitor 44c is connected between the input terminal of the Schmitt trigger circuit 44d and the ground terminal.
  • the output terminal of the Schmitt trigger circuit 44d constitutes the output node of the long burst detection circuit 44.
  • the signal output from the output node of the long burst detection circuit 44 becomes the long burst detection signal det_lb described above.
  • FIG. 14 shows the simulation results of the waveforms of the electromotive force PE, the output nodes n1 and n2, the clock signal Pen_clk, the wait detection signal det_wait, and the long burst detection signal det_lb.
  • the upper part of the figure shows the corresponding operation mode of the sensor controller 31.
  • "W” means the operation mode Wait.
  • the electromotive force PE maintains a constant amplitude, and accordingly, the clock signal Pen_clk maintains high.
  • the operation of the long burst detection circuit 44 changes the long burst detection signal det_lb to high, as shown in FIG. 14.
  • the generation of the long burst detection signal det_lb by the long burst detection circuit 44 will be described in detail with reference to FIG. 13 again.
  • the clock signal Pen_clk is low, the capacitor 44c is discharged, causing a current to flow from the capacitor 44c through the Schottky barrier diode 44b toward the detection circuit 41. This discharge occurs quickly, so that the long burst detection signal det_lb, which is the output of the Schmitt trigger circuit 44d, also goes low almost at the same time as the clock signal Pen_clk goes low.
  • the clock signal Pen_clk goes high, the current from the detection circuit 41 flows through the resistance element 44a, gradually increasing the potential of the electrode of the capacitor 44c on the detection circuit 41 side.
  • the long burst detection signal det_lb which is the output of the Schmitt trigger circuit 44d, changes to high.
  • the long burst detection signal det_lb becomes the above-mentioned signal.
  • the waveform of the electromotive force PE when the sensor controller 31 is in the operation mode ID is the same as that when the sensor controller 31 is in the operation mode D-Phase or the operation mode C-SW. That is, the electromotive force PE gradually rises during the predetermined time T1 during which the sensor controller 31 is sending out the alternating magnetic field AM, and charges the capacitor C shown in Fig. 2.
  • the sensor controller 31 stops sending out the alternating magnetic field AM, and discharging from the capacitor C and the variable capacitance capacitor C SW begins. Since the sensor controller 31 is configured so that the operation mode Wait is placed before and after the operation mode ID, as shown in Fig. 14, the wait detection signal det_wait is activated to low before and after the operation mode ID.
  • the switch element 46a is a switch that is on when the side switch 22a is on and off when the side switch 22a is off.
  • One end of the switch element 46a is supplied with the power supply voltage VDD from the power supply circuit 40, and the other end is supplied with the ground potential via a resistive element.
  • the potential of the other end of the switch element 46a (the power supply voltage VDD when the switch element 46a is on, and the ground potential when the switch element 46a is off) is supplied to the timing generation circuit 45 as switch information SW0.
  • the switch element 46b is a switch that is on when the side switch 22b is on and off when the side switch 22b is off.
  • One end of the switch element 46b is supplied with the power supply voltage VDD from the power supply circuit 40, and the other end is supplied with the ground potential via a resistive element.
  • the potential of the other end of the switch element 46b (the power supply voltage VDD when the switch element 46b is on, and the ground potential when the switch element 46b is off) is supplied to the timing generation circuit 45 as switch information SW1.
  • the switch element 46c is a switch that is on when the first bit of the identification information of the electromagnetic induction pen 2 is "1" and off when it is "0".
  • One end of the switch element 46c is supplied with the power supply voltage VDD from the power supply circuit 40, and the other end is supplied with the ground potential via a resistive element.
  • the potential of the other end of the switch element 46c (the power supply voltage VDD when the switch element 46c is on, and the ground potential when it is off) is supplied to the timing generation circuit 45 as identification information ID0.
  • the switch element 46d is a switch that is on when the second bit of the identification information of the electromagnetic induction pen 2 is "1" and off when it is "0".
  • One end of the switch element 46d is supplied with the power supply voltage VDD from the power supply circuit 40, and the other end is supplied with the ground potential via a resistive element.
  • the potential of the other end of the switch element 46d (the power supply voltage VDD when the switch element 46d is on, and the ground potential when it is off) is supplied to the timing generation circuit 45 as the identification information ID1.
  • the timing generation circuit 45 is a circuit that receives the wait detection signal det_wait, the long burst detection signal det_lb, the switch information SW0, SW1, and the identification information ID0, ID1, and generates the D-Phase enable signal EN_DP and the digital data transmission enable signal EN_ID.
  • the 3-bit counter cnt_s, the D-Phase detection signal det_dp, the digital data transmission period detection signal det_id, the first side switch selection signal sel_sw0, the second side switch selection signal sel_sw1, the first identification information selection signal sel_id0, and the second identification information selection signal sel_id1 shown in FIG. 11 are generated or used inside the timing generation circuit 45.
  • FIG. 15 is a diagram showing the internal configuration of the timing generation circuit 45.
  • the timing generation circuit 45 is composed of an adder 50, D-type flip-flop circuits 51, 53, and 55, logic circuits 52, 54, and 56, AND circuits 57a to 57d, and an OR circuit 58.
  • the flip-flop circuit 51 is a circuit that outputs the value supplied to the data terminal from the output terminal when the clock terminal is activated.
  • a 3-bit value is supplied to the data terminal of the flip-flop circuit 51 from the adder 50, and the output value of the flip-flop circuit 51 is supplied to the logic circuit 56 as the 3-bit counter cnt_s shown in FIG. 11.
  • the adder 50 is a circuit that supplies a 3-bit value obtained by adding 1 to the 3-bit counter cnt_s output from the flip-flop circuit 51 to the data terminal of the flip-flop circuit 51.
  • the adder 50 is configured to supply 4 to the data terminal of the flip-flop circuit 51 when the addition result is 5. This limits the output value of the adder 50 to an integer value of 4 or less.
  • the clock terminal of the flip-flop circuit 51 is supplied with an inverted signal of the wait detection signal det_wait.
  • the 3-bit counter cnt_s which is the output value of the flip-flop circuit 51, is increased by 1 each time the wait detection signal det_wait is activated to low.
  • the maximum value of the 3-bit counter cnt_s is also 4.
  • the reset terminal of the flip-flop circuit 51 is supplied with an inverted signal of the long burst detection signal det_lb. As a result, when the long burst detection signal det_lb becomes high, the 3-bit counter cnt_s is reset to 0.
  • flip-flop circuit 53 is a circuit that outputs the value supplied to the data terminal from the output terminal when the clock terminal is activated.
  • a 1-bit value is supplied to the data terminal of flip-flop circuit 53 from logic circuit 52, and the output value of flip-flop circuit 53 is supplied to logic circuit 56 as the D-Phase detection signal det_dp shown in FIG. 11.
  • the logic circuit 52 inverts the output value (0 or 1) of the flip-flop circuit 53 and supplies it to the data terminal of the flip-flop circuit 53 only when the value of the 3-bit counter cnt_s is 4.
  • the clock terminal of the flip-flop circuit 53 is supplied with an inverted signal of the wait detection signal det_wait. Therefore, the value of the D-Phase detection signal det_dp inverts between 0 and 1 each time the wait detection signal det_wait is activated low only when the value of the 3-bit counter cnt_s is 4.
  • the inverted signal of the long burst detection signal det_lb is supplied to the reset terminal of the flip-flop circuit 53.
  • the value of the D-Phase detection signal det_dp is reset to 1 in response to the long burst detection signal det_lb going high.
  • flip-flop circuit 55 is a circuit that outputs the value supplied to the data terminal from the output terminal when the clock terminal is activated.
  • a 1-bit value is supplied to the data terminal of flip-flop circuit 55 from logic circuit 54, and the output value of flip-flop circuit 55 is supplied to logic circuit 56 as digital data transmission period detection signal det_id shown in FIG. 11.
  • the logic circuit 54 inverts the output value (0 or 1) of the flip-flop circuit 53 and supplies it to the data terminal of the flip-flop circuit 53 when the value of the 3-bit counter cnt_s is 0, and supplies 0 to the data terminal of the flip-flop circuit 53 when the value of the 3-bit counter cnt_s is 4.
  • the clock terminal of the flip-flop circuit 55 is supplied with an inverted signal of the wait detection signal det_wait, as with the flip-flop circuits 51 and 53.
  • the value of the digital data transmission period detection signal det_id becomes 1 in response to the wait detection signal det_wait changing to low when the value of the 3-bit counter cnt_s is 0, and becomes 0 in response to the wait detection signal det_wait changing to low when the value of the 3-bit counter cnt_s is 4.
  • the logic circuit 56 is a circuit that generates the D-Phase enable signal EN_DP, the first side switch selection signal sel_sw0, the second side switch selection signal sw1, the first identification information selection signal sel_id0, and the second identification information selection signal sel_id1 based on the values of the 3-bit counter cnt_s, the D-Phase detection signal det_dp, and the digital data transmission period detection signal det_id.
  • the logic circuit 56 is configured to generate the D-Phase enable signal EN_DP by setting the inverted signal of the D-Phase detection signal det_dp as the D-Phase enable signal EN_DP when the digital data transmission period detection signal det_id is low, and by fixing the D-Phase enable signal EN_DP to high when the digital data transmission period detection signal det_id is high.
  • the generation of the D-Phase enable signal EN_DP when the digital data transmission period detection signal det_id is low is the same as the operation of the toggle circuit 43 shown in FIG. 4, except that the D-Phase detection signal det_dp is sandwiched between them. Therefore, it can be said that the timing generation circuit 45 includes the toggle circuit 43.
  • the logic circuit 56 also performs processing to activate the first side switch selection signal sel_sw0 to high for a predetermined time in response to the value of the 3-bit counter cnt_s changing to 1, the second side switch selection signal sel_sw1 to high in response to the value of the 3-bit counter cnt_s changing to 2, the first identification information selection signal sel_id0 to high in response to the value of the 3-bit counter cnt_s changing to 3, and the second identification information selection signal sel_id1 to high in response to the value of the 3-bit counter cnt_s changing to 4.
  • the AND circuit 57a is a circuit that outputs a high signal when both the first side switch selection signal sel_sw0 and the switch information SW0 shown in FIG. 12 are high, and outputs a low signal otherwise.
  • the AND circuit 57b is a circuit that outputs a high signal when both the second side switch selection signal sel_sw1 and the switch information SW1 shown in FIG. 12 are high, and outputs a low signal otherwise.
  • the AND circuit 57c is a circuit that outputs a high signal when both the first identification information selection signal sel_id0 and the identification information ID0 shown in FIG. 12 are high, and outputs a low signal otherwise.
  • the AND circuit 57d is a circuit that outputs a high signal when both the second identification information selection signal sel_id1 and the identification information ID1 shown in FIG. 12 are high, and outputs a low signal otherwise.
  • the OR circuit 58 is a circuit that outputs a low signal when the outputs of all four AND circuits 57a to 57d are low, and outputs a high signal otherwise.
  • the digital data transmission enable signal EN_ID described above is an inverted signal of the output of the OR circuit 58. As a result, the digital data transmission enable signal EN_ID is low when the bit value to be transmitted is “1" and high when the bit value is "0", thereby achieving the control of the switch element 25 described above (off when transmitting "1" and on when transmitting "0").
  • FIGS. 16 and 17 are flow diagrams showing the processing performed by the sensor controller 31 according to this embodiment. Below, the operation of the sensor controller 31 according to this embodiment will be explained in more detail with reference to these figures.
  • the sensor controller 31 first enters the operation mode LB (step S30) and sends out a long burst signal (step S31). This resets the order in which the electromagnetic induction pen 2 sends out the reference alternating magnetic field PSS and the modulated alternating magnetic field PSM, so that the next alternating magnetic field PS sent by the electromagnetic induction pen 2 is always the reference alternating magnetic field PSS.
  • the sensor controller 31 then enters the operation mode D-Phase (step S32) and supplies an alternating current Tx to each loop coil LCy and detects the amplitude of the induced current Rx appearing in each loop coil LCx (step S33).
  • the sensor controller 31 derives the position of the electromagnetic induction pen 2 based on the amplitude of the induced current Rx in each loop coil LCy detected in step S33, and outputs the position to the host processor 32 (step S34).
  • the sensor controller 31 also derives the phase of the induced current Rx in the loop coil LCx with the largest amplitude detected in step S33, and stores the phase as a reference phase (step S35).
  • the sensor controller 31 determines whether or not it is currently time to receive digital data from the electromagnetic induction pen 2 (step S36). This determination result is positive immediately after transmitting the long burst signal in step S31 (i.e., after the D-Phase operation mode is executed only once after transmitting the long burst signal), and is negative at other times. If the sensor controller 31 obtains a positive determination result in step S36, it performs digital data reception processing to receive the digital data transmitted by the electromagnetic induction pen 2 (step S37).
  • FIG. 18 is a diagram showing details of the digital data reception process executed in step S37 in FIG. 16.
  • the sensor controller 31 first assigns 1 to the variable i (step S50), and then selects one each of the multiple loop coils LCy and multiple loop coils LCx that are closest to the position of the electromagnetic induction pen 2 derived in the previous step S34 (see FIG. 16) (step S51).
  • the sensor controller 31 waits for a predetermined time by entering the operation mode Wait (step S52), and then enters the operation mode ID (step S53), and executes the supply of AC current Tx to the loop coil LCy selected in step S51 and the detection of induced current Rx appearing in the loop coil LCx selected in step S51 (step S54). Then, based on the detection result of induced current Rx, the sensor controller 31 demodulates the i-th bit value sent by the electromagnetic induction pen 2 (steps S55 to S57).
  • the sensor controller 31 determines whether or not induced current Rx was detected in step S44 (step S55), and if it is determined that induced current Rx was detected, it obtains "1" (step S56), and if it is determined that induced current Rx was not detected, it obtains "0" (step S57).
  • the sensor controller 31 increments the variable i by 1 (step S58) and determines whether or not the variable i has exceeded 4 (step S59). If the result is that the variable i has not exceeded 4, the process returns to step S52 and is repeated, and if the variable i has exceeded 4, the digital data reception process ends. Through the above process, the sensor controller 31 receives the 4-bit digital data transmitted by the electromagnetic induction pen 2.
  • the sensor controller 31 that has completed the digital data reception process in step S37, or that has obtained a negative determination result in step S36, waits for a predetermined time by entering an operation mode Wait (step S38), and then determines whether or not the predetermined time has elapsed since the previous transmission of a long burst signal (step S39). As a result, if it is determined that the predetermined time has elapsed, the process returns to step S30 and re-enters the operation mode LB, and if it is determined that the time has not elapsed, the process proceeds to step S40 in FIG. 17.
  • step S40 the sensor controller 31 enters the operation mode C-SW. Then, similar to step S33 in FIG. 16, it supplies an AC current Tx to each loop coil LCy and detects the amplitude of the induced current Rx appearing in each loop coil LCx (step S41).
  • the sensor controller 31 then derives the position of the electromagnetic induction pen 2 based on the amplitude of the induced current Rx in each loop coil LCy detected in step S41, and outputs the position to the host processor 32 (step S42).
  • the sensor controller 31 also derives the phase of the induced current Rx in the loop coil LCx with the largest amplitude detected in step S41 (step S43).
  • the sensor controller 31 derives the writing pressure value P transmitted by the electromagnetic induction pen 2 based on the derived phase and the reference phase stored in the most recent step S35, and outputs the value to the host processor 32 (step S44).
  • the specific method of deriving the writing pressure value P is as described in the first embodiment.
  • the sensor controller 31 waits for a predetermined time by entering the operation mode Wait (step S45), and then determines whether or not the predetermined time has elapsed since the previous transmission of the long burst signal (step S46). If it determines that the time has elapsed, it returns to step S30 and re-enters the operation mode LB, and if it determines that the time has not elapsed, it returns to step S32 and re-enters the operation mode D-Phase.
  • the position detection system 1 of this embodiment by alternately sending out a reference alternating magnetic field and a modulated alternating magnetic field from the electromagnetic induction pen 2, it is possible to improve the detection accuracy of values indicating the user's actions, such as the writing pressure value P, compared to the conventional art, while also making it possible to transmit digital data from the electromagnetic induction pen 2 to the position detection device 3.
  • the order in which the reference alternating magnetic field PSS and the modulated alternating magnetic field PSM are sent by the electromagnetic induction pen 2 can be reset from the sensor controller 31, so the sensor controller 31 does not need to perform the initial setting mode described in the first embodiment, and therefore it is possible to start deriving the pen pressure value P earlier.
  • both the digital data switch information SW0, SW1 and identification information ID0, ID1
  • the analog operation amount pen pressure value P
  • the position detection system 1 according to this embodiment differs from the position detection system 1 according to the second embodiment in that the electromagnetic induction pen 2 transmits one bit of digital data depending on the type of alternating magnetic field PS it emits (reference alternating magnetic field PSS or modulated alternating magnetic field PSM), rather than on whether or not it emits an alternating magnetic field PS.
  • the electromagnetic induction pen 2 transmits one bit of digital data depending on the type of alternating magnetic field PS it emits (reference alternating magnetic field PSS or modulated alternating magnetic field PSM), rather than on whether or not it emits an alternating magnetic field PS.
  • the electromagnetic induction pen 2 transmits one bit of digital data depending on the type of alternating magnetic field PS it emits (reference alternating magnetic field PSS or modulated alternating magnetic field PSM), rather than on whether or not it emits an alternating magnetic field PS.
  • the electromagnetic induction pen 2 transmits one bit of digital data depending on the type of alternating magnetic field PS it emits (reference alternating magnetic field PSS or modulated alternating magnetic
  • FIG. 19 is a diagram showing the internal configuration of the electromagnetic induction pen 2 in the position detection system 1 according to this embodiment. As can be seen by comparing FIG. 19 with FIG. 12, the electromagnetic induction pen 2 according to this embodiment differs from the electromagnetic induction pen 2 according to the second embodiment in that it has an AND circuit 47 in the processing circuit 23 and that the first resonant circuit R1 does not have a switch element 25.
  • the AND circuit 47 is a circuit that outputs a high signal when the D-Phase enable signal EN_DP and the digital data transmission enable signal EN_ID output from the timing generation circuit 45 are both high, and outputs a low signal otherwise.
  • the output of the AND circuit 47 is supplied to the gate of the switch element 24.
  • the D-Phase enable signal EN_DP is fixed to high when digital data is being transmitted from the electromagnetic induction pen 2.
  • the digital data transmission enable signal EN_ID is fixed to high when digital data is not being transmitted from the electromagnetic induction pen 2.
  • the AND circuit 47 when digital data is transmitted from the electromagnetic induction pen 2, the value of the digital data transmission enable signal EN_ID is supplied to the gate of the switch element 24, so that when the bit value to be transmitted is "1" (i.e., when the digital data transmission enable signal EN_ID is low), the reference alternating magnetic field PSS is transmitted, and when the bit value to be transmitted is "0" (i.e., when the digital data transmission enable signal EN_ID is high), the modulated alternating magnetic field PSM is transmitted. Also, according to the AND circuit 47, when digital data is not transmitted from the electromagnetic induction pen 2, either the reference alternating magnetic field PSS or the modulated alternating magnetic field PSM is transmitted in accordance with the D-Phase enable signal EN_DP.
  • FIG. 20 is a flow diagram showing the digital data reception process performed by the sensor controller 31 according to this embodiment.
  • the digital data reception process performed by the sensor controller 31 according to this embodiment differs from the digital data reception process performed by the sensor controller 31 according to the second embodiment in that steps S60 to S62 are executed instead of steps S54 and S55.
  • steps S60 to S62 are executed instead of steps S54 and S55.
  • steps S60 to S62 are executed instead of steps S54 and S55.
  • the sensor controller 31 After entering the operation mode ID in step S53, the sensor controller 31 according to this embodiment supplies an AC current Tx to the loop coil LCy selected in step S51 and derives the phase of the induced current Rx appearing in the loop coil LCx selected in step S51 (step S60). Then, the sensor controller 31 demodulates the i-th bit value sent by the electromagnetic induction pen 2 based on the derived phase and the reference phase stored in the most recent step S35 (see FIG. 16) (steps S61, S62, S56, S57).
  • step S61, S62 determines whether the received alternating magnetic field PS is the reference alternating magnetic field PSS or the modulated alternating magnetic field PSM (steps S61, S62), and if it is determined to be the reference alternating magnetic field PSS, it obtains "1" (step S56), and if it is determined to be the modulated alternating magnetic field PSM, it obtains "0" (step S57).
  • step S61, S62 determines whether the received alternating magnetic field PS is the reference alternating magnetic field PSS or the modulated alternating magnetic field PSM.
  • the electromagnetic induction pen 2 can transmit digital data by switching between transmitting the reference alternating magnetic field PSS and the modulated alternating magnetic field PSM. Therefore, even when transmitting digital data, it is possible to maintain the state in which the electromagnetic induction pen 2 transmits the alternating magnetic field PS.
  • the position detection system 1 according to this embodiment differs from the position detection system 1 according to the second embodiment in that the electromagnetic induction pen 2 is configured to continuously transmit digital data including switch information SW0, SW1 and identification information ID0, ID1 regardless of whether a long burst signal is received or not.
  • the electromagnetic induction pen 2 is configured to continuously transmit digital data including switch information SW0, SW1 and identification information ID0, ID1 regardless of whether a long burst signal is received or not.
  • it is similar to the position detection system 1 according to the second embodiment, so the following description will focus on the differences from the position detection system 1 according to the second embodiment.
  • Figures 21 to 23 are diagrams for explaining the operation of the sensor controller 31 and processing circuit 23 according to this embodiment.
  • Figure 22 shows a continuation of Figure 21, and Figure 23 shows a continuation of Figure 22.
  • the sensor controller 31 according to this embodiment is configured to enter operation mode LB and the subsequent operation mode D-Phase, and then enter operation mode Wait, operation mode ID, operation mode Wait, operation mode C-SW, operation mode Wait, operation mode ID, operation mode Wait, and operation mode D-Phase in that order, and to repeat the same operation until it next enters operation mode LB (for example, until a predetermined time has passed since the previous transmission of a long burst signal).
  • 21 to 23 show an example of entering operation mode LB again after going through operation modes D-Phase and C-SW six times each from the initial operation mode LB, but this is merely one example showing the operation when entering the next operation mode LB, and it is sufficient for the actual sensor controller 31 to enter operation mode LB less frequently.
  • the internal configuration of the processing circuit 23 is the same as that shown in FIG. 12. However, there are some differences in the configuration and operation of the timing generation circuit 45 from the second embodiment. To be more specific, the timing generation circuit 45 of this embodiment is configured to have a 4-bit counter cnt_s instead of the 3-bit counter cnt_s.
  • the timing generation circuit 45 resets the value of the 4-bit counter cnt_s to 0 in response to the long burst detection signal det_lb going high, and then counts up the value of the 4-bit counter cnt_s by 1 when the wait detection signal det_wait goes low on the odd-numbered occasion counted from the time when the long burst detection signal det_lb went high. This count-up continues until the value of the 4-bit counter cnt_s reaches 9, after which the value of the 4-bit counter cnt_s is temporarily reset to 1 and the same count-up continues again.
  • the timing generation circuit 45 is configured to change the value of the D-Phase detection signal det_dp to low in response to the long burst detection signal det_lb going high, and then switch the value of the D-Phase detection signal det_dp between high and low at the timing when the wait detection signal det_wait goes low 4n+2 and 4n+3 times (n is an integer equal to or greater than 0) counting from the timing when the long burst detection signal det_lb went high.
  • the timing generation circuit 45 is configured to always use the inverted signal of the D-Phase detection signal det_dp as the D-Phase enable signal EN_DP.
  • the alternating magnetic field transmitted by the electromagnetic induction pen 2 becomes a modulated alternating magnetic field PSM when the sensor controller 31 is in the operating mode C-SW, and becomes a reference alternating magnetic field PSS when the sensor controller 31 is in the operating mode D-Phase or operating mode ID.
  • the digital data transmitted by the electromagnetic induction pen 2 includes the above-mentioned switch information SW0, SW1, and identification information ID0, ID1, as well as 1 bit of start data STA and 4 bits of stop data STP0 to STP3.
  • the timing generation circuit 45 controls the digital data transmission enable signal EN_ID so that these 9-bit values are transmitted one bit at a time at a time according to the value of the 4-bit counter cnt_s.
  • the circuit is configured to sequentially control the digital data transmission enable signal EN_ID based on the start data STA, switch information SW0, SW1, identification information ID0, ID1, and stop data STP0 to STP3 in response to the value of the 4-bit counter cnt_s changing from 1 to 9.
  • the sensor controller 31 sequentially receives the start data STA, switch information SW0, SW1, identification information ID0, ID1, and stop data STP0 to STP3 each time it enters the operating mode ID after transmitting a long burst signal.
  • the start data STA and the stop data STP0 to STP3 are used to determine the beginning and end of the data received by the sensor controller 31.
  • FIGS. 24 and 25 are flow diagrams showing the processing performed by the sensor controller 31 according to this embodiment. These figures are modified versions of FIGS. 16 and 18, and the same reference numerals as in FIGS. 16 and 18 are used for parts that perform the same processing as in FIGS. 16 and 18. The operation of the sensor controller 31 according to this embodiment will be described in more detail below with reference to FIGS. 24 and 25.
  • the sensor controller 31 performs the processes of steps S30 to S35 in the same manner as in the example of FIG. 16, and then performs digital data reception processing to receive the digital data transmitted by the electromagnetic induction pen 2 (step S70).
  • FIG 25 shows details of the digital data reception process executed in step S70 of Figure 24.
  • the sensor controller 31 according to this embodiment performs the processes of steps S51 to S57 in the same manner as the example of Figure 18, and then stores the bit value acquired in step S56 or step S57 (step S71). It then determines whether the first bit of the latest 9 bits is equal to the start data STA, and whether the last 4 bits are equal to the stop data STP0 to STP3 (steps S72, S73).
  • step S73 If it is determined in step S73 that they are equal, the sensor controller 31 acquires the switch information SW0, SW1 and the identification information ID0, ID1 based on the second to fifth bits of the most recent nine bits (step S74), and ends the digital data reception process. If it is not determined in step S73 that they are equal, the sensor controller 31 ends the digital data reception process without executing step S74.
  • the sensor controller 31 executes the processes from step S38 onwards, similar to the examples in FIG. 16 and FIG. 17. This allows the sensor controller 31 to alternately enter the operation mode D-Phase and the operation mode C-SW with the operation mode ID in between, and to enter the operation mode LB again when a predetermined time has passed since the previous transmission of a long burst signal.
  • the position detection system 1 according to this embodiment has the effect of significantly reducing the frequency of transmission of the long burst signal compared to the position detection system 1 according to the second embodiment. That is, in the position detection system 1 according to this embodiment, the electromagnetic induction pen 2 repeatedly transmits 9-bit information including the switch information SW0, SW1 and the identification information ID0, ID1 regardless of whether or not a long burst signal is received, so the sensor controller 31 can continuously receive the switch information SW0, SW1 and the identification information ID0, ID1 from the electromagnetic induction pen 2 without generating a trigger such as a long burst signal.
  • the sensor controller 31 does not need to transmit a long burst signal to make the electromagnetic induction pen 2 transmit the switch information SW0, SW1 and the identification information ID0, ID1, so that the frequency of transmission of the long burst signal can be significantly reduced.
  • the sensor controller 31 may transmit a long burst signal only when the electromagnetic induction pen 2 is newly detected, in order to initialize the transmission order of the reference alternating magnetic field PSS and the modulated alternating magnetic field PSM.
  • the position detection system 1 according to this embodiment differs from the position detection system 1 according to the second embodiment in that the electromagnetic induction pen 2 is configured to simultaneously transmit multiple bits of digital data by frequency shift keying. In other respects, it is similar to the position detection system 1 according to the second embodiment, so the following description will focus on the differences with the position detection system 1 according to the second embodiment.
  • Fig. 26 is a diagram showing the configuration of the electromagnetic induction pen 2 according to this embodiment. As can be understood by comparing Fig. 26 with Fig. 10, the electromagnetic induction pen 2 according to this embodiment differs from the electromagnetic induction pen 2 according to the second embodiment in that it has capacitors C1 to C4 and switch elements 65 to 68 instead of the switch element 25.
  • the capacitors C 1 to C 4 are connected in parallel with the capacitor C.
  • the switch elements 65 to 68 are connected in series with the capacitors C 1 to C 4.
  • the electromagnetic induction pen 2 is configured to turn off the switch element 24 and turn on the switch elements 65 to 68 when sending out the reference alternating magnetic field PSS.
  • the frequency (reference frequency) of the reference alternating magnetic field PSS is a value (frequency f 0 described later) determined by the combined capacitance of the capacitors C, C 1 to C 4.
  • the electromagnetic induction pen 2 is configured to turn on all of the switch elements 24, 65 to 68.
  • the frequency of the modulated alternating magnetic field PSM is a value (frequency f SW described later) determined by the combined capacitance of the capacitors C, C SW , and C 1 to C 4 .
  • the electromagnetic induction pen 2 when transmitting digital data, is configured to turn off the switch element 24 while controlling the on/off of the switch elements 65 to 68 according to the transmission value.
  • the frequency of the alternating magnetic field sent out from the electromagnetic induction pen 2 becomes a value (frequencies f0 to f15 described later) determined by the combined capacitance of the capacitor C and those of the capacitors C1 to C4 that are connected to the capacitor C.
  • the electromagnetic induction pen 2 according to this embodiment is configured to transmit 4-bit digital data by utilizing the nature of the frequency of such an alternating magnetic field.
  • FIG. 27(a) is a diagram showing the relationship between the values transmitted by the electromagnetic induction pen 2 (including the pen pressure value P which is an analog operation amount), the on/off states of the switch elements 24, 65 to 68, the combined capacitance C C of the capacitors C, C SW , C 1 to C 4 which are incorporated into the resonant circuit, and the resonant frequency f R of the resonant circuit.
  • the capacitances of the capacitors C, C SW , C 1 to C 4 are represented as C, C SW , C 1 to C 4 , respectively, and the inductance of the coil L is represented as L.
  • the transmission of the writing pressure value P by the electromagnetic induction pen 2 is a transmission by analog modulation (more specifically, frequency modulation).
  • the transmission of digital data by the electromagnetic induction pen 2 is a transmission by digital modulation (more specifically, frequency shift keying).
  • the frequency fSW which is the value of the resonance frequency fR when the electromagnetic induction pen 2 transmits the pen pressure value P, changes within a frequency range smaller than any of the frequencies f0 to f15 . This is because the value C+ CSW + C1 + C4 + C3 + C4 of the composite capacitance CCC in this case is the largest value among the multiple values of the composite capacitance CCC shown in FIG. 27A, regardless of the value of the capacitance CSW .
  • the value of the resonance frequency fR when the electromagnetic induction pen 2 transmits digital data is either the reference frequency f0 or any of the higher frequencies f1 to f15 .
  • the reason why the reference frequency f0 is the smallest among the frequencies f0 to f15 is because the value C+ C1 + C4 + C3 + C4 of the composite capacitance CC corresponding to the transmission value 0000 is larger than the values of the composite capacitance CC corresponding to the other transmission values 0001 to 1111.
  • digital modulation is performed by increasing the resonance frequency fR from the reference frequency f0
  • analog modulation is performed by continuously changing the resonance frequency fR by a value smaller than the reference frequency f0 , so that the amount of change in frequency from the reference frequency f0 can be suppressed compared to the case where both digital modulation and analog modulation are performed on the same positive and negative sides as viewed from the reference frequency f0 . Therefore, according to the position detection system 1 of this embodiment, it is possible to narrow the range of the discrete Fourier transform (or fast Fourier transform) of the induced current Rx performed by the sensor controller 31.
  • the method of transmitting digital data according to the fifth embodiment can also be applied to the transmission of digital data by the electromagnetic induction pen 2 according to the second or fourth embodiment. That is, the electromagnetic induction pen 2 according to the second or fourth embodiment can transmit four bits of digital data simultaneously by frequency shift keying realized by on/off control of the switch elements 65 to 68, instead of transmitting one bit of digital data by amplitude shift keying realized by on/off control of the switch element 25. This makes it possible to transmit more digital data, or to transmit a predetermined number of bits of digital data in a shorter time, or to achieve both.
  • Position detection system Electromagnetic induction pen 3 Position detection device 20 Core body 21 Pressure sensor 22a, 22b Side switch 23 Processing circuit 24, 25 Switch element 30 Switch section 31 Sensor controller 32 Host processor 40 Power supply circuit 41 Detection circuit 41a Half-wave voltage doubler rectifier circuit 41b, 41d Voltage divider circuit 41c Smoothing circuit 41e Operational amplifier 41f, 42a, 44a Resistance element 41g, 41i Inversion buffer circuit 41h RC low pass filter 42 Wait detection circuit 42b, 44b Schottky barrier diode 42c, 44c Capacitor 42d, 44d Schmitt trigger circuit 43 Toggle circuit 43a, 51, 53, 55 Flip-flop circuit 44 Long burst detection circuit 45 Timing generation circuit 46a to 46d, 65 to 68 Switch element 47, 57a to 57d AND circuit 50 Adders 52, 54, 56 Logic circuit 58 OR circuit AM Alternating magnetic field C, C1 to C4 Capacitors C SW Variable capacitance capacitor L Coils LC, LCy, LCx

Landscapes

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

Abstract

【課題】使用者の所作を示す値の検出精度を従来よりも向上する。 【解決手段】電磁誘導ペンは、コイルL及びコンデンサCを含んで構成される第1の共振回路R1と、第1の共振回路R1に接続される可変容量コンデンサCSWと、を含む電磁誘導ペンである。可変容量コンデンサCSWは、該可変容量コンデンサCSWと及び第1の共振回路R1を含んで構成される第2の共振回路R2の共振周波数を使用者の所作に関連して変化させる変化素子であり、電磁誘導ペンは、第1の共振回路R1を用いた基準交番磁界の送出と、第2の共振回路R2を用いた変調交番磁界の送出とを切り替えるトグル回路43をさらに含む。

Description

電磁誘導ペン、集積回路、及び位置検出装置
 本発明は、電磁誘導ペン、集積回路、及び位置検出装置に関する。
 インダクタンス素子及び静電容量素子が直列に接続されてなる第1の共振回路と、第1の共振回路に可変容量素子を追加してなる第2の共振回路とを切り替え可能に構成され、いずれか一方の共振回路から交番磁界を送出するように構成された電磁誘導ペンが知られている。可変容量素子は、電磁誘導ペンの筆圧(ペン先に加わる圧力)によって容量が変化するよう構成されており、第1の共振回路を構成する静電容量素子と並列に接続される。以下では、電磁誘導ペンが第1の共振回路を用いて送出する交番磁界を「基準交番磁界」と称し、電磁誘導ペンが第2の共振回路を用いて送出する交番磁界を「変調交番磁界」と称する。
 この種の電磁誘導ペンの位置を検出する位置検出装置は、第1の共振回路を用いて動作している電磁誘導ペンから送出される基準交番磁界の周波数を基準周波数として記憶し、第2の共振回路を用いて動作している電磁誘導ペンから送出される変調交番磁界の周波数と、記憶しておいた基準周波数との差分に基づいて、筆圧を検出するよう構成される。こうすることで、電磁誘導ペンの近傍に金属が存在するなどの理由によって第1の共振回路の共振周波数(=基準周波数)が変化してしまった場合であっても、電磁誘導ペンの筆圧を精度よく検出することが可能になる。
 特許文献1には、この種の電磁誘導ペン及び位置検出装置の例が開示されている。同文献に記載の電磁誘導ペン(位置指示器)は、上述した可変容量素子と直列に接続されたノーマリオンタイプの接合型電界効果トランジスタ(JFET:Junction Field Effect Transistor)を有し、位置検出装置からの交番磁界が一定時間以上継続した場合に、このJFETがオフになるよう構成されている。これにより特許文献1の位置検出装置は、交番磁界の送出を所定時間以上にわたって継続することにより、電磁誘導ペンに基準交番磁界を送出させることが可能とされている。
 また、特許文献1には、第1の共振回路を短絡するスイッチ回路を設け、ビット「0」を送信する際にはこのスイッチ回路をオンに制御し、ビット「1」を送信する際にはこのスイッチ回路をオフに制御することで、電磁誘導ペンから位置検出装置に対し、オンオフ変調によりデジタルデータを送信できるようにすることも開示されている。
国際公開第2016/056299号明細書
 しかしながら、特許文献1に記載の構成によれば、位置検出装置は、電磁誘導ペンに基準交番磁界を送出させるために、交番磁界の送出を所定時間以上にわたって継続しなければならない。基準周波数はこの所定時間よりも短い時間で変化することがあり、また、長時間にわたる交番磁界の送出を頻繁に行うこともできないため、特許文献1に記載の構成では、位置検出装置が記憶している基準周波数が、変調交番磁界を受信するタイミングでの実際の基準周波数の値から乖離し、その結果として、筆圧の検出精度が低下してしまう場合があった。筆圧以外の使用者の所作を示す値(筐体のグリップ圧を示す値など)によって可変容量素子の容量を変化させる場合も同様であり、その値の検出精度が低下してしまう場合があった。
 したがって、本発明の目的の一つは、使用者の所作を示す値の検出精度を従来よりも向上できる電磁誘導ペン及び集積回路を提供することにある。
 また、特許文献1の構成によれば、ペン先に圧力が加わっていない場合であっても、上述した差分(変調交番磁界の周波数と基準周波数との差分)がペン先に圧力の加わっていないことを示す所定値(通常は0。以下「ホバー指示値」という)にならない場合がある。これは、上述したJFETの自己容量や外部要因などのため、電磁誘導ペンから送出される交番磁界の周波数が常に僅かに振動していることによるものであるが、ペン先に圧力が加わっているか否かを実質的に判定するための処理を描画アプリケーションに実装しなくてはならなくなるので、改善が必要とされている。
 したがって、本発明の目的の他の一つは、ペン先に圧力が加わっていない場合に、基準交番磁界の周波数と変調交番磁界の周波数の差分をホバー指示値とすることができる位置検出装置を提供することにある。
 また、特許文献1の構成によれば、ビット「0」を送信するために上述したスイッチ回路をオンにしているときには、電磁誘導ペンは交番磁界を何ら送出していない状態になる。この状態は好ましくないので、改善が必要とされている。
 したがって、本発明の目的のさらに他の一つは、デジタルデータを送信するときにも電磁誘導ペンから交番磁界を送出している状態を維持できる電磁誘導ペン及び位置検出装置を提供することにある。
 また、特許文献1の構成によれば、電磁誘導ペンが識別信号IDを送信する実施例(図11)では、位置検出装置は、バースト信号の送出中に電磁誘導ペンからの交番磁界(筆圧を検出するための交番磁界、及び、識別信号IDを受信するための交番磁界を含む)を受信することになる。しかし、この構成では電磁誘導ペンからの交番磁界にバースト信号が重畳してしまうため、筆圧の検出や識別信号IDの受信に失敗することがあった。
 したがって、本発明の目的のさらに他の一つは、電磁誘導ペンが送信したアナログ操作量の検出及びデジタルデータの受信に位置検出装置が失敗することを防止できる電磁誘導ペンを提供することにある。
 本発明の第1の側面による電磁誘導ペンは、インダクタンス素子及び静電容量素子を含んで構成される第1の共振回路と、前記第1の共振回路に接続される変化素子と、を含む電磁誘導ペンであって、前記変化素子は、該変化素子及び前記第1の共振回路を含んで構成される第2の共振回路の共振周波数を使用者の所作に関連して変化させる素子であり、前記第1の共振回路を用いた基準交番磁界の送出と、前記第2の共振回路を用いた変調交番磁界の送出とを切り替えるトグル回路をさらに含む、電磁誘導ペンである。
 本発明の第2の側面による集積回路は、インダクタンス素子及び静電容量素子を含んで構成される第1の共振回路と、前記第1の共振回路に接続される変化素子と、を含み、前記変化素子は、該変化素子及び前記第1の共振回路を含んで構成される第2の共振回路の共振周波数を使用者の所作に関連して変化させる素子である、電磁誘導ペンから、前記第1の共振回路を用いて生成される基準交番磁界、又は、前記第2の共振回路を用いて生成される変調交番磁界である交番磁界を受信し、受信した前記交番磁界が前記基準交番磁界及び前記変調交番磁界のいずれであるかを判定し、前記基準交番磁界であると判定した前記交番磁界の受信結果に基づいて、前記変調交番磁界により示されるアナログ量に対応するデジタル値を出力する、位置検出装置用の集積回路である。
 本発明の第3の側面による位置検出装置は、インダクタンス素子及び静電容量素子を含んで構成される第1の共振回路と、前記第1の共振回路に接続される変化素子と、を含み、前記変化素子は、該変化素子及び前記第1の共振回路を含んで構成される第2の共振回路の共振周波数を使用者の所作に関連して変化させる素子である、電磁誘導ペンから、前記第1の共振回路を用いて生成される基準交番磁界、及び、前記第2の共振回路を用いて生成される変調交番磁界をそれぞれ受信し、前記基準交番磁界に基づいて第1の出力を取得し、前記変調交番磁界に基づいて第2の出力を取得し、前記第1の出力と前記第2の出力の差分に対し、所定のオフセット量を加算又は減算することにより第3の出力を取得し、前記第3の出力を所定の変換規則によりデジタル値に変換する、位置検出装置である。
 本発明の第4の側面による電磁誘導ペンは、インダクタンス素子及び静電容量素子を含んで構成される第1の共振回路と、前記第1の共振回路に接続される変化素子と、を含む電磁誘導ペンであって、前記変化素子は、該変化素子及び前記第1の共振回路を含んで構成される第2の共振回路の共振周波数を使用者の所作に関連して変化させる素子であり、位置検出装置に対して送信するビット値に基づき、前記第1の共振回路を用いた基準交番磁界の送出と、前記第2の共振回路を用いた変調交番磁界の送出とを切り替える処理回路をさらに含む、電磁誘導ペンである。
 本発明の第4の側面による位置検出装置は、インダクタンス素子及び静電容量素子を含んで構成される第1の共振回路と、前記第1の共振回路に接続される変化素子と、を含み、前記変化素子は、該変化素子及び前記第1の共振回路を含んで構成される第2の共振回路の共振周波数を使用者の所作に関連して変化させる素子である、電磁誘導ペンから、前記第1の共振回路を用いて生成される基準交番磁界、又は、前記第2の共振回路を用いて生成される変調交番磁界である交番磁界を受信し、前記交番磁界が前記基準交番磁界及び前記変調交番磁界のいずれであるかを判定し、前記判定の結果に基づいて、前記電磁誘導ペンが送信したビット値を取得する、位置検出装置である。
 本発明の第5の側面による電磁誘導ペンは、デジタルデータをデジタル変調により送信する処理、及び、アナログ操作量をアナログ変調により送信する処理を、センサコントローラが交番磁界を送出していない期間に実行する、電磁誘導ペンである。
 本発明の第1及び第2の側面によれば、位置検出装置から所定時間以上にわたる交番磁界の送出を行わなくても、電磁誘導ペンから基準交番磁界を送出することができるので、使用者の所作を示す値の検出精度を従来よりも向上することが可能になる。
 本発明の第3の側面によれば、基準交番磁界に基づいて取得される第1の出力と、変調交番磁界に基づいて取得される第2の出力との差分に対して所定のオフセット量を加算又は減算しているので、ペン先に圧力が加わっていない場合に、基準交番磁界の周波数と変調交番磁界の周波数の差分をホバー指示値とすることが可能になる。
 本発明の第4の側面によれば、基準交番磁界の送出と変調交番磁界の送出を切り替えることによってビット値を送信することができるので、デジタルデータを送信するときにも電磁誘導ペンから交番磁界を送出している状態を維持することが可能になる。
 本発明の第5の側面によれば、デジタルデータ及びアナログ操作量ともにセンサコントローラが交番磁界を送出していない期間に送信されることになるので、電磁誘導ペンが送信したアナログ操作量の検出及びデジタルデータの受信に位置検出装置が失敗することを防止できるようになる。
筆圧を一定にした状態で、位置検出装置のパネル面に金属を近づけたり話したりした場合の基準交番磁界又は変調交番磁界の変化を示す図である。 本発明の第1の実施の形態による位置検出システム1の構成を示す図である。 本発明の第1の実施の形態によるセンサコントローラ31及び処理回路23の動作を説明するための図である。 図3を参照して説明した動作を実現するための処理回路23の内部構成を示す図である。 検波回路41及びウェイト検出回路42の詳細構成を示す図である。 起電力PE、出力ノードn1,n2に現れる波形、クロック信号Pen_clk、ウェイト検出信号det_waitのシミュレーション結果を示す図である。 本発明の第1の実施の形態によるセンサコントローラ31が行う処理を示すフロー図である。 本発明の第1の実施の形態によるセンサコントローラ31が行う処理を示すフロー図である。 本発明の第1の実施の形態によるセンサコントローラ31において取得される変調位相phCw、基準位相phDh、差分phCw-phDh、筆圧値Pの時間変化の測定結果を示す図である。 本発明の第2の実施の形態による位置検出システム1の構成を示す図である。 本発明の第2の実施の形態によるセンサコントローラ31及び処理回路23の動作を説明するための図である。 図11を参照して説明した動作を実現するための処理回路23の内部構成を示す図である。 検波回路41、ウェイト検出回路42、及びロングバースト検出回路44の詳細構成を示す図である。 起電力PE、出力ノードn1,n2、クロック信号Pen_clk、ウェイト検出信号det_wait、ロングバースト検出信号det_lbの波形のシミュレーション結果を示す図である。 タイミング生成回路45の内部構成を示す図である。 本発明の第2の実施の形態によるセンサコントローラ31が行う処理を示すフロー図である。 本発明の第2の実施の形態によるセンサコントローラ31が行う処理を示すフロー図である。 図16のステップS37で実行されるデジタルデータ受信処理の詳細を示す図である。 本発明の第3の実施の形態による位置検出システム1による電磁誘導ペン2の内部構成を示す図である。 本発明の第3の実施の形態によるセンサコントローラ31が行うデジタルデータ受信処理を示すフロー図である。 本発明の第4の実施の形態によるセンサコントローラ31及び処理回路23の動作を説明するための図である。 本発明の第4の実施の形態によるセンサコントローラ31及び処理回路23の動作を説明するための図である。 本発明の第4の実施の形態によるセンサコントローラ31及び処理回路23の動作を説明するための図である。 本発明の第4の実施の形態によるセンサコントローラ31が行う処理を示すフロー図である。 本発明の第4の実施の形態によるセンサコントローラ31が行う処理を示すフロー図である。 本発明の第5の実施の形態による電磁誘導ペン2の構成を示す図である。 (a)は、本発明の第5の実施の形態による電磁誘導ペン2が送信する値と、スイッチ素子24,65~68のオンオフ状態、コンデンサC,CSW,C~Cのうち共振回路に組み込まれているものの合成容量C、及び共振回路の共振周波数fとの関係を示す図であり、(b)は、各送信値に対応する共振周波数fの値を直線上に示した図である。
 初めに、本発明の主な課題について、改めて詳しく説明する。図1は、筆圧を一定にした状態で、位置検出装置のパネル面に金属を近づけたり話したりした場合の基準交番磁界又は変調交番磁界の変化を示す図である。なお、同図においては縦軸が位相となっているが、これは受信信号の位相を検出することによって周波数の変化を検出するように位置検出装置を構成していることによるものである。この点の詳細については後述するが、以下では、基準交番磁界の周波数に対応する位相を「基準位相」と称し、変調交番磁界の周波数に対応する位相を「変調位相」と称する。
 図1においては、パネル面に金属を近づけていた時間帯を矢印(4箇所)で示している。同図の結果から理解されるように、パネル面に金属を近づけると、基準位相及び変調位相がともに大きく変化する。しかも、基準位相と変調位相とで変化の大きさが同じ値になるわけではないため、これらの差分にも変化が現れている。したがって、本来の筆圧が一定であるにも関わらず、位置検出装置によって検出される筆圧の値は一定でなくなってしまうことになる。
 また、図1の測定結果では、金属を近づけていないときにおいても、基準位相と変調位相の差分に僅かな振動が現れている。これは、第1の共振回路と第2の共振回路の切り替えを行うためのスイッチの自己容量や、外部から到来するノイズなどによるものである。差分が振動するということは、位置検出装置によって検出される筆圧の値も振動してしまうことを意味する。
 このように、電磁誘導ペンから送出される交番磁界の位相(周波数)は、筆圧以外の様々な理由によって容易に変動してしまう。そして、このような変動は極めて短い時間の間にも発生し、筆圧値を初めとする使用者の所作を示す値の検出精度を低下させる。ペン先がパネル面に接触していないにも拘わらず、筆圧を発生させてしまう要因にもなる。本発明の課題の1つは、これらの状況を改善する点にある。以下、添付図面を参照しながら、このような課題を解決するための本発明の実施の形態について、詳細に説明する。
 図2は、本発明の第1の実施の形態による位置検出システム1の構成を示す図である。同図に示すように、位置検出システム1は、それぞれ電磁誘導方式(EMR方式)に対応する電磁誘導ペン2及び位置検出装置3を有して構成される。
 電磁誘導ペン2は、芯体20と、可変容量コンデンサCSWを含む圧力センサ21と、処理回路23と、コイル(インダクタンス素子)Lと、コンデンサ(静電容量素子)Cと、スイッチ素子24とを含むペン型のデバイスである。このうちコイルL及びコンデンサCによって第1の共振回路R1が構成され、コイルL、コンデンサC、可変容量コンデンサCSW、及びスイッチ素子24によって第2の共振回路R2が構成される。
 コイルLとコンデンサCとは、互いに直列に接続される。可変容量コンデンサCSWはコンデンサCに対して並列に接続され、スイッチ素子24は可変容量コンデンサCSWと直列に接続される。スイッチ素子24は、第1の共振回路R1と第2の共振回路R2を切り替えるために設けられたオンオフスイッチであり、処理回路23によってオンオフ制御される。具体的な例では、スイッチ素子24はJFETによって構成される。処理回路23がスイッチ素子24をオフにすると、可変容量コンデンサCSWが回路から切り離され、第1の共振回路R1が有効になる。一方、処理回路23がスイッチ素子24をオンにすると、可変容量コンデンサCSWが回路に組み込まれ、第2の共振回路R2が有効になる。
 可変容量コンデンサCSWは、第2の共振回路R2の共振周波数を使用者の所作に関連して変化させる役割を果たす素子(変化素子)である。なお、可変容量コンデンサCSWに代えて、又は、可変容量コンデンサCSWとともに、可変インダクタンスや可変抵抗などの他の種類の変化素子を用いることとしてもよい。
 使用者の所作は、本実施の形態においては、電磁誘導ペン2のペン先をパネル面に押しつけるという所作である。圧力センサ21は、この所作の程度を検出するためのセンサであり、具体的には、芯体20の先端に加わる圧力(以下、この圧力の値を「筆圧値P」という)に応じて可変容量コンデンサCSWの容量が変化するように構成される。筆圧値Pは連続的に変化するアナログ量であり、可変容量コンデンサCSWの容量も連続的に変化する。したがって、電磁誘導ペン2による筆圧値Pの送信は、アナログ変調による送信であると言える。なお、使用者の所作として、例えば電磁誘導ペン2の側面を握るという所作など他の種類の所作を用いることとしてもよく、その場合の可変容量コンデンサCSWは、圧力センサ21ではなく、その所作の程度を検出するためのセンサに内蔵されることになる。
 位置検出装置3は、複数のループコイルLCと、スイッチ部30と、センサコントローラ31と、ホストプロセッサ32とを含む装置である。典型的な例による位置検出装置3は、表示面がタッチ面を兼ねるタブレット端末又はノートパソコンであるが、表示面を有しないデジタイザなどにより位置検出装置3を構成してもよい。
 複数のループコイルLCはタッチ面内に配置されたコイルであり、x方向に並べて配置される複数のループコイルLCxと、x方向と直交するy方向に並べて配置される複数のループコイルLCyとを含んで構成される。各ループコイルLCの一端はスイッチ部30に接続され、他端は接地される。スイッチ部30は、センサコントローラ31の制御に応じて、複数のループコイルLCのうちの1つ以上をセンサコントローラ31に接続する役割を果たす回路である。
 センサコントローラ31は、タッチ面内における電磁誘導ペン2の位置を検出するとともに、電磁誘導ペン2が送信した筆圧値Pを取得し、検出した位置及び取得した筆圧値Pをホストプロセッサ32に逐次供給する機能を有する集積回路である。これらの処理を行うためにセンサコントローラ31は、複数のループコイルLCyを順に又は同時に駆動する(すなわち、駆動電流Txを供給する)とともに、複数のループコイルLCxに現れる誘導電流Rxを受信するよう構成される。
 センサコントローラ31がループコイルLCyに対して駆動電流Txを供給すると、タッチ面上に交番磁界AMが発生する。電磁誘導ペン2のコイルLがこの交番磁界AMの中に入ると、コイルLの両端に起電力PEが発生し、そのときに有効な共振回路(第1の共振回路R1又は第2の共振回路R2)が共振状態になり、その結果として電磁誘導ペン2から交番磁界PS(ペン信号)が送出される。以下では、第1の共振回路R1が有効なときに電磁誘導ペン2から送出される交番磁界PSを「基準交番磁界PSS」と称し、第2の共振回路R2が有効なときに電磁誘導ペン2から送出される交番磁界PSを「変調交番磁界PSM」と称する場合がある。基準交番磁界PSS及び変調交番磁界PSMの周波数はそれぞれ、理想的には、第1の共振回路R1及び第2の共振回路R2の共振周波数に等しくなる。具体的な数式で示すと、基準交番磁界PSSの周波数fはf=1/(2π(LC)1/2)と表され、変調交番磁界PSMの周波数fはf=1/(2π(L(C+CSW))1/2)と表される。
 センサコントローラ31は、交番磁界PSにより複数のループコイルLCxのそれぞれに現れる誘導電流Rxを受信し、その受信結果に基づいて、タッチ面内における電磁誘導ペン2の位置を検出するとともに、電磁誘導ペン2が送信した筆圧値Pを取得するよう構成される。具体的には、各ループコイルLCxにおいて受信された誘導電流Rxの振幅に基づいて電磁誘導ペン2の位置を検出する一方、誘導電流Rxの周波数(=交番磁界PSの周波数)に基づいて、電磁誘導ペン2が送信した筆圧値Pを取得するよう構成される。
 ここで、誘導電流Rxの周波数に基づく筆圧値Pの取得について、具体的な処理を説明する。まず前提として、センサコントローラ31は、交番磁界AMの送出を終了したタイミングの後の所定期間を利用して誘導電流Rxの離散フーリエ変換(又は高速フーリエ変換)を行うことにより、所定周波数における誘導電流Rxの位相を導出するように構成される。この所定周波数は、例えば、基準交番磁界PSSの理想的な(すなわち、寄生容量や外乱の影響を考慮しない場合における)周波数である。こうして導出される位相は、電磁誘導ペン2による交番磁界PSの送出が交番磁界AMの送出終了直後という既知のタイミングで開始されることから、誘導電流Rxの周波数を反映した値となる。したがってセンサコントローラ31は、導出した位相を誘導電流Rxの周波数を示す値として取得し、筆圧値Pの取得を行う。具体的には、センサコントローラ31は、電磁誘導ペン2が基準交番磁界PSSを送信しているタイミングで導出される位相phDh(第1の出力)を基準位相として記憶しておき、電磁誘導ペン2が変調交番磁界PSMを送信しているタイミングで導出される位相phCw(変調位相。第2の出力)から基準位相を減算することにより、位相の差分phCw-phDhを取得する。そして、取得した差分phCw-phDhから所与のオフセット量offsetを減じてなる位相phCw-phDh-offset(第3の出力)を所定の変換規則によってデジタル値に変換することにより、電磁誘導ペン2が送信した筆圧値Pを取得する。
 所定の変換規則の具体的な内容は、次に示す式(1)のとおりである。ただし、式(1)中のpressは式(2)により決定される変数であり、nは1より大きい所定の数値である。n>1であることから、ユーザによる所作の量(ここでは、ペン先をパネル面に押し当てる力)の変化に対する筆圧値Pの変化量は、所作の量が大きいほど、大きくなることになる。ただし、n>1であることは必須ではなく、n=1又はn<1としてもよい。また、式(2)中のPressMaxは筆圧値Pの最大レベル(例えば2047)であり、PhMaxは最大レベルの筆圧をかけた場合の位相phCw-phDh-offsetの値である。
Figure JPOXMLDOC01-appb-M000001
 オフセット量offsetは、基準位相と変調位相の差分に現れる僅かな振動(図1を参照)を吸収するために用いているものである。オフセット量offsetの値を大きくすればするほど振動を吸収できるが、大きくしすぎると初期筆圧が重くなり(すなわち、電磁誘導ペン2のペン先をパネル面に強く押し当てないと描けなくなり)、逆に小さくしすぎると、いわゆるインク漏れ(筆圧をかけていないのに描画されてしまうという現象)が発生してしまう。また、適切なオフセット量offsetの値は、電磁誘導ペン2や位置検出装置3の特性の他、気温などの外部環境によっても変わる。そこでセンサコントローラ31は、電磁誘導ペン2がホバーしている間にキャリブレーション処理を行い、オフセット量offsetの値を調整するよう構成される。具体的には、センサコントローラ31は、ループコイルLCxに現れた誘導電流Rxの最大振幅から電磁誘導ペン2の高さ(パネル面からの距離)を導出し、電磁誘導ペン2がある程度以上の高さにあり確実に筆圧がかかっていないと考えられる状況下で差分phCw-phDhを測定し、測定した差分phCw-phDhからオフセット量offsetを減じてなる値が所定値(例えば-30)となるようにオフセット量offsetの値を決定すればよい。こうすることで、差分phCw-phDhに現れる僅かな振動を適切に吸収することが可能になる。
 図3は、本実施の形態によるセンサコントローラ31及び処理回路23の動作を説明するための図である。まずセンサコントローラ31に着目すると、センサコントローラ31は、3つの動作モードWait、D-Phase、C-SWのいずれかで動作するよう構成される。センサコントローラ31はこの他に初期設定モードも有するが、これについては、後ほど図7のフロー図を参照して説明する。
 動作モードWaitは、電磁誘導ペン2に対し、送出する交番磁界の切替(すなわち、スイッチ素子24のオンオフ)を実行させるためのモードである。詳しくは後述するが、電磁誘導ペン2は、センサコントローラ31が動作モードWaitにエントリしていることを検出したことに応じて、スイッチ素子24のオンオフを切り替えるよう構成される。動作モードWaitにエントリしているセンサコントローラ31は、所定時間にわたり、ループコイルLCyへの交流電流Txの供給、及び、ループコイルLCxでの誘導電流Rxの受信のいずれも行わない。
 動作モードD-Phaseは、電磁誘導ペン2が送出した基準交番磁界PSSの受信結果に基づいて基準位相を取得し、記憶するモードである。動作モードD-Phaseにエントリしているセンサコントローラ31は、所定時間T1にわたってループコイルLCyに交流電流Txを供給する処理を、ループコイルLCyを変えながら、所定時間T2の間隔で所定回数にわたり繰り返し実行する。また、交流電流Txの供給を停止している所定時間T2の間、ループコイルLCxに現れる誘導電流Rxの位相を上述したようにして導出し、その結果として得られた位相を基準位相として記憶する。
 動作モードC-SWは、電磁誘導ペン2が送出した変調交番磁界PSMの受信結果に基づき、電磁誘導ペン2が送信した筆圧値Pを取得するモードである。動作モードC-SWにエントリしているセンサコントローラ31は、動作モードD-Phaseのときと同様、所定時間T1にわたってループコイルLCyに交流電流Txを供給する処理を、所定時間T2の間隔で所定回数にわたり繰り返し実行する。また、交流電流Txの供給を停止している所定時間T2の間、ループコイルLCxに現れる誘導電流Rxの位相を上述したようにして導出する。そして、導出された位相から基準位相を減算することによって得られる位相の差分に基づき、筆圧値Pを導出する。筆圧値Pの具体的な導出方法は、上述したとおりである。
 次に処理回路23に着目すると、図示したウェイト検出信号det_wait及びD-Phaseイネーブル信号EN_DPはいずれも、処理回路23が交番磁界AMから生成する信号である。処理回路23は、交番磁界AMが受信されている間はウェイト検出信号det_waitをハイに維持する一方、交番磁界AMが受信されなくなってから所定時間以上が経過した場合にウェイト検出信号det_waitをローとするよう構成される。この所定時間は、センサコントローラ31が動作モードWaitにエントリしている時間の長さよりも若干短い時間長に設定される。したがってウェイト検出信号det_waitは、センサコントローラ31が動作モードWaitにエントリする都度、一時的にローに変化することになる。
 また、処理回路23は、ウェイト検出信号det_waitがローになったことに応じて、D-Phaseイネーブル信号EN_DPの値をハイとローの間で切り替えるよう構成される。そして処理回路23は、D-Phaseイネーブル信号EN_DPがローであるときにスイッチ素子24をオフとし、D-Phaseイネーブル信号EN_DPがハイであるときにスイッチ素子24をオンとするよう構成される。これにより電磁誘導ペン2は、センサコントローラ31が動作モードWaitにエントリする都度、第1の共振回路R1を用いて基準交番磁界PSSを送出する状態と、第2の共振回路R2を用いて変調交番磁界PSMを送出する状態とを切り替えながら動作することになる。
 図4は、図3を参照して説明した動作を実現するための処理回路23の内部構成を示す図である。同図に示すように、処理回路23は、電源回路40と、検波回路41と、ウェイト検出回路42と、トグル回路43とを有して構成される。
 電源回路40は、交番磁界AMによって第1の共振回路R1に生じた起電力PEを用いて、処理回路23の動作に必要な電源電圧VDDを生成する回路である。検波回路41は、起電力PEに基づいてクロック信号Pen_clkを生成する回路であり、ウェイト検出回路42は、クロック信号Pen_clkに基づいてウェイト検出信号det_waitを生成する回路である。ウェイト検出回路42が生成したウェイト検出信号det_waitは、トグル回路43に供給される。
 図5は、検波回路41及びウェイト検出回路42の詳細構成を示す図である。同図に示すように、検波回路41は、ショットキーバリアダイオードを用いて構成した半波倍電圧整流回路41aと、分圧回路41bと、ショットキーバリアダイオードを用いて構成した平滑回路41cと、分圧回路41dと、オペアンプ41eと、抵抗素子41fと、反転バッファ回路41gと、RCローパスフィルタ41hと、反転バッファ回路41iとを有して構成される。
 半波倍電圧整流回路41a、分圧回路41b、平滑回路41c、及び分圧回路41dは、この順で直列に接続される。半波倍電圧整流回路41aの入力ノードは検波回路41の入力ノードを構成し、第1の共振回路R1から起電力PEが供給される。オペアンプ41eの非反転入力端子は分圧回路41bの出力ノードn1に接続され、反転入力端子は分圧回路41dの出力ノードn2に接続される。抵抗素子41f、反転バッファ回路41g、RCローパスフィルタ41h、及び反転バッファ回路41iは、オペアンプ41eの出力端子と検波回路41の出力ノードとの間に、この順で直列に接続される。検波回路41の出力ノードから出力される信号は、図4に示したクロック信号Pen_clkとなる。
 また、ウェイト検出回路42は、抵抗素子42aと、ショットキーバリアダイオード42bと、キャパシタ42cと、シュミットトリガ回路42dとを有して構成される。抵抗素子42aは、クロック信号Pen_clkが入力されるウェイト検出回路42の入力ノードと、シュミットトリガ回路42dの入力端子との間に接続される。ショットキーバリアダイオード42bは、アノードがウェイト検出回路42の入力ノードに接続される方向で、抵抗素子42aと並列に接続される。キャパシタ42cは、シュミットトリガ回路42dの入力端子と接地端の間に接続される。シュミットトリガ回路42dの出力端子は、ウェイト検出回路42の出力ノードを構成する。ウェイト検出回路42の出力ノードから出力される信号は、図4に示したウェイト検出信号det_waitとなる。
 図6は、起電力PE、出力ノードn1,n2に現れる波形、クロック信号Pen_clk、ウェイト検出信号det_waitのシミュレーション結果を示す図である。同図上部には、対応するセンサコントローラ31の動作モードを示している。
 図6に示す所定時間T1,T2は、図3に示した所定時間T1,T2に対応している。起電力PEは、センサコントローラ31が交番磁界AMの送出を行っている所定時間T1の間に徐々に上昇し、図2及び図4に示したコンデンサCを充電する。所定時間T1が経過すると、センサコントローラ31による交番磁界AMの送出が止まり、コンデンサCからの放電が始まる。この放電により、コイルLから交番磁界PSが送出されることになる。スイッチ素子24がオンの場合には、可変容量コンデンサCSWもこの充放電の対象となる。
 出力ノードn1に現れる波形は、起電力PEの波形を整流・分圧したものとなる。また、出力ノードn2に現れる波形は、出力ノードn1に現れる波形を平滑化・分圧したものとなる。クロック信号Pen_clkは、図5に示したオペアンプ41eの作用により、出力ノードn1に現れる波形が出力ノードn2に現れる波形より大きい場合にハイ、出力ノードn1に現れる波形が出力ノードn2に現れる波形より小さい場合にローとなる2値の信号となる。こうして生成されるクロック信号Pen_clkは、結果として、センサコントローラ31からの交番磁界AMがコイルLに届いている場合にハイ、届いていない場合にローとなる。
 ウェイト検出信号det_waitは、クロック信号Pen_clkがハイである間はハイを維持する一方、クロック信号Pen_clkがローになってから所定時間以上が経過した場合にローとなる信号となる。このようなウェイト検出信号det_waitを生成するためのウェイト検出回路42の動作について、再び図5を参照して具体的に説明すると、クロック信号Pen_clkがハイのとき、検波回路41からの電流がショットキーバリアダイオード42bを通って流れ込むことによってキャパシタ42cの検波回路41側の電極の電位が速やかに上昇し、その結果として、クロック信号Pen_clkがハイになるとほぼ同時に、シュミットトリガ回路42dの出力であるウェイト検出信号det_waitもハイになる。一方、クロック信号Pen_clkがローになると、キャパシタ42cの放電により、キャパシタ42cから抵抗素子42aを通って検波回路41に向かう電流が流れる。キャパシタ42cの放電が進み、シュミットトリガ回路42dの入力電圧が所定値を下回ると、シュミットトリガ回路42dの出力であるウェイト検出信号det_waitがローに変化することになる。以上のようなウェイト検出回路42の動作の結果として、ウェイト検出信号det_waitは上述した信号となる。
 図4に戻る。トグル回路43は、第1の共振回路R1を用いて基準交番磁界PSSを送出する状態と、第2の共振回路R2を用いて変調交番磁界PSMを送出する状態とを切り替えるための回路であり、D型のフリップフロップ回路43aを有して構成される。フリップフロップ回路43aのクロック端子にはウェイト検出信号det_waitの反転信号が供給され、データ端子には出力端子の反転信号が供給される。トグル回路43の出力信号は、図3にも示したD-Phaseイネーブル信号EN_DPとなる。これにより、D-Phaseイネーブル信号EN_DPは、ウェイト検出信号det_waitがローに変化したことに応じて、ハイとローが切り替わる信号となる。図4に示すように、D-Phaseイネーブル信号EN_DPはスイッチ素子24のゲートに供給されていることから、これにより、ウェイト検出信号det_waitのフォールエッジで、基準交番磁界PSSの送出と変調交番磁界PSMの送出とが切り替わることになる。
 図7及び図8は、本実施の形態によるセンサコントローラ31が行う処理を示すフロー図である。以下、これらの図を参照しながら、本実施の形態によるセンサコントローラ31の動作について、より詳しく説明する。
 初めに図7を参照すると、センサコントローラ31は、まず初めに初期設定モードにエントリする(ステップS1)。初期設定モードは、電磁誘導ペン2による基準交番磁界PSS及び変調交番磁界PSMの送出のタイミングを把握するための動作モードである。
 初期設定モードにエントリしたセンサコントローラ31は、各ループコイルLCyへの交流電流Txの供給と、各ループコイルLCxに現れる誘導電流Rxの振幅の検出とを実行する(ステップS2)。なお、センサコントローラ31は、この時点で既に電磁誘導ペン2の位置を検出済みである場合には、検出済みの位置の近傍にある各所定数本のループコイルLCy,LCxのみを対象として、ステップS2を実行すればよい。この点は、後述するステップS13,S19(図8を参照)、ステップS33(図16を参照)、ステップS41(図17を参照)でも同様である。
 次にセンサコントローラ31は、ステップS3で検出した各ループコイルLCyにおける誘導電流Rxの振幅に基づいて電磁誘導ペン2の位置を導出し、ホストプロセッサ32に出力する(ステップS3)。また、センサコントローラ31は、ステップS3で検出した振幅が最も大きいループコイルLCxにおける誘導電流Rxの位相を導出し(ステップS4)、導出した位相を記憶する(ステップS5)。
 その後、センサコントローラ31は、ステップS2~S5の処理を2回実行したか否かを判定する(ステップS6)。その結果、実行していないと判定した場合には、所定時間待機した後(ステップS7)、ステップS3に戻って処理を繰り返す。ステップS7は、送出する交番磁界PSを電磁誘導ペン2に切り替えさせるための処理であり、センサコントローラ31は、動作モードWaitの継続時間と同程度の時間にわたり、ループコイルLCyへの交流電流Txの供給、及び、ループコイルLCxでの誘導電流Rxの受信のいずれも行わずに待機する。
 ステップS6において2回実行したと判定した場合、センサコントローラ31は、2回のステップS5で記憶した2つの位相に基づき、電磁誘導ペン2が最後に送出した交番磁界PSが基準交番磁界PSSと変調交番磁界PSMのいずれであるかを判定する(ステップS8,S9)。具体的には、2つの位相の大小に基づき、この判定を行えばよい。後掲する図9に示すように、筆圧の有無によらず変調位相は基準位相よりも大きな値になるので、センサコントローラ31は、2つの位相の大小に基づいて、変調位相と基準位相とを区別することができる。そしてセンサコントローラ31は、基準交番磁界PSSと判定した場合には図8のステップS10に処理を進め、変調交番磁界PSMと判定した場合には図8のステップS17に処理を進める。
 図8に移り、ステップS10においてセンサコントローラ31は、最後に導出した位相を基準位相として記憶する。そして、動作モードWaitにエントリすることにより所定時間待機した後(ステップS11)、動作モードC-SWにエントリし(ステップS12)、各ループコイルLCyへの交流電流Txの供給と、各ループコイルLCxに現れる誘導電流Rxの振幅の検出とを実行する(ステップS13)。
 続いてセンサコントローラ31は、ステップS13で検出した各ループコイルLCyにおける誘導電流Rxの振幅に基づいて電磁誘導ペン2の位置を導出し、ホストプロセッサ32に出力する(ステップS14)。また、センサコントローラ31は、ステップS15で検出した振幅が最も大きいループコイルLCxにおける誘導電流Rxの位相を導出する(ステップS16)。そして、導出した位相と、直近のステップS10で記憶した基準位相とに基づいて電磁誘導ペン2が送信した筆圧値Pを導出し、ホストプロセッサ32に出力する(ステップS17)。筆圧値Pの具体的な導出方法は、上述したとおりである。
 次にセンサコントローラ31は、再び動作モードWaitにエントリすることにより所定時間待機した後(ステップS17)、動作モードD-Phaseにエントリし(ステップS18)、各ループコイルLCyへの交流電流Txの供給と、各ループコイルLCxに現れる誘導電流Rxの振幅の検出とを実行する(ステップS19)。
 続いてセンサコントローラ31は、ステップS19で検出した各ループコイルLCyにおける誘導電流Rxの振幅に基づいて電磁誘導ペン2の位置を導出し、ホストプロセッサ32に出力する(ステップS20)。また、センサコントローラ31は、ステップS15で検出した振幅が最も大きいループコイルLCxにおける誘導電流Rxの位相を導出し(ステップS21)、導出した位相を基準位相として記憶する(ステップS10)。この後の処理は上述したとおりであり、これ以降のセンサコントローラ31は、動作モードWait、動作モードC-SW、動作モードWait、動作モードD-Phaseをこの順で繰り返し実行することになる。
 以上説明したように、本実施の形態による位置検出システム1によれば、位置検出装置3から所定時間以上にわたる交番磁界の送出を行わなくても、電磁誘導ペン2から基準交番磁界及び変調交番磁界を交互に送出することができる。したがって、筆圧値Pを初めとする使用者の所作を示す値の検出精度を従来よりも向上することが可能になる。
 また、本実施の形態による位置検出システム1によれば、センサコントローラ31が交番磁界PSの種類(基準交番磁界PSS又は変調交番磁界PSM)を判定しているので、センサコントローラ31は、電磁誘導ペン2が所定の順序で自律的に送出している基準交番磁界PSS及び変調交番磁界PSMを正しく受信することができる。したがって、後述する第2の実施の形態とは異なり、電磁誘導ペン2による交番磁界PSの送信順をセンサコントローラ31からリセットする必要がないことから、電磁誘導ペン2として、本実施の形態で説明した交番磁界AMから電力を生成するタイプのものに加え、内蔵電池から供給される電力によって動作するタイプ(すなわち、電磁誘導ペン2からの一方向通信を行うタイプ。EM方式)のものを用いることも可能になる。後者のタイプの電磁誘導ペン2を用いる場合、電磁誘導ペン2内における基準交番磁界PSSの送出と変調交番磁界PSMの送出との切り替えは、ウェイト検出信号det_waitのフォールエッジでなく、内蔵の発振器から出力されるクロック信号のエッジにて実行されることになる。
 また、本実施の形態による位置検出システム1によれば、差分phCw-phDhに対してオフセット量offsetを減算しているので、電磁誘導ペン2のペン先に圧力が加わっていない場合に、基準交番磁界の周波数と変調交番磁界の周波数の差分をホバー指示値とすることが可能になる。なお、本実施の形態では減算となっているが、筆圧値Pの計算方法などによっては、差分phCw-phDhに対してオフセット量offsetを加算することとしてもよいのは勿論である。
 図9は、本実施の形態によるセンサコントローラ31において取得される変調位相phCw、基準位相phDh、差分phCw-phDh、筆圧値Pの時間変化の測定結果を示す図である。同図において位相phCwが大きくなっているところは、電磁誘導ペン2のペン先をパネル面に押し当てたところである。それ以外のところでは、電磁誘導ペン2のペン先はパネル面から離れた状態(ホバー状態)となっている。
 図9に示すように、本実施の形態による位置検出システム1によれば、差分phCw-phDhがホバー中でも0になっていないにも関わらず、筆圧値Pはホバー中に0となっている。したがって、本実施の形態による位置検出システム1によれば、ペン先に圧力が加わっているか否かを実質的に判定するための処理を描画アプリケーションに実装する必要がなくなっていると言える。
 なお、本実施の形態では、図7のステップS5において誘導電流Rxの位相(交番磁界PSの位相)を記憶し、ステップS8において、記憶した2つの位相に基づいて電磁誘導ペン2の送出した交番磁界PSの種類を判定するようにセンサコントローラ31を構成したが、センサコントローラ31は、図7のステップS5において誘導電流Rxの周波数又は振幅(交番磁界PSの周波数又は振幅)を記憶し、ステップS8において、記憶した2つの周波数又は振幅に基づいて電磁誘導ペン2の送出した交番磁界PSの種類を判定してもよい。
 また、図7のステップS6,S8,S9に代え、誘導電流Rxの位相(又は、周波数、振幅)が所定条件を満たす場合に、電磁誘導ペンが送出した交番磁界PSが基準交番磁界PSSであるか否かを判定することとしてもよい。この場合のセンサコントローラ31は、基準交番磁界PSSであるとの判定結果が出るまで、ステップS7を挟みながらステップS2~S5の処理を繰り返し実行し、基準交番磁界PSSであるとの判定結果が出た場合に、ステップS10に処理を進めればよい。
 次に、本発明の第2の実施の形態による位置検出システム1について、説明する。本実施の形態による位置検出システム1は、電磁誘導ペン2から位置検出装置3に対してデジタルデータ(「0」又は「1」であるビット値の集合)を送信する点、及び、電磁誘導ペン2による基準交番磁界PSS及び変調交番磁界PSMの送出順を位置検出装置3からリセットする点で、第1の実施の形態による位置検出システム1と相違する。その他の点では第1の実施の形態による位置検出システム1と同様であるので、以下では、第1の実施の形態による位置検出システム1との相違点に着目して説明を続ける。
 図10は、本実施の形態による位置検出システム1の構成を示す図である。図2に示した位置検出システム1との違いは、電磁誘導ペン2がサイドスイッチ22a,22bを有する点、及び、第1の共振回路R1がスイッチ素子25を有する点にある。
 サイドスイッチ22a,22bはそれぞれ、電磁誘導ペン2の筐体の表面に設けられたオンオフスイッチであり、ユーザによってオンオフ操作可能に構成される。処理回路23は、サイドスイッチ22a,22bのオンオフ状態をそれぞれ1ビットのオンオフ情報として取得可能に構成される。本実施の形態による処理回路23は、このオンオフ情報の他、予め処理回路23内に書き込まれる電磁誘導ペン2の識別情報(2ビットの情報)を表す4ビットのデジタルデータを生成し、位置検出装置3によって指定されたタイミングで、位置検出装置3に対して送信する機能を有して構成される。
 スイッチ素子25は、コンデンサCと並列に接続されたオンオフスイッチであり、処理回路23によってオンオフ制御される。具体的な例では、スイッチ素子25はJFETによって構成される。スイッチ素子25がオフである場合の動作は、第1の実施の形態で説明したとおりである。処理回路23がスイッチ素子25をオンにすると、コイルLが短絡されるので、第1の共振回路R1及び第2の共振回路R2がいずれも共振回路として機能しなくなり、電磁誘導ペン2から交番磁界PSが送出されなくなる。処理回路23は、これを利用してビット値の送信を行う。すなわち、「1」を送信する場合にはスイッチ素子25をオフに制御する一方、「0」を送信する場合にはスイッチ素子25をオンに制御する。これにより、「1」を送信する場合には通常どおり電磁誘導ペン2から交番磁界PS(基準交番磁界PSS又は変調交番磁界PSM)が送出される一方、「0」を送信する場合には電磁誘導ペン2から交番磁界PSが送出されなくなるので、センサコントローラ31は、電磁誘導ペン2が送信したビット値を、振幅偏移変調方式の一種であるオンオフ変調方式により復調することが可能になる。
 図11は、本実施の形態によるセンサコントローラ31及び処理回路23の動作を説明するための図である。本実施の形態によるセンサコントローラ31は、図3に示した3つの動作モードWait、D-Phase、C-SWの他、動作モードLB,IDでも動作可能に構成される。なお、以下で詳しく説明するように、本実施の形態では、電磁誘導ペン2による基準交番磁界PSS及び変調交番磁界PSMの送出順を位置検出装置3からリセットするので、本実施の形態によるセンサコントローラ31においては、図7に示した初期設定モードは必要ない。
 動作モードLBは、電磁誘導ペン2内において第1の共振回路R1を強制的に有効にする(すなわち、スイッチ素子24をオフにする)ことにより、電磁誘導ペン2による基準交番磁界PSS及び変調交番磁界PSMの送出順をリセットするとともに、電磁誘導ペン2内に設けられる3ビットカウンタcnt_s(後述)をリセットするためのモードである。動作モードLBにエントリしているセンサコントローラ31は、図3に示した所定時間T1,T2よりも長い所定時間T3にわたり、各ループコイルLCyに交流電流Txを供給する処理を継続して行う。これにより、所定時間T3にわたって継続的に、パネル面から交番磁界AMが送出されることになる。以下では、こうして送出される交番磁界AMを「ロングバースト信号」と称する。詳しくは後述するが、動作モードLBの後には電磁誘導ペン2内において第1の共振回路R1が有効になることから、動作モードLBでの動作を終了したセンサコントローラ31は、動作モードD-Phaseにエントリする。
 動作モードIDは、電磁誘導ペン2にデジタルデータを送信させるためのモードである。電磁誘導ペン2は、上述したスイッチ素子25のオンオフを用い、1回の動作モードIDにつき1ビットのデータ(ビット値)を送信するように構成される。こうして送信されるデータは離散的なデジタル量であるから、この送信はデジタル変調による送信である。センサコントローラ31は、交番磁界AMの送出後に誘導電流Rxが受信されるか否かに基づいて、電磁誘導ペン2が送信したビット値を復調する。上述したように、電磁誘導ペン2が送信するデジタルデータは4ビットのデータであることから、センサコントローラ31は、動作モードWaitを挟みながら4回にわたって動作モードIDへのエントリを行うことで、4ビット分のデジタルデータのすべてを受信するよう構成される。
 本実施の形態による処理回路23は、第1の実施の形態で説明したクロック信号Pen_clk、ウェイト検出信号det_wait、D-Phaseイネーブル信号EN_DPに加え、ロングバースト検出信号det_lb、3ビットカウンタcnt_s、D-Phase検出信号det_dp、デジタルデータ送信期間検出信号det_id、第1のサイドスイッチ選択信号sel_sw0、第2のサイドスイッチ選択信号sel_sw1、第1の識別情報選択信号sel_id0、第2の識別情報選択信号sel_id1、デジタルデータ送信イネーブル信号EN_IDを用いて動作するように構成される。
 クロック信号Pen_clkは、第1の実施の形態で説明したように、センサコントローラ31からの交番磁界AMがコイルLに届いている場合にハイとなり、届いていない場合にローとなる信号である。処理回路23は、クロック信号Pen_clkがローである場合にロングバースト検出信号det_lbをローに維持する一方、クロック信号Pen_clkがハイである状態が所定時間以上継続した場合にロングバースト検出信号det_lbをハイとするよう構成される。これによりロングバースト検出信号det_lbは、センサコントローラ31からロングバースト信号が受信されている場合にのみ、ハイに変化する信号となる。
 3ビットカウンタcnt_sは、電磁誘導ペン2が送信するデジタルデータの順序を規定するカウンタである。処理回路23は、ロングバースト検出信号det_lbがハイとなったことに応じて3ビットカウンタcnt_sの値を0にリセットし、その後、ウェイト検出信号det_waitがローになる都度、3ビットカウンタcnt_sの値を1ずつカウントアップするよう構成される。このカウントアップは、3ビットカウンタcnt_sの値が4になるまで続けられ、4になった後には、ロングバースト検出信号det_lbが再びハイになるまで、4の状態が維持される。
 D-Phase検出信号det_dpは、共振回路の切り替えタイミングを示す信号である。処理回路23は、原則として、ウェイト検出信号det_waitがローに変化したことに応じて、D-Phase検出信号det_dpの値をハイとローの間で切り替えるよう構成される。ただし、処理回路23は、3ビットカウンタcnt_sの値が1~3である場合、及び、3ビットカウンタcnt_sの値が4になって最初にウェイト検出信号det_waitがローに変化した場合には、D-Phase検出信号det_dpの値を切り替えないように構成される。これは、デジタルデータの送信中に共振回路の切り替えが発生しないようにするためである。また、処理回路23は、ロングバースト検出信号det_lbがローに変化したことに応じて、D-Phase検出信号det_dpの値をハイにするよう構成される。これは、ロングバースト信号により強制的に第1の共振回路R1を有効にするための構成であり、これにより、電磁誘導ペン2による基準交番磁界PSS及び変調交番磁界PSMの送出順がリセットされる。
 デジタルデータ送信期間検出信号det_idは、デジタルデータの送信期間を示す信号である。処理回路23は、3ビットカウンタcnt_sの値が0である場合にウェイト検出信号det_waitがローに変化したことに応じて、デジタルデータ送信期間検出信号det_idの値をハイにし、3ビットカウンタcnt_sの値が4に戻った後、最初にウェイト検出信号det_waitがローに変化したことに応じて、デジタルデータ送信期間検出信号det_idの値をローにするよう構成される。
 第1のサイドスイッチ選択信号sel_sw0は、図10に示したサイドスイッチ22aのオンオフ情報の送信タイミングを示す信号である。処理回路23は、3ビットカウンタcnt_sの値が1に変化したことに応じて、第1のサイドスイッチ選択信号sel_sw0を所定時間にわたりハイにするよう構成される。また、第2のサイドスイッチ選択信号sel_sw1は、図10に示したサイドスイッチ22bのオンオフ情報の送信タイミングを示す信号である。処理回路23は、3ビットカウンタcnt_sの値が2に変化したことに応じて、第2のサイドスイッチ選択信号sel_sw1を所定時間にわたりハイにするよう構成される。
 第1の識別情報選択信号sel_id0及び第2の識別情報選択信号sel_id1はそれぞれ、上述した電磁誘導ペン2の識別情報(2ビットの情報)の1ビット目及び2ビット目の送信タイミングを示す信号である。処理回路23は、3ビットカウンタcnt_sの値が3に変化したことに応じて、第1の識別情報選択信号sel_id0を所定時間にわたりハイにするよう構成される。また、処理回路23は、3ビットカウンタcnt_sの値が4に変化したことに応じて、第2の識別情報選択信号sel_id1を所定時間にわたりハイにするよう構成される。
 D-Phaseイネーブル信号EN_DPは、図10に示したスイッチ素子24の制御信号である。処理回路23は、デジタルデータ送信期間検出信号det_idがローである場合に、D-Phase検出信号det_dpの反転信号をD-Phaseイネーブル信号EN_DPとし、デジタルデータ送信期間検出信号det_idがハイである場合に、D-Phaseイネーブル信号EN_DPをハイに固定するよう構成される。デジタルデータ送信期間検出信号det_idがハイである場合にD-Phaseイネーブル信号EN_DPをハイに固定することにより、電磁誘導ペン2によるデジタルデータの送信は、変調交番磁界PSMのオンオフ変調によって送信されることになる。処理回路23は、デジタルデータ送信期間検出信号det_idがハイである場合に、D-Phaseイネーブル信号EN_DPをローに固定することとしてもよく、その場合におけるデジタルデータの送信は、基準交番磁界PSSのオンオフ変調によって実行されることになる。
 デジタルデータ送信イネーブル信号EN_IDは、図10に示したスイッチ素子25の制御信号である。処理回路23は、送信するビット値が「1」である場合にデジタルデータ送信イネーブル信号EN_IDをローとし、送信するビット値が「0」である場合にデジタルデータ送信イネーブル信号EN_IDをハイとするよう構成される。これにより、上述したスイッチ素子25の制御(「1」を送信する場合にオフ、「0」を送信する場合にオン)が実現される。
 図12は、図11を参照して説明した動作を実現するための処理回路23の内部構成を示す図である。同図に示すように、本実施の形態による処理回路23は、電源回路40と、検波回路41と、ウェイト検出回路42と、ロングバースト検出回路44と、タイミング生成回路45と、4つのスイッチ素子46a~46dを有して構成される。このうち電源回路40、検波回路41、及びウェイト検出回路42は、第1の実施の形態で説明したものと同じ回路である。以下、ロングバースト検出回路44、タイミング生成回路45、及びスイッチ素子46a~46dについて、詳しく説明する。
 ロングバースト検出回路44は、検波回路41によって生成されるクロック信号Pen_clkに基づいて、ロングバースト検出信号det_lbを生成する回路である。ロングバースト検出回路44が生成したロングバースト検出信号det_lbは、ウェイト検出回路42によって生成されるウェイト検出信号det_waitとともに、タイミング生成回路45に供給される。
 図13は、検波回路41、ウェイト検出回路42、及びロングバースト検出回路44の詳細構成を示す図である。同図は、ロングバースト検出回路44に関する構成を図5に追加したものとなっている。
 ロングバースト検出回路44は、抵抗素子44aと、ショットキーバリアダイオード44bと、キャパシタ44cと、シュミットトリガ回路44dとを有して構成される。抵抗素子44aは、クロック信号Pen_clkが入力されるロングバースト検出回路44の入力ノードと、シュミットトリガ回路44dの入力端子との間に接続される。ショットキーバリアダイオード44bは、カソードがロングバースト検出回路44の入力ノードに接続される方向で、抵抗素子44aと並列に接続される。キャパシタ44cは、シュミットトリガ回路44dの入力端子と接地端の間に接続される。シュミットトリガ回路44dの出力端子は、ロングバースト検出回路44の出力ノードを構成する。ロングバースト検出回路44の出力ノードから出力される信号は、上述したロングバースト検出信号det_lbとなる。
 図14は、起電力PE、出力ノードn1,n2、クロック信号Pen_clk、ウェイト検出信号det_wait、ロングバースト検出信号det_lbの波形のシミュレーション結果を示す図である。同図上部には、対応するセンサコントローラ31の動作モードを示している。ただし、「W」は、動作モードWaitを意味している。
 図14に示すように、センサコントローラ31が動作モードLBにエントリしてロングバースト信号を送信している間、起電力PEは一定の振幅を維持し、それに伴い、クロック信号Pen_clkはハイを維持する。クロック信号Pen_clkがハイを維持している期間が所定時間を超えると、ロングバースト検出回路44の動作により、図14に示すようにロングバースト検出信号det_lbがハイに変化する。
 ロングバースト検出回路44によるロングバースト検出信号det_lbの生成について、再び図13を参照して具体的に説明すると、クロック信号Pen_clkがローのとき、キャパシタ44cの放電により、キャパシタ44cからショットキーバリアダイオード44bを通って検波回路41に向かう電流が流れる。この放電は速やかに行われることから、クロック信号Pen_clkがローになるとほぼ同時に、シュミットトリガ回路44dの出力であるロングバースト検出信号det_lbもローになる。一方、クロック信号Pen_clkがハイになると、検波回路41からの電流が抵抗素子44aを通って流れ込むことによってキャパシタ44cの検波回路41側の電極の電位が徐々に上昇する。この電位が一定値を超えると、シュミットトリガ回路44dの出力であるロングバースト検出信号det_lbがハイに変化することになる。以上のようなロングバースト検出回路44の動作の結果として、ロングバースト検出信号det_lbは上述した信号となる。
 図14に戻り、センサコントローラ31が動作モードIDにエントリしている場合の起電力PEの波形は、動作モードD-Phase又は動作モードC-SWにエントリしているときと同様の波形になる。すなわち、起電力PEは、センサコントローラ31が交番磁界AMの送出を行っている所定時間T1の間に徐々に上昇し、図2に示したコンデンサCを充電する。所定時間T1が経過すると、センサコントローラ31による交番磁界AMの送出が止まり、コンデンサC及び可変容量コンデンサCSWからの放電が始まる。動作モードIDの前後に動作モードWaitを配置するようにセンサコントローラ31が構成されていることから、図14に示すように、動作モードIDの前後でウェイト検出信号det_waitがローに活性化することになる。
 図12に戻る。スイッチ素子46aは、サイドスイッチ22aがオンである場合にオン、オフである場合にオフとなるスイッチである。スイッチ素子46aの一端には電源回路40より電源電圧VDDが供給され、他端には抵抗素子を介して接地電位が供給される。スイッチ素子46aの他端の電位(スイッチ素子46aがオンである場合には電源電圧VDD、オフである場合には接地電位)は、スイッチ情報SW0としてタイミング生成回路45に供給される。
 同様に、スイッチ素子46bは、サイドスイッチ22bがオンである場合にオン、オフである場合にオフとなるスイッチである。スイッチ素子46bの一端には電源回路40より電源電圧VDDが供給され、他端には抵抗素子を介して接地電位が供給される。スイッチ素子46bの他端の電位(スイッチ素子46bがオンである場合には電源電圧VDD、オフである場合には接地電位)は、スイッチ情報SW1としてタイミング生成回路45に供給される。
 また、スイッチ素子46cは、電磁誘導ペン2の識別情報の1ビット目が「1」である場合にオン、「0」である場合にオフとなるスイッチである。スイッチ素子46cの一端には電源回路40より電源電圧VDDが供給され、他端には抵抗素子を介して接地電位が供給される。スイッチ素子46cの他端の電位(スイッチ素子46cがオンである場合には電源電圧VDD、オフである場合には接地電位)は、識別情報ID0としてタイミング生成回路45に供給される。
 同様に、スイッチ素子46dは、電磁誘導ペン2の識別情報の2ビット目が「1」である場合にオン、「0」である場合にオフとなるスイッチである。スイッチ素子46dの一端には電源回路40より電源電圧VDDが供給され、他端には抵抗素子を介して接地電位が供給される。スイッチ素子46dの他端の電位(スイッチ素子46dがオンである場合には電源電圧VDD、オフである場合には接地電位)は、識別情報ID1としてタイミング生成回路45に供給される。
 タイミング生成回路45は、ウェイト検出信号det_wait、ロングバースト検出信号det_lb、スイッチ情報SW0,SW1、識別情報ID0,ID1の入力を受け、D-Phaseイネーブル信号EN_DP及びデジタルデータ送信イネーブル信号EN_IDを生成する回路である。図11に示した3ビットカウンタcnt_s、D-Phase検出信号det_dp、デジタルデータ送信期間検出信号det_id、第1のサイドスイッチ選択信号sel_sw0、第2のサイドスイッチ選択信号sel_sw1、第1の識別情報選択信号sel_id0、及び第2の識別情報選択信号sel_id1は、タイミング生成回路45の内部で生成又は利用される。
 図15は、タイミング生成回路45の内部構成を示す図である。同図に示すように、タイミング生成回路45は、加算器50、D型のフリップフロップ回路51,53,55、ロジック回路52,54,56、アンド回路57a~57d、オア回路58を含んで構成される。
 フリップフロップ回路51は、クロック端子が活性化したタイミングで、データ端子に供給されている値を出力端子から出力する回路である。フリップフロップ回路51のデータ端子には加算器50から3ビットの値が供給され、フリップフロップ回路51の出力値は、図11に示した3ビットカウンタcnt_sとしてロジック回路56に供給される。
 加算器50は、フリップフロップ回路51から出力される3ビットカウンタcnt_sに1を加算することによって得られる3ビットの値を、フリップフロップ回路51のデータ端子に供給する回路である。ただし加算器50は、加算結果が5になったときには、フリップフロップ回路51のデータ端子に4を供給するよう構成される。これにより、加算器50の出力値は4以下の整数値に抑制される。
 フリップフロップ回路51のクロック端子には、ウェイト検出信号det_waitの反転信号が供給される。これにより、フリップフロップ回路51の出力値である3ビットカウンタcnt_sは、ウェイト検出信号det_waitがローに活性化する都度、1ずつ増加することになる。ただし、加算器50の出力値が上記のように4以下の整数値に抑制されていることから、3ビットカウンタcnt_sも4が最大となる。また、フリップフロップ回路51のリセット端子には、ロングバースト検出信号det_lbの反転信号が供給される。これにより、ロングバースト検出信号det_lbがハイになると、3ビットカウンタcnt_sは0にリセットされる。
 フリップフロップ回路53は、フリップフロップ回路51と同様に、クロック端子が活性化したタイミングで、データ端子に供給されている値を出力端子から出力する回路である。フリップフロップ回路53のデータ端子にはロジック回路52から1ビットの値が供給され、フリップフロップ回路53の出力値は、図11に示したD-Phase検出信号det_dpとしてロジック回路56に供給される。
 ロジック回路52は、3ビットカウンタcnt_sの値が4のときに限り、フリップフロップ回路53の出力値(0又は1)を反転してフリップフロップ回路53のデータ端子に供給する回路である。また、フリップフロップ回路53のクロック端子には、フリップフロップ回路51と同様に、ウェイト検出信号det_waitの反転信号が供給される。したがって、D-Phase検出信号det_dpの値は、3ビットカウンタcnt_sの値が4のときに限り、ウェイト検出信号det_waitがローに活性化する都度、0と1の間を反転することになる。
 また、フリップフロップ回路53のリセット端子には、フリップフロップ回路51と同様に、ロングバースト検出信号det_lbの反転信号が供給される。これにより、D-Phase検出信号det_dpの値は、ロングバースト検出信号det_lbがハイになったことに応じて1にリセットされることになる。
 フリップフロップ回路55は、フリップフロップ回路51,53と同様に、クロック端子が活性化したタイミングで、データ端子に供給されている値を出力端子から出力する回路である。フリップフロップ回路55のデータ端子にはロジック回路54から1ビットの値が供給され、フリップフロップ回路55の出力値は、図11に示したデジタルデータ送信期間検出信号det_idとしてロジック回路56に供給される。
 ロジック回路54は、3ビットカウンタcnt_sの値が0のときに、フリップフロップ回路53の出力値(0又は1)を反転してフリップフロップ回路53のデータ端子に供給するとともに、3ビットカウンタcnt_sが4のときに、フリップフロップ回路53のデータ端子に0を供給する回路である。また、フリップフロップ回路55のクロック端子には、フリップフロップ回路51,53と同様に、ウェイト検出信号det_waitの反転信号が供給される。したがって、デジタルデータ送信期間検出信号det_idの値は、3ビットカウンタcnt_sの値が0である場合にウェイト検出信号det_waitがローに変化したことに応じて1になり、3ビットカウンタcnt_sの値が4である場合にウェイト検出信号det_waitがローに変化したことに応じて0になることになる。
 ロジック回路56は、3ビットカウンタcnt_s、D-Phase検出信号det_dp、デジタルデータ送信期間検出信号det_idの各値に基づき、D-Phaseイネーブル信号EN_DP、第1のサイドスイッチ選択信号sel_sw0、第2のサイドスイッチ選択信号sw1、第1の識別情報選択信号sel_id0、第2の識別情報選択信号sel_id1を生成する回路である。具体的に説明すると、ロジック回路56は、デジタルデータ送信期間検出信号det_idがローである場合に、D-Phase検出信号det_dpの反転信号をD-Phaseイネーブル信号EN_DPとし、デジタルデータ送信期間検出信号det_idがハイである場合に、D-Phaseイネーブル信号EN_DPをハイに固定することにより、D-Phaseイネーブル信号EN_DPを生成するよう構成される。
 ここで、デジタルデータ送信期間検出信号det_idがローである場合におけるD-Phaseイネーブル信号EN_DPの生成は、D-Phase検出信号det_dpを挟んでいる点を除けば、図4に示したトグル回路43の動作と同じものである。したがって、タイミング生成回路45は、トグル回路43を包含していると言える。
 また、ロジック回路56は、3ビットカウンタcnt_sの値が1に変化したことに応じて第1のサイドスイッチ選択信号sel_sw0を、3ビットカウンタcnt_sの値が2に変化したことに応じて第2のサイドスイッチ選択信号sel_sw1を、3ビットカウンタcnt_sの値が3に変化したことに応じて第1の識別情報選択信号sel_id0を、3ビットカウンタcnt_sの値が4に変化したことに応じて第2の識別情報選択信号sel_id1を、それぞれ所定時間にわたりハイに活性化する処理を行う。
 アンド回路57aは、第1のサイドスイッチ選択信号sel_sw0と、図12に示したスイッチ情報SW0との両方がハイである場合にハイを、それ以外の場合にローを出力する回路である。アンド回路57bは、第2のサイドスイッチ選択信号sel_sw1と、図12に示したスイッチ情報SW1との両方がハイである場合にハイを、それ以外の場合にローを出力する回路である。アンド回路57cは、第1の識別情報選択信号sel_id0と、図12に示した識別情報ID0との両方がハイである場合にハイを、それ以外の場合にローを出力する回路である。アンド回路57dは、第2の識別情報選択信号sel_id1と、図12に示した識別情報ID1との両方がハイである場合にハイを、それ以外の場合にローを出力する回路である。
 オア回路58は、4つのアンド回路57a~57dの出力がいずれもローである場合にローを、それ以外の場合にハイを出力する回路である。上述したデジタルデータ送信イネーブル信号EN_IDは、オア回路58の出力の反転信号となる。これにより、デジタルデータ送信イネーブル信号EN_IDは、送信するビット値が「1」である場合にロー、「0」である場合にハイとなるので、上述したスイッチ素子25の制御(「1」を送信する場合にオフ、「0」を送信する場合にオン)が実現される。
 図16及び図17は、本実施の形態によるセンサコントローラ31が行う処理を示すフロー図である。以下、これらの図を参照しながら、本実施の形態によるセンサコントローラ31の動作について、より詳しく説明する。
 初めに図16を参照すると、センサコントローラ31はまず、動作モードLBにエントリし(ステップS30)、ロングバースト信号を送出する(ステップS31)。これにより、電磁誘導ペン2による基準交番磁界PSS及び変調交番磁界PSMの送出順がリセットされ、電磁誘導ペン2が次に送信する交番磁界PSは必ず基準交番磁界PSSとなる。そこでセンサコントローラ31は、続いて動作モードD-Phaseにエントリし(ステップS32)、各ループコイルLCyへの交流電流Txの供給と、各ループコイルLCxに現れる誘導電流Rxの振幅の検出とを実行する(ステップS33)。
 次にセンサコントローラ31は、ステップS33で検出した各ループコイルLCyにおける誘導電流Rxの振幅に基づいて電磁誘導ペン2の位置を導出し、ホストプロセッサ32に出力する(ステップS34)。また、センサコントローラ31は、ステップS33で検出した振幅が最も大きいループコイルLCxにおける誘導電流Rxの位相を導出し、基準位相として記憶する(ステップS35)。
 続いて、センサコントローラ31は、現在が電磁誘導ペン2からのデジタルデータの受信タイミングであるか否かを判定する(ステップS36)。この判定結果は、ステップS31でロングバースト信号を送信した直後(すなわち、ロングバースト信号の送信後に1回だけ動作モードD-Phaseを実行した後)に肯定となり、その他の時点では否定となる。ステップS36で肯定的な判定結果を得たセンサコントローラ31は、電磁誘導ペン2が送信したデジタルデータを受信するためのデジタルデータ受信処理を行う(ステップS37)。
 図18は、図16のステップS37で実行されるデジタルデータ受信処理の詳細を示す図である。同図に示すように、センサコントローラ31は、まず初めに変数iに1を代入し(ステップS50)、さらに、直前のステップS34(図16を参照)で導出した電磁誘導ペン2の位置に最も近いものを、複数のループコイルLCy及び複数のループコイルLCxそれぞれの中から1つずつ選択する(ステップS51)。
 続いてセンサコントローラ31は、動作モードWaitにエントリすることにより所定時間待機した後(ステップS52)、動作モードIDにエントリし(ステップS53)、ステップS51で選択したループコイルLCyへの交流電流Txの供給と、ステップS51で選択したループコイルLCxに現れる誘導電流Rxの検出とを実行する(ステップS54)。そしてセンサコントローラ31は、誘導電流Rxの検出結果に基づき、電磁誘導ペン2が送出したi番目のビット値の復調を行う(ステップS55~S57)。具体的には、ステップS44において誘導電流Rxが検出されたか否かを判定し(ステップS55)、検出されたと判定した場合には「1」を取得し(ステップS56)、検出されなかったと判定した場合には「0」を取得する(ステップS57)。
 その後、センサコントローラ31は変数iを1インクリメントし(ステップS58)、変数iが4を超えたか否かを判定する(ステップS59)。その結果、超えていなければステップS52に戻って処理を繰り返し、超えていればデジタルデータ受信処理を終了する。以上の処理により、センサコントローラ31は、電磁誘導ペン2が送信した4ビット分のデジタルデータを受信することになる。
 図16に戻る。ステップS37のデジタルデータ受信処理を完了したセンサコントローラ31、又は、ステップS36で否定的な判定結果を得たセンサコントローラ31は、動作モードWaitにエントリすることにより所定時間待機した後(ステップS38)、前回のロングバースト信号の送信から所定時間が経過したか否かを判定する(ステップS39)。その結果、経過したと判定した場合にはステップS30に戻って動作モードLBに再びエントリし、経過していないと判定した場合には、図17のステップS40に処理を移す。
 図17に移り、ステップS40においてセンサコントローラ31は、動作モードC-SWにエントリする。そして、図16のステップS33と同様に、各ループコイルLCyへの交流電流Txの供給と、各ループコイルLCxに現れる誘導電流Rxの振幅の検出とを実行する(ステップS41)。
 次にセンサコントローラ31は、ステップS41で検出した各ループコイルLCyにおける誘導電流Rxの振幅に基づいて電磁誘導ペン2の位置を導出し、ホストプロセッサ32に出力する(ステップS42)。また、センサコントローラ31は、ステップS41で検出した振幅が最も大きいループコイルLCxにおける誘導電流Rxの位相を導出する(ステップS43)。そして、導出した位相と、直近のステップS35で記憶した基準位相とに基づいて電磁誘導ペン2が送信した筆圧値Pを導出し、ホストプロセッサ32に出力する(ステップS44)。筆圧値Pの具体的な導出方法は、第1の実施の形態で説明したとおりである。
 その後、センサコントローラ31は、動作モードWaitにエントリすることにより所定時間待機した後(ステップS45)、前回のロングバースト信号の送信から所定時間が経過したか否かを判定する(ステップS46)。その結果、経過したと判定した場合にはステップS30に戻って動作モードLBに再びエントリし、経過していないと判定した場合には、ステップS32に戻って動作モードD-Phaseに再びエントリする。
 以上説明したように、本実施の形態による位置検出システム1によれば、第1の実施の形態と同様に、電磁誘導ペン2から基準交番磁界及び変調交番磁界を交互に送出することによって、筆圧値Pを初めとする使用者の所作を示す値の検出精度を従来よりも向上しつつ、さらに、電磁誘導ペン2から位置検出装置3に対してデジタルデータを送信することが可能になる。
 また、本実施の形態による位置検出システム1によれば、電磁誘導ペン2による基準交番磁界PSS及び変調交番磁界PSMの送出順をセンサコントローラ31からリセットすることができるので、センサコントローラ31は、第1の実施の形態で説明した初期設定モードを行う必要がなく、その分、筆圧値Pの導出を早期に開始することが可能になる。
 また、本実施の形態による位置検出システム1によれば、デジタルデータ(スイッチ情報SW0,SW1及び識別情報ID0,ID1)及びアナログ操作量(筆圧値P)ともにセンサコントローラ31が交番磁界AMを送出していない期間に送信されることになるので、電磁誘導ペン2が送信したアナログ操作量の検出及びデジタルデータの受信に位置検出装置3が失敗することを防止できるようになる。
 次に、本発明の第3の実施の形態による位置検出システム1について、説明する。本実施の形態による位置検出システム1は、電磁誘導ペン2が交番磁界PSの送出の有無ではなく送出する交番磁界PSの種類(基準交番磁界PSS又は変調交番磁界PSM)によって1ビットのデジタルデータを送信する点で、第2の実施の形態による位置検出システム1と相違する。その他の点では第2の実施の形態による位置検出システム1と同様であるので、以下では、第2の実施の形態による位置検出システム1との相違点に着目して説明を続ける。
 図19は、本実施の形態による位置検出システム1による電磁誘導ペン2の内部構成を示す図である。同図と図12とを比較すると理解されるように、本実施の形態による電磁誘導ペン2は、処理回路23内にアンド回路47を有する点、及び、第1の共振回路R1がスイッチ素子25を有しない点で、第2の実施の形態による電磁誘導ペン2と相違している。
 アンド回路47は、タイミング生成回路45から出力されるD-Phaseイネーブル信号EN_DP及びデジタルデータ送信イネーブル信号EN_IDがいずれもハイである場合にハイを、それ以外の場合にローを出力する回路である。アンド回路47の出力は、スイッチ素子24のゲートに供給される。ここで、図11に示したように、電磁誘導ペン2からデジタルデータを送信中のD-Phaseイネーブル信号EN_DPはハイに固定される。また、図15から理解されるように、電磁誘導ペン2からデジタルデータを送信しない場合のデジタルデータ送信イネーブル信号EN_IDはハイに固定される。したがって、アンド回路47によれば、電磁誘導ペン2からデジタルデータを送信する際にはデジタルデータ送信イネーブル信号EN_IDの値がスイッチ素子24のゲートに供給されることになるので、送信するビット値が「1」である場合(すなわち、デジタルデータ送信イネーブル信号EN_IDがローである場合)には基準交番磁界PSSが、送信するビット値が「0」である場合(すなわち、デジタルデータ送信イネーブル信号EN_IDがハイである場合)には変調交番磁界PSMが、それぞれ送出されることになる。また、アンド回路47によれば、電磁誘導ペン2からデジタルデータを送信しない場合には、D-Phaseイネーブル信号EN_DPに従って、基準交番磁界PSS及び変調交番磁界PSMのいずれか一方が送出されることになる。
 図20は、本実施の形態によるセンサコントローラ31が行うデジタルデータ受信処理を示すフロー図である。同図と図18とを比較すると理解されるように、本実施の形態によるセンサコントローラ31が行うデジタルデータ受信処理は、ステップS54,S55に代えてステップS60~S62を実行する点で、第2の実施の形態によるセンサコントローラ31が行うデジタルデータ受信処理と相違している。以下、相違点に着目して説明する。
 本実施の形態によるセンサコントローラ31は、ステップS53で動作モードIDにエントリした後、ステップS51で選択したループコイルLCyへの交流電流Txの供給と、ステップS51で選択したループコイルLCxに現れる誘導電流Rxの位相の導出とを実行する(ステップS60)。そしてセンサコントローラ31は、導出した位相と、直近のステップS35(図16を参照)で記憶した基準位相とに基づき、電磁誘導ペン2が送出したi番目のビット値の復調を行う(ステップS61,S62,S56,S57)。具体的には、導出した位相と、記憶している基準位相とに基づいて、受信された交番磁界PSが基準交番磁界PSS及び変調交番磁界PSMのいずれであるかを判定し(ステップS61,S62)、基準交番磁界PSSであると判定した場合には「1」を取得し(ステップS56)、変調交番磁界PSMであると判定した場合には「0」を取得する(ステップS57)。これにより、センサコントローラ31は、電磁誘導ペン2が送信したビット値を受信できることになる。
 以上説明したように、本実施の形態による位置検出システム1によれば、電磁誘導ペン2は、基準交番磁界PSSの送出と変調交番磁界PSMの送出を切り替えることによってデジタルデータを送信することができる。したがって、デジタルデータを送信するときにも、電磁誘導ペン2から交番磁界PSを送出している状態を維持することが可能になる。
 次に、本発明の第4の実施の形態による位置検出システム1について、説明する。本実施の形態による位置検出システム1は、ロングバースト信号受信の有無に関わらず、スイッチ情報SW0,SW1及び識別情報ID0,ID1を含むデジタルデータを継続的に送信するように電磁誘導ペン2を構成する点で、第2の実施の形態による位置検出システム1と相違する。その他の点では第2の実施の形態による位置検出システム1と同様であるので、以下では、第2の実施の形態による位置検出システム1との相違点に着目して説明を続ける。
 図21~図23は、本実施の形態によるセンサコントローラ31及び処理回路23の動作を説明するための図である。図22は図21の続きを示し、図23は図22の続きを示している。これらの図に示すように、本実施の形態によるセンサコントローラ31は、動作モードLBと、それに続く動作モードD-Phaseとにエントリした後、動作モードWait、動作モードID、動作モードWait、動作モードC-SW、動作モードWait、動作モードID、動作モードWait、動作モードD-Phaseの順でエントリする動作を行い、次に動作モードLBにエントリするまで(例えば、前回のロングバースト信号の送信から所定時間が経過するまで)、同じ動作を繰り返すよう構成される。図21~図23には、最初の動作モードLBから各6回の動作モードD-Phase,C-SWを経て再び動作モードLBにエントリする例を示しているが、これは次の動作モードLBに入るときの動作を示すための一例に過ぎず、実際のセンサコントローラ31は、より低い頻度で動作モードLBにエントリすれば十分である。
 処理回路23の内部構成は、図12に示したものと同様である。ただし、タイミング生成回路45の構成及び動作に、第2の実施の形態とは異なる部分がある。具体的に説明すると、本実施の形態によるタイミング生成回路45はまず、3ビットカウンタcnt_sに代えて4ビットカウンタcnt_sを有して構成される。タイミング生成回路45は、ロングバースト検出信号det_lbがハイとなったことに応じて4ビットカウンタcnt_sの値を0にリセットし、その後、ロングバースト検出信号det_lbがハイとなったタイミングから数えて奇数回目にウェイト検出信号det_waitがローになったタイミングで、4ビットカウンタcnt_sの値を1カウントアップするよう構成される。このカウントアップは、4ビットカウンタcnt_sの値が9になるまで続けられ、9になった後には、4ビットカウンタcnt_sの値を一旦1に戻して、同様のカウントアップが再び続けられる。
 また、本実施の形態によるタイミング生成回路45は、ロングバースト検出信号det_lbがハイとなったことに応じてD-Phase検出信号det_dpの値をローに変化させ、その後、ロングバースト検出信号det_lbがハイとなったタイミングから数えて4n+2回目及び4n+3回目(nは0以上の整数)にウェイト検出信号det_waitがローになったタイミングで、D-Phase検出信号det_dpの値をハイとローの間で切り替えるよう構成される。D-Phase検出信号det_dpから生成されるD-Phaseイネーブル信号EN_DPについては、本実施の形態によるタイミング生成回路45は、常にD-Phase検出信号det_dpの反転信号をD-Phaseイネーブル信号EN_DPとするよう構成される。これにより、電磁誘導ペン2が送信する交番磁界は、センサコントローラ31が動作モードC-SWにエントリしている場合には変調交番磁界PSMとなり、センサコントローラ31が動作モードD-Phase又は動作モードIDにエントリしている場合には基準交番磁界PSSとなる。
 本実施の形態による電磁誘導ペン2が送信するデジタルデータには、上述したスイッチ情報SW0,SW1、識別情報ID0,ID1に加え、各1ビットのスタートデータSTA及び4ビットのストップデータSTP0~STP3が含まれる。タイミング生成回路45は、これら合計9ビットの値が4ビットカウンタcnt_sの値に応じたタイミングで1ビットずつ送信されることとなるよう、デジタルデータ送信イネーブル信号EN_IDの制御を行う。具体的には、4ビットカウンタcnt_sの値が1~9に変化したことに応じて、スタートデータSTA、スイッチ情報SW0,SW1、識別情報ID0,ID1、ストップデータSTP0~STP3に基づくデジタルデータ送信イネーブル信号EN_IDの制御を順次行うよう構成される。これによりセンサコントローラ31は、ロングバースト信号を送信した後、動作モードIDにエントリする都度、スタートデータSTA、スイッチ情報SW0,SW1、識別情報ID0,ID1、ストップデータSTP0~STP3を順次受信することになる。この場合においてスタートデータSTA及びストップデータSTP0~STP3は、センサコントローラ31が受信したデータの始まりと終わりを判定するために用いられる。
 図24及び図25は、本実施の形態によるセンサコントローラ31が行う処理を示すフロー図である。これらの図は、図16及び図18を修正したものとなっており、図16及び図18と同じ処理を行う部分には、図16及び図18と同じ参照符号を付している。以下、図24及び図25を参照しながら、本実施の形態によるセンサコントローラ31の動作について、より詳しく説明する。
 初めに図24を参照すると、センサコントローラ31は、ステップS30~S35の処理を図16の例と同様に進めた後、電磁誘導ペン2が送信したデジタルデータを受信するためのデジタルデータ受信処理を行う(ステップS70)。
 図25は、図24のステップS70で実行されるデジタルデータ受信処理の詳細を示している。同図に示すように、本実施の形態によるセンサコントローラ31は、ステップS51~S57の処理を図18の例と同様に進めた後、ステップS56又はステップS57で取得したビット値を記憶する(ステップS71)。そして、最新の9ビットのうち最初の1ビットがスタートデータSTAに等しく、最後の4ビットがストップデータSTP0~STP3に等しいか否かを判定する(ステップS72,S73)。
 ステップS73で等しいと判定した場合、センサコントローラ31は、最新の9ビットのうちの2~5ビット目に基づいてスイッチ情報SW0,SW1及び識別情報ID0,ID1を取得し(ステップS74)、デジタルデータ受信処理を終了する。ステップS73で等しいと判定しなかった場合には、センサコントローラ31は、ステップS74を実行することなくデジタルデータ受信処理を終了する。
 図24に戻る。ステップS70のデジタルデータ受信処理を終了したセンサコントローラ31は、図16及び図17の例と同様に、ステップS38以降の処理を実行する。これにより、動作モードIDを挟みながら動作モードD-Phaseと動作モードC-SWに交互にエントリすること、及び、前回のロングバースト信号の送信から所定時間が経過した場合に再び動作モードLBにエントリすることが実現される。
 本実施の形態による位置検出システム1によれば、第2の実施の形態による位置検出システム1に比べてロングバースト信号の送信頻度を大幅に低減できる、という効果が得られる。すなわち、本実施の形態による位置検出システム1においては、電磁誘導ペン2は、ロングバースト信号受信の有無に関わらず、スイッチ情報SW0,SW1及び識別情報ID0,ID1を含む9ビットの情報を繰り返し送信することになるので、センサコントローラ31は、ロングバースト信号というトリガを発生させなくても、電磁誘導ペン2から継続的にスイッチ情報SW0,SW1及び識別情報ID0,ID1を受信することができる。したがって、本実施の形態によるセンサコントローラ31は、電磁誘導ペン2にスイッチ情報SW0,SW1及び識別情報ID0,ID1を送信させるためにロングバースト信号を送信する必要がないので、ロングバースト信号の送信頻度を大幅に低減できることになる。一例では、センサコントローラ31は、電磁誘導ペン2を新たに検出した際にのみ、基準交番磁界PSS及び変調交番磁界PSMの送信順を初期化する目的で、ロングバースト信号を送信することとすればよい。
 次に、本発明の第5の実施の形態による位置検出システム1について、説明する。本実施の形態による位置検出システム1は、周波数偏移変調により複数ビットのデジタルデータを同時に送信するように電磁誘導ペン2を構成する点で、第2の実施の形態による位置検出システム1と相違する。その他の点では第2の実施の形態による位置検出システム1と同様であるので、以下では、第2の実施の形態による位置検出システム1との相違点に着目して説明を続ける。
 図26は、本実施の形態による電磁誘導ペン2の構成を示す図である。同図と図10とを比較すると理解されるように、本実施の形態による電磁誘導ペン2は、スイッチ素子25に代えてコンデンサC~C及びスイッチ素子65~68を有する点で、第2の実施の形態による電磁誘導ペン2と相違する。
 コンデンサC~Cはそれぞれ、コンデンサCと並列に接続される。また、スイッチ素子65~68はそれぞれ、コンデンサC~Cと直列に接続される。本実施の形態による電磁誘導ペン2は、基準交番磁界PSSを送出する場合には、スイッチ素子24をオフ、スイッチ素子65~68をオンとするように構成される。これにより、本実施の形態においては、基準交番磁界PSSの周波数(基準周波数)は、コンデンサC,C~Cの合成容量によって決まる値(後述する周波数f)となる。また、変調交番磁界PSMを送出する場合、電磁誘導ペン2は、スイッチ素子24,65~68をすべてオンとするように構成される。これにより、本実施の形態においては、変調交番磁界PSMの周波数は、コンデンサC,CSW,C~Cの合成容量によって決まる値(後述する周波数fSW)となる。
 一方、デジタルデータを送信する場合、本実施の形態による電磁誘導ペン2は、スイッチ素子24をオフとする一方、送信値に応じてスイッチ素子65~68のオンオフを制御するよう構成される。その結果、電磁誘導ペン2から送出される交番磁界の周波数は、コンデンサCと、コンデンサC~CのうちコンデンサCに接続されているものとの合成容量によって決まる値(後述する周波数f~f15)となる。本実施の形態による電磁誘導ペン2は、このような交番磁界の周波数の性質を利用して、4ビットのデジタルデータを送信するように構成される。
 図27(a)は、電磁誘導ペン2が送信する値(アナログ操作量である筆圧値Pを含む)と、スイッチ素子24,65~68のオンオフ状態、コンデンサC,CSW,C~Cのうち共振回路に組み込まれているものの合成容量C、及び共振回路の共振周波数fとの関係を示す図である。同図及び以下の説明では、コンデンサC,CSW,C~Cの容量をそれぞれC,CSW,C~Cと表し、コイルLのインダクタンスをLと表す。
 図27(a)に示すように、電磁誘導ペン2が筆圧値Pを送信する場合の合成容量Cの値はC+CSW+C+C+C+Cとなる。可変容量コンデンサCSWの容量CSWが上述したように連続的に変化するアナログ量であることから、この場合に電磁誘導ペン2から送出される交番磁界の周波数fSWは、容量CSWに応じて連続的に変化するアナログ量となる。したがって、電磁誘導ペン2による筆圧値Pの送信は、アナログ変調(より具体的には、周波数変調)による送信であると言える。
 一方、電磁誘導ペン2が4ビットのデジタルデータを送信する場合の合成容量Cの値は、CからC+C+C+C+Cまで16段階で不連続に変化する。これらの合成容量Cの値に応じて電磁誘導ペン2から送出される交番磁界の周波数f~f15は、互いに異なるデジタル値を示すものとなる。したがって、電磁誘導ペン2によるデジタルデータの送信は、デジタル変調(より具体的には、周波数偏移変調)による送信であると言える。
 ここで、共振回路の共振周波数fの具体的な値は、数式を用いてf=(2π(L×C-1)と表される。したがって、合成容量Cの値が大きいほど、共振周波数fの値は小さくなる。
 図27(b)は、各送信値に対応する共振周波数fの値を直線上に示した図である。同図に示すように、電磁誘導ペン2が筆圧値Pを送信する場合の共振周波数fの値である周波数fSWは、周波数f~f15のいずれよりも小さい周波数の範囲内で変化する。これは、この場合の合成容量Cの値C+CSW+C+C+C+Cが、容量CSWの値によらず、図27(a)に示した合成容量Cの複数の値の中で最も大きい値となるためである。
 一方、電磁誘導ペン2がデジタルデータを送信する場合の共振周波数fの値は、基準周波数fとそれより大きい周波数f~f15のいずれかとなる。周波数f~f15の中で基準周波数fが最も小さいのは、送信値0000に対応する合成容量Cの値C+C+C+C+Cが、他の送信値0001~1111に対応する合成容量Cの値よりも大きくなるためである。なお、送信値0001~1111に対応する合成容量Cの値の大小関係は容量C~Cの具体的な値によって変わるが、例えば容量比C:C:C:C=8:4:2:1とすれば、送信値が大きいほど合成容量Cが小さくなる関係となる。
 以上説明したように、本実施の形態による位置検出システム1によれば、共振周波数fを基準周波数fから増加させることによってデジタル変調を行い、基準周波数fよりも小さい値で共振周波数fを連続的に変化させることによってアナログ変調を行うので、基準周波数fから見て正負同じ側でデジタル変調とアナログ変調の両方を行う場合に比べて、基準周波数fからの周波数の変化量を抑制することができる。したがって、本実施の形態による位置検出システム1によれば、センサコントローラ31が行う誘導電流Rxの離散フーリエ変換(又は高速フーリエ変換)の範囲を狭めることが可能になる。
 以上、本発明の好ましい実施の形態について説明したが、本発明はこうした実施の形態に何等限定されるものではなく、本発明が、その要旨を逸脱しない範囲において、種々なる態様で実施され得ることは勿論である。
 例えば、第5の実施の形態によるデジタルデータの送信方法は、第2の実施の形態又は第4の実施の形態による電磁誘導ペン2によるデジタルデータの送信にも適用可能である。すなわち、第2の実施の形態又は第4の実施の形態による電磁誘導ペン2は、スイッチ素子25のオンオフ制御によって実現される振幅偏移変調によって1ビット分のデジタルデータを送信することに代え、スイッチ素子65~68のオンオフ制御によって実現される周波数偏移変調により4ビット分のデジタルデータを同時に送信することとしてもよい。こうすることで、より多くのデジタルデータを送信すること、又は、所定ビット数のデジタルデータをより短い時間で送信すること、或いはその両方の実現が可能になる。
1       位置検出システム
2       電磁誘導ペン
3       位置検出装置
20      芯体
21      圧力センサ
22a,22b サイドスイッチ
23      処理回路
24,25   スイッチ素子
30      スイッチ部
31      センサコントローラ
32      ホストプロセッサ
40      電源回路
41      検波回路
41a     半波倍電圧整流回路
41b,41d 分圧回路
41c     平滑回路
41e     オペアンプ
41f,42a,44a 抵抗素子
41g,41i 反転バッファ回路
41h     RCローパスフィルタ
42      ウェイト検出回路
42b,44b ショットキーバリアダイオード
42c,44c キャパシタ
42d,44d シュミットトリガ回路
43      トグル回路
43a,51,53,55 フリップフロップ回路
44      ロングバースト検出回路
45      タイミング生成回路
46a~46d,65~68 スイッチ素子
47,57a~57d アンド回路
50      加算器
52,54,56 ロジック回路
58      オア回路
AM      交番磁界
C,C~C  コンデンサ
SW      可変容量コンデンサ
L       コイル
LC,LCy,LCx ループコイル
PS      交番磁界
PSM     変調交番磁界
PSS     基準交番磁界
R1      第1の共振回路
R2      第2の共振回路

Claims (23)

  1.  インダクタンス素子及び静電容量素子を含んで構成される第1の共振回路と、
     前記第1の共振回路に接続される変化素子と、
     を含む電磁誘導ペンであって、
     前記変化素子は、該変化素子及び前記第1の共振回路を含んで構成される第2の共振回路の共振周波数を使用者の所作に関連して変化させる素子であり、
     前記第1の共振回路を用いた基準交番磁界の送出と、前記第2の共振回路を用いた変調交番磁界の送出とを切り替えるトグル回路をさらに含む、
     電磁誘導ペン。
  2.  前記基準交番磁界の送出と前記変調交番磁界の送出との間に、前記基準交番磁界及び前記変調交番磁界のいずれも送出しない送出停止期間を有する、
     請求項1に記載の電磁誘導ペン。
  3.  前記トグル回路は、位置検出装置から交番磁界が受信されなくなってから所定時間以上が経過したことに応じて、前記基準交番磁界の送出と前記変調交番磁界の送出とを切り替えるよう構成される、
     請求項1に記載の電磁誘導ペン。
  4.  前記トグル回路は、前記電磁誘導ペン内において検出される所定のタイミングの後、前記基準交番磁界の送出と前記変調交番磁界の送出とを所定パターンで繰り返す、
     請求項1に記載の電磁誘導ペン。
  5.  前記所定のタイミングは、位置検出装置からの交番磁界により与えられる、
     請求項4に記載の電磁誘導ペン。
  6.  前記位置検出装置から所定時間にわたり継続的に交番磁界が受信されたことに応じて、前記基準交番磁界及び前記変調交番磁界の送出順をリセットする、
     請求項5に記載の電磁誘導ペン。
  7.  インダクタンス素子及び静電容量素子を含んで構成される第1の共振回路と、
     前記第1の共振回路に接続される変化素子と、を含み、
     前記変化素子は、該変化素子及び前記第1の共振回路を含んで構成される第2の共振回路の共振周波数を使用者の所作に関連して変化させる素子である、電磁誘導ペンから、
     前記第1の共振回路を用いて生成される基準交番磁界、又は、前記第2の共振回路を用いて生成される変調交番磁界である交番磁界を受信し、
     受信した前記交番磁界が前記基準交番磁界及び前記変調交番磁界のいずれであるかを判定し、
     前記基準交番磁界であると判定した前記交番磁界の受信結果に基づいて、前記変調交番磁界により示されるアナログ量に対応するデジタル値を出力する、
     位置検出装置用の集積回路。
  8.  前記判定の前に2回にわたって前記交番磁界を受信し、
     受信した2回分の前記交番磁界それぞれの位相、周波数、又は振幅に基づいて、前記判定を行う、
     請求項7に記載の集積回路。
  9.  受信した前記交番磁界の位相、周波数、又は振幅が所定条件を満たす場合に、該交番磁界は前記基準交番磁界であると判定する、
     請求項7に記載の集積回路。
  10.  前記電磁誘導ペンは、前記基準交番磁界の送出及び前記変調交番磁界の送出を所定の順序で繰り返し実行するよう構成され、
     前記集積回路は、受信した前記交番磁界が前記基準交番磁界であると判定した後は、前記所定の順序で、前記基準交番磁界の受信と、前記変調交番磁界の受信とを実行する、
     請求項7に記載の集積回路。
  11.  インダクタンス素子及び静電容量素子を含んで構成される第1の共振回路と、
     前記第1の共振回路に接続される変化素子と、を含み、
     前記変化素子は、該変化素子及び前記第1の共振回路を含んで構成される第2の共振回路の共振周波数を使用者の所作に関連して変化させる素子である、電磁誘導ペンから、
     前記第1の共振回路を用いて生成される基準交番磁界、及び、前記第2の共振回路を用いて生成される変調交番磁界をそれぞれ受信し、
     前記基準交番磁界に基づいて第1の出力を取得し、
     前記変調交番磁界に基づいて第2の出力を取得し、
     前記第1の出力と前記第2の出力の差分に対し、所定のオフセット量を加算又は減算することにより第3の出力を取得し、
     前記第3の出力を所定の変換規則によりデジタル値に変換する、
     位置検出装置。
  12.  前記所定のオフセット量は、前記所作がされていない状態における前記第1の出力と前記第2の出力の差分に基づいて決定される、
     請求項11に記載の位置検出装置。
  13.  前記所定の変換規則は、前記所作がされていないことを示す値よりも前記第3の出力が小さい場合に、前記デジタル値を前記所作がされていないことを示す値とする規則である、
     請求項11に記載の位置検出装置。
  14.  前記所定の変換規則は、前記所作の量が大きいほど、前記所作の量の変化に対する前記デジタル値の変化量が大きくなるよう構成される、
     請求項11に記載の位置検出装置。
  15.  インダクタンス素子及び静電容量素子を含んで構成される第1の共振回路と、
     前記第1の共振回路に接続される変化素子と、
     を含む電磁誘導ペンであって、
     前記変化素子は、該変化素子及び前記第1の共振回路を含んで構成される第2の共振回路の共振周波数を使用者の所作に関連して変化させる素子であり、
     位置検出装置に対して送信するビット値に基づき、前記第1の共振回路を用いた基準交番磁界の送出と、前記第2の共振回路を用いた変調交番磁界の送出とを切り替える処理回路をさらに含む、
     電磁誘導ペン。
  16.  インダクタンス素子及び静電容量素子を含んで構成される第1の共振回路と、
     前記第1の共振回路に接続される変化素子と、を含み、
     前記変化素子は、該変化素子及び前記第1の共振回路を含んで構成される第2の共振回路の共振周波数を使用者の所作に関連して変化させる素子である、電磁誘導ペンから、
     前記第1の共振回路を用いて生成される基準交番磁界、又は、前記第2の共振回路を用いて生成される変調交番磁界である交番磁界を受信し、
     前記交番磁界が前記基準交番磁界及び前記変調交番磁界のいずれであるかを判定し、
     前記判定の結果に基づいて、前記電磁誘導ペンが送信したビット値を取得する、
     位置検出装置。
  17.  デジタルデータをデジタル変調により送信する処理、及び、アナログ操作量をアナログ変調により送信する処理を、前記センサコントローラが交番磁界を送出していない期間に実行する、
     電磁誘導ペン。
  18.  前記デジタルデータの送信と前記アナログ操作量の送信とを、所定のシーケンスにより切り替えながら実行する、
     請求項17に記載の電磁誘導ペン。
  19.  前記所定のシーケンスは、前記アナログ操作量に応じて変化しない基準周波数を共振周波数とする第1の共振回路からの基準交番磁界の送出を行った後、前記デジタル変調による前記デジタルデータの送信を複数回にわたり実行し、次いで、前記アナログ操作量に応じて変化する周波数を共振周波数とする第2の共振回路からの変調交番磁界の送出を行うシーケンスである、
     請求項18に記載の電磁誘導ペン。
  20.  前記所定のシーケンスは、前記アナログ操作量に応じて変化しない基準周波数を共振周波数とする第1の共振回路からの基準交番磁界の送出と、前記アナログ操作量に応じて変化する周波数を共振周波数とする第2の共振回路からの変調交番磁界の送出とを交互に行い、前記基準交番磁界の送出と前記変調交番磁界の送出との間に、前記デジタル変調により前記デジタルデータを送信するシーケンスである、
     請求項18に記載の電磁誘導ペン。
  21.  前記デジタル変調は振幅偏移変調であり、
     前記アナログ変調は、前記アナログ操作量に応じて変化しない基準周波数からの周波数の変化量により前記アナログ操作量を表す周波数偏移変調である、
     請求項17に記載の電磁誘導ペン。
  22.  共振回路の共振周波数を前記アナログ操作量に応じて変化しない基準周波数から増加させることによって前記デジタル変調を行い、前記基準周波数よりも小さい値の範囲で前記共振回路の共振周波数を連続的に変化させることによって前記アナログ変調を行う、
     請求項17に記載の電磁誘導ペン。
  23.  前記アナログ操作量に応じて容量が変化する可変容量コンデンサと、
     前記可変容量コンデンサと並列に接続される1以上のコンデンサと、を有し、
     前記アナログ変調は、前記可変容量コンデンサ及び前記1以上のコンデンサを前記共振回路に接続することによって実行され、
     前記デジタル変調は、前記可変容量コンデンサを前記共振回路から切り離し、かつ、送信値に応じて前記1以上のコンデンサのうちの1つ以上を前記共振回路に接続することによって実行される、
     請求項22に記載の電磁誘導ペン。
PCT/JP2023/036639 2022-10-28 2023-10-06 電磁誘導ペン、集積回路、及び位置検出装置 WO2024090186A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022-173666 2022-10-28
JP2022173666 2022-10-28

Publications (1)

Publication Number Publication Date
WO2024090186A1 true WO2024090186A1 (ja) 2024-05-02

Family

ID=90830763

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/036639 WO2024090186A1 (ja) 2022-10-28 2023-10-06 電磁誘導ペン、集積回路、及び位置検出装置

Country Status (1)

Country Link
WO (1) WO2024090186A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016056299A1 (ja) * 2014-10-06 2016-04-14 株式会社ワコム 位置指示器
JP2020129416A (ja) * 2019-02-21 2020-08-27 株式会社ワコム 位置指示器

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016056299A1 (ja) * 2014-10-06 2016-04-14 株式会社ワコム 位置指示器
JP2020129416A (ja) * 2019-02-21 2020-08-27 株式会社ワコム 位置指示器

Similar Documents

Publication Publication Date Title
JP4773315B2 (ja) 位置検出装置及び位置指示器
US20210349558A1 (en) Pointer, position detection apparatus and position detection method
US9158393B2 (en) Active stylus for touch sensing applications
KR102407446B1 (ko) 위치 지시기, 위치 검출 장치, 위치 검출 회로 및 위치 검출 방법
JP6304814B2 (ja) 位置検出装置及び位置指示器
WO2018042583A1 (ja) スタイラス、センサコントローラ、及び電子定規
US4786765A (en) Coordinates input system
KR102198176B1 (ko) 좌표 표시 장치의 주파수 측정 방법 및 그에 따른 전자기기
US9946391B2 (en) Sensing objects using multiple transmitter frequencies
US10055035B2 (en) Position detecting device and position indicator thereof
EP2570777B1 (en) Sensing apparatus for measuring position of touch object by electromagnetic induction and method for controlling the same
WO2024090186A1 (ja) 電磁誘導ペン、集積回路、及び位置検出装置
CN104092458A (zh) 基于互电容的触摸按键信号检测方法及其检测电路
US10088922B2 (en) Smart resonating pen
KR20200045286A (ko) 터치 장치 및 이의 터치 검출 방법
US10044411B2 (en) Data reading device and method thereof, and data transmission device and method thereof
US9696820B2 (en) Position indication device and position indication method
WO2023223587A1 (ja) 電磁誘導ペン及び位置検出装置
CN110413159A (zh) 具有自动相位校正功能的电磁触控手写装置
US20190155441A1 (en) Touch sensor circuit and touch sensor method
TWI545470B (zh) 主動式觸控筆及其操作方法
JP5782576B2 (ja) 位置指示方法及び位置検出方法
KR20190108682A (ko) 하드웨어 트리거가 집적된 주파수 감지 회로를 포함하는 전자 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23882395

Country of ref document: EP

Kind code of ref document: A1