WO2020250321A1 - ペン及びセンサコントローラ - Google Patents

ペン及びセンサコントローラ Download PDF

Info

Publication number
WO2020250321A1
WO2020250321A1 PCT/JP2019/023168 JP2019023168W WO2020250321A1 WO 2020250321 A1 WO2020250321 A1 WO 2020250321A1 JP 2019023168 W JP2019023168 W JP 2019023168W WO 2020250321 A1 WO2020250321 A1 WO 2020250321A1
Authority
WO
WIPO (PCT)
Prior art keywords
pen
uplink signal
protocol
signal
sensor controller
Prior art date
Application number
PCT/JP2019/023168
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 株式会社ワコム
Priority to JP2021525457A priority Critical patent/JP7320061B2/ja
Priority to PCT/JP2019/023168 priority patent/WO2020250321A1/ja
Priority to CN201980096819.3A priority patent/CN113874820A/zh
Publication of WO2020250321A1 publication Critical patent/WO2020250321A1/ja
Priority to US17/501,822 priority patent/US11989377B2/en
Priority to JP2023118927A priority patent/JP2023134788A/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
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • G06F3/0441Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means using active external devices, e.g. active pens, for receiving changes in electrical potential transmitted by the digitiser, e.g. tablet driving signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04162Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04166Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving
    • 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/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • G06F3/0442Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means using active external devices, e.g. active pens, for transmitting changes in electrical potential to be received by the digitiser
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/038Indexing scheme relating to G06F3/038
    • G06F2203/0382Plural input, i.e. interface arrangements in which a plurality of input device of the same type are in communication with a PC
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04104Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/707Spread spectrum techniques using direct sequence modulation
    • H04B1/7073Synchronisation aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J13/00Code division multiplex systems
    • H04J13/0007Code type
    • H04J13/0022PN, e.g. Kronecker

Definitions

  • the present invention relates to a pen and a sensor controller.
  • Patent Document 1 discloses an example of a sensor controller that realizes simultaneous drawing with two electronic pens.
  • the sensor controller according to this example is configured to be able to control each electronic pen individually by assigning a different local ID to each of the two detected electronic pens and including the local ID in the command signal.
  • Patent Document 2 discloses an example of a sensor controller that establishes synchronization with an electronic pen when a pulse train of a predetermined length transmitted by the electronic pen is detected.
  • the protocol of the signal transmitted and received in both directions between the electronic pen and the sensor controller may be changed due to technological progress.
  • some of the two or more electronic pens used at the same time in a certain electronic device correspond to a new protocol (hereinafter referred to as “new protocol”), while others correspond to an old protocol (hereinafter referred to as “old protocol”).
  • new protocol a new protocol
  • old protocol an old protocol
  • one of the objects of the present invention is to provide an electronic pen and a sensor controller that can use both the new pen and the old pen at the same time in one electronic device.
  • a pen receives an uplink signal generated according to the first protocol and transmits a downlink signal based on the reception timing of the uplink signal and a command arranged in the uplink signal.
  • a pen configured to do so, after receiving the uplink signal, in a special state without normally receiving the next uplink signal during the period during which the next uplink signal can be received.
  • the down according to the command arranged in the first uplink signal received before the period according to the first protocol, or the down including the default data.
  • the pen according to another aspect of the present invention has a first uplink signal generated according to a first protocol and a second uplink signal generated according to a second protocol different from the first protocol.
  • the pen is configured to be able to receive both of the above, and after entering the second operation mode according to the second protocol in response to receiving the second uplink signal, the first uplink A pen that, when receiving a signal, transmits a second downlink signal according to the second protocol.
  • the sensor controller detects both a first downlink signal generated according to the first protocol and a second downlink signal generated according to a second protocol different from the first protocol.
  • a capable sensor controller that transmits a first frame for transmitting the first uplink signal for the first protocol and a second uplink signal for transmitting the second protocol. It is a sensor controller configured to alternately set the two frames at a set ratio and detect both the first and second downlink signals in the second frame.
  • FIG. 1 It is a figure which shows the whole position detection system 1 by embodiment of this invention. It is a figure which shows the schedule of transmission (Tx) and reception (Rx) in a sensor controller 31. It is a figure which shows the structure of the downlink signal DS. It is a figure which shows the structure of the uplink signal US. It is a figure which shows the internal structure of a pen 2. It is a figure which shows the internal structure of the electronic device 3.
  • (A) is a diagram showing a configuration example of the uplink signal US1
  • (b) to (g) are diagrams showing a configuration example of the uplink signal US2, respectively.
  • (A) shows an example of the diffusion code constituting the preamble PRE used in the old protocol
  • (b) is a diagram showing an example of the diffusion code constituting the preamble PRE used in the new protocol.
  • It is a mode transition diagram of the pen 2a which is an old pen.
  • It is a mode transition diagram of the pen 2b which is a new pen.
  • It is a mode transition diagram of the sensor controller 31.
  • It is explanatory drawing for demonstrating the mode transition of a sensor controller 31.
  • FIG. 1 is a diagram showing the entire position detection system 1 according to the present embodiment.
  • the position detection system 1 includes two pens 2a and 2b and an electronic device 3.
  • the electronic device 3 includes a sensor electrode 30, a sensor controller 31, a panel 32, an electronic device control unit 33, and a liquid crystal display unit 34.
  • the pens 2a and 2b are both active styluses compatible with the active electrostatic method, and are used simultaneously or separately by one or more users. Hereinafter, when it is not necessary to distinguish the pens 2a and 2b, they may be collectively referred to as the pen 2.
  • the pen 2 and the sensor controller 31 are configured to be able to communicate in both directions.
  • the signal transmitted from the sensor controller 31 to the pen 2 is referred to as an uplink signal US
  • the signal transmitted from the pen 2 to the sensor controller 31 is referred to as a downlink signal DS.
  • Transmission and reception of the uplink signal US and the downlink signal DS are executed according to a predetermined protocol, but this protocol may be changed due to technological progress.
  • a protocol newly launched at a certain point in time will be referred to as a new protocol (second protocol), and a protocol used up to that point will be referred to as an old protocol (first protocol).
  • the pen 2a will be described as an electronic pen (old pen) corresponding only to the old protocol
  • the pen 2b will be described as an electronic pen (new pen) corresponding to both the old and new protocols.
  • FIG. 1 shows three loci st1 to st3 as examples of the trajectories drawn in this way. The drawing of the locus is continued until the user releases the pen tip of the pen 2a from the touch surface (pen up, which is indicated as "UP” in FIG. 1).
  • the pen 2 is configured to detect the uplink signal US supplied by the sensor controller 31 via the sensor electrode 30 and transmit a predetermined downlink signal DS according to the uplink signal US.
  • the sensor controller 31 acquires the position of the pen 2 in the touch surface and acquires the data transmitted by the pen 2 by receiving the downlink signal DS via the sensor electrode 30. ..
  • the position and data acquired by the sensor controller 31 are sequentially supplied to the electronic device control unit 33.
  • the electronic device control unit 33 generates stroke data based on the positions and data supplied in this way, renders the stroke data, and outputs the stroke data to the liquid crystal display unit 34 to draw the above-mentioned locus on the touch surface.
  • FIG. 2 is a diagram showing a transmission (Tx) and reception (Rx) schedule in the sensor controller 31.
  • the sensor controller 31 is configured to transmit the uplink signal US and receive the downlink signal DS in units of frames F. Within each frame F, transmission of the uplink signal US and reception of the downlink signal DS are executed in a time division manner. Specifically, first, the uplink signal US is transmitted by the sensor controller 31 at the beginning of each frame F. Then, in the remaining time of each frame F, the downlink signal DS is transmitted by the pen 2.
  • two reception time slots TS1 and TS2 are provided in one frame F.
  • the time slot TS when it is not necessary to distinguish the time slots TS1 and TS2, they may be collectively referred to as the time slot TS.
  • These time slot TSs are provided so that different pens 2 can transmit the downlink signal DS in a time-division manner.
  • two time slots TS1 and TS2 are provided.
  • up to two pens 2 can transmit the downlink signal DS in one frame F.
  • the maximum number of pens 2 that can be paired with the sensor controller 31 at the same time is two.
  • the number of pens 2 that can be paired at the same time as the sensor controller 31 is not limited to two.
  • the time slot TS used by each pen 2 is determined when the sensor controller 31 and the pen 2 perform pairing.
  • FIG. 3 is a diagram showing the configuration of the downlink signal DS.
  • FIG. 6A shows a downlink signal DS transmitted by the pen 2 that has not yet detected the sensor controller 31, and
  • FIG. 3B shows a downlink signal transmitted by the pen 2 that is paired with the sensor controller 31. The signal DS is shown.
  • the pen 2 that has not yet detected the sensor controller 31 transmits only the position signal PS as the downlink signal DS.
  • the position signal PS is, for example, an unmodulated carrier signal.
  • the position signal PS in this case is used by the sensor controller 31 to detect the position of the pen 2 on the entire touch surface. This position detection is referred to herein as a "global scan”. The specific method of position detection by global scan will be described later.
  • the pen 2 being paired with the sensor controller 31 transmits the data signal DATA in addition to the above-mentioned position signal PS as the downlink signal DS.
  • the position signal PS in this case is used by the sensor controller 31 to update the position of the pen 2. This position update is referred to herein as a "local scan”. A specific method for updating the position by local scanning will also be described later.
  • the data signal DATA is a signal for transmitting data held in the pen 2 to the sensor controller 31, and is a pen pressure value detected by a pen pressure detection unit 23 (see FIG. 5), which will be described later. It is configured to include a value indicating on / off of a switch provided on the side surface or the bottom surface of the housing, a pen ID for uniquely identifying each pen 2.
  • the pen 2 normally transmits a downlink signal DS in which only the pen pressure value is arranged in the data signal DATA.
  • the sensor controller 31 instructs the transmission of specific data by the command COMDATA described later, the pen 2 transmits the downlink signal DS including the data according to the command COMDATA.
  • bit A shown in FIG. 3B has different values depending on whether the pen 2 supports only the old protocol and the case where both the old protocol and the new protocol are supported. It is used to notify the sensor controller 31 of the status of support for the new protocol. Bit A may be included in the downlink signal DS generated according to the old protocol, and may not be included in the downlink signal DS generated according to the new protocol.
  • FIG. 4 is a diagram showing the configuration of the uplink signal US.
  • the uplink signal US includes a preamble PRE, a command signal COM, and an error detection code CRC.
  • the preamble PRE is a synchronization signal known to the pen 2 for synchronizing the pen 2 with the sensor controller 31.
  • This synchronization signal is composed of, for example, a predetermined diffusion code (pulse train) composed of chips having a chip width of a predetermined length (for example, 0.5us, 1.0us, 2.0us ).
  • the chip length of the diffusion code is, for example, 7, 15, 31, 63 [chips] .... Further, two or more such diffusion codes having a chip length may be connected to form a synchronization signal.
  • the synchronization signal may be, for example, a pulse train having a specific frequency in which a predetermined number of pulses having a pulse width as in the above example are continuous.
  • the pen 2 continuously or intermittently detects the diffusion code constituting the preamble PRE, detects the presence of the sensor controller 31 when the preamble PRE is detected, and detects the preamble PRE based on the timing at which the sensor controller 31 is detected. Synchronize with controller 31.
  • the term "synchronization" as used herein means transmission timing of the downlink signal DS and reception timing of the next uplink signal US (that is, transmission / reception of the uplink signal US and the downlink signal DS) based on the timing at which the preamble PRE is detected. It means to decide the schedule).
  • the pen 2 is configured to update this synchronization each time it receives the uplink signal US.
  • the command signal COM displays a local ID (LID) indicating the pen 2 which is the destination of the command signal COM, a command COMDATA including a command for the pen 2, and availability of each of the time slots TS1 and TS2 shown in FIG. It is configured to include a slot state information STA represented by one bit.
  • LID local ID
  • STA slot state information
  • the error detection code CRC is a code obtained by performing a predetermined operation with the command signal COM as an input, and is used to detect an error generated during transmission of the command signal COM.
  • the pen 2 that received the uplink signal US without discovering the sensor controller 31 confirms the availability of the time slots TS1 and TS2 by referring to the slot status information STA. As a result, when any of the time slot TSs is empty, the downlink signal DS including only the position signal PS is transmitted by using the time slot TS.
  • the sensor controller 31 that has received the downlink signal DS changes the slot state information STA of the time slot TS that has received the downlink signal DS in use in the uplink signal US to be transmitted next.
  • the pen 2 that has received the uplink signal US detects that it has been detected by the sensor controller 31 by detecting a change in the slot state information STA, and at the same time, it is sent to the time slot TS that has transmitted the downlink signal DS. Acquires the corresponding predetermined local ID (for example, 0 for the time slot TS1, 1 for the time slot TS2, etc.) and stores it in its own memory.
  • the pen 2 that stores the local ID subsequently receives the uplink signal US and decodes it, it first refers to the local ID in the command signal COM, which matches the local ID stored in its own memory 45. By determining whether or not to do so, it is determined whether or not the uplink signal US is transmitted toward itself. As a result of this determination, when it is determined that the uplink signal US is transmitted toward itself, the pen 2 extracts the command COMDATA from the command signal COM and performs processing according to the content thereof. This process includes a process of acquiring the data requested to be transmitted from the sensor controller 31 and arranging the data in the subsequent downlink signal DS.
  • the pen 2 when it is determined that the uplink signal is not the uplink signal US transmitted to itself, the pen 2 does not acquire the command COMDATA in the command signal COM, but the position signal PS and the data signal DATA including only the pen pressure value.
  • the default downlink signal DS including and is transmitted.
  • the sensor controller 31 is configured to detect the presence and position of the pen 2 by receiving the position signal PS using the sensor electrode 30.
  • the indicated positions P1 and P2 shown in FIG. 1 show an example of the positions thus detected.
  • the above-mentioned loci st1 to st3 are loci of movement of the designated positions P1 and P2.
  • the sensor controller 31 is also configured to acquire data (such as a pen pressure value) transmitted by the pen 2 by receiving the data signal DATA using the sensor electrode 30.
  • FIG. 5 is a diagram showing the internal configuration of the pen 2.
  • the pen 2 includes a core body 20, a pen tip electrode 22, a pen pressure detecting unit 23, a power supply 26, and an integrated circuit 27.
  • the core body 20 is a rod-shaped member arranged so that its longitudinal direction coincides with the pen axial direction of the pen 2, and one end thereof constitutes the pen tip portion 21 of the pen 2.
  • a conductive material is applied to the surface of the core body 20 to form the pen tip electrode 22.
  • the pen tip electrode 22 is a conductor provided in the vicinity of the core body 20, and is electrically connected to the integrated circuit 27 by wiring.
  • the integrated circuit 27 receives the uplink signal US and transmits the downlink signal DS via the pen tip electrode 22.
  • the pen tip electrode 22 may be separated into a transmission electrode and a reception electrode.
  • the pen pressure detection unit 23 is a functional unit that detects the force (pen pressure value) applied to the pen tip portion 21. Specifically, the pen pressure detection unit 23 is in contact with the rear end portion of the core body 20, and through this contact, the pen tip portion when the user presses the pen tip of the pen 2 against the touch surface or the like. It is configured to detect the force applied to 21.
  • the pen pressure detecting unit 23 is composed of a variable capacitance module whose capacitance changes according to the force applied to the pen tip portion 21.
  • the power supply 26 is for supplying operating power (DC voltage) to the integrated circuit 27, and is composed of, for example, a cylindrical AAAA battery.
  • the integrated circuit 27 is a processing unit composed of a group of circuits formed on a substrate (not shown), and is a process of receiving an uplink signal US via a pen tip electrode 22 and a process of receiving an uplink signal US and down based on the received uplink signal US. A process of generating a link signal DS and transmitting it via the pen tip electrode 22 is performed.
  • the type of protocol supported by the pen 2 (old protocol only or both old and new protocols) is determined by at least one of the firmware and hardware of the integrated circuit 27.
  • the integrated circuit 27 of the pen 2a which is an old pen that only supports the old protocol, has a discovery mode S0 for discovering the sensor controller 31 and the discovered sensor controller 31.
  • Communication mode S1 for communicating with the sensor controller 31 and continuation mode S1a for continuing communication with the sensor controller 31 even when an uplink signal US in a special state described later is received after entering the communication mode S1. It is configured to operate by either of.
  • the uplink signal US in a special state will be referred to as "uplink signal SUS”
  • the uplink signal US normally received according to the old protocol will be referred to as "uplink signal NUS”.
  • the integrated circuit 27 of the pen 2b which is a new pen corresponding to both the old and new protocols, has a discovery mode S10 for discovering the sensor controller 31 and the discovered sensor controller.
  • the sensor controller 31 also receives the uplink signal US generated according to the new protocol after entering the old mode S11 (first operation mode) for communicating with the 31 using the old protocol and the old mode S11.
  • the old continuation mode S11a for continuing communication with, the new mode S12 (second operation mode) for communicating with the discovered sensor controller 31 by the new protocol, and the old protocol after entering the new mode S12.
  • the uplink signal US generated according to the above is configured to operate by either of the new continuation mode S12a for continuing the communication with the sensor controller 31.
  • the uplink signal US generated according to the old protocol will be referred to as “uplink signal US1”
  • the uplink signal US generated according to the new protocol will be referred to as “uplink signal US2”.
  • the uplink signal US1 is the uplink signal NUS
  • the uplink signal US2 is the uplink signal SUS.
  • FIG. 6 is a diagram showing an internal configuration of the electronic device 3.
  • the configuration and operation of the electronic device 3 will be described in detail with reference to FIG.
  • the sensor electrode 30 is composed of a plurality of linear electrodes 30X extending in the Y direction and a plurality of linear electrodes 30Y extending in the X direction, respectively.
  • the sensor electrode 30 is configured to be capacitively coupled to the pen 2 by these linear electrodes 30X and 30Y.
  • the uplink signal US and the downlink signal DS described above are transmitted and received via this capacitive coupling.
  • the sensor controller 31 includes an MCU 60, a logic unit 61, a transmission unit 62, a reception unit 63, and a selection unit 64.
  • the MCU 60 and the logic unit 61 are control units that control the transmission / reception operation of the sensor controller 31 by controlling the transmission unit 62, the reception unit 63, and the selection unit 64.
  • the MCU 60 is a microprocessor that has a ROM and a RAM inside and operates based on a predetermined program. In the processing performed by the MCU 60, in addition to the processing of controlling the logic unit 61, the processing of generating the command signal COM and the error detection code CRC according to the control of the electronic device control unit 33 and supplying them to the transmitting unit 62, and the processing performed from the receiving unit 63.
  • the logic unit 61 is configured to output control signals ctrl_t1 to ctrl_t4 and ctrl_r based on the control of the MCU 60.
  • the MCU 60 is configured to transmit the uplink signal US and receive the downlink signal DS according to the transmission / reception schedule shown in FIG. Although details will be described later with reference to FIG. 11, the MCU 60 has three modes for transmitting the uplink signal US: an old mixed mode, an old only mode, and a new only mode.
  • the MCU 60 When entering the old / new mixed mode, the MCU 60 has a frame F (first frame) for transmitting the uplink signal US1 for the old protocol and a frame F (second frame) for transmitting the uplink signal US2 for the new protocol.
  • the frame) and the frame) are alternately set at a set ratio (for example, 1: 1).
  • the MCU 60 when entering the old-only mode, the MCU 60 is configured to transmit the uplink signal US1 for the old protocol in all frames F. Further, when entering the new only mode, the MCU 60 is configured to transmit the uplink signal US2 for the new protocol in all frames F.
  • the MCU 60 has three downlink signal DS reception modes, a discovery mode, an old mode, and a new mode, for each time slot TS. ..
  • the MCU 60 waits for the reception of the downlink signal DS transmitted by the unpaired pen 2.
  • the MCU 60 waits for the reception of the downlink signal DS generated by the pen 2 according to the old protocol.
  • the MCU 60 waits for the reception of the downlink signal DS generated by the pen 2 according to the new protocol.
  • the downlink signal DS generated according to the old protocol will be referred to as “downlink signal DS1”
  • the downlink signal DS generated according to the new protocol will be referred to as “downlink signal DS2”.
  • the MCU 60 may detect both the downlink signals DS1 and DS2 in the frame F in which the uplink signal US1 is transmitted, and both the downlink signals DS1 and DS2 in the frame F in which the uplink signal US2 is transmitted. May be detected.
  • FIG. 7 (a) is a diagram showing a configuration example of the uplink signal US1
  • FIGS. 7 (b) to 7 (g) are diagrams showing a configuration example of the uplink signal US2, respectively.
  • the uplink signals US1 and US2 both have the configuration shown in FIG. 4, and have some common parts, but there are differences due to differences in protocols. The content of this difference is not particularly limited, and various aspects can be considered.
  • FIGS. 7 (b) to 7 (g) show six of such embodiments. Each of them will be described in detail below.
  • FIG. 7B shows the value of bit B defined as the first value (for example, “0”) in the old protocol and the second value (for example, “1”) different from the first value in the new protocol. ).
  • the pen 2b which is a new pen, decodes the received uplink signal US and then refers to the value of bit B to determine which of the uplink signals US1 and US2 the uplink signal US is. Can be determined.
  • the pen 2a which is an old pen, determines that the received uplink signal US can be normally received if the bit B is the first value after decoding the received uplink signal US, but if the bit B is the second value , It is determined that an abnormality is detected in decoding the command.
  • the received uplink signal US is the above-mentioned uplink signal NUS
  • the received uplink signal US is the above-mentioned special state uplink signal SUS. Is determined to be.
  • the uplink signal US2 shown in FIG. 7B can be used, for example, when there is a reserved field in the uplink signal US1.
  • the value of the reserved field has no specific meaning, but usually has a specific value (eg, "0").
  • the pen 2a can recognize that an unusual value is set in the above field when the uplink signal US1 is received. Therefore, it is possible to determine that the received uplink signal US is the uplink signal SUS in a special state.
  • FIG. 7C shows an inverted error detection code RCRC obtained by inverting the error detection code CRC in place of the error detection code CRC obtained by performing a predetermined operation with the command signal COM as an input in the new protocol.
  • the new pen, the pen 2b extracts a portion corresponding to the error detection code CRC or the inversion error detection code RCRC from the received uplink signal US, attempts error detection without inverting the portion, and attempts to detect the error.
  • the pen 2b determines that the uplink signal US2 has been received when an error is not detected as a result of inverting the extracted portion and performing error detection, and performs error detection without inverting the extracted portion. As a result of this, if no error is detected, it can be determined that the uplink signal US1 has been received.
  • the error detection code CRC is arranged in the received uplink signal US
  • the decoding result becomes a code word (that is, the error is not detected by the error detection code). If the inversion error detection code RCRC is arranged, the decoding result is not a code word (that is, an error is detected by the error detection code).
  • the received uplink signal US is described above. If it is determined that the uplink signal is NUS and the decoding result is not a code word, it is determined that the received uplink signal US is the uplink signal SUS in the above-mentioned special state. By doing so, it can be shown that a command conforming to the new protocol is issued by using the CRC field existing in the old protocol without using the new field as shown in FIG. 7 (b). it can.
  • FIG. 7 (d) shows an example in which the preamble PRE of the new protocol is longer than the preamble PRE of the old protocol
  • FIG. 7 (e) shows an example in which the error detection code CRC is not provided in the new protocol unlike the old protocol
  • FIG. 7 (f) is an example in which the time length of the command signal COM of the new protocol is shorter than the time length of the command signal COM of the old protocol due to multi-value or the like
  • FIG. This is an example in which the error detection code CRC is not provided in the new protocol, and the time length of the command signal COM of the new protocol is shorter than the time length of the command signal COM of the old protocol due to multi-value or the like.
  • the new pen, pen 2b assumes that the received uplink signal US is each of the uplink signals US1 and US2, and attempts to decode the uplink signal US so that the uplink signal US is uplinked. It is possible to determine which of the signals US1 and US2 is.
  • the pen 2a since the pen 2a, which is an old pen, decodes the uplink signal US only as the uplink signal US1, an abnormal result can be obtained when the uplink signal US is the uplink signal US2. become. Therefore, the pen 2a determines that the received uplink signal US is the above-mentioned uplink signal NUS when a normal decoding result is obtained, and receives when an abnormal decoding result is obtained. It is determined that the uplink signal US is the uplink signal SUS in the special state described above.
  • the chip width of the spreading code time length per chip, that is, the fundamental frequency of the chip (pulse) or (Integer multiple frequency)
  • partial match of the code (chip sequence) that constitutes the spread code including match that the result of the correlation calculation is equal to or higher than a predetermined value
  • preamble PRE composed of multiple spread code patterns.
  • Each preamble PRE may be configured so that only a part such as the beginning part of is matched.
  • the received uplink signal US is the uplink signal SUS in the special state described above. It may be determined that. By doing so, it is possible to prevent it from being determined that the uplink signal SUS in a special state has been received even in the case of a decoding error due to noise.
  • FIG. 8A shows an example of the spreading code constituting the preamble PRE used in the old protocol
  • FIG. 8B shows an example of the spreading code constituting the preamble PRE used in the new protocol.
  • different preamble PREs are used between the old protocol and the new protocol, but the chip widths L of the diffusion codes are the same.
  • the old pen pen 2a obtains an abnormal decoding result (including the result that all the preamble PREs (or uplink signals US) do not match).
  • the coincidence of the chip width L it may be determined that the received uplink signal US is the uplink signal SUS in the above-mentioned special state.
  • a partial match of the code or preamble PRE that constitutes the diffusion code is detected instead of the match of the chip width L or in addition to the match of the chip width L.
  • the transmission unit 62 is a circuit that generates an uplink signal US under the control of the MCU 60 and the logic unit 61, and as shown in FIG. 6, the pattern supply unit 80, the switch 81, the code string holding unit 82, the diffusion processing unit 83, And a transmission guard unit 84 are included. Of these, the pattern supply unit 80 will be described as being included in the transmission unit 62 in the present embodiment, but may be included in the MCU 60.
  • the pattern supply unit 80 is a functional unit that outputs symbols constituting the preamble PRE according to the instruction of the control signal ctrl_t1 supplied from the logic unit 61.
  • the symbols constituting the preamble PRE are composed of symbols dedicated to the preamble that are not associated with any of 0 to 15, for example.
  • the switch 81 selects one of the pattern supply unit 80 and the MCU 60 based on the control signal ctrl_t2 supplied from the logic unit 61, and serves to supply the output of the selected one to the diffusion processing unit 83.
  • the pattern supply unit 80 supplies the symbols constituting the preamble PRE to the diffusion processing unit 83.
  • the command signal COM and the error detection code CRC are supplied from the MCU 60 to the diffusion processing unit 83.
  • the command signal COM and the error detection code CRC supplied to the diffusion processing unit 83 are each composed of, for example, a sequence of symbols associated with any of 0 to 15.
  • the code string holding unit 82 has a function of generating and holding a diffusion code PN having a predetermined chip length having an autocorrelation characteristic based on the control signal ctrl_t3 supplied from the logic unit 61.
  • the code string holding unit 82 holds different diffusion codes PN for each type of symbol.
  • the diffusion code PN held by the code string holding unit 82 is supplied to the diffusion processing unit 83.
  • the spreading processing unit 83 spreads the value of the symbol (preamble PRE or command signal COM) supplied via the switch 81 by the corresponding one of the plurality of spreading code PNs held in the code string holding unit 82. This has a function of obtaining a transmission chip sequence.
  • the diffusion processing unit 83 is configured to supply the acquired transmission chip sequence to the transmission guard unit 84.
  • the transmission guard unit 84 is required to switch between the transmission operation and the reception operation between the transmission period of the uplink signal US and the reception period of the downlink signal DS based on the control signal ctrl_t4 supplied from the logic unit 61. It has a function to insert a guard period (a period during which both transmission and reception are not performed).
  • the receiving unit 63 is a circuit for receiving the downlink signal DS transmitted by the pen 2 based on the control signal ctrl_r supplied from the logic unit 61. Specifically, it includes an amplifier circuit 85, a detection circuit 86, and an analog-to-digital (AD) converter 87.
  • AD analog-to-digital
  • the amplifier circuit 85 amplifies and outputs the downlink signal DS supplied from the selection unit 64.
  • the detection circuit 86 is a circuit that generates a voltage corresponding to the level of the output signal of the amplifier circuit 85.
  • the AD converter 87 is a circuit that generates a digital signal by sampling the voltage output from the detection circuit 86 at predetermined time intervals. The digital signal output by the AD converter 87 is supplied to the MCU 60. The MCU 60 acquires the data Res (pen pressure value, pen ID, etc.) transmitted by the pen 2 based on the digital signal thus supplied.
  • the selection unit 64 includes switches 88x and 88y and conductor selection circuits 89x and 89y.
  • the switches 88x and 88y are 1-circuit 2-contact switch elements configured so that the common terminal and either the T terminal or the R terminal are connected, respectively.
  • the common terminal of the switch 88x is connected to the conductor selection circuit 89x
  • the T terminal is connected to the output terminal of the transmitting unit 62
  • the R terminal is connected to the input terminal of the receiving unit 63.
  • the common terminal of the switch 88y is connected to the conductor selection circuit 89y
  • the T terminal is connected to the output terminal of the transmitting unit 62
  • the R terminal is connected to the input terminal of the receiving unit 63.
  • the conductor selection circuit 89x is a switch element for selectively connecting a plurality of linear electrodes 30X to the common terminal of the switch 88x.
  • the conductor selection circuit 89x is configured so that a part or all of the plurality of linear electrodes 30X can be connected to the common terminal of the switch 88x at the same time.
  • the conductor selection circuit 89y is a switch element for selectively connecting a plurality of linear electrodes 30Y to the common terminal of the switch 88y.
  • the conductor selection circuit 89y is also configured so that a part or all of the plurality of linear electrodes 30Y can be connected to the common terminal of the switch 88y at the same time.
  • control signals sTRx, sTRy, selX, and selY are supplied to the selection unit 64 from the logic unit 61. Specifically, the control signal sTRx is supplied to the switch 88x, the control signal sTRy is supplied to the switch 88y, the control signal selX is supplied to the conductor selection circuit 89x, and the control signal selY is supplied to the conductor selection circuit 89y.
  • the logic unit 61 controls the selection unit 64 by using these control signals sTRx, sTRy, selX, and selY to realize transmission of the uplink signal US and reception of the downlink signal DS.
  • all of the plurality of linear electrodes 30Y (or all of the plurality of linear electrodes 30X) are connected to the output ends of the transmission unit 62.
  • the selection unit 64 is controlled so as to be connected.
  • the operation of the logic unit 61 when receiving the position signal PS included in the downlink signal DS differs depending on whether or not the time slot TS that has received the position signal PS is paired with the pen 2.
  • the logic unit 61 selects a unit so that all of the plurality of linear electrodes 30X and 30Y are sequentially connected to the input ends of the receiving unit 63 within the duration of the time slot TS. 64 is controlled.
  • the MCU 60 can acquire the reception intensity of the position signal PS at each of the linear electrodes 30X and 30Y, so that the position of the pen 2 can be detected on the entire touch surface (). Global scan).
  • the logic unit 61 has a predetermined number of linear electrodes 30X and 30Y located in the vicinity of the previously detected position while the transmission of the position signal PS continues.
  • the selection unit 64 is controlled so as to be connected to the input terminal of the reception unit 63 in order.
  • the MCU 60 can acquire the reception intensity of the position signal PS at each of the predetermined number of linear electrodes 30X and 30Y in the vicinity of the previously detected position, so that the position of the pen 2 is updated. It becomes possible (local scan).
  • the logic unit 61 when receiving the data signal DATA included in the downlink signal DS derives the pen 2 for transmitting the data signal DATA from the plurality of linear electrodes 30X and 30Y by the position signal PS immediately before.
  • the selection unit 64 is controlled so that only the one closest to the position is connected to the input end of the reception unit 63. By doing so, the transmission time of the data signal DATA can be fully utilized to send data from the pen 2 to the sensor controller 31.
  • FIG. 9 is a mode transition diagram of the old pen, the pen 2a. As shown in the figure, the pen 2a is configured to operate in any of the discovery mode S0, the communication mode S1, and the continuation mode S1a.
  • Discovery mode S0 is a mode for discovering the sensor controller 31.
  • the pen 2a that has entered the discovery mode S0 executes the detection operation of the uplink signal US intermittently or continuously. Then, when the uplink signal NUS is received, the transmission / reception schedule of the uplink signal US and the downlink signal DS is determined based on the reception timing, and the communication mode S1 is entered. On the other hand, when the uplink signal SUS is received, the pen 2a stays in the discovery mode S0 and tries to receive the next uplink signal US.
  • the pen 2a entered in the communication mode S1 stays in the communication mode S1 and communicates with the sensor controller 31 while the uplink signal NUS is received according to the transmission / reception schedule. Specifically, the transmission / reception schedule is updated according to the reception timing of the received uplink signal NUS, and the downlink signal DS is transmitted according to the updated transmission / reception schedule.
  • the downlink signal DS transmitted in this way is a signal generated by the pen 2a according to the old protocol, and the data instructed to be transmitted by the command COMDATA in the immediately preceding uplink signal NUS or the default data such as the pen pressure value is used. Including.
  • the pen 2a determines that it has left the sensor controller 31 and returns to the discovery mode S0. Also, according to the transmission / reception schedule (that is, during the period when the next uplink signal NUS can be received), if the uplink signal SUS is received without normally receiving the next uplink signal NUS, the continuation mode is used. Transition to S1a.
  • the pen 2a When the uplink signal SUS is received, the pen 2a that has entered the continuation mode S1a transmits the downlink signal DS according to the old protocol while updating the transmission / reception schedule according to the reception timing of the uplink signal SUS. I do. Specifically, the downlink signal DS including the data according to the command arranged in the uplink signal NUS received before the above period or the default data such as the pen pressure value is transmitted.
  • the pen 2a returns to the communication mode S1 when the uplink signal NUS is received. Further, when the uplink signal SUS is detected continuously (that is, the uplink signal NUS is not detected) n times or more (n is an arbitrary natural number of 2 or more, for example), and according to the transmission / reception schedule, the uplink signal If the US is not received, the process returns to the discovery mode S0.
  • FIG. 10 is a mode transition diagram of the new pen, the pen 2b. As shown in the figure, the pen 2b is configured to operate in any of the discovery mode S10, the old mode S11, the old continuation mode S11a, the new mode S12, and the new continuation mode S12a.
  • the discovery mode S10 is a mode for discovering the sensor controller 31, similar to the discovery mode S0 of the pen 2a shown in FIG.
  • the pen 2b that has entered the discovery mode S10 executes the detection operation of the uplink signal US intermittently or continuously. Then, when the uplink signal US1 is received, the transmission / reception schedule of the uplink signal US and the downlink signal DS is determined based on the reception timing, and the mode shifts to the old mode S11. On the other hand, when the uplink signal US2 is received, the transmission / reception schedule of the uplink signal US and the downlink signal DS is determined based on the reception timing, and the mode shifts to the new mode S12.
  • the pen 2b entered in the old mode S11 stays in the old mode S11 and communicates with the sensor controller 31 while the uplink signal US1 is received according to the transmission / reception schedule.
  • the transmission / reception schedule is updated according to the reception timing of the received uplink signal US (including the uplink signals US1 and US2), and the downlink signal DS is transmitted according to the updated transmission / reception schedule.
  • the downlink signal DS transmitted in this way is a signal generated by the pen 2b according to the old protocol, and the data instructed to be transmitted by the command COMDATA in the immediately preceding uplink signal US1 or the default data such as the pen pressure value is used. Including.
  • the pen 2b determines that it has left the sensor controller 31 and returns to the discovery mode S10. Further, when the uplink signal US2 is received according to the transmission / reception schedule, the mode shifts to the old continuation mode S11a.
  • the pen 2b entered in the old continuation mode S11a transmits the downlink signal DS according to the old protocol while updating the transmission / reception schedule according to the reception timing of the uplink signal US2. I do. Specifically, the downlink signal DS including the data according to the command arranged in the uplink signal US1 that has been received so far or the default data such as the pen pressure value is transmitted.
  • the pen 2b returns to the old mode S11 when the uplink signal US1 is received. Further, when the uplink signal US2 is detected continuously (that is, the uplink signal US1 is not detected) n times or more (n is an arbitrary natural number of 2 or more, for example), and according to the transmission / reception schedule, the uplink signal If the US is not received, the process returns to the discovery mode S10.
  • the pen 2b transitions to the new mode S12 as shown by the broken line in FIG. It is preferable to do so. According to this, the mode of the pen 2b can be forcibly switched to the new mode S12 by the instruction from the sensor controller 31.
  • the pen 2b that has entered the new mode S12 stays in the new mode S12 and communicates with the sensor controller 31 while the uplink signal US2 is received according to the transmission / reception schedule.
  • the transmission / reception schedule is updated according to the reception timing of the received uplink signal US (including the uplink signals US1 and US2), and the downlink signal DS is transmitted according to the updated transmission / reception schedule.
  • the downlink signal DS transmitted in this way is a signal generated by the pen 2b according to the new protocol, and is the data instructed to be transmitted by the command COMDATA in the immediately preceding uplink signal US2, or the default data such as the pen pressure value. Including.
  • the pen 2b determines that it has left the sensor controller 31 and returns to the discovery mode S10. Further, when the uplink signal US1 is received according to the transmission / reception schedule, the mode shifts to the new continuation mode S12a.
  • the pen 2b entered in the new continuation mode S12a transmits the downlink signal DS according to the new protocol while updating the transmission / reception schedule according to the reception timing of the uplink signal US1. I do. Specifically, the downlink signal DS including the data according to the command arranged in the uplink signal US2 that has been received so far or the default data such as the pen pressure value is transmitted.
  • the pen 2b returns to the new mode S12 when the uplink signal US2 is received. Further, when the uplink signal US1 is detected continuously (that is, the uplink signal US2 is not detected) n times or more (n is an arbitrary natural number of 2 or more, for example), and according to the transmission / reception schedule, the uplink signal If the US is not received, the process returns to the discovery mode S10.
  • FIG. 11 is a mode transition diagram of the sensor controller 31.
  • the sensor controller 31 has a downlink signal DS reception mode and an uplink signal US transmission mode for each time slot TS.
  • the former includes a discovery mode, an old mode, and a new mode, and the latter includes an old and new mixed mode, an old only mode, and a new only mode.
  • FIGS. 12 and 13 are explanatory views for explaining the mode transition of the sensor controller 31.
  • the mode transition of the sensor controller 31 will be described with reference to FIGS. 11 to 13.
  • the state S20 shown in FIG. 11 is an initial state in which the sensor controller 31 is not paired with any pen 2.
  • the reception modes of the two time slots TS1 and TS2 are both the discovery mode
  • the transmission mode of the uplink signal US is the old and new mixed mode.
  • the sensor controller 31 alternately sets the frame F for transmitting the uplink signal US1 for the old protocol and the frame F for transmitting the uplink signal US2 for the new protocol at a set ratio. This ratio is preferably 1: 1 but does not have to be 1: 1.
  • FIG. 12A shows a case where the downlink signal DS2 is received in the time slot TS1 in the frame F in which the uplink signal US2 is transmitted while the sensor controller 31 is in the state S20.
  • the pen 2 that transmits the first downlink signal DS2 in response to the uplink signal US2 is the pen 2b, and when the downlink signal DS2 is transmitted, it has entered the new mode S12 shown in FIG.
  • the sensor controller 31 pairs the detected downlink signal DS2 with the pen 2 that has transmitted it by a new protocol, and sets the reception mode of the downlink signal DS in the time slot TS1 to the new mode (state S21 in FIG. 11). As a result, in the time slot TS1, communication is performed by the new protocol.
  • FIG. 12B shows a case where the downlink signal DS2 is received in the time slot TS2 in the frame F in which the uplink signal US2 is transmitted while the sensor controller 31 is in the state S21.
  • the pen 2 that transmits the downlink signal DS2 is also a pen 2b (a pen 2b different from the pen 2b that transmits the downlink signal DS2 in the time slot TS1; the same applies hereinafter), and the downlink signal DS is transmitted.
  • the entry is made in the new mode S12 shown in FIG.
  • the sensor controller 31 is paired with the pen 2 that transmitted the detected downlink signal DS2 by a new protocol, sets the reception mode of the downlink signal DS in the time slot TS2 to the new mode, and transmits the uplink signal US. Is set to the new only mode (state S23 in FIG. 11). As a result, both the time slots TS1 and TS2 are communicated by the new protocol, and only the uplink signal US2 is transmitted as the uplink signal US.
  • FIG. 12C shows a case where the downlink signal DS1 is received in the time slot TS2 in the frame F in which the uplink signal US1 is transmitted while the sensor controller 31 is in the state S21.
  • the pen 2 that transmits this downlink signal DS1 can be either the pen 2a or the pen 2b.
  • the pen 2a when the downlink signal DS1 is transmitted, the pen 2a is entered in the communication mode S1 shown in FIG.
  • the pen 2b when the downlink signal DS1 is transmitted, the pen 2b has entered the old mode S11 shown in FIG.
  • the sensor controller 31 pairs the detected downlink signal DS1 with the pen 2 that has transmitted it by the old protocol, and sets the reception mode of the downlink signal DS in the time slot TS2 to the old mode (state S24 in FIG. 11). As a result, communication using the new protocol is performed in the time slot TS1, and communication is performed using the old protocol in the time slot TS2.
  • FIG. 13A shows a case where the downlink signal DS1 is received in the time slot TS1 in the frame F in which the uplink signal US1 is transmitted while the sensor controller 31 is in the state S20.
  • the pen 2 that transmits the first downlink signal DS1 in response to the uplink signal US1 can be either the pen 2a or the pen 2b.
  • the pen 2a when the downlink signal DS1 is transmitted, the pen 2a is entered in the communication mode S1 shown in FIG.
  • the pen 2b when the downlink signal DS1 is transmitted, the pen 2b has entered the old mode S11 shown in FIG.
  • the sensor controller 31 pairs the detected downlink signal DS1 with the pen 2 that has transmitted it by the old protocol, and sets the reception mode of the downlink signal DS in the time slot TS1 to the old mode (state S22 in FIG. 11). As a result, in the time slot TS1, communication is performed using the old protocol.
  • FIG. 13B shows a case where the downlink signal DS2 is received in the time slot TS2 in the frame F in which the uplink signal US2 is transmitted while the sensor controller 31 is in the state S22.
  • the pen 2 that transmits the downlink signal DS2 is the pen 2b, and when the downlink signal DS2 is transmitted, the pen 2 has entered the new mode S12 shown in FIG.
  • the sensor controller 31 pairs the detected downlink signal DS2 with the pen 2 that has transmitted it by a new protocol, and sets the reception mode of the downlink signal DS in the time slot TS2 to the new mode (state S25 in FIG. 11). As a result, communication using the old protocol is performed in the time slot TS1, and communication is performed using the new protocol in the time slot TS2.
  • FIG. 13C shows a case where the downlink signal DS1 is received in the time slot TS2 in the frame F in which the uplink signal US1 is transmitted while the sensor controller 31 is in the state S22.
  • the pen 2 that transmits this downlink signal DS1 can be either the pen 2a or the pen 2b.
  • the pen 2a when the downlink signal DS1 is transmitted, the pen 2a is entered in the communication mode S1 shown in FIG.
  • the pen 2b when the downlink signal DS1 is transmitted, the pen 2b has entered the old mode S11 shown in FIG.
  • the sensor controller 31 is paired with the pen 2 that transmitted the detected downlink signal DS1 by the old protocol, sets the reception mode of the downlink signal DS in the time slot TS2 to the old mode, and transmits the uplink signal US. Is set to the old only mode (state S26 in FIG. 11). As a result, both the time slots TS1 and TS2 are communicated by the old protocol, and only the uplink signal US1 is transmitted as the uplink signal US.
  • the uplink signal US detected for the first time after the pen 2b approaches the touch surface is the uplink signal US1. If this is the case, communication will be started by the old protocol. Therefore, when the sensor controller 31 starts communication by the old protocol, does the pen 2 correspond to the new protocol by referring to the bit A (see FIG. 2) included in the downlink signal DS1? If it is determined whether or not the signal is compatible, a migration command instructing the transition to communication using the new protocol is placed in the uplink signal US1 to be transmitted next.
  • FIG. 14 is an explanatory diagram for explaining a procedure for migrating communication with the pen 2b paired with the old protocol to the new protocol.
  • FIG. 11A shows a procedure for shifting the communication with the pen 2b detected in the time slot TS1 in the state S20 shown in FIG. 11 to the new protocol
  • FIG. 11B shows the procedure shown in FIG.
  • the procedure for shifting the communication with the pen 2b detected in the time slot TS2 in the state S21 to the new protocol is shown
  • FIG. 11C shows the pen detected in the time slot TS2 in the state S22 shown in FIG.
  • the procedure for migrating the communication with 2b to the new protocol is shown.
  • they will be described in order.
  • FIG. 14A shows a case where the pen 2b that has entered the old mode S11 in response to the uplink signal US1 transmits the downlink signal DS1 using the time slot TS1 while the sensor controller 31 is in the state S20. Is. The sensor controller 31 that has received the downlink signal DS1 pairs with the pen 2b in the time slot TS1 using the old protocol, and transitions to the state S22.
  • the sensor controller 31 uses the old protocol and the new protocol from the bit A (see FIG. 3B) included in the downlink signal DS1 transmitted by the pen 2b being paired in the time slot TS1. Detect that both are supported. Since the bit A is included in the data signal DATA shown in FIG. 3B, the sensor controller 31 performs this detection only after the transition to the local scan.
  • the sensor controller 31 that has detected that the pen 2b is compatible with both the old protocol and the new protocol uses the uplink signal US1 to be transmitted next to instruct the pen 2b to move to the new protocol. Send a migration command).
  • the pen 2b that has received this command COMDATA enters the new mode S12, as described with reference to FIG.
  • the sensor controller 31 that has received the downlink signal DS2 transmitted by the pen 2b entered in the new mode S12 re-pairs with the pen 2b using the new protocol, and the reception mode of the downlink signal DS in the time slot TS1 is changed. It transitions to the state S21 which becomes the new mode.
  • the communication with the pen 2b detected in the time slot TS1 in the state S20 shifts to the new protocol.
  • the pen 2b that received the uplink signal US1 and entered the old mode S11 transmitted the downlink signal DS1 using the time slot TS2. It is a case.
  • the sensor controller 31 that has received the downlink signal DS1 pairs with the pen 2b in the time slot TS2 using the old protocol, and transitions to the state S24.
  • the sensor controller 31 uses the old protocol and the new protocol from the bit A (see FIG. 3B) included in the downlink signal DS1 transmitted by the pen 2b being paired in the time slot TS2. Detect that both are supported. Then, the sensor controller 31 transmits a command COMDATA (transition command) instructing the pen 2 being paired in the time slot TS2 to shift to the new protocol by the uplink signal US1 to be transmitted next.
  • the pen 2b that has received this command COMDATA enters the new mode S12, as described with reference to FIG.
  • the sensor controller 31 that has received the downlink signal DS2 transmitted by the pen 2b entered in the new mode S12 re-pairs with the pen 2b using the new protocol, and the reception mode of the downlink signal DS in the time slot TS2 is changed. It transitions to the state S23 which becomes the new mode.
  • the communication with the pen 2b detected in the time slot TS2 in the state S21 shifts to the new protocol.
  • the pen 2b that receives the uplink signal US1 and enters the old mode S11 transmits the downlink signal DS1 using the time slot TS2. This is the case.
  • the sensor controller 31 that has received the downlink signal DS1 pairs with the pen 2b in the time slot TS2 using the old protocol, and transitions to the state S26.
  • the sensor controller 31 uses the old protocol and the new protocol from the bit A (see FIG. 3B) included in the downlink signal DS1 transmitted by the pen 2b being paired in the time slot TS2. Detect that both are supported. Then, the sensor controller 31 transmits a command COMDATA (transition command) instructing the pen 2b being paired in the time slot TS2 to shift to the new protocol by the uplink signal US1 to be transmitted next.
  • the pen 2b that has received this command COMDATA enters the new mode S12, as described with reference to FIG.
  • the sensor controller 31 that has received the downlink signal DS2 transmitted by the pen 2b entered in the new mode S12 re-pairs with the pen 2b using the new protocol, and the reception mode of the downlink signal DS in the time slot TS2 is changed. It transitions to the state S25 which becomes the new mode.
  • the communication with the pen 2b detected in the time slot TS2 in the state S22 shifts to the new protocol.
  • the pairing is redone by the new protocol and the new protocol is used. It becomes possible to start communication by the protocol.
  • the pen 2a which is only compatible with the old protocol, receives an uplink signal SUS in a special state (for example, the uplink signal US2 according to the new protocol) from the sensor controller 31. Even if it is received, it can operate based on the uplink signal NUS that has been received so far. Further, the pen 2b corresponding to both the old and new protocols operates based on the uplink signal US2 that has been received so far even if the uplink signal US1 is received during communication with the sensor controller 31 by the new protocol. Even if the uplink signal US2 is received during communication with the sensor controller 31 by the old protocol, it can operate based on the uplink signal US1 that has been received so far.
  • a special state for example, the uplink signal US2 according to the new protocol
  • the sensor controller 31 has a downlink signal DS1 generated according to the old protocol and a downlink generated according to the new protocol in each of the frame F for transmitting the uplink signal US1 and the frame F for transmitting the uplink signal US2. Both with the signal DS2 can be detected. Therefore, according to the present embodiment, it is possible to use both the pen 2a and the pen 2b at the same time in one electronic device 3.
  • the pen 2b corresponding to the new protocol is paired with the old protocol, the pen 2b is shifted to the new mode S12 by sending a transition command from the sensor controller 31. Therefore, it becomes possible to communicate with the pen 2b corresponding to the new protocol using the new protocol.
  • the sensor controller 31 transmits a transition command in order to shift the pen 2b entered in the old mode S11 to the new mode S12, but the pen 2b autonomously shifts to the new mode S12. May be good.
  • FIG. 15 is a mode transition diagram of the pen 2b according to the first modification of the embodiment of the present invention. As shown in the figure, when the pen 2b according to the present modification detects the uplink signal US2 while entering the old mode S11, the pen 2b transitions to the new mode S12 instead of the continuous mode S11a shown in FIG. In the example of FIG. 15, the continuation mode S11a is not provided. Even in this way, the sensor controller 31 can communicate with the pen 2b by the new protocol.
  • the number of pens 2 that can be paired at the same time as the sensor controller 31 is limited to two, but the number of pens 2 that can be paired at the same time as the sensor controller 31 is not limited to two.
  • FIG. 16 is a diagram showing a transmission (Tx) and reception (Rx) schedule in the sensor controller 31 according to the second modification of the embodiment of the present invention.
  • Tx transmission
  • Rx reception
  • the receiving channel Rx1 is provided with two time slots TS1 and TS2
  • the receiving channel Rx2 is provided with two time slots TS3 and TS4. Therefore, since the total number of time slots that can be used for transmitting the downlink signal DS is four, the number of pens 2 that can be paired at the same time as the sensor controller 31 is four according to this modification.
  • the old protocol may correspond only to the receiving channel Rx1, and the new protocol may correspond to the receiving channels Rx1 and Rx2.
  • the pen 2b corresponding to the new protocol preferentially uses the time slots TS3 and TS4. By doing so, it becomes possible to use as many pens 2 as possible at the same time.
  • the sensor controller 31 changes the transmission ratio of the uplink signals US1 and US2 according to the mixed situation of the downlink signal DS1 generated according to the old protocol and the downlink signal DS2 generated according to the new protocol. It is preferable to do so. Specifically, it is preferable to change the above ratio so that the more the downlink signal DS2 is received than the downlink signal DS1, the higher the transmission rate of the uplink signal US2.
  • transition command for shifting the communication with the pen 2b from the old protocol to the new protocol has been described as the transition command transmitted by the sensor controller 31, but the sensor controller 31 communicates with the pen 2b. You may also send a migration command to migrate from the new protocol to the old Brotocol.
  • the sensor controller 31 transmits the transfer command by the uplink signal US1, but the transfer is performed by the uplink signal US2. You may send a command.
  • the pen 2b once decodes the command signal COM in the uplink signal US2 even when the pen 2b has entered the old mode S11 or the old continuation mode S11a, and determines whether or not the transition command is included. It is preferable to judge. Then, when the transition command is included, it is preferable to execute the operation according to the transition command, that is, the transition to the new mode S12.
  • the present invention can also be applied to a multi-pen environment in which different protocols coexist.
  • the present invention can be applied to two different protocols in which the reference time of a frame is determined by an uplink signal and a part of the signal is common, although the protocols are different from each other.
  • Position detection system 2 2a, 2b Pen 3 Electronic device 20 Core body 21 Pen tip 22 Pen tip electrode 23 Pen pressure detection 26 Power supply 27 Integrated circuit 30 Sensor electrode 30X Linear electrode 30X, 30Y Linear electrode 30Y Linear Electrode 31 Sensor controller 32 Panel 33 Electronic device control unit 34 Liquid crystal display unit 45 Memory 60 MCU 61 Logic unit 62 Transmission unit 63 Reception unit 64 Selection unit 80 Pattern supply unit 81 Switch 82 Code string holding unit 83 Diffusion processing unit 84 Transmission guard unit 85 Amplifier circuit 86 Detection circuit 87 Analog-to-digital (AD) converter 88x, 88y Switch 89x , 89y Conductor selection circuit A.
  • AD Analog-to-digital

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

【課題】1つの電子機器において、新旧の両プロトコルに対応する電子ペンと、旧プロトコルにしか対応しない電子ペンとの両方を同時に使用可能とする。 【解決手段】ペン2aは、旧プロトコルに従って生成されたアップリンク信号NUSを受信し、該アップリンク信号NUSの受信タイミング及び該アップリンク信号NUS内に配置されたコマンドに基づいてダウンリンク信号を送信するように構成されたペンであって、アップリンク信号NUSを受信した後、次のアップリンク信号NUSを受信可能である期間に、次のアップリンク信号NUSを正常に受信せずに特別な状態のアップリンク信号SUSを受信した場合に、旧プロトコルに従い、該アップリンク信号SUSの前に受信していたアップリンク信号NUS内に配置されたコマンドに従うデータ、又は、既定のデータを含むダウンリンク信号を送信する、ペンである。

Description

ペン及びセンサコントローラ
 本発明は、ペン及びセンサコントローラに関する。
 電子黒板などの大きなサイズのタッチ面を有する電子機器に関して、近年、複数の電子ペンで同時に操作(描画)する用途が伸びている。
 特許文献1には、2本の電子ペンによる同時描画を実現するセンサコントローラの例が開示されている。この例によるセンサコントローラは、検出済みの2本の電子ペンのそれぞれに異なるローカルIDを割り当て、このローカルIDをコマンド信号に含めることにより、各電子ペンを個別に制御可能に構成される。
 特許文献2には、電子ペンによって送信された所定長のパルス列を検出した場合に、電子ペンとの同期を確立するセンサコントローラの例が開示されている。
国際公開第2018/043203号明細書 米国特許公開公報第2015/0256329号明細書
 ところで、電子ペンとセンサコントローラの間で双方向に送受信される信号のプロトコルは、技術の進歩などによって変更される場合がある。そうすると、ある電子機器において同時に用いられる2つ以上の電子ペンの一部は新しいプロトコル(以下、「新プロトコル」という)に対応しているが、他は古いプロトコル(以下、「旧プロトコル」という)にしか対応していない、という状況が発生し得ることになる。そこで、1つの電子機器において、新旧の両プロトコルに対応する電子ペン(以下、「新ペン」という)と、旧プロトコルにしか対応しない電子ペン(以下、「旧ペン」という)との両方を使用可能とすることが必要とされていた。
 したがって、本発明の目的の一つは、1つの電子機器において、新ペンと旧ペンの両方を同時に使用できる電子ペン及びセンサコントローラを提供することにある。
 本発明の一側面によるペンは、第1のプロトコルに従って生成されたアップリンク信号を受信し、該アップリンク信号の受信タイミング及び該アップリンク信号内に配置されたコマンドに基づいてダウンリンク信号を送信するように構成されたペンであって、前記アップリンク信号を受信した後、次のアップリンク信号を受信可能である期間に、前記次のアップリンク信号を正常に受信せずに特別な状態のアップリンク信号を受信した場合に、前記第1のプロトコルに従い、該期間の前に受信していた前記第1のアップリンク信号内に配置されたコマンドに従うデータ、又は、既定のデータを含む前記ダウンリンク信号を送信する、ペンである。
 本発明の他の一側面によるペンは、第1のプロトコルに従って生成された第1のアップリンク信号、及び、前記第1のプロトコルとは異なる第2のプロトコルに従って生成された第2のアップリンク信号の両方を受信可能に構成されたペンであって、前記第2のアップリンク信号を受信したことに応じて前記第2のプロトコルに従う第2の動作モードにエントリした後、前記第1のアップリンク信号を受信した場合に、前記第2のプロトコルに従う第2のダウンリンク信号を送信する、ペンである。
 本発明によるセンサコントローラは、第1のプロトコルに従って生成された第1のダウンリンク信号、及び、前記第1のプロトコルとは異なる第2のプロトコルに従って生成された第2のダウンリンク信号の両方を検出可能に構成されたセンサコントローラであって、前記第1のプロトコル用の第1のアップリンク信号を送信する第1のフレームと、前記第2のプロトコル用の第2のアップリンク信号を送信する第2のフレームとを、設定された割合で交互に設定するよう構成され、前記第2のフレーム内において、前記第1及び第2のダウンリンク信号の両方を検出する、センサコントローラである。
 本発明によれば、1つの電子機器において、新ペンと旧ペンの両方を同時に使用することが可能になる。
本発明の実施の形態による位置検出システム1の全体を示す図である。 センサコントローラ31における送信(Tx)と受信(Rx)のスケジュールを示す図である。 ダウンリンク信号DSの構成を示す図である。 アップリンク信号USの構成を示す図である。 ペン2の内部構成を示す図である。 電子機器3の内部構成を示す図である。 (a)はアップリンク信号US1の構成例を示す図であり、(b)~(g)はそれぞれ、アップリンク信号US2の構成例を示す図である。 (a)は、旧プロトコルで使用されるプリアンブルPREを構成する拡散符号の例を示し、(b)は、新プロトコルで使用されるプリアンブルPREを構成する拡散符号の例を示す図である。 旧ペンであるペン2aのモード遷移図である。 新ペンであるペン2bのモード遷移図である。 センサコントローラ31のモード遷移図である。 センサコントローラ31のモード遷移を説明するための説明する図である。 センサコントローラ31のモード遷移を説明するための説明する図である。 旧プロトコルでペアリングしたペン2bとの通信を新プロトコルに移行させる手順を説明するための説明する図である。 本発明の実施の形態の第1の変形例によるペン2bのモード遷移図である。 本発明の実施の形態の第2の変形例によるセンサコントローラ31における送信(Tx)と受信(Rx)のスケジュールを示す図である。
 以下、添付図面を参照しながら、本発明の実施の形態について詳細に説明する。
 図1は、本実施の形態による位置検出システム1の全体を示す図である。同図に示すように、位置検出システム1は、2本のペン2a,2bと、電子機器3とを含んで構成される。電子機器3は、センサ電極30と、センサコントローラ31と、パネル32と、電子機器制御部33と、液晶表示部34とを含んで構成される。
 ペン2a,2bはいずれもアクティブ静電方式に対応したアクティブスタイラスであり、1以上のユーザによって同時又は別々に使用される。以下、ペン2a,2bを特に区別する必要がない場合には、まとめてペン2と表記する場合がある。
 ペン2とセンサコントローラ31とは、双方向に通信可能に構成される。以下、図1にも示すように、センサコントローラ31からペン2に対して送信される信号をアップリンク信号USと称し、ペン2からセンサコントローラ31に対して送信される信号をダウンリンク信号DSと称する。
 アップリンク信号US及びダウンリンク信号DSの送受信は所定のプロトコルに従って実行されるが、このプロトコルは、技術の進歩などによって変更される場合がある。以下では、ある時点で新たに上市されたプロトコルを新プロトコル(第2のプロトコル)と称し、それまで使われていたプロトコルを旧プロトコル(第1のプロトコル)と称する。また、ペン2aは、旧プロトコルにしか対応していない電子ペン(旧ペン)であり、ペン2bは、新旧の両プロトコルに対応する電子ペン(新ペン)であるとして説明を続ける。
 ペン2による入力操作の概略を説明すると、ユーザは、ペン2をパネル32の表面(タッチ面)に徐々に近づけ(ペンダウン。図1では「DOWN」と表記している)、最終的にペン2のペン先をタッチ面に接触させる(ペンタッチ)。そして、ユーザがこの接触状態を保ちつつタッチ面上でペン先を移動させる(ペンムーブ)と、電子機器3の処理によってタッチ面上に移動の軌跡が描画される。図1には、こうして描画される軌跡の例として、3本の軌跡st1~st3を示している。軌跡の描画は、ユーザがペン2aのペン先をタッチ面から離す(ペンアップ。図1では「UP」と表記している)まで継続される。
 ペン2は、センサコントローラ31がセンサ電極30を介して供給したアップリンク信号USを検出するともに、そのアップリンク信号USに応じて所定のダウンリンク信号DSを送信するように構成される。詳しくは後述するが、センサコントローラ31は、センサ電極30を介してこのダウンリンク信号DSを受信することにより、タッチ面内におけるペン2の位置を取得するとともに、ペン2が送信したデータを取得する。センサコントローラ31が取得した位置及びデータは、逐次、電子機器制御部33に供給される。電子機器制御部33は、こうして供給された位置及びデータに基づいてストロークデータを生成し、レンダリングしたうえで液晶表示部34に出力することによって、タッチ面に上述した軌跡を描画する。
 図2は、センサコントローラ31における送信(Tx)と受信(Rx)のスケジュールを示す図である。同図に示すように、センサコントローラ31は、フレームFの単位でアップリンク信号USの送信及びダウンリンク信号DSの受信を行うよう構成される。各フレームF内では、アップリンク信号USの送信とダウンリンク信号DSの受信とが時分割で実行される。具体的には、まず各フレームFの先頭で、センサコントローラ31によるアップリンク信号USの送信が行われる。そして、各フレームFの残りの時間で、ペン2によるダウンリンク信号DSの送信が行われる。
 ここで、図2を見ると理解されるように、本実施の形態では、1つのフレームFの中に2つの受信用タイムスロットTS1,TS2が設けられる。以下では、タイムスロットTS1,TS2を特に区別する必要がない場合には、まとめてタイムスロットTSと表記する場合がある。これらのタイムスロットTSは、互いに異なるペン2がダウンリンク信号DSを時分割で送信できるように設けられているもので、本実施の形態では、2つのタイムスロットTS1,TS2が設けられていることにより、1つのフレームF内で最大2本のペン2がダウンリンク信号DSを送信可能とされている。このことは、センサコントローラ31と同時にペアリング可能なペン2の本数が最大2本であることを意味している。ただし、後述する図16に例示するように、センサコントローラ31と同時にペアリング可能なペン2の数は2本に限定されない。各ペン2が使用するタイムスロットTSは、センサコントローラ31とペン2がペアリングを行う際に決定される。
 図3は、ダウンリンク信号DSの構成を示す図である。同図(a)は、センサコントローラ31を未だ検出していないペン2が送信するダウンリンク信号DSを示し、同図(b)は、センサコントローラ31とペアリング中のペン2が送信するダウンリンク信号DSを示している。
 図3(a)に示すように、センサコントローラ31を未だ検出していないペン2は、ダウンリンク信号DSとして、位置信号PSのみを送信する。位置信号PSは、例えば無変調の搬送波信号である。この場合の位置信号PSは、センサコントローラ31がタッチ面の全体でペン2の位置を検出するために用いられる。この位置検出を、本明細書では「グローバルスキャン」と称する。グローバルスキャンによる位置検出の具体的な方法については、後述する。
 一方、図3(b)に示すように、センサコントローラ31とペアリング中のペン2は、ダウンリンク信号DSとして、上述した位置信号PSの他、データ信号DATAを送信する。この場合の位置信号PSは、センサコントローラ31がペン2の位置を更新するために用いられる。この位置更新を、本明細書では「ローカルスキャン」と称する。ローカルスキャンによる位置更新の具体的な方法についても、後述する。
 データ信号DATAは、ペン2内に保持されるデータをセンサコントローラ31に送信するための信号であり、後述する筆圧検出部23(図5を参照)によって検出される筆圧値、ペン2の筐体の側面又は底面に設けられるスイッチのオンオフを示す値、個々のペン2を一意に識別するためのペンIDなどを含んで構成される。ペン2は、通常は、筆圧値のみをデータ信号DATA内に配置してなるダウンリンク信号DSを送信する。一方、後述するコマンドCOMDATAによりセンサコントローラ31から特定のデータの送信を指示された場合には、ペン2は、コマンドCOMDATAに従うデータを含むダウンリンク信号DSを送信する。
 ここで、図3(b)に示したビットAは、ペン2が旧プロトコルにしか対応していない場合と、旧プロトコル及び新プロトコルの両方に対応している場合とで異なる値を有するフラグ情報であり、センサコントローラ31に新プロトコルへの対応状況を通知するために用いられる。ビットAは、旧プロトコルに従って生成されるダウンリンク信号DSに含まれていればよく、新プロトコルに従って生成されるダウンリンク信号DSには含まれていなくてもよい。
 図4は、アップリンク信号USの構成を示す図である。同図に示すように、アップリンク信号USは、プリアンブルPREと、コマンド信号COMと、誤り検出符号CRCとを含んで構成される。
 プリアンブルPREは、ペン2をセンサコントローラ31に同期させるためのペン2に既知とされた同期信号である。この同期信号は、例えば、チップ幅が所定の長さ(例えば、0.5us、1.0us、2.0us・・・)のチップで構成された所定の拡散符号(パルス列)により構成される。この拡散符号のチップ長(拡散符号のコード超)は、例えば7、15、31、63[chips]・・・である。また、このようなチップ長の拡散符号が2以上連結されて同期信号を構成するとしてもよい。また、他の例として同期信号は、例えば、パルス幅が上記例のような長さであるパルスが所定数連続する特定周波数のパルス列であってもよい。ペン2は、プリアンブルPREを構成する拡散符号の検出動作を連続的又は断続的に行い、プリアンブルPREを検出した場合にセンサコントローラ31の存在を検出し、プリアンブルPREを検出したタイミングに基づいて、センサコントローラ31と同期する。ここでいう同期とは、プリアンブルPREを検出したタイミングに基づいて、ダウンリンク信号DSの送信タイミング、及び、次のアップリンク信号USの受信タイミング(すなわち、アップリンク信号US及びダウンリンク信号DSの送受信スケジュール)を決定することを意味する。ペン2は、アップリンク信号USを受信する都度、この同期を更新するよう構成される。
 コマンド信号COMは、このコマンド信号COMの宛先であるペン2を示すローカルID(LID)と、ペン2に対する命令を含むコマンドCOMDATAと、図2に示したタイムスロットTS1,TS2それぞれの空き状況を各1ビットで表すスロット状態情報STAとを含んで構成される。
 誤り検出符号CRCは、コマンド信号COMを入力とする所定の演算を行うことにより求められる符号であり、コマンド信号COMの伝送中に発生した誤りを検出するために用いられる。
 まだセンサコントローラ31を発見していない状態でアップリンク信号USを受信したペン2は、スロット状態情報STAを参照することにより、タイムスロットTS1,TS2の空き状況を確認する。その結果、いずれかのタイムスロットTSが空きであった場合に、そのタイムスロットTSを利用して、位置信号PSのみを含むダウンリンク信号DSを送信する。このダウンリンク信号DSを受信したセンサコントローラ31は、次に送信するアップリンク信号USにおいて、ダウンリンク信号DSを受信したタイムスロットTSのスロット状態情報STAを使用中に変更する。このアップリンク信号USを受信したペン2は、スロット状態情報STAの変化を検出することにより、センサコントローラ31により自身が検出されたことを検出するとともに、ダウンリンク信号DSを送信したタイムスロットTSに応じた所定のローカルID(例えば、タイムスロットTS1であれば0、タイムスロットTS2であれば1など)を取得し、自身のメモリ内に記憶する。
 ローカルIDを記憶したペン2は、その後にアップリンク信号USを受信して復号すると、まずコマンド信号COM内のローカルIDを参照し、それが自身のメモリ45内に記憶されているローカルIDと一致するか否かを判定することにより、そのアップリンク信号USが自身に向けて送信されたものか否かを判定する。この判定の結果、自身に向けて送信されたアップリンク信号USであると判定した場合、ペン2は、コマンド信号COMからコマンドCOMDATAを抽出し、その内容に応じた処理を行う。この処理には、センサコントローラ31から送信を要求されたデータを取得し、次以降のダウンリンク信号DS内に配置する処理が含まれる。一方、自身に向けて送信されたアップリンク信号USでないと判定した場合、ペン2は、コマンド信号COM内のコマンドCOMDATAを取得することなく、位置信号PSと、筆圧値のみを含むデータ信号DATAとを含む既定のダウンリンク信号DSの送信を行う。
 センサコントローラ31は、センサ電極30を用いて位置信号PSを受信することにより、ペン2の存在とその位置を検出するよう構成される。図1に示した指示位置P1,P2は、こうして検出される位置の例を示している。上述した軌跡st1~st3は、この指示位置P1,P2の移動の軌跡である。センサコントローラ31はまた、センサ電極30を用いてデータ信号DATAを受信することにより、ペン2が送信したデータ(筆圧値など)を取得するよう構成される。
 図5は、ペン2の内部構成を示す図である。同図に示すように、ペン2は、芯体20、ペン先電極22、筆圧検出部23、電源26、及び集積回路27を有して構成される。
 芯体20は、その長手方向がペン2のペン軸方向と一致するように配置される棒状の部材であり、その一端はペン2のペン先端部21を構成する。芯体20の表面には導電性材料が塗布され、ペン先電極22を構成している。
 ペン先電極22は、芯体20の近傍に設けられる導電体であり、配線により集積回路27と電気的に接続されている。集積回路27は、このペン先電極22を介して、アップリンク信号USの受信及びダウンリンク信号DSの送信を行う。ただし、ペン先電極22を送信用の電極と受信用の電極とに分離することとしてもよい。
 筆圧検出部23は、ペン先端部21に加えられた力(筆圧値)を検出する機能部である。具体的に説明すると、筆圧検出部23は芯体20の後端部と当接しており、この当接を通じて、ユーザがペン2のペン先をタッチ面等に押し当てたときにペン先端部21に加わる力を検出するよう構成される。典型的な例では、筆圧検出部23は、ペン先端部21に加えられた力に応じて静電容量の変化する可変容量モジュールにより構成される。
 電源26は、集積回路27に動作電力(直流電圧)を供給するためのもので、例えば円筒型のAAAA電池により構成される。
 集積回路27は、図示しない基板に形成された回路群によって構成される処理部であり、ペン先電極22を介してアップリンク信号USを受信する処理と、受信したアップリンク信号USに基づいてダウンリンク信号DSを生成し、ペン先電極22を介して送信する処理とを行う。ペン2が対応しているプロトコルの種類(旧プロトコルのみ、又は、新旧の両プロトコル)は、集積回路27のファームウェア及びハードウェアの少なくとも一方によって決定される。
 詳しくは図9を参照して後述するが、旧プロトコルにしか対応していない旧ペンであるペン2aの集積回路27は、センサコントローラ31を発見するためのディスカバリモードS0と、発見したセンサコントローラ31と通信を行うための通信モードS1と、通信モードS1にエントリした後、後述する特別な状態のアップリンク信号USが受信された場合にもセンサコントローラ31との通信を継続するための継続モードS1aとのいずれかにより動作するよう構成される。以下では、特別な状態のアップリンク信号USを「アップリンク信号SUS」と称し、旧プロトコルに従って正常に受信されるアップリンク信号USを「アップリンク信号NUS」と称する。
 一方、詳しくは図10を参照して後述するが、新旧の両プロトコルに対応する新ペンであるペン2bの集積回路27は、センサコントローラ31を発見するためのディスカバリモードS10と、発見したセンサコントローラ31と旧プロトコルによる通信を行うための旧モードS11(第1の動作モード)と、旧モードS11にエントリした後、新プロトコルに従って生成されたアップリンク信号USが受信された場合にもセンサコントローラ31との通信を継続するための旧継続モードS11aと、発見したセンサコントローラ31と新プロトコルによる通信を行うための新モードS12(第2の動作モード)と、新モードS12にエントリした後、旧プロトコルに従って生成されたアップリンク信号USが受信された場合にもセンサコントローラ31との通信を継続するための新継続モードS12aとのいずれかにより動作するよう構成される。以下では、旧プロトコルに従って生成されたアップリンク信号USを「アップリンク信号US1」と称し、新プロトコルに従って生成されたアップリンク信号USを「アップリンク信号US2」と称する。ペン2aにとっては、アップリンク信号US1はアップリンク信号NUSであり、アップリンク信号US2はアップリンク信号SUSである。
 次に、図6は、電子機器3の内部構成を示す図である。以下、この図6を参照しながら、電子機器3の構成及び動作について詳しく説明する。
 センサ電極30は、それぞれY方向に延在する複数の線状電極30Xと、それぞれX方向に延在する複数の線状電極30Yとによって構成される。センサ電極30は、これら線状電極30X,30Yにより、ペン2と容量結合するように構成される。上述したアップリンク信号US及びダウンリンク信号DSは、この容量結合を介して送受信される。
 センサコントローラ31は、図6に示すように、MCU60、ロジック部61、送信部62、受信部63、及び選択部64を有して構成される。
 MCU60及びロジック部61は、送信部62、受信部63、及び選択部64を制御することにより、センサコントローラ31の送受信動作を制御する制御部である。具体的に説明すると、MCU60は、内部にROMおよびRAMを有し、所定のプログラムに基づき動作するマイクロプロセッサである。MCU60が行う処理には、ロジック部61を制御する処理の他、電子機器制御部33の制御に従ってコマンド信号COM及び誤り検出符号CRCを生成し、送信部62に供給する処理と、受信部63から供給されるダウンリンク信号DSに基づいてペン2の座標x,yを導出するとともにペン2が送信したデータResを受信し、そのペン2のローカルIDとともに電子機器制御部33に出力する処理とが含まれる。一方、ロジック部61は、MCU60の制御に基づき、制御信号ctrl_t1~ctrl_t4及びctrl_rを出力するよう構成される。
 MCU60は、図2に示した送受信スケジュールに従ってアップリンク信号USの送信及びダウンリンク信号DSの受信を行うよう構成される。詳しくは図11を参照して後述するが、MCU60は、アップリンク信号USの送信モードとして、新旧混在モード、旧オンリーモード、新オンリーモードの3つを有している。新旧混在モードにエントリしている場合、MCU60は、旧プロトコル用のアップリンク信号US1を送信するフレームF(第1のフレーム)と、新プロトコル用のアップリンク信号US2を送信するフレームF(第2のフレーム)とを、設定された割合(例えば1:1)で交互に設定するよう構成される。一方、旧オンリーモードにエントリしている場合、MCU60は、すべてのフレームFで旧プロトコル用のアップリンク信号US1を送信するよう構成される。また、新オンリーモードにエントリしている場合、MCU60は、すべてのフレームFで新プロトコル用のアップリンク信号US2を送信するよう構成される。
 また、これも詳しくは図11を参照して後述するが、MCU60は、ダウンリンク信号DSの受信モードとして、タイムスロットTSごとに、ディスカバリモード、旧モード、新モードの3つを有している。ディスカバリモードにエントリしているタイムスロットTSにおいてMCU60は、未ペアリングのペン2により送信されたダウンリンク信号DSの受信を待機する。また、旧モードにエントリしているタイムスロットTSにおいてMCU60は、ペン2が旧プロトコルに従って生成したダウンリンク信号DSの受信を待機する。一方、新モードにエントリしているタイムスロットTSにおいてMCU60は、ペン2が新プロトコルに従って生成したダウンリンク信号DSの受信を待機する。以下では、旧プロトコルに従って生成されたダウンリンク信号DSを「ダウンリンク信号DS1」と称し、新プロトコルに従って生成されたダウンリンク信号DSを「ダウンリンク信号DS2」と称する。
 ここで、ダウンリンク信号DSの受信モードは、アップリンク信号USの送信モードとは関係なく設けられるものである。したがって、MCU60は、アップリンク信号US1を送信したフレームF内でダウンリンク信号DS1,DS2の両方を検出する場合があり、アップリンク信号US2を送信したフレームF内でもダウンリンク信号DS1,DS2の両方を検出する場合がある。
 図7(a)はアップリンク信号US1の構成例を示す図であり、図7(b)~(g)はそれぞれ、アップリンク信号US2の構成例を示す図である。アップリンク信号US1,US2はともに図4に示した構成を有し、一部に共通部分を有するが、プロトコルの違いのための違いがある。この違いの内容は特に限定されるものではなく、様々な態様が考えられる。図7(b)~(g)には、そのような態様のうちの6つを示している。以下、それぞれについて詳しく説明する。
 図7(b)は、旧プロトコルにおいて第1の値(例えば「0」)と規定されているビットBの値を、新プロトコルにおいては第1の値と異なる第2の値(例えば「1」)とする例である。この場合、新ペンであるペン2bは、受信したアップリンク信号USを復号した後、ビットBの値を参照することで、そのアップリンク信号USがアップリンク信号US1,US2のいずれであるかを判定することができる。一方、旧ペンであるペン2aは、受信したアップリンク信号USを復号した後、ビットBが第1の値であれば正常に受信できたと判定するが、ビットBが第2の値であれば、コマンドの復号において異常を検出したと判定する。そして、前者の場合には、受信したアップリンク信号USは上述したアップリンク信号NUSであると判定し、後者の場合には、受信したアップリンク信号USは上述した特別な状態のアップリンク信号SUSであると判定する。
 なお、図7(b)のアップリンク信号US2を使用できるのは、例えば、アップリンク信号US1内に、リザーブドとしたフィールドがある場合である。リザーブドとしたフィールドの値は特定の意味を持たないが、通常、特定の値(例えば「0」)を有している。旧プロトコルの設計時には、新プロトコルにおいてこのフィールドにどのようにビットがアサインされるかを具体的に予見することは不可能であるが、新プロトコルの設計時に上記特定の値と異なる値(例えば「1」)を上記フィールドに設定することで、ペン2aは、アップリンク信号US1を受けた場合に、上記フィールドに通常でない値が設定されていることを認識することができる。したがって、受信したアップリンク信号USを特別な状態のアップリンク信号SUSであると判定することが可能になる。
 図7(c)は、新プロトコルにおいて、コマンド信号COMを入力とする所定の演算を行うことにより求められる誤り検出符号CRCに代え、該誤り検出符号CRCを反転してなる反転誤り検出符号RCRCをアップリンク信号US内に配置する例である。この場合、新ペンであるペン2bは、受信したアップリンク信号USから誤り検出符号CRC又は反転誤り検出符号RCRCに相当する部分を取り出し、その部分を反転せずに誤り検出を試行するとともに、その部分を反転して誤り検出を試行することにより、そのアップリンク信号USがアップリンク信号US1,US2のいずれであるかを判定することができる。つまり、ペン2bは、取り出した部分を反転して誤り検出を行った結果、誤りが検出されなかった場合にアップリンク信号US2を受信したと判定し、取り出した部分を反転せずに誤り検出を行った結果、誤りが検出されなかった場合にアップリンク信号US1を受信したと判定することができる。一方、旧ペンであるペン2aにおいては、受信したアップリンク信号US内に誤り検出符号CRCが配置されていれば復号結果が符号語になる(すなわち、誤り検出符号により誤りが検出されない)が、反転誤り検出符号RCRCが配置されていれば復号結果が符号語にならない(すなわち、誤り検出符号により誤りが検出される)ことになる。そこでペン2aは、復号結果が符号語になった場合、あるいは符号語にならなかった場合であってCRCのフィールドに反転された値が含まれているときには、受信したアップリンク信号USは上述したアップリンク信号NUSであると判定し、復号結果が符号語にならなかった場合には、受信したアップリンク信号USは上述した特別な状態のアップリンク信号SUSであると判定する。このようにすることで、図7(b)のように新たなフィールドを用いることなく、旧プロトコルに存在するCRCフィールドを利用して新プロトコルに適合したコマンドが発行されていることを示すことができる。
 図7(d)は、新プロトコルのプリアンブルPREが旧プロトコルのプリアンブルPREより長い例であり、図7(e)は、旧プロトコルと異なり新プロトコルでは誤り検出符号CRCが設けられない例であり、図7(f)は、多値化等により、新プロトコルのコマンド信号COMの時間長が旧プロトコルのコマンド信号COMの時間長より短くなる例であり、図7(g)は、旧プロトコルと異なり新プロトコルでは誤り検出符号CRCが設けられず、かつ、多値化等により、新プロトコルのコマンド信号COMの時間長が旧プロトコルのコマンド信号COMの時間長より短くなる例である。いずれの場合においても、新ペンであるペン2bは、受信したアップリンク信号USをアップリンク信号US1,US2のそれぞれであると仮定して復号を試行することにより、そのアップリンク信号USがアップリンク信号US1,US2のいずれであるかを判定することができる。一方、旧ペンであるペン2aは、アップリンク信号USをアップリンク信号US1としてのみ復号することになるので、アップリンク信号USがアップリンク信号US2であった場合には異常な結果が得られることになる。そこでペン2aは、正常な復号結果が得られた場合には、受信したアップリンク信号USは上述したアップリンク信号NUSであると判定し、異常な復号結果が得られた場合には、受信したアップリンク信号USは上述した特別な状態のアップリンク信号SUSであると判定する。
 なお、図7(d)に示す例のように旧プロトコルと新プロトコルとで異なるプリアンブルPREを用いる場合、拡散符号のチップ幅(1チップあたりの時間長、つまりはチップ(パルス)の基本周波数あるいは整数倍周波数)や、拡散符号を構成するコード(チップ列)の部分一致(相関演算の結果が所定値以上となるような一致を含む)、あるいは複数の拡散符号のパターンで構成されるプリアンブルPREの先頭部分など、一部分のみが一致するようにそれぞれのプリアンブルPREを構成することとしてもよい。この場合、旧ペンであるペン2aは、異常な復号結果が得られたことに加えてこの一部分の一致を検出した場合に、受信したアップリンク信号USは上述した特別な状態のアップリンク信号SUSであると判定することとしてもよい。こうすることで、ノイズによる復号エラーなどの場合にまで特別な状態のアップリンク信号SUSが受信されたと判定しまうことを防止することが可能になる。
 図8(a)は、旧プロトコルで使用されるプリアンブルPREを構成する拡散符号の例を示し、図8(b)は、新プロトコルで使用されるプリアンブルPREを構成する拡散符号の例を示している。これらの例では、旧プロトコルと新プロトコルとで異なるプリアンブルPREを用いているが、拡散符号のチップ幅Lが一致している。この例のようなプリアンブルPREを用いる場合であれば、旧ペンであるペン2aは、異常な復号結果(プリアンブルPRE(又はアップリンク信号US)の全部が一致しない、という結果を含む)が得られたことに加えて、チップ幅Lの一致を検出した場合に、受信したアップリンク信号USは上述した特別な状態のアップリンク信号SUSであると判定すればよい。チップ幅Lの一致に代えて、又は、チップ幅Lの一致に加えて、拡散符号を構成するコードあるいはプリアンブルPREの部分一致を検出した場合についても同様である。
 図6に戻る。送信部62は、MCU60及びロジック部61の制御に従ってアップリンク信号USを生成する回路であり、図6に示すように、パターン供給部80、スイッチ81、符号列保持部82、拡散処理部83、及び送信ガード部84を含んで構成される。なお、このうち特にパターン供給部80に関して、本実施の形態では送信部62内に含まれるものとして説明するが、MCU60内に含まれることとしてもよい。
 パターン供給部80は、ロジック部61から供給される制御信号ctrl_t1の指示に従い、プリアンブルPREを構成するシンボルを出力する機能部である。プリアンブルPREを構成するシンボルは、例えば0~15のいずれにも対応付けられないプリアンブル専用のシンボルによって構成される。
 スイッチ81は、ロジック部61から供給される制御信号ctrl_t2に基づいてパターン供給部80及びMCU60のいずれか一方を選択し、選択した一方の出力を拡散処理部83に供給する役割を果たす。スイッチ81がパターン供給部80を選択した場合、拡散処理部83には、パターン供給部80からプリアンブルPREを構成するシンボルが供給される。一方、スイッチ81がMCU60を選択した場合、拡散処理部83には、MCU60からコマンド信号COM及び誤り検出符号CRCが供給される。拡散処理部83に供給されるコマンド信号COM及び誤り検出符号CRCはそれぞれ、例えば0~15のいずれかに対応付けられたシンボルの列によって構成される。
 符号列保持部82は、ロジック部61から供給される制御信号ctrl_t3に基づき、自己相関特性を有する所定チップ長の拡散符号PNを生成して保持する機能を有する。符号列保持部82には、シンボルの種類ごとに異なる拡散符号PNが保持される。符号列保持部82が保持している拡散符号PNは、拡散処理部83に供給される。
 拡散処理部83は、スイッチ81を介して供給されるシンボルの値(プリアンブルPRE又はコマンド信号COM)を、符号列保持部82に保持される複数の拡散符号PNのうちの対応するものによって拡散することにより、送信チップ列を得る機能を有する。拡散処理部83は、取得した送信チップ列を送信ガード部84に供給するよう構成される。
 送信ガード部84は、ロジック部61から供給される制御信号ctrl_t4に基づき、アップリンク信号USの送信期間とダウンリンク信号DSの受信期間との間に、送信動作と受信動作を切り替えるために必要となるガード期間(送信と受信の両方を行わない期間)を挿入する機能を有する。
 受信部63は、ロジック部61から供給される制御信号ctrl_rに基づいて、ペン2が送信したダウンリンク信号DSを受信するための回路である。具体的には、増幅回路85、検波回路86、及びアナログデジタル(AD)変換器87を含んで構成される。
 増幅回路85は、選択部64から供給されるダウンリンク信号DSを増幅して出力する。検波回路86は、増幅回路85の出力信号のレベルに対応した電圧を生成する回路である。AD変換器87は、検波回路86から出力される電圧を所定時間間隔でサンプリングすることによって、デジタル信号を生成する回路である。AD変換器87が出力するデジタル信号は、MCU60に供給される。MCU60は、こうして供給されたデジタル信号に基づき、ペン2が送信したデータRes(筆圧値、ペンIDなど)を取得する。
 選択部64は、スイッチ88x,88yと、導体選択回路89x,89yとを含んで構成される。
 スイッチ88x,88yはそれぞれ、共通端子とT端子及びR端子のいずれか一方とが接続されるように構成された1回路2接点のスイッチ素子である。スイッチ88xの共通端子は導体選択回路89xに接続され、T端子は送信部62の出力端に接続され、R端子は受信部63の入力端に接続される。また、スイッチ88yの共通端子は導体選択回路89yに接続され、T端子は送信部62の出力端に接続され、R端子は受信部63の入力端に接続される。
 導体選択回路89xは、複数の線状電極30Xを選択的にスイッチ88xの共通端子に接続するためのスイッチ素子である。導体選択回路89xは、複数の線状電極30Xの一部又は全部を同時にスイッチ88xの共通端子に接続することも可能に構成される。
 導体選択回路89yは、複数の線状電極30Yを選択的にスイッチ88yの共通端子に接続するためのスイッチ素子である。導体選択回路89yも、複数の線状電極30Yの一部又は全部を同時にスイッチ88yの共通端子に接続することも可能に構成される。
 選択部64には、ロジック部61から4つの制御信号sTRx,sTRy,selX,selYが供給される。具体的には、制御信号sTRxはスイッチ88xに、制御信号sTRyはスイッチ88yに、制御信号selXは導体選択回路89xに、制御信号selYは導体選択回路89yにそれぞれ供給される。ロジック部61は、これら制御信号sTRx,sTRy,selX,selYを用いて選択部64を制御することにより、アップリンク信号USの送信及びダウンリンク信号DSの受信を実現する。
 より具体的に説明すると、ロジック部61は、アップリンク信号USを送信する場合には、複数の線状電極30Yのすべて(又は複数の線状電極30Xのすべて)が送信部62の出力端に接続されるよう、選択部64を制御する。
 ダウンリンク信号DSに含まれる位置信号PSを受信する場合のロジック部61の動作は、位置信号PSを受信したタイムスロットTSにおいてペン2とペアリング中か否かによって異なる。ペアリング中でないタイムスロットTSにおいては、ロジック部61は、タイムスロットTSの継続期間内に各複数の線状電極30X,30Yのすべてが順に受信部63の入力端に接続されるよう、選択部64を制御する。こうすることで、MCU60はすべての線状電極30X,30Yのそれぞれにおける位置信号PSの受信強度を取得することができるので、タッチ面の全体でペン2の位置を検出することが可能になる(グローバルスキャン)。一方、ペアリング中でないタイムスロットTSにおいては、ロジック部61は、位置信号PSの送信が継続している間に、前回検出した位置の近傍に位置する所定数本の線状電極30X,30Yが順に受信部63の入力端に接続されるよう、選択部64を制御する。こうすることで、MCU60は、前回検出した位置の近傍にある所定数本の線状電極30X,30Yのそれぞれにおける位置信号PSの受信強度を取得することができるので、ペン2の位置を更新することが可能になる(ローカルスキャン)。
 ダウンリンク信号DSに含まれるデータ信号DATAを受信する場合のロジック部61は、各複数の線状電極30X,30Yのうち、そのデータ信号DATAを送信するペン2について直前の位置信号PSにより導出した位置に最も近い1本のみが受信部63の入力端に接続されるよう、選択部64を制御する。こうすることで、データ信号DATAの送信時間を、ペン2からセンサコントローラ31にデータを送るためにフルに活用することが可能になる。
 以上、位置検出システム1を構成するペン2及び電子機器3の構成について説明するとともに、アップリンク信号US及びダウンリンク信号DSについて説明した。次に、ペン2及び電子機器3の動作について、それぞれのモード遷移図を参照しながら、より詳細に説明する。
 図9は、旧ペンであるペン2aのモード遷移図である。同図に示すように、ペン2aは、ディスカバリモードS0、通信モードS1、継続モードS1aのいずれかで動作するように構成される。
 ディスカバリモードS0は、センサコントローラ31を発見するためのモードである。ディスカバリモードS0にエントリしているペン2aは、アップリンク信号USの検出動作を断続的又は連続的に実行する。そして、アップリンク信号NUSが受信された場合には、その受信タイミングに基づいてアップリンク信号US及びダウンリンク信号DSの送受信スケジュールを決定するとともに、通信モードS1に遷移する。一方、アップリンク信号SUSが受信された場合には、ペン2aは、ディスカバリモードS0に留まって次のアップリンク信号USの受信を試みる。
 通信モードS1にエントリしているペン2aは、送受信スケジュールに従ってアップリンク信号NUSが受信されている間、通信モードS1に留まってセンサコントローラ31との通信を行う。具体的には、受信されたアップリンク信号NUSの受信タイミングに従って送受信スケジュールを更新するとともに、更新された送受信スケジュールに従ってダウンリンク信号DSの送信を行う。こうして送信されるダウンリンク信号DSはペン2aが旧プロトコルに従って生成する信号であり、直前のアップリンク信号NUS内のコマンドCOMDATAにより送信を指示されたデータ、又は、筆圧値などの既定のデータを含む。
 一方、ペン2aは、送受信スケジュールに従ってアップリンク信号USが受信されなかった場合には、センサコントローラ31から離れたと判定し、ディスカバリモードS0に戻る。また、送受信スケジュールに従って(つまり、次のアップリンク信号NUSを受信可能である期間に)、次のアップリンク信号NUSを正常に受信せずにアップリンク信号SUSが受信された場合には、継続モードS1aに遷移する。
 継続モードS1aにエントリしているペン2aは、アップリンク信号SUSが受信された場合には、そのアップリンク信号SUSの受信タイミングに従って送受信スケジュールを更新しつつも、旧プロトコルに従ってダウンリンク信号DSの送信を行う。具体的には、上記期間の前に受信していたアップリンク信号NUS内に配置されたコマンドに従うデータ、又は、筆圧値などの既定のデータを含むダウンリンク信号DSを送信する。
 一方、ペン2aは、アップリンク信号NUSが受信された場合には、通信モードS1に戻る。また、n回以上(nは例えば2以上の任意の自然数)にわたって連続して(つまり、アップリンク信号NUSが検出されず)アップリンク信号SUSが検出された場合、及び、送受信スケジュールに従ってアップリンク信号USが受信されなかった場合には、ディスカバリモードS0に戻る。
 図10は、新ペンであるペン2bのモード遷移図である。同図に示すように、ペン2bは、ディスカバリモードS10、旧モードS11、旧継続モードS11a、新モードS12、新継続モードS12aのいずれかで動作するように構成される。
 ディスカバリモードS10は、図9に示したペン2aのディスカバリモードS0と同じく、センサコントローラ31を発見するためのモードである。ディスカバリモードS10にエントリしているペン2bは、アップリンク信号USの検出動作を断続的又は連続的に実行する。そして、アップリンク信号US1が受信された場合には、その受信タイミングに基づいてアップリンク信号US及びダウンリンク信号DSの送受信スケジュールを決定するとともに、旧モードS11に遷移する。一方、アップリンク信号US2が受信された場合には、その受信タイミングに基づいてアップリンク信号US及びダウンリンク信号DSの送受信スケジュールを決定するとともに、新モードS12に遷移する。
 旧モードS11にエントリしているペン2bは、送受信スケジュールに従ってアップリンク信号US1が受信されている間、旧モードS11に留まってセンサコントローラ31との通信を行う。具体的には、受信されたアップリンク信号US(アップリンク信号US1,US2を含む)の受信タイミングに従って送受信スケジュールを更新するとともに、更新された送受信スケジュールに従ってダウンリンク信号DSの送信を行う。こうして送信されるダウンリンク信号DSはペン2bが旧プロトコルに従って生成する信号であり、直前のアップリンク信号US1内のコマンドCOMDATAにより送信を指示されたデータ、又は、筆圧値などの既定のデータを含む。
 一方、ペン2bは、送受信スケジュールに従ってアップリンク信号USが受信されなかった場合には、センサコントローラ31から離れたと判定し、ディスカバリモードS10に戻る。また、送受信スケジュールに従ってアップリンク信号US2が受信された場合には、旧継続モードS11aに遷移する。
 旧継続モードS11aにエントリしているペン2bは、アップリンク信号US2が受信された場合には、アップリンク信号US2の受信タイミングに従って送受信スケジュールを更新しつつも、旧プロトコルに従ってダウンリンク信号DSの送信を行う。具体的には、それまでに受信していたアップリンク信号US1内に配置されたコマンドに従うデータ、又は、筆圧値などの既定のデータを含むダウンリンク信号DSを送信する。
 一方、ペン2bは、アップリンク信号US1が受信された場合には、旧モードS11に戻る。また、n回以上(nは例えば2以上の任意の自然数)にわたって連続して(つまり、アップリンク信号US1が検出されず)アップリンク信号US2が検出された場合、及び、送受信スケジュールに従ってアップリンク信号USが受信されなかった場合には、ディスカバリモードS10に戻る。
 ここで、ペン2bは、受信したアップリンク信号US1の中に配置されたコマンドCOMDATAがモードの移行を指示する移行コマンドであった場合、図10に破線で示したように、新モードS12に遷移することが好ましい。これによれば、センサコントローラ31からの指示によって、ペン2bのモードを新モードS12に強制的に切り替えることが可能になる。
 次に、新モードS12にエントリしているペン2bは、送受信スケジュールに従ってアップリンク信号US2が受信されている間、新モードS12に留まってセンサコントローラ31との通信を行う。具体的には、受信されたアップリンク信号US(アップリンク信号US1,US2を含む)の受信タイミングに従って送受信スケジュールを更新するとともに、更新された送受信スケジュールに従ってダウンリンク信号DSの送信を行う。こうして送信されるダウンリンク信号DSはペン2bが新プロトコルに従って生成する信号であり、直前のアップリンク信号US2内のコマンドCOMDATAにより送信を指示されたデータ、又は、筆圧値などの既定のデータを含む。
 一方、ペン2bは、送受信スケジュールに従ってアップリンク信号USが受信されなかった場合には、センサコントローラ31から離れたと判定し、ディスカバリモードS10に戻る。また、送受信スケジュールに従ってアップリンク信号US1が受信された場合には、新継続モードS12aに遷移する。
 新継続モードS12aにエントリしているペン2bは、アップリンク信号US1が受信された場合には、アップリンク信号US1の受信タイミングに従って送受信スケジュールを更新しつつも、新プロトコルに従ってダウンリンク信号DSの送信を行う。具体的には、それまでに受信していたアップリンク信号US2内に配置されたコマンドに従うデータ、又は、筆圧値などの既定のデータを含むダウンリンク信号DSを送信する。
 一方、ペン2bは、アップリンク信号US2が受信された場合には、新モードS12に戻る。また、n回以上(nは例えば2以上の任意の自然数)にわたって連続して(つまり、アップリンク信号US2が検出されず)アップリンク信号US1が検出された場合、及び、送受信スケジュールに従ってアップリンク信号USが受信されなかった場合には、ディスカバリモードS10に戻る。
 図11は、センサコントローラ31のモード遷移図である。同図に示すように、センサコントローラ31は、タイムスロットTSごとにダウンリンク信号DSの受信モードを有するとともに、アップリンク信号USの送信モードを有している。前者は、ディスカバリモード、旧モード、新モードを含み、後者は、新旧混在モード、旧オンリーモード、新オンリーモードを含む。また、図12及び図13は、センサコントローラ31のモード遷移を説明するための説明する図である。以下、これら図11~図13を参照しながら、センサコントローラ31のモード遷移について説明する。
 初めに、図11に示した状態S20は、センサコントローラ31がどのペン2ともペアリングしていない初期状態である。この状態S20では、2つのタイムスロットTS1,TS2それぞれの受信モードはともにディスカバリモードであり、アップリンク信号USの送信モードは新旧混在モードである。この場合、センサコントローラ31は、旧プロトコル用のアップリンク信号US1を送信するフレームFと、新プロトコル用のアップリンク信号US2を送信するフレームFとを、設定された割合で交互に設定する。この割合は1:1とすることが好適であるが、1:1でなくてもよい。
 図12(a)は、センサコントローラ31が状態S20にあるときに、アップリンク信号US2を送信したフレームF内のタイムスロットTS1においてダウンリンク信号DS2が受信された場合を示している。アップリンク信号US2に応じて最初のダウンリンク信号DS2を送信するペン2はペン2bであり、ダウンリンク信号DS2を送信した時点で、図10に示した新モードS12にエントリしている。センサコントローラ31は、検出したダウンリンク信号DS2を送信したペン2と新プロトコルによりペアリングし、タイムスロットTS1におけるダウンリンク信号DSの受信モードを新モードに設定する(図11の状態S21)。これにより、タイムスロットTS1では、新プロトコルによる通信が行われることになる。
 図12(b)は、センサコントローラ31が状態S21にあるときに、アップリンク信号US2を送信したフレームF内のタイムスロットTS2においてダウンリンク信号DS2が受信された場合を示している。このダウンリンク信号DS2を送信するペン2もペン2b(タイムスロットTS1においてダウンリンク信号DS2を送信しているペン2bとは異なるペン2b。以下、同様。)であり、ダウンリンク信号DSを送信した時点で、図10に示した新モードS12にエントリしている。センサコントローラ31は、検出したダウンリンク信号DS2を送信したペン2と新プロトコルによりペアリングし、タイムスロットTS2におけるダウンリンク信号DSの受信モードを新モードに設定するとともに、アップリンク信号USの送信モードを新オンリーモードに設定する(図11の状態S23)。これにより、タイムスロットTS1,TS2ともに新プロトコルによる通信が行われ、アップリンク信号USとしてはアップリンク信号US2のみが送信されることになる。
 図12(c)は、センサコントローラ31が状態S21にあるときに、アップリンク信号US1を送信したフレームF内のタイムスロットTS2においてダウンリンク信号DS1が受信された場合を示している。このダウンリンク信号DS1を送信するペン2は、ペン2a及びペン2bのいずれでもあり得る。ペン2aである場合、ダウンリンク信号DS1を送信した時点で、図9に示した通信モードS1にエントリしている。一方、ペン2bであれば、ダウンリンク信号DS1を送信した時点で、図10に示した旧モードS11にエントリしている。センサコントローラ31は、検出したダウンリンク信号DS1を送信したペン2と旧プロトコルによりペアリングし、タイムスロットTS2におけるダウンリンク信号DSの受信モードを旧モードに設定する(図11の状態S24)。これにより、タイムスロットTS1では新プロトコルによる通信が行われ、タイムスロットTS2では旧プロトコルによる通信が行われることになる。
 図13(a)は、センサコントローラ31が状態S20にあるときに、アップリンク信号US1を送信したフレームF内のタイムスロットTS1においてダウンリンク信号DS1が受信された場合を示している。アップリンク信号US1に応じて最初のダウンリンク信号DS1を送信するペン2は、ペン2a及びペン2bのいずれでもあり得る。ペン2aである場合、ダウンリンク信号DS1を送信した時点で、図9に示した通信モードS1にエントリしている。一方、ペン2bであれば、ダウンリンク信号DS1を送信した時点で、図10に示した旧モードS11にエントリしている。センサコントローラ31は、検出したダウンリンク信号DS1を送信したペン2と旧プロトコルによりペアリングし、タイムスロットTS1におけるダウンリンク信号DSの受信モードを旧モードに設定する(図11の状態S22)。これにより、タイムスロットTS1では、旧プロトコルによる通信が行われることになる。
 図13(b)は、センサコントローラ31が状態S22にあるときに、アップリンク信号US2を送信したフレームF内のタイムスロットTS2においてダウンリンク信号DS2が受信された場合を示している。このダウンリンク信号DS2を送信するペン2はペン2bであり、ダウンリンク信号DS2を送信した時点で、図10に示した新モードS12にエントリしている。センサコントローラ31は、検出したダウンリンク信号DS2を送信したペン2と新プロトコルによりペアリングし、タイムスロットTS2におけるダウンリンク信号DSの受信モードを新モードに設定する(図11の状態S25)。これにより、タイムスロットTS1では旧プロトコルによる通信が行われ、タイムスロットTS2では新プロトコルによる通信が行われることになる。
 図13(c)は、センサコントローラ31が状態S22にあるときに、アップリンク信号US1を送信したフレームF内のタイムスロットTS2においてダウンリンク信号DS1が受信された場合を示している。このダウンリンク信号DS1を送信するペン2は、ペン2a及びペン2bのいずれでもあり得る。ペン2aである場合、ダウンリンク信号DS1を送信した時点で、図9に示した通信モードS1にエントリしている。一方、ペン2bであれば、ダウンリンク信号DS1を送信した時点で、図10に示した旧モードS11にエントリしている。センサコントローラ31は、検出したダウンリンク信号DS1を送信したペン2と旧プロトコルによりペアリングし、タイムスロットTS2におけるダウンリンク信号DSの受信モードを旧モードに設定するとともに、アップリンク信号USの送信モードを旧オンリーモードに設定する(図11の状態S26)。これにより、タイムスロットTS1,TS2ともに旧プロトコルによる通信が行われ、アップリンク信号USとしてはアップリンク信号US1のみが送信されることになる。
 ここで、上記の動作によれば、ペアリング対象のペン2が新プロトコルに対応したペン2bであっても、ペン2bがタッチ面への接近後に初めて検出したアップリンク信号USがアップリンク信号US1であった場合には、旧プロトコルによって通信が開始されてしまう。そこでセンサコントローラ31は、旧プロトコルにより通信を開始した場合には、ダウンリンク信号DS1内に含まれるビットA(図2を参照)を参照することにより、そのペン2が新プロトコルに対応しているか否かを判定し、対応していると判定した場合には、次に送信するアップリンク信号US1の中に、新プロトコルでの通信への移行を指示する移行コマンドを配置する。以下、この点について、図14を参照しながら詳しく説明する。
 図14は、旧プロトコルでペアリングしたペン2bとの通信を新プロトコルに移行させる手順を説明するための説明する図である。同図(a)には、図11に示した状態S20においてタイムスロットTS1に検出されたペン2bとの通信を新プロトコルに移行させる手順を示し、同図(b)には、図11に示した状態S21においてタイムスロットTS2に検出されたペン2bとの通信を新プロトコルに移行させる手順を示し、同図(c)には、図11に示した状態S22においてタイムスロットTS2に検出されたペン2bとの通信を新プロトコルに移行させる手順を示している。以下、順に説明する。
 まず図14(a)は、センサコントローラ31が状態S20にあるときに、アップリンク信号US1を受けて旧モードS11にエントリしたペン2bが、タイムスロットTS1を用いてダウンリンク信号DS1を送信したケースである。このダウンリンク信号DS1を受けたセンサコントローラ31は、タイムスロットTS1においてペン2bと旧プロトコルでペアリングするとともに、状態S22へと遷移する。
 その後、センサコントローラ31は、タイムスロットTS1でペアリング中のペン2bが送信したダウンリンク信号DS1の中に含まれるビットA(図3(b)を参照)から、ペン2bが旧プロトコル及び新プロトコルの両方に対応していることを検出する。なお、ビットAが含まれるのは図3(b)に示したデータ信号DATA内であるので、センサコントローラ31がこの検出を行うのは、ローカルスキャンに遷移してからとなる。
 ペン2bが旧プロトコル及び新プロトコルの両方に対応していることを検出したセンサコントローラ31は、次に送信するアップリンク信号US1により、ペン2bに対して新プロトコルへの移行を指示するコマンドCOMDATA(移行コマンド)を送信する。このコマンドCOMDATAを受けたペン2bは、図10を参照して説明したように、新モードS12にエントリする。そして、新モードS12にエントリしたペン2bが送信したダウンリンク信号DS2を受信したセンサコントローラ31は、ペン2bと新プロトコルで再ペアリングを行うとともに、タイムスロットTS1におけるダウンリンク信号DSの受信モードが新モードとなる状態S21へと遷移する。以上の手順により、状態S20においてタイムスロットTS1に検出されたペン2bとの通信が新プロトコルに移行することになる。
 次に図14(b)は、センサコントローラ31が状態S21にあるときに、アップリンク信号US1を受けて旧モードS11にエントリしたペン2bが、タイムスロットTS2を用いてダウンリンク信号DS1を送信したケースである。このダウンリンク信号DS1を受けたセンサコントローラ31は、タイムスロットTS2においてペン2bと旧プロトコルでペアリングするとともに、状態S24へと遷移する。
 その後、センサコントローラ31は、タイムスロットTS2でペアリング中のペン2bが送信したダウンリンク信号DS1の中に含まれるビットA(図3(b)を参照)から、ペン2bが旧プロトコル及び新プロトコルの両方に対応していることを検出する。するとセンサコントローラ31は、次に送信するアップリンク信号US1により、タイムスロットTS2でペアリング中のペン2に対して新プロトコルへの移行を指示するコマンドCOMDATA(移行コマンド)を送信する。このコマンドCOMDATAを受けたペン2bは、図10を参照して説明したように、新モードS12にエントリする。そして、新モードS12にエントリしたペン2bが送信したダウンリンク信号DS2を受信したセンサコントローラ31は、ペン2bと新プロトコルで再ペアリングを行うとともに、タイムスロットTS2におけるダウンリンク信号DSの受信モードが新モードとなる状態S23へと遷移する。以上の手順により、状態S21においてタイムスロットTS2に検出されたペン2bとの通信が新プロトコルに移行することになる。
 最後に、図14(c)は、センサコントローラ31が状態S22にあるときに、アップリンク信号US1を受けて旧モードS11にエントリしたペン2bが、タイムスロットTS2を用いてダウンリンク信号DS1を送信したケースである。このダウンリンク信号DS1を受けたセンサコントローラ31は、タイムスロットTS2においてペン2bと旧プロトコルでペアリングするとともに、状態S26へと遷移する。
 その後、センサコントローラ31は、タイムスロットTS2でペアリング中のペン2bが送信したダウンリンク信号DS1の中に含まれるビットA(図3(b)を参照)から、ペン2bが旧プロトコル及び新プロトコルの両方に対応していることを検出する。するとセンサコントローラ31は、次に送信するアップリンク信号US1により、タイムスロットTS2でペアリング中のペン2bに対して新プロトコルへの移行を指示するコマンドCOMDATA(移行コマンド)を送信する。このコマンドCOMDATAを受けたペン2bは、図10を参照して説明したように、新モードS12にエントリする。そして、新モードS12にエントリしたペン2bが送信したダウンリンク信号DS2を受信したセンサコントローラ31は、ペン2bと新プロトコルで再ペアリングを行うとともに、タイムスロットTS2におけるダウンリンク信号DSの受信モードが新モードとなる状態S25へと遷移する。以上の手順により、状態S22においてタイムスロットTS2に検出されたペン2bとの通信が新プロトコルに移行することになる。
 以上のように、本実施の形態によれば、センサコントローラ31は、新プロトコルに対応したペン2bと旧プロトコルによりペアリングしてしまった場合であっても、新プロトコルによってペアリングをやり直し、新プロトコルによる通信を開始することが可能になる。
 以上説明したように、本実施の形態によれば、旧プロトコルにしか対応していないペン2aは、センサコントローラ31から特別な状態のアップリンク信号SUS(例えば、新プロトコルによるアップリンク信号US2)を受信しても、それまでに受信していたアップリンク信号NUSに基づいて動作することができる。また、新旧の両プロトコルに対応するペン2bは、センサコントローラ31と新プロトコルによる通信中には、アップリンク信号US1を受信したとしても、それまでに受信していたアップリンク信号US2に基づいて動作することができ、センサコントローラ31と旧プロトコルによる通信中には、アップリンク信号US2を受信したとしても、それまでに受信していたアップリンク信号US1に基づいて動作することができる。さらに、センサコントローラ31は、アップリンク信号US1を送信するフレームF及びアップリンク信号US2を送信するフレームFのそれぞれにおいて、旧プロトコルに従って生成されたダウンリンク信号DS1と、新プロトコルに従って生成されたダウンリンク信号DS2との両方を検出することができる。したがって、本実施の形態によれば、1つの電子機器3において、ペン2aとペン2bの両方を同時に使用することが可能になる。
 また、本実施の形態によれば、新プロトコルに対応したペン2bと旧プロトコルによりペアリングしてしまったとしても、センサコントローラ31から移行コマンドを送ることによってペン2bを新モードS12に遷移させることができるので、新プロトコルに対応したペン2bとは、新プロトコルを用いて通信を行うことが可能になる。
 以上、本発明の好ましい実施の形態について説明したが、本発明はこうした実施の形態に何等限定されるものではなく、本発明が、その要旨を逸脱しない範囲において、種々なる態様で実施され得ることは勿論である。
 例えば、上記実施の形態では、旧モードS11にエントリしたペン2bを新モードS12に移行させるためにセンサコントローラ31から移行コマンドを送信したが、ペン2bが自律的に新モードS12に移行することとしてもよい。
 図15は、本発明の実施の形態の第1の変形例によるペン2bのモード遷移図である。同図に示すように、本変形例によるペン2bは、旧モードS11にエントリしている間にアップリンク信号US2を検出すると、図10に示した継続モードS11aではなく新モードS12に遷移する。図15の例では、継続モードS11aは設けられない。このようにしても、センサコントローラ31は、新プロトコルによってペン2bと通信を行うことが可能になる。
 また、上記実施の形態では、センサコントローラ31と同時にペアリング可能なペン2の数は2本までとしたが、センサコントローラ31と同時にペアリング可能なペン2の数は2本に限定されない。
 図16は、本発明の実施の形態の第2の変形例によるセンサコントローラ31における送信(Tx)と受信(Rx)のスケジュールを示す図である。同図に示すように、本変形例では、互いに周波数の異なる2つの受信用チャネルRx1,Rx2が用いられる。受信用チャネルRx1には2つのタイムスロットTS1,TS2が設けられ、受信用チャネルRx2には2つのタイムスロットTS3,TS4が設けられる。したがって、ダウンリンク信号DSの送信に使用可能なタイムスロットの数が合計4つとなることから、本変形例によれば、センサコントローラ31と同時にペアリング可能なペン2の数は4本となる。
 なお、本変形例に関しては、旧プロトコルは受信用チャネルRx1のみに対応し、新プロトコルは受信用チャネルRx1,Rx2に対応していることとしてもよい。この場合、新プロトコルに対応したペン2bは、タイムスロットTS3,TS4を優先的に使用することが好ましい。こうすることで、できるだけ多くのペン2を同時に使用することが可能になる。
 また、本変形例によるセンサコントローラ31は、旧プロトコルに従って生成されるダウンリンク信号DS1と新プロトコルに従って生成されるダウンリンク信号DS2の混在状況に応じて、アップリンク信号US1,US2の送信割合を変更することが好ましい。具体的には、ダウンリンク信号DS1に比べてダウンリンク信号DS2の受信数が多いほど、アップリンク信号US2の送信率が高くなるよう上記割合を変更することが好ましい。
 また、上記実施の形態では、センサコントローラ31が送信する移行コマンドとして、ペン2bとの通信を旧プロトコルから新プロトコルに移行させるもののみを説明したが、センサコントローラ31は、ペン2bとの通信を新プロトコルから旧ブロトコルに移行させる移行コマンドを送信することとしてもよい。
 また、上記実施の形態では、ペン2bとの通信を旧プロトコルから新プロトコルに移行させる場合、センサコントローラ31は、アップリンク信号US1により移行コマンドを送信することとしたが、アップリンク信号US2により移行コマンドを送信することとしてもよい。この場合、ペン2bは、旧モードS11又は旧継続モードS11aにエントリしている場合であっても、アップリンク信号US2内のコマンド信号COMを一旦復号し、移行コマンドが含まれているか否かを判定することが好ましい。そして、移行コマンドが含まれていた場合には、その移行コマンドに従う動作、すなわち新モードS12への移行を実行することが好ましい。
 また、上記実施の形態てば、新旧のプロトコル(後方互換)に本発明を適用する例を説明したが、本発明は、異なるプロトコルが混在するマルチペン環境にも適用可能である。例えば、互いに異なるプロトコルであるが、共にアップリンク信号によりフレームの基準時刻が定まり、かつ、信号の一部が共通する異なる2つのプロトコルにも、本発明は適用可能である。
1       位置検出システム
2,2a,2b ペン
3       電子機器
20      芯体
21      ペン先端部
22      ペン先電極
23      筆圧検出部
26      電源
27      集積回路
30      センサ電極
30X     線状電極
30X,30Y 線状電極
30Y     線状電極
31      センサコントローラ
32      パネル
33      電子機器制御部
34      液晶表示部
45      メモリ
60      MCU
61      ロジック部
62      送信部
63      受信部
64      選択部
80      パターン供給部
81      スイッチ
82      符号列保持部
83      拡散処理部
84      送信ガード部
85      増幅回路
86      検波回路
87      アナログデジタル(AD)変換器
88x,88y スイッチ
89x,89y 導体選択回路
A.B     ビット
COM     コマンド信号
COMDATA コマンド
CRC     誤り検出符号
ctrl_t1~ctrl_t4,ctrl_r 制御信号
DATA    データ信号
DS      ダウンリンク信号
F       フレーム
NUS     旧プロトコルに従って正常に受信されるアップリンク信号US
P1,P2   指示位置
PN      拡散符号
PRE     プリアンブル
PS      位置信号
RCRC    反転誤り検出符号
Rx1,Rx2 受信用チャネル
S0      ディスカバリモード
S1      通信モード
S0,S10  ディスカバリモード
S11     旧モード
S11a    旧継続モード
S12     新モード
S12a    新継続モード
S1a     継続モード
st1~st3 軌跡
STA     スロット状態情報
sTRx,sTRy,selX,selY 制御信号
SUS     特別な状態のアップリンク信号US
TS,TS1~TS4 タイムスロット
US      アップリンク信号
US1     旧プロトコルに従って生成されたアップリンク信号US
US2     新プロトコルに従って生成されたアップリンク信号US

Claims (20)

  1.  第1のプロトコルに従って生成されたアップリンク信号を受信し、該アップリンク信号の受信タイミング及び該アップリンク信号内に配置されたコマンドに基づいてダウンリンク信号を送信するように構成されたペンであって、
     前記アップリンク信号を受信した後、次のアップリンク信号を受信可能である期間に、前記次のアップリンク信号を正常に受信せずに特別な状態のアップリンク信号を受信した場合に、前記第1のプロトコルに従い、該期間の前に受信していた前記第1のアップリンク信号内に配置されたコマンドに従うデータ、又は、既定のデータを含む前記ダウンリンク信号を送信する、
     ペン。
  2.  前記特別な状態は、前記コマンドの復号において異常を検出した状態である、
     請求項1に記載のペン。
  3.  前記異常は、復号結果が符号語にならないことである、
     請求項2に記載のペン。
  4.  前記アップリンク信号は誤り検出符号を含み、
     前記異常は、前記誤り検出符号により誤りが検出されることである、
     請求項2に記載のペン。
  5.  前記異常は、前記ペンが対応している第1のプロトコルにおいて第1の値と規定されている第1のビットの値が前記第1の値と異なる第2の値になっていることである、
     請求項2に記載のペン。
  6.  前記ペンが対応していない第2のプロトコルにおいては、前記第1のビットの値は前記第2の値と規定されている、
     請求項5に記載のペン。
  7.  前記特別な状態のアップリンク信号の受信が所定期間連続した場合に、前記ダウンリンク信号の送信を停止する、
     請求項1に記載のペン。
  8.  前記ダウンリンク信号の送信タイミングを前記特別な状態のアップリンク信号の受信タイミングに基づいて決定する、
     請求項1に記載のペン。
  9.  前記ペンが対応している第1のプロトコルに従って生成された前記アップリンク信号は、既知の同期信号を含む一方、前記ペンが対応していない第2のプロトコルに従って生成された前記アップリンク信号は、前記既知の同期信号と一部分のみが一致する同期信号を含み、
     前記特別な状態は、前記一部分の一致が検出される一方、前記コマンドの復号において異常を検出した状態である、
     請求項1に記載のペン。
  10.  前記一部分は、前記既知の同期信号を拡散するために用いる拡散符号のチップ幅、または拡散符号を構成するコードの部分である、
     請求項9に記載のペン。
  11.  前記一部分は、前記既知の同期信号の先頭部分である、
     請求項9に記載のペン。
  12.  第1のプロトコルに従って生成された第1のアップリンク信号、及び、前記第1のプロトコルとは異なる第2のプロトコルに従って生成された第2のアップリンク信号の両方を受信可能に構成されたペンであって、
     前記第2のアップリンク信号を受信したことに応じて前記第2のプロトコルに従う第2の動作モードにエントリした後、前記第1のアップリンク信号を受信した場合に、前記第2のプロトコルに従う第2のダウンリンク信号を送信する、
     ペン。
  13.  前記第2の動作モードでの動作中に、所定期間を超えて前記第2のアップリンク信号が検出されず前記第1のアップリンク信号のみが検出される場合に、センサコントローラを発見するためのディスカバリモードに遷移する、
     請求項12に記載のペン。
  14.  前記第1のプロトコルに従う第1の動作モードでの動作中に、前記第1又は第2のアップリンク信号により前記第2の動作モードへのエントリを指示するコマンドが受信された場合に、前記第2の動作モードに遷移する、
     請求項12に記載のペン。
  15.  前記第1のアップリンク信号を受信したことに応じて前記第1のプロトコルに従う第1の動作モードにエントリした後、前記第1のプロトコルに従う第1のダウンリンク信号を送信するよう構成され、
     前記第1のダウンリンク信号は、前記ペンが第1のプロトコルのみに対応するペンであるか、前記ペンが第1及び第2のプロトコルの両方に対応するペンであるかを示すフラグ情報を含む、
     請求項12に記載のペン。
  16.  第1のプロトコルに従って生成された第1のダウンリンク信号、及び、前記第1のプロトコルとは異なる第2のプロトコルに従って生成された第2のダウンリンク信号の両方を検出可能に構成されたセンサコントローラであって、
     前記第1のプロトコル用の第1のアップリンク信号を送信する第1のフレームと、前記第2のプロトコル用の第2のアップリンク信号を送信する第2のフレームとを、設定された割合で交互に設定するよう構成され、
     前記第2のフレーム内において、前記第1及び第2のダウンリンク信号の両方を検出する、
     センサコントローラ。
  17.  前記第1のフレーム内において、前記第1及び第2のダウンリンク信号の両方を検出する、
     請求項16に記載のセンサコントローラ。
  18.  前記第1のダウンリンク信号と前記第2のダウンリンク信号との混在状況に応じて、前記割合を変更する、
     請求項16に記載のセンサコントローラ。
  19.  前記第1のダウンリンク信号に比べて前記第2のダウンリンク信号の受信数が多いほど、前記第2のアップリンク信号の送信率が高くなるよう前記割合を変更する、
     請求項18に記載のセンサコントローラ。
  20.  前記第1及び第2のアップリンク信号は、共通する部分を含む、
     請求項16に記載のセンサコントローラ。
PCT/JP2019/023168 2019-06-11 2019-06-11 ペン及びセンサコントローラ WO2020250321A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2021525457A JP7320061B2 (ja) 2019-06-11 2019-06-11 ペン及びセンサコントローラ
PCT/JP2019/023168 WO2020250321A1 (ja) 2019-06-11 2019-06-11 ペン及びセンサコントローラ
CN201980096819.3A CN113874820A (zh) 2019-06-11 2019-06-11 笔及传感器控制器
US17/501,822 US11989377B2 (en) 2019-06-11 2021-10-14 Pen and sensor controller
JP2023118927A JP2023134788A (ja) 2019-06-11 2023-07-21 集積回路

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2019/023168 WO2020250321A1 (ja) 2019-06-11 2019-06-11 ペン及びセンサコントローラ

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/501,822 Continuation US11989377B2 (en) 2019-06-11 2021-10-14 Pen and sensor controller

Publications (1)

Publication Number Publication Date
WO2020250321A1 true WO2020250321A1 (ja) 2020-12-17

Family

ID=73780731

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/023168 WO2020250321A1 (ja) 2019-06-11 2019-06-11 ペン及びセンサコントローラ

Country Status (4)

Country Link
US (1) US11989377B2 (ja)
JP (2) JP7320061B2 (ja)
CN (1) CN113874820A (ja)
WO (1) WO2020250321A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017146996A (ja) * 2015-02-09 2017-08-24 株式会社ワコム アクティブスタイラス
US20180343079A1 (en) * 2017-05-25 2018-11-29 Microsoft Technology Licensing, Llc Multi-protocol communications between host devices and stylus devices

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4853367B2 (ja) 2007-04-16 2012-01-11 住友電気工業株式会社 路車間通信システム、車載機、及び光ビーコン
CN103490842B (zh) 2013-09-26 2016-09-28 深圳市大疆创新科技有限公司 数据传输系统及方法
US9971421B2 (en) 2014-03-06 2018-05-15 Stmicroelectronics Asia Pacific Pte Ltd System and method for improved synchronization between devices
WO2016079776A1 (ja) * 2014-11-17 2016-05-26 株式会社ワコム 位置指示器
CN107077226B (zh) * 2015-03-02 2021-07-09 株式会社和冠 主动式静电触控笔、传感器控制器、具备这些的系统以及由这些执行的方法
EP3282346B1 (en) * 2015-04-09 2020-09-02 Wacom Co., Ltd. Method using active stylus and sensor controller, system, sensor controller, and active stylus
JP6282790B1 (ja) * 2016-08-12 2018-02-21 株式会社ワコム スタイラス及びセンサコントローラ
CN109643171B (zh) 2016-09-01 2022-10-04 株式会社和冠 触控笔、传感器控制器及电子尺
EP3809243B1 (en) * 2016-10-06 2023-12-20 Wacom Co., Ltd. Stylus and controller
CN117348749A (zh) * 2017-02-22 2024-01-05 株式会社和冠 传感器控制器
JP6817236B2 (ja) * 2018-01-24 2021-01-20 株式会社ワコム センサコントローラ、システム、及び方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017146996A (ja) * 2015-02-09 2017-08-24 株式会社ワコム アクティブスタイラス
US20180343079A1 (en) * 2017-05-25 2018-11-29 Microsoft Technology Licensing, Llc Multi-protocol communications between host devices and stylus devices

Also Published As

Publication number Publication date
JP7320061B2 (ja) 2023-08-02
JPWO2020250321A1 (ja) 2020-12-17
CN113874820A (zh) 2021-12-31
US11989377B2 (en) 2024-05-21
US20220035483A1 (en) 2022-02-03
JP2023134788A (ja) 2023-09-27

Similar Documents

Publication Publication Date Title
US10861323B2 (en) Method carried out in system including active stylus and sensor controller, sensor controller, and active stylus
US10037093B2 (en) Communication method, communication system, sensor controller, and stylus
US10852895B2 (en) Sensor controller, position indicator, and position detecting system
US10791387B2 (en) Wireless microphone system, receiving apparatus and wireless synchronization method
JP7235685B2 (ja) センサコントローラ及びアクティブペン
EP3525069A1 (en) Stylus and controller
WO2016186191A1 (ja) アクティブスタイラス
TW202131147A (zh) 觸控筆及感測器控制器
EP2029960A1 (en) Detonator cross-talk reduction
WO2018003122A1 (ja) スタイラスにより実行される方法、デュアルスタイラスとデュアルコントローラとにより実行される方法、及びデュアルスタイラス
CN111090352A (zh) 触控系统、其触控装置及输入装置、及其信号传送方法
US10314097B2 (en) Method of connecting multiple apparatuses using low-power bluetooth
WO2020250321A1 (ja) ペン及びセンサコントローラ
KR100294441B1 (ko) 디지털코드리스전화장치
JPH07107558A (ja) ディジタル無線電話装置
JP2007074355A (ja) 基地局装置と当該基地局装置を用いた制御チャネルの重なり監視方法
CN218383686U (zh) 时序控制系统及设备控制系统
JP2007049647A (ja) 無線通信方法および無線通信システム
CN109511106B (zh) 一种无线数据传输控制方法
JPH1141143A (ja) 周波数ホッピング方法
KR20130021414A (ko) 데이터 전송 시스템, 데이터 전송 방법 및 송신 장치
JP2020092385A (ja) フレーム制御装置、充電装置、受電器および給電システム
CN116803151A (zh) 工业用无线通信系统
KR20120009884A (ko) 알 에프 동시 접속 모션 컨트롤러 시스템
JP2001516168A (ja) 移動ユニットの搬送周波数を固定局の搬送周波数と同期させるための方法および装置

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: 19932581

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021525457

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19932581

Country of ref document: EP

Kind code of ref document: A1